Pull request #160 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 173900479015fcb6694a09757887e4ada5530256+ede61610538096fa337aace8f825662d73a1e29e (6710b01d76f6074d377eaf1eebb06a0635ac6d5b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-160/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2021 in /w/workspace/xfoundry_device-modbus-go_PR-160 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/160/head:refs/remotes/origin/PR-160 # 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/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ede61610538096fa337aace8f825662d73a1e29e into PR head commit 173900479015fcb6694a09757887e4ada5530256 Merge succeeded, producing 173900479015fcb6694a09757887e4ada5530256 Checking out Revision 173900479015fcb6694a09757887e4ada5530256 (PR-160) > git config core.sparsecheckout # timeout=10 > git checkout -f 173900479015fcb6694a09757887e4ada5530256 # 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 ede61610538096fa337aace8f825662d73a1e29e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 173900479015fcb6694a09757887e4ada5530256 # timeout=10 Commit message: "fix: Fix swap operation for float32 dataType" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:34:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:34:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:34:29 ========================================================= 04:34:29 EdgeX Global Pipelines Version Info 04:34:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:34:31 ------------------- 04:34:31 stable info: 04:34:31 ------------------- 04:34:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:34:31 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 04:34:31 Message: update stable to v1.0.106 04:34:31 ------------------- 04:34:31 experimental info: 04:34:31 ------------------- 04:34:31 Commited By: **** collab-it+edgex@linuxfoundation.org 04:34:31 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 04:34:31 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:34 + git log --format=format:%s -1 173900479015fcb6694a09757887e4ada5530256 [Pipeline] echo 04:34:34 GIT_COMMIT: 173900479015fcb6694a09757887e4ada5530256, Commit Message: fix: Fix swap operation for float32 dataType [Pipeline] echo 04:34:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:34:35 04:34:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:34:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:34:35 latest: Pulling from edgex-devops/git-semver 04:34:35 31603596830f: Pulling fs layer 04:34:35 2a8b12db71e7: Pulling fs layer 04:34:35 6ca5941a6612: Pulling fs layer 04:34:35 ecc8261a40a4: Pulling fs layer 04:34:35 ecc8261a40a4: Waiting 04:34:35 2a8b12db71e7: Verifying Checksum 04:34:35 2a8b12db71e7: Download complete 04:34:35 31603596830f: Verifying Checksum 04:34:35 31603596830f: Download complete 04:34:36 ecc8261a40a4: Verifying Checksum 04:34:36 ecc8261a40a4: Download complete 04:34:36 6ca5941a6612: Verifying Checksum 04:34:36 6ca5941a6612: Download complete 04:34:36 31603596830f: Pull complete 04:34:36 2a8b12db71e7: Pull complete 04:34:37 6ca5941a6612: Pull complete 04:34:37 ecc8261a40a4: Pull complete 04:34:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:34:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:34:37 prd-centos7-docker-4c-2g-2021 does not seem to be running inside a container 04:34:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-160 -v /w/workspace/xfoundry_device-modbus-go_PR-160:/w/workspace/xfoundry_device-modbus-go_PR-160:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-160@tmp:/w/workspace/xfoundry_device-modbus-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:34:39 $ docker top 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:40 [ssh-agent] Looking for ssh-agent implementation... 04:34:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:40 $ docker exec 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d ssh-agent 04:34:40 SSH_AUTH_SOCK=/tmp/ssh-9SRycz0qtPO8/agent.12 04:34:40 SSH_AGENT_PID=17 04:34:40 Running ssh-add (command line suppressed) 04:34:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-160@tmp/private_key_4004097028221116180.key (/w/workspace/xfoundry_device-modbus-go_PR-160@tmp/private_key_4004097028221116180.key) 04:34:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:41 + git describe --exact-match --tags HEAD 04:34:41 fatal: No names found, cannot describe anything. [Pipeline] } 04:34:41 $ docker exec --env ******** --env ******** 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d ssh-agent -k 04:34:41 unset SSH_AUTH_SOCK; 04:34:41 unset SSH_AGENT_PID; 04:34:41 echo Agent pid 17 killed; 04:34:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:34:41 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:34:41 This usually means this commit has not been tagged. [Pipeline] sshagent 04:34:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:41 [ssh-agent] Looking for ssh-agent implementation... 04:34:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:41 $ docker exec 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d ssh-agent 04:34:41 SSH_AUTH_SOCK=/tmp/ssh-ywOhwDqZ6h3e/agent.45 04:34:41 SSH_AGENT_PID=50 04:34:41 Running ssh-add (command line suppressed) 04:34:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-160@tmp/private_key_3949225318177312182.key (/w/workspace/xfoundry_device-modbus-go_PR-160@tmp/private_key_3949225318177312182.key) 04:34:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:42 + git semver init 04:34:42 # -> Open(): unable to determine branch for HEAD 04:34:42 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-160/.git 04:34:42 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-160 04:34:42 # $SEMVER_REMOTE_NAME = origin 04:34:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:34:42 # $SEMVER_USER_NAME = edgex-jenkins 04:34:42 # $SEMVER_BRANCH = PR-160 04:34:42 # $SEMVER_TEMP = /tmp/semver-336903805 04:34:42 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 04:34:42 # '/tmp/semver-336903805' -> '/w/workspace/xfoundry_device-modbus-go_PR-160/.semver' 04:34:42 # -> Force: false 04:34:42 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-160/.semver [Pipeline] } 04:34:42 $ docker exec --env ******** --env ******** 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d ssh-agent -k 04:34:42 unset SSH_AUTH_SOCK; 04:34:42 unset SSH_AGENT_PID; 04:34:42 echo Agent pid 50 killed; 04:34:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:43 + git semver [Pipeline] } 04:34:43 $ docker stop --time=1 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d 04:34:45 $ docker rm -f 6a5663a1b2c7c7824568170870bfdc04d3987797026d41e8e03845d9a1d3c00d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:34:45 Stashed 22 file(s) [Pipeline] echo 04:34:45 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 04:34:45 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 04:35:01 Still waiting to schedule task 04:35:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:35:01 Still waiting to schedule task 04:35:01 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 04:37:53 Running on prd-centos7-docker-4c-2g-2022 in /w/workspace/xfoundry_device-modbus-go_PR-160 [Pipeline] { [Pipeline] ws 04:37:53 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 04:37:56 using credential edgex-jenkins-ssh 04:37:57 Cloning the remote Git repository 04:37:57 Cloning with configured refspecs honoured and without tags 04:37:57 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:37:57 > git init /w/workspace/device-modbus-go/1 # timeout=10 04:37:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:37:57 > git --version # timeout=10 04:37:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:58 Fetching without tags 04:37:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:37:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:37:58 > git config --add remote.origin.fetch +refs/pull/160/head:refs/remotes/origin/PR-160 # timeout=10 04:37:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:37:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:37:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:37:58 Merging remotes/origin/master commit ede61610538096fa337aace8f825662d73a1e29e into PR head commit 173900479015fcb6694a09757887e4ada5530256 04:37:58 Merge succeeded, producing 173900479015fcb6694a09757887e4ada5530256 04:37:58 Checking out Revision 173900479015fcb6694a09757887e4ada5530256 (PR-160) 04:37:58 > git config core.sparsecheckout # timeout=10 04:37:58 > git checkout -f 173900479015fcb6694a09757887e4ada5530256 # timeout=10 04:37:58 > git remote # timeout=10 04:37:58 > git config --get remote.origin.url # timeout=10 04:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:58 > git merge ede61610538096fa337aace8f825662d73a1e29e # timeout=10 04:37:58 > git rev-parse HEAD^{commit} # timeout=10 04:37:58 > git config core.sparsecheckout # timeout=10 04:37:58 > git checkout -f 173900479015fcb6694a09757887e4ada5530256 # timeout=10 04:38:02 Commit message: "fix: Fix swap operation for float32 dataType" 04:38:02 > git --version # timeout=10 04:38:02 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:38:03 ========================================================= 04:38:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:38:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:38:04 + 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 . 04:38:05 Sending build context to Docker daemon 627.7kB 04:38:05 Step 1/8 : ARG BASE=golang:1.13-alpine 04:38:05 Step 2/8 : FROM ${BASE} 04:38:05 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:38:05 df20fa9351a1: Pulling fs layer 04:38:05 ed8968b2872e: Pulling fs layer 04:38:05 a92cc7c5fd73: Pulling fs layer 04:38:05 2dd03ba5bac4: Pulling fs layer 04:38:05 1e091d79d1de: Pulling fs layer 04:38:05 481702a1767f: Pulling fs layer 04:38:05 f64a6f60c768: Pulling fs layer 04:38:05 e78d2573fc39: Pulling fs layer 04:38:05 e876d2f968b6: Pulling fs layer 04:38:05 ce8a83651883: Pulling fs layer 04:38:05 07967f4d0e4b: Pulling fs layer 04:38:05 f64a6f60c768: Waiting 04:38:05 e78d2573fc39: Waiting 04:38:05 e876d2f968b6: Waiting 04:38:05 ce8a83651883: Waiting 04:38:05 07967f4d0e4b: Waiting 04:38:05 1e091d79d1de: Waiting 04:38:05 481702a1767f: Waiting 04:38:05 a92cc7c5fd73: Verifying Checksum 04:38:05 a92cc7c5fd73: Download complete 04:38:05 ed8968b2872e: Verifying Checksum 04:38:05 ed8968b2872e: Download complete 04:38:05 1e091d79d1de: Verifying Checksum 04:38:05 1e091d79d1de: Download complete 04:38:05 481702a1767f: Verifying Checksum 04:38:05 481702a1767f: Download complete 04:38:05 df20fa9351a1: Verifying Checksum 04:38:05 df20fa9351a1: Download complete 04:38:05 df20fa9351a1: Pull complete 04:38:06 f64a6f60c768: Verifying Checksum 04:38:06 f64a6f60c768: Download complete 04:38:06 e876d2f968b6: Verifying Checksum 04:38:06 e876d2f968b6: Download complete 04:38:06 2dd03ba5bac4: Verifying Checksum 04:38:06 2dd03ba5bac4: Download complete 04:38:06 e78d2573fc39: Verifying Checksum 04:38:06 e78d2573fc39: Download complete 04:38:07 07967f4d0e4b: Verifying Checksum 04:38:07 07967f4d0e4b: Download complete 04:38:07 ce8a83651883: Verifying Checksum 04:38:07 ce8a83651883: Download complete 04:38:07 ed8968b2872e: Pull complete 04:38:07 a92cc7c5fd73: Pull complete 04:38:16 2dd03ba5bac4: Pull complete 04:38:16 1e091d79d1de: Pull complete 04:38:16 481702a1767f: Pull complete 04:38:19 f64a6f60c768: Pull complete 04:38:22 e78d2573fc39: Pull complete 04:38:22 e876d2f968b6: Pull complete 04:38:24 ce8a83651883: Pull complete 04:38:24 07967f4d0e4b: Pull complete 04:38:24 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 04:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:38:24 ---> 5d7c900382c6 04:38:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:38:25 ---> Running in 9358bab9e43e 04:38:25 Removing intermediate container 9358bab9e43e 04:38:25 ---> 28a6190378b2 04:38:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:38:25 ---> Running in 7fd367369d89 04:38:27 Removing intermediate container 7fd367369d89 04:38:27 ---> 8e5e30165661 04:38:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:38:27 ---> Running in c2a2765ab520 04:38:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:38:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:38:29 (1/14) Installing libmagic (5.38-r0) 04:38:29 (2/14) Installing file (5.38-r0) 04:38:29 (3/14) Installing libc-dev (0.7.2-r3) 04:38:29 (4/14) Installing g++ (9.3.0-r2) 04:38:33 (5/14) Installing fortify-headers (1.1-r0) 04:38:33 (6/14) Installing patch (2.7.6-r6) 04:38:33 (7/14) Installing build-base (0.5-r2) 04:38:33 (8/14) Installing openssh-keygen (8.3_p1-r0) 04:38:33 (9/14) Installing libedit (20191231.3.1-r0) 04:38:33 (10/14) Installing openssh-client (8.3_p1-r0) 04:38:33 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 04:38:33 (12/14) Installing openssh-server-common (8.3_p1-r0) 04:38:33 (13/14) Installing openssh-server (8.3_p1-r0) 04:38:33 (14/14) Installing openssh (8.3_p1-r0) 04:38:33 Executing busybox-1.31.1-r16.trigger 04:38:33 OK: 237 MiB in 53 packages 04:38:37 Removing intermediate container c2a2765ab520 04:38:37 ---> d8f5dc910ee6 04:38:37 Step 6/8 : WORKDIR /device-modbus-go 04:38:37 ---> Running in 2ce094b5abd4 04:38:37 Removing intermediate container 2ce094b5abd4 04:38:37 ---> b350dc96e78b 04:38:37 Step 7/8 : COPY . . 04:38:38 ---> 06f926c5d6c3 04:38:38 Step 8/8 : RUN go mod download 04:38:38 ---> Running in c07a91215673 04:38:40 go: finding github.com/BurntSushi/toml v0.3.1 04:38:40 go: finding github.com/OneOfOne/xxhash v1.2.6 04:38:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:38:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:38:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:38:40 go: finding github.com/bgentry/speakeasy v0.1.0 04:38:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:38:40 go: finding github.com/davecgh/go-spew v1.1.1 04:38:40 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:38:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:38:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:38:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:38:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:38:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:38:40 go: finding github.com/fatih/color v1.7.0 04:38:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:38:40 go: finding github.com/go-kit/kit v0.8.0 04:38:40 go: finding github.com/go-logfmt/logfmt v0.4.0 04:38:40 go: finding github.com/go-stack/stack v1.8.0 04:38:40 go: finding github.com/goburrow/modbus v0.1.0 04:38:40 go: finding github.com/goburrow/serial v0.1.0 04:38:40 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:38:40 go: finding github.com/google/uuid v1.1.1 04:38:40 go: finding github.com/gorilla/mux v1.7.1 04:38:40 go: finding github.com/hashicorp/consul/api v1.1.0 04:38:40 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:38:40 go: finding github.com/hashicorp/errwrap v1.0.0 04:38:40 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:38:40 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:38:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:38:40 go: finding github.com/hashicorp/go-multierror v1.0.0 04:38:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:38:40 go: finding github.com/hashicorp/go-sockaddr v1.0.1 04:38:40 go: finding github.com/hashicorp/go-syslog v1.0.0 04:38:40 go: finding github.com/hashicorp/go-uuid v1.0.1 04:38:40 go: finding github.com/hashicorp/go.net v0.0.1 04:38:40 go: finding github.com/hashicorp/golang-lru v0.5.1 04:38:40 go: finding github.com/hashicorp/logutils v1.0.0 04:38:40 go: finding github.com/hashicorp/mdns v1.0.0 04:38:40 go: finding github.com/hashicorp/memberlist v0.1.3 04:38:40 go: finding github.com/hashicorp/serf v0.8.2 04:38:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:38:40 go: finding github.com/mattn/go-colorable v0.0.9 04:38:41 go: finding github.com/mattn/go-isatty v0.0.3 04:38:41 go: finding github.com/miekg/dns v1.1.4 04:38:41 go: finding github.com/mitchellh/cli v1.0.0 04:38:41 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:38:41 go: finding github.com/mitchellh/copystructure v1.0.0 04:38:41 go: finding github.com/mitchellh/go-homedir v1.1.0 04:38:41 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:38:41 go: finding github.com/mitchellh/go-wordwrap v1.0.0 04:38:41 go: finding github.com/mitchellh/gox v0.4.0 04:38:41 go: finding github.com/mitchellh/iochan v1.0.0 04:38:41 go: finding github.com/mitchellh/mapstructure v1.1.2 04:38:41 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:38:41 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:38:41 go: finding github.com/pelletier/go-toml v1.2.0 04:38:41 go: finding github.com/pkg/errors v0.8.1 04:38:41 go: finding github.com/pmezard/go-difflib v1.0.0 04:38:41 go: finding github.com/posener/complete v1.1.1 04:38:41 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 04:38:41 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:38:41 go: finding github.com/stretchr/objx v0.1.0 04:38:41 go: finding github.com/stretchr/testify v1.5.1 04:38:41 go: finding github.com/ugorji/go v1.1.4 04:38:41 go: finding github.com/x448/float16 v0.8.4 04:38:41 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:38:41 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 04:38:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:38:41 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:38:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:38:41 go: finding gopkg.in/yaml.v2 v2.2.8 04:38:51 Removing intermediate container c07a91215673 04:38:51 ---> bb6f3165261b 04:38:51 Successfully built bb6f3165261b 04:38:51 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 04:38:52 + docker inspect -f . ci-base-image-x86_64 04:38:52 . [Pipeline] withDockerContainer 04:38:52 prd-centos7-docker-4c-2g-2022 does not seem to be running inside a container 04:38:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:38:54 $ docker top ae1c51cd1306ac4502b25492712f77423d3fd3ef778329c91a95c554a4a008ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:54 + go version 04:38:54 go version go1.13.13 linux/amd64 [Pipeline] sh 04:38:54 + make test 04:38:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:38:56 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:39:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:39:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.247s coverage: 50.9% of statements 04:39:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:39:07 gofmt -l . 04:39:07 [ "`gofmt -l .`" = "" ] 04:39:07 ./bin/test-attribution-txt.sh 04:39:08 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:39:08 Stashed 1 file(s) [Pipeline] } 04:39:08 $ docker stop --time=1 ae1c51cd1306ac4502b25492712f77423d3fd3ef778329c91a95c554a4a008ed 04:39:11 $ docker rm -f ae1c51cd1306ac4502b25492712f77423d3fd3ef778329c91a95c554a4a008ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:39:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:39:12 + ls -al . 04:39:12 total 104 04:39:12 drwxrwxr-x. 10 jenkins jenkins 4096 Aug 4 04:39 . 04:39:12 drwxrwxr-x. 4 jenkins jenkins 28 Aug 4 04:37 .. 04:39:12 -rw-rw-r--. 1 jenkins jenkins 5049 Aug 4 04:37 Attribution.txt 04:39:12 drwxrwxr-x. 2 jenkins jenkins 87 Aug 4 04:37 bin 04:39:12 drwxrwxr-x. 3 jenkins jenkins 32 Aug 4 04:37 cmd 04:39:12 -rw-r--r--. 1 jenkins jenkins 22032 Aug 4 04:39 coverage.out 04:39:12 -rw-rw-r--. 1 jenkins jenkins 1422 Aug 4 04:37 Dockerfile 04:39:12 -rw-rw-r--. 1 jenkins jenkins 954 Aug 4 04:37 Dockerfile.build 04:39:12 -rw-rw-r--. 1 jenkins jenkins 140 Aug 4 04:37 .dockerignore 04:39:12 drwxrwxr-x. 8 jenkins jenkins 179 Aug 4 04:38 .git 04:39:12 drwxrwxr-x. 2 jenkins jenkins 38 Aug 4 04:37 .github 04:39:12 -rw-rw-r--. 1 jenkins jenkins 330 Aug 4 04:37 .gitignore 04:39:12 -rw-r--r--. 1 jenkins jenkins 559 Aug 4 04:39 go.mod 04:39:12 -rw-r--r--. 1 jenkins jenkins 13471 Aug 4 04:39 go.sum 04:39:12 drwxrwxr-x. 3 jenkins jenkins 20 Aug 4 04:37 internal 04:39:12 -rw-rw-r--. 1 jenkins jenkins 702 Aug 4 04:37 Jenkinsfile 04:39:12 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 4 04:37 LICENSE 04:39:12 -rw-rw-r--. 1 jenkins jenkins 880 Aug 4 04:37 Makefile 04:39:12 -rw-rw-r--. 1 jenkins jenkins 591 Aug 4 04:37 README.md 04:39:12 drwxrwxr-x. 3 jenkins jenkins 58 Aug 4 04:38 .semver 04:39:12 drwxrwxr-x. 2 jenkins jenkins 35 Aug 4 04:37 simulator 04:39:12 drwxrwxr-x. 4 jenkins jenkins 54 Aug 4 04:37 snap 04:39:12 -rw-rw-r--. 1 jenkins jenkins 5 Aug 4 04:34 VERSION 04:39:12 -rw-rw-r--. 1 jenkins jenkins 229 Aug 4 04:37 version.go [Pipeline] isUnix [Pipeline] sh 04:39:13 + 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=173900479015fcb6694a09757887e4ada5530256 --label arch=amd64 --label version=0.0.0 . 04:39:13 Sending build context to Docker daemon 658.9kB 04:39:13 Step 1/19 : ARG BASE=golang:1.13-alpine 04:39:13 Step 2/19 : FROM ${BASE} AS builder 04:39:13 ---> bb6f3165261b 04:39:13 Step 3/19 : ARG MAKE='make build' 04:39:13 ---> Running in 5a5669896614 04:39:13 Removing intermediate container 5a5669896614 04:39:13 ---> f227c0bc2144 04:39:13 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:39:13 ---> Running in 879a6b9e97e5 04:39:14 Removing intermediate container 879a6b9e97e5 04:39:14 ---> bdab5c1e58b4 04:39:14 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 04:39:14 ---> Running in 04dab7350820 04:39:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:39:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:39:16 OK: 237 MiB in 53 packages 04:39:16 Removing intermediate container 04dab7350820 04:39:16 ---> 7beb4b070010 04:39:16 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 04:39:16 ---> Running in 06512550ee93 04:39:17 Removing intermediate container 06512550ee93 04:39:17 ---> ed9164ed7efd 04:39:17 Step 7/19 : COPY . . 04:39:17 ---> ff5ca0a7dcb7 04:39:17 Step 8/19 : RUN ${MAKE} 04:39:18 ---> Running in 955e604a97a8 04:39:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 04:39:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:39:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2023 in /w/workspace/xfoundry_device-modbus-go_PR-160 [Pipeline] { [Pipeline] ws 04:39:29 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 04:39:30 Removing intermediate container 955e604a97a8 04:39:30 ---> 816ba66c315c 04:39:30 Step 9/19 : FROM scratch 04:39:30 ---> 04:39:30 Step 10/19 : ENV APP_PORT=49991 04:39:30 ---> Running in bc437f4478fe 04:39:30 Removing intermediate container bc437f4478fe 04:39:30 ---> daa3bc6c5427 04:39:30 Step 11/19 : EXPOSE $APP_PORT 04:39:30 ---> Running in 75922edf841c 04:39:30 Removing intermediate container 75922edf841c 04:39:30 ---> 14b2aecaae80 04:39:30 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 04:39:31 ---> 9974c7f53738 04:39:31 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 04:39:31 ---> 91e784aa60a7 04:39:31 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 04:39:31 ---> 9033b1bacd8b 04:39:31 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 04:39:31 ---> Running in 00fc3a067569 04:39:31 Removing intermediate container 00fc3a067569 04:39:31 ---> b0a88afe0b45 04:39:31 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 04:39:31 ---> Running in 272f10052862 04:39:31 Removing intermediate container 272f10052862 04:39:31 ---> 06a4ed87425d 04:39:31 Step 17/19 : LABEL arch=amd64 04:39:31 ---> Running in 0505ac1b2041 04:39:32 Removing intermediate container 0505ac1b2041 04:39:32 ---> e61a078b06aa 04:39:32 Step 18/19 : LABEL git_sha=173900479015fcb6694a09757887e4ada5530256 04:39:32 ---> Running in 96a82f685a59 04:39:32 Removing intermediate container 96a82f685a59 04:39:32 ---> 6f1b2a6f03e2 04:39:32 Step 19/19 : LABEL version=0.0.0 04:39:32 ---> Running in fc47a04df945 04:39:32 Removing intermediate container fc47a04df945 04:39:32 ---> 0df62c0a2bae 04:39:32 [Warning] One or more build-args [ARCH] were not consumed 04:39:32 Successfully built 0df62c0a2bae 04:39:32 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 04:39:34 ++ find /w/workspace/device-modbus-go/1 04:39:34 ++ grep snapcraft.yaml 04:39:34 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml 04:39:34 using credential edgex-jenkins-ssh 04:39:34 Cloning the remote Git repository 04:39:34 Cloning with configured refspecs honoured and without tags [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:34 provisioning config files... 04:39:34 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config5987770696107934785tmp [Pipeline] { [Pipeline] sh 04:39:34 + cp /w/workspace/device-modbus-go/1@tmp/config5987770696107934785tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 04:39:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:39:34 > git init /w/workspace/device-modbus-go/1 # timeout=10 04:39:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:39:34 > git --version # timeout=10 04:39:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:35 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 04:39:35 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 04:39:35 latest: Pulling from edgex-devops/edgex-snap-builder 04:39:35 7595c8c21622: Pulling fs layer 04:39:35 d13af8ca898f: Pulling fs layer 04:39:35 70799171ddba: Pulling fs layer 04:39:35 b6c12202c5ef: Pulling fs layer 04:39:35 9125ad81aa5e: Pulling fs layer 04:39:35 54ef48a70361: Pulling fs layer 04:39:35 85b8c04ed4b0: Pulling fs layer 04:39:35 bf31c5eb3fd8: Pulling fs layer 04:39:35 d71bf2a54a9d: Pulling fs layer 04:39:35 54ef48a70361: Waiting 04:39:35 85b8c04ed4b0: Waiting 04:39:35 bf31c5eb3fd8: Waiting 04:39:35 d71bf2a54a9d: Waiting 04:39:35 b6c12202c5ef: Waiting 04:39:35 9125ad81aa5e: Waiting 04:39:35 70799171ddba: Verifying Checksum 04:39:35 70799171ddba: Download complete 04:39:35 d13af8ca898f: Download complete 04:39:35 b6c12202c5ef: Download complete 04:39:35 54ef48a70361: Download complete 04:39:35 85b8c04ed4b0: Verifying Checksum 04:39:35 85b8c04ed4b0: Download complete 04:39:35 Fetching without tags 04:39:35 bf31c5eb3fd8: Download complete 04:39:35 d71bf2a54a9d: Verifying Checksum 04:39:35 d71bf2a54a9d: Download complete 04:39:35 7595c8c21622: Verifying Checksum 04:39:35 7595c8c21622: Download complete 04:39:36 Merging remotes/origin/master commit ede61610538096fa337aace8f825662d73a1e29e into PR head commit 173900479015fcb6694a09757887e4ada5530256 04:39:36 Merge succeeded, producing 173900479015fcb6694a09757887e4ada5530256 04:39:36 Checking out Revision 173900479015fcb6694a09757887e4ada5530256 (PR-160) 04:39:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:39:35 > git config --add remote.origin.fetch +refs/pull/160/head:refs/remotes/origin/PR-160 # timeout=10 04:39:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:39:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:39:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:36 > git config core.sparsecheckout # timeout=10 04:39:36 > git checkout -f 173900479015fcb6694a09757887e4ada5530256 # timeout=10 04:39:36 > git remote # timeout=10 04:39:36 > git config --get remote.origin.url # timeout=10 04:39:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:36 > git merge ede61610538096fa337aace8f825662d73a1e29e # timeout=10 04:39:36 > git rev-parse HEAD^{commit} # timeout=10 04:39:36 > git config core.sparsecheckout # timeout=10 04:39:36 > git checkout -f 173900479015fcb6694a09757887e4ada5530256 # timeout=10 04:39:40 Commit message: "fix: Fix swap operation for float32 dataType" 04:39:40 > git --version # timeout=10 04:39:40 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 04:39:41 9125ad81aa5e: Verifying Checksum 04:39:41 9125ad81aa5e: Download complete 04:39:41 7595c8c21622: Pull complete 04:39:41 d13af8ca898f: Pull complete 04:39:41 70799171ddba: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:39:41 b6c12202c5ef: Pull complete [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:39:42 ========================================================= 04:39:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:39:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:39:43 + 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 . 04:39:44 Sending build context to Docker daemon 627.7kB 04:39:44 Step 1/8 : ARG BASE=golang:1.13-alpine 04:39:44 Step 2/8 : FROM ${BASE} 04:39:44 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:39:44 b538f80385f9: Pulling fs layer 04:39:44 74f711af9a0d: Pulling fs layer 04:39:44 99f96fe45779: Pulling fs layer 04:39:44 fd7a069fd194: Pulling fs layer 04:39:44 66aa3694b03b: Pulling fs layer 04:39:44 170f70906a0f: Pulling fs layer 04:39:44 ad7c5574e4b9: Pulling fs layer 04:39:44 e772456be8f7: Pulling fs layer 04:39:44 c890913d741a: Pulling fs layer 04:39:44 2480fcc9aa5a: Pulling fs layer 04:39:44 09adf4765672: Pulling fs layer 04:39:44 66aa3694b03b: Waiting 04:39:44 170f70906a0f: Waiting 04:39:44 ad7c5574e4b9: Waiting 04:39:44 e772456be8f7: Waiting 04:39:44 c890913d741a: Waiting 04:39:44 2480fcc9aa5a: Waiting 04:39:44 09adf4765672: Waiting 04:39:44 fd7a069fd194: Waiting 04:39:44 99f96fe45779: Verifying Checksum 04:39:44 99f96fe45779: Download complete 04:39:44 74f711af9a0d: Verifying Checksum 04:39:44 74f711af9a0d: Download complete 04:39:44 66aa3694b03b: Verifying Checksum 04:39:44 66aa3694b03b: Download complete 04:39:44 170f70906a0f: Verifying Checksum 04:39:44 170f70906a0f: Download complete 04:39:44 b538f80385f9: Verifying Checksum 04:39:44 b538f80385f9: Download complete 04:39:45 b538f80385f9: Pull complete 04:39:45 74f711af9a0d: Pull complete 04:39:46 99f96fe45779: Pull complete 04:39:47 ad7c5574e4b9: Verifying Checksum 04:39:47 ad7c5574e4b9: Download complete 04:39:47 c890913d741a: Verifying Checksum 04:39:47 c890913d741a: Download complete 04:39:49 2480fcc9aa5a: Verifying Checksum 04:39:49 2480fcc9aa5a: Download complete 04:39:49 09adf4765672: Verifying Checksum 04:39:49 09adf4765672: Download complete 04:39:50 e772456be8f7: Verifying Checksum 04:39:50 e772456be8f7: Download complete 04:39:50 fd7a069fd194: Verifying Checksum 04:39:50 fd7a069fd194: Download complete 04:40:02 fd7a069fd194: Pull complete 04:40:02 66aa3694b03b: Pull complete 04:40:02 170f70906a0f: Pull complete 04:40:06 ad7c5574e4b9: Pull complete 04:40:08 9125ad81aa5e: Pull complete 04:40:08 54ef48a70361: Pull complete 04:40:08 85b8c04ed4b0: Pull complete 04:40:08 bf31c5eb3fd8: Pull complete 04:40:08 d71bf2a54a9d: Pull complete 04:40:08 Digest: sha256:26668cfeeeed474010a94de3c3f31ddcac1c19c376eb311c2eae00188517195e 04:40:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 04:40:08 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 04:40:08 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 04:40:08 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 04:40:08 Get:4 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9555 B] 04:40:08 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [880 kB] 04:40:08 Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1033 kB] 04:40:08 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [100 kB] 04:40:08 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 04:40:09 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [116 kB] 04:40:09 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1334 kB] 04:40:09 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.1 kB] 04:40:09 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1413 kB] 04:40:09 Fetched 5165 kB in 1s (3535 kB/s) 04:40:10 e772456be8f7: Pull complete 04:40:10 c890913d741a: Pull complete 04:40:11 Reading package lists... 04:40:13 2480fcc9aa5a: Pull complete 04:40:13 09adf4765672: Pull complete 04:40:13 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 04:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:40:13 ---> 2248a725d1cf 04:40:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:40:15 0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 04:40:15 Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease 04:40:15 0% [Waiting for headers] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 04:40:15 0% [1 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [2 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 04:40:17 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... 50% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 76% Reading package lists... 76% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 04:40:19 ---> Running in 1644c7ebcd86 04:40:19 Removing intermediate container 1644c7ebcd86 04:40:19 ---> 7e063823519c 04:40:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:19 ---> Running in 985236e1e773 04:40:19 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 04:40:21 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 53% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 76% Reading package lists... 76% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 04:40:21 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 81% Building dependency tree 04:40:21 Reading state information... 0% Reading state information... 0% Reading state information... Done 04:40:21 The following packages were automatically installed and are no longer required: 04:40:21 libjq1 libonig4 04:40:21 Use 'sudo apt autoremove' to remove them. 04:40:21 Suggested packages: 04:40:21 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 04:40:21 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 04:40:21 diffutils-doc perl-doc libterm-readline-gnu-perl 04:40:21 | libterm-readline-perl-perl 04:40:21 Removing intermediate container 985236e1e773 04:40:21 ---> b2676e7f7b3b 04:40:21 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:40:21 ---> Running in 333614eeae40 04:40:21 The following NEW packages will be installed: 04:40:21 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 04:40:21 libperl5.26 make netbase patch perl perl-modules-5.26 04:40:21 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 04:40:21 Need to get 12.0 MB of archives. 04:40:21 After this operation, 77.5 MB of additional disk space will be used. 04:40:21 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] 04:40:22 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 668 kB/2763 kB 24%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 04:40:22 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 04:40:22 21% [3 libgdbm-compat4 6084 B/6084 B 100%] 23% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 04:40:22 23% [4 libperl5.26 22.2 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 04:40:22 48% [5 perl 15.4 kB/201 kB 8%] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 04:40:22 51% [6 less 45.5 kB/112 kB 41%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 04:40:22 53% [7 netbase 12.7 kB/12.7 kB 100%] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.9 [159 kB] 04:40:22 55% [8 curl 100 kB/159 kB 63%] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.9 [212 kB] 04:40:22 57% [9 libcurl3-gnutls 20.6 kB/212 kB 10%] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 04:40:22 60% [10 liberror-perl 1083 B/22.8 kB 5%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 04:40:22 61% [11 git-man 10.2 kB/804 kB 1%] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 04:40:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:40:23 69% [12 git 194 kB/3915 kB 5%] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 04:40:23 96% [13 make 56.8 kB/154 kB 37%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 04:40:23 98% [14 patch 1333 B/102 kB 1%] 100% [Working] Fetched 12.0 MB in 1s (8510 kB/s) 04:40:23 debconf: delaying package configuration, since apt-utils is not installed 04:40:23 Selecting previously unselected package perl-modules-5.26. 04:40:23 (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.) 04:40:23 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 04:40:23 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 04:40:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:40:25 (1/14) Installing libmagic (5.38-r0) 04:40:25 (2/14) Installing file (5.38-r0) 04:40:25 (3/14) Installing libc-dev (0.7.2-r3) 04:40:25 (4/14) Installing g++ (9.3.0-r2) 04:40:27 Selecting previously unselected package libgdbm5:amd64. 04:40:27 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 04:40:27 Unpacking libgdbm5:amd64 (1.14.1-6) ... 04:40:27 Selecting previously unselected package libgdbm-compat4:amd64. 04:40:27 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 04:40:27 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 04:40:27 Selecting previously unselected package libperl5.26:amd64. 04:40:27 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 04:40:27 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 04:40:28 Selecting previously unselected package perl. 04:40:28 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 04:40:28 Unpacking perl (5.26.1-6ubuntu0.3) ... 04:40:28 Selecting previously unselected package less. 04:40:28 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 04:40:28 Unpacking less (487-0.1) ... 04:40:28 Selecting previously unselected package netbase. 04:40:28 Preparing to unpack .../06-netbase_5.4_all.deb ... 04:40:28 Unpacking netbase (5.4) ... 04:40:28 Selecting previously unselected package curl. 04:40:28 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_amd64.deb ... 04:40:28 Unpacking curl (7.58.0-2ubuntu3.9) ... 04:40:28 Selecting previously unselected package libcurl3-gnutls:amd64. 04:40:28 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_amd64.deb ... 04:40:28 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... 04:40:28 Selecting previously unselected package liberror-perl. 04:40:28 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 04:40:28 Unpacking liberror-perl (0.17025-1) ... 04:40:28 Selecting previously unselected package git-man. 04:40:28 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 04:40:28 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 04:40:28 Selecting previously unselected package git. 04:40:28 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 04:40:28 Unpacking git (1:2.17.1-1ubuntu0.7) ... 04:40:29 Selecting previously unselected package make. 04:40:29 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 04:40:29 Unpacking make (4.1-9.1ubuntu1) ... 04:40:29 Selecting previously unselected package patch. 04:40:29 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 04:40:29 Unpacking patch (2.7.6-2ubuntu1.1) ... 04:40:29 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 04:40:29 Setting up less (487-0.1) ... 04:40:30 Setting up make (4.1-9.1ubuntu1) ... 04:40:30 Setting up curl (7.58.0-2ubuntu3.9) ... 04:40:30 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... 04:40:30 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 04:40:30 Setting up libgdbm5:amd64 (1.14.1-6) ... 04:40:30 Setting up patch (2.7.6-2ubuntu1.1) ... 04:40:30 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 04:40:30 Setting up netbase (5.4) ... 04:40:30 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 04:40:30 Setting up perl (5.26.1-6ubuntu0.3) ... 04:40:30 Setting up liberror-perl (0.17025-1) ... 04:40:30 Setting up git (1:2.17.1-1ubuntu0.7) ... 04:40:30 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 04:40:30 Processing triggers for mime-support (3.60ubuntu1) ... 04:40:32 curl set to automatically installed. 04:40:32 git set to automatically installed. 04:40:32 git-man set to automatically installed. 04:40:32 less set to automatically installed. 04:40:32 libcurl3-gnutls set to automatically installed. 04:40:32 liberror-perl set to automatically installed. 04:40:32 libgdbm-compat4 set to automatically installed. 04:40:32 libgdbm5 set to automatically installed. 04:40:32 libperl5.26 set to automatically installed. 04:40:32 make set to automatically installed. 04:40:32 netbase set to automatically installed. 04:40:32 patch set to automatically installed. 04:40:32 perl set to automatically installed. 04:40:32 perl-modules-5.26 set to automatically installed. 04:40:32 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 04:40:32 Please ensure the environment is properly setup before continuing. 04:40:32 Ignore this message if the appropriate measures have already been taken 04:40:33 Pulling go  04:40:34 'device-modbus' has dependencies that need to be staged: go 04:40:34 Skipping pull go (already ran) 04:40:34 Building go  04:40:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:40:34 Dload Upload Total Spent Left Speed 04:40:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 16 114M 16 18.8M 0 0 40.5M 0 0:00:02 --:--:-- 0:00:02 40.4M 72 114M 72 83.2M 0 0 56.3M 0 0:00:02 0:00:01 0:00:01 56.3M 100 114M 100 114M 0 0 55.9M 0 0:00:02 0:00:02 --:--:-- 55.9M 04:40:37 go1.13.5.linux-amd64.tar.gz: OK 04:40:43 Staging go  04:40:43 (5/14) Installing fortify-headers (1.1-r0) 04:40:43 (6/14) Installing patch (2.7.6-r6) 04:40:43 (7/14) Installing build-base (0.5-r2) 04:40:43 (8/14) Installing openssh-keygen (8.3_p1-r0) 04:40:43 (9/14) Installing libedit (20191231.3.1-r0) 04:40:43 (10/14) Installing openssh-client (8.3_p1-r0) 04:40:45 Pulling device-modbus  04:40:45 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 04:40:45 (12/14) Installing openssh-server-common (8.3_p1-r0) 04:40:45 (13/14) Installing openssh-server (8.3_p1-r0) 04:40:46 (14/14) Installing openssh (8.3_p1-r0) 04:40:46 Skipping build go (already ran) 04:40:46 Building device-modbus  04:40:46 Executing busybox-1.31.1-r16.trigger 04:40:46 OK: 221 MiB in 53 packages 04:40:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 04:40:47 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 04:40:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:40:47 go: downloading github.com/goburrow/modbus v0.1.0 04:40:47 go: extracting github.com/goburrow/modbus v0.1.0 04:40:47 go: downloading github.com/goburrow/serial v0.1.0 04:40:47 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 04:40:47 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:40:47 go: downloading github.com/gorilla/mux v1.7.1 04:40:47 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:40:47 go: downloading github.com/google/uuid v1.1.1 04:40:47 go: downloading github.com/OneOfOne/xxhash v1.2.6 04:40:47 go: extracting github.com/goburrow/serial v0.1.0 04:40:47 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 04:40:47 go: downloading github.com/go-kit/kit v0.8.0 04:40:47 go: extracting github.com/OneOfOne/xxhash v1.2.6 04:40:47 go: extracting github.com/gorilla/mux v1.7.1 04:40:47 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:40:47 go: extracting github.com/google/uuid v1.1.1 04:40:47 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 04:40:47 go: downloading gopkg.in/yaml.v2 v2.2.8 04:40:47 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 04:40:47 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 04:40:47 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 04:40:47 go: downloading github.com/pelletier/go-toml v1.2.0 04:40:47 go: downloading github.com/BurntSushi/toml v0.3.1 04:40:47 go: downloading github.com/pkg/errors v0.8.1 04:40:47 go: extracting github.com/go-kit/kit v0.8.0 04:40:47 go: extracting github.com/BurntSushi/toml v0.3.1 04:40:47 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 04:40:47 go: extracting github.com/pelletier/go-toml v1.2.0 04:40:47 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 04:40:47 go: extracting gopkg.in/yaml.v2 v2.2.8 04:40:47 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 04:40:47 go: downloading github.com/hashicorp/consul/api v1.1.0 04:40:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:40:47 go: downloading github.com/x448/float16 v0.8.4 04:40:47 go: extracting github.com/pkg/errors v0.8.1 04:40:47 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:40:47 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:40:47 go: downloading github.com/mitchellh/copystructure v1.0.0 04:40:47 go: downloading github.com/mitchellh/mapstructure v1.1.2 04:40:47 go: extracting github.com/hashicorp/consul/api v1.1.0 04:40:47 go: extracting github.com/x448/float16 v0.8.4 04:40:47 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 04:40:47 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 04:40:47 go: downloading github.com/hashicorp/serf v0.8.2 04:40:47 go: extracting github.com/mitchellh/copystructure v1.0.0 04:40:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 04:40:47 go: extracting github.com/mitchellh/mapstructure v1.1.2 04:40:47 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 04:40:47 go: downloading github.com/go-logfmt/logfmt v0.4.0 04:40:47 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 04:40:47 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 04:40:47 go: extracting github.com/mitchellh/reflectwalk v1.0.0 04:40:47 go: extracting github.com/go-logfmt/logfmt v0.4.0 04:40:47 go: extracting github.com/hashicorp/serf v0.8.2 04:40:47 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:40:47 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:40:47 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 04:40:47 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 04:40:47 go: downloading github.com/hashicorp/golang-lru v0.5.1 04:40:47 go: extracting github.com/hashicorp/golang-lru v0.5.1 04:40:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:40:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:40:47 go: finding github.com/goburrow/modbus v0.1.0 04:40:47 go: finding github.com/gorilla/mux v1.7.1 04:40:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:40:47 go: finding github.com/go-kit/kit v0.8.0 04:40:47 go: finding github.com/google/uuid v1.1.1 04:40:47 go: finding github.com/OneOfOne/xxhash v1.2.6 04:40:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:40:47 go: finding github.com/goburrow/serial v0.1.0 04:40:47 go: finding github.com/x448/float16 v0.8.4 04:40:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:40:47 go: finding github.com/go-logfmt/logfmt v0.4.0 04:40:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:40:47 go: finding gopkg.in/yaml.v2 v2.2.8 04:40:48 go: finding github.com/BurntSushi/toml v0.3.1 04:40:48 go: finding github.com/pkg/errors v0.8.1 04:40:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:40:48 go: finding github.com/hashicorp/consul/api v1.1.0 04:40:48 go: finding github.com/pelletier/go-toml v1.2.0 04:40:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:40:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:40:48 go: finding github.com/mitchellh/copystructure v1.0.0 04:40:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:40:48 go: finding github.com/mitchellh/mapstructure v1.1.2 04:40:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:40:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:40:48 go: finding github.com/hashicorp/serf v0.8.2 04:40:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:40:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:40:48 go: finding github.com/hashicorp/golang-lru v0.5.1 04:40:50 Removing intermediate container 333614eeae40 04:40:50 ---> 3262f95f67ce 04:40:50 Step 6/8 : WORKDIR /device-modbus-go 04:40:51 ---> Running in da4aa3adde2f 04:40:51 Removing intermediate container da4aa3adde2f 04:40:51 ---> 84c1173e0891 04:40:51 Step 7/8 : COPY . . 04:40:52 ---> 0cd75b02b8d1 04:40:52 Step 8/8 : RUN go mod download 04:40:52 ---> Running in a6d67ed4aa46 04:40:55 go: finding github.com/BurntSushi/toml v0.3.1 04:40:55 go: finding github.com/OneOfOne/xxhash v1.2.6 04:40:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:40:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:40:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:40:55 go: finding github.com/bgentry/speakeasy v0.1.0 04:40:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:40:55 go: finding github.com/davecgh/go-spew v1.1.1 04:40:55 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:40:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:40:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:40:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:40:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:40:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:40:55 go: finding github.com/fatih/color v1.7.0 04:40:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:40:55 go: finding github.com/go-kit/kit v0.8.0 04:40:55 go: finding github.com/go-logfmt/logfmt v0.4.0 04:40:55 go: finding github.com/go-stack/stack v1.8.0 04:40:55 go: finding github.com/goburrow/modbus v0.1.0 04:40:55 go: finding github.com/goburrow/serial v0.1.0 04:40:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:40:55 go: finding github.com/google/uuid v1.1.1 04:40:55 go: finding github.com/gorilla/mux v1.7.1 04:40:55 go: finding github.com/hashicorp/consul/api v1.1.0 04:40:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:40:55 go: finding github.com/hashicorp/errwrap v1.0.0 04:40:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:40:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:40:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:40:55 go: finding github.com/hashicorp/go-multierror v1.0.0 04:40:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:40:56 go: finding github.com/hashicorp/go-sockaddr v1.0.1 04:40:56 go: finding github.com/hashicorp/go-syslog v1.0.0 04:40:56 go: finding github.com/hashicorp/go-uuid v1.0.1 04:40:56 go: finding github.com/hashicorp/go.net v0.0.1 04:40:56 go: finding github.com/hashicorp/golang-lru v0.5.1 04:40:56 go: finding github.com/hashicorp/logutils v1.0.0 04:40:56 go: finding github.com/hashicorp/mdns v1.0.0 04:40:56 go: finding github.com/hashicorp/memberlist v0.1.3 04:40:56 go: finding github.com/hashicorp/serf v0.8.2 04:40:56 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:40:56 go: finding github.com/mattn/go-colorable v0.0.9 04:40:56 go: finding github.com/mattn/go-isatty v0.0.3 04:40:56 go: finding github.com/miekg/dns v1.1.4 04:40:56 go: finding github.com/mitchellh/cli v1.0.0 04:40:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:40:56 go: finding github.com/mitchellh/copystructure v1.0.0 04:40:56 go: finding github.com/mitchellh/go-homedir v1.1.0 04:40:56 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:40:56 go: finding github.com/mitchellh/go-wordwrap v1.0.0 04:40:56 go: finding github.com/mitchellh/gox v0.4.0 04:40:56 go: finding github.com/mitchellh/iochan v1.0.0 04:40:56 go: finding github.com/mitchellh/mapstructure v1.1.2 04:40:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:40:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:40:56 go: finding github.com/pelletier/go-toml v1.2.0 04:40:56 go: finding github.com/pkg/errors v0.8.1 04:40:56 go: finding github.com/pmezard/go-difflib v1.0.0 04:40:56 go: finding github.com/posener/complete v1.1.1 04:40:56 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 04:40:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:40:56 go: finding github.com/stretchr/objx v0.1.0 04:40:56 go: finding github.com/stretchr/testify v1.5.1 04:40:56 go: finding github.com/ugorji/go v1.1.4 04:40:56 go: finding github.com/x448/float16 v0.8.4 04:40:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:40:56 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 04:40:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:40:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:40:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:40:56 go: finding gopkg.in/yaml.v2 v2.2.8 04:40:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:41:02 Skipping stage go (already ran) 04:41:02 Staging device-modbus  04:41:03 Priming go  04:41:04 Priming device-modbus  04:41:04 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 04:41:04 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 04:41:04 Determining the version from the project repo (version-script). 04:41:04 The version has been set to '0.0.0-20200804+1739004' 04:41:06 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | 04:41:06 Snapped edgex-device-modbus_0.0.0-20200804+1739004_amd64.snap 04:41:06 Removing intermediate container a6d67ed4aa46 04:41:06 ---> aca8e2cb342a 04:41:06 Successfully built aca8e2cb342a 04:41:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] } 04:41:07 Deleting 1 temporary files 04:41:07 + docker inspect -f . ci-base-image-arm64 04:41:07 . [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer 04:41:08 prd-ubuntu18.04-docker-arm64-4c-16g-2023 does not seem to be running inside a container 04:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:41:10 $ docker top f54a2e610d14af167e6b763b55998e9a054a26758169f6cdd99b6e2019ceadaf -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:41:11 + go version 04:41:11 go version go1.13.13 linux/arm64 [Pipeline] sh 04:41:12 + make test 04:41:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:41:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:41:40 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:41:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.412s coverage: 50.9% of statements 04:41:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:41:47 gofmt -l . 04:41:47 [ "`gofmt -l .`" = "" ] 04:41:48 ./bin/test-attribution-txt.sh 04:41:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:41:49 Warning: overwriting stash ‘coverage-report’ 04:41:50 Stashed 1 file(s) [Pipeline] } 04:41:50 $ docker stop --time=1 f54a2e610d14af167e6b763b55998e9a054a26758169f6cdd99b6e2019ceadaf 04:41:52 $ docker rm -f f54a2e610d14af167e6b763b55998e9a054a26758169f6cdd99b6e2019ceadaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:54 + ls -al . 04:41:54 total 140 04:41:54 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 04:41 . 04:41:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 04:39 .. 04:41:54 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 04:39 .dockerignore 04:41:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 04:39 .git 04:41:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 04:39 .github 04:41:54 -rw-rw-r-- 1 jenkins jenkins 330 Aug 4 04:39 .gitignore 04:41:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 04:39 .semver 04:41:54 -rw-rw-r-- 1 jenkins jenkins 5049 Aug 4 04:39 Attribution.txt 04:41:54 -rw-rw-r-- 1 jenkins jenkins 1422 Aug 4 04:39 Dockerfile 04:41:54 -rw-rw-r-- 1 jenkins jenkins 954 Aug 4 04:39 Dockerfile.build 04:41:54 -rw-rw-r-- 1 jenkins jenkins 702 Aug 4 04:39 Jenkinsfile 04:41:54 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 04:39 LICENSE 04:41:54 -rw-rw-r-- 1 jenkins jenkins 880 Aug 4 04:39 Makefile 04:41:54 -rw-rw-r-- 1 jenkins jenkins 591 Aug 4 04:39 README.md 04:41:54 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 04:34 VERSION 04:41:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 04:39 bin 04:41:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 04:39 cmd 04:41:54 -rw-r--r-- 1 jenkins jenkins 22032 Aug 4 04:41 coverage.out 04:41:54 -rw-r--r-- 1 jenkins jenkins 559 Aug 4 04:41 go.mod 04:41:54 -rw-r--r-- 1 jenkins jenkins 13471 Aug 4 04:41 go.sum 04:41:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 04:39 internal 04:41:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 04:39 simulator 04:41:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 04:39 snap 04:41:54 -rw-rw-r-- 1 jenkins jenkins 229 Aug 4 04:39 version.go [Pipeline] isUnix [Pipeline] sh 04:41:54 + 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=173900479015fcb6694a09757887e4ada5530256 --label arch=arm64 --label version=0.0.0 . 04:41:55 Sending build context to Docker daemon 658.9kB 04:41:55 Step 1/19 : ARG BASE=golang:1.13-alpine 04:41:55 Step 2/19 : FROM ${BASE} AS builder 04:41:55 ---> aca8e2cb342a 04:41:55 Step 3/19 : ARG MAKE='make build' 04:41:55 ---> Running in 5ceff5050cfa 04:41:55 Removing intermediate container 5ceff5050cfa 04:41:55 ---> ab147c0059c2 04:41:55 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:41:56 ---> Running in 9b1265b2ccc7 04:41:58 Removing intermediate container 9b1265b2ccc7 04:41:58 ---> 74527b22c931 04:41:58 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 04:41:58 ---> Running in e4599ec55d48 04:42:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:42:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:42:02 OK: 221 MiB in 53 packages 04:42:04 Removing intermediate container e4599ec55d48 04:42:04 ---> f9ef3db3911c 04:42:04 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 04:42:04 ---> Running in 5f035cb65f4a 04:42:04 Removing intermediate container 5f035cb65f4a 04:42:04 ---> a966c58ba07f 04:42:04 Step 7/19 : COPY . . 04:42:05 ---> 2587f45166ac 04:42:05 Step 8/19 : RUN ${MAKE} 04:42:05 ---> Running in 2962d5684fd8 04:42:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 04:42:33 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:42:38 Removing intermediate container 2962d5684fd8 04:42:38 ---> a23d87d33df4 04:42:38 Step 9/19 : FROM scratch 04:42:38 ---> 04:42:38 Step 10/19 : ENV APP_PORT=49991 04:42:38 ---> Running in b6c7928a5e65 04:42:38 Removing intermediate container b6c7928a5e65 04:42:38 ---> 814c8e6caf2d 04:42:38 Step 11/19 : EXPOSE $APP_PORT 04:42:38 ---> Running in bbf68ee32d67 04:42:38 Removing intermediate container bbf68ee32d67 04:42:38 ---> 04e84fd45533 04:42:38 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 04:42:39 ---> de3d6d48f5b3 04:42:39 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 04:42:40 ---> fc7ff3d40f44 04:42:40 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 04:42:41 ---> 2a050857761d 04:42:41 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 04:42:41 ---> Running in d4e6a39ec418 04:42:41 Removing intermediate container d4e6a39ec418 04:42:41 ---> 171b0e024db1 04:42:41 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 04:42:41 ---> Running in 41d97e252538 04:42:42 Removing intermediate container 41d97e252538 04:42:42 ---> 0d2d0085d5d6 04:42:42 Step 17/19 : LABEL arch=arm64 04:42:42 ---> Running in 03f77ffda14e 04:42:43 Removing intermediate container 03f77ffda14e 04:42:43 ---> 0764e4989011 04:42:43 Step 18/19 : LABEL git_sha=173900479015fcb6694a09757887e4ada5530256 04:42:43 ---> Running in 762517ece6da 04:42:43 Removing intermediate container 762517ece6da 04:42:43 ---> 80a0a66e7a1d 04:42:43 Step 19/19 : LABEL version=0.0.0 04:42:43 ---> Running in 437512d0980e 04:42:44 Removing intermediate container 437512d0980e 04:42:44 ---> 4870de9fb7fc 04:42:44 [Warning] One or more build-args [ARCH] were not consumed 04:42:44 Successfully built 4870de9fb7fc 04:42:44 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:45 + find /w/workspace/device-modbus-go/1 04:42:45 + grep snapcraft.yaml 04:42:45 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:45 provisioning config files... 04:42:45 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3280309519187632536tmp [Pipeline] { [Pipeline] sh 04:42:46 + cp /w/workspace/device-modbus-go/1@tmp/config3280309519187632536tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 04:42:46 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 04:42:46 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 04:42:46 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 04:42:46 a114936b4807: Pulling fs layer 04:42:46 a27ecf0d2a86: Pulling fs layer 04:42:46 f4eb48eb870f: Pulling fs layer 04:42:46 0f912b9bb20d: Pulling fs layer 04:42:46 8b06ebbc7875: Pulling fs layer 04:42:46 4033e62aac47: Pulling fs layer 04:42:46 b318b59e0bd2: Pulling fs layer 04:42:46 de740d257bf9: Pulling fs layer 04:42:46 fbe057b04f20: Pulling fs layer 04:42:46 0f912b9bb20d: Waiting 04:42:46 8b06ebbc7875: Waiting 04:42:46 4033e62aac47: Waiting 04:42:46 b318b59e0bd2: Waiting 04:42:46 de740d257bf9: Waiting 04:42:46 fbe057b04f20: Waiting 04:42:46 f4eb48eb870f: Verifying Checksum 04:42:46 f4eb48eb870f: Download complete 04:42:46 a27ecf0d2a86: Verifying Checksum 04:42:46 a27ecf0d2a86: Download complete 04:42:46 0f912b9bb20d: Verifying Checksum 04:42:46 0f912b9bb20d: Download complete 04:42:46 4033e62aac47: Verifying Checksum 04:42:46 4033e62aac47: Download complete 04:42:46 b318b59e0bd2: Download complete 04:42:46 de740d257bf9: Verifying Checksum 04:42:46 de740d257bf9: Download complete 04:42:46 fbe057b04f20: Verifying Checksum 04:42:46 fbe057b04f20: Download complete 04:42:47 a114936b4807: Download complete 04:42:50 a114936b4807: Pull complete 04:42:50 a27ecf0d2a86: Pull complete 04:42:51 f4eb48eb870f: Pull complete 04:42:51 0f912b9bb20d: Pull complete 04:42:56 8b06ebbc7875: Verifying Checksum 04:42:56 8b06ebbc7875: Download complete 04:43:35 8b06ebbc7875: Pull complete 04:43:35 4033e62aac47: Pull complete 04:43:35 b318b59e0bd2: Pull complete 04:43:35 de740d257bf9: Pull complete 04:43:35 fbe057b04f20: Pull complete 04:43:35 Digest: sha256:1a35c8ab446a15c440fb5b9a752e66311a84caa578a4d11e99874f17b5a11d6f 04:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 04:43:42 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 04:43:42 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 04:43:42 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 04:43:42 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 04:43:43 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1316 B] 04:43:43 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3894 B] 04:43:43 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1252 kB] 04:43:43 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [919 kB] 04:43:43 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [772 kB] 04:43:43 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [644 kB] 04:43:44 Fetched 3843 kB in 2s (1626 kB/s) 04:43:49 Reading package lists... 04:44:02 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 04:44:02 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 04:44:02 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 04:44:02 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 04:44:07 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... 29% Reading package lists... 49% Reading package lists... 68% 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 04:44:14 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 04:44: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... 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 04:44:19 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 59% Building dependency tree 04:44:19 Reading state information... 0% Reading state information... 0% Reading state information... Done 04:44:20 The following packages were automatically installed and are no longer required: 04:44:20 libjq1 libonig4 04:44:20 Use 'sudo apt autoremove' to remove them. 04:44:20 Suggested packages: 04:44:20 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 04:44:20 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 04:44:20 diffutils-doc perl-doc libterm-readline-gnu-perl 04:44:20 | libterm-readline-perl-perl 04:44:20 The following NEW packages will be installed: 04:44:20 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 04:44:20 libperl5.26 make netbase patch perl perl-modules-5.26 04:44:20 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 04:44:20 Need to get 10.8 MB of archives. 04:44:20 After this operation, 73.6 MB of additional disk space will be used. 04:44: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] 04:44:21 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 6% [1 perl-modules-5.26 744 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] 04:44: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] 04:44: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] 04:44:21 25% [4 libperl5.26 24.6 kB/3326 kB 1%] 51% [Waiting for headers] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 04:44:21 51% [5 perl 42.3 kB/201 kB 21%] 54% [Waiting for headers] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 04:44:21 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Waiting for headers] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 04:44:21 56% [7 netbase 12.7 kB/12.7 kB 100%] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.9 [152 kB] 04:44:21 58% [8 curl 55.4 kB/152 kB 36%] 60% [Waiting for headers] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.9 [179 kB] 04:44:21 61% [9 libcurl3-gnutls 65.5 kB/179 kB 37%] 63% [Waiting for headers] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 04:44:21 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 04:44:21 65% [11 git-man 28.4 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] 04:44: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] 04:44:21 95% [13 make 8365 B/139 kB 6%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 04:44:21 98% [14 patch 45.1 kB/91.8 kB 49%] 100% [Working] Fetched 10.8 MB in 1s (7906 kB/s) 04:44:22 debconf: delaying package configuration, since apt-utils is not installed 04:44:22 Selecting previously unselected package perl-modules-5.26. 04:44: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.) 04:44:22 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 04:44:22 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 04:44:24 Selecting previously unselected package libgdbm5:arm64. 04:44:24 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 04:44:24 Unpacking libgdbm5:arm64 (1.14.1-6) ... 04:44:24 Selecting previously unselected package libgdbm-compat4:arm64. 04:44:24 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 04:44:24 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 04:44:24 Selecting previously unselected package libperl5.26:arm64. 04:44:24 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 04:44:24 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 04:44:25 Selecting previously unselected package perl. 04:44:25 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 04:44:25 Unpacking perl (5.26.1-6ubuntu0.3) ... 04:44:26 Selecting previously unselected package less. 04:44:26 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 04:44:26 Unpacking less (487-0.1) ... 04:44:26 Selecting previously unselected package netbase. 04:44:26 Preparing to unpack .../06-netbase_5.4_all.deb ... 04:44:26 Unpacking netbase (5.4) ... 04:44:26 Selecting previously unselected package curl. 04:44:26 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_arm64.deb ... 04:44:26 Unpacking curl (7.58.0-2ubuntu3.9) ... 04:44:26 Selecting previously unselected package libcurl3-gnutls:arm64. 04:44:26 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_arm64.deb ... 04:44:26 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... 04:44:26 Selecting previously unselected package liberror-perl. 04:44:26 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 04:44:26 Unpacking liberror-perl (0.17025-1) ... 04:44:26 Selecting previously unselected package git-man. 04:44:26 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 04:44:26 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 04:44:27 Selecting previously unselected package git. 04:44:27 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 04:44:27 Unpacking git (1:2.17.1-1ubuntu0.7) ... 04:44:28 Selecting previously unselected package make. 04:44:28 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 04:44:28 Unpacking make (4.1-9.1ubuntu1) ... 04:44:28 Selecting previously unselected package patch. 04:44:28 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 04:44:28 Unpacking patch (2.7.6-2ubuntu1.1) ... 04:44:28 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 04:44:29 Setting up less (487-0.1) ... 04:44:29 Setting up make (4.1-9.1ubuntu1) ... 04:44:29 Setting up curl (7.58.0-2ubuntu3.9) ... 04:44:29 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... 04:44:29 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 04:44:29 Setting up libgdbm5:arm64 (1.14.1-6) ... 04:44:29 Setting up patch (2.7.6-2ubuntu1.1) ... 04:44:29 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 04:44:29 Setting up netbase (5.4) ... 04:44:30 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 04:44:30 Setting up perl (5.26.1-6ubuntu0.3) ... 04:44:30 Setting up liberror-perl (0.17025-1) ... 04:44:30 Setting up git (1:2.17.1-1ubuntu0.7) ... 04:44:30 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 04:44:30 Processing triggers for mime-support (3.60ubuntu1) ... 04:44:35 curl set to automatically installed. 04:44:35 git set to automatically installed. 04:44:35 git-man set to automatically installed. 04:44:35 less set to automatically installed. 04:44:35 libcurl3-gnutls set to automatically installed. 04:44:35 liberror-perl set to automatically installed. 04:44:35 libgdbm-compat4 set to automatically installed. 04:44:35 libgdbm5 set to automatically installed. 04:44:35 libperl5.26 set to automatically installed. 04:44:35 make set to automatically installed. 04:44:35 netbase set to automatically installed. 04:44:35 patch set to automatically installed. 04:44:35 perl set to automatically installed. 04:44:35 perl-modules-5.26 set to automatically installed. 04:44:35 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 04:44:35 Please ensure the environment is properly setup before continuing. 04:44:35 Ignore this message if the appropriate measures have already been taken 04:44:36 Pulling go  04:44:40 'device-modbus' has dependencies that need to be staged: go 04:44:40 Skipping pull go (already ran) 04:44:40 Building go  04:44:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:44:40 Dload Upload Total Spent Left Speed 04:44:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 12 93.0M 12 11.6M 0 0 20.2M 0 0:00:04 --:--:-- 0:00:04 20.2M 45 93.0M 45 42.0M 0 0 26.9M 0 0:00:03 0:00:01 0:00:02 26.8M 75 93.0M 75 70.1M 0 0 27.3M 0 0:00:03 0:00:02 0:00:01 27.3M 100 93.0M 100 93.0M 0 0 28.6M 0 0:00:03 0:00:03 --:--:-- 28.6M 04:44:44 go1.13.5.linux-arm64.tar.gz: OK 04:45:02 Staging go  04:45:05 Pulling device-modbus  04:45:08 Skipping build go (already ran) 04:45:08 Building device-modbus  04:45:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 04:45:11 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 04:45:11 go: downloading github.com/goburrow/modbus v0.1.0 04:45:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:45:11 go: extracting github.com/goburrow/modbus v0.1.0 04:45:11 go: downloading github.com/goburrow/serial v0.1.0 04:45:11 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 04:45:11 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:45:11 go: extracting github.com/goburrow/serial v0.1.0 04:45:11 go: downloading github.com/gorilla/mux v1.7.1 04:45:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:45:11 go: downloading github.com/google/uuid v1.1.1 04:45:11 go: extracting github.com/gorilla/mux v1.7.1 04:45:11 go: extracting github.com/google/uuid v1.1.1 04:45:11 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:45:11 go: downloading gopkg.in/yaml.v2 v2.2.8 04:45:11 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 04:45:11 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 04:45:11 go: downloading github.com/go-kit/kit v0.8.0 04:45:11 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 04:45:11 go: downloading github.com/pkg/errors v0.8.1 04:45:11 go: downloading github.com/OneOfOne/xxhash v1.2.6 04:45:11 go: downloading github.com/pelletier/go-toml v1.2.0 04:45:11 go: extracting gopkg.in/yaml.v2 v2.2.8 04:45:11 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 04:45:11 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 04:45:11 go: downloading github.com/BurntSushi/toml v0.3.1 04:45:11 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 04:45:11 go: extracting github.com/OneOfOne/xxhash v1.2.6 04:45:11 go: extracting github.com/pkg/errors v0.8.1 04:45:11 go: downloading github.com/hashicorp/consul/api v1.1.0 04:45:11 go: extracting github.com/pelletier/go-toml v1.2.0 04:45:11 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 04:45:11 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 04:45:11 go: extracting github.com/BurntSushi/toml v0.3.1 04:45:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:45:11 go: downloading github.com/x448/float16 v0.8.4 04:45:11 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:45:11 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:45:11 go: extracting github.com/hashicorp/consul/api v1.1.0 04:45:11 go: downloading github.com/mitchellh/copystructure v1.0.0 04:45:11 go: downloading github.com/mitchellh/mapstructure v1.1.2 04:45:11 go: extracting github.com/go-kit/kit v0.8.0 04:45:11 go: extracting github.com/x448/float16 v0.8.4 04:45:11 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 04:45:11 go: extracting github.com/mitchellh/copystructure v1.0.0 04:45:11 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 04:45:11 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 04:45:11 go: downloading github.com/hashicorp/serf v0.8.2 04:45:11 go: extracting github.com/mitchellh/mapstructure v1.1.2 04:45:11 go: downloading github.com/mitchellh/reflectwalk v1.0.0 04:45:11 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 04:45:11 go: extracting github.com/mitchellh/reflectwalk v1.0.0 04:45:11 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 04:45:11 go: extracting github.com/hashicorp/serf v0.8.2 04:45:11 go: downloading github.com/go-logfmt/logfmt v0.4.0 04:45:11 go: extracting github.com/go-logfmt/logfmt v0.4.0 04:45:11 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:45:11 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:45:11 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 04:45:11 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 04:45:11 go: downloading github.com/hashicorp/golang-lru v0.5.1 04:45:11 go: extracting github.com/hashicorp/golang-lru v0.5.1 04:45:12 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:45:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:45:12 go: finding github.com/goburrow/modbus v0.1.0 04:45:12 go: finding github.com/gorilla/mux v1.7.1 04:45:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:45:12 go: finding github.com/go-kit/kit v0.8.0 04:45:12 go: finding github.com/goburrow/serial v0.1.0 04:45:12 go: finding github.com/OneOfOne/xxhash v1.2.6 04:45:12 go: finding github.com/google/uuid v1.1.1 04:45:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:45:12 go: finding github.com/x448/float16 v0.8.4 04:45:12 go: finding github.com/go-logfmt/logfmt v0.4.0 04:45:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:45:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:45:12 go: finding gopkg.in/yaml.v2 v2.2.8 04:45:12 go: finding github.com/BurntSushi/toml v0.3.1 04:45:12 go: finding github.com/pkg/errors v0.8.1 04:45:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:45:12 go: finding github.com/hashicorp/consul/api v1.1.0 04:45:12 go: finding github.com/pelletier/go-toml v1.2.0 04:45:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:45:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:45:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:45:12 go: finding github.com/hashicorp/serf v0.8.2 04:45:12 go: finding github.com/mitchellh/mapstructure v1.1.2 04:45:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:45:12 go: finding github.com/mitchellh/copystructure v1.0.0 04:45:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:45:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:45:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:45:12 go: finding github.com/hashicorp/golang-lru v0.5.1 04:45:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:45:52 Skipping stage go (already ran) 04:45:52 Staging device-modbus  04:45:53 Priming go  04:45:57 Priming device-modbus  04:46:00 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 04:46:00 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 04:46:00 Determining the version from the project repo (version-script). 04:46:00 The version has been set to '0.0.0-20200804+1739004' 04:46:03 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | 04:46:03 Snapped edgex-device-modbus_0.0.0-20200804+1739004_arm64.snap [Pipeline] } 04:46:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:46:07 provisioning config files... 04:46:07 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-160@tmp/config2560498079700563493tmp [Pipeline] { [Pipeline] sh 04:46:07 + curl -s https://codecov.io/bash 04:46:07 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-160@tmp/config2560498079700563493tmp [Pipeline] } 04:46:07 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 04:46:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:46:11 ---> package-listing.sh 04:46:11 ++ facter osfamily 04:46:11 ++ tr '[:upper:]' '[:lower:]' 04:46:11 + OS_FAMILY=redhat 04:46:11 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-160 04:46:11 + START_PACKAGES=/tmp/packages_start.txt 04:46:11 + END_PACKAGES=/tmp/packages_end.txt 04:46:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:46:11 + PACKAGES=/tmp/packages_start.txt 04:46:11 + '[' /w/workspace/xfoundry_device-modbus-go_PR-160 ']' 04:46:11 + PACKAGES=/tmp/packages_end.txt 04:46:11 + case "${OS_FAMILY}" in 04:46:11 + rpm -qa 04:46:11 + sort 04:46:15 + '[' -f /tmp/packages_start.txt ']' 04:46:15 + '[' -f /tmp/packages_end.txt ']' 04:46:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:46:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-160 ']' 04:46:15 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-160/archives/ 04:46:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-160/archives/ [Pipeline] isUnix [Pipeline] sh 04:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:16 04:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:16 alpine: Pulling from edgex-lftools-log-publisher 04:46:16 c9b1b535fdd9: Pulling fs layer 04:46:16 2cc5ad85d9ab: Pulling fs layer 04:46:16 756a868c4378: Pulling fs layer 04:46:16 444b2fc9a129: Pulling fs layer 04:46:16 ea15f1150254: Pulling fs layer 04:46:16 41b27a9f41bf: Pulling fs layer 04:46:16 28c525ee5125: Pulling fs layer 04:46:16 094b1ea09ed8: Pulling fs layer 04:46:16 138eaada9080: Pulling fs layer 04:46:16 0622d0fa9048: Pulling fs layer 04:46:16 ea15f1150254: Waiting 04:46:16 41b27a9f41bf: Waiting 04:46:16 28c525ee5125: Waiting 04:46:16 094b1ea09ed8: Waiting 04:46:16 138eaada9080: Waiting 04:46:16 0622d0fa9048: Waiting 04:46:16 444b2fc9a129: Waiting 04:46:16 2cc5ad85d9ab: Download complete 04:46:16 444b2fc9a129: Verifying Checksum 04:46:16 444b2fc9a129: Download complete 04:46:16 c9b1b535fdd9: Verifying Checksum 04:46:16 ea15f1150254: Verifying Checksum 04:46:16 ea15f1150254: Download complete 04:46:16 28c525ee5125: Verifying Checksum 04:46:16 28c525ee5125: Download complete 04:46:16 756a868c4378: Verifying Checksum 04:46:16 756a868c4378: Download complete 04:46:17 c9b1b535fdd9: Pull complete 04:46:17 138eaada9080: Verifying Checksum 04:46:17 138eaada9080: Download complete 04:46:17 0622d0fa9048: Verifying Checksum 04:46:17 0622d0fa9048: Download complete 04:46:17 094b1ea09ed8: Verifying Checksum 04:46:17 094b1ea09ed8: Download complete 04:46:17 2cc5ad85d9ab: Pull complete 04:46:17 41b27a9f41bf: Verifying Checksum 04:46:17 41b27a9f41bf: Download complete 04:46:18 756a868c4378: Pull complete 04:46:18 444b2fc9a129: Pull complete 04:46:18 ea15f1150254: Pull complete 04:46:23 41b27a9f41bf: Pull complete 04:46:23 28c525ee5125: Pull complete 04:46:26 094b1ea09ed8: Pull complete 04:46:26 138eaada9080: Pull complete 04:46:26 0622d0fa9048: Pull complete 04:46:26 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:46:26 prd-centos7-docker-4c-2g-2021 does not seem to be running inside a container 04:46:26 $ 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-160 -v /w/workspace/xfoundry_device-modbus-go_PR-160:/w/workspace/xfoundry_device-modbus-go_PR-160:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-160@tmp:/w/workspace/xfoundry_device-modbus-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:46:30 $ docker top bae0b4cd8f5e0c6e650285a484bef8bd7d0f1bbf9367c05d139febf058cf36fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:46:30 provisioning config files... 04:46:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-160@tmp/config8740504634537439742tmp [Pipeline] { [Pipeline] echo 04:46:30 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:46:31 ---> create-netrc.sh [Pipeline] echo 04:46:31 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:46:31 ---> logs-deploy.sh 04:46:31 + ARCHIVE_ARTIFACTS= 04:46:31 + LOGS_SERVER=https://logs.edgexfoundry.org 04:46:31 + '[' https://logs.edgexfoundry.org == None ']' 04:46:31 + NEXUS_URL=https://nexus.edgexfoundry.org 04:46:31 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-160/1 04:46:31 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-160/1/ 04:46:31 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-160/1 /w/workspace/xfoundry_device-modbus-go_PR-160 04:46:32 Archives upload complete. 04:46:32 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-160/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-160/1/ 04:46:33 ---> uname -a: 04:46:33 Linux bae0b4cd8f5e 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 04:46:33 04:46:33 04:46:33 ---> lscpu: 04:46:33 Architecture: x86_64 04:46:33 CPU op-mode(s): 32-bit, 64-bit 04:46:33 Byte Order: Little Endian 04:46:33 Address sizes: 40 bits physical, 48 bits virtual 04:46:33 CPU(s): 4 04:46:33 On-line CPU(s) list: 0-3 04:46:33 Thread(s) per core: 1 04:46:33 Core(s) per socket: 1 04:46:33 Socket(s): 4 04:46:33 NUMA node(s): 1 04:46:33 Vendor ID: GenuineIntel 04:46:33 CPU family: 6 04:46:33 Model: 44 04:46:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:46:33 Stepping: 1 04:46:33 CPU MHz: 2933.438 04:46:33 BogoMIPS: 5866.87 04:46:33 Virtualization: VT-x 04:46:33 Hypervisor vendor: KVM 04:46:33 Virtualization type: full 04:46:33 L1d cache: 128 KiB 04:46:33 L1i cache: 128 KiB 04:46:33 L2 cache: 16 MiB 04:46:33 L3 cache: 64 MiB 04:46:33 NUMA node0 CPU(s): 0-3 04:46:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:46:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:46:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:46:33 Vulnerability Meltdown: Mitigation; PTI 04:46:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:46:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:46:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:46:33 Vulnerability Tsx async abort: Not affected 04:46:33 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 04:46:33 04:46:33 04:46:33 ---> nproc: 04:46:33 4 04:46:33 04:46:33 04:46:33 ---> df -h: 04:46:33 Filesystem Size Used Available Use% Mounted on 04:46:33 overlay 50.0G 7.2G 42.8G 14% / 04:46:33 tmpfs 64.0M 0 64.0M 0% /dev 04:46:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:46:33 shm 64.0M 0 64.0M 0% /dev/shm 04:46:33 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 04:46:33 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 04:46:33 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 04:46:33 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-160@tmp 04:46:33 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 04:46:33 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-160 04:46:33 04:46:33 04:46:33 ---> free -m: 04:46:33 total used free shared buff/cache available 04:46:33 Mem: 1837 642 117 0 1077 1089 04:46:33 Swap: 1023 1 1022 04:46:33 04:46:33 04:46:33 ---> ip addr: 04:46:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:46:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:46:33 inet 127.0.0.1/8 scope host lo 04:46:33 valid_lft forever preferred_lft forever 04:46:33 6: eth0@if7: mtu 1458 qdisc noqueue state UP 04:46:33 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 04:46:33 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 04:46:33 valid_lft forever preferred_lft forever 04:46:33 04:46:33 04:46:33 ---> sar -b -r -n DEV: 04:46:33 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 08/04/20 _x86_64_ (4 CPU) 04:46:33 04:46:33 04:33:44 LINUX RESTART 04:46:33 04:46:33 04:34:01 tps rtps wtps bread/s bwrtn/s 04:46:33 04:35:01 186.80 100.12 86.68 11733.54 40196.55 04:46:33 04:36:01 2.36 0.00 2.36 0.00 49.39 04:46:33 04:37:01 0.15 0.00 0.15 0.00 1.90 04:46:33 04:38:01 0.35 0.00 0.35 0.00 3.43 04:46:33 04:39:01 0.20 0.00 0.20 0.00 2.56 04:46:33 04:40:01 0.33 0.00 0.33 0.00 5.33 04:46:33 04:41:01 0.30 0.02 0.28 0.13 3.03 04:46:33 04:42:01 0.70 0.00 0.70 0.00 7.26 04:46:33 04:43:02 0.70 0.00 0.70 0.00 8.49 04:46:33 04:44:01 0.41 0.00 0.41 0.00 5.42 04:46:33 04:45:01 0.28 0.00 0.28 0.00 3.10 04:46:33 04:46:01 0.20 0.00 0.20 0.00 2.56 04:46:33 Average: 16.09 8.36 7.73 979.60 3363.57 04:46:33 04:46:33 04:34:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:46:33 04:35:01 181828 1699728 90.34 2620 1140912 1125272 38.40 416852 1122808 116 04:46:33 04:36:01 189204 1692352 89.94 2620 1141008 1068364 36.46 414380 1119096 20 04:46:33 04:37:01 189272 1692284 89.94 2620 1141016 1068364 36.46 415960 1117560 8 04:46:33 04:38:01 188280 1693276 89.99 2620 1141016 1068568 36.47 417296 1117560 16 04:46:33 04:39:01 187608 1693948 90.03 2620 1141020 1068432 36.46 427248 1108364 16 04:46:33 04:40:01 186224 1695332 90.10 2620 1141028 1068612 36.47 428524 1108356 8 04:46:33 04:41:01 187064 1694492 90.06 2620 1141036 1068432 36.46 438468 1097428 8 04:46:33 04:42:01 187492 1694064 90.04 2620 1141044 1068432 36.46 433628 1102400 8 04:46:33 04:43:02 187128 1694428 90.05 2620 1141048 1068432 36.46 433636 1102400 8 04:46:33 04:44:01 187136 1694420 90.05 2620 1141056 1068432 36.46 431468 1104452 8 04:46:33 04:45:01 186744 1694812 90.08 2620 1141056 1068504 36.47 427244 1109192 16 04:46:33 04:46:01 187344 1694212 90.04 2620 1141060 1068432 36.46 426740 1109192 16 04:46:33 Average: 187110 1694446 90.06 2620 1141025 1073190 36.63 425954 1109901 21 04:46:33 04:46:33 04:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 04:46:33 04:35:01 eth0 410.47 246.73 1045.59 88.06 0.00 0.00 0.00 04:46:33 04:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:35:01 docker0 1.50 1.30 0.29 3.30 0.00 0.00 0.00 04:46:33 04:36:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 04:46:33 04:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:37:01 eth0 0.15 0.08 0.02 0.01 0.00 0.00 0.00 04:46:33 04:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:38:01 eth0 0.92 0.52 0.34 0.18 0.00 0.00 0.00 04:46:33 04:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:39:01 eth0 0.78 0.10 0.07 0.04 0.00 0.00 0.00 04:46:33 04:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:40:01 eth0 0.73 0.58 0.42 0.28 0.00 0.00 0.00 04:46:33 04:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:41:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 04:46:33 04:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:42:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 04:46:33 04:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:43:02 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 04:46:33 04:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:43:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:44:01 eth0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 04:46:33 04:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:45:01 eth0 0.77 0.28 0.19 0.08 0.00 0.00 0.00 04:46:33 04:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:46:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 04:46:33 04:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 04:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 Average: eth0 34.60 20.77 87.38 7.41 0.00 0.00 0.00 04:46:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:33 Average: docker0 0.13 0.11 0.02 0.28 0.00 0.00 0.00 04:46:33 04:46:33 04:46:33 ---> sar -P ALL: 04:46:33 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 08/04/20 _x86_64_ (4 CPU) 04:46:33 04:46:33 04:33:44 LINUX RESTART 04:46:33 04:46:33 04:34:01 CPU %user %nice %system %iowait %steal %idle 04:46:33 04:35:01 all 16.81 0.00 7.70 8.03 0.16 67.31 04:46:33 04:35:01 0 19.26 0.00 7.70 7.80 0.15 65.09 04:46:33 04:35:01 1 18.21 0.00 7.29 7.36 0.13 67.00 04:46:33 04:35:01 2 14.57 0.00 7.61 6.73 0.19 70.90 04:46:33 04:35:01 3 15.17 0.00 8.19 10.21 0.19 66.24 04:46:33 04:36:01 all 0.17 0.00 0.05 0.00 0.00 99.78 04:46:33 04:36:01 0 0.53 0.00 0.03 0.00 0.00 99.43 04:46:33 04:36:01 1 0.05 0.00 0.03 0.00 0.02 99.90 04:46:33 04:36:01 2 0.08 0.00 0.07 0.00 0.00 99.85 04:46:33 04:36:01 3 0.03 0.00 0.05 0.00 0.00 99.92 04:46:33 04:37:01 all 0.13 0.00 0.03 0.00 0.00 99.84 04:46:33 04:37:01 0 0.38 0.00 0.02 0.00 0.00 99.60 04:46:33 04:37:01 1 0.05 0.00 0.05 0.00 0.00 99.90 04:46:33 04:37:01 2 0.05 0.00 0.03 0.00 0.00 99.92 04:46:33 04:37:01 3 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:38:01 all 0.16 0.00 0.02 0.00 0.00 99.81 04:46:33 04:38:01 0 0.50 0.00 0.02 0.00 0.02 99.47 04:46:33 04:38:01 1 0.05 0.00 0.03 0.00 0.00 99.92 04:46:33 04:38:01 2 0.03 0.00 0.05 0.00 0.00 99.92 04:46:33 04:38:01 3 0.05 0.00 0.02 0.00 0.02 99.92 04:46:33 04:39:01 all 0.05 0.00 0.04 0.00 0.00 99.91 04:46:33 04:39:01 0 0.07 0.00 0.07 0.00 0.00 99.87 04:46:33 04:39:01 1 0.02 0.00 0.05 0.00 0.00 99.93 04:46:33 04:39:01 2 0.07 0.00 0.03 0.00 0.02 99.88 04:46:33 04:39:01 3 0.05 0.00 0.02 0.00 0.00 99.93 04:46:33 04:40:01 all 0.06 0.00 0.04 0.00 0.00 99.90 04:46:33 04:40:01 0 0.10 0.00 0.03 0.00 0.00 99.87 04:46:33 04:40:01 1 0.03 0.00 0.07 0.00 0.00 99.90 04:46:33 04:40:01 2 0.03 0.00 0.03 0.00 0.00 99.93 04:46:33 04:40:01 3 0.08 0.00 0.02 0.00 0.00 99.90 04:46:33 04:41:01 all 0.13 0.00 0.04 0.00 0.00 99.83 04:46:33 04:41:01 0 0.45 0.00 0.05 0.00 0.00 99.50 04:46:33 04:41:01 1 0.02 0.00 0.07 0.00 0.00 99.92 04:46:33 04:41:01 2 0.03 0.00 0.03 0.00 0.00 99.93 04:46:33 04:41:01 3 0.02 0.00 0.00 0.00 0.00 99.98 04:46:33 04:42:01 all 0.15 0.00 0.02 0.00 0.00 99.83 04:46:33 04:42:01 0 0.53 0.00 0.03 0.00 0.00 99.43 04:46:33 04:42:01 1 0.05 0.00 0.03 0.00 0.00 99.92 04:46:33 04:42:01 2 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:42:01 3 0.00 0.00 0.02 0.00 0.00 99.98 04:46:33 04:43:02 all 0.15 0.00 0.02 0.00 0.00 99.83 04:46:33 04:43:02 0 0.52 0.00 0.02 0.00 0.00 99.47 04:46:33 04:43:02 1 0.02 0.00 0.03 0.00 0.00 99.95 04:46:33 04:43:02 2 0.03 0.00 0.02 0.00 0.00 99.95 04:46:33 04:43:02 3 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:44:01 all 0.15 0.00 0.02 0.00 0.00 99.83 04:46:33 04:44:01 0 0.51 0.00 0.00 0.00 0.00 99.49 04:46:33 04:44:01 1 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:44:01 2 0.07 0.00 0.05 0.00 0.00 99.88 04:46:33 04:44:01 3 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:45:01 all 0.15 0.00 0.02 0.00 0.00 99.82 04:46:33 04:45:01 0 0.53 0.00 0.05 0.00 0.00 99.42 04:46:33 04:45:01 1 0.03 0.00 0.03 0.00 0.00 99.93 04:46:33 04:45:01 2 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:45:01 3 0.02 0.00 0.00 0.00 0.00 99.98 04:46:33 04:46:01 all 0.15 0.00 0.02 0.00 0.00 99.83 04:46:33 04:46:01 0 0.52 0.00 0.02 0.00 0.02 99.45 04:46:33 04:46:01 1 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 04:46:01 2 0.05 0.00 0.03 0.00 0.00 99.92 04:46:33 04:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 04:46:33 Average: all 1.51 0.00 0.66 0.66 0.01 97.15 04:46:33 Average: 0 1.97 0.00 0.66 0.64 0.02 96.71 04:46:33 Average: 1 1.53 0.00 0.64 0.61 0.01 97.21 04:46:33 Average: 2 1.24 0.00 0.66 0.56 0.02 97.52 04:46:33 Average: 3 1.27 0.00 0.69 0.84 0.02 97.18 04:46:33 04:46:33 04:46:33