Pull request #184 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82+ba9e6d923d70383f307bed2756b0cea3beca13c3 (301df321b9468aabc1cefa679143270a884072d3) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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-184/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-184/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 f3f382fce060f16c10d6f597981912fab355381a 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-9340 in /w/workspace/xfoundry_device-modbus-go_PR-184 [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-184 # 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 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 Merge succeeded, producing 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 Checking out Revision 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 (PR-184) > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # 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 ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:31:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:31:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:31:17 ========================================================= 01:31:17 EdgeX Global Pipelines Version Info 01:31:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:31:19 ------------------- 01:31:19 stable info: 01:31:19 ------------------- 01:31:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:31:19 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 01:31:19 Message: update stable to v1.0.148 01:31:20 ------------------- 01:31:20 experimental info: 01:31:20 ------------------- 01:31:20 Commited By: **** collab-it+edgex@linuxfoundation.org 01:31:20 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 01:31:20 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:31:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 01:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:31:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:31:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:31:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:31:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:31:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:31:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo 01:31:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo 01:31:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo 01:31:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 [Pipeline] echo 01:31:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d26d0a [Pipeline] echo 01:31:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:26 + git log --format=format:%s -1 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 [Pipeline] echo 01:31:26 GIT_COMMIT: 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82, Commit Message: refactor: Upgrade SDK to v1.2.4-dev.34 [Pipeline] echo 01:31:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:31:28 01:31:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:31:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:31:29 latest: Pulling from edgex-devops/git-semver 01:31:29 31603596830f: Pulling fs layer 01:31:29 2a8b12db71e7: Pulling fs layer 01:31:29 6ca5941a6612: Pulling fs layer 01:31:29 ecc8261a40a4: Pulling fs layer 01:31:29 ecc8261a40a4: Waiting 01:31:29 2a8b12db71e7: Verifying Checksum 01:31:29 2a8b12db71e7: Download complete 01:31:29 31603596830f: Download complete 01:31:29 6ca5941a6612: Verifying Checksum 01:31:29 6ca5941a6612: Download complete 01:31:30 31603596830f: Pull complete 01:31:30 ecc8261a40a4: Verifying Checksum 01:31:30 ecc8261a40a4: Download complete 01:31:30 2a8b12db71e7: Pull complete 01:31:30 6ca5941a6612: Pull complete 01:31:30 ecc8261a40a4: Pull complete 01:31:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:31:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:31:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:31:31 prd-centos7-docker-4c-2g-9340 does not seem to be running inside a container 01:31:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-184 -v /w/workspace/xfoundry_device-modbus-go_PR-184:/w/workspace/xfoundry_device-modbus-go_PR-184:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-184@tmp:/w/workspace/xfoundry_device-modbus-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:31:33 $ docker top d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:31:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:34 [ssh-agent] Looking for ssh-agent implementation... 01:31:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:34 $ docker exec d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 ssh-agent 01:31:34 SSH_AUTH_SOCK=/tmp/ssh-fQva1pQ9iJ8p/agent.11 01:31:34 SSH_AGENT_PID=16 01:31:34 Running ssh-add (command line suppressed) 01:31:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-184@tmp/private_key_5143879475458009738.key (/w/workspace/xfoundry_device-modbus-go_PR-184@tmp/private_key_5143879475458009738.key) 01:31:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:35 + git tag --points-at HEAD [Pipeline] } 01:31:35 $ docker exec --env ******** --env ******** d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 ssh-agent -k 01:31:35 unset SSH_AUTH_SOCK; 01:31:35 unset SSH_AGENT_PID; 01:31:35 echo Agent pid 16 killed; 01:31:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:31:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:35 [ssh-agent] Looking for ssh-agent implementation... 01:31:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:36 $ docker exec d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 ssh-agent 01:31:36 SSH_AUTH_SOCK=/tmp/ssh-NEAnMki2n0l4/agent.46 01:31:36 SSH_AGENT_PID=51 01:31:36 Running ssh-add (command line suppressed) 01:31:36 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-184@tmp/private_key_4839903474399429915.key (/w/workspace/xfoundry_device-modbus-go_PR-184@tmp/private_key_4839903474399429915.key) 01:31:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:36 + git semver init 01:31:36 # -> Open(): unable to determine branch for HEAD 01:31:36 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-184/.git 01:31:36 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-184 01:31:36 # $SEMVER_REMOTE_NAME = origin 01:31:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:31:36 # $SEMVER_USER_NAME = edgex-jenkins 01:31:36 # $SEMVER_BRANCH = PR-184 01:31:36 # $SEMVER_TEMP = /tmp/semver-863324006 01:31:36 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 01:31:37 # '/tmp/semver-863324006' -> '/w/workspace/xfoundry_device-modbus-go_PR-184/.semver' 01:31:37 # -> Force: false 01:31:37 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-184/.semver [Pipeline] } 01:31:37 $ docker exec --env ******** --env ******** d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 ssh-agent -k 01:31:37 unset SSH_AUTH_SOCK; 01:31:37 unset SSH_AGENT_PID; 01:31:37 echo Agent pid 51 killed; 01:31:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:31:37 + git semver [Pipeline] } 01:31:38 $ docker stop --time=1 d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 01:31:39 $ docker rm -f d7bc0c2b055415030c6a1f451a5e9152f5ffdea7782d01f8ce4ec164ffbe9568 [Pipeline] // withDockerContainer [Pipeline] sh 01:31:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:31:40 Stashed 1 file(s) [Pipeline] echo 01:31:40 [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] node 01:31:41 Running on prd-centos7-docker-4c-2g-9339 in /w/workspace/xfoundry_device-modbus-go_PR-184 [Pipeline] { [Pipeline] ws 01:31:41 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 01:31:44 using credential edgex-jenkins-ssh 01:31:44 Cloning the remote Git repository 01:31:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:31:44 > git init /w/workspace/device-modbus-go/1 # timeout=10 01:31:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:31:44 > git --version # timeout=10 01:31:44 > git --version # 'git version 2.16.5' 01:31:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:31:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:31:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:31:45 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:31:45 Merge succeeded, producing 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:31:45 Checking out Revision 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 (PR-184) 01:31:45 > git config core.sparsecheckout # timeout=10 01:31:45 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:31:45 > git remote # timeout=10 01:31:45 > git config --get remote.origin.url # timeout=10 01:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:45 > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 01:31:45 > git rev-parse HEAD^{commit} # timeout=10 01:31:45 > git config core.sparsecheckout # timeout=10 01:31:45 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:31:49 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 01:31:49 > git --version # timeout=10 01:31:49 > git --version # 'git version 2.16.5' 01:31:49 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:31:50 ========================================================= 01:31:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:31:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:31:50 + 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 . 01:31:51 Sending build context to Docker daemon 500.2kB 01:31:51 Step 1/8 : ARG BASE=golang:1.15-alpine 01:31:51 Step 2/8 : FROM ${BASE} 01:31:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:31:51 df20fa9351a1: Pulling fs layer 01:31:51 ed8968b2872e: Pulling fs layer 01:31:51 a92cc7c5fd73: Pulling fs layer 01:31:51 e871e8e8d7a9: Pulling fs layer 01:31:51 e73272ec9a57: Pulling fs layer 01:31:51 1e910a182e73: Pulling fs layer 01:31:51 4e634b169226: Pulling fs layer 01:31:51 e73272ec9a57: Waiting 01:31:51 1e910a182e73: Waiting 01:31:51 e871e8e8d7a9: Waiting 01:31:51 4e634b169226: Waiting 01:31:51 a92cc7c5fd73: Verifying Checksum 01:31:51 a92cc7c5fd73: Download complete 01:31:51 ed8968b2872e: Verifying Checksum 01:31:51 ed8968b2872e: Download complete 01:31:51 e73272ec9a57: Download complete 01:31:51 1e910a182e73: Verifying Checksum 01:31:51 1e910a182e73: Download complete 01:31:51 df20fa9351a1: Verifying Checksum 01:31:51 df20fa9351a1: Download complete 01:31:51 df20fa9351a1: Pull complete 01:31:52 ed8968b2872e: Pull complete 01:31:52 a92cc7c5fd73: Pull complete 01:31:53 4e634b169226: Verifying Checksum 01:31:53 4e634b169226: Download complete 01:31:53 e871e8e8d7a9: Download complete 01:31:56 Still waiting to schedule task 01:31:56 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:31:59 e871e8e8d7a9: Pull complete 01:31:59 e73272ec9a57: Pull complete 01:31:59 1e910a182e73: Pull complete 01:32:07 4e634b169226: Pull complete 01:32:07 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:32:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:32:07 ---> f7629b54cfaa 01:32:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:32:07 ---> Running in 4d470c809aae 01:32:07 Removing intermediate container 4d470c809aae 01:32:07 ---> 3651da59b625 01:32:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:07 ---> Running in f44df3809fff 01:32:08 Removing intermediate container f44df3809fff 01:32:08 ---> 51f4ecba28f1 01:32:08 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:32:08 ---> Running in 800871f3822e 01:32:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:32:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:32:10 (1/14) Installing libmagic (5.38-r0) 01:32:10 (2/14) Installing file (5.38-r0) 01:32:10 (3/14) Installing libc-dev (0.7.2-r3) 01:32:10 (4/14) Installing g++ (9.3.0-r2) 01:32:15 (5/14) Installing fortify-headers (1.1-r0) 01:32:15 (6/14) Installing patch (2.7.6-r6) 01:32:15 (7/14) Installing build-base (0.5-r2) 01:32:15 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:32:15 (9/14) Installing libedit (20191231.3.1-r0) 01:32:15 (10/14) Installing openssh-client (8.3_p1-r0) 01:32:15 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:32:15 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:32:16 (13/14) Installing openssh-server (8.3_p1-r0) 01:32:16 (14/14) Installing openssh (8.3_p1-r0) 01:32:16 Executing busybox-1.31.1-r16.trigger 01:32:16 OK: 237 MiB in 53 packages 01:32:19 Removing intermediate container 800871f3822e 01:32:19 ---> 1cb90c77e616 01:32:19 Step 6/8 : WORKDIR /device-modbus-go 01:32:19 ---> Running in a6107ee0657b 01:32:20 Removing intermediate container a6107ee0657b 01:32:20 ---> 8e134fed8325 01:32:20 Step 7/8 : COPY . . 01:32:20 ---> 4cc4d3e2f27c 01:32:20 Step 8/8 : RUN go mod download 01:32:20 ---> Running in f8e5855a8ce2 01:32:42 Removing intermediate container f8e5855a8ce2 01:32:42 ---> bd34fb4e405e 01:32:42 Successfully built bd34fb4e405e 01:32:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:32:43 + docker inspect -f . ci-base-image-x86_64 01:32:43 . [Pipeline] withDockerContainer 01:32:43 prd-centos7-docker-4c-2g-9339 does not seem to be running inside a container 01:32:43 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:32:44 $ docker top 3640e1f3ab4a7b1820651b0eddde0c51c44141ec9ed17e0a563f6b1af3788000 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:45 + go version 01:32:45 go version go1.15.2 linux/amd64 [Pipeline] } 01:32:45 $ docker stop --time=1 3640e1f3ab4a7b1820651b0eddde0c51c44141ec9ed17e0a563f6b1af3788000 01:32:46 $ docker rm -f 3640e1f3ab4a7b1820651b0eddde0c51c44141ec9ed17e0a563f6b1af3788000 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:32:47 + docker inspect -f . ci-base-image-x86_64 01:32:47 . [Pipeline] withDockerContainer 01:32:47 prd-centos7-docker-4c-2g-9339 does not seem to be running inside a container 01:32:47 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:32:48 $ docker top b2b8be14839a7873cc400837b31d09a5c06fe1c1589211867ea2cfa0bb8bdd27 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:49 + make test 01:32:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:32:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:33:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:33:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.217s coverage: 50.3% of statements 01:33:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:33:03 gofmt -l . 01:33:03 [ "`gofmt -l .`" = "" ] 01:33:03 ./bin/test-attribution-txt.sh 01:33:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:33:04 Stashed 1 file(s) [Pipeline] } 01:33:04 $ docker stop --time=1 b2b8be14839a7873cc400837b31d09a5c06fe1c1589211867ea2cfa0bb8bdd27 01:33:06 $ docker rm -f b2b8be14839a7873cc400837b31d09a5c06fe1c1589211867ea2cfa0bb8bdd27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:33:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:10 + ls -al . 01:33:10 total 104 01:33:10 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 28 01:33 . 01:33:10 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 01:31 .. 01:33:10 -rw-rw-r--. 1 jenkins jenkins 5589 Oct 28 01:31 Attribution.txt 01:33:10 drwxrwxr-x. 2 jenkins jenkins 87 Oct 28 01:31 bin 01:33:10 drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 01:31 cmd 01:33:10 -rw-r--r--. 1 jenkins jenkins 22364 Oct 28 01:33 coverage.out 01:33:10 -rw-rw-r--. 1 jenkins jenkins 1430 Oct 28 01:31 Dockerfile 01:33:10 -rw-rw-r--. 1 jenkins jenkins 954 Oct 28 01:31 Dockerfile.build 01:33:10 -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 01:31 .dockerignore 01:33:10 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 01:31 .git 01:33:10 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 01:31 .github 01:33:10 -rw-rw-r--. 1 jenkins jenkins 338 Oct 28 01:31 .gitignore 01:33:10 -rw-r--r--. 1 jenkins jenkins 523 Oct 28 01:33 go.mod 01:33:10 -rw-r--r--. 1 jenkins jenkins 14958 Oct 28 01:33 go.sum 01:33:10 drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 01:31 internal 01:33:10 -rw-rw-r--. 1 jenkins jenkins 679 Oct 28 01:31 Jenkinsfile 01:33:10 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 01:31 LICENSE 01:33:10 -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 01:31 Makefile 01:33:10 -rw-rw-r--. 1 jenkins jenkins 591 Oct 28 01:31 README.md 01:33:10 drwxrwxr-x. 2 jenkins jenkins 52 Oct 28 01:31 simulator 01:33:10 drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 01:31 snap 01:33:10 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 01:31 VERSION 01:33:10 -rw-rw-r--. 1 jenkins jenkins 229 Oct 28 01:31 version.go [Pipeline] isUnix [Pipeline] sh 01:33:10 + 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=7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 --label arch=amd64 --label version=0.0.0 . 01:33:10 Sending build context to Docker daemon 531.5kB 01:33:10 Step 1/20 : ARG BASE=golang:1.15-alpine 01:33:10 Step 2/20 : FROM ${BASE} AS builder 01:33:10 ---> bd34fb4e405e 01:33:10 Step 3/20 : ARG MAKE='make build' 01:33:10 ---> Running in 66a7f2b8b01e 01:33:11 Removing intermediate container 66a7f2b8b01e 01:33:11 ---> 45092933c29f 01:33:11 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:11 ---> Running in ee9c753176a5 01:33:12 Removing intermediate container ee9c753176a5 01:33:12 ---> 4396afcb6e57 01:33:12 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 01:33:12 ---> Running in cdda2835afc0 01:33:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:33:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:33:13 OK: 237 MiB in 53 packages 01:33:14 Removing intermediate container cdda2835afc0 01:33:14 ---> 2fcc279885fc 01:33:14 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 01:33:14 ---> Running in 3fc0d2613bdb 01:33:14 Removing intermediate container 3fc0d2613bdb 01:33:14 ---> 8566e42acd82 01:33:14 Step 7/20 : COPY . . 01:33:15 ---> 64b3d4570d69 01:33:15 Step 8/20 : RUN ${MAKE} 01:33:15 ---> Running in dac49fd590f1 01:33:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 01:33:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:33:28 Removing intermediate container dac49fd590f1 01:33:28 ---> 1b886496d46d 01:33:28 Step 9/20 : FROM scratch 01:33:28 ---> 01:33:28 Step 10/20 : ENV APP_PORT=49991 01:33:28 ---> Running in 6c4b7c738d6f 01:33:28 Removing intermediate container 6c4b7c738d6f 01:33:28 ---> f644aba989b7 01:33:28 Step 11/20 : EXPOSE $APP_PORT 01:33:28 ---> Running in 5d4a11f7a2aa 01:33:28 Removing intermediate container 5d4a11f7a2aa 01:33:28 ---> f8e446f2e70d 01:33:28 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 01:33:28 ---> 393f7f6f6892 01:33:28 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 01:33:29 ---> 92a9a9cd8a5a 01:33:29 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 01:33:29 ---> 3d5fe0d289f2 01:33:29 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 01:33:29 ---> Running in 740fed526410 01:33:29 Removing intermediate container 740fed526410 01:33:29 ---> 68d855565157 01:33:29 Step 16/20 : ENTRYPOINT ["/device-modbus"] 01:33:29 ---> Running in bffaa62b0a64 01:33:29 Removing intermediate container bffaa62b0a64 01:33:29 ---> eede2133b505 01:33:29 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:33:29 ---> Running in d3f921a07bd9 01:33:29 Removing intermediate container d3f921a07bd9 01:33:29 ---> e5a122d4fb7d 01:33:29 Step 18/20 : LABEL arch=amd64 01:33:30 ---> Running in ad3f1aeb1358 01:33:30 Removing intermediate container ad3f1aeb1358 01:33:30 ---> 89b10dd065ef 01:33:30 Step 19/20 : LABEL git_sha=7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:33:30 ---> Running in bda2f69a64b5 01:33:30 Removing intermediate container bda2f69a64b5 01:33:30 ---> 6f92e989fae7 01:33:30 Step 20/20 : LABEL version=0.0.0 01:33:30 ---> Running in 43307c611fdf 01:33:30 Removing intermediate container 43307c611fdf 01:33:30 ---> 19a7a1b05401 01:33:30 [Warning] One or more build-args [ARCH] were not consumed 01:33:30 Successfully built 19a7a1b05401 01:33:30 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 01:33:46 Still waiting to schedule task 01:33:46 All nodes of label ‘centos7-docker-8c-8g’ are offline 01:34:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9341 in /w/workspace/xfoundry_device-modbus-go_PR-184 [Pipeline] { [Pipeline] ws 01:34:14 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 01:34:19 using credential edgex-jenkins-ssh 01:34:19 Cloning the remote Git repository 01:34:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:34:20 > git init /w/workspace/device-modbus-go/1 # timeout=10 01:34:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:34:20 > git --version # timeout=10 01:34:20 > git --version # 'git version 2.17.1' 01:34:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:34:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:34:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:34:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:34:21 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:34:21 Merge succeeded, producing 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:34:21 Checking out Revision 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 (PR-184) 01:34:21 > git config core.sparsecheckout # timeout=10 01:34:21 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:34:21 > git remote # timeout=10 01:34:21 > git config --get remote.origin.url # timeout=10 01:34:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:21 > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 01:34:21 > git rev-parse HEAD^{commit} # timeout=10 01:34:21 > git config core.sparsecheckout # timeout=10 01:34:21 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:34:26 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 01:34:26 > git --version # timeout=10 01:34:26 > git --version # 'git version 2.17.1' 01:34:26 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:34:27 ========================================================= 01:34:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:34:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:34:28 + 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 . 01:34:29 Sending build context to Docker daemon 500.2kB 01:34:29 Step 1/8 : ARG BASE=golang:1.15-alpine 01:34:29 Step 2/8 : FROM ${BASE} 01:34:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:29 b538f80385f9: Pulling fs layer 01:34:29 74f711af9a0d: Pulling fs layer 01:34:29 99f96fe45779: Pulling fs layer 01:34:29 8529a6b9a6be: Pulling fs layer 01:34:29 45590311c82a: Pulling fs layer 01:34:29 69ca0ff8b7b3: Pulling fs layer 01:34:29 209524e5b208: Pulling fs layer 01:34:29 45590311c82a: Waiting 01:34:29 69ca0ff8b7b3: Waiting 01:34:29 8529a6b9a6be: Waiting 01:34:29 209524e5b208: Waiting 01:34:29 99f96fe45779: Verifying Checksum 01:34:29 99f96fe45779: Download complete 01:34:29 74f711af9a0d: Download complete 01:34:29 45590311c82a: Verifying Checksum 01:34:29 45590311c82a: Download complete 01:34:29 69ca0ff8b7b3: Verifying Checksum 01:34:29 69ca0ff8b7b3: Download complete 01:34:29 b538f80385f9: Verifying Checksum 01:34:29 b538f80385f9: Download complete 01:34:30 b538f80385f9: Pull complete 01:34:30 74f711af9a0d: Pull complete 01:34:31 99f96fe45779: Pull complete 01:34:32 209524e5b208: Download complete 01:34:34 8529a6b9a6be: Verifying Checksum 01:34:34 8529a6b9a6be: Download complete 01:34:44 8529a6b9a6be: Pull complete 01:34:44 45590311c82a: Pull complete 01:34:44 69ca0ff8b7b3: Pull complete 01:34:48 209524e5b208: Pull complete 01:34:48 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:34:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:34:48 ---> 5bddaf1c2fca 01:34:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:34:50 ---> Running in c0bdb15fa512 01:34:51 Removing intermediate container c0bdb15fa512 01:34:51 ---> dc3c3b74ef94 01:34:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:51 ---> Running in cd128ccb7632 01:34:54 Removing intermediate container cd128ccb7632 01:34:54 ---> 14a34ff44c08 01:34:54 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:34:54 ---> Running in 5d6f0bfb748c 01:34:54 Running on prd-centos7-docker-8c-8g-9342 in /w/workspace/xfoundry_device-modbus-go_PR-184 [Pipeline] { [Pipeline] ws 01:34:54 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 01:34:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:34:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:34:57 using credential edgex-jenkins-ssh 01:34:57 Cloning the remote Git repository 01:34:57 (1/14) Installing libmagic (5.38-r0) 01:34:57 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:34:57 > git init /w/workspace/device-modbus-go/1 # timeout=10 01:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:34:57 > git --version # timeout=10 01:34:57 > git --version # 'git version 2.16.5' 01:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:57 (2/14) Installing file (5.38-r0) 01:34:57 (3/14) Installing libc-dev (0.7.2-r3) 01:34:57 (4/14) Installing g++ (9.3.0-r2) 01:34:58 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:34:58 Merge succeeded, producing 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:34:58 Checking out Revision 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 (PR-184) 01:34:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:34:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:34:58 > git config core.sparsecheckout # timeout=10 01:34:58 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:34:58 > git remote # timeout=10 01:34:58 > git config --get remote.origin.url # timeout=10 01:34:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:58 > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 01:34:58 > git rev-parse HEAD^{commit} # timeout=10 01:34:58 > git config core.sparsecheckout # timeout=10 01:34:58 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:35:01 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 01:35:01 > git --version # timeout=10 01:35:01 > git --version # 'git version 2.16.5' 01:35:01 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:03 ++ find /w/workspace/device-modbus-go/1 01:35:03 ++ grep snapcraft.yaml 01:35:03 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:03 provisioning config files... 01:35:03 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config6432346044391177150tmp [Pipeline] { [Pipeline] sh 01:35:04 + cp /w/workspace/device-modbus-go/1@tmp/config6432346044391177150tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 01:35:04 + 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 01:35:04 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 01:35:04 latest: Pulling from edgex-devops/edgex-snap-builder 01:35:04 f08d8e2a3ba1: Pulling fs layer 01:35:04 3baa9cb2483b: Pulling fs layer 01:35:04 94e5ff4c0b15: Pulling fs layer 01:35:04 1860925334f9: Pulling fs layer 01:35:04 2daf38717194: Pulling fs layer 01:35:04 309017e8d7a4: Pulling fs layer 01:35:04 f7790dc9fd0f: Pulling fs layer 01:35:04 cac0ae9282c2: Pulling fs layer 01:35:04 1f4cadf9a1ed: Pulling fs layer 01:35:04 1860925334f9: Waiting 01:35:04 2daf38717194: Waiting 01:35:04 309017e8d7a4: Waiting 01:35:04 f7790dc9fd0f: Waiting 01:35:04 cac0ae9282c2: Waiting 01:35:04 1f4cadf9a1ed: Waiting 01:35:04 94e5ff4c0b15: Verifying Checksum 01:35:04 94e5ff4c0b15: Download complete 01:35:04 3baa9cb2483b: Download complete 01:35:04 1860925334f9: Verifying Checksum 01:35:04 1860925334f9: Download complete 01:35:04 309017e8d7a4: Verifying Checksum 01:35:04 309017e8d7a4: Download complete 01:35:04 f7790dc9fd0f: Download complete 01:35:04 cac0ae9282c2: Verifying Checksum 01:35:04 cac0ae9282c2: Download complete 01:35:04 1f4cadf9a1ed: Download complete 01:35:05 f08d8e2a3ba1: Verifying Checksum 01:35:05 f08d8e2a3ba1: Download complete 01:35:06 (5/14) Installing fortify-headers (1.1-r0) 01:35:06 (6/14) Installing patch (2.7.6-r6) 01:35:06 (7/14) Installing build-base (0.5-r2) 01:35:06 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:35:06 (9/14) Installing libedit (20191231.3.1-r0) 01:35:06 (10/14) Installing openssh-client (8.3_p1-r0) 01:35:06 f08d8e2a3ba1: Pull complete 01:35:06 3baa9cb2483b: Pull complete 01:35:06 94e5ff4c0b15: Pull complete 01:35:07 1860925334f9: Pull complete 01:35:08 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:35:08 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:35:08 (13/14) Installing openssh-server (8.3_p1-r0) 01:35:08 (14/14) Installing openssh (8.3_p1-r0) 01:35:08 Executing busybox-1.31.1-r16.trigger 01:35:08 OK: 221 MiB in 53 packages 01:35:13 Removing intermediate container 5d6f0bfb748c 01:35:13 ---> 30e4393f4b93 01:35:13 Step 6/8 : WORKDIR /device-modbus-go 01:35:13 ---> Running in d050600bd0e2 01:35:13 2daf38717194: Verifying Checksum 01:35:13 2daf38717194: Download complete 01:35:13 Removing intermediate container d050600bd0e2 01:35:13 ---> 4001281119b9 01:35:13 Step 7/8 : COPY . . 01:35:14 ---> 011fc61c0343 01:35:14 Step 8/8 : RUN go mod download 01:35:14 ---> Running in 4eb8745805c3 01:35:31 2daf38717194: Pull complete 01:35:31 309017e8d7a4: Pull complete 01:35:31 f7790dc9fd0f: Pull complete 01:35:31 cac0ae9282c2: Pull complete 01:35:31 1f4cadf9a1ed: Pull complete 01:35:31 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 01:35:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 01:35:36 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 01:35:36 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 01:35:36 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 01:35:36 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 01:35:36 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1748 kB] 01:35:36 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2115 kB] 01:35:36 Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] 01:35:36 Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1353 kB] 01:35:36 Get:9 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [213 kB] 01:35:36 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] 01:35:36 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] 01:35:36 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] 01:35:36 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 01:35:36 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 01:35:36 Removing intermediate container 4eb8745805c3 01:35:36 ---> 4844e74c8927 01:35:36 Successfully built 4844e74c8927 01:35:36 Successfully tagged ci-base-image-arm64:latest 01:35:37 Fetched 8169 kB in 2s (4683 kB/s) [Pipeline] isUnix [Pipeline] sh 01:35:37 + docker inspect -f . ci-base-image-arm64 01:35:37 . [Pipeline] withDockerContainer 01:35:37 prd-ubuntu18.04-docker-arm64-4c-16g-9341 does not seem to be running inside a container 01:35: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:35:38 Reading package lists... 01:35:39 $ docker top 45b80032f034cec89a4e69e4833a66e5df655dbd50db41737d211316c43b59c4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:41 + go version 01:35:41 go version go1.15.2 linux/arm64 [Pipeline] } 01:35:41 $ docker stop --time=1 45b80032f034cec89a4e69e4833a66e5df655dbd50db41737d211316c43b59c4 01:35:41 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 01:35:41 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 01:35:41 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 01:35:42 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 01:35:43 $ docker rm -f 45b80032f034cec89a4e69e4833a66e5df655dbd50db41737d211316c43b59c4 [Pipeline] // withDockerContainer 01:35:43 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... 55% 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... 73% Reading package lists... 73% 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 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:35:44 + docker inspect -f . ci-base-image-arm64 01:35:44 . [Pipeline] withDockerContainer 01:35:45 prd-ubuntu18.04-docker-arm64-4c-16g-9341 does not seem to be running inside a container 01:35:45 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:35:45 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 01:35:46 $ docker top 683c1953d9e39c044b48ac27369aa26c24da54d4a5d7986b56897afdd3f074c0 -eo pid,comm 01:35:47 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... 52% 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... 73% Reading package lists... 73% 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 [Pipeline] { 01:35:47 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 84% Building dependency tree 01:35:47 Reading state information... 0% Reading state information... 0% Reading state information... Done [Pipeline] sh 01:35:47 The following packages were automatically installed and are no longer required: 01:35:47 libjq1 libonig4 01:35:47 Use 'sudo apt autoremove' to remove them. 01:35:47 Suggested packages: 01:35:47 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 01:35:47 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 01:35:47 diffutils-doc perl-doc libterm-readline-gnu-perl 01:35:47 | libterm-readline-perl-perl 01:35:47 The following NEW packages will be installed: 01:35:47 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 01:35:47 libperl5.26 make netbase patch perl perl-modules-5.26 01:35:47 The following packages will be upgraded: 01:35:47 perl-base 01:35:47 1 upgraded, 14 newly installed, 0 to remove and 31 not upgraded. 01:35:47 Need to get 13.4 MB of archives. 01:35:47 After this operation, 77.5 MB of additional disk space will be used. 01:35:47 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 01:35:48 0% [1 perl-base 12.6 kB/1391 kB 1%] 3% [1 perl-base 545 kB/1391 kB 39%] 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] 01:35:48 + make test 01:35:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:35:48 10% [2 perl-modules-5.26 38.4 kB/2762 kB 1%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 01:35:48 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] 01:35:48 29% [4 libgdbm-compat4 0 B/6084 B 0%] 30% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 01:35:48 30% [5 libperl5.26 7184 B/3534 kB 0%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] 01:35:48 53% [6 perl 12.2 kB/201 kB 6%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 01:35:48 56% [7 less 65.5 kB/112 kB 59%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 01:35:48 57% [8 netbase 4096 B/12.7 kB 32%] 59% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 01:35:48 59% [9 curl 13.3 kB/159 kB 8%] 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] 01:35:48 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] 01:35:48 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] 01:35:48 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] 01:35:49 71% [13 git 48.3 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] 01:35:49 96% [14 make 11.3 kB/154 kB 7%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 01:35:49 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 2s (8316 kB/s) 01:35:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:35:49 debconf: delaying package configuration, since apt-utils is not installed 01:35:49 (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.) 01:35:49 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 01:35:49 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 01:35:52 Setting up perl-base (5.26.1-6ubuntu0.5) ... 01:35:52 Selecting previously unselected package perl-modules-5.26. 01:35:52 (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.) 01:35:52 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 01:35:52 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 01:35:53 Selecting previously unselected package libgdbm5:amd64. 01:35:53 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 01:35:53 Unpacking libgdbm5:amd64 (1.14.1-6) ... 01:35:53 Selecting previously unselected package libgdbm-compat4:amd64. 01:35:53 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 01:35:54 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 01:35:54 Selecting previously unselected package libperl5.26:amd64. 01:35:54 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 01:35:54 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 01:35:54 Selecting previously unselected package perl. 01:35:54 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 01:35:54 Unpacking perl (5.26.1-6ubuntu0.5) ... 01:35:54 Selecting previously unselected package less. 01:35:54 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 01:35:54 Unpacking less (487-0.1) ... 01:35:54 Selecting previously unselected package netbase. 01:35:54 Preparing to unpack .../06-netbase_5.4_all.deb ... 01:35:54 Unpacking netbase (5.4) ... 01:35:54 Selecting previously unselected package curl. 01:35:54 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 01:35:54 Unpacking curl (7.58.0-2ubuntu3.10) ... 01:35:54 Selecting previously unselected package libcurl3-gnutls:amd64. 01:35:54 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 01:35:54 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 01:35:54 Selecting previously unselected package liberror-perl. 01:35:54 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 01:35:54 Unpacking liberror-perl (0.17025-1) ... 01:35:55 Selecting previously unselected package git-man. 01:35:55 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 01:35:55 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 01:35:55 Selecting previously unselected package git. 01:35:55 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 01:35:55 Unpacking git (1:2.17.1-1ubuntu0.7) ... 01:35:55 Selecting previously unselected package make. 01:35:55 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 01:35:55 Unpacking make (4.1-9.1ubuntu1) ... 01:35:55 Selecting previously unselected package patch. 01:35:55 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 01:35:55 Unpacking patch (2.7.6-2ubuntu1.1) ... 01:35:55 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 01:35:55 Setting up less (487-0.1) ... 01:35:55 Setting up make (4.1-9.1ubuntu1) ... 01:35:55 Setting up curl (7.58.0-2ubuntu3.10) ... 01:35:55 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 01:35:55 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 01:35:56 Setting up libgdbm5:amd64 (1.14.1-6) ... 01:35:56 Setting up patch (2.7.6-2ubuntu1.1) ... 01:35:56 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 01:35:56 Setting up netbase (5.4) ... 01:35:56 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 01:35:56 Setting up perl (5.26.1-6ubuntu0.5) ... 01:35:56 Setting up liberror-perl (0.17025-1) ... 01:35:56 Setting up git (1:2.17.1-1ubuntu0.7) ... 01:35:56 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 01:35:56 Processing triggers for mime-support (3.60ubuntu1) ... 01:35:57 curl set to automatically installed. 01:35:58 git set to automatically installed. 01:35:58 git-man set to automatically installed. 01:35:58 less set to automatically installed. 01:35:58 libcurl3-gnutls set to automatically installed. 01:35:58 liberror-perl set to automatically installed. 01:35:58 libgdbm-compat4 set to automatically installed. 01:35:58 libgdbm5 set to automatically installed. 01:35:58 libperl5.26 set to automatically installed. 01:35:58 make set to automatically installed. 01:35:58 netbase set to automatically installed. 01:35:58 patch set to automatically installed. 01:35:58 perl set to automatically installed. 01:35:58 perl-base set to automatically installed. 01:35:58 perl-modules-5.26 set to automatically installed. 01:35:58 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 01:35:58 Please ensure the environment is properly setup before continuing. 01:35:58 Ignore this message if the appropriate measures have already been taken 01:35:58 Pulling go  01:35:59 'device-modbus' has dependencies that need to be staged: go 01:35:59 Skipping pull go (already ran) 01:35:59 Building go  01:35:59 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:59 Dload Upload Total Spent Left Speed 01:36:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 115M 0 94058 0 0 665k 0 0:02:57 --:--:-- 0:02:57 660k 64 115M 64 75.0M 0 0 65.9M 0 0:00:01 0:00:01 --:--:-- 65.8M 100 115M 100 115M 0 0 67.4M 0 0:00:01 0:00:01 --:--:-- 67.4M 01:36:02 go1.15.2.linux-amd64.tar.gz: OK 01:36:08 Staging go  01:36:09 Pulling device-modbus  01:36:10 Skipping build go (already ran) 01:36:10 Building device-modbus  01:36:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 01:36:11 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 01:36:11 go: downloading github.com/goburrow/modbus v0.1.0 01:36:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.97 01:36:11 go: downloading github.com/goburrow/serial v0.1.0 01:36:11 go: downloading github.com/gorilla/mux v1.7.1 01:36:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 01:36:11 go: downloading github.com/google/uuid v1.1.2 01:36:11 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 01:36:11 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 01:36:11 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:36:11 go: downloading github.com/go-kit/kit v0.8.0 01:36:11 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 01:36:11 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 01:36:11 go: downloading github.com/go-playground/validator/v10 v10.3.0 01:36:11 go: downloading gopkg.in/yaml.v2 v2.3.0 01:36:11 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:36:11 go: downloading github.com/BurntSushi/toml v0.3.1 01:36:11 go: downloading github.com/hashicorp/consul/api v1.1.0 01:36:11 go: downloading github.com/pelletier/go-toml v1.2.0 01:36:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:36:11 go: downloading github.com/pkg/errors v0.8.1 01:36:11 go: downloading github.com/x448/float16 v0.8.4 01:36:11 go: downloading github.com/go-playground/universal-translator v0.17.0 01:36:11 go: downloading github.com/leodido/go-urn v1.2.0 01:36:11 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:36:11 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:36:11 go: downloading github.com/mitchellh/copystructure v1.0.0 01:36:11 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 01:36:11 go: downloading github.com/hashicorp/serf v0.8.2 01:36:11 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:36:11 go: downloading github.com/go-playground/locales v0.13.0 01:36:11 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:36:11 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:36:11 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:36:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:36:12 go: downloading github.com/hashicorp/golang-lru v0.5.1 01:36:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:36:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:36:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.394s coverage: 50.3% of statements 01:36:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:36:22 Skipping stage go (already ran) 01:36:22 Staging device-modbus  01:36:23 Priming go  01:36:24 Priming device-modbus  01:36:25 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 01:36:25 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 01:36:25 Determining the version from the project repo (version-script). 01:36:25 The version has been set to 'local-dev-20201028+7d26d0a' 01:36:26 Snapping | Snapping / Snapping - Snapping | 01:36:26 Snapped edgex-device-modbus_local-dev-20201028+7d26d0a_amd64.snap [Pipeline] } 01:36:28 Deleting 1 temporary files 01:36:28 gofmt -l . 01:36:28 [ "`gofmt -l .`" = "" ] 01:36:28 ./bin/test-attribution-txt.sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 01:36:28 ./bin/test-go-mod-tidy.sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stash 01:36:29 Warning: overwriting stash ‘coverage-report’ [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 01:36:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } 01:36:30 $ docker stop --time=1 683c1953d9e39c044b48ac27369aa26c24da54d4a5d7986b56897afdd3f074c0 01:36:32 $ docker rm -f 683c1953d9e39c044b48ac27369aa26c24da54d4a5d7986b56897afdd3f074c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:36:34 + ls -al . 01:36:34 total 136 01:36:34 drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 01:36 . 01:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 01:34 .. 01:36:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 01:34 .dockerignore 01:36:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 01:34 .git 01:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 01:34 .github 01:36:34 -rw-rw-r-- 1 jenkins jenkins 338 Oct 28 01:34 .gitignore 01:36:34 -rw-rw-r-- 1 jenkins jenkins 5589 Oct 28 01:34 Attribution.txt 01:36:34 -rw-rw-r-- 1 jenkins jenkins 1430 Oct 28 01:34 Dockerfile 01:36:34 -rw-rw-r-- 1 jenkins jenkins 954 Oct 28 01:34 Dockerfile.build 01:36:34 -rw-rw-r-- 1 jenkins jenkins 679 Oct 28 01:34 Jenkinsfile 01:36:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 01:34 LICENSE 01:36:34 -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 01:34 Makefile 01:36:34 -rw-rw-r-- 1 jenkins jenkins 591 Oct 28 01:34 README.md 01:36:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 01:31 VERSION 01:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 01:34 bin 01:36:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 01:34 cmd 01:36:34 -rw-r--r-- 1 jenkins jenkins 22364 Oct 28 01:36 coverage.out 01:36:34 -rw-r--r-- 1 jenkins jenkins 523 Oct 28 01:36 go.mod 01:36:34 -rw-r--r-- 1 jenkins jenkins 14958 Oct 28 01:36 go.sum 01:36:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 01:34 internal 01:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 01:34 simulator 01:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 01:34 snap 01:36:34 -rw-rw-r-- 1 jenkins jenkins 229 Oct 28 01:34 version.go [Pipeline] isUnix [Pipeline] sh 01:36:35 + 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=7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 --label arch=arm64 --label version=0.0.0 . 01:36:35 Sending build context to Docker daemon 531.5kB 01:36:35 Step 1/20 : ARG BASE=golang:1.15-alpine 01:36:35 Step 2/20 : FROM ${BASE} AS builder 01:36:35 ---> 4844e74c8927 01:36:35 Step 3/20 : ARG MAKE='make build' 01:36:35 ---> Running in e00b319aba77 01:36:36 Removing intermediate container e00b319aba77 01:36:36 ---> 4892f883a159 01:36:36 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:36 ---> Running in 451aa0a03f3d 01:36:38 Removing intermediate container 451aa0a03f3d 01:36:38 ---> c79cfc0cff11 01:36:38 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 01:36:38 ---> Running in ee3b80e76ff8 01:36:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:36:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:36:42 OK: 221 MiB in 53 packages 01:36:43 Removing intermediate container ee3b80e76ff8 01:36:43 ---> a0eebdf25a3e 01:36:43 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 01:36:43 ---> Running in 8356a32b1ba4 01:36:44 Removing intermediate container 8356a32b1ba4 01:36:44 ---> 3e00c7a1f801 01:36:44 Step 7/20 : COPY . . 01:36:44 ---> f82bc018db73 01:36:44 Step 8/20 : RUN ${MAKE} 01:36:44 ---> Running in 4b10d01fa4d3 01:36:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 01:37:13 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:37:16 Removing intermediate container 4b10d01fa4d3 01:37:16 ---> eea9ce9ad8ba 01:37:16 Step 9/20 : FROM scratch 01:37:16 ---> 01:37:16 Step 10/20 : ENV APP_PORT=49991 01:37:16 ---> Running in e1238453d368 01:37:17 Removing intermediate container e1238453d368 01:37:17 ---> 8a72bcddce7a 01:37:17 Step 11/20 : EXPOSE $APP_PORT 01:37:17 ---> Running in 60aeeee50da0 01:37:17 Removing intermediate container 60aeeee50da0 01:37:17 ---> 257c9f148426 01:37:17 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 01:37:19 ---> e66998e46dc9 01:37:19 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 01:37:19 ---> 147a01c42526 01:37:19 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 01:37:20 ---> 63edb0c3258a 01:37:20 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 01:37:20 ---> Running in 248735eac4c4 01:37:20 Removing intermediate container 248735eac4c4 01:37:20 ---> 79ca4d1a857f 01:37:20 Step 16/20 : ENTRYPOINT ["/device-modbus"] 01:37:21 ---> Running in ec4c43c2caba 01:37:21 Removing intermediate container ec4c43c2caba 01:37:21 ---> 7580e019ae5b 01:37:21 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:37:21 ---> Running in 850687fe5568 01:37:22 Removing intermediate container 850687fe5568 01:37:22 ---> 1695100be10d 01:37:22 Step 18/20 : LABEL arch=arm64 01:37:22 ---> Running in f1b46d2565a0 01:37:22 Removing intermediate container f1b46d2565a0 01:37:22 ---> 9afb03018176 01:37:22 Step 19/20 : LABEL git_sha=7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:37:22 ---> Running in 59b61d1fb41e 01:37:23 Removing intermediate container 59b61d1fb41e 01:37:23 ---> 1e27740da1d6 01:37:23 Step 20/20 : LABEL version=0.0.0 01:37:23 ---> Running in 8bc11c0cd575 01:37:23 Removing intermediate container 8bc11c0cd575 01:37:23 ---> b9319aeeeddb 01:37:23 [Warning] One or more build-args [ARCH] were not consumed 01:37:23 Successfully built b9319aeeeddb 01:37:23 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 01:37:39 Still waiting to schedule task 01:37:39 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 01:39:22 Running on prd-ubuntu18.04-docker-arm64-16c-16g-9347 in /w/workspace/xfoundry_device-modbus-go_PR-184 [Pipeline] { [Pipeline] ws 01:39:22 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 01:39:26 using credential edgex-jenkins-ssh 01:39:27 Cloning the remote Git repository 01:39:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:39:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 01:39:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:39:27 > git --version # timeout=10 01:39:27 > git --version # 'git version 2.17.1' 01:39:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:39:28 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:39:28 Merge succeeded, producing 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 01:39:28 Checking out Revision 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 (PR-184) 01:39:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:39:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:39:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:39:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:39:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:39:28 > git config core.sparsecheckout # timeout=10 01:39:28 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:39:28 > git remote # timeout=10 01:39:28 > git config --get remote.origin.url # timeout=10 01:39:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:28 > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 01:39:28 > git rev-parse HEAD^{commit} # timeout=10 01:39:28 > git config core.sparsecheckout # timeout=10 01:39:28 > git checkout -f 7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 # timeout=10 01:39:33 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 01:39:33 > git --version # timeout=10 01:39:33 > git --version # 'git version 2.17.1' 01:39:33 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:34 + find /w/workspace/device-modbus-go/1 01:39:34 + grep snapcraft.yaml 01:39:34 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:34 provisioning config files... 01:39:34 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config4373188728913959285tmp [Pipeline] { [Pipeline] sh 01:39:35 + cp /w/workspace/device-modbus-go/1@tmp/config4373188728913959285tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 01:39:35 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 01:39:36 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 01:39:36 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 01:39:36 237528ba509b: Pulling fs layer 01:39:36 393b96f31d8b: Pulling fs layer 01:39:36 4d82b0e39008: Pulling fs layer 01:39:36 e7ca375b8d34: Pulling fs layer 01:39:36 418f656485bb: Pulling fs layer 01:39:36 aebe8db9254c: Pulling fs layer 01:39:36 4f5f7b207d3f: Pulling fs layer 01:39:36 d19ca6af091a: Pulling fs layer 01:39:36 16b5a0711add: Pulling fs layer 01:39:36 e7ca375b8d34: Waiting 01:39:36 418f656485bb: Waiting 01:39:36 d19ca6af091a: Waiting 01:39:36 aebe8db9254c: Waiting 01:39:36 4f5f7b207d3f: Waiting 01:39:36 16b5a0711add: Waiting 01:39:36 4d82b0e39008: Download complete 01:39:36 393b96f31d8b: Download complete 01:39:36 e7ca375b8d34: Download complete 01:39:36 aebe8db9254c: Download complete 01:39:36 4f5f7b207d3f: Verifying Checksum 01:39:36 4f5f7b207d3f: Download complete 01:39:36 d19ca6af091a: Download complete 01:39:36 16b5a0711add: Verifying Checksum 01:39:36 16b5a0711add: Download complete 01:39:37 237528ba509b: Download complete 01:39:40 237528ba509b: Pull complete 01:39:40 393b96f31d8b: Pull complete 01:39:41 4d82b0e39008: Pull complete 01:39:41 e7ca375b8d34: Pull complete 01:39:46 418f656485bb: Verifying Checksum 01:39:46 418f656485bb: Download complete 01:40:25 418f656485bb: Pull complete 01:40:25 aebe8db9254c: Pull complete 01:40:26 4f5f7b207d3f: Pull complete 01:40:26 d19ca6af091a: Pull complete 01:40:27 16b5a0711add: Pull complete 01:40:27 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 01:40:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 01:40:32 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 01:40:32 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 01:40:32 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 01:40:32 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 01:40:33 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 01:40:33 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] 01:40:33 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1861 kB] 01:40:33 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 01:40:33 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 01:40:33 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 01:40:33 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1036 kB] 01:40:34 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 01:40:34 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1179 kB] 01:40:34 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 01:40:34 Fetched 5774 kB in 3s (2211 kB/s) 01:40:39 Reading package lists... 01:40:57 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 01:40:57 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 01:40:57 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 01:40:57 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 01:41:01 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... 8% Reading package lists... 26% Reading package lists... 46% Reading package lists... 64% 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... 79% 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... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 01:41:10 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 01:41:14 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... 7% Reading package lists... 26% Reading package lists... 46% Reading package lists... 64% 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... 80% 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... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 01:41:15 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 99% Building dependency tree 01:41:15 Reading state information... 0% Reading state information... 0% Reading state information... Done 01:41:16 The following packages were automatically installed and are no longer required: 01:41:16 libjq1 libonig4 01:41:16 Use 'sudo apt autoremove' to remove them. 01:41:16 Suggested packages: 01:41:16 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 01:41:16 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 01:41:16 diffutils-doc perl-doc libterm-readline-gnu-perl 01:41:16 | libterm-readline-perl-perl 01:41:16 The following NEW packages will be installed: 01:41:16 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 01:41:16 libperl5.26 make netbase patch perl perl-modules-5.26 01:41:16 The following packages will be upgraded: 01:41:16 perl-base 01:41:16 1 upgraded, 14 newly installed, 0 to remove and 31 not upgraded. 01:41:16 Need to get 12.0 MB of archives. 01:41:16 After this operation, 73.6 MB of additional disk space will be used. 01:41:16 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-base arm64 5.26.1-6ubuntu0.5 [1237 kB] 01:41:17 0% [1 perl-base 12.6 kB/1237 kB 1%] 5% [1 perl-base 688 kB/1237 kB 56%] 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] 01:41:17 10% [2 perl-modules-5.26 4096 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] 01:41:17 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] 01:41:17 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] 01:41:17 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] 01:41:17 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] 01:41:17 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] 01:41:17 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] 01:41:17 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] 01:41:17 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] 01:41:17 67% [11 liberror-perl 22.8 kB/22.8 kB 100%] 68% [Waiting for headers] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 01:41:18 68% [12 git-man 27.2 kB/804 kB 3%] 75% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 01:41:18 75% [13 git 12.3 kB/2952 kB 0%] 96% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 01:41:18 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] 01:41:18 98% [15 patch 64.9 kB/91.8 kB 71%] 100% [Working] Fetched 12.0 MB in 1s (8048 kB/s) 01:41:18 debconf: delaying package configuration, since apt-utils is not installed 01:41:18 (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.) 01:41:18 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... 01:41:18 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 01:41:24 Setting up perl-base (5.26.1-6ubuntu0.5) ... 01:41:24 Selecting previously unselected package perl-modules-5.26. 01:41:24 (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.) 01:41:24 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 01:41:24 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 01:41:25 Selecting previously unselected package libgdbm5:arm64. 01:41:25 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 01:41:25 Unpacking libgdbm5:arm64 (1.14.1-6) ... 01:41:25 Selecting previously unselected package libgdbm-compat4:arm64. 01:41:25 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 01:41:25 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 01:41:25 Selecting previously unselected package libperl5.26:arm64. 01:41:25 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... 01:41:25 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 01:41:27 Selecting previously unselected package perl. 01:41:27 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... 01:41:27 Unpacking perl (5.26.1-6ubuntu0.5) ... 01:41:27 Selecting previously unselected package less. 01:41:27 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 01:41:27 Unpacking less (487-0.1) ... 01:41:27 Selecting previously unselected package netbase. 01:41:27 Preparing to unpack .../06-netbase_5.4_all.deb ... 01:41:27 Unpacking netbase (5.4) ... 01:41:27 Selecting previously unselected package curl. 01:41:27 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 01:41:27 Unpacking curl (7.58.0-2ubuntu3.10) ... 01:41:27 Selecting previously unselected package libcurl3-gnutls:arm64. 01:41:27 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 01:41:27 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 01:41:27 Selecting previously unselected package liberror-perl. 01:41:27 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 01:41:27 Unpacking liberror-perl (0.17025-1) ... 01:41:27 Selecting previously unselected package git-man. 01:41:27 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 01:41:27 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 01:41:28 Selecting previously unselected package git. 01:41:28 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 01:41:28 Unpacking git (1:2.17.1-1ubuntu0.7) ... 01:41:29 Selecting previously unselected package make. 01:41:29 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 01:41:29 Unpacking make (4.1-9.1ubuntu1) ... 01:41:29 Selecting previously unselected package patch. 01:41:29 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 01:41:29 Unpacking patch (2.7.6-2ubuntu1.1) ... 01:41:29 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 01:41:29 Setting up less (487-0.1) ... 01:41:29 Setting up make (4.1-9.1ubuntu1) ... 01:41:29 Setting up curl (7.58.0-2ubuntu3.10) ... 01:41:29 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 01:41:29 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 01:41:29 Setting up libgdbm5:arm64 (1.14.1-6) ... 01:41:30 Setting up patch (2.7.6-2ubuntu1.1) ... 01:41:30 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 01:41:30 Setting up netbase (5.4) ... 01:41:30 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 01:41:30 Setting up perl (5.26.1-6ubuntu0.5) ... 01:41:30 Setting up liberror-perl (0.17025-1) ... 01:41:30 Setting up git (1:2.17.1-1ubuntu0.7) ... 01:41:30 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 01:41:30 Processing triggers for mime-support (3.60ubuntu1) ... 01:41:36 curl set to automatically installed. 01:41:36 git set to automatically installed. 01:41:36 git-man set to automatically installed. 01:41:36 less set to automatically installed. 01:41:36 libcurl3-gnutls set to automatically installed. 01:41:36 liberror-perl set to automatically installed. 01:41:36 libgdbm-compat4 set to automatically installed. 01:41:36 libgdbm5 set to automatically installed. 01:41:36 libperl5.26 set to automatically installed. 01:41:36 make set to automatically installed. 01:41:36 netbase set to automatically installed. 01:41:36 patch set to automatically installed. 01:41:36 perl set to automatically installed. 01:41:36 perl-base set to automatically installed. 01:41:36 perl-modules-5.26 set to automatically installed. 01:41:36 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 01:41:36 Please ensure the environment is properly setup before continuing. 01:41:36 Ignore this message if the appropriate measures have already been taken 01:41:37 Pulling go  01:41:40 'device-modbus' has dependencies that need to be staged: go 01:41:40 Skipping pull go (already ran) 01:41:40 Building go  01:41:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:41:40 Dload Upload Total Spent Left Speed 01:41:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 93.2M 1 1509k 0 0 6237k 0 0:00:15 --:--:-- 0:00:15 6237k 45 93.2M 45 42.6M 0 0 34.4M 0 0:00:02 0:00:01 0:00:01 34.4M 90 93.2M 90 84.2M 0 0 37.0M 0 0:00:02 0:00:02 --:--:-- 37.0M 100 93.2M 100 93.2M 0 0 37.8M 0 0:00:02 0:00:02 --:--:-- 37.8M 01:41:45 go1.15.2.linux-arm64.tar.gz: OK 01:42:04 Staging go  01:42:06 Pulling device-modbus  01:42:10 Skipping build go (already ran) 01:42:10 Building device-modbus  01:42:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 01:42:11 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 01:42:11 go: downloading github.com/goburrow/modbus v0.1.0 01:42:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.97 01:42:11 go: downloading github.com/goburrow/serial v0.1.0 01:42:11 go: downloading github.com/gorilla/mux v1.7.1 01:42:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 01:42:11 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:42:11 go: downloading github.com/go-playground/validator/v10 v10.3.0 01:42:11 go: downloading github.com/go-kit/kit v0.8.0 01:42:11 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 01:42:11 go: downloading github.com/pkg/errors v0.8.1 01:42:11 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 01:42:11 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 01:42:11 go: downloading github.com/google/uuid v1.1.2 01:42:11 go: downloading github.com/pelletier/go-toml v1.2.0 01:42:11 go: downloading gopkg.in/yaml.v2 v2.3.0 01:42:11 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:42:11 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 01:42:11 go: downloading github.com/hashicorp/consul/api v1.1.0 01:42:11 go: downloading github.com/BurntSushi/toml v0.3.1 01:42:11 go: downloading github.com/x448/float16 v0.8.4 01:42:11 go: downloading github.com/go-playground/universal-translator v0.17.0 01:42:11 go: downloading github.com/leodido/go-urn v1.2.0 01:42:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:42:12 go: downloading github.com/go-playground/locales v0.13.0 01:42:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:42:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:42:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 01:42:12 go: downloading github.com/hashicorp/serf v0.8.2 01:42:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:42:12 go: downloading github.com/mitchellh/copystructure v1.0.0 01:42:12 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:42:12 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:42:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:42:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:42:12 go: downloading github.com/hashicorp/golang-lru v0.5.1 01:42:30 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:42:49 Skipping stage go (already ran) 01:42:49 Staging device-modbus  01:42:51 Priming go  01:42:55 Priming device-modbus  01:42:59 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 01:42:59 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 01:42:59 Determining the version from the project repo (version-script). 01:42:59 The version has been set to 'local-dev-20201028+7d26d0a' 01:43:00 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 01:43:00 Snapped edgex-device-modbus_local-dev-20201028+7d26d0a_arm64.snap [Pipeline] } 01:43:03 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 01:43:06 provisioning config files... 01:43:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-184@tmp/config7433680626088902745tmp [Pipeline] { [Pipeline] sh 01:43:06 + set +x 01:43:06 + curl -s https://codecov.io/bash 01:43:06 + bash -s -- 01:43:06 01:43:06 _____ _ 01:43:06 / ____| | | 01:43:06 | | ___ __| | ___ ___ _____ __ 01:43:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:43:06 | |___| (_) | (_| | __/ (_| (_) \ V / 01:43:06 \_____\___/ \__,_|\___|\___\___/ \_/ 01:43:06 Bash-20201009-048fee3 01:43:06 01:43:06 01:43:06 ==> Jenkins CI detected. 01:43:06 project root: . 01:43:06 --> token set from env 01:43:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:43:06 ==> Running gcov in . (disable via -X gcov) 01:43:06 ==> Python coveragepy not found 01:43:06 ==> Searching for coverage reports in: 01:43:06 + . 01:43:06 -> Found 1 reports 01:43:06 ==> Detecting git/mercurial file structure 01:43:06 ==> Reading reports 01:43:06 + ./coverage.out bytes=22364 01:43:06 ==> Appending adjustments 01:43:06 https://docs.codecov.io/docs/fixing-reports 01:43:07 + Found adjustments 01:43:07 ==> Gzipping contents 01:43:07 ==> Uploading reports 01:43:07 url: https://codecov.io 01:43:07 query: branch=PR-184&commit=7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=184&job=&cmd_args= 01:43:07 -> Pinging Codecov 01:43:07 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-184&commit=7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=184&job=&cmd_args= 01:43:07 -> Uploading to 01:43:07 01:43:07 % Total % Received % Xferd Average Speed Time Time Time Current 01:43:07 Dload Upload Total Spent Left Speed 01:43:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 01:43:07 X> Failed to upload 01:43:07 ==> Uploading to Codecov 01:43:07 % Total % Received % Xferd Average Speed Time Time Time Current 01:43:07 Dload Upload Total Spent Left Speed 01:43:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 4306 0 0 100 4193 0 4487 --:--:-- --:--:-- --:--:-- 4484 100 4306 100 113 100 4193 120 4486 --:--:-- --:--:-- --:--:-- 4484 01:43:08 View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7d26d0aef4b3c0451da716f8d3879aa3fbcc2b82 [Pipeline] } 01:43:08 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 01:43:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:43:12 ---> package-listing.sh 01:43:12 ++ facter osfamily 01:43:12 ++ tr '[:upper:]' '[:lower:]' 01:43:12 + OS_FAMILY=redhat 01:43:12 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-184 01:43:12 + START_PACKAGES=/tmp/packages_start.txt 01:43:12 + END_PACKAGES=/tmp/packages_end.txt 01:43:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:43:12 + PACKAGES=/tmp/packages_start.txt 01:43:12 + '[' /w/workspace/xfoundry_device-modbus-go_PR-184 ']' 01:43:12 + PACKAGES=/tmp/packages_end.txt 01:43:12 + case "${OS_FAMILY}" in 01:43:12 + rpm -qa 01:43:12 + sort 01:43:16 + '[' -f /tmp/packages_start.txt ']' 01:43:16 + '[' -f /tmp/packages_end.txt ']' 01:43:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:43:16 + '[' /w/workspace/xfoundry_device-modbus-go_PR-184 ']' 01:43:16 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-184/archives/ 01:43:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-184/archives/ [Pipeline] echo 01:43:17 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:43:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:43:17 01:43:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:43:18 alpine: Pulling from edgex-lftools-log-publisher 01:43:18 df20fa9351a1: Pulling fs layer 01:43:18 36b3adc4ff6f: Pulling fs layer 01:43:18 8ad3a11d3b57: Pulling fs layer 01:43:18 46f8f816bc3b: Pulling fs layer 01:43:18 93b61091891f: Pulling fs layer 01:43:18 93b9cdb0e59b: Pulling fs layer 01:43:18 5e14af77c1be: Pulling fs layer 01:43:18 01666e4c0597: Pulling fs layer 01:43:18 aa168da1d23b: Pulling fs layer 01:43:18 93b9cdb0e59b: Waiting 01:43:18 5e14af77c1be: Waiting 01:43:18 01666e4c0597: Waiting 01:43:18 aa168da1d23b: Waiting 01:43:18 93b61091891f: Waiting 01:43:18 46f8f816bc3b: Waiting 01:43:18 36b3adc4ff6f: Verifying Checksum 01:43:18 36b3adc4ff6f: Download complete 01:43:18 46f8f816bc3b: Verifying Checksum 01:43:18 46f8f816bc3b: Download complete 01:43:18 df20fa9351a1: Verifying Checksum 01:43:18 df20fa9351a1: Download complete 01:43:18 93b9cdb0e59b: Verifying Checksum 01:43:18 93b9cdb0e59b: Download complete 01:43:18 93b61091891f: Verifying Checksum 01:43:18 93b61091891f: Download complete 01:43:18 5e14af77c1be: Verifying Checksum 01:43:18 5e14af77c1be: Download complete 01:43:18 01666e4c0597: Verifying Checksum 01:43:18 01666e4c0597: Download complete 01:43:18 8ad3a11d3b57: Verifying Checksum 01:43:18 8ad3a11d3b57: Download complete 01:43:18 df20fa9351a1: Pull complete 01:43:18 36b3adc4ff6f: Pull complete 01:43:19 8ad3a11d3b57: Pull complete 01:43:19 46f8f816bc3b: Pull complete 01:43:20 93b61091891f: Pull complete 01:43:20 93b9cdb0e59b: Pull complete 01:43:20 aa168da1d23b: Verifying Checksum 01:43:20 aa168da1d23b: Download complete 01:43:20 5e14af77c1be: Pull complete 01:43:20 01666e4c0597: Pull complete 01:43:28 aa168da1d23b: Pull complete 01:43:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:43:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:43:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:43:29 prd-centos7-docker-4c-2g-9340 does not seem to be running inside a container 01:43:29 $ 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-184/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-184 -v /w/workspace/xfoundry_device-modbus-go_PR-184:/w/workspace/xfoundry_device-modbus-go_PR-184:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-184@tmp:/w/workspace/xfoundry_device-modbus-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:43:32 $ docker top c2cd1bddb39e3f47d3d326e745355289359de0d933a66565160a819a67076017 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:33 + touch /tmp/pre-build-complete [Pipeline] sh 01:43:33 + mkdir -p /var/log/sa [Pipeline] sh 01:43:33 + ls /var/log/sa-host 01:43:33 + sadf -c /var/log/sa-host/sa05 01:43:33 file_magic: OK 01:43:33 HZ: Using current value: 100 01:43:33 file_header: OK 01:43:33 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 01:43:33 Statistics: 01:43:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:43:33 File successfully converted to sysstat format version 12.2.1 01:43:33 + sadf -c /var/log/sa-host/sa28 01:43:33 file_magic: OK 01:43:33 HZ: Using current value: 100 01:43:33 file_header: OK 01:43:33 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 01:43:33 Statistics: 01:43:33 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... 01:43:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:34 provisioning config files... 01:43:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-184@tmp/config5351659583099890670tmp [Pipeline] { [Pipeline] echo 01:43:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:43:35 ---> create-netrc.sh [Pipeline] } 01:43:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:43:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:43:35 ---> python-tools-install.sh [Pipeline] echo 01:43:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:43:36 ---> sudo-logs.sh 01:43:36 Archiving 'sudo' log.. [Pipeline] echo 01:43:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:43:36 ---> job-cost.sh 01:43:36 lf-activate-venv: SKIPPING 01:43:36 INFO: No Stack... 01:43:37 INFO: Retrieving Pricing Info for: v1-standard-2 01:43:37 INFO: Archiving Costs [Pipeline] echo 01:43:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:43:38 ---> logs-deploy.sh 01:43:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-184/1 01:43:38 INFO: archiving workspace using pattern(s): 01:43:40 Archives upload complete. 01:43:40 INFO: archiving logs to Nexus 01:43:41 ---> uname -a: 01:43:41 Linux prd-centos7-docker-4c-2g-9340.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 01:43:41 01:43:41 01:43:41 ---> lscpu: 01:43:41 Architecture: x86_64 01:43:41 CPU op-mode(s): 32-bit, 64-bit 01:43:41 Byte Order: Little Endian 01:43:41 Address sizes: 40 bits physical, 48 bits virtual 01:43:41 CPU(s): 4 01:43:41 On-line CPU(s) list: 0-3 01:43:41 Thread(s) per core: 1 01:43:41 Core(s) per socket: 1 01:43:41 Socket(s): 4 01:43:41 NUMA node(s): 1 01:43:41 Vendor ID: GenuineIntel 01:43:41 CPU family: 6 01:43:41 Model: 44 01:43:41 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:43:41 Stepping: 1 01:43:41 CPU MHz: 2933.438 01:43:41 BogoMIPS: 5866.87 01:43:41 Virtualization: VT-x 01:43:41 Hypervisor vendor: KVM 01:43:41 Virtualization type: full 01:43:41 L1d cache: 128 KiB 01:43:41 L1i cache: 128 KiB 01:43:41 L2 cache: 16 MiB 01:43:41 L3 cache: 64 MiB 01:43:41 NUMA node0 CPU(s): 0-3 01:43:41 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:43:41 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:43:41 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:43:41 Vulnerability Meltdown: Mitigation; PTI 01:43:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:43:41 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:43:41 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:43:41 Vulnerability Tsx async abort: Not affected 01:43:41 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 01:43:41 01:43:41 01:43:41 ---> nproc: 01:43:41 4 01:43:41 01:43:41 01:43:41 ---> df -h: 01:43:41 Filesystem Size Used Available Use% Mounted on 01:43:41 overlay 50.0G 7.2G 42.8G 14% / 01:43:41 tmpfs 64.0M 0 64.0M 0% /dev 01:43:41 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:43:41 shm 64.0M 0 64.0M 0% /dev/shm 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-184 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-184@tmp 01:43:41 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 01:43:41 01:43:41 01:43:41 ---> free -m: 01:43:41 total used free shared buff/cache available 01:43:41 Mem: 1837 663 101 0 1072 1072 01:43:41 Swap: 1023 1 1022 01:43:41 01:43:41 01:43:41 ---> ip addr: 01:43:41 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:43:41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:43:41 inet 127.0.0.1/8 scope host lo 01:43:41 valid_lft forever preferred_lft forever 01:43:41 inet6 ::1/128 scope host 01:43:41 valid_lft forever preferred_lft forever 01:43:41 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:43:41 link/ether fa:16:3e:a9:91:15 brd ff:ff:ff:ff:ff:ff 01:43:41 inet 10.30.122.224/23 brd 10.30.123.255 scope global dynamic eth0 01:43:41 valid_lft 85621sec preferred_lft 85621sec 01:43:41 inet6 fe80::f816:3eff:fea9:9115/64 scope link 01:43:41 valid_lft forever preferred_lft forever 01:43:41 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:43:41 link/ether 02:42:40:60:bc:5c brd ff:ff:ff:ff:ff:ff 01:43:41 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:43:41 valid_lft forever preferred_lft forever 01:43:41 inet6 fe80::42:40ff:fe60:bc5c/64 scope link 01:43:41 valid_lft forever preferred_lft forever 01:43:41 01:43:41 01:43:41 ---> sar -b -r -n DEV: 01:43:41 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/28/20 _x86_64_ (4 CPU) 01:43:41 01:43:41 01:30:25 LINUX RESTART (4 CPU) 01:43:41 01:43:41 01:31:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:43:41 01:32:02 63.60 19.11 44.49 0.00 5223.57 4839.16 0.00 01:43:41 01:33:01 1.79 0.00 1.79 0.00 0.00 34.49 0.00 01:43:41 01:34:01 0.68 0.00 0.68 0.00 0.00 8.64 0.00 01:43:41 01:35:01 0.57 0.00 0.57 0.00 0.00 7.61 0.00 01:43:41 01:36:01 0.18 0.00 0.18 0.00 0.00 2.23 0.00 01:43:41 01:37:01 0.35 0.00 0.35 0.00 0.00 4.96 0.00 01:43:41 01:38:01 0.27 0.02 0.25 0.00 0.13 2.70 0.00 01:43:41 01:39:01 0.23 0.00 0.23 0.00 0.00 3.35 0.00 01:43:41 01:40:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 01:43:41 01:41:01 0.20 0.00 0.20 0.00 0.00 1.90 0.00 01:43:41 01:42:01 0.32 0.00 0.32 0.00 0.00 3.53 0.00 01:43:41 01:43:01 0.22 0.00 0.22 0.00 0.00 2.56 0.00 01:43:41 Average: 5.73 1.60 4.13 0.00 436.11 410.21 0.00 01:43:41 01:43:41 01:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:43:41 01:32:02 173516 0 548060 29.13 2620 1157360 1104328 37.69 408476 1139620 132 01:43:41 01:33:01 178964 0 542604 28.84 2620 1157368 1072016 36.59 406356 1137364 12 01:43:41 01:34:01 179196 0 542368 28.83 2620 1157372 1072016 36.59 406236 1137364 8 01:43:41 01:35:01 176940 0 544624 28.95 2620 1157372 1072272 36.59 409084 1136796 8 01:43:41 01:36:01 176784 0 544772 28.95 2620 1157380 1072248 36.59 412732 1133104 8 01:43:41 01:37:01 175604 0 545944 29.02 2620 1157388 1072176 36.59 413932 1133108 8 01:43:41 01:38:01 175496 0 546044 29.02 2620 1157396 1072224 36.59 415588 1131976 0 01:43:41 01:39:01 175084 0 546432 29.04 2620 1157420 1072248 36.59 411132 1136680 12 01:43:41 01:40:01 175224 0 546304 29.03 2620 1157408 1072224 36.59 410772 1136676 12 01:43:41 01:41:01 176416 0 545108 28.97 2620 1157412 1072080 36.59 405836 1140836 8 01:43:41 01:42:01 176188 0 545336 28.98 2620 1157412 1072164 36.59 406292 1140836 8 01:43:41 01:43:01 175688 0 545828 29.01 2620 1157420 1072304 36.60 406724 1140836 12 01:43:41 Average: 176258 0 545285 28.98 2620 1157392 1074858 36.68 409430 1137100 19 01:43:41 01:43:41 01:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:43:41 01:32:02 eth0 318.82 221.79 1015.01 82.49 0.00 0.00 0.00 0.00 01:43:41 01:32:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:32:02 docker0 1.66 1.28 0.35 3.74 0.00 0.00 0.00 0.00 01:43:41 01:33:01 eth0 0.22 0.10 0.01 0.02 0.00 0.00 0.00 0.00 01:43:41 01:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:34:01 eth0 0.70 0.08 0.06 0.01 0.00 0.00 0.00 0.00 01:43:41 01:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:35:01 eth0 2.08 0.52 0.64 0.36 0.00 0.00 0.00 0.00 01:43:41 01:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:36:01 eth0 0.60 0.35 0.28 0.23 0.00 0.00 0.00 0.00 01:43:41 01:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:37:01 eth0 1.23 0.20 0.24 0.07 0.00 0.00 0.00 0.00 01:43:41 01:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:38:01 eth0 1.48 0.60 0.60 0.40 0.00 0.00 0.00 0.00 01:43:41 01:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:39:01 eth0 1.27 0.33 0.33 0.20 0.00 0.00 0.00 0.00 01:43:41 01:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:40:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 01:43:41 01:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:41:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:43:41 01:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:42:01 eth0 0.95 0.30 0.23 0.08 0.00 0.00 0.00 0.00 01:43:41 01:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:43:01 eth0 1.55 0.70 0.60 0.38 0.00 0.00 0.00 0.00 01:43:41 01:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 01:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 Average: eth0 27.52 18.81 85.01 7.05 0.00 0.00 0.00 0.00 01:43:41 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:43:41 Average: docker0 0.14 0.11 0.03 0.31 0.00 0.00 0.00 0.00 01:43:41 01:43:41 01:43:41 ---> sar -P ALL: 01:43:41 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/28/20 _x86_64_ (4 CPU) 01:43:41 01:43:41 01:30:25 LINUX RESTART (4 CPU) 01:43:41 01:43:41 01:31:01 CPU %user %nice %system %iowait %steal %idle 01:43:41 01:32:02 all 12.77 0.00 4.37 1.97 0.04 80.85 01:43:41 01:32:02 0 11.80 0.00 4.86 0.96 0.03 82.35 01:43:41 01:32:02 1 11.43 0.00 4.72 3.51 0.05 80.30 01:43:41 01:32:02 2 13.73 0.00 4.29 1.90 0.05 80.03 01:43:41 01:32:02 3 14.12 0.00 3.60 1.53 0.02 80.74 01:43:41 01:33:01 all 0.15 0.00 0.05 0.00 0.00 99.81 01:43:41 01:33:01 0 0.02 0.00 0.03 0.00 0.00 99.95 01:43:41 01:33:01 1 0.24 0.00 0.05 0.00 0.00 99.71 01:43:41 01:33:01 2 0.31 0.00 0.05 0.00 0.00 99.64 01:43:41 01:33:01 3 0.03 0.00 0.05 0.00 0.00 99.92 01:43:41 01:34:01 all 0.15 0.00 0.04 0.00 0.00 99.80 01:43:41 01:34:01 0 0.05 0.00 0.03 0.00 0.00 99.92 01:43:41 01:34:01 1 0.08 0.00 0.05 0.00 0.02 99.85 01:43:41 01:34:01 2 0.45 0.00 0.05 0.00 0.00 99.50 01:43:41 01:34:01 3 0.03 0.00 0.02 0.00 0.00 99.95 01:43:41 01:35:01 all 0.35 0.00 0.03 0.00 0.00 99.62 01:43:41 01:35:01 0 0.35 0.00 0.03 0.00 0.00 99.62 01:43:41 01:35:01 1 0.12 0.00 0.05 0.00 0.00 99.83 01:43:41 01:35:01 2 0.88 0.00 0.02 0.00 0.00 99.10 01:43:41 01:35:01 3 0.03 0.00 0.03 0.00 0.00 99.93 01:43:41 01:36:01 all 0.10 0.00 0.08 0.00 0.00 99.82 01:43:41 01:36:01 0 0.05 0.00 0.03 0.00 0.00 99.92 01:43:41 01:36:01 1 0.05 0.00 0.18 0.00 0.00 99.77 01:43:41 01:36:01 2 0.25 0.00 0.07 0.00 0.00 99.68 01:43:41 01:36:01 3 0.05 0.00 0.03 0.00 0.00 99.92 01:43:41 01:37:01 all 0.11 0.00 0.07 0.00 0.00 99.82 01:43:41 01:37:01 0 0.03 0.00 0.05 0.00 0.00 99.92 01:43:41 01:37:01 1 0.03 0.00 0.17 0.00 0.00 99.80 01:43:41 01:37:01 2 0.35 0.00 0.03 0.00 0.00 99.62 01:43:41 01:37:01 3 0.02 0.00 0.03 0.00 0.00 99.95 01:43:41 01:38:01 all 0.17 0.00 0.04 0.00 0.00 99.78 01:43:41 01:38:01 0 0.07 0.00 0.07 0.00 0.00 99.87 01:43:41 01:38:01 1 0.05 0.00 0.03 0.00 0.00 99.92 01:43:41 01:38:01 2 0.55 0.00 0.02 0.00 0.00 99.43 01:43:41 01:38:01 3 0.03 0.00 0.03 0.00 0.02 99.92 01:43:41 01:39:01 all 0.18 0.00 0.03 0.00 0.00 99.79 01:43:41 01:39:01 0 0.50 0.00 0.05 0.00 0.00 99.45 01:43:41 01:39:01 1 0.10 0.00 0.03 0.00 0.00 99.87 01:43:41 01:39:01 2 0.05 0.00 0.03 0.00 0.00 99.92 01:43:41 01:39:01 3 0.07 0.00 0.02 0.00 0.00 99.92 01:43:41 01:40:01 all 0.16 0.00 0.04 0.00 0.00 99.80 01:43:41 01:40:01 0 0.23 0.00 0.02 0.00 0.00 99.75 01:43:41 01:40:01 1 0.05 0.00 0.03 0.00 0.00 99.92 01:43:41 01:40:01 2 0.33 0.00 0.07 0.00 0.00 99.60 01:43:41 01:40:01 3 0.03 0.00 0.03 0.00 0.00 99.93 01:43:41 01:41:01 all 0.04 0.00 0.03 0.00 0.00 99.93 01:43:41 01:41:01 0 0.02 0.00 0.03 0.00 0.00 99.95 01:43:41 01:41:01 1 0.05 0.00 0.02 0.00 0.00 99.93 01:43:41 01:41:01 2 0.08 0.00 0.05 0.00 0.00 99.87 01:43:41 01:41:01 3 0.02 0.00 0.02 0.00 0.00 99.97 01:43:41 01:42:01 all 0.15 0.00 0.04 0.00 0.00 99.80 01:43:41 01:42:01 0 0.05 0.00 0.02 0.00 0.00 99.93 01:43:41 01:42:01 1 0.05 0.00 0.07 0.00 0.00 99.88 01:43:41 01:42:01 2 0.50 0.00 0.03 0.00 0.00 99.47 01:43:41 01:42:01 3 0.02 0.00 0.05 0.00 0.00 99.93 01:43:41 01:43:41 01:42:01 CPU %user %nice %system %iowait %steal %idle 01:43:41 01:43:01 all 0.17 0.00 0.03 0.00 0.00 99.80 01:43:41 01:43:01 0 0.03 0.00 0.02 0.00 0.02 99.93 01:43:41 01:43:01 1 0.05 0.00 0.05 0.00 0.00 99.90 01:43:41 01:43:01 2 0.57 0.00 0.03 0.00 0.00 99.40 01:43:41 01:43:01 3 0.03 0.00 0.02 0.00 0.00 99.95 01:43:41 Average: all 1.20 0.00 0.40 0.16 0.00 98.23 01:43:41 Average: 0 1.09 0.00 0.43 0.08 0.00 98.39 01:43:41 Average: 1 1.02 0.00 0.45 0.29 0.01 98.24 01:43:41 Average: 2 1.50 0.00 0.39 0.16 0.00 97.95 01:43:41 Average: 3 1.20 0.00 0.33 0.13 0.00 98.35 01:43:41 01:43:41 01:43:41