Pull request #134 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa+30534e99e394efc00c176be032a98ac6c7eba5ce (6d5c167d5b631390e57200ea2fedf4ac37034404) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 [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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2504 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-134 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa Merge succeeded, producing 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa Checking out Revision 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa (PR-134) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # 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/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # 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 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." First time build. Skipping changelog. > git rev-list --no-walk f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:46:18 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 04:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:46:20 04:46:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:46:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:46:21 latest: Pulling from edgex-devops/git-semver 04:46:21 9123ac7c32f7: Pulling fs layer 04:46:21 b8cc5d1170e3: Pulling fs layer 04:46:21 2924cbbf6a41: Pulling fs layer 04:46:21 93b08a4f1073: Pulling fs layer 04:46:21 93b08a4f1073: Waiting 04:46:21 b8cc5d1170e3: Verifying Checksum 04:46:21 b8cc5d1170e3: Download complete 04:46:21 9123ac7c32f7: Verifying Checksum 04:46:21 9123ac7c32f7: Download complete 04:46:21 93b08a4f1073: Verifying Checksum 04:46:21 93b08a4f1073: Download complete 04:46:21 2924cbbf6a41: Verifying Checksum 04:46:21 9123ac7c32f7: Pull complete 04:46:21 b8cc5d1170e3: Pull complete 04:46:22 2924cbbf6a41: Pull complete 04:46:22 93b08a4f1073: Pull complete 04:46:22 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 04:46:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:46:22 prd-centos7-docker-4c-2g-2504 does not seem to be running inside a container 04:46:22 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-134 -v /w/workspace/xfoundry_device-modbus-go_PR-134:/w/workspace/xfoundry_device-modbus-go_PR-134:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-134@tmp:/w/workspace/xfoundry_device-modbus-go_PR-134@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:46:23 $ docker top 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:46:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:23 [ssh-agent] Looking for ssh-agent implementation... 04:46:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:24 $ docker exec 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent 04:46:24 SSH_AUTH_SOCK=/tmp/ssh-JF20q10PoCCn/agent.15 04:46:24 SSH_AGENT_PID=22 04:46:24 Running ssh-add (command line suppressed) 04:46:24 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_1898934493762235105.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_1898934493762235105.key) 04:46:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:24 + git describe --exact-match --tags HEAD 04:46:24 fatal: No names found, cannot describe anything. [Pipeline] } 04:46:24 $ docker exec --env ******** --env ******** 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent -k 04:46:25 unset SSH_AUTH_SOCK; 04:46:25 unset SSH_AGENT_PID; 04:46:25 echo Agent pid 22 killed; 04:46:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:46:25 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:46:25 This usually means this commit has not been tagged. [Pipeline] sshagent 04:46:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:25 [ssh-agent] Looking for ssh-agent implementation... 04:46:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:25 $ docker exec 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent 04:46:25 SSH_AUTH_SOCK=/tmp/ssh-8bZsjZ0Z63wO/agent.57 04:46:25 SSH_AGENT_PID=64 04:46:25 Running ssh-add (command line suppressed) 04:46:25 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_3153322536847195777.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_3153322536847195777.key) 04:46:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:26 + git semver init 04:46:26 # -> Open(): unable to determine branch for HEAD 04:46:26 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.git 04:46:26 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-134 04:46:26 # $SEMVER_REMOTE_NAME = origin 04:46:26 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:46:26 # $SEMVER_USER_NAME = jenkins 04:46:26 # $SEMVER_BRANCH = PR-134 04:46:26 # $SEMVER_TEMP = /tmp/semver-608431673 04:46:26 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 04:46:26 # '/tmp/semver-608431673' -> '/w/workspace/xfoundry_device-modbus-go_PR-134/.semver' 04:46:26 # -> Force: false 04:46:26 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.semver [Pipeline] } 04:46:26 $ docker exec --env ******** --env ******** 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent -k 04:46:26 unset SSH_AUTH_SOCK; 04:46:26 unset SSH_AGENT_PID; 04:46:26 echo Agent pid 64 killed; 04:46:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:27 + git semver [Pipeline] } 04:46:27 $ docker stop --time=1 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 04:46:28 $ docker rm -f 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:46:29 Stashed 21 file(s) [Pipeline] echo 04:46:29 [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 04:46:44 Still waiting to schedule task 04:46:44 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2504’ 04:46:44 Still waiting to schedule task 04:46:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 04:48:52 Running on prd-centos7-docker-4c-2g-2507 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws 04:48:52 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 04:48:54 using credential edgex-jenkins-ssh 04:48:54 Cloning the remote Git repository 04:48:54 Cloning with configured refspecs honoured and without tags 04:48:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:48:55 Fetching without tags 04:48:55 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa 04:48:55 Merge succeeded, producing 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa 04:48:55 Checking out Revision 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa (PR-134) 04:48:53 > git init /w/workspace/device-modbus-go/2 # timeout=10 04:48:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:48:53 > git --version # timeout=10 04:48:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:48:54 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 04:48:54 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:48:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:48:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:54 > git config core.sparsecheckout # timeout=10 04:48:54 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 04:48:54 > git remote # timeout=10 04:48:54 > git config --get remote.origin.url # timeout=10 04:48:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:54 > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 04:48:54 > git rev-parse HEAD^{commit} # timeout=10 04:48:54 > git config core.sparsecheckout # timeout=10 04:48:54 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 04:48:58 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:48:59 ========================================================= 04:48:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:48:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:49:00 + 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 . 04:49:00 Sending build context to Docker daemon 554kB 04:49:00 Step 1/8 : ARG BASE=golang:1.13-alpine 04:49:00 Step 2/8 : FROM ${BASE} 04:49:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:49:00 e6b0cf9c0882: Pulling fs layer 04:49:00 2848faf0eed1: Pulling fs layer 04:49:00 0f37312ad70f: Pulling fs layer 04:49:00 5788d62ee057: Pulling fs layer 04:49:00 0e6b1d234666: Pulling fs layer 04:49:00 bf5d7aec512f: Pulling fs layer 04:49:00 34c802a77dc8: Pulling fs layer 04:49:00 9eb99e56ec68: Pulling fs layer 04:49:00 27c7a5d97fbd: Pulling fs layer 04:49:00 5c102a31e300: Pulling fs layer 04:49:00 dcfb455df0a1: Pulling fs layer 04:49:00 34c802a77dc8: Waiting 04:49:00 9eb99e56ec68: Waiting 04:49:00 5788d62ee057: Waiting 04:49:00 27c7a5d97fbd: Waiting 04:49:00 5c102a31e300: Waiting 04:49:00 dcfb455df0a1: Waiting 04:49:00 0e6b1d234666: Waiting 04:49:00 bf5d7aec512f: Waiting 04:49:00 0f37312ad70f: Download complete 04:49:00 2848faf0eed1: Verifying Checksum 04:49:00 2848faf0eed1: Download complete 04:49:00 0e6b1d234666: Verifying Checksum 04:49:00 0e6b1d234666: Download complete 04:49:00 bf5d7aec512f: Verifying Checksum 04:49:00 bf5d7aec512f: Download complete 04:49:00 e6b0cf9c0882: Verifying Checksum 04:49:00 e6b0cf9c0882: Download complete 04:49:00 e6b0cf9c0882: Pull complete 04:49:01 2848faf0eed1: Pull complete 04:49:01 34c802a77dc8: Verifying Checksum 04:49:01 34c802a77dc8: Download complete 04:49:01 27c7a5d97fbd: Verifying Checksum 04:49:01 27c7a5d97fbd: Download complete 04:49:02 5c102a31e300: Verifying Checksum 04:49:02 5c102a31e300: Download complete 04:49:02 5788d62ee057: Verifying Checksum 04:49:02 5788d62ee057: Download complete 04:49:02 dcfb455df0a1: Verifying Checksum 04:49:02 dcfb455df0a1: Download complete 04:49:02 9eb99e56ec68: Verifying Checksum 04:49:02 9eb99e56ec68: Download complete 04:49:03 0f37312ad70f: Pull complete 04:49:10 5788d62ee057: Pull complete 04:49:10 0e6b1d234666: Pull complete 04:49:10 bf5d7aec512f: Pull complete 04:49:14 34c802a77dc8: Pull complete 04:49:18 9eb99e56ec68: Pull complete 04:49:18 27c7a5d97fbd: Pull complete 04:49:19 5c102a31e300: Pull complete 04:49:19 dcfb455df0a1: Pull complete 04:49:19 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 04:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:49:19 ---> 7c70fe431013 04:49:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:49:19 ---> Running in 5f36706d87e1 04:49:19 Removing intermediate container 5f36706d87e1 04:49:19 ---> 4854182fef04 04:49:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:49:19 ---> Running in afdcff52aced 04:49:20 Removing intermediate container afdcff52aced 04:49:20 ---> 3d6ee21e7e15 04:49:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:49:20 ---> Running in 202b530269b6 04:49:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:49:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:49:22 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 04:49:22 (2/17) Installing libmagic (5.37-r1) 04:49:22 (3/17) Installing file (5.37-r1) 04:49:22 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 04:49:22 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 04:49:22 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 04:49:25 (7/17) Installing libc-dev (0.7.2-r0) 04:49:25 (8/17) Installing g++ (9.2.0-r4) 04:49:27 (9/17) Installing fortify-headers (1.1-r0) 04:49:27 (10/17) Installing build-base (0.5-r1) 04:49:27 (11/17) Installing openssh-keygen (8.1_p1-r0) 04:49:27 (12/17) Installing libedit (20191211.3.1-r0) 04:49:27 (13/17) Installing openssh-client (8.1_p1-r0) 04:49:27 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 04:49:27 (15/17) Installing openssh-server-common (8.1_p1-r0) 04:49:28 (16/17) Installing openssh-server (8.1_p1-r0) 04:49:28 (17/17) Installing openssh (8.1_p1-r0) 04:49:28 Executing busybox-1.31.1-r8.trigger 04:49:28 OK: 214 MiB in 52 packages 04:49:32 Removing intermediate container 202b530269b6 04:49:32 ---> 16936705cbd2 04:49:32 Step 6/8 : WORKDIR /device-modbus-go 04:49:32 ---> Running in d4a4e585e9ec 04:49:32 Removing intermediate container d4a4e585e9ec 04:49:32 ---> 1196d3f8194a 04:49:32 Step 7/8 : COPY . . 04:49:32 ---> 6700a5f85101 04:49:32 Step 8/8 : RUN go mod download 04:49:32 ---> Running in c50e4dadb98a 04:49:34 go: finding github.com/BurntSushi/toml v0.3.1 04:49:34 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:49:34 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:49:34 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:49:34 go: finding github.com/bgentry/speakeasy v0.1.0 04:49:34 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 04:49:34 go: finding github.com/davecgh/go-spew v1.1.1 04:49:34 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 04:49:34 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 04:49:34 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 04:49:34 go: finding github.com/fatih/color v1.7.0 04:49:34 go: finding github.com/go-kit/kit v0.8.0 04:49:34 go: finding github.com/go-logfmt/logfmt v0.4.0 04:49:34 go: finding github.com/go-stack/stack v1.8.0 04:49:34 go: finding github.com/goburrow/modbus v0.1.0 04:49:34 go: finding github.com/goburrow/serial v0.1.0 04:49:34 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:49:34 go: finding github.com/google/uuid v1.1.1 04:49:34 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 04:49:34 go: finding github.com/gorilla/mux v1.7.0 04:49:34 go: finding github.com/hashicorp/consul v1.4.2 04:49:34 go: finding github.com/hashicorp/errwrap v1.0.0 04:49:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 04:49:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:49:34 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:49:34 go: finding github.com/hashicorp/go-multierror v1.0.0 04:49:34 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:49:34 go: finding github.com/hashicorp/go-sockaddr v1.0.1 04:49:34 go: finding github.com/hashicorp/go-syslog v1.0.0 04:49:34 go: finding github.com/hashicorp/go-uuid v1.0.1 04:49:34 go: finding github.com/hashicorp/go.net v0.0.1 04:49:34 go: finding github.com/hashicorp/golang-lru v0.5.1 04:49:34 go: finding github.com/hashicorp/logutils v1.0.0 04:49:34 go: finding github.com/hashicorp/mdns v1.0.0 04:49:34 go: finding github.com/hashicorp/memberlist v0.1.3 04:49:34 go: finding github.com/hashicorp/serf v0.8.2 04:49:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:49:34 go: finding github.com/mattn/go-colorable v0.0.9 04:49:34 go: finding github.com/mattn/go-isatty v0.0.3 04:49:34 go: finding github.com/miekg/dns v1.1.4 04:49:34 go: finding github.com/mitchellh/cli v1.0.0 04:49:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:49:34 go: finding github.com/mitchellh/copystructure v1.0.0 04:49:34 go: finding github.com/mitchellh/go-homedir v1.1.0 04:49:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:49:34 go: finding github.com/mitchellh/go-wordwrap v1.0.0 04:49:34 go: finding github.com/mitchellh/gox v0.4.0 04:49:34 go: finding github.com/mitchellh/iochan v1.0.0 04:49:34 go: finding github.com/mitchellh/mapstructure v1.1.2 04:49:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:49:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:49:34 go: finding github.com/pelletier/go-toml v1.2.0 04:49:34 go: finding github.com/pkg/errors v0.8.1 04:49:34 go: finding github.com/pmezard/go-difflib v1.0.0 04:49:34 go: finding github.com/posener/complete v1.1.1 04:49:34 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 04:49:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:49:34 go: finding github.com/stretchr/objx v0.1.0 04:49:34 go: finding github.com/stretchr/testify v1.3.0 04:49:34 go: finding github.com/ugorji/go v1.1.4 04:49:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:49:34 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 04:49:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:49:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:49:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:49:34 go: finding gopkg.in/yaml.v2 v2.2.2 04:49:43 Removing intermediate container c50e4dadb98a 04:49:43 ---> 8da74b47b811 04:49:43 Successfully built 8da74b47b811 04:49:43 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 04:49:43 + docker inspect -f . ci-base-image-x86_64 04:49:43 . [Pipeline] withDockerContainer 04:49:43 prd-centos7-docker-4c-2g-2507 does not seem to be running inside a container 04:49:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** ci-base-image-x86_64 cat 04:49:44 $ docker top 8d5ee95b2022731147f8418708494b78e7007a2aeba811aa4339c0a5646e2d90 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:44 + go version 04:49:44 go version go1.13.5 linux/amd64 [Pipeline] sh 04:49:45 + make test 04:49:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:49:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:50:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:50:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.295s coverage: 50.3% of statements 04:50:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:50:04 gofmt -l . 04:50:04 [ "`gofmt -l .`" = "" ] 04:50:04 ./bin/test-attribution-txt.sh 04:50:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:50:05 Stashed 1 file(s) [Pipeline] } 04:50:05 $ docker stop --time=1 8d5ee95b2022731147f8418708494b78e7007a2aeba811aa4339c0a5646e2d90 04:50:06 $ docker rm -f 8d5ee95b2022731147f8418708494b78e7007a2aeba811aa4339c0a5646e2d90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:50:08 + ls -al . 04:50:08 total 100 04:50:08 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 7 04:50 . 04:50:08 drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 04:48 .. 04:50:08 -rw-rw-r--. 1 jenkins jenkins 4208 Apr 7 04:48 Attribution.txt 04:50:08 drwxrwxr-x. 2 jenkins jenkins 87 Apr 7 04:48 bin 04:50:08 drwxrwxr-x. 3 jenkins jenkins 55 Apr 7 04:48 cmd 04:50:08 -rw-r--r--. 1 jenkins jenkins 22122 Apr 7 04:50 coverage.out 04:50:08 -rw-rw-r--. 1 jenkins jenkins 1263 Apr 7 04:48 Dockerfile 04:50:08 -rw-rw-r--. 1 jenkins jenkins 954 Apr 7 04:48 Dockerfile.build 04:50:08 -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 04:48 .dockerignore 04:50:08 drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 04:48 .git 04:50:08 -rw-rw-r--. 1 jenkins jenkins 338 Apr 7 04:48 .gitignore 04:50:08 -rw-r--r--. 1 jenkins jenkins 630 Apr 7 04:50 go.mod 04:50:08 -rw-r--r--. 1 jenkins jenkins 12117 Apr 7 04:50 go.sum 04:50:08 drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 04:48 internal 04:50:08 -rw-rw-r--. 1 jenkins jenkins 681 Apr 7 04:48 Jenkinsfile 04:50:08 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 04:48 LICENSE 04:50:08 -rw-rw-r--. 1 jenkins jenkins 880 Apr 7 04:48 Makefile 04:50:08 -rw-rw-r--. 1 jenkins jenkins 591 Apr 7 04:48 README.md 04:50:08 drwxrwxr-x. 3 jenkins jenkins 58 Apr 7 04:48 .semver 04:50:08 drwxrwxr-x. 2 jenkins jenkins 35 Apr 7 04:48 simulator 04:50:08 drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 04:48 snap 04:50:08 -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 04:46 VERSION 04:50:08 -rw-rw-r--. 1 jenkins jenkins 229 Apr 7 04:48 version.go [Pipeline] isUnix [Pipeline] sh 04:50:08 + 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=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa --label arch=amd64 --label version=0.0.0 . 04:50:08 Sending build context to Docker daemon 582.7kB 04:50:09 Step 1/17 : ARG BASE=golang:1.13-alpine 04:50:09 Step 2/17 : FROM ${BASE} AS builder 04:50:09 ---> 8da74b47b811 04:50:09 Step 3/17 : ARG MAKE='make build' 04:50:09 ---> Running in 77e6d298fce5 04:50:09 Removing intermediate container 77e6d298fce5 04:50:09 ---> 077c2d3710b0 04:50:09 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:50:09 ---> Running in 5a6e1ecdb037 04:50:09 Removing intermediate container 5a6e1ecdb037 04:50:09 ---> aaccf6b3c397 04:50:09 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 04:50:09 ---> Running in 4bb76f01685c 04:50:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:50:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:50:11 OK: 214 MiB in 52 packages 04:50:11 Removing intermediate container 4bb76f01685c 04:50:11 ---> 9d6e2b8ab2fc 04:50:11 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 04:50:11 ---> Running in d028c1fd5e64 04:50:11 Removing intermediate container d028c1fd5e64 04:50:11 ---> c173c83678da 04:50:11 Step 7/17 : COPY . . 04:50:12 ---> fba50d22bd45 04:50:12 Step 8/17 : RUN ${MAKE} 04:50:12 ---> Running in f3f263b34110 04:50:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 04:50:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2508 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws 04:50:17 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 04:50:22 using credential edgex-jenkins-ssh 04:50:22 Cloning the remote Git repository 04:50:22 Cloning with configured refspecs honoured and without tags 04:50:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:50:23 > git init /w/workspace/device-modbus-go/2 # timeout=10 04:50:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:50:23 > git --version # timeout=10 04:50:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:50:24 Fetching without tags 04:50:24 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa 04:50:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:50:24 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 04:50:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:50:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:50:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:50:24 > git config core.sparsecheckout # timeout=10 04:50:24 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 04:50:25 > git remote # timeout=10 04:50:25 > git config --get remote.origin.url # timeout=10 04:50:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:25 Merge succeeded, producing 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa 04:50:25 Checking out Revision 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa (PR-134) 04:50:25 > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 04:50:25 > git rev-parse HEAD^{commit} # timeout=10 04:50:25 > git config core.sparsecheckout # timeout=10 04:50:25 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 04:50:27 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:50:28 Removing intermediate container f3f263b34110 04:50:28 ---> c0e8a12524bf 04:50:28 Step 9/17 : FROM scratch 04:50:28 ---> 04:50:28 Step 10/17 : ENV APP_PORT=49991 04:50:28 ---> Running in 113b4cf9748f 04:50:28 Removing intermediate container 113b4cf9748f 04:50:28 ---> ddcc9067df08 04:50:28 Step 11/17 : EXPOSE $APP_PORT 04:50:28 ---> Running in 68718d02f0c8 04:50:28 Removing intermediate container 68718d02f0c8 04:50:28 ---> 443b1a200b31 04:50:28 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 04:50:29 ---> e0fc7019caf2 04:50:29 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 04:50:29 ---> Running in f7391e74135b 04:50:29 Removing intermediate container f7391e74135b 04:50:29 ---> cca2e76aff98 04:50:29 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 04:50:29 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." 04:50:29 ---> Running in 72766388c9b6 04:50:29 Removing intermediate container 72766388c9b6 04:50:29 ---> 3c71a392a00d 04:50:29 Step 15/17 : LABEL arch=amd64 04:50:29 ---> Running in e6f1529c3cf1 04:50:29 Removing intermediate container e6f1529c3cf1 04:50:29 ---> 9259381bc941 04:50:29 Step 16/17 : LABEL git_sha=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa 04:50:29 ---> Running in 56953f369050 04:50:29 Removing intermediate container 56953f369050 04:50:29 ---> b63b9c261f29 04:50:29 Step 17/17 : LABEL version=0.0.0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 04:50:30 ---> Running in fc25731584d4 04:50:30 Removing intermediate container fc25731584d4 04:50:30 ---> 9d78a6347e66 04:50:30 [Warning] One or more build-args [ARCH] were not consumed 04:50:30 Successfully built 9d78a6347e66 04:50:30 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] echo 04:50:30 ========================================================= 04:50:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:50:30 ========================================================= [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } 04:50:31 + 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 . 04:50:32 Sending build context to Docker daemon 554kB 04:50:32 Step 1/8 : ARG BASE=golang:1.13-alpine 04:50:32 Step 2/8 : FROM ${BASE} 04:50:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:50:33 cde5963f3b93: Pulling fs layer 04:50:33 2a23fa8c16f7: Pulling fs layer 04:50:33 777b28850792: Pulling fs layer 04:50:33 8a11ddd9e578: Pulling fs layer 04:50:33 4cf88f913ddb: Pulling fs layer 04:50:33 1df406cf5192: Pulling fs layer 04:50:33 cd6300453558: Pulling fs layer 04:50:33 b9c365052c96: Pulling fs layer 04:50:33 a2d8cc88f415: Pulling fs layer 04:50:33 ea1d1ca13537: Pulling fs layer 04:50:33 3750a50a1c5e: Pulling fs layer 04:50:33 cd6300453558: Waiting 04:50:33 b9c365052c96: Waiting 04:50:33 a2d8cc88f415: Waiting 04:50:33 ea1d1ca13537: Waiting 04:50:33 8a11ddd9e578: Waiting 04:50:33 4cf88f913ddb: Waiting 04:50:33 3750a50a1c5e: Waiting 04:50:33 1df406cf5192: Waiting 04:50:33 777b28850792: Verifying Checksum 04:50:33 777b28850792: Download complete 04:50:33 2a23fa8c16f7: Verifying Checksum 04:50:33 2a23fa8c16f7: Download complete 04:50:33 4cf88f913ddb: Verifying Checksum 04:50:33 4cf88f913ddb: Download complete 04:50:33 1df406cf5192: Verifying Checksum 04:50:33 1df406cf5192: Download complete 04:50:33 cde5963f3b93: Download complete 04:50:33 cde5963f3b93: Pull complete 04:50:34 2a23fa8c16f7: Pull complete 04:50:34 777b28850792: Pull complete 04:50:37 cd6300453558: Verifying Checksum 04:50:37 cd6300453558: Download complete 04:50:37 a2d8cc88f415: Download complete 04:50:40 ea1d1ca13537: Verifying Checksum 04:50:40 ea1d1ca13537: Download complete 04:50:40 3750a50a1c5e: Verifying Checksum 04:50:40 3750a50a1c5e: Download complete 04:50:43 b9c365052c96: Verifying Checksum 04:50:43 b9c365052c96: Download complete 04:50:44 8a11ddd9e578: Verifying Checksum 04:50:44 8a11ddd9e578: Download complete 04:50:56 8a11ddd9e578: Pull complete 04:50:56 4cf88f913ddb: Pull complete 04:50:56 1df406cf5192: Pull complete 04:51:02 cd6300453558: Pull complete 04:51:06 b9c365052c96: Pull complete 04:51:07 a2d8cc88f415: Pull complete 04:51:09 ea1d1ca13537: Pull complete 04:51:09 3750a50a1c5e: Pull complete 04:51:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 04:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:51:09 ---> 78745c68409d 04:51:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:51:13 ---> Running in c7644accab20 04:51:14 Removing intermediate container c7644accab20 04:51:14 ---> fe5acd48f928 04:51:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:14 ---> Running in bfabc85a277b 04:51:16 Removing intermediate container bfabc85a277b 04:51:16 ---> 156bddd359f1 04:51:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:51:16 ---> Running in ffa0703cc934 04:51:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:51:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:51:18 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 04:51:18 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 04:51:18 (3/18) Installing libmagic (5.37-r1) 04:51:19 (4/18) Installing file (5.37-r1) 04:51:19 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 04:51:19 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 04:51:19 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 04:51:21 (8/18) Installing libc-dev (0.7.2-r0) 04:51:21 (9/18) Installing g++ (9.2.0-r4) 04:51:27 (10/18) Installing fortify-headers (1.1-r0) 04:51:27 (11/18) Installing build-base (0.5-r1) 04:51:27 (12/18) Installing openssh-keygen (8.1_p1-r0) 04:51:27 (13/18) Installing libedit (20191211.3.1-r0) 04:51:27 (14/18) Installing openssh-client (8.1_p1-r0) 04:51:27 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 04:51:27 (16/18) Installing openssh-server-common (8.1_p1-r0) 04:51:27 (17/18) Installing openssh-server (8.1_p1-r0) 04:51:27 (18/18) Installing openssh (8.1_p1-r0) 04:51:27 Executing busybox-1.31.1-r8.trigger 04:51:27 OK: 203 MiB in 52 packages 04:51:34 Removing intermediate container ffa0703cc934 04:51:34 ---> 49385904902f 04:51:34 Step 6/8 : WORKDIR /device-modbus-go 04:51:34 ---> Running in 98827825f083 04:51:34 Removing intermediate container 98827825f083 04:51:34 ---> 025dfa0422ff 04:51:34 Step 7/8 : COPY . . 04:51:35 ---> 4a1f656cd0c2 04:51:35 Step 8/8 : RUN go mod download 04:51:35 ---> Running in 8d181e8f3506 04:51:37 go: finding github.com/BurntSushi/toml v0.3.1 04:51:37 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:51:37 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:51:37 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:51:37 go: finding github.com/bgentry/speakeasy v0.1.0 04:51:37 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 04:51:37 go: finding github.com/davecgh/go-spew v1.1.1 04:51:37 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 04:51:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 04:51:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 04:51:37 go: finding github.com/fatih/color v1.7.0 04:51:37 go: finding github.com/go-kit/kit v0.8.0 04:51:37 go: finding github.com/go-logfmt/logfmt v0.4.0 04:51:37 go: finding github.com/go-stack/stack v1.8.0 04:51:37 go: finding github.com/goburrow/modbus v0.1.0 04:51:37 go: finding github.com/goburrow/serial v0.1.0 04:51:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:51:37 go: finding github.com/google/uuid v1.1.1 04:51:37 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 04:51:37 go: finding github.com/gorilla/mux v1.7.0 04:51:37 go: finding github.com/hashicorp/consul v1.4.2 04:51:37 go: finding github.com/hashicorp/errwrap v1.0.0 04:51:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 04:51:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:51:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:51:37 go: finding github.com/hashicorp/go-multierror v1.0.0 04:51:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:51:37 go: finding github.com/hashicorp/go-sockaddr v1.0.1 04:51:37 go: finding github.com/hashicorp/go-syslog v1.0.0 04:51:37 go: finding github.com/hashicorp/go-uuid v1.0.1 04:51:37 go: finding github.com/hashicorp/go.net v0.0.1 04:51:37 go: finding github.com/hashicorp/golang-lru v0.5.1 04:51:37 go: finding github.com/hashicorp/logutils v1.0.0 04:51:37 go: finding github.com/hashicorp/mdns v1.0.0 04:51:37 go: finding github.com/hashicorp/memberlist v0.1.3 04:51:37 go: finding github.com/hashicorp/serf v0.8.2 04:51:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:51:37 go: finding github.com/mattn/go-colorable v0.0.9 04:51:37 go: finding github.com/mattn/go-isatty v0.0.3 04:51:37 go: finding github.com/miekg/dns v1.1.4 04:51:37 go: finding github.com/mitchellh/cli v1.0.0 04:51:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:51:37 go: finding github.com/mitchellh/copystructure v1.0.0 04:51:37 go: finding github.com/mitchellh/go-homedir v1.1.0 04:51:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:51:37 go: finding github.com/mitchellh/go-wordwrap v1.0.0 04:51:38 go: finding github.com/mitchellh/gox v0.4.0 04:51:38 go: finding github.com/mitchellh/iochan v1.0.0 04:51:38 go: finding github.com/mitchellh/mapstructure v1.1.2 04:51:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:51:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:51:38 go: finding github.com/pelletier/go-toml v1.2.0 04:51:38 go: finding github.com/pkg/errors v0.8.1 04:51:38 go: finding github.com/pmezard/go-difflib v1.0.0 04:51:38 go: finding github.com/posener/complete v1.1.1 04:51:38 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 04:51:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:51:38 go: finding github.com/stretchr/objx v0.1.0 04:51:38 go: finding github.com/stretchr/testify v1.3.0 04:51:38 go: finding github.com/ugorji/go v1.1.4 04:51:38 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:51:38 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 04:51:38 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:51:38 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:51:38 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:51:38 go: finding gopkg.in/yaml.v2 v2.2.2 04:51:56 Removing intermediate container 8d181e8f3506 04:51:56 ---> c83077301f34 04:51:56 Successfully built c83077301f34 04:51:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:51:57 + docker inspect -f . ci-base-image-arm64 04:51:57 . [Pipeline] withDockerContainer 04:51:57 prd-ubuntu18.04-docker-arm64-4c-16g-2508 does not seem to be running inside a container 04:51:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** ci-base-image-arm64 cat 04:51:59 $ docker top da881bd0b0a74e4096f1274144896bdc3d74953508e57f27eecc6a7efee82020 -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:00 + go version 04:52:00 go version go1.13.5 linux/arm64 [Pipeline] sh 04:52:01 + make test 04:52:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:52:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:52:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:52:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.238s coverage: 50.3% of statements 04:52:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:52:46 gofmt -l . 04:52:46 [ "`gofmt -l .`" = "" ] 04:52:46 ./bin/test-attribution-txt.sh 04:52:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:52:46 Warning: overwriting stash ‘coverage-report’ 04:52:47 Stashed 1 file(s) [Pipeline] } 04:52:47 $ docker stop --time=1 da881bd0b0a74e4096f1274144896bdc3d74953508e57f27eecc6a7efee82020 04:52:49 $ docker rm -f da881bd0b0a74e4096f1274144896bdc3d74953508e57f27eecc6a7efee82020 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:52:51 + ls -al . 04:52:51 total 132 04:52:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 04:52 . 04:52:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:50 .. 04:52:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 04:50 .dockerignore 04:52:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 04:50 .git 04:52:51 -rw-rw-r-- 1 jenkins jenkins 338 Apr 7 04:50 .gitignore 04:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:50 .semver 04:52:51 -rw-rw-r-- 1 jenkins jenkins 4208 Apr 7 04:50 Attribution.txt 04:52:51 -rw-rw-r-- 1 jenkins jenkins 1263 Apr 7 04:50 Dockerfile 04:52:51 -rw-rw-r-- 1 jenkins jenkins 954 Apr 7 04:50 Dockerfile.build 04:52:51 -rw-rw-r-- 1 jenkins jenkins 681 Apr 7 04:50 Jenkinsfile 04:52:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 04:50 LICENSE 04:52:51 -rw-rw-r-- 1 jenkins jenkins 880 Apr 7 04:50 Makefile 04:52:51 -rw-rw-r-- 1 jenkins jenkins 591 Apr 7 04:50 README.md 04:52:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 04:46 VERSION 04:52:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:50 bin 04:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:50 cmd 04:52:51 -rw-r--r-- 1 jenkins jenkins 22122 Apr 7 04:52 coverage.out 04:52:51 -rw-r--r-- 1 jenkins jenkins 630 Apr 7 04:52 go.mod 04:52:51 -rw-r--r-- 1 jenkins jenkins 12117 Apr 7 04:52 go.sum 04:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:50 internal 04:52:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:50 simulator 04:52:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:50 snap 04:52:51 -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 04:50 version.go [Pipeline] isUnix [Pipeline] sh 04:52:51 + 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=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa --label arch=arm64 --label version=0.0.0 . 04:52:51 Sending build context to Docker daemon 582.7kB 04:52:52 Step 1/17 : ARG BASE=golang:1.13-alpine 04:52:52 Step 2/17 : FROM ${BASE} AS builder 04:52:52 ---> c83077301f34 04:52:52 Step 3/17 : ARG MAKE='make build' 04:52:52 ---> Running in 21773b11d0f5 04:52:52 Removing intermediate container 21773b11d0f5 04:52:52 ---> 740d73b0e809 04:52:52 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:52:52 ---> Running in 7dc1eacd4dff 04:52:54 Removing intermediate container 7dc1eacd4dff 04:52:54 ---> 73164a903c12 04:52:54 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 04:52:54 ---> Running in b55e25f59436 04:52:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:52:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:52:57 OK: 203 MiB in 52 packages 04:52:58 Removing intermediate container b55e25f59436 04:52:58 ---> 621093051312 04:52:58 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 04:52:58 ---> Running in e362aef13498 04:52:58 Removing intermediate container e362aef13498 04:52:58 ---> 0400758298d3 04:52:58 Step 7/17 : COPY . . 04:52:59 ---> 0a7de761366a 04:52:59 Step 8/17 : RUN ${MAKE} 04:52:59 ---> Running in 84a6a0b838a7 04:53:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 04:53:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:53:42 Removing intermediate container 84a6a0b838a7 04:53:42 ---> 8e7cae71607b 04:53:42 Step 9/17 : FROM scratch 04:53:42 ---> 04:53:42 Step 10/17 : ENV APP_PORT=49991 04:53:42 ---> Running in 5de6012f5143 04:53:42 Removing intermediate container 5de6012f5143 04:53:42 ---> f2b36885f89d 04:53:42 Step 11/17 : EXPOSE $APP_PORT 04:53:42 ---> Running in 00d9041e8853 04:53:43 Removing intermediate container 00d9041e8853 04:53:43 ---> 52fa47a3cfa6 04:53:43 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 04:53:44 ---> cbe6d45639ff 04:53:44 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 04:53:44 ---> Running in 2eae97c22d0e 04:53:44 Removing intermediate container 2eae97c22d0e 04:53:44 ---> bc59e0fb23eb 04:53:44 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 04:53:45 ---> Running in 47b2b1d5dfd9 04:53:45 Removing intermediate container 47b2b1d5dfd9 04:53:45 ---> 3abe477a1d47 04:53:45 Step 15/17 : LABEL arch=arm64 04:53:45 ---> Running in 10b37a8d0b50 04:53:45 Removing intermediate container 10b37a8d0b50 04:53:45 ---> a7dd41ca7df9 04:53:45 Step 16/17 : LABEL git_sha=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa 04:53:45 ---> Running in f7acfc313af1 04:53:46 Removing intermediate container f7acfc313af1 04:53:46 ---> 28a1c7df36fc 04:53:46 Step 17/17 : LABEL version=0.0.0 04:53:46 ---> Running in 27c7eb52520b 04:53:46 Removing intermediate container 27c7eb52520b 04:53:46 ---> 93777504e50b 04:53:46 [Warning] One or more build-args [ARCH] were not consumed 04:53:46 Successfully built 93777504e50b 04:53:46 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 04:53:47 provisioning config files... 04:53:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config9080286371548465547tmp [Pipeline] { [Pipeline] sh 04:53:48 + curl -s https://codecov.io/bash 04:53:48 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config9080286371548465547tmp 04:53:48 04:53:48 _____ _ 04:53:48 / ____| | | 04:53:48 | | ___ __| | ___ ___ _____ __ 04:53:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:53:48 | |___| (_) | (_| | __/ (_| (_) \ V / 04:53:48 \_____\___/ \__,_|\___|\___\___/ \_/ 04:53:48 Bash-tbd 04:53:48 04:53:48 04:53:48 ==> Jenkins CI detected. 04:53:48 project root: . 04:53:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:53:48 ==> Running gcov in . (disable via -X gcov) 04:53:48 ==> Python coveragepy not found 04:53:48 ==> Searching for coverage reports in: 04:53:48 + . 04:53:48 -> Found 1 reports 04:53:48 ==> Detecting git/mercurial file structure 04:53:48 ==> Reading reports 04:53:48 + ./coverage.out bytes=22122 04:53:48 ==> Appending adjustments 04:53:48 http://docs.codecov.io/docs/fixing-reports 04:53:48 + Found adjustments 04:53:48 ==> Gzipping contents 04:53:48 ==> Uploading reports 04:53:48 url: https://codecov.io 04:53:48 query: branch=PR-134&commit=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-134%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=134&job= 04:53:48 -> Pinging Codecov 04:53:48 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-134&commit=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-134%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=134&job= 04:53:49 -> Uploading 04:53:49 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [Pipeline] } 04:53:49 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 04:53:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:53:50 ---> package-listing.sh 04:53:50 ++ facter osfamily 04:53:50 ++ tr '[:upper:]' '[:lower:]' 04:53:50 + OS_FAMILY=redhat 04:53:50 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-134 04:53:50 + START_PACKAGES=/tmp/packages_start.txt 04:53:50 + END_PACKAGES=/tmp/packages_end.txt 04:53:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:53:50 + PACKAGES=/tmp/packages_start.txt 04:53:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' 04:53:50 + PACKAGES=/tmp/packages_end.txt 04:53:50 + case "${OS_FAMILY}" in 04:53:50 + rpm -qa 04:53:50 + sort 04:53:55 + '[' -f /tmp/packages_start.txt ']' 04:53:55 + '[' -f /tmp/packages_end.txt ']' 04:53:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:53:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' 04:53:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ 04:53:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ [Pipeline] isUnix [Pipeline] sh 04:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:53:55 04:53:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:53:55 alpine: Pulling from edgex-lftools-log-publisher 04:53:55 c9b1b535fdd9: Pulling fs layer 04:53:55 2cc5ad85d9ab: Pulling fs layer 04:53:55 756a868c4378: Pulling fs layer 04:53:55 444b2fc9a129: Pulling fs layer 04:53:55 ea15f1150254: Pulling fs layer 04:53:55 41b27a9f41bf: Pulling fs layer 04:53:55 28c525ee5125: Pulling fs layer 04:53:55 094b1ea09ed8: Pulling fs layer 04:53:55 138eaada9080: Pulling fs layer 04:53:55 0622d0fa9048: Pulling fs layer 04:53:55 28c525ee5125: Waiting 04:53:55 094b1ea09ed8: Waiting 04:53:55 138eaada9080: Waiting 04:53:55 444b2fc9a129: Waiting 04:53:55 0622d0fa9048: Waiting 04:53:55 41b27a9f41bf: Waiting 04:53:55 ea15f1150254: Waiting 04:53:55 2cc5ad85d9ab: Download complete 04:53:55 444b2fc9a129: Verifying Checksum 04:53:55 444b2fc9a129: Download complete 04:53:55 c9b1b535fdd9: Verifying Checksum 04:53:55 c9b1b535fdd9: Download complete 04:53:56 ea15f1150254: Verifying Checksum 04:53:56 ea15f1150254: Download complete 04:53:56 28c525ee5125: Verifying Checksum 04:53:56 28c525ee5125: Download complete 04:53:56 756a868c4378: Verifying Checksum 04:53:56 756a868c4378: Download complete 04:53:56 c9b1b535fdd9: Pull complete 04:53:56 138eaada9080: Verifying Checksum 04:53:56 138eaada9080: Download complete 04:53:56 0622d0fa9048: Verifying Checksum 04:53:56 0622d0fa9048: Download complete 04:53:56 094b1ea09ed8: Verifying Checksum 04:53:56 094b1ea09ed8: Download complete 04:53:56 2cc5ad85d9ab: Pull complete 04:53:57 41b27a9f41bf: Verifying Checksum 04:53:57 41b27a9f41bf: Download complete 04:53:58 756a868c4378: Pull complete 04:53:58 444b2fc9a129: Pull complete 04:53:58 ea15f1150254: Pull complete 04:54:01 41b27a9f41bf: Pull complete 04:54:01 28c525ee5125: Pull complete 04:54:03 094b1ea09ed8: Pull complete 04:54:03 138eaada9080: Pull complete 04:54:03 0622d0fa9048: Pull complete 04:54:03 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:54:04 prd-centos7-docker-4c-2g-2504 does not seem to be running inside a container 04:54:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-134 -v /w/workspace/xfoundry_device-modbus-go_PR-134:/w/workspace/xfoundry_device-modbus-go_PR-134:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-134@tmp:/w/workspace/xfoundry_device-modbus-go_PR-134@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:54:05 $ docker top 2a14aa4cd9fe04f0dc786b67d15838bdf38d56a1b98da5e99bf1dbc822adf23a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:54:05 provisioning config files... 04:54:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config5238381893236576523tmp [Pipeline] { [Pipeline] echo 04:54:05 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:54:05 ---> create-netrc.sh [Pipeline] echo 04:54:05 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:54:05 ---> logs-deploy.sh 04:54:05 + ARCHIVE_ARTIFACTS= 04:54:05 + LOGS_SERVER=https://logs.edgexfoundry.org 04:54:05 + '[' https://logs.edgexfoundry.org == None ']' 04:54:05 + NEXUS_URL=https://nexus.edgexfoundry.org 04:54:05 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/2 04:54:05 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/2/ 04:54:05 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/2 /w/workspace/xfoundry_device-modbus-go_PR-134 04:54:07 Archives upload complete. 04:54:07 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/2/