Pull request #186 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 03c33b893f328ddb84741149c3a0c5542c0f75aa+645745cc2ab9199d577c2f6eedd0068fe13701dd (e8af457990dc077ac8c0b92e1594ae553ff74587) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-186/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-186/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Excluding src/test/ from checkout of git git@github.com:lfit/releng-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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10059 in /w/workspace/xfoundry_device-modbus-go_PR-186 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 03c33b893f328ddb84741149c3a0c5542c0f75aa Merge succeeded, producing 03c33b893f328ddb84741149c3a0c5542c0f75aa Checking out Revision 03c33b893f328ddb84741149c3a0c5542c0f75aa (PR-186) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # 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 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:42:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:42:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:42:15 ========================================================= 06:42:15 EdgeX Global Pipelines Version Info 06:42:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:42:17 ------------------- 06:42:17 stable info: 06:42:17 ------------------- 06:42:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:42:17 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:42:17 Message: update stable to v1.0.152 06:42:18 ------------------- 06:42:18 experimental info: 06:42:18 ------------------- 06:42:18 Commited By: **** collab-it+edgex@linuxfoundation.org 06:42:18 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 06:42:18 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:42:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:42:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:42:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:42:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:42:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:42:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:42:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 06:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:42:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:42:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:42:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:42:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:42:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:42:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo 06:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo 06:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo 06:42:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03c33b893f328ddb84741149c3a0c5542c0f75aa [Pipeline] echo 06:42:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03c33b8 [Pipeline] echo 06:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:24 + git log --format=format:%s -1 03c33b893f328ddb84741149c3a0c5542c0f75aa [Pipeline] echo 06:42:24 GIT_COMMIT: 03c33b893f328ddb84741149c3a0c5542c0f75aa, Commit Message: Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:42:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:25 06:42:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:42:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:26 latest: Pulling from edgex-devops/git-semver 06:42:26 31603596830f: Pulling fs layer 06:42:26 2a8b12db71e7: Pulling fs layer 06:42:26 6ca5941a6612: Pulling fs layer 06:42:26 ecc8261a40a4: Pulling fs layer 06:42:26 ecc8261a40a4: Waiting 06:42:26 2a8b12db71e7: Verifying Checksum 06:42:26 2a8b12db71e7: Download complete 06:42:26 31603596830f: Verifying Checksum 06:42:26 31603596830f: Download complete 06:42:26 ecc8261a40a4: Verifying Checksum 06:42:26 6ca5941a6612: Verifying Checksum 06:42:26 6ca5941a6612: Download complete 06:42:26 31603596830f: Pull complete 06:42:27 2a8b12db71e7: Pull complete 06:42:28 6ca5941a6612: Pull complete 06:42:28 ecc8261a40a4: Pull complete 06:42:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:42:28 prd-centos7-docker-4c-2g-10059 does not seem to be running inside a container 06:42:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-186 -v /w/workspace/xfoundry_device-modbus-go_PR-186:/w/workspace/xfoundry_device-modbus-go_PR-186:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-186@tmp:/w/workspace/xfoundry_device-modbus-go_PR-186@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:42:30 $ docker top 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:30 [ssh-agent] Looking for ssh-agent implementation... 06:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:30 $ docker exec 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 ssh-agent 06:42:31 SSH_AUTH_SOCK=/tmp/ssh-sNyaE3MAH02z/agent.12 06:42:31 SSH_AGENT_PID=18 06:42:31 Running ssh-add (command line suppressed) 06:42:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-186@tmp/private_key_7263174428952518500.key (/w/workspace/xfoundry_device-modbus-go_PR-186@tmp/private_key_7263174428952518500.key) 06:42:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:31 + git tag --points-at HEAD [Pipeline] } 06:42:31 $ docker exec --env ******** --env ******** 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 ssh-agent -k 06:42:32 unset SSH_AUTH_SOCK; 06:42:32 unset SSH_AGENT_PID; 06:42:32 echo Agent pid 18 killed; 06:42:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:42:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:32 [ssh-agent] Looking for ssh-agent implementation... 06:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:32 $ docker exec 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 ssh-agent 06:42:32 SSH_AUTH_SOCK=/tmp/ssh-9iF6G3Otthjw/agent.49 06:42:32 SSH_AGENT_PID=54 06:42:32 Running ssh-add (command line suppressed) 06:42:32 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-186@tmp/private_key_6352627420579774402.key (/w/workspace/xfoundry_device-modbus-go_PR-186@tmp/private_key_6352627420579774402.key) 06:42:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:33 + git semver init 06:42:33 # -> Open(): unable to determine branch for HEAD 06:42:33 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-186/.git 06:42:33 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-186 06:42:33 # $SEMVER_REMOTE_NAME = origin 06:42:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:42:33 # $SEMVER_USER_NAME = edgex-jenkins 06:42:33 # $SEMVER_BRANCH = PR-186 06:42:33 # $SEMVER_TEMP = /tmp/semver-791897377 06:42:33 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 06:42:34 # '/tmp/semver-791897377' -> '/w/workspace/xfoundry_device-modbus-go_PR-186/.semver' 06:42:34 # -> Force: false 06:42:34 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-186/.semver [Pipeline] } 06:42:34 $ docker exec --env ******** --env ******** 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 ssh-agent -k 06:42:34 unset SSH_AUTH_SOCK; 06:42:34 unset SSH_AGENT_PID; 06:42:34 echo Agent pid 54 killed; 06:42:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:42:35 + git semver [Pipeline] } 06:42:35 $ docker stop --time=1 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 06:42:36 $ docker rm -f 42e11574c18ca2ce839cfe8e10db1d0239421f66e8aca942eb60ca99a74c4a22 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:42:37 Stashed 1 file(s) [Pipeline] echo 06:42:37 [edgeXSemver]: initialized semver on 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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:42:39 ========================================================= 06:42:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:42:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:39 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:42:39 Sending build context to Docker daemon 781.8kB 06:42:39 Step 1/8 : ARG BASE=golang:1.15-alpine 06:42:39 Step 2/8 : FROM ${BASE} 06:42:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:42:39 df20fa9351a1: Pulling fs layer 06:42:39 ed8968b2872e: Pulling fs layer 06:42:39 a92cc7c5fd73: Pulling fs layer 06:42:39 e871e8e8d7a9: Pulling fs layer 06:42:39 e73272ec9a57: Pulling fs layer 06:42:39 1e910a182e73: Pulling fs layer 06:42:39 4e634b169226: Pulling fs layer 06:42:39 1e910a182e73: Waiting 06:42:39 e73272ec9a57: Waiting 06:42:39 4e634b169226: Waiting 06:42:39 a92cc7c5fd73: Verifying Checksum 06:42:39 a92cc7c5fd73: Download complete 06:42:39 ed8968b2872e: Verifying Checksum 06:42:39 ed8968b2872e: Download complete 06:42:39 e73272ec9a57: Verifying Checksum 06:42:39 e73272ec9a57: Download complete 06:42:39 1e910a182e73: Verifying Checksum 06:42:39 1e910a182e73: Download complete 06:42:39 df20fa9351a1: Verifying Checksum 06:42:39 df20fa9351a1: Download complete 06:42:40 df20fa9351a1: Pull complete 06:42:40 ed8968b2872e: Pull complete 06:42:41 a92cc7c5fd73: Pull complete 06:42:42 4e634b169226: Verifying Checksum 06:42:42 4e634b169226: Download complete 06:42:42 e871e8e8d7a9: Verifying Checksum 06:42:42 e871e8e8d7a9: Download complete 06:42:50 e871e8e8d7a9: Pull complete 06:42:50 e73272ec9a57: Pull complete 06:42:50 1e910a182e73: Pull complete 06:42:53 Still waiting to schedule task 06:42:53 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:42:57 4e634b169226: Pull complete 06:42:57 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:42:57 ---> f7629b54cfaa 06:42:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:42:57 ---> Running in d6150a3cffcc 06:42:57 Removing intermediate container d6150a3cffcc 06:42:57 ---> a16c3cc942b1 06:42:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:58 ---> Running in fa733b2deb63 06:42:59 Removing intermediate container fa733b2deb63 06:42:59 ---> dffbb9443f31 06:42:59 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:42:59 ---> Running in c300502f38fb 06:43:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:03 (1/14) Installing libmagic (5.38-r0) 06:43:04 (2/14) Installing file (5.38-r0) 06:43:04 (3/14) Installing libc-dev (0.7.2-r3) 06:43:04 (4/14) Installing g++ (9.3.0-r2) 06:43:31 (5/14) Installing fortify-headers (1.1-r0) 06:43:31 (6/14) Installing patch (2.7.6-r6) 06:43:31 (7/14) Installing build-base (0.5-r2) 06:43:31 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:43:31 (9/14) Installing libedit (20191231.3.1-r0) 06:43:31 (10/14) Installing openssh-client (8.3_p1-r0) 06:43:31 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:43:31 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:43:31 (13/14) Installing openssh-server (8.3_p1-r0) 06:43:31 (14/14) Installing openssh (8.3_p1-r0) 06:43:31 Executing busybox-1.31.1-r16.trigger 06:43:31 OK: 237 MiB in 53 packages 06:43:33 Removing intermediate container c300502f38fb 06:43:33 ---> 31e04b3e85be 06:43:33 Step 6/8 : WORKDIR /device-modbus-go 06:43:33 ---> Running in ebd086b67812 06:43:33 Removing intermediate container ebd086b67812 06:43:33 ---> 682444d500ec 06:43:33 Step 7/8 : COPY . . 06:43:34 ---> 32e623138646 06:43:34 Step 8/8 : RUN go mod download 06:43:34 ---> Running in 08b18b64ab07 06:43:56 Removing intermediate container 08b18b64ab07 06:43:56 ---> 8889d3101842 06:43:56 Successfully built 8889d3101842 06:43:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:43:56 + docker inspect -f . ci-base-image-x86_64 06:43:56 . [Pipeline] withDockerContainer 06:43:56 prd-centos7-docker-4c-2g-10059 does not seem to be running inside a container 06:43:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-186 -v /w/workspace/xfoundry_device-modbus-go_PR-186:/w/workspace/xfoundry_device-modbus-go_PR-186:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-186@tmp:/w/workspace/xfoundry_device-modbus-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:43:57 $ docker top 6d17de9855e8977073603ba30e789db6428350bd04b99c0e28881d9af13f1d84 -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:58 + go version 06:43:58 go version go1.15.2 linux/amd64 [Pipeline] } 06:43:58 $ docker stop --time=1 6d17de9855e8977073603ba30e789db6428350bd04b99c0e28881d9af13f1d84 06:43:59 $ docker rm -f 6d17de9855e8977073603ba30e789db6428350bd04b99c0e28881d9af13f1d84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:01 + docker inspect -f . ci-base-image-x86_64 06:44:01 . [Pipeline] withDockerContainer 06:44:01 prd-centos7-docker-4c-2g-10059 does not seem to be running inside a container 06:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-186 -v /w/workspace/xfoundry_device-modbus-go_PR-186:/w/workspace/xfoundry_device-modbus-go_PR-186:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-186@tmp:/w/workspace/xfoundry_device-modbus-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:02 $ docker top fb557e85444d1e4de46f05bc94677901c0f9ec8e4770acdb3a4af24de2496447 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:02 + make test 06:44:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:44:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:44:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:44:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.241s coverage: 50.3% of statements 06:44:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:18 gofmt -l . 06:44:18 [ "`gofmt -l .`" = "" ] 06:44:18 ./bin/test-attribution-txt.sh 06:44:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:44:18 $ docker stop --time=1 fb557e85444d1e4de46f05bc94677901c0f9ec8e4770acdb3a4af24de2496447 06:44:21 $ docker rm -f fb557e85444d1e4de46f05bc94677901c0f9ec8e4770acdb3a4af24de2496447 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:23 + ls -al . 06:44:23 total 104 06:44:23 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 2 06:44 . 06:44:23 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:42 .. 06:44:23 -rw-rw-r--. 1 jenkins jenkins 5589 Nov 2 06:42 Attribution.txt 06:44:23 drwxrwxr-x. 2 jenkins jenkins 87 Nov 2 06:42 bin 06:44:23 drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:42 cmd 06:44:23 -rw-r--r--. 1 jenkins jenkins 22364 Nov 2 06:44 coverage.out 06:44:23 -rw-rw-r--. 1 jenkins jenkins 1430 Nov 2 06:42 Dockerfile 06:44:23 -rw-rw-r--. 1 jenkins jenkins 954 Nov 2 06:42 Dockerfile.build 06:44:23 -rw-rw-r--. 1 jenkins jenkins 140 Nov 2 06:42 .dockerignore 06:44:23 drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:42 .git 06:44:23 drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:42 .github 06:44:23 -rw-rw-r--. 1 jenkins jenkins 338 Nov 2 06:42 .gitignore 06:44:23 -rw-r--r--. 1 jenkins jenkins 524 Nov 2 06:44 go.mod 06:44:23 -rw-r--r--. 1 jenkins jenkins 14657 Nov 2 06:44 go.sum 06:44:23 drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:42 internal 06:44:23 -rw-rw-r--. 1 jenkins jenkins 679 Nov 2 06:42 Jenkinsfile 06:44:23 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:42 LICENSE 06:44:23 -rw-rw-r--. 1 jenkins jenkins 880 Nov 2 06:42 Makefile 06:44:23 -rw-rw-r--. 1 jenkins jenkins 591 Nov 2 06:42 README.md 06:44:23 drwx------. 3 jenkins jenkins 58 Nov 2 06:42 .semver 06:44:23 drwxrwxr-x. 2 jenkins jenkins 52 Nov 2 06:42 simulator 06:44:23 drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:42 snap 06:44:23 -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:42 VERSION 06:44:23 -rw-rw-r--. 1 jenkins jenkins 229 Nov 2 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:44:24 + 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=03c33b893f328ddb84741149c3a0c5542c0f75aa --label arch=amd64 --label version=0.0.0 . 06:44:24 Sending build context to Docker daemon 813.1kB 06:44:24 Step 1/20 : ARG BASE=golang:1.15-alpine 06:44:24 Step 2/20 : FROM ${BASE} AS builder 06:44:24 ---> 8889d3101842 06:44:24 Step 3/20 : ARG MAKE='make build' 06:44:24 ---> Running in f9836d73f363 06:44:24 Removing intermediate container f9836d73f363 06:44:24 ---> f6ef96755be4 06:44:24 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:25 ---> Running in c1f5f9a2c4a0 06:44:25 Removing intermediate container c1f5f9a2c4a0 06:44:25 ---> ad0dd409aaa1 06:44:25 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:44:25 ---> Running in cebecd219620 06:44:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:44:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:44:28 OK: 237 MiB in 53 packages 06:44:29 Removing intermediate container cebecd219620 06:44:29 ---> aaedf49009be 06:44:29 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:44:29 ---> Running in 7d5a40e44546 06:44:29 Removing intermediate container 7d5a40e44546 06:44:29 ---> f6fe2e6966e8 06:44:29 Step 7/20 : COPY . . 06:44:30 ---> 665f9fb736fe 06:44:30 Step 8/20 : RUN ${MAKE} 06:44:30 ---> Running in efc524fe76c4 06:44:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:44:41 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:44:44 Removing intermediate container efc524fe76c4 06:44:44 ---> 7a3b92369df3 06:44:44 Step 9/20 : FROM scratch 06:44:44 ---> 06:44:44 Step 10/20 : ENV APP_PORT=49991 06:44:44 ---> Running in 2c737416633f 06:44:44 Removing intermediate container 2c737416633f 06:44:44 ---> b79a42820150 06:44:44 Step 11/20 : EXPOSE $APP_PORT 06:44:44 ---> Running in 681e6366f977 06:44:44 Removing intermediate container 681e6366f977 06:44:44 ---> 2f6ca4a5d3e0 06:44:44 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:44:45 ---> ee964648d70c 06:44:45 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:44:45 ---> 0f0f14bd68e9 06:44:45 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:44:45 ---> 2b34a967aeb1 06:44:45 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:44:45 ---> Running in 6387278ca991 06:44:45 Removing intermediate container 6387278ca991 06:44:45 ---> 82f9945a49f3 06:44:45 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:44:46 ---> Running in 89b7c0718bd4 06:44:46 Removing intermediate container 89b7c0718bd4 06:44:46 ---> 4bfdd337a7ed 06:44:46 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:44:46 ---> Running in 4057cc7fe91e 06:44:46 Removing intermediate container 4057cc7fe91e 06:44:46 ---> f354bcfbc2fa 06:44:46 Step 18/20 : LABEL arch=amd64 06:44:46 ---> Running in 1b0b46e6c9cc 06:44:46 Removing intermediate container 1b0b46e6c9cc 06:44:46 ---> c75966b498f8 06:44:46 Step 19/20 : LABEL git_sha=03c33b893f328ddb84741149c3a0c5542c0f75aa 06:44:46 ---> Running in 88486eff1973 06:44:46 Removing intermediate container 88486eff1973 06:44:46 ---> 89f7362bd1ad 06:44:46 Step 20/20 : LABEL version=0.0.0 06:44:46 ---> Running in 8da4476a61e9 06:44:47 Removing intermediate container 8da4476a61e9 06:44:47 ---> 76304f94f86f 06:44:47 [Warning] One or more build-args [ARCH] were not consumed 06:44:47 Successfully built 76304f94f86f 06:44:47 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 06:45:02 Still waiting to schedule task 06:45:02 All nodes of label ‘centos7-docker-8c-8g’ are offline 06:45:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10073 in /w/workspace/xfoundry_device-modbus-go_PR-186 [Pipeline] { [Pipeline] ws 06:45:47 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:45:54 using credential edgex-jenkins-ssh 06:45:54 Cloning the remote Git repository 06:45:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:45:54 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:45:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:45:54 > git --version # timeout=10 06:45:54 > git --version # 'git version 2.17.1' 06:45:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:55 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 03c33b893f328ddb84741149c3a0c5542c0f75aa 06:45:56 Merge succeeded, producing 03c33b893f328ddb84741149c3a0c5542c0f75aa 06:45:56 Checking out Revision 03c33b893f328ddb84741149c3a0c5542c0f75aa (PR-186) 06:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:45:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:45:55 > git config core.sparsecheckout # timeout=10 06:45:56 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 06:45:56 > git remote # timeout=10 06:45:56 > git config --get remote.origin.url # timeout=10 06:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:56 > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 06:45:56 > git rev-parse HEAD^{commit} # timeout=10 06:45:56 > git config core.sparsecheckout # timeout=10 06:45:56 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 06:46:00 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" 06:46:01 > git --version # timeout=10 06:46:01 > git --version # 'git version 2.17.1' 06:46:01 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:46:02 ========================================================= 06:46:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:46:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:46:03 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:46:04 Sending build context to Docker daemon 506.9kB 06:46:04 Step 1/8 : ARG BASE=golang:1.15-alpine 06:46:04 Step 2/8 : FROM ${BASE} 06:46:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:46:04 b538f80385f9: Pulling fs layer 06:46:04 74f711af9a0d: Pulling fs layer 06:46:04 99f96fe45779: Pulling fs layer 06:46:04 8529a6b9a6be: Pulling fs layer 06:46:04 45590311c82a: Pulling fs layer 06:46:04 69ca0ff8b7b3: Pulling fs layer 06:46:04 209524e5b208: Pulling fs layer 06:46:04 8529a6b9a6be: Waiting 06:46:04 45590311c82a: Waiting 06:46:04 69ca0ff8b7b3: Waiting 06:46:04 209524e5b208: Waiting 06:46:04 99f96fe45779: Verifying Checksum 06:46:04 99f96fe45779: Download complete 06:46:04 74f711af9a0d: Verifying Checksum 06:46:04 74f711af9a0d: Download complete 06:46:04 45590311c82a: Verifying Checksum 06:46:04 45590311c82a: Download complete 06:46:04 69ca0ff8b7b3: Verifying Checksum 06:46:04 69ca0ff8b7b3: Download complete 06:46:05 b538f80385f9: Verifying Checksum 06:46:05 b538f80385f9: Download complete 06:46:05 b538f80385f9: Pull complete 06:46:06 74f711af9a0d: Pull complete 06:46:06 99f96fe45779: Pull complete 06:46:07 209524e5b208: Verifying Checksum 06:46:07 209524e5b208: Download complete 06:46:10 8529a6b9a6be: Verifying Checksum 06:46:10 8529a6b9a6be: Download complete 06:46:12 Running on prd-centos7-docker-8c-8g-10081 in /w/workspace/xfoundry_device-modbus-go_PR-186 [Pipeline] { [Pipeline] ws 06:46:12 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:46:18 using credential edgex-jenkins-ssh 06:46:18 Cloning the remote Git repository 06:46:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:46:18 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:46:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:46:18 > git --version # timeout=10 06:46:18 > git --version # 'git version 2.16.5' 06:46:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:19 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 03c33b893f328ddb84741149c3a0c5542c0f75aa 06:46:20 Merge succeeded, producing 03c33b893f328ddb84741149c3a0c5542c0f75aa 06:46:20 Checking out Revision 03c33b893f328ddb84741149c3a0c5542c0f75aa (PR-186) 06:46:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:46:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:46:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:46:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:46:19 > git config core.sparsecheckout # timeout=10 06:46:19 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 06:46:19 > git remote # timeout=10 06:46:19 > git config --get remote.origin.url # timeout=10 06:46:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:19 > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 06:46:19 > git rev-parse HEAD^{commit} # timeout=10 06:46:20 > git config core.sparsecheckout # timeout=10 06:46:20 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 06:46:20 8529a6b9a6be: Pull complete 06:46:20 45590311c82a: Pull complete 06:46:20 69ca0ff8b7b3: Pull complete 06:46:24 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" 06:46:24 > git --version # timeout=10 06:46:24 > git --version # 'git version 2.16.5' 06:46:24 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:46:24 209524e5b208: Pull complete 06:46:24 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:46:24 ---> 5bddaf1c2fca 06:46:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:25 ++ find /w/workspace/device-modbus-go/1 06:46:25 ++ grep snapcraft.yaml 06:46:25 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:25 provisioning config files... 06:46:25 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config798583860242867872tmp [Pipeline] { [Pipeline] sh 06:46:26 + cp /w/workspace/device-modbus-go/1@tmp/config798583860242867872tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 06:46:26 + 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 06:46:26 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 06:46:27 latest: Pulling from edgex-devops/edgex-snap-builder 06:46:27 f08d8e2a3ba1: Pulling fs layer 06:46:27 3baa9cb2483b: Pulling fs layer 06:46:27 94e5ff4c0b15: Pulling fs layer 06:46:27 1860925334f9: Pulling fs layer 06:46:27 2daf38717194: Pulling fs layer 06:46:27 309017e8d7a4: Pulling fs layer 06:46:27 f7790dc9fd0f: Pulling fs layer 06:46:27 cac0ae9282c2: Pulling fs layer 06:46:27 1f4cadf9a1ed: Pulling fs layer 06:46:27 309017e8d7a4: Waiting 06:46:27 f7790dc9fd0f: Waiting 06:46:27 cac0ae9282c2: Waiting 06:46:27 1f4cadf9a1ed: Waiting 06:46:27 1860925334f9: Waiting 06:46:27 2daf38717194: Waiting 06:46:27 3baa9cb2483b: Download complete 06:46:27 94e5ff4c0b15: Verifying Checksum 06:46:27 94e5ff4c0b15: Download complete 06:46:27 1860925334f9: Verifying Checksum 06:46:27 1860925334f9: Download complete 06:46:27 309017e8d7a4: Download complete 06:46:27 f7790dc9fd0f: Verifying Checksum 06:46:27 f7790dc9fd0f: Download complete 06:46:27 cac0ae9282c2: Verifying Checksum 06:46:27 cac0ae9282c2: Download complete 06:46:27 1f4cadf9a1ed: Download complete 06:46:27 ---> Running in c58c49f10953 06:46:27 Removing intermediate container c58c49f10953 06:46:27 ---> fcbf3e9d76f2 06:46:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:46:27 ---> Running in 762e8bc7e80b 06:46:29 f08d8e2a3ba1: Verifying Checksum 06:46:29 f08d8e2a3ba1: Download complete 06:46:31 Removing intermediate container 762e8bc7e80b 06:46:31 ---> 598391c78462 06:46:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:46:31 ---> Running in 8e8b808f3b0c 06:46:31 f08d8e2a3ba1: Pull complete 06:46:31 3baa9cb2483b: Pull complete 06:46:32 94e5ff4c0b15: Pull complete 06:46:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:46:32 1860925334f9: Pull complete 06:46:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:46:38 (1/14) Installing libmagic (5.38-r0) 06:46:39 (2/14) Installing file (5.38-r0) 06:46:39 (3/14) Installing libc-dev (0.7.2-r3) 06:46:39 (4/14) Installing g++ (9.3.0-r2) 06:46:42 2daf38717194: Verifying Checksum 06:46:42 2daf38717194: Download complete 06:47:02 (5/14) Installing fortify-headers (1.1-r0) 06:47:02 (6/14) Installing patch (2.7.6-r6) 06:47:02 (7/14) Installing build-base (0.5-r2) 06:47:02 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:47:02 (9/14) Installing libedit (20191231.3.1-r0) 06:47:02 (10/14) Installing openssh-client (8.3_p1-r0) 06:47:02 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:47:02 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:47:02 (13/14) Installing openssh-server (8.3_p1-r0) 06:47:02 (14/14) Installing openssh (8.3_p1-r0) 06:47:02 Executing busybox-1.31.1-r16.trigger 06:47:02 OK: 221 MiB in 53 packages 06:47:04 2daf38717194: Pull complete 06:47:04 309017e8d7a4: Pull complete 06:47:04 f7790dc9fd0f: Pull complete 06:47:04 cac0ae9282c2: Pull complete 06:47:04 1f4cadf9a1ed: Pull complete 06:47:04 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 06:47:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 06:47:06 Removing intermediate container 8e8b808f3b0c 06:47:06 ---> 97635c49769d 06:47:06 Step 6/8 : WORKDIR /device-modbus-go 06:47:06 ---> Running in 86798d24f022 06:47:07 Removing intermediate container 86798d24f022 06:47:07 ---> 19bd2263fb23 06:47:07 Step 7/8 : COPY . . 06:47:07 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 06:47:07 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 06:47:07 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 06:47:08 ---> 8687efe0e529 06:47:08 Step 8/8 : RUN go mod download 06:47:08 ---> Running in dbd5f258137e 06:47:08 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 06:47:08 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1353 kB] 06:47:08 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2118 kB] 06:47:08 Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1748 kB] 06:47:09 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] 06:47:09 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] 06:47:09 Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] 06:47:09 Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [213 kB] 06:47:09 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] 06:47:09 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 06:47:09 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 06:47:09 Fetched 8172 kB in 2s (4738 kB/s) 06:47:11 Reading package lists... 06:47:15 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 06:47:15 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 06:47:16 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 06:47:16 0% [2 InRelease gpgv 242 kB] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 06:47:18 0% [2 InRelease gpgv 242 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... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 40% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 85% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 06:47:20 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 06:47:22 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 35% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 06:47:23 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 06:47:23 Reading state information... 0% Reading state information... 0% Reading state information... Done 06:47:23 The following packages were automatically installed and are no longer required: 06:47:23 libjq1 libonig4 06:47:23 Use 'sudo apt autoremove' to remove them. 06:47:23 Suggested packages: 06:47:23 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 06:47:23 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 06:47:23 diffutils-doc perl-doc libterm-readline-gnu-perl 06:47:23 | libterm-readline-perl-perl 06:47:23 The following NEW packages will be installed: 06:47:23 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 06:47:23 libperl5.26 make netbase patch perl perl-modules-5.26 06:47:23 The following packages will be upgraded: 06:47:23 perl-base 06:47:23 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. 06:47:23 Need to get 13.4 MB of archives. 06:47:23 After this operation, 77.5 MB of additional disk space will be used. 06:47:24 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 06:47:24 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 702 kB/1391 kB 50%] 10% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 06:47:24 10% [2 perl-modules-5.26 43.5 kB/2762 kB 2%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 06:47:24 28% [3 libgdbm5 26.0 kB/26.0 kB 100%] 29% [Working] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 06:47:24 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Working] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 06:47:24 30% [5 libperl5.26 12.3 kB/3534 kB 0%] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] 06:47:24 53% [6 perl 65.5 kB/201 kB 33%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 06:47:24 55% [7 less 6998 B/112 kB 6%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 06:47:24 57% [8 netbase 12.7 kB/12.7 kB 100%] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 06:47:24 59% [9 curl 65.5 kB/159 kB 41%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 06:47:24 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 06:47:24 64% [11 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 06:47:25 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 06:47:25 71% [13 git 49.2 kB/3915 kB 1%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 06:47:25 96% [14 make 0 B/154 kB 0%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 06:47:25 98% [15 patch 12.9 kB/102 kB 13%] 100% [Working] Fetched 13.4 MB in 2s (8415 kB/s) 06:47:25 debconf: delaying package configuration, since apt-utils is not installed 06:47:25 (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.) 06:47:25 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 06:47:25 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 06:47:30 Removing intermediate container dbd5f258137e 06:47:30 ---> 9b4bb90307de 06:47:30 Successfully built 9b4bb90307de 06:47:30 Successfully tagged ci-base-image-arm64:latest 06:47:30 Setting up perl-base (5.26.1-6ubuntu0.5) ... 06:47:30 Selecting previously unselected package perl-modules-5.26. 06:47:30 (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.) 06:47:30 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 06:47:30 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [Pipeline] isUnix [Pipeline] sh 06:47:30 + docker inspect -f . ci-base-image-arm64 06:47:30 . [Pipeline] withDockerContainer 06:47:30 prd-ubuntu18.04-docker-arm64-4c-16g-10073 does not seem to be running inside a container 06:47:31 $ 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 06:47:31 Selecting previously unselected package libgdbm5:amd64. 06:47:31 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 06:47:31 Unpacking libgdbm5:amd64 (1.14.1-6) ... 06:47:31 Selecting previously unselected package libgdbm-compat4:amd64. 06:47:31 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 06:47:31 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 06:47:31 Selecting previously unselected package libperl5.26:amd64. 06:47:31 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 06:47:31 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 06:47:32 Selecting previously unselected package perl. 06:47:32 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 06:47:32 Unpacking perl (5.26.1-6ubuntu0.5) ... 06:47:32 Selecting previously unselected package less. 06:47:32 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 06:47:32 Unpacking less (487-0.1) ... 06:47:32 Selecting previously unselected package netbase. 06:47:32 Preparing to unpack .../06-netbase_5.4_all.deb ... 06:47:32 Unpacking netbase (5.4) ... 06:47:32 Selecting previously unselected package curl. 06:47:32 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 06:47:32 Unpacking curl (7.58.0-2ubuntu3.10) ... 06:47:32 Selecting previously unselected package libcurl3-gnutls:amd64. 06:47:32 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 06:47:32 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 06:47:32 Selecting previously unselected package liberror-perl. 06:47:32 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 06:47:32 Unpacking liberror-perl (0.17025-1) ... 06:47:32 Selecting previously unselected package git-man. 06:47:32 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 06:47:32 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 06:47:33 Selecting previously unselected package git. 06:47:33 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 06:47:33 Unpacking git (1:2.17.1-1ubuntu0.7) ... 06:47:33 $ docker top db70ec65e62bec8d3d8d714ee609b8523183b90a859040abdc49604d18cd5b6e -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:34 Selecting previously unselected package make. 06:47:34 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 06:47:34 Unpacking make (4.1-9.1ubuntu1) ... 06:47:34 Selecting previously unselected package patch. 06:47:34 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 06:47:34 Unpacking patch (2.7.6-2ubuntu1.1) ... 06:47:34 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 06:47:34 Setting up less (487-0.1) ... 06:47:34 Setting up make (4.1-9.1ubuntu1) ... 06:47:34 Setting up curl (7.58.0-2ubuntu3.10) ... 06:47:34 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 06:47:34 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:47:34 Setting up libgdbm5:amd64 (1.14.1-6) ... 06:47:34 Setting up patch (2.7.6-2ubuntu1.1) ... 06:47:34 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 06:47:34 Setting up netbase (5.4) ... 06:47:34 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 06:47:34 Setting up perl (5.26.1-6ubuntu0.5) ... 06:47:34 Setting up liberror-perl (0.17025-1) ... 06:47:34 Setting up git (1:2.17.1-1ubuntu0.7) ... 06:47:34 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 06:47:34 + go version 06:47:34 go version go1.15.2 linux/arm64 06:47:34 Processing triggers for mime-support (3.60ubuntu1) ... [Pipeline] } 06:47:34 $ docker stop --time=1 db70ec65e62bec8d3d8d714ee609b8523183b90a859040abdc49604d18cd5b6e 06:47:37 $ docker rm -f db70ec65e62bec8d3d8d714ee609b8523183b90a859040abdc49604d18cd5b6e [Pipeline] // withDockerContainer [Pipeline] } 06:47:37 curl set to automatically installed. 06:47:37 git set to automatically installed. 06:47:37 git-man set to automatically installed. 06:47:37 less set to automatically installed. 06:47:37 libcurl3-gnutls set to automatically installed. 06:47:37 liberror-perl set to automatically installed. 06:47:37 libgdbm-compat4 set to automatically installed. 06:47:37 libgdbm5 set to automatically installed. 06:47:37 libperl5.26 set to automatically installed. 06:47:37 make set to automatically installed. 06:47:37 netbase set to automatically installed. 06:47:37 patch set to automatically installed. 06:47:37 perl set to automatically installed. 06:47:37 perl-base set to automatically installed. 06:47:37 perl-modules-5.26 set to automatically installed. 06:47:37 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 06:47:37 Please ensure the environment is properly setup before continuing. 06:47:37 Ignore this message if the appropriate measures have already been taken [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:47:38 Pulling go  06:47:38 + docker inspect -f . ci-base-image-arm64 06:47:38 . [Pipeline] withDockerContainer 06:47:38 prd-ubuntu18.04-docker-arm64-4c-16g-10073 does not seem to be running inside a container 06:47:38 $ 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 06:47:39 'device-modbus' has dependencies that need to be staged: go 06:47:39 Skipping pull go (already ran) 06:47:39 Building go  06:47:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:39 Dload Upload Total Spent Left Speed 06:47:40 $ docker top 9e7d0ae3b9bba93705fad0669d78772d03f342f14361f77c9e8c5f7334b4263e -eo pid,comm 06:47:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 27 115M 27 31.2M 0 0 48.4M 0 0:00:02 --:--:-- 0:00:02 48.4M 80 115M 80 93.3M 0 0 56.6M 0 0:00:02 0:00:01 0:00:01 56.6M 100 115M 100 115M 0 0 58.5M 0 0:00:01 0:00:01 --:--:-- 58.5M [Pipeline] { [Pipeline] sh 06:47:42 go1.15.2.linux-amd64.tar.gz: OK 06:47:42 + make test 06:47:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:47:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:47:52 Staging go  06:47:52 Pulling device-modbus  06:47:53 Skipping build go (already ran) 06:47:53 Building device-modbus  06:47:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:47:54 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.35 06:47:54 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 06:47:54 go: downloading github.com/goburrow/modbus v0.1.0 06:47:54 go: downloading github.com/goburrow/serial v0.1.0 06:47:54 go: downloading github.com/gorilla/mux v1.7.1 06:47:54 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 06:47:54 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 06:47:54 go: downloading github.com/go-kit/kit v0.8.0 06:47:54 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 06:47:54 go: downloading github.com/OneOfOne/xxhash v1.2.8 06:47:54 go: downloading github.com/google/uuid v1.1.2 06:47:54 go: downloading gopkg.in/yaml.v2 v2.3.0 06:47:54 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 06:47:54 go: downloading github.com/hashicorp/consul/api v1.1.0 06:47:54 go: downloading github.com/BurntSushi/toml v0.3.1 06:47:54 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 06:47:54 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 06:47:54 go: downloading github.com/pkg/errors v0.8.1 06:47:54 go: downloading github.com/go-playground/validator/v10 v10.3.0 06:47:54 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:47:54 go: downloading github.com/pelletier/go-toml v1.2.0 06:47:54 go: downloading github.com/x448/float16 v0.8.4 06:47:54 go: downloading github.com/hashicorp/serf v0.8.2 06:47:54 go: downloading github.com/mitchellh/mapstructure v1.1.2 06:47:54 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 06:47:54 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 06:47:54 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 06:47:54 go: downloading github.com/mitchellh/copystructure v1.0.0 06:47:54 go: downloading github.com/leodido/go-urn v1.2.0 06:47:54 go: downloading github.com/go-playground/universal-translator v0.17.0 06:47:54 go: downloading github.com/go-logfmt/logfmt v0.4.0 06:47:54 go: downloading github.com/mitchellh/reflectwalk v1.0.0 06:47:54 go: downloading github.com/go-playground/locales v0.13.0 06:47:54 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:47:54 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 06:47:55 go: downloading github.com/hashicorp/golang-lru v0.5.1 06:48:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:48:08 Skipping stage go (already ran) 06:48:08 Staging device-modbus  06:48:09 Priming go  06:48:11 Priming device-modbus  06:48:12 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 06:48:12 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 06:48:12 Determining the version from the project repo (version-script). 06:48:12 The version has been set to 'local-dev-20201102+03c33b8' 06:48:13 Snapping | Snapping / Snapping - Snapping \ Snapping | 06:48:13 Snapped edgex-device-modbus_local-dev-20201102+03c33b8_amd64.snap [Pipeline] } 06:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:48:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:48:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.452s coverage: 50.3% of statements 06:48:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:48:29 gofmt -l . 06:48:30 [ "`gofmt -l .`" = "" ] 06:48:30 ./bin/test-attribution-txt.sh 06:48:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:48:31 $ docker stop --time=1 9e7d0ae3b9bba93705fad0669d78772d03f342f14361f77c9e8c5f7334b4263e 06:48:34 $ docker rm -f 9e7d0ae3b9bba93705fad0669d78772d03f342f14361f77c9e8c5f7334b4263e [Pipeline] // withDockerContainer [Pipeline] sh 06:48:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:48:35 Warning: overwriting stash ‘coverage-report’ 06:48:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:48:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:48:37 + ls -al . 06:48:37 total 136 06:48:37 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 06:48 . 06:48:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:45 .. 06:48:37 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 06:45 .dockerignore 06:48:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:46 .git 06:48:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 .github 06:48:37 -rw-rw-r-- 1 jenkins jenkins 338 Nov 2 06:45 .gitignore 06:48:37 -rw-rw-r-- 1 jenkins jenkins 5589 Nov 2 06:45 Attribution.txt 06:48:37 -rw-rw-r-- 1 jenkins jenkins 1430 Nov 2 06:45 Dockerfile 06:48:37 -rw-rw-r-- 1 jenkins jenkins 954 Nov 2 06:45 Dockerfile.build 06:48:37 -rw-rw-r-- 1 jenkins jenkins 679 Nov 2 06:45 Jenkinsfile 06:48:37 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:45 LICENSE 06:48:37 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 06:45 Makefile 06:48:37 -rw-rw-r-- 1 jenkins jenkins 591 Nov 2 06:45 README.md 06:48:37 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:42 VERSION 06:48:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 bin 06:48:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:45 cmd 06:48:37 -rw-r--r-- 1 jenkins jenkins 22364 Nov 2 06:48 coverage.out 06:48:37 -rw-r--r-- 1 jenkins jenkins 524 Nov 2 06:48 go.mod 06:48:37 -rw-r--r-- 1 jenkins jenkins 14657 Nov 2 06:48 go.sum 06:48:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:45 internal 06:48:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 simulator 06:48:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:45 snap 06:48:37 -rw-rw-r-- 1 jenkins jenkins 229 Nov 2 06:45 version.go [Pipeline] isUnix [Pipeline] sh 06:48:38 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=03c33b893f328ddb84741149c3a0c5542c0f75aa --label arch=arm64 --label version=0.0.0 . 06:48:38 Sending build context to Docker daemon 538.1kB 06:48:38 Step 1/20 : ARG BASE=golang:1.15-alpine 06:48:38 Step 2/20 : FROM ${BASE} AS builder 06:48:38 ---> 9b4bb90307de 06:48:38 Step 3/20 : ARG MAKE='make build' 06:48:38 ---> Running in 58f36305c860 06:48:39 Removing intermediate container 58f36305c860 06:48:39 ---> 12b929c6b14f 06:48:39 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:39 ---> Running in f69c371eded5 06:48:42 Removing intermediate container f69c371eded5 06:48:42 ---> 9ed5bcf54791 06:48:42 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:48:42 ---> Running in 01f530f244ba 06:48:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:48:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:48:47 OK: 221 MiB in 53 packages 06:48:48 Removing intermediate container 01f530f244ba 06:48:48 ---> 13c340a8d402 06:48:48 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:48:48 ---> Running in 996c0d794d3c 06:48:49 Removing intermediate container 996c0d794d3c 06:48:49 ---> 1e3ba35b0c0d 06:48:49 Step 7/20 : COPY . . 06:48:50 ---> a443b005d92a 06:48:50 Step 8/20 : RUN ${MAKE} 06:48:50 ---> Running in 7cf6854a4cc2 06:48:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:49:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:49:26 Removing intermediate container 7cf6854a4cc2 06:49:26 ---> 9d29355fa0dd 06:49:26 Step 9/20 : FROM scratch 06:49:26 ---> 06:49:26 Step 10/20 : ENV APP_PORT=49991 06:49:26 ---> Running in 43f7067894e9 06:49:27 Removing intermediate container 43f7067894e9 06:49:27 ---> ef848d541958 06:49:27 Step 11/20 : EXPOSE $APP_PORT 06:49:27 ---> Running in 8f3322c8368c 06:49:27 Removing intermediate container 8f3322c8368c 06:49:27 ---> c9f5aecda3e9 06:49:27 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:49:29 ---> 17283f08a718 06:49:29 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:49:29 ---> 275c4901325b 06:49:29 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:49:30 ---> 40d146cf32e5 06:49:30 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:49:30 ---> Running in 7ac80eb506a0 06:49:31 Removing intermediate container 7ac80eb506a0 06:49:31 ---> 8a025cf293f9 06:49:31 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:49:31 ---> Running in 486fd39d52cc 06:49:31 Removing intermediate container 486fd39d52cc 06:49:31 ---> a3cab2c68050 06:49:31 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:49:31 ---> Running in 7f3246d5bba5 06:49:32 Removing intermediate container 7f3246d5bba5 06:49:32 ---> f2c6efc81c0e 06:49:32 Step 18/20 : LABEL arch=arm64 06:49:32 ---> Running in 529e8a604c6c 06:49:33 Removing intermediate container 529e8a604c6c 06:49:33 ---> ea449a9d053b 06:49:33 Step 19/20 : LABEL git_sha=03c33b893f328ddb84741149c3a0c5542c0f75aa 06:49:33 ---> Running in 79e3225339e0 06:49:33 Removing intermediate container 79e3225339e0 06:49:33 ---> c3b57a46f6d2 06:49:33 Step 20/20 : LABEL version=0.0.0 06:49:33 ---> Running in b90df86def2f 06:49:34 Removing intermediate container b90df86def2f 06:49:34 ---> d376bb852833 06:49:34 [Warning] One or more build-args [ARCH] were not consumed 06:49:34 Successfully built d376bb852833 06:49:34 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 06:49:50 Still waiting to schedule task 06:49:50 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 06:55:39 Running on prd-ubuntu18.04-docker-arm64-16c-16g-10285 in /w/workspace/xfoundry_device-modbus-go_PR-186 [Pipeline] { [Pipeline] ws 06:55:39 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:55:44 using credential edgex-jenkins-ssh 06:55:44 Cloning the remote Git repository 06:55:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:55:44 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:55:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:55:44 > git --version # timeout=10 06:55:44 > git --version # 'git version 2.17.1' 06:55:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:55:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:55:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:55:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:55:46 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 03c33b893f328ddb84741149c3a0c5542c0f75aa 06:55:46 Merge succeeded, producing 03c33b893f328ddb84741149c3a0c5542c0f75aa 06:55:46 Checking out Revision 03c33b893f328ddb84741149c3a0c5542c0f75aa (PR-186) 06:55:46 > git config core.sparsecheckout # timeout=10 06:55:46 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 06:55:46 > git remote # timeout=10 06:55:46 > git config --get remote.origin.url # timeout=10 06:55:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:46 > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 06:55:46 > git rev-parse HEAD^{commit} # timeout=10 06:55:46 > git config core.sparsecheckout # timeout=10 06:55:46 > git checkout -f 03c33b893f328ddb84741149c3a0c5542c0f75aa # timeout=10 06:55:50 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" 06:55:50 > git --version # timeout=10 06:55:50 > git --version # 'git version 2.17.1' 06:55:50 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:52 + find /w/workspace/device-modbus-go/1 06:55:52 + grep snapcraft.yaml 06:55:52 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:52 provisioning config files... 06:55:52 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config2334819079429973553tmp [Pipeline] { [Pipeline] sh 06:55:53 + cp /w/workspace/device-modbus-go/1@tmp/config2334819079429973553tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 06:55:53 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 06:55:54 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 06:55:54 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 06:55:54 237528ba509b: Pulling fs layer 06:55:54 393b96f31d8b: Pulling fs layer 06:55:54 4d82b0e39008: Pulling fs layer 06:55:54 e7ca375b8d34: Pulling fs layer 06:55:54 418f656485bb: Pulling fs layer 06:55:54 aebe8db9254c: Pulling fs layer 06:55:54 4f5f7b207d3f: Pulling fs layer 06:55:54 d19ca6af091a: Pulling fs layer 06:55:54 16b5a0711add: Pulling fs layer 06:55:54 418f656485bb: Waiting 06:55:54 d19ca6af091a: Waiting 06:55:54 aebe8db9254c: Waiting 06:55:54 4f5f7b207d3f: Waiting 06:55:54 4d82b0e39008: Verifying Checksum 06:55:54 4d82b0e39008: Download complete 06:55:54 393b96f31d8b: Verifying Checksum 06:55:54 393b96f31d8b: Download complete 06:55:54 e7ca375b8d34: Download complete 06:55:54 aebe8db9254c: Verifying Checksum 06:55:54 aebe8db9254c: Download complete 06:55:54 4f5f7b207d3f: Download complete 06:55:54 d19ca6af091a: Download complete 06:55:54 16b5a0711add: Download complete 06:55:58 237528ba509b: Verifying Checksum 06:55:58 237528ba509b: Download complete 06:56:00 237528ba509b: Pull complete 06:56:01 393b96f31d8b: Pull complete 06:56:01 4d82b0e39008: Pull complete 06:56:01 e7ca375b8d34: Pull complete 06:56:16 418f656485bb: Verifying Checksum 06:56:16 418f656485bb: Download complete 06:56:55 418f656485bb: Pull complete 06:56:56 aebe8db9254c: Pull complete 06:56:56 4f5f7b207d3f: Pull complete 06:56:57 d19ca6af091a: Pull complete 06:56:57 16b5a0711add: Pull complete 06:56:57 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 06:56:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 06:57:02 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 06:57:02 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 06:57:02 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 06:57:02 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 06:57:03 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 06:57:03 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] 06:57:03 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 06:57:03 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1861 kB] 06:57:03 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 06:57:03 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 06:57:03 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 06:57:03 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1036 kB] 06:57:03 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1179 kB] 06:57:04 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 06:57:04 Fetched 5774 kB in 3s (2296 kB/s) 06:57:09 Reading package lists... 06:57:21 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 06:57:21 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 06:57:21 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 06:57:21 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 06:57:26 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 10% Reading package lists... 31% Reading package lists... 53% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 72% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% 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 06:57:33 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 06:57:37 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... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 88% 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 06:57:38 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 59% Building dependency tree 06:57:38 Reading state information... 0% Reading state information... 0% Reading state information... Done 06:57:38 The following packages were automatically installed and are no longer required: 06:57:38 libjq1 libonig4 06:57:38 Use 'sudo apt autoremove' to remove them. 06:57:38 Suggested packages: 06:57:38 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 06:57:38 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 06:57:38 diffutils-doc perl-doc libterm-readline-gnu-perl 06:57:38 | libterm-readline-perl-perl 06:57:39 The following NEW packages will be installed: 06:57:39 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 06:57:39 libperl5.26 make netbase patch perl perl-modules-5.26 06:57:39 The following packages will be upgraded: 06:57:39 perl-base 06:57:39 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. 06:57:39 Need to get 12.0 MB of archives. 06:57:39 After this operation, 73.6 MB of additional disk space will be used. 06:57:39 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-base arm64 5.26.1-6ubuntu0.5 [1237 kB] 06:57:40 0% [1 perl-base 12.6 kB/1237 kB 1%] 4% [1 perl-base 621 kB/1237 kB 50%] 10% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 06:57:40 10% [2 perl-modules-5.26 7382 B/2762 kB 0%] 29% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 06:57:40 29% [3 libgdbm5 23.1 kB/23.1 kB 100%] 31% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 06:57:40 31% [4 libgdbm-compat4 0 B/5536 B 0%] 32% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.5 [3335 kB] 06:57:40 32% [5 libperl5.26 24.6 kB/3335 kB 1%] 56% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.5 [201 kB] 06:57:40 56% [6 perl 41.1 kB/201 kB 20%] 58% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 06:57:40 59% [7 less 36.0 kB/99.7 kB 36%] 60% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 06:57:40 60% [8 netbase 12.7 kB/12.7 kB 100%] 62% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 06:57:40 62% [9 curl 54.1 kB/152 kB 36%] 64% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 06:57:40 64% [10 libcurl3-gnutls 32.8 kB/179 kB 18%] 67% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 06:57:40 67% [11 liberror-perl 16.4 kB/22.8 kB 72%] 68% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 06:57:40 68% [12 git-man 4096 B/804 kB 1%] 75% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 06:57:40 75% [13 git 49.2 kB/2952 kB 2%] 96% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 06:57:40 96% [14 make 65.5 kB/139 kB 47%] 98% [Working] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 06:57:40 98% [15 patch 61.4 kB/91.8 kB 67%] 100% [Working] Fetched 12.0 MB in 1s (8381 kB/s) 06:57:41 debconf: delaying package configuration, since apt-utils is not installed 06:57:41 (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.) 06:57:41 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... 06:57:41 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 06:57:46 Setting up perl-base (5.26.1-6ubuntu0.5) ... 06:57:46 Selecting previously unselected package perl-modules-5.26. 06:57:46 (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.) 06:57:46 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 06:57:46 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:57:47 Selecting previously unselected package libgdbm5:arm64. 06:57:47 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 06:57:47 Unpacking libgdbm5:arm64 (1.14.1-6) ... 06:57:48 Selecting previously unselected package libgdbm-compat4:arm64. 06:57:48 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 06:57:48 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 06:57:48 Selecting previously unselected package libperl5.26:arm64. 06:57:48 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... 06:57:48 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 06:57:49 Selecting previously unselected package perl. 06:57:49 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... 06:57:49 Unpacking perl (5.26.1-6ubuntu0.5) ... 06:57:49 Selecting previously unselected package less. 06:57:49 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 06:57:49 Unpacking less (487-0.1) ... 06:57:50 Selecting previously unselected package netbase. 06:57:50 Preparing to unpack .../06-netbase_5.4_all.deb ... 06:57:50 Unpacking netbase (5.4) ... 06:57:50 Selecting previously unselected package curl. 06:57:50 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 06:57:50 Unpacking curl (7.58.0-2ubuntu3.10) ... 06:57:50 Selecting previously unselected package libcurl3-gnutls:arm64. 06:57:50 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 06:57:50 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 06:57:50 Selecting previously unselected package liberror-perl. 06:57:50 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 06:57:50 Unpacking liberror-perl (0.17025-1) ... 06:57:50 Selecting previously unselected package git-man. 06:57:50 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 06:57:50 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 06:57:50 Selecting previously unselected package git. 06:57:50 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 06:57:50 Unpacking git (1:2.17.1-1ubuntu0.7) ... 06:57:52 Selecting previously unselected package make. 06:57:52 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 06:57:52 Unpacking make (4.1-9.1ubuntu1) ... 06:57:52 Selecting previously unselected package patch. 06:57:52 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 06:57:52 Unpacking patch (2.7.6-2ubuntu1.1) ... 06:57:52 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 06:57:52 Setting up less (487-0.1) ... 06:57:52 Setting up make (4.1-9.1ubuntu1) ... 06:57:52 Setting up curl (7.58.0-2ubuntu3.10) ... 06:57:52 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 06:57:52 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:57:52 Setting up libgdbm5:arm64 (1.14.1-6) ... 06:57:52 Setting up patch (2.7.6-2ubuntu1.1) ... 06:57:52 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 06:57:53 Setting up netbase (5.4) ... 06:57:53 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 06:57:53 Setting up perl (5.26.1-6ubuntu0.5) ... 06:57:53 Setting up liberror-perl (0.17025-1) ... 06:57:53 Setting up git (1:2.17.1-1ubuntu0.7) ... 06:57:53 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 06:57:53 Processing triggers for mime-support (3.60ubuntu1) ... 06:57:58 curl set to automatically installed. 06:57:58 git set to automatically installed. 06:57:58 git-man set to automatically installed. 06:57:59 less set to automatically installed. 06:57:59 libcurl3-gnutls set to automatically installed. 06:57:59 liberror-perl set to automatically installed. 06:57:59 libgdbm-compat4 set to automatically installed. 06:57:59 libgdbm5 set to automatically installed. 06:57:59 libperl5.26 set to automatically installed. 06:57:59 make set to automatically installed. 06:57:59 netbase set to automatically installed. 06:57:59 patch set to automatically installed. 06:57:59 perl set to automatically installed. 06:57:59 perl-base set to automatically installed. 06:57:59 perl-modules-5.26 set to automatically installed. 06:57:59 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 06:57:59 Please ensure the environment is properly setup before continuing. 06:57:59 Ignore this message if the appropriate measures have already been taken 06:58:00 Pulling go  06:58:03 'device-modbus' has dependencies that need to be staged: go 06:58:03 Skipping pull go (already ran) 06:58:03 Building go  06:58:03 % Total % Received % Xferd Average Speed Time Time Time Current 06:58:03 Dload Upload Total Spent Left Speed 06:58:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 93.2M 2 2255k 0 0 9023k 0 0:00:10 --:--:-- 0:00:10 9023k 50 93.2M 50 46.8M 0 0 37.0M 0 0:00:02 0:00:01 0:00:01 37.0M 97 93.2M 97 90.5M 0 0 40.2M 0 0:00:02 0:00:02 --:--:-- 40.2M 100 93.2M 100 93.2M 0 0 40.6M 0 0:00:02 0:00:02 --:--:-- 40.6M 06:58:07 go1.15.2.linux-arm64.tar.gz: OK 06:58:25 Staging go  06:58:27 Pulling device-modbus  06:58:31 Skipping build go (already ran) 06:58:31 Building device-modbus  06:58:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:58:32 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.35 06:58:32 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 06:58:32 go: downloading github.com/goburrow/modbus v0.1.0 06:58:32 go: downloading github.com/goburrow/serial v0.1.0 06:58:32 go: downloading github.com/gorilla/mux v1.7.1 06:58:32 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 06:58:32 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 06:58:32 go: downloading gopkg.in/yaml.v2 v2.3.0 06:58:32 go: downloading github.com/go-kit/kit v0.8.0 06:58:32 go: downloading github.com/OneOfOne/xxhash v1.2.8 06:58:32 go: downloading github.com/go-playground/validator/v10 v10.3.0 06:58:32 go: downloading github.com/hashicorp/consul/api v1.1.0 06:58:32 go: downloading github.com/pkg/errors v0.8.1 06:58:32 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 06:58:32 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 06:58:32 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 06:58:32 go: downloading github.com/BurntSushi/toml v0.3.1 06:58:32 go: downloading github.com/pelletier/go-toml v1.2.0 06:58:32 go: downloading github.com/google/uuid v1.1.2 06:58:32 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 06:58:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:58:32 go: downloading github.com/x448/float16 v0.8.4 06:58:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 06:58:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 06:58:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 06:58:32 go: downloading github.com/hashicorp/serf v0.8.2 06:58:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 06:58:32 go: downloading github.com/mitchellh/copystructure v1.0.0 06:58:32 go: downloading github.com/leodido/go-urn v1.2.0 06:58:32 go: downloading github.com/go-playground/universal-translator v0.17.0 06:58:32 go: downloading github.com/mitchellh/reflectwalk v1.0.0 06:58:32 go: downloading github.com/go-playground/locales v0.13.0 06:58:32 go: downloading github.com/go-logfmt/logfmt v0.4.0 06:58:32 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:58:33 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 06:58:33 go: downloading github.com/hashicorp/golang-lru v0.5.1 06:58:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:59:06 Skipping stage go (already ran) 06:59:06 Staging device-modbus  06:59:09 Priming go  06:59:13 Priming device-modbus  06:59:16 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 06:59:16 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 06:59:16 Determining the version from the project repo (version-script). 06:59:16 The version has been set to 'local-dev-20201102+03c33b8' 06:59:17 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 06:59:17 Snapped edgex-device-modbus_local-dev-20201102+03c33b8_arm64.snap [Pipeline] } 06:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:59:22 provisioning config files... 06:59:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-186@tmp/config6426535498375905291tmp [Pipeline] { [Pipeline] sh 06:59:23 + set +x 06:59:23 + curl -s https://codecov.io/bash 06:59:23 + bash -s -- 06:59:23 06:59:23 _____ _ 06:59:23 / ____| | | 06:59:23 | | ___ __| | ___ ___ _____ __ 06:59:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:59:23 | |___| (_) | (_| | __/ (_| (_) \ V / 06:59:23 \_____\___/ \__,_|\___|\___\___/ \_/ 06:59:23 Bash-20201009-048fee3 06:59:23 06:59:23 06:59:23 ==> Jenkins CI detected. 06:59:23 project root: . 06:59:23 --> token set from env 06:59:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:59:23 ==> Running gcov in . (disable via -X gcov) 06:59:23 ==> Python coveragepy not found 06:59:23 ==> Searching for coverage reports in: 06:59:23 + . 06:59:23 -> Found 1 reports 06:59:23 ==> Detecting git/mercurial file structure 06:59:23 ==> Reading reports 06:59:23 + ./coverage.out bytes=22364 06:59:23 ==> Appending adjustments 06:59:23 https://docs.codecov.io/docs/fixing-reports 06:59:23 + Found adjustments 06:59:23 ==> Gzipping contents 06:59:23 ==> Uploading reports 06:59:23 url: https://codecov.io 06:59:23 query: branch=PR-186&commit=03c33b893f328ddb84741149c3a0c5542c0f75aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=186&job=&cmd_args= 06:59:23 -> Pinging Codecov 06:59:23 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-186&commit=03c33b893f328ddb84741149c3a0c5542c0f75aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=186&job=&cmd_args= 06:59:23 -> Uploading to 06:59:23 06:59:23 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:23 Dload Upload Total Spent Left Speed 06:59:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:59:24 X> Failed to upload 06:59:24 ==> Uploading to Codecov 06:59:24 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:24 Dload Upload Total Spent Left Speed 06:59:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4282 100 113 100 4169 201 7416 --:--:-- --:--:-- --:--:-- 7431 06:59:24 View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/03c33b893f328ddb84741149c3a0c5542c0f75aa [Pipeline] } 06:59:24 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] { (Archive Prep) Stage "Archive Prep" 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 06:59:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:59:29 ---> package-listing.sh 06:59:29 ++ facter osfamily 06:59:29 ++ tr '[:upper:]' '[:lower:]' 06:59:29 + OS_FAMILY=redhat 06:59:29 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-186 06:59:29 + START_PACKAGES=/tmp/packages_start.txt 06:59:29 + END_PACKAGES=/tmp/packages_end.txt 06:59:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:59:29 + PACKAGES=/tmp/packages_start.txt 06:59:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-186 ']' 06:59:29 + PACKAGES=/tmp/packages_end.txt 06:59:29 + case "${OS_FAMILY}" in 06:59:29 + rpm -qa 06:59:29 + sort 06:59:33 + '[' -f /tmp/packages_start.txt ']' 06:59:33 + '[' -f /tmp/packages_end.txt ']' 06:59:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:59:33 + '[' /w/workspace/xfoundry_device-modbus-go_PR-186 ']' 06:59:33 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-186/archives/ 06:59:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-186/archives/ [Pipeline] echo 06:59:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:59:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:59:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:34 06:59:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:59:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:34 alpine: Pulling from edgex-lftools-log-publisher 06:59:34 df20fa9351a1: Already exists 06:59:34 36b3adc4ff6f: Pulling fs layer 06:59:34 8ad3a11d3b57: Pulling fs layer 06:59:34 46f8f816bc3b: Pulling fs layer 06:59:34 93b61091891f: Pulling fs layer 06:59:34 93b9cdb0e59b: Pulling fs layer 06:59:34 5e14af77c1be: Pulling fs layer 06:59:34 01666e4c0597: Pulling fs layer 06:59:34 aa168da1d23b: Pulling fs layer 06:59:34 93b61091891f: Waiting 06:59:34 93b9cdb0e59b: Waiting 06:59:34 5e14af77c1be: Waiting 06:59:34 01666e4c0597: Waiting 06:59:34 aa168da1d23b: Waiting 06:59:34 46f8f816bc3b: Verifying Checksum 06:59:34 46f8f816bc3b: Download complete 06:59:34 36b3adc4ff6f: Verifying Checksum 06:59:34 36b3adc4ff6f: Download complete 06:59:34 93b9cdb0e59b: Download complete 06:59:34 5e14af77c1be: Verifying Checksum 06:59:34 5e14af77c1be: Download complete 06:59:34 01666e4c0597: Verifying Checksum 06:59:34 01666e4c0597: Download complete 06:59:34 93b61091891f: Verifying Checksum 06:59:34 93b61091891f: Download complete 06:59:35 36b3adc4ff6f: Pull complete 06:59:35 8ad3a11d3b57: Verifying Checksum 06:59:35 8ad3a11d3b57: Download complete 06:59:35 8ad3a11d3b57: Pull complete 06:59:35 46f8f816bc3b: Pull complete 06:59:36 aa168da1d23b: Verifying Checksum 06:59:36 aa168da1d23b: Download complete 06:59:36 93b61091891f: Pull complete 06:59:37 93b9cdb0e59b: Pull complete 06:59:37 5e14af77c1be: Pull complete 06:59:37 01666e4c0597: Pull complete 06:59:44 aa168da1d23b: Pull complete 06:59:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:59:44 prd-centos7-docker-4c-2g-10059 does not seem to be running inside a container 06:59:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-186 -v /w/workspace/xfoundry_device-modbus-go_PR-186:/w/workspace/xfoundry_device-modbus-go_PR-186:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-186@tmp:/w/workspace/xfoundry_device-modbus-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:59:47 $ docker top 07488bed5d0cae81fc9468572f7908e0db362bb00474bf41945efba24008ec7d -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:48 + touch /tmp/pre-build-complete [Pipeline] sh 06:59:48 + mkdir -p /var/log/sa [Pipeline] sh 06:59:48 + ls /var/log/sa-host 06:59:48 + sadf -c /var/log/sa-host/sa02 06:59:48 file_magic: OK 06:59:48 HZ: Using current value: 100 06:59:48 file_header: OK 06:59:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:59:48 Statistics: 06:59:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:59:48 File successfully converted to sysstat format version 12.2.1 06:59:48 + sadf -c /var/log/sa-host/sa05 06:59:48 file_magic: OK 06:59:48 HZ: Using current value: 100 06:59:48 file_header: OK 06:59:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:59:48 Statistics: 06:59:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:59:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:49 provisioning config files... 06:59:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-186@tmp/config1892274525024778128tmp [Pipeline] { [Pipeline] echo 06:59:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:59:49 ---> create-netrc.sh [Pipeline] } 06:59:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:59:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:59:50 ---> python-tools-install.sh [Pipeline] echo 06:59:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:59:50 ---> sudo-logs.sh 06:59:50 Archiving 'sudo' log.. [Pipeline] echo 06:59:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:59:50 ---> job-cost.sh 06:59:50 lf-activate-venv: SKIPPING 06:59:50 INFO: No Stack... 06:59:51 INFO: Retrieving Pricing Info for: v1-standard-2 06:59:52 INFO: Archiving Costs [Pipeline] echo 06:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:59:52 ---> logs-deploy.sh 06:59:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-186/1 06:59:52 INFO: archiving workspace using pattern(s): 06:59:54 Archives upload complete. 06:59:54 INFO: archiving logs to Nexus 06:59:55 ---> uname -a: 06:59:55 Linux prd-centos7-docker-4c-2g-10059.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:59:55 06:59:55 06:59:55 ---> lscpu: 06:59:55 Architecture: x86_64 06:59:55 CPU op-mode(s): 32-bit, 64-bit 06:59:55 Byte Order: Little Endian 06:59:55 Address sizes: 40 bits physical, 48 bits virtual 06:59:55 CPU(s): 4 06:59:55 On-line CPU(s) list: 0-3 06:59:55 Thread(s) per core: 1 06:59:55 Core(s) per socket: 1 06:59:55 Socket(s): 4 06:59:55 NUMA node(s): 1 06:59:55 Vendor ID: GenuineIntel 06:59:55 CPU family: 6 06:59:55 Model: 44 06:59:55 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:59:55 Stepping: 1 06:59:55 CPU MHz: 2933.442 06:59:55 BogoMIPS: 5866.88 06:59:55 Virtualization: VT-x 06:59:55 Hypervisor vendor: KVM 06:59:55 Virtualization type: full 06:59:55 L1d cache: 128 KiB 06:59:55 L1i cache: 128 KiB 06:59:55 L2 cache: 16 MiB 06:59:55 L3 cache: 64 MiB 06:59:55 NUMA node0 CPU(s): 0-3 06:59:55 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:59:55 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:59:55 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:59:55 Vulnerability Meltdown: Mitigation; PTI 06:59:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:59:55 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:59:55 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:59:55 Vulnerability Tsx async abort: Not affected 06:59:55 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 06:59:55 06:59:55 06:59:55 ---> nproc: 06:59:55 4 06:59:55 06:59:55 06:59:55 ---> df -h: 06:59:55 Filesystem Size Used Available Use% Mounted on 06:59:55 overlay 50.0G 7.6G 42.4G 15% / 06:59:55 tmpfs 64.0M 0 64.0M 0% /dev 06:59:55 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:59:55 shm 64.0M 0 64.0M 0% /dev/shm 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /facter-os 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /etc/resolv.conf 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /etc/hostname 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /etc/hosts 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /var/log/sa-host 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /var/log/secure 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /var/log/auth.log 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /run/cloud-init/result.json 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /w/workspace/xfoundry_device-modbus-go_PR-186 06:59:55 /dev/vda1 50.0G 7.6G 42.4G 15% /w/workspace/xfoundry_device-modbus-go_PR-186@tmp 06:59:55 06:59:55 06:59:55 ---> free -m: 06:59:55 total used free shared buff/cache available 06:59:55 Mem: 1837 735 153 0 948 1013 06:59:55 Swap: 1023 1 1022 06:59:55 06:59:55 06:59:55 ---> ip addr: 06:59:55 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:59:55 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:59:55 inet 127.0.0.1/8 scope host lo 06:59:55 valid_lft forever preferred_lft forever 06:59:55 inet6 ::1/128 scope host 06:59:55 valid_lft forever preferred_lft forever 06:59:55 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:59:55 link/ether fa:16:3e:14:6f:4c brd ff:ff:ff:ff:ff:ff 06:59:55 inet 10.30.123.159/23 brd 10.30.123.255 scope global dynamic eth0 06:59:55 valid_lft 85305sec preferred_lft 85305sec 06:59:55 inet6 fe80::f816:3eff:fe14:6f4c/64 scope link 06:59:55 valid_lft forever preferred_lft forever 06:59:55 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:59:55 link/ether 02:42:4f:de:cb:12 brd ff:ff:ff:ff:ff:ff 06:59:55 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:59:55 valid_lft forever preferred_lft forever 06:59:55 inet6 fe80::42:4fff:fede:cb12/64 scope link 06:59:55 valid_lft forever preferred_lft forever 06:59:55 06:59:55 06:59:55 ---> sar -b -r -n DEV: 06:59:55 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/02/20 _x86_64_ (4 CPU) 06:59:55 06:59:55 06:41:20 LINUX RESTART (4 CPU) 06:59:55 06:59:55 06:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:59:55 06:43:01 205.67 80.76 124.91 0.00 8305.60 27354.05 0.00 06:59:55 06:44:01 168.99 61.40 107.59 0.00 2953.34 16307.54 0.00 06:59:55 06:45:01 165.65 95.39 70.26 0.00 3714.43 5543.37 0.00 06:59:55 06:46:02 0.20 0.00 0.20 0.00 0.00 2.96 0.00 06:59:55 06:47:01 0.30 0.02 0.29 0.00 0.54 4.69 0.00 06:59:55 06:48:01 0.45 0.18 0.27 0.00 88.61 3.51 0.00 06:59:55 06:49:01 0.23 0.03 0.20 0.00 0.67 2.02 0.00 06:59:55 06:50:01 0.28 0.00 0.28 0.00 0.00 3.11 0.00 06:59:55 06:51:01 0.27 0.00 0.27 0.00 0.00 2.58 0.00 06:59:55 06:52:01 0.28 0.00 0.28 0.00 0.00 3.08 0.00 06:59:55 06:53:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 06:59:55 06:54:01 0.15 0.00 0.15 0.00 0.00 2.02 0.00 06:59:55 06:55:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 06:59:55 06:56:01 0.22 0.00 0.22 0.00 0.00 3.10 0.00 06:59:55 06:57:01 0.72 0.45 0.27 0.00 30.77 3.80 0.00 06:59:55 06:58:01 0.75 0.02 0.73 0.00 0.53 13.82 0.00 06:59:55 06:59:01 0.28 0.00 0.28 0.00 0.00 3.23 0.00 06:59:55 Average: 32.12 14.04 18.08 0.00 889.64 2903.30 0.00 06:59:55 06:59:55 06:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:59:55 06:43:01 151880 0 670248 35.62 2620 1056808 1441016 49.18 456188 1072468 44 06:59:55 06:44:01 191128 0 713196 37.90 2596 974636 1763780 60.19 486320 971360 20 06:59:55 06:45:01 245412 0 658044 34.97 2596 975504 1111504 37.93 543936 868796 20 06:59:55 06:46:02 248728 0 654728 34.80 2596 975504 1099948 37.54 542092 867732 20 06:59:55 06:47:01 249588 0 653860 34.75 2596 975512 1090504 37.22 543452 866540 8 06:59:55 06:48:01 244368 0 656432 34.89 2596 978160 1087396 37.11 569212 845776 8 06:59:55 06:49:01 245320 0 655456 34.84 2596 978184 1081228 36.90 572420 841912 8 06:59:55 06:50:01 245204 0 655568 34.84 2596 978188 1081228 36.90 572568 841912 8 06:59:55 06:51:01 244892 0 655872 34.86 2596 978196 1081228 36.90 572704 841912 8 06:59:55 06:52:01 245112 0 655648 34.85 2596 978200 1081228 36.90 570196 844304 8 06:59:55 06:53:01 244720 0 656036 34.87 2596 978204 1081288 36.90 570536 844308 8 06:59:55 06:54:01 244768 0 655980 34.86 2596 978212 1081288 36.90 570556 844304 8 06:59:55 06:55:01 244360 0 656384 34.89 2596 978216 1081372 36.91 563196 852128 20 06:59:55 06:56:01 244168 0 656572 34.90 2596 978220 1081372 36.91 563204 852128 8 06:59:55 06:57:01 243548 0 656472 34.89 2596 978940 1081312 36.90 563856 851784 16 06:59:55 06:58:01 243260 0 656700 34.90 2596 979000 1081372 36.91 564268 851796 16 06:59:55 06:59:01 244104 0 655908 34.86 2596 978948 1081228 36.90 563492 851784 16 06:59:55 Average: 236504 0 660183 35.09 2597 982272 1146370 39.12 552247 871232 14 06:59:55 06:59:55 06:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:59:55 06:43:01 veth988c701 2.10 2.76 0.14 13.71 0.00 0.00 0.00 0.00 06:59:55 06:43:01 eth0 683.29 488.61 3703.85 103.26 0.00 0.00 0.00 0.00 06:59:55 06:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:43:01 docker0 4.26 4.59 0.51 17.54 0.00 0.00 0.00 0.00 06:59:55 06:44:01 eth0 200.60 148.64 823.63 22.11 0.00 0.00 0.00 0.00 06:59:55 06:44:01 vetha974e53 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:44:01 veth228c567 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:45:01 eth0 60.79 45.18 60.00 74.04 0.00 0.00 0.00 0.00 06:59:55 06:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:45:01 docker0 140.57 180.06 9.95 844.16 0.00 0.00 0.00 0.00 06:59:55 06:46:02 eth0 3.65 0.62 0.84 0.43 0.00 0.00 0.00 0.00 06:59:55 06:46:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:46:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:47:01 eth0 1.49 0.80 0.82 0.60 0.00 0.00 0.00 0.00 06:59:55 06:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:48:01 eth0 0.43 0.18 0.15 0.07 0.00 0.00 0.00 0.00 06:59:55 06:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:49:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:59:55 06:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:50:01 eth0 0.23 0.08 0.02 0.01 0.00 0.00 0.00 0.00 06:59:55 06:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:51:01 eth0 0.22 0.08 0.02 0.01 0.00 0.00 0.00 0.00 06:59:55 06:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:52:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:59:55 06:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:53:01 eth0 0.28 0.17 0.09 0.07 0.00 0.00 0.00 0.00 06:59:55 06:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:54:01 eth0 0.32 0.17 0.07 0.01 0.00 0.00 0.00 0.00 06:59:55 06:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:55:01 eth0 4.60 0.37 0.61 0.20 0.00 0.00 0.00 0.00 06:59:55 06:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:56:01 eth0 2.37 0.57 0.63 0.39 0.00 0.00 0.00 0.00 06:59:55 06:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:57:01 eth0 2.41 0.12 0.29 0.07 0.00 0.00 0.00 0.00 06:59:55 06:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:58:01 eth0 1.85 1.05 1.12 0.75 0.00 0.00 0.00 0.00 06:59:55 06:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:59:01 eth0 0.17 0.08 0.01 0.04 0.00 0.00 0.00 0.00 06:59:55 06:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 06:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 Average: eth0 56.76 40.49 270.70 11.91 0.00 0.00 0.00 0.00 06:59:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:55 Average: docker0 8.28 10.61 0.59 49.73 0.00 0.00 0.00 0.00 06:59:55 06:59:55 06:59:55 ---> sar -P ALL: 06:59:55 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/02/20 _x86_64_ (4 CPU) 06:59:55 06:59:55 06:41:20 LINUX RESTART (4 CPU) 06:59:55 06:59:55 06:42:01 CPU %user %nice %system %iowait %steal %idle 06:59:55 06:43:01 all 16.02 0.00 7.66 2.82 0.69 72.81 06:59:55 06:43:01 0 13.04 0.00 8.26 3.53 0.60 74.57 06:59:55 06:43:01 1 17.85 0.00 7.42 1.77 0.73 72.22 06:59:55 06:43:01 2 17.03 0.00 7.40 2.48 0.62 72.47 06:59:55 06:43:01 3 16.16 0.00 7.55 3.49 0.80 72.00 06:59:55 06:44:01 all 5.15 0.00 4.35 4.22 0.19 86.10 06:59:55 06:44:01 0 5.09 0.00 3.64 1.67 0.19 89.41 06:59:55 06:44:01 1 4.97 0.00 4.33 4.31 0.19 86.21 06:59:55 06:44:01 2 5.39 0.00 4.65 4.95 0.24 84.77 06:59:55 06:44:01 3 5.14 0.00 4.79 5.92 0.14 84.01 06:59:55 06:45:01 all 27.49 0.00 8.77 2.53 0.43 60.79 06:59:55 06:45:01 0 26.46 0.00 8.81 1.72 0.46 62.54 06:59:55 06:45:01 1 28.26 0.00 9.12 1.64 0.34 60.63 06:59:55 06:45:01 2 27.81 0.00 8.95 3.50 0.33 59.41 06:59:55 06:45:01 3 27.41 0.00 8.20 3.25 0.58 60.56 06:59:55 06:46:02 all 0.17 0.00 0.04 0.00 0.01 99.78 06:59:55 06:46:02 0 0.07 0.00 0.02 0.00 0.02 99.90 06:59:55 06:46:02 1 0.08 0.00 0.07 0.00 0.02 99.83 06:59:55 06:46:02 2 0.48 0.00 0.05 0.00 0.00 99.47 06:59:55 06:46:02 3 0.03 0.00 0.03 0.00 0.00 99.93 06:59:55 06:47:01 all 0.16 0.00 0.05 0.00 0.00 99.79 06:59:55 06:47:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:59:55 06:47:01 1 0.07 0.00 0.07 0.00 0.00 99.86 06:59:55 06:47:01 2 0.51 0.00 0.05 0.00 0.02 99.42 06:59:55 06:47:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:59:55 06:48:01 all 0.15 0.00 0.06 0.00 0.00 99.78 06:59:55 06:48:01 0 0.03 0.00 0.03 0.02 0.00 99.92 06:59:55 06:48:01 1 0.02 0.00 0.13 0.00 0.00 99.85 06:59:55 06:48:01 2 0.52 0.00 0.03 0.00 0.00 99.45 06:59:55 06:48:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:59:55 06:49:01 all 0.15 0.00 0.06 0.00 0.00 99.80 06:59:55 06:49:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:59:55 06:49:01 1 0.02 0.00 0.13 0.00 0.00 99.85 06:59:55 06:49:01 2 0.50 0.00 0.03 0.00 0.00 99.47 06:59:55 06:49:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:59:55 06:50:01 all 0.07 0.00 0.03 0.00 0.00 99.90 06:59:55 06:50:01 0 0.02 0.00 0.00 0.00 0.00 99.98 06:59:55 06:50:01 1 0.02 0.00 0.02 0.00 0.00 99.97 06:59:55 06:50:01 2 0.17 0.00 0.07 0.00 0.00 99.77 06:59:55 06:50:01 3 0.07 0.00 0.03 0.00 0.00 99.90 06:59:55 06:51:01 all 0.13 0.00 0.04 0.00 0.00 99.83 06:59:55 06:51:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:59:55 06:51:01 1 0.05 0.00 0.05 0.00 0.02 99.88 06:59:55 06:51:01 2 0.38 0.00 0.03 0.00 0.00 99.58 06:59:55 06:51:01 3 0.03 0.00 0.05 0.00 0.00 99.92 06:59:55 06:52:01 all 0.15 0.00 0.03 0.00 0.00 99.81 06:59:55 06:52:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:59:55 06:52:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:59:55 06:52:01 2 0.50 0.00 0.03 0.00 0.02 99.45 06:59:55 06:52:01 3 0.07 0.00 0.05 0.00 0.00 99.88 06:59:55 06:53:01 all 0.15 0.00 0.02 0.00 0.00 99.83 06:59:55 06:53:01 0 0.00 0.00 0.02 0.00 0.00 99.98 06:59:55 06:53:01 1 0.03 0.00 0.02 0.00 0.00 99.95 06:59:55 06:53:01 2 0.53 0.00 0.02 0.00 0.00 99.45 06:59:55 06:53:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:59:55 06:59:55 06:53:01 CPU %user %nice %system %iowait %steal %idle 06:59:55 06:54:01 all 0.17 0.00 0.02 0.00 0.00 99.80 06:59:55 06:54:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:59:55 06:54:01 1 0.07 0.00 0.03 0.00 0.00 99.90 06:59:55 06:54:01 2 0.53 0.00 0.02 0.00 0.00 99.45 06:59:55 06:54:01 3 0.07 0.00 0.03 0.00 0.00 99.90 06:59:55 06:55:01 all 0.17 0.00 0.03 0.00 0.00 99.80 06:59:55 06:55:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:59:55 06:55:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:59:55 06:55:01 2 0.53 0.00 0.03 0.00 0.00 99.43 06:59:55 06:55:01 3 0.07 0.00 0.05 0.00 0.00 99.88 06:59:55 06:56:01 all 0.15 0.00 0.03 0.00 0.00 99.82 06:59:55 06:56:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:59:55 06:56:01 1 0.18 0.00 0.02 0.00 0.00 99.80 06:59:55 06:56:01 2 0.37 0.00 0.03 0.00 0.00 99.60 06:59:55 06:56:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:59:55 06:57:01 all 0.16 0.00 0.05 0.00 0.01 99.78 06:59:55 06:57:01 0 0.03 0.00 0.03 0.00 0.02 99.92 06:59:55 06:57:01 1 0.53 0.00 0.03 0.00 0.00 99.43 06:59:55 06:57:01 2 0.03 0.00 0.08 0.02 0.00 99.87 06:59:55 06:57:01 3 0.03 0.00 0.05 0.00 0.02 99.90 06:59:55 06:58:01 all 0.16 0.00 0.03 0.00 0.00 99.81 06:59:55 06:58:01 0 0.05 0.00 0.03 0.00 0.00 99.92 06:59:55 06:58:01 1 0.50 0.00 0.03 0.00 0.00 99.47 06:59:55 06:58:01 2 0.02 0.00 0.02 0.00 0.00 99.97 06:59:55 06:58:01 3 0.07 0.00 0.05 0.00 0.00 99.88 06:59:55 06:59:01 all 0.08 0.00 0.05 0.00 0.00 99.87 06:59:55 06:59:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:59:55 06:59:01 1 0.23 0.00 0.10 0.00 0.00 99.67 06:59:55 06:59:01 2 0.02 0.00 0.03 0.00 0.00 99.95 06:59:55 06:59:01 3 0.07 0.00 0.03 0.00 0.00 99.90 06:59:55 Average: all 2.92 0.00 1.23 0.55 0.08 95.22 06:59:55 Average: 0 2.59 0.00 1.21 0.40 0.07 95.73 06:59:55 Average: 1 3.06 0.00 1.25 0.45 0.07 95.17 06:59:55 Average: 2 3.19 0.00 1.24 0.63 0.07 94.86 06:59:55 Average: 3 2.84 0.00 1.22 0.73 0.09 95.12 06:59:55 06:59:55 06:59:55