Pull request #171 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 # timeout=10 Commit message: "Merge pull request #236 from ernestojeda/update-log-publish-steps" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1506 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/171/head:refs/remotes/origin/PR-171 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing 205d20470621f6877b30549a0d87a32e67fc54e2 Checking out Revision 205d20470621f6877b30549a0d87a32e67fc54e2 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # 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 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 Commit message: "Fix Commit Errors" > git rev-list --no-walk 65c0b3dcebc4813b86a3ed6612343adb5d461200 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:09:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:09:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:09:53 ========================================================= 22:09:53 EdgeX Global Pipelines Version Info 22:09:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:09:54 ------------------- 22:09:54 stable info: 22:09:54 ------------------- 22:09:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:09:54 Commit SHA: 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 22:09:54 Message: update stable to v1.0.118 22:09:55 ------------------- 22:09:55 experimental info: 22:09:55 ------------------- 22:09:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:09:55 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 22:09:55 Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:09:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:09:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:09:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 22:09:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 22:09:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 22:09:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 205d20470621f6877b30549a0d87a32e67fc54e2 [Pipeline] echo 22:09:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 205d204 [Pipeline] echo 22:09:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:58 + git log --format=format:%s -1 205d20470621f6877b30549a0d87a32e67fc54e2 [Pipeline] echo 22:09:58 GIT_COMMIT: 205d20470621f6877b30549a0d87a32e67fc54e2, Commit Message: Fix Commit Errors [Pipeline] echo 22:09:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:09:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:00 22:10:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:10:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:00 latest: Pulling from edgex-devops/git-semver 22:10:00 31603596830f: Pulling fs layer 22:10:00 2a8b12db71e7: Pulling fs layer 22:10:00 6ca5941a6612: Pulling fs layer 22:10:00 ecc8261a40a4: Pulling fs layer 22:10:00 ecc8261a40a4: Waiting 22:10:00 2a8b12db71e7: Verifying Checksum 22:10:00 31603596830f: Verifying Checksum 22:10:00 31603596830f: Download complete 22:10:00 ecc8261a40a4: Verifying Checksum 22:10:00 ecc8261a40a4: Download complete 22:10:00 6ca5941a6612: Verifying Checksum 22:10:00 6ca5941a6612: Download complete 22:10:01 31603596830f: Pull complete 22:10:01 2a8b12db71e7: Pull complete 22:10:01 6ca5941a6612: Pull complete 22:10:02 ecc8261a40a4: Pull complete 22:10:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:10:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:10:02 prd-centos7-docker-4c-2g-1506 does not seem to be running inside a container 22:10:02 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:10:04 $ docker top fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:04 [ssh-agent] Looking for ssh-agent implementation... 22:10:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:05 $ docker exec fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 ssh-agent 22:10:05 SSH_AUTH_SOCK=/tmp/ssh-0medBhFRp1uo/agent.11 22:10:05 SSH_AGENT_PID=16 22:10:05 Running ssh-add (command line suppressed) 22:10:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1354238175086746115.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1354238175086746115.key) 22:10:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:05 + git describe --exact-match --tags HEAD 22:10:05 fatal: No names found, cannot describe anything. [Pipeline] } 22:10:05 $ docker exec --env ******** --env ******** fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 ssh-agent -k 22:10:06 unset SSH_AUTH_SOCK; 22:10:06 unset SSH_AGENT_PID; 22:10:06 echo Agent pid 16 killed; 22:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:10:06 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:10:06 This usually means this commit has not been tagged. [Pipeline] sshagent 22:10:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:06 [ssh-agent] Looking for ssh-agent implementation... 22:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:06 $ docker exec fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 ssh-agent 22:10:06 SSH_AUTH_SOCK=/tmp/ssh-8gkDQpp5MkSN/agent.44 22:10:06 SSH_AGENT_PID=49 22:10:06 Running ssh-add (command line suppressed) 22:10:06 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_7140061726549822850.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_7140061726549822850.key) 22:10:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:07 + git semver init 22:10:07 # -> Open(): unable to determine branch for HEAD 22:10:07 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git 22:10:07 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 22:10:07 # $SEMVER_REMOTE_NAME = origin 22:10:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:10:07 # $SEMVER_USER_NAME = edgex-jenkins 22:10:07 # $SEMVER_BRANCH = PR-171 22:10:07 # $SEMVER_TEMP = /tmp/semver-095990275 22:10:07 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 22:10:07 # '/tmp/semver-095990275' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' 22:10:07 # -> Force: false 22:10:07 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } 22:10:07 $ docker exec --env ******** --env ******** fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 ssh-agent -k 22:10:07 unset SSH_AUTH_SOCK; 22:10:07 unset SSH_AGENT_PID; 22:10:07 echo Agent pid 49 killed; 22:10:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:07 + git semver [Pipeline] } 22:10:07 $ docker stop --time=1 fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 22:10:09 $ docker rm -f fd92e1cc45844adcc7ca9ef13a86b644060a9a39f88ed1f5c3976d41800c64e6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:10:10 Stashed 28 file(s) [Pipeline] echo 22:10:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:10:10 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:10:25 Still waiting to schedule task 22:10:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:10:25 Still waiting to schedule task 22:10:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:12:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1507 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 22:12:21 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 22:12:25 using credential edgex-jenkins-ssh 22:12:25 Cloning the remote Git repository 22:12:25 Cloning with configured refspecs honoured and without tags 22:12:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:12:26 > git init /w/workspace/device-modbus-go/4 # timeout=10 22:12:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:12:26 > git --version # timeout=10 22:12:26 > git --version # 'git version 2.17.1' 22:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:27 Fetching without tags 22:12:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:12:27 > git config --add remote.origin.fetch +refs/pull/171/head:refs/remotes/origin/PR-171 # timeout=10 22:12:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:12:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:12:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:27 Merging remotes/origin/master commit 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 22:12:28 Merge succeeded, producing 205d20470621f6877b30549a0d87a32e67fc54e2 22:12:28 Checking out Revision 205d20470621f6877b30549a0d87a32e67fc54e2 (PR-171) 22:12:27 > git config core.sparsecheckout # timeout=10 22:12:27 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 22:12:27 > git remote # timeout=10 22:12:27 > git config --get remote.origin.url # timeout=10 22:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:28 > git merge 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 22:12:28 > git rev-parse HEAD^{commit} # timeout=10 22:12:28 > git config core.sparsecheckout # timeout=10 22:12:28 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 22:12:32 Commit message: "Fix Commit Errors" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:12:33 ========================================================= 22:12:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:12:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:12:34 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 22:12:35 Sending build context to Docker daemon 686.1kB 22:12:35 Step 1/8 : ARG BASE=golang:1.13-alpine 22:12:35 Step 2/8 : FROM ${BASE} 22:12:35 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:12:35 b538f80385f9: Pulling fs layer 22:12:35 74f711af9a0d: Pulling fs layer 22:12:35 99f96fe45779: Pulling fs layer 22:12:35 fd7a069fd194: Pulling fs layer 22:12:35 66aa3694b03b: Pulling fs layer 22:12:35 170f70906a0f: Pulling fs layer 22:12:35 ad7c5574e4b9: Pulling fs layer 22:12:35 e772456be8f7: Pulling fs layer 22:12:35 c890913d741a: Pulling fs layer 22:12:35 2480fcc9aa5a: Pulling fs layer 22:12:35 09adf4765672: Pulling fs layer 22:12:35 fd7a069fd194: Waiting 22:12:35 66aa3694b03b: Waiting 22:12:35 170f70906a0f: Waiting 22:12:35 ad7c5574e4b9: Waiting 22:12:35 e772456be8f7: Waiting 22:12:35 2480fcc9aa5a: Waiting 22:12:35 09adf4765672: Waiting 22:12:35 c890913d741a: Waiting 22:12:35 99f96fe45779: Verifying Checksum 22:12:35 99f96fe45779: Download complete 22:12:35 74f711af9a0d: Verifying Checksum 22:12:35 66aa3694b03b: Download complete 22:12:35 170f70906a0f: Download complete 22:12:35 b538f80385f9: Download complete 22:12:36 b538f80385f9: Pull complete 22:12:37 74f711af9a0d: Pull complete 22:12:37 99f96fe45779: Pull complete 22:12:38 ad7c5574e4b9: Verifying Checksum 22:12:38 ad7c5574e4b9: Download complete 22:12:38 c890913d741a: Verifying Checksum 22:12:38 c890913d741a: Download complete 22:12:40 2480fcc9aa5a: Verifying Checksum 22:12:40 2480fcc9aa5a: Download complete 22:12:40 09adf4765672: Download complete 22:12:41 e772456be8f7: Verifying Checksum 22:12:41 e772456be8f7: Download complete 22:12:41 fd7a069fd194: Verifying Checksum 22:12:41 fd7a069fd194: Download complete 22:12:41 Running on prd-centos7-docker-4c-2g-1508 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 22:12:41 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 22:12:45 using credential edgex-jenkins-ssh 22:12:45 Cloning the remote Git repository 22:12:45 Cloning with configured refspecs honoured and without tags 22:12:45 Fetching without tags 22:12:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:12:45 > git init /w/workspace/device-modbus-go/4 # timeout=10 22:12:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:12:45 > git --version # timeout=10 22:12:45 > git --version # 'git version 2.16.5' 22:12:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:12:45 > git config --add remote.origin.fetch +refs/pull/171/head:refs/remotes/origin/PR-171 # timeout=10 22:12:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:12:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:12:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:46 Merging remotes/origin/master commit 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 22:12:46 Merge succeeded, producing 205d20470621f6877b30549a0d87a32e67fc54e2 22:12:46 Checking out Revision 205d20470621f6877b30549a0d87a32e67fc54e2 (PR-171) 22:12:46 > git config core.sparsecheckout # timeout=10 22:12:46 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 22:12:46 > git remote # timeout=10 22:12:46 > git config --get remote.origin.url # timeout=10 22:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:46 > git merge 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 22:12:46 > git rev-parse HEAD^{commit} # timeout=10 22:12:46 > git config core.sparsecheckout # timeout=10 22:12:46 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 22:12:50 Commit message: "Fix Commit Errors" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:12:51 ========================================================= 22:12:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:12:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:12:52 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 22:12:52 Sending build context to Docker daemon 686.1kB 22:12:52 Step 1/8 : ARG BASE=golang:1.13-alpine 22:12:52 Step 2/8 : FROM ${BASE} 22:12:52 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:12:52 df20fa9351a1: Pulling fs layer 22:12:52 ed8968b2872e: Pulling fs layer 22:12:52 a92cc7c5fd73: Pulling fs layer 22:12:52 2dd03ba5bac4: Pulling fs layer 22:12:52 1e091d79d1de: Pulling fs layer 22:12:52 481702a1767f: Pulling fs layer 22:12:52 f64a6f60c768: Pulling fs layer 22:12:52 e78d2573fc39: Pulling fs layer 22:12:52 e876d2f968b6: Pulling fs layer 22:12:52 ce8a83651883: Pulling fs layer 22:12:52 07967f4d0e4b: Pulling fs layer 22:12:52 f64a6f60c768: Waiting 22:12:52 e78d2573fc39: Waiting 22:12:52 e876d2f968b6: Waiting 22:12:52 ce8a83651883: Waiting 22:12:52 07967f4d0e4b: Waiting 22:12:52 2dd03ba5bac4: Waiting 22:12:52 481702a1767f: Waiting 22:12:52 1e091d79d1de: Waiting 22:12:52 a92cc7c5fd73: Verifying Checksum 22:12:52 a92cc7c5fd73: Download complete 22:12:52 ed8968b2872e: Verifying Checksum 22:12:52 ed8968b2872e: Download complete 22:12:52 1e091d79d1de: Verifying Checksum 22:12:52 1e091d79d1de: Download complete 22:12:52 481702a1767f: Verifying Checksum 22:12:52 481702a1767f: Download complete 22:12:52 df20fa9351a1: Verifying Checksum 22:12:52 df20fa9351a1: Download complete 22:12:52 df20fa9351a1: Pull complete 22:12:53 ed8968b2872e: Pull complete 22:12:53 a92cc7c5fd73: Pull complete 22:12:53 fd7a069fd194: Pull complete 22:12:53 66aa3694b03b: Pull complete 22:12:53 170f70906a0f: Pull complete 22:12:54 f64a6f60c768: Download complete 22:12:54 e876d2f968b6: Verifying Checksum 22:12:54 e876d2f968b6: Download complete 22:12:55 ce8a83651883: Verifying Checksum 22:12:55 ce8a83651883: Download complete 22:12:55 07967f4d0e4b: Verifying Checksum 22:12:55 07967f4d0e4b: Download complete 22:12:56 e78d2573fc39: Verifying Checksum 22:12:56 e78d2573fc39: Download complete 22:12:56 2dd03ba5bac4: Download complete 22:12:56 ad7c5574e4b9: Pull complete 22:13:00 e772456be8f7: Pull complete 22:13:01 c890913d741a: Pull complete 22:13:03 2dd03ba5bac4: Pull complete 22:13:03 1e091d79d1de: Pull complete 22:13:03 481702a1767f: Pull complete 22:13:03 2480fcc9aa5a: Pull complete 22:13:03 09adf4765672: Pull complete 22:13:03 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 22:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:13:03 ---> 2248a725d1cf 22:13:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 22:13:06 f64a6f60c768: Pull complete 22:13:08 ---> Running in 8c768b37d295 22:13:08 Removing intermediate container 8c768b37d295 22:13:08 ---> e1be2b28a884 22:13:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:13:08 ---> Running in 2bd3147d0f74 22:13:09 e78d2573fc39: Pull complete 22:13:09 e876d2f968b6: Pull complete 22:13:10 ce8a83651883: Pull complete 22:13:10 07967f4d0e4b: Pull complete 22:13:10 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 22:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:13:10 ---> 5d7c900382c6 22:13:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 22:13:11 Removing intermediate container 2bd3147d0f74 22:13:11 ---> 9cc6118dd8e7 22:13:11 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 22:13:11 ---> Running in 4a445c221b41 22:13:11 ---> Running in 1cf73d64d56b 22:13:12 Removing intermediate container 1cf73d64d56b 22:13:12 ---> 76c9bfcbfa71 22:13:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:13:12 ---> Running in 47977db2c9bf 22:13:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:13:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:13:14 Removing intermediate container 47977db2c9bf 22:13:14 ---> 657b0e76f841 22:13:14 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 22:13:14 ---> Running in 355d805955c2 22:13:14 (1/14) Installing libmagic (5.38-r0) 22:13:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:13:14 (2/14) Installing file (5.38-r0) 22:13:14 (3/14) Installing libc-dev (0.7.2-r3) 22:13:14 (4/14) Installing g++ (9.3.0-r2) 22:13:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:13:15 (1/14) Installing libmagic (5.38-r0) 22:13:15 (2/14) Installing file (5.38-r0) 22:13:15 (3/14) Installing libc-dev (0.7.2-r3) 22:13:15 (4/14) Installing g++ (9.3.0-r2) 22:13:20 (5/14) Installing fortify-headers (1.1-r0) 22:13:20 (6/14) Installing patch (2.7.6-r6) 22:13:20 (7/14) Installing build-base (0.5-r2) 22:13:20 (8/14) Installing openssh-keygen (8.3_p1-r0) 22:13:20 (9/14) Installing libedit (20191231.3.1-r0) 22:13:20 (10/14) Installing openssh-client (8.3_p1-r0) 22:13:20 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 22:13:20 (12/14) Installing openssh-server-common (8.3_p1-r0) 22:13:20 (13/14) Installing openssh-server (8.3_p1-r0) 22:13:20 (14/14) Installing openssh (8.3_p1-r0) 22:13:20 Executing busybox-1.31.1-r16.trigger 22:13:21 OK: 221 MiB in 53 packages 22:13:23 (5/14) Installing fortify-headers (1.1-r0) 22:13:23 (6/14) Installing patch (2.7.6-r6) 22:13:23 (7/14) Installing build-base (0.5-r2) 22:13:23 (8/14) Installing openssh-keygen (8.3_p1-r0) 22:13:23 (9/14) Installing libedit (20191231.3.1-r0) 22:13:23 (10/14) Installing openssh-client (8.3_p1-r0) 22:13:24 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 22:13:24 (12/14) Installing openssh-server-common (8.3_p1-r0) 22:13:24 (13/14) Installing openssh-server (8.3_p1-r0) 22:13:24 (14/14) Installing openssh (8.3_p1-r0) 22:13:24 Executing busybox-1.31.1-r16.trigger 22:13:24 OK: 237 MiB in 53 packages 22:13:25 Removing intermediate container 4a445c221b41 22:13:25 ---> 115ee4e73d3b 22:13:25 Step 6/8 : WORKDIR /device-modbus-go 22:13:25 ---> Running in ac69ffddfe44 22:13:25 Removing intermediate container ac69ffddfe44 22:13:25 ---> af72c08739be 22:13:25 Step 7/8 : COPY . . 22:13:26 ---> 65a2bd2f3f1c 22:13:26 Step 8/8 : RUN go mod download 22:13:26 ---> Running in 438bbdbe29f7 22:13:28 Removing intermediate container 355d805955c2 22:13:28 ---> b5a89e9a4bda 22:13:28 Step 6/8 : WORKDIR /device-modbus-go 22:13:28 ---> Running in 74c8d019feea 22:13:28 Removing intermediate container 74c8d019feea 22:13:28 ---> 765aa7185506 22:13:28 Step 7/8 : COPY . . 22:13:28 ---> e63991ed5b61 22:13:28 Step 8/8 : RUN go mod download 22:13:29 ---> Running in bac27a2fffcc 22:13:29 go: finding github.com/BurntSushi/toml v0.3.1 22:13:29 go: finding github.com/OneOfOne/xxhash v1.2.6 22:13:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:13:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:13:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:13:29 go: finding github.com/bgentry/speakeasy v0.1.0 22:13:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:13:29 go: finding github.com/davecgh/go-spew v1.1.1 22:13:29 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 22:13:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:13:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:13:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:13:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:13:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:13:29 go: finding github.com/fatih/color v1.7.0 22:13:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:13:29 go: finding github.com/go-kit/kit v0.8.0 22:13:30 go: finding github.com/go-logfmt/logfmt v0.4.0 22:13:30 go: finding github.com/go-stack/stack v1.8.0 22:13:30 go: finding github.com/goburrow/modbus v0.1.0 22:13:30 go: finding github.com/goburrow/serial v0.1.0 22:13:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:13:30 go: finding github.com/google/uuid v1.1.1 22:13:30 go: finding github.com/gorilla/mux v1.7.1 22:13:30 go: finding github.com/hashicorp/consul/api v1.1.0 22:13:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:13:30 go: finding github.com/hashicorp/errwrap v1.0.0 22:13:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:13:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:13:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:13:30 go: finding github.com/hashicorp/go-multierror v1.0.0 22:13:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:13:30 go: finding github.com/hashicorp/go-sockaddr v1.0.1 22:13:30 go: finding github.com/hashicorp/go-syslog v1.0.0 22:13:30 go: finding github.com/hashicorp/go-uuid v1.0.1 22:13:30 go: finding github.com/hashicorp/go.net v0.0.1 22:13:30 go: finding github.com/hashicorp/golang-lru v0.5.1 22:13:30 go: finding github.com/hashicorp/logutils v1.0.0 22:13:30 go: finding github.com/hashicorp/mdns v1.0.0 22:13:30 go: finding github.com/hashicorp/memberlist v0.1.3 22:13:30 go: finding github.com/hashicorp/serf v0.8.2 22:13:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:13:30 go: finding github.com/mattn/go-colorable v0.0.9 22:13:30 go: finding github.com/mattn/go-isatty v0.0.3 22:13:30 go: finding github.com/miekg/dns v1.1.4 22:13:30 go: finding github.com/mitchellh/cli v1.0.0 22:13:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:13:30 go: finding github.com/mitchellh/copystructure v1.0.0 22:13:30 go: finding github.com/mitchellh/go-homedir v1.1.0 22:13:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:13:30 go: finding github.com/mitchellh/go-wordwrap v1.0.0 22:13:30 go: finding github.com/mitchellh/gox v0.4.0 22:13:30 go: finding github.com/mitchellh/iochan v1.0.0 22:13:30 go: finding github.com/mitchellh/mapstructure v1.1.2 22:13:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:13:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:13:30 go: finding github.com/pelletier/go-toml v1.2.0 22:13:30 go: finding github.com/pkg/errors v0.8.1 22:13:30 go: finding github.com/pmezard/go-difflib v1.0.0 22:13:30 go: finding github.com/posener/complete v1.1.1 22:13:30 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 22:13:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:13:30 go: finding github.com/stretchr/objx v0.1.0 22:13:30 go: finding github.com/stretchr/testify v1.5.1 22:13:30 go: finding github.com/ugorji/go v1.1.4 22:13:31 go: finding github.com/BurntSushi/toml v0.3.1 22:13:31 go: finding github.com/OneOfOne/xxhash v1.2.6 22:13:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:13:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:13:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:13:31 go: finding github.com/bgentry/speakeasy v0.1.0 22:13:31 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:13:31 go: finding github.com/davecgh/go-spew v1.1.1 22:13:31 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 22:13:31 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:13:31 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:13:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:13:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:13:31 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:13:31 go: finding github.com/fatih/color v1.7.0 22:13:31 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:13:31 go: finding github.com/go-kit/kit v0.8.0 22:13:31 go: finding github.com/go-logfmt/logfmt v0.4.0 22:13:31 go: finding github.com/x448/float16 v0.8.4 22:13:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:13:31 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 22:13:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:13:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:13:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:13:31 go: finding gopkg.in/yaml.v2 v2.2.8 22:13:31 go: finding github.com/go-stack/stack v1.8.0 22:13:31 go: finding github.com/goburrow/modbus v0.1.0 22:13:31 go: finding github.com/goburrow/serial v0.1.0 22:13:31 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:13:31 go: finding github.com/google/uuid v1.1.1 22:13:31 go: finding github.com/gorilla/mux v1.7.1 22:13:31 go: finding github.com/hashicorp/consul/api v1.1.0 22:13:31 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:13:31 go: finding github.com/hashicorp/errwrap v1.0.0 22:13:31 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:13:31 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:13:31 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:13:31 go: finding github.com/hashicorp/go-multierror v1.0.0 22:13:31 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:13:31 go: finding github.com/hashicorp/go-sockaddr v1.0.1 22:13:31 go: finding github.com/hashicorp/go-syslog v1.0.0 22:13:31 go: finding github.com/hashicorp/go-uuid v1.0.1 22:13:31 go: finding github.com/hashicorp/go.net v0.0.1 22:13:31 go: finding github.com/hashicorp/golang-lru v0.5.1 22:13:31 go: finding github.com/hashicorp/logutils v1.0.0 22:13:31 go: finding github.com/hashicorp/mdns v1.0.0 22:13:31 go: finding github.com/hashicorp/memberlist v0.1.3 22:13:31 go: finding github.com/hashicorp/serf v0.8.2 22:13:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:13:31 go: finding github.com/mattn/go-colorable v0.0.9 22:13:31 go: finding github.com/mattn/go-isatty v0.0.3 22:13:31 go: finding github.com/miekg/dns v1.1.4 22:13:31 go: finding github.com/mitchellh/cli v1.0.0 22:13:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:13:31 go: finding github.com/mitchellh/copystructure v1.0.0 22:13:31 go: finding github.com/mitchellh/go-homedir v1.1.0 22:13:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:13:31 go: finding github.com/mitchellh/go-wordwrap v1.0.0 22:13:32 go: finding github.com/mitchellh/gox v0.4.0 22:13:32 go: finding github.com/mitchellh/iochan v1.0.0 22:13:32 go: finding github.com/mitchellh/mapstructure v1.1.2 22:13:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:13:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:13:32 go: finding github.com/pelletier/go-toml v1.2.0 22:13:32 go: finding github.com/pkg/errors v0.8.1 22:13:32 go: finding github.com/pmezard/go-difflib v1.0.0 22:13:32 go: finding github.com/posener/complete v1.1.1 22:13:32 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 22:13:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:13:32 go: finding github.com/stretchr/objx v0.1.0 22:13:32 go: finding github.com/stretchr/testify v1.5.1 22:13:32 go: finding github.com/ugorji/go v1.1.4 22:13:32 go: finding github.com/x448/float16 v0.8.4 22:13:32 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:13:32 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 22:13:32 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:13:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:13:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:13:32 go: finding gopkg.in/yaml.v2 v2.2.8 22:13:40 Removing intermediate container bac27a2fffcc 22:13:40 ---> 1ffe9b47ab69 22:13:40 Successfully built 1ffe9b47ab69 22:13:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:13:41 + docker inspect -f . ci-base-image-x86_64 22:13:41 . 22:13:41 Removing intermediate container 438bbdbe29f7 22:13:41 ---> 3a501f267dc7 22:13:41 Successfully built 3a501f267dc7 22:13:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] withDockerContainer 22:13:41 prd-centos7-docker-4c-2g-1508 does not seem to be running inside a container 22:13:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:42 $ docker top a900a18edd32a5011625edf4558c6b467aaa47361f70afdd3616a9128a57e116 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 22:13:43 + go version 22:13:43 go version go1.13.13 linux/amd64 [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 22:13:43 + make test 22:13:43 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:13:43 + docker inspect -f . ci-base-image-arm64 22:13:43 . [Pipeline] withDockerContainer 22:13:44 prd-ubuntu18.04-docker-arm64-4c-16g-1507 does not seem to be running inside a container 22:13:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:13:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:13:45 $ docker top f7fc81407b3f6c82f8c6bcb6b02ef80e82b801aa310630767831004a40d12170 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:47 + go version 22:13:47 go version go1.13.13 linux/arm64 [Pipeline] sh 22:13:48 + make test 22:13:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:13:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:13:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:13:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.268s coverage: 50.2% of statements 22:13:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:13:56 gofmt -l . 22:13:56 internal/driver/config.go 22:13:56 internal/driver/config_test.go 22:13:56 internal/driver/protocolpropertykey.go 22:13:56 [ "`gofmt -l .`" = "" ] 22:13:56 make: *** [Makefile:27: test] Error 1 [Pipeline] } 22:13:56 $ docker stop --time=1 a900a18edd32a5011625edf4558c6b467aaa47361f70afdd3616a9128a57e116 22:13:58 $ docker rm -f a900a18edd32a5011625edf4558c6b467aaa47361f70afdd3616a9128a57e116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:59 Failed in branch amd64 22:14:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:14:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.312s coverage: 50.2% of statements 22:14:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:14:24 gofmt -l . 22:14:24 internal/driver/config.go 22:14:24 internal/driver/config_test.go 22:14:24 internal/driver/protocolpropertykey.go 22:14:24 [ "`gofmt -l .`" = "" ] 22:14:24 make: *** [Makefile:27: test] Error 1 [Pipeline] } 22:14:24 $ docker stop --time=1 f7fc81407b3f6c82f8c6bcb6b02ef80e82b801aa310630767831004a40d12170 22:14:26 $ docker rm -f f7fc81407b3f6c82f8c6bcb6b02ef80e82b801aa310630767831004a40d12170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:28 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:14:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:14:31 ---> package-listing.sh 22:14:31 ++ facter osfamily 22:14:31 ++ tr '[:upper:]' '[:lower:]' 22:14:31 + OS_FAMILY=redhat 22:14:31 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 22:14:31 + START_PACKAGES=/tmp/packages_start.txt 22:14:31 + END_PACKAGES=/tmp/packages_end.txt 22:14:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:14:31 + PACKAGES=/tmp/packages_start.txt 22:14:31 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 22:14:31 + PACKAGES=/tmp/packages_end.txt 22:14:31 + case "${OS_FAMILY}" in 22:14:31 + rpm -qa 22:14:31 + sort 22:14:35 + '[' -f /tmp/packages_start.txt ']' 22:14:35 + '[' -f /tmp/packages_end.txt ']' 22:14:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:14:35 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 22:14:35 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ 22:14:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] isUnix [Pipeline] sh 22:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:14:36 22:14:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:14:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:14:36 alpine: Pulling from edgex-lftools-log-publisher 22:14:36 df20fa9351a1: Pulling fs layer 22:14:36 36b3adc4ff6f: Pulling fs layer 22:14:36 8ad3a11d3b57: Pulling fs layer 22:14:36 46f8f816bc3b: Pulling fs layer 22:14:36 0dadc02b9964: Pulling fs layer 22:14:36 ce6a7cf60c04: Pulling fs layer 22:14:36 7a184a31f384: Pulling fs layer 22:14:36 0879bd2ef858: Pulling fs layer 22:14:36 0dadc02b9964: Waiting 22:14:36 ce6a7cf60c04: Waiting 22:14:36 7a184a31f384: Waiting 22:14:36 0879bd2ef858: Waiting 22:14:36 46f8f816bc3b: Waiting 22:14:36 36b3adc4ff6f: Download complete 22:14:36 46f8f816bc3b: Verifying Checksum 22:14:36 46f8f816bc3b: Download complete 22:14:36 df20fa9351a1: Verifying Checksum 22:14:36 df20fa9351a1: Download complete 22:14:36 ce6a7cf60c04: Verifying Checksum 22:14:36 ce6a7cf60c04: Download complete 22:14:36 7a184a31f384: Download complete 22:14:36 0dadc02b9964: Verifying Checksum 22:14:36 0dadc02b9964: Download complete 22:14:37 8ad3a11d3b57: Verifying Checksum 22:14:37 8ad3a11d3b57: Download complete 22:14:37 df20fa9351a1: Pull complete 22:14:37 36b3adc4ff6f: Pull complete 22:14:37 0879bd2ef858: Verifying Checksum 22:14:37 0879bd2ef858: Download complete 22:14:37 8ad3a11d3b57: Pull complete 22:14:38 46f8f816bc3b: Pull complete 22:14:38 0dadc02b9964: Pull complete 22:14:38 ce6a7cf60c04: Pull complete 22:14:38 7a184a31f384: Pull complete 22:14:41 0879bd2ef858: Pull complete 22:14:41 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 22:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:14:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:14:41 prd-centos7-docker-4c-2g-1506 does not seem to be running inside a container 22:14:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:14:46 $ docker top 124d84fed963264a270f28501703d038315e101e560c089c71a685f06a2eb1f9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:47 + mkdir -p /var/log/sa [Pipeline] sh 22:14:47 + ls /var/log/sa-host 22:14:47 + sadf -c /var/log/sa-host/sa04 22:14:47 file_magic: OK 22:14:47 HZ: Using current value: 100 22:14:47 file_header: OK 22:14:47 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 22:14:47 Statistics: 22:14:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:14:47 File successfully converted to sysstat format version 12.2.1 22:14:47 + sadf -c /var/log/sa-host/sa05 22:14:47 file_magic: OK 22:14:47 HZ: Using current value: 100 22:14:47 file_header: OK 22:14:47 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 22:14:47 Statistics: 22:14:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:14:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:47 provisioning config files... 22:14:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config6025275318757432282tmp [Pipeline] { [Pipeline] echo 22:14:47 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:14:47 ---> create-netrc.sh [Pipeline] echo 22:14:47 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:14:48 ---> logs-deploy.sh 22:14:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/4 22:14:48 INFO: archiving workspace using pattern(s): 22:14:49 Archives upload complete. 22:14:49 INFO: archiving logs to Nexus