Pull request #144 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 001f4726e63f8a98109bde2752933b06903fc96d+19fa6973f701ad94a11b5f6c391ca92bd197d7ff (a59056667aa82bccd4f963b17164eccd9120de89) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-144/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13] ========================================================= [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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5146 in /w/workspace/xfoundry_device-modbus-go_PR-144 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-144 # 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/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 19fa6973f701ad94a11b5f6c391ca92bd197d7ff into PR head commit 001f4726e63f8a98109bde2752933b06903fc96d Merge succeeded, producing 001f4726e63f8a98109bde2752933b06903fc96d Checking out Revision 001f4726e63f8a98109bde2752933b06903fc96d (PR-144) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/144/head:refs/remotes/origin/PR-144 # 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/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # 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 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 Commit message: "Update SDK version and Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:40:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:40:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:40:28 ========================================================= 05:40:28 EdgeX Global Pipelines Version Info 05:40:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:40:30 ------------------- 05:40:30 stable info: 05:40:30 ------------------- 05:40:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:40:30 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 05:40:30 Message: update stable to v1.0.73 05:40:30 ------------------- 05:40:30 experimental info: 05:40:30 ------------------- 05:40:30 Commited By: **** collab-it+edgex@linuxfoundation.org 05:40:30 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 05:40:30 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:32 05:40:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:40:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:33 latest: Pulling from edgex-devops/git-semver 05:40:33 9123ac7c32f7: Pulling fs layer 05:40:33 b8cc5d1170e3: Pulling fs layer 05:40:33 2924cbbf6a41: Pulling fs layer 05:40:33 93b08a4f1073: Pulling fs layer 05:40:33 b8cc5d1170e3: Verifying Checksum 05:40:33 b8cc5d1170e3: Download complete 05:40:33 9123ac7c32f7: Verifying Checksum 05:40:33 9123ac7c32f7: Download complete 05:40:33 93b08a4f1073: Verifying Checksum 05:40:33 93b08a4f1073: Download complete 05:40:33 2924cbbf6a41: Verifying Checksum 05:40:33 2924cbbf6a41: Download complete 05:40:33 9123ac7c32f7: Pull complete 05:40:33 b8cc5d1170e3: Pull complete 05:40:34 2924cbbf6a41: Pull complete 05:40:34 93b08a4f1073: Pull complete 05:40:34 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:40:34 prd-centos7-docker-4c-2g-5146 does not seem to be running inside a container 05:40:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-144 -v /w/workspace/xfoundry_device-modbus-go_PR-144:/w/workspace/xfoundry_device-modbus-go_PR-144:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-144@tmp:/w/workspace/xfoundry_device-modbus-go_PR-144@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:40:35 $ docker top 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:35 [ssh-agent] Looking for ssh-agent implementation... 05:40:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:36 $ docker exec 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent 05:40:36 SSH_AUTH_SOCK=/tmp/ssh-sp5XRufhSI21/agent.15 05:40:36 SSH_AGENT_PID=22 05:40:36 Running ssh-add (command line suppressed) 05:40:36 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5002812014804111329.key (/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5002812014804111329.key) 05:40:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:36 + git describe --exact-match --tags HEAD 05:40:36 fatal: No names found, cannot describe anything. [Pipeline] } 05:40:36 $ docker exec --env ******** --env ******** 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent -k 05:40:37 unset SSH_AUTH_SOCK; 05:40:37 unset SSH_AGENT_PID; 05:40:37 echo Agent pid 22 killed; 05:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:40:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:40:37 This usually means this commit has not been tagged. [Pipeline] sshagent 05:40:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:37 [ssh-agent] Looking for ssh-agent implementation... 05:40:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:37 $ docker exec 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent 05:40:37 SSH_AUTH_SOCK=/tmp/ssh-9tKES65gryNH/agent.58 05:40:37 SSH_AGENT_PID=65 05:40:37 Running ssh-add (command line suppressed) 05:40:37 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5847965089855079627.key (/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5847965089855079627.key) 05:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:38 + git semver init 05:40:38 # -> Open(): unable to determine branch for HEAD 05:40:38 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-144/.git 05:40:38 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-144 05:40:38 # $SEMVER_REMOTE_NAME = origin 05:40:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:40:38 # $SEMVER_USER_NAME = edgex-jenkins 05:40:38 # $SEMVER_BRANCH = PR-144 05:40:38 # $SEMVER_TEMP = /tmp/semver-219249290 05:40:38 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:40:38 # '/tmp/semver-219249290' -> '/w/workspace/xfoundry_device-modbus-go_PR-144/.semver' 05:40:38 # -> Force: false 05:40:38 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-144/.semver [Pipeline] } 05:40:38 $ docker exec --env ******** --env ******** 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent -k 05:40:38 unset SSH_AUTH_SOCK; 05:40:38 unset SSH_AGENT_PID; 05:40:38 echo Agent pid 65 killed; 05:40:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:39 + git semver [Pipeline] } 05:40:39 $ docker stop --time=1 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb 05:40:40 $ docker rm -f 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:40:41 Stashed 23 file(s) [Pipeline] echo 05:40:41 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:40:56 Still waiting to schedule task 05:40:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:40:56 Still waiting to schedule task 05:40:56 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:43:48 Running on prd-centos7-docker-4c-2g-5147 in /w/workspace/xfoundry_device-modbus-go_PR-144 [Pipeline] { [Pipeline] ws 05:43:48 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:43:55 using credential edgex-jenkins-ssh 05:43:55 Cloning the remote Git repository 05:43:55 Cloning with configured refspecs honoured and without tags 05:43:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:43:55 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:43:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:43:55 > git --version # timeout=10 05:43:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:56 Fetching without tags 05:43:57 Merging remotes/origin/master commit 19fa6973f701ad94a11b5f6c391ca92bd197d7ff into PR head commit 001f4726e63f8a98109bde2752933b06903fc96d 05:43:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:43:56 > git config --add remote.origin.fetch +refs/pull/144/head:refs/remotes/origin/PR-144 # timeout=10 05:43:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:43:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:43:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:57 > git config core.sparsecheckout # timeout=10 05:43:57 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 05:43:57 Merge succeeded, producing 001f4726e63f8a98109bde2752933b06903fc96d 05:43:57 Checking out Revision 001f4726e63f8a98109bde2752933b06903fc96d (PR-144) 05:43:57 > git remote # timeout=10 05:43:57 > git config --get remote.origin.url # timeout=10 05:43:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:57 > git merge 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 05:43:57 > git rev-parse HEAD^{commit} # timeout=10 05:43:57 > git config core.sparsecheckout # timeout=10 05:43:57 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 05:44:01 Commit message: "Update SDK version and Dockerfile" 05:44:01 > git --version # timeout=10 05:44:01 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:44:02 ========================================================= 05:44:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:44:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:44:03 + 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 . 05:44:04 Sending build context to Docker daemon 568.8kB 05:44:04 Step 1/8 : ARG BASE=golang:1.13-alpine 05:44:04 Step 2/8 : FROM ${BASE} 05:44:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:44:04 e6b0cf9c0882: Pulling fs layer 05:44:04 2848faf0eed1: Pulling fs layer 05:44:04 0f37312ad70f: Pulling fs layer 05:44:04 5788d62ee057: Pulling fs layer 05:44:04 0e6b1d234666: Pulling fs layer 05:44:04 bf5d7aec512f: Pulling fs layer 05:44:04 34c802a77dc8: Pulling fs layer 05:44:04 9eb99e56ec68: Pulling fs layer 05:44:04 27c7a5d97fbd: Pulling fs layer 05:44:04 5c102a31e300: Pulling fs layer 05:44:04 dcfb455df0a1: Pulling fs layer 05:44:04 5788d62ee057: Waiting 05:44:04 0e6b1d234666: Waiting 05:44:04 bf5d7aec512f: Waiting 05:44:04 34c802a77dc8: Waiting 05:44:04 9eb99e56ec68: Waiting 05:44:04 27c7a5d97fbd: Waiting 05:44:04 5c102a31e300: Waiting 05:44:04 dcfb455df0a1: Waiting 05:44:04 0f37312ad70f: Download complete 05:44:04 2848faf0eed1: Verifying Checksum 05:44:04 2848faf0eed1: Download complete 05:44:04 0e6b1d234666: Verifying Checksum 05:44:04 0e6b1d234666: Download complete 05:44:04 bf5d7aec512f: Verifying Checksum 05:44:04 bf5d7aec512f: Download complete 05:44:04 e6b0cf9c0882: Verifying Checksum 05:44:04 e6b0cf9c0882: Download complete 05:44:05 e6b0cf9c0882: Pull complete 05:44:05 2848faf0eed1: Pull complete 05:44:06 34c802a77dc8: Verifying Checksum 05:44:06 34c802a77dc8: Download complete 05:44:06 0f37312ad70f: Pull complete 05:44:07 27c7a5d97fbd: Verifying Checksum 05:44:07 27c7a5d97fbd: Download complete 05:44:07 5788d62ee057: Verifying Checksum 05:44:07 5788d62ee057: Download complete 05:44:08 dcfb455df0a1: Verifying Checksum 05:44:08 dcfb455df0a1: Download complete 05:44:08 9eb99e56ec68: Verifying Checksum 05:44:08 9eb99e56ec68: Download complete 05:44:08 5c102a31e300: Verifying Checksum 05:44:08 5c102a31e300: Download complete 05:44:17 5788d62ee057: Pull complete 05:44:17 0e6b1d234666: Pull complete 05:44:17 bf5d7aec512f: Pull complete 05:44:21 34c802a77dc8: Pull complete 05:44:27 9eb99e56ec68: Pull complete 05:44:27 27c7a5d97fbd: Pull complete 05:44:27 5c102a31e300: Pull complete 05:44:28 dcfb455df0a1: Pull complete 05:44:28 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:44:28 ---> 7c70fe431013 05:44:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:44:28 ---> Running in f45cad9b5bfe 05:44:28 Removing intermediate container f45cad9b5bfe 05:44:28 ---> dafb208b6d80 05:44:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:28 ---> Running in c2d5eadb189c 05:44:30 Removing intermediate container c2d5eadb189c 05:44:30 ---> 7600aaaf5cd5 05:44:30 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:44:30 ---> Running in 802afecb7aaa 05:44:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:44:32 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:44:32 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:44:32 (2/17) Installing libmagic (5.37-r1) 05:44:32 (3/17) Installing file (5.37-r1) 05:44:32 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:44:33 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:44:33 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:44:41 (7/17) Installing libc-dev (0.7.2-r0) 05:44:41 (8/17) Installing g++ (9.2.0-r4) 05:44:47 (9/17) Installing fortify-headers (1.1-r0) 05:44:47 (10/17) Installing build-base (0.5-r1) 05:44:47 (11/17) Installing openssh-keygen (8.1_p1-r0) 05:44:47 (12/17) Installing libedit (20191211.3.1-r0) 05:44:47 (13/17) Installing openssh-client (8.1_p1-r0) 05:44:47 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 05:44:47 (15/17) Installing openssh-server-common (8.1_p1-r0) 05:44:47 (16/17) Installing openssh-server (8.1_p1-r0) 05:44:47 (17/17) Installing openssh (8.1_p1-r0) 05:44:47 Executing busybox-1.31.1-r8.trigger 05:44:47 OK: 214 MiB in 52 packages 05:44:52 Removing intermediate container 802afecb7aaa 05:44:52 ---> ddda9b4a27bf 05:44:52 Step 6/8 : WORKDIR /device-modbus-go 05:44:52 ---> Running in 3b802c8ce9bc 05:44:52 Removing intermediate container 3b802c8ce9bc 05:44:52 ---> 4643a12a06a4 05:44:52 Step 7/8 : COPY . . 05:44:52 ---> b68afc5ba10d 05:44:52 Step 8/8 : RUN go mod download 05:44:52 ---> Running in ded609b31751 05:44:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5148 in /w/workspace/xfoundry_device-modbus-go_PR-144 [Pipeline] { [Pipeline] ws 05:44:53 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:44:56 go: finding github.com/BurntSushi/toml v0.3.1 05:44:56 go: finding github.com/OneOfOne/xxhash v1.2.6 05:44:56 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:44:56 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:44:56 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:44:56 go: finding github.com/bgentry/speakeasy v0.1.0 05:44:56 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:44:56 go: finding github.com/davecgh/go-spew v1.1.1 05:44:56 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 05:44:56 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 05:44:56 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:44:56 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:44:56 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:44:56 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:44:56 go: finding github.com/fatih/color v1.7.0 05:44:56 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:44:56 go: finding github.com/go-kit/kit v0.8.0 05:44:56 go: finding github.com/go-logfmt/logfmt v0.4.0 05:44:56 go: finding github.com/go-stack/stack v1.8.0 05:44:56 go: finding github.com/goburrow/modbus v0.1.0 05:44:56 go: finding github.com/goburrow/serial v0.1.0 05:44:56 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:44:56 go: finding github.com/google/uuid v1.1.1 05:44:56 go: finding github.com/gorilla/mux v1.7.1 05:44:56 go: finding github.com/hashicorp/consul/api v1.1.0 05:44:56 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:44:56 go: finding github.com/hashicorp/errwrap v1.0.0 05:44:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:44:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:44:56 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:44:56 go: finding github.com/hashicorp/go-multierror v1.0.0 05:44:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:44:56 go: finding github.com/hashicorp/go-sockaddr v1.0.1 05:44:56 go: finding github.com/hashicorp/go-syslog v1.0.0 05:44:56 go: finding github.com/hashicorp/go-uuid v1.0.1 05:44:57 go: finding github.com/hashicorp/go.net v0.0.1 05:44:57 go: finding github.com/hashicorp/golang-lru v0.5.1 05:44:57 go: finding github.com/hashicorp/logutils v1.0.0 05:44:57 go: finding github.com/hashicorp/mdns v1.0.0 05:44:57 go: finding github.com/hashicorp/memberlist v0.1.3 05:44:57 go: finding github.com/hashicorp/serf v0.8.2 05:44:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:44:57 go: finding github.com/mattn/go-colorable v0.0.9 05:44:57 go: finding github.com/mattn/go-isatty v0.0.3 05:44:57 go: finding github.com/miekg/dns v1.1.4 05:44:57 go: finding github.com/mitchellh/cli v1.0.0 05:44:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:44:57 go: finding github.com/mitchellh/copystructure v1.0.0 05:44:57 go: finding github.com/mitchellh/go-homedir v1.1.0 05:44:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:44:57 go: finding github.com/mitchellh/go-wordwrap v1.0.0 05:44:57 go: finding github.com/mitchellh/gox v0.4.0 05:44:57 go: finding github.com/mitchellh/iochan v1.0.0 05:44:57 go: finding github.com/mitchellh/mapstructure v1.1.2 05:44:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:44:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:44:58 go: finding github.com/pelletier/go-toml v1.2.0 05:44:58 go: finding github.com/pkg/errors v0.8.1 05:44:58 go: finding github.com/pmezard/go-difflib v1.0.0 05:44:58 go: finding github.com/posener/complete v1.1.1 05:44:58 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 05:44:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:44:58 go: finding github.com/stretchr/objx v0.1.0 05:44:58 go: finding github.com/stretchr/testify v1.5.1 05:44:58 go: finding github.com/ugorji/go v1.1.4 05:44:58 go: finding github.com/x448/float16 v0.8.4 05:44:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:44:58 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 05:44:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:44:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:44:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:44:58 go: finding gopkg.in/yaml.v2 v2.2.8 05:44:59 using credential edgex-jenkins-ssh 05:44:59 Cloning the remote Git repository 05:44:59 Cloning with configured refspecs honoured and without tags 05:44:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:44:59 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:44:59 > git --version # timeout=10 05:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:44:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:45:00 Fetching without tags 05:45:01 Merging remotes/origin/master commit 19fa6973f701ad94a11b5f6c391ca92bd197d7ff into PR head commit 001f4726e63f8a98109bde2752933b06903fc96d 05:45:01 Merge succeeded, producing 001f4726e63f8a98109bde2752933b06903fc96d 05:45:01 Checking out Revision 001f4726e63f8a98109bde2752933b06903fc96d (PR-144) 05:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:45:00 > git config --add remote.origin.fetch +refs/pull/144/head:refs/remotes/origin/PR-144 # timeout=10 05:45:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:45:01 > git config core.sparsecheckout # timeout=10 05:45:01 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 05:45:01 > git remote # timeout=10 05:45:01 > git config --get remote.origin.url # timeout=10 05:45:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:01 > git merge 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 05:45:01 > git rev-parse HEAD^{commit} # timeout=10 05:45:01 > git config core.sparsecheckout # timeout=10 05:45:01 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 05:45:05 Removing intermediate container ded609b31751 05:45:05 ---> 4382a9e46183 05:45:05 Successfully built 4382a9e46183 05:45:05 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 05:45:06 + docker inspect -f . ci-base-image-x86_64 05:45:06 Commit message: "Update SDK version and Dockerfile" 05:45:06 > git --version # timeout=10 05:45:06 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 05:45:06 . [Pipeline] withDockerContainer 05:45:07 prd-centos7-docker-4c-2g-5147 does not seem to be running inside a container 05:45:07 $ 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 ******** ci-base-image-x86_64 cat 05:45:09 $ docker top 1abbaaf0c24bac2b6b332517ea3b98248c100a0fc9942f3cee3dc93be64fa322 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:45:10 + go version 05:45:10 go version go1.13.5 linux/amd64 [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] echo 05:45:11 ========================================================= 05:45:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:45:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:45:11 + make test 05:45:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:45:12 + 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 . 05:45:13 Sending build context to Docker daemon 568.8kB 05:45:13 Step 1/8 : ARG BASE=golang:1.13-alpine 05:45:13 Step 2/8 : FROM ${BASE} 05:45:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:45:13 cde5963f3b93: Pulling fs layer 05:45:13 2a23fa8c16f7: Pulling fs layer 05:45:13 777b28850792: Pulling fs layer 05:45:13 8a11ddd9e578: Pulling fs layer 05:45:13 4cf88f913ddb: Pulling fs layer 05:45:13 1df406cf5192: Pulling fs layer 05:45:13 cd6300453558: Pulling fs layer 05:45:13 b9c365052c96: Pulling fs layer 05:45:13 a2d8cc88f415: Pulling fs layer 05:45:13 ea1d1ca13537: Pulling fs layer 05:45:13 3750a50a1c5e: Pulling fs layer 05:45:13 8a11ddd9e578: Waiting 05:45:13 4cf88f913ddb: Waiting 05:45:13 1df406cf5192: Waiting 05:45:13 cd6300453558: Waiting 05:45:13 b9c365052c96: Waiting 05:45:13 ea1d1ca13537: Waiting 05:45:13 a2d8cc88f415: Waiting 05:45:13 3750a50a1c5e: Waiting 05:45:13 777b28850792: Verifying Checksum 05:45:13 777b28850792: Download complete 05:45:13 2a23fa8c16f7: Verifying Checksum 05:45:13 2a23fa8c16f7: Download complete 05:45:13 4cf88f913ddb: Verifying Checksum 05:45:13 4cf88f913ddb: Download complete 05:45:13 1df406cf5192: Download complete 05:45:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:45:13 cde5963f3b93: Download complete 05:45:14 cde5963f3b93: Pull complete 05:45:15 2a23fa8c16f7: Pull complete 05:45:15 777b28850792: Pull complete 05:45:17 cd6300453558: Verifying Checksum 05:45:17 cd6300453558: Download complete 05:45:17 a2d8cc88f415: Download complete 05:45:20 ea1d1ca13537: Verifying Checksum 05:45:20 ea1d1ca13537: Download complete 05:45:20 3750a50a1c5e: Verifying Checksum 05:45:20 3750a50a1c5e: Download complete 05:45:23 b9c365052c96: Verifying Checksum 05:45:23 b9c365052c96: Download complete 05:45:24 8a11ddd9e578: Verifying Checksum 05:45:24 8a11ddd9e578: Download complete 05:45:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:45:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.373s coverage: 50.3% of statements 05:45:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:45:36 8a11ddd9e578: Pull complete 05:45:36 4cf88f913ddb: Pull complete 05:45:36 1df406cf5192: Pull complete 05:45:39 gofmt -l . 05:45:39 [ "`gofmt -l .`" = "" ] 05:45:39 ./bin/test-attribution-txt.sh 05:45:40 cd6300453558: Pull complete 05:45:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:45:43 Stashed 1 file(s) [Pipeline] } 05:45:43 $ docker stop --time=1 1abbaaf0c24bac2b6b332517ea3b98248c100a0fc9942f3cee3dc93be64fa322 05:45:45 $ docker rm -f 1abbaaf0c24bac2b6b332517ea3b98248c100a0fc9942f3cee3dc93be64fa322 05:45:45 b9c365052c96: Pull complete 05:45:45 a2d8cc88f415: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:47 + ls -al . 05:45:47 total 104 05:45:47 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 05:45 . 05:45:47 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 05:43 .. 05:45:47 -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 05:43 Attribution.txt 05:45:47 drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 05:43 bin 05:45:47 drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 05:43 cmd 05:45:47 -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 05:45 coverage.out 05:45:47 -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 05:43 Dockerfile 05:45:47 -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 05:43 Dockerfile.build 05:45:47 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 05:43 .dockerignore 05:45:47 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 05:44 .git 05:45:47 -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 05:43 .gitignore 05:45:47 -rw-r--r--. 1 jenkins jenkins 566 Apr 21 05:45 go.mod 05:45:47 -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 05:45 go.sum 05:45:47 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 05:43 internal 05:45:47 -rw-rw-r--. 1 jenkins jenkins 681 Apr 21 05:43 Jenkinsfile 05:45:47 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 05:43 LICENSE 05:45:47 -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 05:43 Makefile 05:45:47 -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 05:43 README.md 05:45:47 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 05:44 .semver 05:45:47 drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 05:43 simulator 05:45:47 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 05:43 snap 05:45:47 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 05:40 VERSION 05:45:47 -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 05:43 version.go [Pipeline] isUnix [Pipeline] sh 05:45:47 ea1d1ca13537: Pull complete 05:45:47 + 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=001f4726e63f8a98109bde2752933b06903fc96d --label arch=amd64 --label version=0.0.0 . 05:45:47 3750a50a1c5e: Pull complete 05:45:47 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:45:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:45:47 ---> 78745c68409d 05:45:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:45:47 Sending build context to Docker daemon 597.5kB 05:45:47 Step 1/19 : ARG BASE=golang:1.13-alpine 05:45:47 Step 2/19 : FROM ${BASE} AS builder 05:45:47 ---> 4382a9e46183 05:45:47 Step 3/19 : ARG MAKE='make build' 05:45:47 ---> Running in e535dd49b14f 05:45:48 Removing intermediate container e535dd49b14f 05:45:48 ---> 577798874b33 05:45:48 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:48 ---> Running in 405d686eb152 05:45:49 Removing intermediate container 405d686eb152 05:45:49 ---> 6d89477ef561 05:45:49 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 05:45:49 ---> Running in 4e0534fedb48 05:45:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:45:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:45:50 OK: 214 MiB in 52 packages 05:45:51 Removing intermediate container 4e0534fedb48 05:45:51 ---> 736d0cc6d54f 05:45:51 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 05:45:51 ---> Running in 3c3c20433227 05:45:51 Removing intermediate container 3c3c20433227 05:45:51 ---> 61de1e1ff5b5 05:45:51 Step 7/19 : COPY . . 05:45:51 ---> b588359061dd 05:45:51 Step 8/19 : RUN ${MAKE} 05:45:51 ---> Running in bbe56b5b038f 05:45:52 ---> Running in 924f2f3d4aae 05:45:52 Removing intermediate container 924f2f3d4aae 05:45:52 ---> 913b4928ea9d 05:45:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 05:45:52 ---> Running in e39e317f732a 05:45:54 Removing intermediate container e39e317f732a 05:45:54 ---> 3695c5e878e8 05:45:54 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:45:54 ---> Running in bcab11253fb1 05:45:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:45:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:45:57 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 05:45:57 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:45:57 (3/18) Installing libmagic (5.37-r1) 05:45:57 (4/18) Installing file (5.37-r1) 05:45:57 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:45:57 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:45:58 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:46:08 (8/18) Installing libc-dev (0.7.2-r0) 05:46:08 (9/18) Installing g++ (9.2.0-r4) 05:46:20 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:46:22 Removing intermediate container bbe56b5b038f 05:46:22 ---> b06061be0c34 05:46:22 Step 9/19 : FROM scratch 05:46:22 ---> 05:46:22 Step 10/19 : ENV APP_PORT=49991 05:46:22 ---> Running in 527e22c14225 05:46:22 Removing intermediate container 527e22c14225 05:46:22 ---> 6f3bfad45bc8 05:46:22 Step 11/19 : EXPOSE $APP_PORT 05:46:22 ---> Running in c99ed5d8d371 05:46:22 Removing intermediate container c99ed5d8d371 05:46:22 ---> 9882a17cca6c 05:46:22 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 05:46:23 ---> 4b93830048d2 05:46:23 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 05:46:24 ---> 7f54d348fe67 05:46:24 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 05:46:24 ---> f46bc4daead1 05:46:24 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 05:46:24 ---> Running in 8bdd4b0cdba6 05:46:24 Removing intermediate container 8bdd4b0cdba6 05:46:24 ---> 683f667f3b3e 05:46:24 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 05:46:24 ---> Running in 3606fe15b2d1 05:46:25 Removing intermediate container 3606fe15b2d1 05:46:25 ---> 5fe75a828c3a 05:46:25 Step 17/19 : LABEL arch=amd64 05:46:25 ---> Running in b376d4ee5988 05:46:25 Removing intermediate container b376d4ee5988 05:46:25 ---> 1c46de71e47d 05:46:25 Step 18/19 : LABEL git_sha=001f4726e63f8a98109bde2752933b06903fc96d 05:46:25 ---> Running in 09747bc0bf3c 05:46:25 Removing intermediate container 09747bc0bf3c 05:46:25 ---> 91e8c03359ac 05:46:25 Step 19/19 : LABEL version=0.0.0 05:46:25 ---> Running in 86519333fa41 05:46:25 Removing intermediate container 86519333fa41 05:46:25 ---> b57c59355895 05:46:25 [Warning] One or more build-args [ARCH] were not consumed 05:46:25 Successfully built b57c59355895 05:46:25 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) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 05:46:26 (10/18) Installing fortify-headers (1.1-r0) 05:46:26 (11/18) Installing build-base (0.5-r1) 05:46:26 (12/18) Installing openssh-keygen (8.1_p1-r0) 05:46:26 (13/18) Installing libedit (20191211.3.1-r0) 05:46:26 (14/18) Installing openssh-client (8.1_p1-r0) 05:46:26 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 05:46:26 (16/18) Installing openssh-server-common (8.1_p1-r0) 05:46:26 (17/18) Installing openssh-server (8.1_p1-r0) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 05:46:26 (18/18) Installing openssh (8.1_p1-r0) 05:46:26 Executing busybox-1.31.1-r8.trigger 05:46:26 OK: 203 MiB in 52 packages [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:46:33 Removing intermediate container bcab11253fb1 05:46:33 ---> 03d04a8966fc 05:46:33 Step 6/8 : WORKDIR /device-modbus-go 05:46:33 ---> Running in 97b1a304e740 05:46:33 Removing intermediate container 97b1a304e740 05:46:33 ---> d3ce2353204b 05:46:33 Step 7/8 : COPY . . 05:46:34 ---> 4da476abd7da 05:46:34 Step 8/8 : RUN go mod download 05:46:34 ---> Running in 64a45214bd3c 05:46:36 go: finding github.com/BurntSushi/toml v0.3.1 05:46:36 go: finding github.com/OneOfOne/xxhash v1.2.6 05:46:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:46:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:46:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:46:36 go: finding github.com/bgentry/speakeasy v0.1.0 05:46:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:46:36 go: finding github.com/davecgh/go-spew v1.1.1 05:46:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 05:46:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 05:46:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:46:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:46:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:46:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:46:37 go: finding github.com/fatih/color v1.7.0 05:46:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:46:37 go: finding github.com/go-kit/kit v0.8.0 05:46:37 go: finding github.com/go-logfmt/logfmt v0.4.0 05:46:37 go: finding github.com/go-stack/stack v1.8.0 05:46:37 go: finding github.com/goburrow/modbus v0.1.0 05:46:37 go: finding github.com/goburrow/serial v0.1.0 05:46:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:46:37 go: finding github.com/google/uuid v1.1.1 05:46:37 go: finding github.com/gorilla/mux v1.7.1 05:46:37 go: finding github.com/hashicorp/consul/api v1.1.0 05:46:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:46:37 go: finding github.com/hashicorp/errwrap v1.0.0 05:46:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:46:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:46:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:46:37 go: finding github.com/hashicorp/go-multierror v1.0.0 05:46:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:46:37 go: finding github.com/hashicorp/go-sockaddr v1.0.1 05:46:37 go: finding github.com/hashicorp/go-syslog v1.0.0 05:46:37 go: finding github.com/hashicorp/go-uuid v1.0.1 05:46:37 go: finding github.com/hashicorp/go.net v0.0.1 05:46:37 go: finding github.com/hashicorp/golang-lru v0.5.1 05:46:37 go: finding github.com/hashicorp/logutils v1.0.0 05:46:37 go: finding github.com/hashicorp/mdns v1.0.0 05:46:37 go: finding github.com/hashicorp/memberlist v0.1.3 05:46:37 go: finding github.com/hashicorp/serf v0.8.2 05:46:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:46:37 go: finding github.com/mattn/go-colorable v0.0.9 05:46:37 go: finding github.com/mattn/go-isatty v0.0.3 05:46:37 go: finding github.com/miekg/dns v1.1.4 05:46:37 go: finding github.com/mitchellh/cli v1.0.0 05:46:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:46:37 go: finding github.com/mitchellh/copystructure v1.0.0 05:46:37 go: finding github.com/mitchellh/go-homedir v1.1.0 05:46:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:46:37 go: finding github.com/mitchellh/go-wordwrap v1.0.0 05:46:37 go: finding github.com/mitchellh/gox v0.4.0 05:46:37 go: finding github.com/mitchellh/iochan v1.0.0 05:46:37 go: finding github.com/mitchellh/mapstructure v1.1.2 05:46:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:46:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:46:37 go: finding github.com/pelletier/go-toml v1.2.0 05:46:37 go: finding github.com/pkg/errors v0.8.1 05:46:37 go: finding github.com/pmezard/go-difflib v1.0.0 05:46:37 go: finding github.com/posener/complete v1.1.1 05:46:37 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 05:46:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:46:37 go: finding github.com/stretchr/objx v0.1.0 05:46:37 go: finding github.com/stretchr/testify v1.5.1 05:46:37 go: finding github.com/ugorji/go v1.1.4 05:46:37 go: finding github.com/x448/float16 v0.8.4 05:46:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:46:37 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 05:46:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:46:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:46:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:46:37 go: finding gopkg.in/yaml.v2 v2.2.8 05:46:48 Removing intermediate container 64a45214bd3c 05:46:48 ---> 53f965a39d09 05:46:48 Successfully built 53f965a39d09 05:46:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:48 + docker inspect -f . ci-base-image-arm64 05:46:49 . [Pipeline] withDockerContainer 05:46:49 prd-ubuntu18.04-docker-arm64-4c-16g-5148 does not seem to be running inside a container 05:46:49 $ 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 ******** ci-base-image-arm64 cat 05:46:50 $ docker top ed68a8fc63e781cf4805044e8a2a91f599b5988edfb327e6147186d32ac103d8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:52 + go version 05:46:52 go version go1.13.5 linux/arm64 [Pipeline] sh 05:46:52 + make test 05:46:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:46:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:47:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:47:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.226s coverage: 50.3% of statements 05:47:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:47:27 gofmt -l . 05:47:27 [ "`gofmt -l .`" = "" ] 05:47:27 ./bin/test-attribution-txt.sh 05:47:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:47:28 Warning: overwriting stash ‘coverage-report’ 05:47:28 Stashed 1 file(s) [Pipeline] } 05:47:28 $ docker stop --time=1 ed68a8fc63e781cf4805044e8a2a91f599b5988edfb327e6147186d32ac103d8 05:47:31 $ docker rm -f ed68a8fc63e781cf4805044e8a2a91f599b5988edfb327e6147186d32ac103d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:32 + ls -al . 05:47:32 total 136 05:47:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 05:47 . 05:47:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:44 .. 05:47:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 05:45 .dockerignore 05:47:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 05:45 .git 05:47:32 -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 05:45 .gitignore 05:47:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:45 .semver 05:47:32 -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 05:45 Attribution.txt 05:47:32 -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 05:45 Dockerfile 05:47:32 -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 05:45 Dockerfile.build 05:47:32 -rw-rw-r-- 1 jenkins jenkins 681 Apr 21 05:45 Jenkinsfile 05:47:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 05:45 LICENSE 05:47:32 -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 05:45 Makefile 05:47:32 -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 05:45 README.md 05:47:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 05:40 VERSION 05:47:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:45 bin 05:47:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:45 cmd 05:47:32 -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 05:47 coverage.out 05:47:32 -rw-r--r-- 1 jenkins jenkins 566 Apr 21 05:47 go.mod 05:47:32 -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 05:47 go.sum 05:47:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:45 internal 05:47:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:45 simulator 05:47:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:45 snap 05:47:32 -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 05:45 version.go [Pipeline] isUnix [Pipeline] sh 05:47:33 + 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=001f4726e63f8a98109bde2752933b06903fc96d --label arch=arm64 --label version=0.0.0 . 05:47:33 Sending build context to Docker daemon 597.5kB 05:47:33 Step 1/19 : ARG BASE=golang:1.13-alpine 05:47:33 Step 2/19 : FROM ${BASE} AS builder 05:47:33 ---> 53f965a39d09 05:47:33 Step 3/19 : ARG MAKE='make build' 05:47:33 ---> Running in 12865c853c3f 05:47:34 Removing intermediate container 12865c853c3f 05:47:34 ---> 3ef355625de4 05:47:34 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:47:34 ---> Running in 44143dc10631 05:47:36 Removing intermediate container 44143dc10631 05:47:36 ---> 69a6d5c9d17e 05:47:36 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 05:47:36 ---> Running in 8e9e9c06b47e 05:47:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:47:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:47:38 OK: 203 MiB in 52 packages 05:47:40 Removing intermediate container 8e9e9c06b47e 05:47:40 ---> aecc680d077e 05:47:40 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 05:47:40 ---> Running in 2caa36672625 05:47:40 Removing intermediate container 2caa36672625 05:47:40 ---> 17b42c8f672b 05:47:40 Step 7/19 : COPY . . 05:47:41 ---> 65b2e4177951 05:47:41 Step 8/19 : RUN ${MAKE} 05:47:41 ---> Running in 786a314efc99 05:47:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 05:48:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:48:12 Removing intermediate container 786a314efc99 05:48:12 ---> d0f19c456e1d 05:48:12 Step 9/19 : FROM scratch 05:48:12 ---> 05:48:12 Step 10/19 : ENV APP_PORT=49991 05:48:12 ---> Running in a668b1a8af3d 05:48:13 Removing intermediate container a668b1a8af3d 05:48:13 ---> 445f6b1b9660 05:48:13 Step 11/19 : EXPOSE $APP_PORT 05:48:13 ---> Running in 55567b95338b 05:48:13 Removing intermediate container 55567b95338b 05:48:13 ---> cd3ee515b361 05:48:13 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 05:48:14 ---> 23b620d340b6 05:48:14 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 05:48:15 ---> 644ae6ccade9 05:48:15 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 05:48:15 ---> 65782dc40fb4 05:48:15 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 05:48:15 ---> Running in b247d0b005c5 05:48:15 Removing intermediate container b247d0b005c5 05:48:15 ---> 78bb5186b7a2 05:48:15 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 05:48:15 ---> Running in 62d604eabc30 05:48:16 Removing intermediate container 62d604eabc30 05:48:16 ---> b585d1946821 05:48:16 Step 17/19 : LABEL arch=arm64 05:48:16 ---> Running in c3e0cb25b9a4 05:48:16 Removing intermediate container c3e0cb25b9a4 05:48:16 ---> 079c2d5de18f 05:48:16 Step 18/19 : LABEL git_sha=001f4726e63f8a98109bde2752933b06903fc96d 05:48:17 ---> Running in 801dd50f3f44 05:48:17 Removing intermediate container 801dd50f3f44 05:48:17 ---> eb3d15fc6f95 05:48:17 Step 19/19 : LABEL version=0.0.0 05:48:17 ---> Running in dc0fc8f86347 05:48:17 Removing intermediate container dc0fc8f86347 05:48:17 ---> 887e2c6a44bd 05:48:17 [Warning] One or more build-args [ARCH] were not consumed 05:48:17 Successfully built 887e2c6a44bd 05:48:17 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) Stage "Snap" skipped due to when conditional [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 05:48:19 provisioning config files... 05:48:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/config7968492718828093245tmp [Pipeline] { [Pipeline] sh 05:48:20 + curl -s https://codecov.io/bash 05:48:20 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/config7968492718828093245tmp [Pipeline] } 05:50:41 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:50:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:50:43 ---> package-listing.sh 05:50:43 ++ facter osfamily 05:50:43 ++ tr '[:upper:]' '[:lower:]' 05:50:43 + OS_FAMILY=redhat 05:50:43 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-144 05:50:43 + START_PACKAGES=/tmp/packages_start.txt 05:50:43 + END_PACKAGES=/tmp/packages_end.txt 05:50:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:50:43 + PACKAGES=/tmp/packages_start.txt 05:50:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-144 ']' 05:50:43 + PACKAGES=/tmp/packages_end.txt 05:50:43 + case "${OS_FAMILY}" in 05:50:43 + rpm -qa 05:50:43 + sort 05:50:47 + '[' -f /tmp/packages_start.txt ']' 05:50:47 + '[' -f /tmp/packages_end.txt ']' 05:50:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:50:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-144 ']' 05:50:47 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-144/archives/ 05:50:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-144/archives/ [Pipeline] isUnix [Pipeline] sh 05:50:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:50:48 05:50:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:50:48 alpine: Pulling from edgex-lftools-log-publisher 05:50:48 c9b1b535fdd9: Pulling fs layer 05:50:48 2cc5ad85d9ab: Pulling fs layer 05:50:48 756a868c4378: Pulling fs layer 05:50:48 444b2fc9a129: Pulling fs layer 05:50:48 ea15f1150254: Pulling fs layer 05:50:48 41b27a9f41bf: Pulling fs layer 05:50:48 28c525ee5125: Pulling fs layer 05:50:48 094b1ea09ed8: Pulling fs layer 05:50:48 138eaada9080: Pulling fs layer 05:50:48 0622d0fa9048: Pulling fs layer 05:50:48 28c525ee5125: Waiting 05:50:48 094b1ea09ed8: Waiting 05:50:48 138eaada9080: Waiting 05:50:48 0622d0fa9048: Waiting 05:50:48 ea15f1150254: Waiting 05:50:48 41b27a9f41bf: Waiting 05:50:48 444b2fc9a129: Waiting 05:50:48 2cc5ad85d9ab: Verifying Checksum 05:50:48 2cc5ad85d9ab: Download complete 05:50:48 444b2fc9a129: Verifying Checksum 05:50:48 444b2fc9a129: Download complete 05:50:48 c9b1b535fdd9: Verifying Checksum 05:50:48 ea15f1150254: Verifying Checksum 05:50:48 ea15f1150254: Download complete 05:50:48 28c525ee5125: Verifying Checksum 05:50:48 28c525ee5125: Download complete 05:50:49 756a868c4378: Verifying Checksum 05:50:49 756a868c4378: Download complete 05:50:49 c9b1b535fdd9: Pull complete 05:50:49 094b1ea09ed8: Verifying Checksum 05:50:49 094b1ea09ed8: Download complete 05:50:49 138eaada9080: Verifying Checksum 05:50:49 138eaada9080: Download complete 05:50:49 0622d0fa9048: Download complete 05:50:49 2cc5ad85d9ab: Pull complete 05:50:49 41b27a9f41bf: Verifying Checksum 05:50:49 41b27a9f41bf: Download complete 05:50:51 756a868c4378: Pull complete 05:50:51 444b2fc9a129: Pull complete 05:50:51 ea15f1150254: Pull complete 05:50:54 41b27a9f41bf: Pull complete 05:50:54 28c525ee5125: Pull complete 05:50:56 094b1ea09ed8: Pull complete 05:50:57 138eaada9080: Pull complete 05:50:57 0622d0fa9048: Pull complete 05:50:57 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:50:57 prd-centos7-docker-4c-2g-5146 does not seem to be running inside a container 05:50:57 $ 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-144 -v /w/workspace/xfoundry_device-modbus-go_PR-144:/w/workspace/xfoundry_device-modbus-go_PR-144:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-144@tmp:/w/workspace/xfoundry_device-modbus-go_PR-144@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:50:58 $ docker top f1656a4f686e72f6d8df063adc18b0d685ebe1d0eacbbdf944d35fbe79e6edb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:58 provisioning config files... 05:50:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/config5890235988564378479tmp [Pipeline] { [Pipeline] echo 05:50:58 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:50:59 ---> create-netrc.sh [Pipeline] echo 05:50:59 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:50:59 ---> logs-deploy.sh 05:50:59 + ARCHIVE_ARTIFACTS= 05:50:59 + LOGS_SERVER=https://logs.edgexfoundry.org 05:50:59 + '[' https://logs.edgexfoundry.org == None ']' 05:50:59 + NEXUS_URL=https://nexus.edgexfoundry.org 05:50:59 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-144/1 05:50:59 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-144/1/ 05:50:59 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-144/1 /w/workspace/xfoundry_device-modbus-go_PR-144 05:51:00 Archives upload complete. 05:51:00 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-144/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-144/1/ 05:51:01 ---> uname -a: 05:51:01 Linux f1656a4f686e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 05:51:01 05:51:01 05:51:01 ---> lscpu: 05:51:01 Architecture: x86_64 05:51:01 CPU op-mode(s): 32-bit, 64-bit 05:51:01 Byte Order: Little Endian 05:51:01 Address sizes: 40 bits physical, 48 bits virtual 05:51:01 CPU(s): 4 05:51:01 On-line CPU(s) list: 0-3 05:51:01 Thread(s) per core: 1 05:51:01 Core(s) per socket: 1 05:51:01 Socket(s): 4 05:51:01 NUMA node(s): 1 05:51:01 Vendor ID: GenuineIntel 05:51:01 CPU family: 6 05:51:01 Model: 44 05:51:01 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:51:01 Stepping: 1 05:51:01 CPU MHz: 2933.442 05:51:01 BogoMIPS: 5866.88 05:51:01 Virtualization: VT-x 05:51:01 Hypervisor vendor: KVM 05:51:01 Virtualization type: full 05:51:01 L1d cache: 128 KiB 05:51:01 L1i cache: 128 KiB 05:51:01 L2 cache: 16 MiB 05:51:01 L3 cache: 64 MiB 05:51:01 NUMA node0 CPU(s): 0-3 05:51:01 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 05:51:01 Vulnerability Meltdown: Mitigation; PTI 05:51:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:51:01 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 05:51:01 Vulnerability Spectre v2: Mitigation; Full retpoline 05:51:01 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 05:51:01 05:51:01 05:51:01 ---> nproc: 05:51:01 4 05:51:01 05:51:01 05:51:01 ---> df -h: 05:51:01 Filesystem Size Used Available Use% Mounted on 05:51:01 overlay 50.0G 6.4G 43.6G 13% / 05:51:01 tmpfs 64.0M 0 64.0M 0% /dev 05:51:01 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 05:51:01 shm 64.0M 0 64.0M 0% /dev/shm 05:51:01 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 05:51:01 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 05:51:01 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 05:51:01 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/xfoundry_device-modbus-go_PR-144@tmp 05:51:01 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 05:51:01 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/xfoundry_device-modbus-go_PR-144 05:51:01 05:51:01 05:51:01 ---> free -m: 05:51:01 total used free shared buff/cache available 05:51:01 Mem: 1838 603 75 0 1159 1130 05:51:01 Swap: 1023 1 1022 05:51:01 05:51:01 05:51:01 ---> ip addr: 05:51:01 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:51:01 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:51:01 inet 127.0.0.1/8 scope host lo 05:51:01 valid_lft forever preferred_lft forever 05:51:01 6: eth0@if7: mtu 1458 qdisc noqueue state UP 05:51:01 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 05:51:01 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 05:51:01 valid_lft forever preferred_lft forever 05:51:01 05:51:01 05:51:01 ---> sar -b -r -n DEV: 05:51:01 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/21/20 _x86_64_ (4 CPU) 05:51:01 05:51:01 05:39:50 LINUX RESTART 05:51:01 05:51:01 05:41:02 tps rtps wtps bread/s bwrtn/s 05:51:01 05:42:01 9.08 0.00 9.08 0.00 1777.71 05:51:01 05:43:01 0.40 0.00 0.40 0.00 5.23 05:51:01 05:44:01 0.28 0.00 0.28 0.00 3.61 05:51:01 05:45:01 0.27 0.00 0.27 0.00 3.60 05:51:01 05:46:01 0.28 0.00 0.28 0.00 4.41 05:51:01 05:47:01 0.33 0.00 0.33 0.00 3.63 05:51:01 05:48:01 0.28 0.00 0.28 0.00 3.46 05:51:01 05:49:01 0.63 0.15 0.48 3.20 8.24 05:51:01 05:50:01 0.43 0.00 0.43 0.00 6.78 05:51:01 Average: 1.32 0.02 1.30 0.36 198.92 05:51:01 05:51:01 05:41:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:51:01 05:42:01 124940 1757364 93.36 2620 1219696 903304 30.82 427380 1168212 8 05:51:01 05:43:01 124404 1757900 93.39 2620 1219700 903304 30.82 427628 1167912 12 05:51:01 05:44:01 123656 1758648 93.43 2620 1219712 903524 30.83 428664 1167912 16 05:51:01 05:45:01 123580 1758724 93.43 2620 1219712 903500 30.83 428544 1167912 20 05:51:01 05:46:01 124172 1758132 93.40 2620 1219720 903440 30.82 428296 1167912 12 05:51:01 05:47:01 124360 1757944 93.39 2620 1219724 903368 30.82 427904 1167908 12 05:51:01 05:48:01 136288 1746016 92.76 2620 1219728 903368 30.82 416124 1167908 8 05:51:01 05:49:01 132156 1750148 92.98 2620 1219864 915984 31.25 419188 1168024 20 05:51:01 05:50:01 138928 1743376 92.62 2620 1219868 915908 31.25 412608 1168024 20 05:51:01 Average: 128054 1754250 93.20 2620 1219747 906189 30.92 424037 1167969 14 05:51:01 05:51:01 05:41:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 05:51:01 05:42:01 eth0 0.07 0.08 0.01 0.01 0.00 0.00 0.00 05:51:01 05:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:43:01 eth0 0.22 0.08 0.01 0.01 0.00 0.00 0.00 05:51:01 05:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:44:01 eth0 1.83 0.67 0.66 0.22 0.00 0.00 0.00 05:51:01 05:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:45:01 eth0 0.70 0.30 0.29 0.20 0.00 0.00 0.00 05:51:01 05:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:46:01 eth0 0.32 0.25 0.14 0.08 0.00 0.00 0.00 05:51:01 05:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:47:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 05:51:01 05:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:48:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 05:51:01 05:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:49:01 eth0 5.83 3.35 5.13 2.32 0.00 0.00 0.00 05:51:01 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:50:01 eth0 1.13 0.72 0.88 0.46 0.00 0.00 0.00 05:51:01 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 Average: eth0 1.14 0.62 0.80 0.37 0.00 0.00 0.00 05:51:01 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:01 05:51:01