Push event to branch edgex-modbus-simulator Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 251ac84f7228ae0fb6e27216846c283c9f5cee26 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/edgex-modbus-simulator/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3952’ Running on prd-centos7-docker-4c-2g-3961 in /w/workspace/modbus-go_edgex-modbus-simulator [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/modbus-go_edgex-modbus-simulator # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 Fetching without tags Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (edgex-modbus-simulator) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # 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/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 Commit message: "Merge pull request #134 from weichou1229/issue-133" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-15T04:12:58.382Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:13:01.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-15T04:13:01.325Z] [2020-04-15T04:13:01.325Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:13:01.744Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-15T04:13:01.744Z] latest: Pulling from edgex-devops/git-semver [2020-04-15T04:13:01.744Z] 9123ac7c32f7: Pulling fs layer [2020-04-15T04:13:01.744Z] b8cc5d1170e3: Pulling fs layer [2020-04-15T04:13:01.744Z] 2924cbbf6a41: Pulling fs layer [2020-04-15T04:13:01.744Z] 93b08a4f1073: Pulling fs layer [2020-04-15T04:13:01.744Z] b8cc5d1170e3: Verifying Checksum [2020-04-15T04:13:01.744Z] b8cc5d1170e3: Download complete [2020-04-15T04:13:02.004Z] 9123ac7c32f7: Download complete [2020-04-15T04:13:02.004Z] 93b08a4f1073: Verifying Checksum [2020-04-15T04:13:02.004Z] 93b08a4f1073: Download complete [2020-04-15T04:13:02.004Z] 2924cbbf6a41: Download complete [2020-04-15T04:13:02.004Z] 9123ac7c32f7: Pull complete [2020-04-15T04:13:02.266Z] b8cc5d1170e3: Pull complete [2020-04-15T04:13:02.844Z] 2924cbbf6a41: Pull complete [2020-04-15T04:13:03.105Z] 93b08a4f1073: Pull complete [2020-04-15T04:13:03.105Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-15T04:13:03.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-15T04:13:03.250Z] prd-centos7-docker-4c-2g-3961 does not seem to be running inside a container [2020-04-15T04:13:03.303Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/modbus-go_edgex-modbus-simulator -v /w/workspace/modbus-go_edgex-modbus-simulator:/w/workspace/modbus-go_edgex-modbus-simulator:rw,z -v /w/workspace/modbus-go_edgex-modbus-simulator@tmp:/w/workspace/modbus-go_edgex-modbus-simulator@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-15T04:13:03.837Z] $ docker top c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-15T04:13:04.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-15T04:13:04.157Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-15T04:13:04.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-15T04:13:04.364Z] $ docker exec c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 ssh-agent [2020-04-15T04:13:04.552Z] SSH_AUTH_SOCK=/tmp/ssh-4hA870yu4BsC/agent.15 [2020-04-15T04:13:04.552Z] SSH_AGENT_PID=22 [2020-04-15T04:13:04.562Z] Running ssh-add (command line suppressed) [2020-04-15T04:13:04.708Z] Identity added: /w/workspace/modbus-go_edgex-modbus-simulator@tmp/private_key_2789711842807332177.key (/w/workspace/modbus-go_edgex-modbus-simulator@tmp/private_key_2789711842807332177.key) [2020-04-15T04:13:04.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-15T04:13:05.114Z] + git describe --exact-match --tags HEAD [2020-04-15T04:13:05.114Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-15T04:13:05.188Z] $ docker exec --env ******** --env ******** c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 ssh-agent -k [2020-04-15T04:13:05.332Z] unset SSH_AUTH_SOCK; [2020-04-15T04:13:05.333Z] unset SSH_AGENT_PID; [2020-04-15T04:13:05.333Z] echo Agent pid 22 killed; [2020-04-15T04:13:05.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-15T04:13:05.494Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-15T04:13:05.494Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-15T04:13:05.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-15T04:13:05.590Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-15T04:13:05.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-15T04:13:05.786Z] $ docker exec c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 ssh-agent [2020-04-15T04:13:05.966Z] SSH_AUTH_SOCK=/tmp/ssh-A7l1l6dfvmBp/agent.57 [2020-04-15T04:13:05.966Z] SSH_AGENT_PID=64 [2020-04-15T04:13:05.972Z] Running ssh-add (command line suppressed) [2020-04-15T04:13:06.110Z] Identity added: /w/workspace/modbus-go_edgex-modbus-simulator@tmp/private_key_8123288638186510316.key (/w/workspace/modbus-go_edgex-modbus-simulator@tmp/private_key_8123288638186510316.key) [2020-04-15T04:13:06.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-15T04:13:06.506Z] + git semver init [2020-04-15T04:13:06.506Z] # -> Open(): unable to determine branch for HEAD [2020-04-15T04:13:06.506Z] # $GIT_DIR = /w/workspace/modbus-go_edgex-modbus-simulator/.git [2020-04-15T04:13:06.506Z] # $GIT_WORK_TREE = /w/workspace/modbus-go_edgex-modbus-simulator [2020-04-15T04:13:06.506Z] # $SEMVER_REMOTE_NAME = origin [2020-04-15T04:13:06.506Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-15T04:13:06.506Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-15T04:13:06.506Z] # $SEMVER_BRANCH = edgex-modbus-simulator [2020-04-15T04:13:06.506Z] # $SEMVER_TEMP = /tmp/semver-086743629 [2020-04-15T04:13:06.506Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-15T04:13:06.766Z] # '/tmp/semver-086743629' -> '/w/workspace/modbus-go_edgex-modbus-simulator/.semver' [2020-04-15T04:13:06.766Z] # -> Force: false [2020-04-15T04:13:06.766Z] # $SEMVER_DIR = /w/workspace/modbus-go_edgex-modbus-simulator/.semver [Pipeline] } [2020-04-15T04:13:06.790Z] $ docker exec --env ******** --env ******** c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 ssh-agent -k [2020-04-15T04:13:06.915Z] unset SSH_AUTH_SOCK; [2020-04-15T04:13:06.915Z] unset SSH_AGENT_PID; [2020-04-15T04:13:06.915Z] echo Agent pid 64 killed; [2020-04-15T04:13:06.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-15T04:13:07.469Z] + git semver [Pipeline] } [2020-04-15T04:13:07.500Z] $ docker stop --time=1 c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 [2020-04-15T04:13:08.827Z] $ docker rm -f c1a9fae9c329b135aa1e4edb351aff75f3cf7c63b0a56781c2fdfd4a1b8a89f5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-15T04:13:09.479Z] Stashed 22 file(s) [Pipeline] echo [2020-04-15T04:13:09.498Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-15T04:13:24.940Z] Still waiting to schedule task [2020-04-15T04:13:24.941Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-15T04:13:24.959Z] Still waiting to schedule task [2020-04-15T04:13:24.959Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline [2020-04-15T04:15:16.851Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3962 in /w/workspace/modbus-go_edgex-modbus-simulator [Pipeline] { [Pipeline] ws [2020-04-15T04:15:16.931Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-04-15T04:15:22.808Z] using credential edgex-jenkins-ssh [2020-04-15T04:15:22.882Z] Cloning the remote Git repository [2020-04-15T04:15:22.882Z] Cloning with configured refspecs honoured and without tags [2020-04-15T04:15:22.994Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T04:15:23.092Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-04-15T04:15:23.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T04:15:23.200Z] > git --version # timeout=10 [2020-04-15T04:15:23.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T04:15:23.300Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-04-15T04:15:24.076Z] Fetching without tags [2020-04-15T04:15:24.596Z] Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (edgex-modbus-simulator) [2020-04-15T04:15:24.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T04:15:24.035Z] > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-04-15T04:15:24.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T04:15:24.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T04:15:24.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T04:15:24.143Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-04-15T04:15:24.646Z] > git config core.sparsecheckout # timeout=10 [2020-04-15T04:15:24.703Z] > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-15T04:15:29.301Z] Commit message: "Merge pull request #134 from weichou1229/issue-133" [2020-04-15T04:15:29.366Z] > git --version # timeout=10 [2020-04-15T04:15:29.395Z] fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-15T04:15:30.676Z] ========================================================= [2020-04-15T04:15:30.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-15T04:15:30.676Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:15:31.676Z] + 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 . [2020-04-15T04:15:32.710Z] Sending build context to Docker daemon 557.1kB [2020-04-15T04:15:32.710Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-15T04:15:32.710Z] Step 2/8 : FROM ${BASE} [2020-04-15T04:15:33.002Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-15T04:15:33.002Z] cde5963f3b93: Pulling fs layer [2020-04-15T04:15:33.002Z] 2a23fa8c16f7: Pulling fs layer [2020-04-15T04:15:33.002Z] 777b28850792: Pulling fs layer [2020-04-15T04:15:33.002Z] 8a11ddd9e578: Pulling fs layer [2020-04-15T04:15:33.002Z] 4cf88f913ddb: Pulling fs layer [2020-04-15T04:15:33.002Z] 1df406cf5192: Pulling fs layer [2020-04-15T04:15:33.002Z] cd6300453558: Pulling fs layer [2020-04-15T04:15:33.002Z] b9c365052c96: Pulling fs layer [2020-04-15T04:15:33.002Z] a2d8cc88f415: Pulling fs layer [2020-04-15T04:15:33.002Z] ea1d1ca13537: Pulling fs layer [2020-04-15T04:15:33.002Z] 3750a50a1c5e: Pulling fs layer [2020-04-15T04:15:33.002Z] 8a11ddd9e578: Waiting [2020-04-15T04:15:33.002Z] 4cf88f913ddb: Waiting [2020-04-15T04:15:33.002Z] 1df406cf5192: Waiting [2020-04-15T04:15:33.002Z] cd6300453558: Waiting [2020-04-15T04:15:33.002Z] b9c365052c96: Waiting [2020-04-15T04:15:33.002Z] a2d8cc88f415: Waiting [2020-04-15T04:15:33.002Z] ea1d1ca13537: Waiting [2020-04-15T04:15:33.002Z] 3750a50a1c5e: Waiting [2020-04-15T04:15:33.002Z] 777b28850792: Verifying Checksum [2020-04-15T04:15:33.002Z] 777b28850792: Download complete [2020-04-15T04:15:33.002Z] 2a23fa8c16f7: Verifying Checksum [2020-04-15T04:15:33.002Z] 2a23fa8c16f7: Download complete [2020-04-15T04:15:33.002Z] 4cf88f913ddb: Verifying Checksum [2020-04-15T04:15:33.002Z] 4cf88f913ddb: Download complete [2020-04-15T04:15:33.002Z] 1df406cf5192: Verifying Checksum [2020-04-15T04:15:33.002Z] 1df406cf5192: Download complete [2020-04-15T04:15:33.279Z] cde5963f3b93: Download complete [2020-04-15T04:15:34.252Z] cde5963f3b93: Pull complete [2020-04-15T04:15:34.858Z] 2a23fa8c16f7: Pull complete [2020-04-15T04:15:35.134Z] 777b28850792: Pull complete [2020-04-15T04:15:37.726Z] cd6300453558: Verifying Checksum [2020-04-15T04:15:37.726Z] cd6300453558: Download complete [2020-04-15T04:15:37.726Z] a2d8cc88f415: Verifying Checksum [2020-04-15T04:15:37.726Z] a2d8cc88f415: Download complete [2020-04-15T04:15:39.687Z] ea1d1ca13537: Verifying Checksum [2020-04-15T04:15:39.687Z] ea1d1ca13537: Download complete [2020-04-15T04:15:39.958Z] 3750a50a1c5e: Download complete [2020-04-15T04:15:42.557Z] b9c365052c96: Verifying Checksum [2020-04-15T04:15:42.557Z] b9c365052c96: Download complete [2020-04-15T04:15:44.511Z] 8a11ddd9e578: Verifying Checksum [2020-04-15T04:15:44.511Z] 8a11ddd9e578: Download complete [2020-04-15T04:15:56.534Z] Running on prd-centos7-docker-4c-2g-3963 in /w/workspace/modbus-go_edgex-modbus-simulator [Pipeline] { [Pipeline] ws [2020-04-15T04:15:56.601Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-04-15T04:15:56.876Z] 8a11ddd9e578: Pull complete [2020-04-15T04:15:56.877Z] 4cf88f913ddb: Pull complete [2020-04-15T04:15:56.877Z] 1df406cf5192: Pull complete [2020-04-15T04:15:58.505Z] using credential edgex-jenkins-ssh [2020-04-15T04:15:58.559Z] Cloning the remote Git repository [2020-04-15T04:15:58.559Z] Cloning with configured refspecs honoured and without tags [2020-04-15T04:15:58.742Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T04:15:58.774Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-04-15T04:15:59.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T04:15:59.106Z] > git --version # timeout=10 [2020-04-15T04:15:59.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T04:15:59.140Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-04-15T04:15:59.471Z] Fetching without tags [2020-04-15T04:15:59.825Z] Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (edgex-modbus-simulator) [2020-04-15T04:15:59.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T04:15:59.578Z] > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-04-15T04:15:59.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T04:15:59.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T04:15:59.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T04:15:59.599Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-04-15T04:15:59.925Z] > git config core.sparsecheckout # timeout=10 [2020-04-15T04:15:59.930Z] > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-15T04:16:01.165Z] cd6300453558: Pull complete [2020-04-15T04:16:04.581Z] Commit message: "Merge pull request #134 from weichou1229/issue-133" [2020-04-15T04:16:04.607Z] > git --version # timeout=10 [2020-04-15T04:16:04.615Z] fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-15T04:16:05.446Z] b9c365052c96: Pull complete [2020-04-15T04:16:05.446Z] a2d8cc88f415: Pull complete [Pipeline] echo [2020-04-15T04:16:05.557Z] ========================================================= [2020-04-15T04:16:05.557Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-15T04:16:05.557Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:16:06.241Z] + 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 . [2020-04-15T04:16:06.241Z] Sending build context to Docker daemon 557.1kB [2020-04-15T04:16:06.241Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-15T04:16:06.241Z] Step 2/8 : FROM ${BASE} [2020-04-15T04:16:06.510Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-15T04:16:06.510Z] e6b0cf9c0882: Pulling fs layer [2020-04-15T04:16:06.510Z] 2848faf0eed1: Pulling fs layer [2020-04-15T04:16:06.510Z] 0f37312ad70f: Pulling fs layer [2020-04-15T04:16:06.510Z] 5788d62ee057: Pulling fs layer [2020-04-15T04:16:06.510Z] 0e6b1d234666: Pulling fs layer [2020-04-15T04:16:06.510Z] bf5d7aec512f: Pulling fs layer [2020-04-15T04:16:06.510Z] 34c802a77dc8: Pulling fs layer [2020-04-15T04:16:06.510Z] 9eb99e56ec68: Pulling fs layer [2020-04-15T04:16:06.510Z] 27c7a5d97fbd: Pulling fs layer [2020-04-15T04:16:06.510Z] 5c102a31e300: Pulling fs layer [2020-04-15T04:16:06.510Z] dcfb455df0a1: Pulling fs layer [2020-04-15T04:16:06.510Z] 5788d62ee057: Waiting [2020-04-15T04:16:06.510Z] 0e6b1d234666: Waiting [2020-04-15T04:16:06.510Z] bf5d7aec512f: Waiting [2020-04-15T04:16:06.510Z] 34c802a77dc8: Waiting [2020-04-15T04:16:06.510Z] 27c7a5d97fbd: Waiting [2020-04-15T04:16:06.510Z] 5c102a31e300: Waiting [2020-04-15T04:16:06.510Z] dcfb455df0a1: Waiting [2020-04-15T04:16:06.510Z] 0f37312ad70f: Verifying Checksum [2020-04-15T04:16:06.510Z] 0f37312ad70f: Download complete [2020-04-15T04:16:06.510Z] 2848faf0eed1: Download complete [2020-04-15T04:16:06.510Z] 0e6b1d234666: Verifying Checksum [2020-04-15T04:16:06.510Z] 0e6b1d234666: Download complete [2020-04-15T04:16:06.510Z] bf5d7aec512f: Download complete [2020-04-15T04:16:06.510Z] e6b0cf9c0882: Verifying Checksum [2020-04-15T04:16:06.510Z] e6b0cf9c0882: Download complete [2020-04-15T04:16:06.769Z] e6b0cf9c0882: Pull complete [2020-04-15T04:16:07.031Z] 2848faf0eed1: Pull complete [2020-04-15T04:16:07.297Z] 34c802a77dc8: Verifying Checksum [2020-04-15T04:16:07.297Z] 34c802a77dc8: Download complete [2020-04-15T04:16:07.297Z] 27c7a5d97fbd: Verifying Checksum [2020-04-15T04:16:07.297Z] 27c7a5d97fbd: Download complete [2020-04-15T04:16:08.039Z] ea1d1ca13537: Pull complete [2020-04-15T04:16:08.039Z] 3750a50a1c5e: Pull complete [2020-04-15T04:16:08.039Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-15T04:16:08.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-15T04:16:08.039Z] ---> 78745c68409d [2020-04-15T04:16:08.039Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-15T04:16:08.263Z] 9eb99e56ec68: Verifying Checksum [2020-04-15T04:16:08.264Z] 9eb99e56ec68: Download complete [2020-04-15T04:16:08.264Z] 5c102a31e300: Verifying Checksum [2020-04-15T04:16:08.264Z] 5c102a31e300: Download complete [2020-04-15T04:16:08.264Z] dcfb455df0a1: Verifying Checksum [2020-04-15T04:16:08.264Z] dcfb455df0a1: Download complete [2020-04-15T04:16:08.264Z] 0f37312ad70f: Pull complete [2020-04-15T04:16:08.264Z] 5788d62ee057: Verifying Checksum [2020-04-15T04:16:08.264Z] 5788d62ee057: Download complete [2020-04-15T04:16:13.396Z] ---> Running in 838fe71dd717 [2020-04-15T04:16:13.396Z] Removing intermediate container 838fe71dd717 [2020-04-15T04:16:13.396Z] ---> 674052bfb524 [2020-04-15T04:16:13.396Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-15T04:16:13.396Z] ---> Running in c946ce542e1a [2020-04-15T04:16:14.846Z] 5788d62ee057: Pull complete [2020-04-15T04:16:14.846Z] 0e6b1d234666: Pull complete [2020-04-15T04:16:14.846Z] bf5d7aec512f: Pull complete [2020-04-15T04:16:15.345Z] Removing intermediate container c946ce542e1a [2020-04-15T04:16:15.345Z] ---> 850aa70099ef [2020-04-15T04:16:15.345Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-15T04:16:15.345Z] ---> Running in a826c9ad94ea [2020-04-15T04:16:15.932Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-15T04:16:16.892Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-15T04:16:17.855Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:17.855Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:18.124Z] (3/18) Installing libmagic (5.37-r1) [2020-04-15T04:16:18.391Z] (4/18) Installing file (5.37-r1) [2020-04-15T04:16:18.391Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:18.657Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:18.657Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:19.040Z] 34c802a77dc8: Pull complete [2020-04-15T04:16:20.956Z] 9eb99e56ec68: Pull complete [2020-04-15T04:16:21.224Z] 27c7a5d97fbd: Pull complete [2020-04-15T04:16:21.791Z] 5c102a31e300: Pull complete [2020-04-15T04:16:22.054Z] dcfb455df0a1: Pull complete [2020-04-15T04:16:22.054Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-15T04:16:22.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-15T04:16:22.054Z] ---> 7c70fe431013 [2020-04-15T04:16:22.054Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-15T04:16:22.054Z] ---> Running in ad4c522b82b8 [2020-04-15T04:16:22.316Z] Removing intermediate container ad4c522b82b8 [2020-04-15T04:16:22.316Z] ---> 6659b0e2e084 [2020-04-15T04:16:22.316Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-15T04:16:22.316Z] ---> Running in fc1ec6713f88 [2020-04-15T04:16:23.697Z] Removing intermediate container fc1ec6713f88 [2020-04-15T04:16:23.697Z] ---> 116ff80353bd [2020-04-15T04:16:23.697Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-15T04:16:23.697Z] ---> Running in 71fed85acc03 [2020-04-15T04:16:24.268Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-15T04:16:24.839Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-15T04:16:25.408Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:25.977Z] (2/17) Installing libmagic (5.37-r1) [2020-04-15T04:16:26.238Z] (3/17) Installing file (5.37-r1) [2020-04-15T04:16:26.238Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:26.238Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:16:26.498Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-15T04:17:05.497Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-15T04:17:05.497Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-15T04:17:52.331Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-15T04:17:52.331Z] (11/18) Installing build-base (0.5-r1) [2020-04-15T04:17:52.331Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-15T04:17:52.331Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-15T04:17:52.331Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-15T04:17:52.331Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-15T04:17:52.331Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-15T04:17:52.331Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-15T04:17:52.331Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-15T04:17:52.331Z] Executing busybox-1.31.1-r8.trigger [2020-04-15T04:17:52.331Z] OK: 203 MiB in 52 packages [2020-04-15T04:17:57.695Z] Removing intermediate container a826c9ad94ea [2020-04-15T04:17:57.696Z] ---> 3d77df91bb18 [2020-04-15T04:17:57.696Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-15T04:17:57.696Z] ---> Running in 7375145b59c4 [2020-04-15T04:17:57.696Z] Removing intermediate container 7375145b59c4 [2020-04-15T04:17:57.696Z] ---> 596040822947 [2020-04-15T04:17:57.696Z] Step 7/8 : COPY . . [2020-04-15T04:17:57.964Z] ---> 59bb72d4bb78 [2020-04-15T04:17:57.964Z] Step 8/8 : RUN go mod download [2020-04-15T04:17:58.232Z] ---> Running in 966e8d66d9d1 [2020-04-15T04:18:00.827Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-15T04:18:00.827Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-15T04:18:00.827Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-15T04:18:00.827Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-15T04:18:00.827Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-15T04:18:00.827Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-15T04:18:00.827Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-15T04:18:00.827Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-15T04:18:00.827Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-15T04:18:00.827Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-15T04:18:00.827Z] go: finding github.com/fatih/color v1.7.0 [2020-04-15T04:18:01.096Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-15T04:18:01.096Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-15T04:18:01.096Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-15T04:18:01.096Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-15T04:18:01.096Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-15T04:18:01.096Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-15T04:18:01.096Z] go: finding github.com/google/uuid v1.1.1 [2020-04-15T04:18:01.096Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-15T04:18:01.096Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-15T04:18:01.096Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-15T04:18:01.365Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-15T04:18:01.365Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-15T04:18:01.365Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-15T04:18:01.365Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-15T04:18:01.365Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-15T04:18:01.365Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-15T04:18:01.632Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-15T04:18:01.633Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-15T04:18:01.899Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-15T04:18:01.899Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-15T04:18:01.899Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-15T04:18:01.899Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-15T04:18:01.899Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-15T04:18:02.165Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-15T04:18:02.165Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-15T04:18:02.165Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-15T04:18:02.165Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-15T04:18:02.165Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-15T04:18:02.166Z] go: finding github.com/posener/complete v1.1.1 [2020-04-15T04:18:02.166Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-15T04:18:02.166Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-15T04:18:02.166Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-15T04:18:02.434Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-15T04:18:02.434Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-15T04:18:02.434Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-15T04:18:02.434Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-15T04:18:02.434Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-15T04:18:02.434Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-15T04:18:02.434Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-15T04:18:02.701Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-15T04:18:02.958Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-15T04:18:02.958Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-15T04:18:17.739Z] Removing intermediate container 966e8d66d9d1 [2020-04-15T04:18:17.739Z] ---> 16ce1b3a7cae [2020-04-15T04:18:17.739Z] Successfully built 16ce1b3a7cae [2020-04-15T04:18:17.739Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:18:18.568Z] + docker inspect -f . ci-base-image-arm64 [2020-04-15T04:18:18.835Z] . [Pipeline] withDockerContainer [2020-04-15T04:18:19.192Z] prd-ubuntu18.04-docker-arm64-4c-16g-3962 does not seem to be running inside a container [2020-04-15T04:18:19.270Z] $ 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 ******** ci-base-image-arm64 cat [2020-04-15T04:18:20.644Z] $ docker top dd2042bd3035d15614cf6b83675d5fd2081449d6d0f0335079a426e57e998dd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-15T04:18:21.742Z] + go version [2020-04-15T04:18:21.742Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-15T04:18:22.411Z] + make test [2020-04-15T04:18:22.412Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-15T04:18:23.410Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-15T04:19:02.332Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-15T04:19:02.332Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.235s coverage: 50.3% of statements [2020-04-15T04:19:02.332Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-15T04:19:06.593Z] gofmt -l . [2020-04-15T04:19:06.593Z] [ "`gofmt -l .`" = "" ] [2020-04-15T04:19:06.593Z] ./bin/test-attribution-txt.sh [2020-04-15T04:19:07.179Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-15T04:19:08.182Z] Stashed 1 file(s) [Pipeline] } [2020-04-15T04:19:08.200Z] $ docker stop --time=1 dd2042bd3035d15614cf6b83675d5fd2081449d6d0f0335079a426e57e998dd4 [2020-04-15T04:19:10.421Z] $ docker rm -f dd2042bd3035d15614cf6b83675d5fd2081449d6d0f0335079a426e57e998dd4 [2020-04-15T04:19:10.669Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-15T04:19:10.669Z] (10/17) Installing build-base (0.5-r1) [2020-04-15T04:19:10.669Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-15T04:19:10.669Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-15T04:19:10.669Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-15T04:19:10.669Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-15T04:19:10.669Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-15T04:19:10.669Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-15T04:19:10.669Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-15T04:19:10.669Z] Executing busybox-1.31.1-r8.trigger [2020-04-15T04:19:10.669Z] OK: 214 MiB in 52 packages [2020-04-15T04:19:10.669Z] Removing intermediate container 71fed85acc03 [2020-04-15T04:19:10.669Z] ---> 8223d1f1bc6a [2020-04-15T04:19:10.669Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-15T04:19:10.669Z] ---> Running in a0a5f2d05480 [2020-04-15T04:19:10.669Z] Removing intermediate container a0a5f2d05480 [2020-04-15T04:19:10.669Z] ---> 7f69d5faa1ae [2020-04-15T04:19:10.669Z] Step 7/8 : COPY . . [2020-04-15T04:19:10.669Z] ---> 4c6a015b53d9 [2020-04-15T04:19:10.669Z] Step 8/8 : RUN go mod download [2020-04-15T04:19:10.669Z] ---> Running in 6b53fa17d64c [2020-04-15T04:19:10.669Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-15T04:19:10.669Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-15T04:19:10.669Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-15T04:19:10.669Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-15T04:19:10.669Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-15T04:19:10.669Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-15T04:19:10.669Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-15T04:19:10.669Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-15T04:19:10.669Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-15T04:19:10.669Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-15T04:19:10.669Z] go: finding github.com/fatih/color v1.7.0 [2020-04-15T04:19:10.669Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-15T04:19:10.669Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-15T04:19:10.669Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-15T04:19:10.669Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-15T04:19:10.669Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-15T04:19:10.669Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-15T04:19:10.669Z] go: finding github.com/google/uuid v1.1.1 [2020-04-15T04:19:10.669Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-15T04:19:10.669Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-15T04:19:10.669Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-15T04:19:10.669Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-15T04:19:10.669Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-15T04:19:10.669Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-15T04:19:10.669Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-15T04:19:10.929Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-15T04:19:10.929Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-15T04:19:10.929Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-15T04:19:10.929Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-15T04:19:10.929Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-04-15T04:19:11.189Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-15T04:19:11.189Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-15T04:19:11.189Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-15T04:19:11.189Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-15T04:19:11.189Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-15T04:19:11.189Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-15T04:19:11.189Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-15T04:19:11.189Z] go: finding github.com/pkg/errors v0.8.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-04-15T04:19:11.447Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-15T04:19:11.448Z] go: finding github.com/posener/complete v1.1.1 [2020-04-15T04:19:11.448Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-15T04:19:11.448Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-15T04:19:11.448Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-15T04:19:11.448Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-15T04:19:11.448Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-15T04:19:11.448Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-15T04:19:11.709Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-15T04:19:11.709Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-15T04:19:11.709Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-15T04:19:11.709Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-15T04:19:11.709Z] go: finding gopkg.in/yaml.v2 v2.2.2 [Pipeline] sh [2020-04-15T04:19:12.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-15T04:19:12.736Z] + ls -al . [2020-04-15T04:19:12.736Z] total 132 [2020-04-15T04:19:12.736Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 04:19 . [2020-04-15T04:19:12.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 04:15 .. [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 04:15 .dockerignore [2020-04-15T04:19:12.736Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 04:15 .git [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 15 04:15 .gitignore [2020-04-15T04:19:12.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 04:15 .semver [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 4208 Apr 15 04:15 Attribution.txt [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 1263 Apr 15 04:15 Dockerfile [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 15 04:15 Dockerfile.build [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 681 Apr 15 04:15 Jenkinsfile [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 15 04:15 LICENSE [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 15 04:15 Makefile [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 15 04:15 README.md [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 04:13 VERSION [2020-04-15T04:19:12.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 04:15 bin [2020-04-15T04:19:12.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 04:15 cmd [2020-04-15T04:19:12.736Z] -rw-r--r-- 1 jenkins jenkins 22122 Apr 15 04:18 coverage.out [2020-04-15T04:19:12.736Z] -rw-r--r-- 1 jenkins jenkins 630 Apr 15 04:19 go.mod [2020-04-15T04:19:12.736Z] -rw-r--r-- 1 jenkins jenkins 12117 Apr 15 04:19 go.sum [2020-04-15T04:19:12.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 04:15 internal [2020-04-15T04:19:12.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 04:15 simulator [2020-04-15T04:19:12.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 04:15 snap [2020-04-15T04:19:12.736Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 15 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:19:13.106Z] + 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=251ac84f7228ae0fb6e27216846c283c9f5cee26 --label arch=arm64 --label version=0.0.0 . [2020-04-15T04:19:13.373Z] Sending build context to Docker daemon 585.7kB [2020-04-15T04:19:13.642Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-15T04:19:13.642Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-15T04:19:13.642Z] ---> 16ce1b3a7cae [2020-04-15T04:19:13.642Z] Step 3/17 : ARG MAKE='make build' [2020-04-15T04:19:13.642Z] ---> Running in e35ad1b3a445 [2020-04-15T04:19:13.909Z] Removing intermediate container e35ad1b3a445 [2020-04-15T04:19:13.909Z] ---> 763f51e0c4c2 [2020-04-15T04:19:13.909Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-15T04:19:14.177Z] ---> Running in 7ef35bd2c847 [2020-04-15T04:19:16.134Z] Removing intermediate container 7ef35bd2c847 [2020-04-15T04:19:16.134Z] ---> b0af0e5e2a64 [2020-04-15T04:19:16.134Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-15T04:19:16.134Z] ---> Running in 56a0fb1d60b0 [2020-04-15T04:19:17.098Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-15T04:19:19.677Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-15T04:19:21.619Z] OK: 203 MiB in 52 packages [2020-04-15T04:19:21.698Z] Removing intermediate container 6b53fa17d64c [2020-04-15T04:19:21.698Z] ---> 7c35afbaa36f [2020-04-15T04:19:21.698Z] Successfully built 7c35afbaa36f [2020-04-15T04:19:21.698Z] 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 [2020-04-15T04:19:22.614Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-15T04:19:22.614Z] . [Pipeline] withDockerContainer [2020-04-15T04:19:22.779Z] prd-centos7-docker-4c-2g-3963 does not seem to be running inside a container [2020-04-15T04:19:22.851Z] $ 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 ******** ci-base-image-x86_64 cat [2020-04-15T04:19:23.031Z] Removing intermediate container 56a0fb1d60b0 [2020-04-15T04:19:23.032Z] ---> 7c386af8b0d3 [2020-04-15T04:19:23.032Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-15T04:19:23.032Z] ---> Running in 1028f936957f [2020-04-15T04:19:23.301Z] Removing intermediate container 1028f936957f [2020-04-15T04:19:23.301Z] ---> 718e6a674e31 [2020-04-15T04:19:23.301Z] Step 7/17 : COPY . . [2020-04-15T04:19:23.377Z] $ docker top a8855715f787d750a5df39abd89b898f6c74346703c47c9eb6bcdf98e307cc87 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-15T04:19:23.884Z] ---> 54fa2d5b7cf4 [2020-04-15T04:19:23.885Z] Step 8/17 : RUN ${MAKE} [2020-04-15T04:19:23.917Z] + go version [2020-04-15T04:19:23.917Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-15T04:19:24.159Z] ---> Running in 3bb3cee2bd53 [2020-04-15T04:19:24.236Z] + make test [2020-04-15T04:19:24.236Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-15T04:19:25.126Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-15T04:19:25.181Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-15T04:19:40.127Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-15T04:19:40.127Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.151s coverage: 50.3% of statements [2020-04-15T04:19:40.127Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-15T04:19:40.701Z] gofmt -l . [2020-04-15T04:19:40.701Z] [ "`gofmt -l .`" = "" ] [2020-04-15T04:19:40.701Z] ./bin/test-attribution-txt.sh [2020-04-15T04:19:41.271Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-15T04:19:41.557Z] Warning: overwriting stash ‘coverage-report’ [2020-04-15T04:19:41.796Z] Stashed 1 file(s) [Pipeline] } [2020-04-15T04:19:41.816Z] $ docker stop --time=1 a8855715f787d750a5df39abd89b898f6c74346703c47c9eb6bcdf98e307cc87 [2020-04-15T04:19:43.222Z] $ docker rm -f a8855715f787d750a5df39abd89b898f6c74346703c47c9eb6bcdf98e307cc87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-15T04:19:44.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-15T04:19:44.464Z] + ls -al . [2020-04-15T04:19:44.465Z] total 100 [2020-04-15T04:19:44.465Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 15 04:19 . [2020-04-15T04:19:44.465Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 15 04:15 .. [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 4208 Apr 15 04:15 Attribution.txt [2020-04-15T04:19:44.465Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 15 04:15 bin [2020-04-15T04:19:44.465Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 15 04:15 cmd [2020-04-15T04:19:44.465Z] -rw-r--r--. 1 jenkins jenkins 22122 Apr 15 04:19 coverage.out [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 1263 Apr 15 04:15 Dockerfile [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 15 04:15 Dockerfile.build [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 15 04:15 .dockerignore [2020-04-15T04:19:44.465Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 15 04:16 .git [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 15 04:15 .gitignore [2020-04-15T04:19:44.465Z] -rw-r--r--. 1 jenkins jenkins 630 Apr 15 04:19 go.mod [2020-04-15T04:19:44.465Z] -rw-r--r--. 1 jenkins jenkins 12117 Apr 15 04:19 go.sum [2020-04-15T04:19:44.465Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 15 04:15 internal [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 681 Apr 15 04:15 Jenkinsfile [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 15 04:15 LICENSE [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 15 04:15 Makefile [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 15 04:15 README.md [2020-04-15T04:19:44.465Z] drwxrwxr-x. 3 jenkins jenkins 74 Apr 15 04:16 .semver [2020-04-15T04:19:44.465Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 15 04:15 simulator [2020-04-15T04:19:44.465Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 15 04:15 snap [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 04:13 VERSION [2020-04-15T04:19:44.465Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 15 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:19:44.803Z] + 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=251ac84f7228ae0fb6e27216846c283c9f5cee26 --label arch=amd64 --label version=0.0.0 . [2020-04-15T04:19:44.803Z] Sending build context to Docker daemon 585.7kB [2020-04-15T04:19:44.803Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-15T04:19:44.803Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-15T04:19:44.803Z] ---> 7c35afbaa36f [2020-04-15T04:19:44.803Z] Step 3/17 : ARG MAKE='make build' [2020-04-15T04:19:45.061Z] ---> Running in 4467476cf0cc [2020-04-15T04:19:45.061Z] Removing intermediate container 4467476cf0cc [2020-04-15T04:19:45.061Z] ---> 71255480514a [2020-04-15T04:19:45.061Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-15T04:19:45.061Z] ---> Running in 5dd48c2381fd [2020-04-15T04:19:45.627Z] Removing intermediate container 5dd48c2381fd [2020-04-15T04:19:45.627Z] ---> 676f8e08e847 [2020-04-15T04:19:45.627Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-15T04:19:45.886Z] ---> Running in a1b521ee0072 [2020-04-15T04:19:46.144Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-15T04:19:48.046Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-15T04:19:49.422Z] OK: 214 MiB in 52 packages [2020-04-15T04:19:49.992Z] Removing intermediate container a1b521ee0072 [2020-04-15T04:19:49.992Z] ---> 4ea4ad3fe0ec [2020-04-15T04:19:49.992Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-15T04:19:49.992Z] ---> Running in 628044a808d6 [2020-04-15T04:19:49.992Z] Removing intermediate container 628044a808d6 [2020-04-15T04:19:49.992Z] ---> c83410a77a8e [2020-04-15T04:19:49.992Z] Step 7/17 : COPY . . [2020-04-15T04:19:50.264Z] ---> 4dce7f57bc9c [2020-04-15T04:19:50.264Z] Step 8/17 : RUN ${MAKE} [2020-04-15T04:19:50.264Z] ---> Running in e379e091dd7a [2020-04-15T04:19:50.836Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-15T04:20:03.105Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-15T04:20:04.035Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-15T04:20:04.486Z] Removing intermediate container e379e091dd7a [2020-04-15T04:20:04.486Z] ---> 06f597bc2e36 [2020-04-15T04:20:04.486Z] Step 9/17 : FROM scratch [2020-04-15T04:20:04.486Z] ---> [2020-04-15T04:20:04.486Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-15T04:20:04.486Z] ---> Running in 64ea29c12b84 [2020-04-15T04:20:04.486Z] Removing intermediate container 64ea29c12b84 [2020-04-15T04:20:04.486Z] ---> 59cccb728d1c [2020-04-15T04:20:04.486Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-15T04:20:04.486Z] ---> Running in 6b2c6108a6d0 [2020-04-15T04:20:04.486Z] Removing intermediate container 6b2c6108a6d0 [2020-04-15T04:20:04.486Z] ---> b51ec7efbfb4 [2020-04-15T04:20:04.486Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-15T04:20:05.059Z] ---> 30d1c743a0f0 [2020-04-15T04:20:05.059Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-15T04:20:05.059Z] ---> Running in 4cab1dbeac93 [2020-04-15T04:20:05.321Z] Removing intermediate container 4cab1dbeac93 [2020-04-15T04:20:05.321Z] ---> f1bb56c265c8 [2020-04-15T04:20:05.321Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-15T04:20:05.321Z] ---> Running in e19a93f411a0 [2020-04-15T04:20:05.321Z] Removing intermediate container e19a93f411a0 [2020-04-15T04:20:05.321Z] ---> a8ddf6257d29 [2020-04-15T04:20:05.321Z] Step 15/17 : LABEL arch=amd64 [2020-04-15T04:20:05.321Z] ---> Running in 3cddf296999b [2020-04-15T04:20:05.581Z] Removing intermediate container 3cddf296999b [2020-04-15T04:20:05.581Z] ---> f59ba6e8cd7e [2020-04-15T04:20:05.581Z] Step 16/17 : LABEL git_sha=251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-15T04:20:05.581Z] ---> Running in 1b236df98788 [2020-04-15T04:20:05.840Z] Removing intermediate container 1b236df98788 [2020-04-15T04:20:05.840Z] ---> 4f64d92f6599 [2020-04-15T04:20:05.840Z] Step 17/17 : LABEL version=0.0.0 [2020-04-15T04:20:05.840Z] ---> Running in 62c0e5271188 [2020-04-15T04:20:05.840Z] Removing intermediate container 62c0e5271188 [2020-04-15T04:20:05.840Z] ---> 761eec788c63 [2020-04-15T04:20:05.840Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-15T04:20:05.840Z] Successfully built 761eec788c63 [2020-04-15T04:20:05.840Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-15T04:20:09.393Z] Removing intermediate container 3bb3cee2bd53 [2020-04-15T04:20:09.393Z] ---> 479bdb120273 [2020-04-15T04:20:09.393Z] Step 9/17 : FROM scratch [2020-04-15T04:20:09.393Z] ---> [2020-04-15T04:20:09.393Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-15T04:20:09.393Z] ---> Running in 17373f088f72 [2020-04-15T04:20:09.393Z] Removing intermediate container 17373f088f72 [2020-04-15T04:20:09.393Z] ---> f9320ddf4b05 [2020-04-15T04:20:09.393Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-15T04:20:09.393Z] ---> Running in fb10c9fdcbba [2020-04-15T04:20:09.393Z] Removing intermediate container fb10c9fdcbba [2020-04-15T04:20:09.393Z] ---> fd355d6b92df [2020-04-15T04:20:09.393Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-15T04:20:10.806Z] ---> b4f1334aa9aa [2020-04-15T04:20:10.806Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-15T04:20:10.806Z] ---> Running in 91ee732bb14c [2020-04-15T04:20:11.074Z] Removing intermediate container 91ee732bb14c [2020-04-15T04:20:11.074Z] ---> 08fc47a4f023 [2020-04-15T04:20:11.074Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-15T04:20:11.074Z] ---> Running in 7cc93710e42b [2020-04-15T04:20:11.342Z] Removing intermediate container 7cc93710e42b [2020-04-15T04:20:11.342Z] ---> ac6f238dfa0c [2020-04-15T04:20:11.342Z] Step 15/17 : LABEL arch=arm64 [2020-04-15T04:20:11.610Z] ---> Running in be532271a94f [2020-04-15T04:20:11.877Z] Removing intermediate container be532271a94f [2020-04-15T04:20:11.877Z] ---> 41fca84b4e15 [2020-04-15T04:20:11.877Z] Step 16/17 : LABEL git_sha=251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-15T04:20:12.144Z] ---> Running in 21b88df6cf0a [2020-04-15T04:20:12.412Z] Removing intermediate container 21b88df6cf0a [2020-04-15T04:20:12.412Z] ---> 350f8d7d465a [2020-04-15T04:20:12.412Z] Step 17/17 : LABEL version=0.0.0 [2020-04-15T04:20:12.412Z] ---> Running in 7dcb874613d0 [2020-04-15T04:20:12.999Z] Removing intermediate container 7dcb874613d0 [2020-04-15T04:20:12.999Z] ---> 7329976a4b4a [2020-04-15T04:20:12.999Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-15T04:20:12.999Z] Successfully built 7329976a4b4a [2020-04-15T04:20:12.999Z] 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] } [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 [2020-04-15T04:20:14.475Z] provisioning config files... [2020-04-15T04:20:14.486Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config1766740873197576248tmp [Pipeline] { [Pipeline] sh [2020-04-15T04:20:14.874Z] + curl -s https://codecov.io/bash [2020-04-15T04:20:14.874Z] + bash -s - -t @/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config1766740873197576248tmp [2020-04-15T04:20:15.133Z] [2020-04-15T04:20:15.133Z] _____ _ [2020-04-15T04:20:15.133Z] / ____| | | [2020-04-15T04:20:15.133Z] | | ___ __| | ___ ___ _____ __ [2020-04-15T04:20:15.133Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-15T04:20:15.133Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-15T04:20:15.133Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-15T04:20:15.133Z] Bash-20200410-0786dee [2020-04-15T04:20:15.133Z] [2020-04-15T04:20:15.133Z] [2020-04-15T04:20:15.133Z] ==> Jenkins CI detected. [2020-04-15T04:20:15.133Z] project root: . [2020-04-15T04:20:15.133Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-15T04:20:15.133Z] ==> Running gcov in . (disable via -X gcov) [2020-04-15T04:20:15.133Z] ==> Python coveragepy not found [2020-04-15T04:20:15.133Z] ==> Searching for coverage reports in: [2020-04-15T04:20:15.133Z] + . [2020-04-15T04:20:15.133Z] -> Found 1 reports [2020-04-15T04:20:15.133Z] ==> Detecting git/mercurial file structure [2020-04-15T04:20:15.133Z] ==> Reading reports [2020-04-15T04:20:15.133Z] + ./coverage.out bytes=22122 [2020-04-15T04:20:15.133Z] ==> Appending adjustments [2020-04-15T04:20:15.133Z] http://docs.codecov.io/docs/fixing-reports [2020-04-15T04:20:15.133Z] + Found adjustments [2020-04-15T04:20:15.133Z] ==> Gzipping contents [2020-04-15T04:20:15.133Z] ==> Uploading reports [2020-04-15T04:20:15.133Z] url: https://codecov.io [2020-04-15T04:20:15.133Z] query: branch=edgex-modbus-simulator&commit=251ac84f7228ae0fb6e27216846c283c9f5cee26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fedgex-modbus-simulator%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= [2020-04-15T04:20:15.133Z] -> Pinging Codecov [2020-04-15T04:20:15.133Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=edgex-modbus-simulator&commit=251ac84f7228ae0fb6e27216846c283c9f5cee26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fedgex-modbus-simulator%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= [2020-04-15T04:20:15.707Z] -> Uploading [2020-04-15T04:20:15.968Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] } [2020-04-15T04:20:15.989Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-15T04:20:17.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-15T04:20:17.925Z] ---> package-listing.sh [2020-04-15T04:20:17.925Z] ++ facter osfamily [2020-04-15T04:20:17.925Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-15T04:20:17.925Z] + OS_FAMILY=redhat [2020-04-15T04:20:17.925Z] + workspace=/w/workspace/modbus-go_edgex-modbus-simulator [2020-04-15T04:20:17.925Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-15T04:20:17.925Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-15T04:20:17.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-15T04:20:17.925Z] + PACKAGES=/tmp/packages_start.txt [2020-04-15T04:20:17.925Z] + '[' /w/workspace/modbus-go_edgex-modbus-simulator ']' [2020-04-15T04:20:17.925Z] + PACKAGES=/tmp/packages_end.txt [2020-04-15T04:20:17.925Z] + case "${OS_FAMILY}" in [2020-04-15T04:20:17.925Z] + rpm -qa [2020-04-15T04:20:17.925Z] + sort [2020-04-15T04:20:21.215Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-15T04:20:21.215Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-15T04:20:21.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-15T04:20:21.215Z] + '[' /w/workspace/modbus-go_edgex-modbus-simulator ']' [2020-04-15T04:20:21.215Z] + mkdir -p /w/workspace/modbus-go_edgex-modbus-simulator/archives/ [2020-04-15T04:20:21.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/modbus-go_edgex-modbus-simulator/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:20:21.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-15T04:20:21.721Z] [2020-04-15T04:20:21.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-15T04:20:22.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-15T04:20:22.094Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-15T04:20:22.094Z] c9b1b535fdd9: Pulling fs layer [2020-04-15T04:20:22.094Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-15T04:20:22.094Z] 756a868c4378: Pulling fs layer [2020-04-15T04:20:22.094Z] 444b2fc9a129: Pulling fs layer [2020-04-15T04:20:22.094Z] ea15f1150254: Pulling fs layer [2020-04-15T04:20:22.094Z] 41b27a9f41bf: Pulling fs layer [2020-04-15T04:20:22.094Z] 28c525ee5125: Pulling fs layer [2020-04-15T04:20:22.094Z] 094b1ea09ed8: Pulling fs layer [2020-04-15T04:20:22.094Z] 138eaada9080: Pulling fs layer [2020-04-15T04:20:22.094Z] 0622d0fa9048: Pulling fs layer [2020-04-15T04:20:22.094Z] 444b2fc9a129: Waiting [2020-04-15T04:20:22.094Z] ea15f1150254: Waiting [2020-04-15T04:20:22.094Z] 41b27a9f41bf: Waiting [2020-04-15T04:20:22.094Z] 094b1ea09ed8: Waiting [2020-04-15T04:20:22.094Z] 138eaada9080: Waiting [2020-04-15T04:20:22.094Z] 0622d0fa9048: Waiting [2020-04-15T04:20:22.094Z] 28c525ee5125: Waiting [2020-04-15T04:20:22.094Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-15T04:20:22.094Z] 2cc5ad85d9ab: Download complete [2020-04-15T04:20:22.094Z] 444b2fc9a129: Verifying Checksum [2020-04-15T04:20:22.094Z] 444b2fc9a129: Download complete [2020-04-15T04:20:22.094Z] c9b1b535fdd9: Verifying Checksum [2020-04-15T04:20:22.094Z] ea15f1150254: Verifying Checksum [2020-04-15T04:20:22.094Z] ea15f1150254: Download complete [2020-04-15T04:20:22.359Z] 28c525ee5125: Verifying Checksum [2020-04-15T04:20:22.359Z] 28c525ee5125: Download complete [2020-04-15T04:20:22.359Z] c9b1b535fdd9: Pull complete [2020-04-15T04:20:22.625Z] 756a868c4378: Verifying Checksum [2020-04-15T04:20:22.625Z] 756a868c4378: Download complete [2020-04-15T04:20:22.625Z] 138eaada9080: Verifying Checksum [2020-04-15T04:20:22.625Z] 138eaada9080: Download complete [2020-04-15T04:20:22.625Z] 2cc5ad85d9ab: Pull complete [2020-04-15T04:20:22.625Z] 0622d0fa9048: Verifying Checksum [2020-04-15T04:20:22.625Z] 0622d0fa9048: Download complete [2020-04-15T04:20:22.888Z] 094b1ea09ed8: Verifying Checksum [2020-04-15T04:20:22.888Z] 094b1ea09ed8: Download complete [2020-04-15T04:20:23.150Z] 41b27a9f41bf: Verifying Checksum [2020-04-15T04:20:23.150Z] 41b27a9f41bf: Download complete [2020-04-15T04:20:24.085Z] 756a868c4378: Pull complete [2020-04-15T04:20:24.085Z] 444b2fc9a129: Pull complete [2020-04-15T04:20:24.651Z] ea15f1150254: Pull complete [2020-04-15T04:20:27.946Z] 41b27a9f41bf: Pull complete [2020-04-15T04:20:27.946Z] 28c525ee5125: Pull complete [2020-04-15T04:20:29.860Z] 094b1ea09ed8: Pull complete [2020-04-15T04:20:29.860Z] 138eaada9080: Pull complete [2020-04-15T04:20:29.860Z] 0622d0fa9048: Pull complete [2020-04-15T04:20:29.860Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-15T04:20:29.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-15T04:20:30.028Z] prd-centos7-docker-4c-2g-3961 does not seem to be running inside a container [2020-04-15T04:20:30.071Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/modbus-go_edgex-modbus-simulator -v /w/workspace/modbus-go_edgex-modbus-simulator:/w/workspace/modbus-go_edgex-modbus-simulator:rw,z -v /w/workspace/modbus-go_edgex-modbus-simulator@tmp:/w/workspace/modbus-go_edgex-modbus-simulator@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-15T04:20:31.049Z] $ docker top a812aae93e022d545409af8de99fab8aa3bbbce9a49997e322fc7c3776755e35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-15T04:20:31.390Z] provisioning config files... [2020-04-15T04:20:31.404Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config5798594738968114336tmp [Pipeline] { [Pipeline] echo [2020-04-15T04:20:31.493Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-15T04:20:31.810Z] ---> create-netrc.sh [Pipeline] echo [2020-04-15T04:20:31.832Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-15T04:20:32.143Z] ---> logs-deploy.sh [2020-04-15T04:20:32.143Z] + ARCHIVE_ARTIFACTS= [2020-04-15T04:20:32.143Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-15T04:20:32.143Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-15T04:20:32.143Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-15T04:20:32.143Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/edgex-modbus-simulator/1 [2020-04-15T04:20:32.143Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/edgex-modbus-simulator/1/ [2020-04-15T04:20:32.143Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/edgex-modbus-simulator/1 /w/workspace/modbus-go_edgex-modbus-simulator [2020-04-15T04:20:33.078Z] Archives upload complete. [2020-04-15T04:20:33.336Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/edgex-modbus-simulator/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/edgex-modbus-simulator/1/