Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 251ac84f7228ae0fb6e27216846c283c9f5cee26 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-2731 in /w/workspace/xfoundry_device-modbus-go_master [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_master # 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/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 Commit message: "Merge pull request #134 from weichou1229/issue-133" > git rev-list --no-walk 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-08T04:22:05.931Z] 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-08T04:22:09.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T04:22:09.036Z] [2020-04-08T04:22:09.036Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:22:09.391Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T04:22:09.391Z] latest: Pulling from edgex-devops/git-semver [2020-04-08T04:22:09.391Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T04:22:09.391Z] b8cc5d1170e3: Pulling fs layer [2020-04-08T04:22:09.391Z] 2924cbbf6a41: Pulling fs layer [2020-04-08T04:22:09.391Z] 93b08a4f1073: Pulling fs layer [2020-04-08T04:22:09.391Z] 93b08a4f1073: Waiting [2020-04-08T04:22:09.391Z] 9123ac7c32f7: Verifying Checksum [2020-04-08T04:22:09.391Z] 9123ac7c32f7: Download complete [2020-04-08T04:22:09.652Z] 2924cbbf6a41: Verifying Checksum [2020-04-08T04:22:09.652Z] 2924cbbf6a41: Download complete [2020-04-08T04:22:09.652Z] b8cc5d1170e3: Verifying Checksum [2020-04-08T04:22:09.652Z] b8cc5d1170e3: Download complete [2020-04-08T04:22:09.912Z] 9123ac7c32f7: Pull complete [2020-04-08T04:22:09.912Z] 93b08a4f1073: Verifying Checksum [2020-04-08T04:22:09.912Z] 93b08a4f1073: Download complete [2020-04-08T04:22:09.912Z] b8cc5d1170e3: Pull complete [2020-04-08T04:22:10.850Z] 2924cbbf6a41: Pull complete [2020-04-08T04:22:10.850Z] 93b08a4f1073: Pull complete [2020-04-08T04:22:10.850Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-08T04:22:10.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-08T04:22:10.981Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:22:11.022Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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:10004/edgex-devops/git-semver:latest cat [2020-04-08T04:22:11.627Z] $ docker top d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T04:22:11.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T04:22:11.885Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T04:22:12.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T04:22:12.101Z] $ docker exec d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent [2020-04-08T04:22:12.309Z] SSH_AUTH_SOCK=/tmp/ssh-koGRbYVLnvGP/agent.15 [2020-04-08T04:22:12.309Z] SSH_AGENT_PID=22 [2020-04-08T04:22:12.320Z] Running ssh-add (command line suppressed) [2020-04-08T04:22:12.464Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_796916558127850392.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_796916558127850392.key) [2020-04-08T04:22:12.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T04:22:12.840Z] + git describe --exact-match --tags HEAD [2020-04-08T04:22:12.840Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-08T04:22:12.900Z] $ docker exec --env ******** --env ******** d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent -k [2020-04-08T04:22:13.041Z] unset SSH_AUTH_SOCK; [2020-04-08T04:22:13.041Z] unset SSH_AGENT_PID; [2020-04-08T04:22:13.041Z] echo Agent pid 22 killed; [2020-04-08T04:22:13.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-08T04:22:13.154Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-08T04:22:13.154Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-08T04:22:13.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T04:22:13.229Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T04:22:13.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T04:22:13.408Z] $ docker exec d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent [2020-04-08T04:22:13.589Z] SSH_AUTH_SOCK=/tmp/ssh-QkmdPDjz0FJA/agent.57 [2020-04-08T04:22:13.589Z] SSH_AGENT_PID=64 [2020-04-08T04:22:13.597Z] Running ssh-add (command line suppressed) [2020-04-08T04:22:13.742Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8952025509917282511.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8952025509917282511.key) [2020-04-08T04:22:13.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T04:22:14.130Z] + git semver init [2020-04-08T04:22:14.130Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T04:22:14.130Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-04-08T04:22:14.130Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-04-08T04:22:14.130Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T04:22:14.130Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T04:22:14.130Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T04:22:14.130Z] # $SEMVER_BRANCH = master [2020-04-08T04:22:14.130Z] # $SEMVER_TEMP = /tmp/semver-096214772 [2020-04-08T04:22:14.130Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-08T04:22:14.705Z] # '/tmp/semver-096214772' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2020-04-08T04:22:14.705Z] # -> Force: false [2020-04-08T04:22:14.705Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-04-08T04:22:14.715Z] $ docker exec --env ******** --env ******** d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent -k [2020-04-08T04:22:14.864Z] unset SSH_AUTH_SOCK; [2020-04-08T04:22:14.865Z] unset SSH_AGENT_PID; [2020-04-08T04:22:14.865Z] echo Agent pid 64 killed; [2020-04-08T04:22:14.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T04:22:15.333Z] + git semver [Pipeline] } [2020-04-08T04:22:15.346Z] $ docker stop --time=1 d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 [2020-04-08T04:22:16.697Z] $ docker rm -f d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-08T04:22:17.412Z] Stashed 17 file(s) [Pipeline] echo [2020-04-08T04:22:17.414Z] [edgeXSemver] initialized semver on version 1.2.0-dev.4 [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-08T04:22:32.669Z] Still waiting to schedule task [2020-04-08T04:22:32.669Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2731’ [2020-04-08T04:22:32.670Z] Still waiting to schedule task [2020-04-08T04:22:32.670Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-08T04:24:29.261Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2732 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-04-08T04:24:29.297Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-04-08T04:24:35.434Z] using credential edgex-jenkins-ssh [2020-04-08T04:24:35.511Z] Cloning the remote Git repository [2020-04-08T04:24:35.511Z] Cloning with configured refspecs honoured and without tags [2020-04-08T04:24:35.581Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-08T04:24:35.699Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-04-08T04:24:35.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-08T04:24:35.803Z] > git --version # timeout=10 [2020-04-08T04:24:35.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T04:24:35.913Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T04:24:36.710Z] Fetching without tags [2020-04-08T04:24:37.248Z] Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (master) [2020-04-08T04:24:36.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-08T04:24:36.638Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T04:24:36.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-08T04:24:36.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-08T04:24:36.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T04:24:36.749Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T04:24:37.269Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T04:24:37.299Z] > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-08T04:24:42.036Z] Commit message: "Merge pull request #134 from weichou1229/issue-133" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T04:24:43.213Z] ========================================================= [2020-04-08T04:24:43.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-08T04:24:43.213Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:24:44.312Z] + 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-08T04:24:45.282Z] Sending build context to Docker daemon 545.8kB [2020-04-08T04:24:45.282Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T04:24:45.282Z] Step 2/8 : FROM ${BASE} [2020-04-08T04:24:45.552Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-08T04:24:45.552Z] cde5963f3b93: Pulling fs layer [2020-04-08T04:24:45.552Z] 2a23fa8c16f7: Pulling fs layer [2020-04-08T04:24:45.552Z] 777b28850792: Pulling fs layer [2020-04-08T04:24:45.552Z] 8a11ddd9e578: Pulling fs layer [2020-04-08T04:24:45.552Z] 4cf88f913ddb: Pulling fs layer [2020-04-08T04:24:45.552Z] 1df406cf5192: Pulling fs layer [2020-04-08T04:24:45.552Z] cd6300453558: Pulling fs layer [2020-04-08T04:24:45.552Z] b9c365052c96: Pulling fs layer [2020-04-08T04:24:45.552Z] a2d8cc88f415: Pulling fs layer [2020-04-08T04:24:45.552Z] ea1d1ca13537: Pulling fs layer [2020-04-08T04:24:45.552Z] 3750a50a1c5e: Pulling fs layer [2020-04-08T04:24:45.552Z] 8a11ddd9e578: Waiting [2020-04-08T04:24:45.552Z] 4cf88f913ddb: Waiting [2020-04-08T04:24:45.552Z] 1df406cf5192: Waiting [2020-04-08T04:24:45.552Z] cd6300453558: Waiting [2020-04-08T04:24:45.552Z] b9c365052c96: Waiting [2020-04-08T04:24:45.552Z] a2d8cc88f415: Waiting [2020-04-08T04:24:45.552Z] ea1d1ca13537: Waiting [2020-04-08T04:24:45.552Z] 3750a50a1c5e: Waiting [2020-04-08T04:24:45.552Z] 777b28850792: Download complete [2020-04-08T04:24:45.552Z] 2a23fa8c16f7: Verifying Checksum [2020-04-08T04:24:45.552Z] 2a23fa8c16f7: Download complete [2020-04-08T04:24:45.822Z] 4cf88f913ddb: Verifying Checksum [2020-04-08T04:24:45.822Z] 4cf88f913ddb: Download complete [2020-04-08T04:24:46.090Z] cde5963f3b93: Verifying Checksum [2020-04-08T04:24:46.090Z] cde5963f3b93: Download complete [2020-04-08T04:24:46.090Z] 1df406cf5192: Verifying Checksum [2020-04-08T04:24:46.090Z] 1df406cf5192: Download complete [2020-04-08T04:24:47.055Z] cde5963f3b93: Pull complete [2020-04-08T04:24:47.646Z] 2a23fa8c16f7: Pull complete [2020-04-08T04:24:47.916Z] 777b28850792: Pull complete [2020-04-08T04:24:50.518Z] cd6300453558: Download complete [2020-04-08T04:24:50.518Z] a2d8cc88f415: Verifying Checksum [2020-04-08T04:24:50.518Z] a2d8cc88f415: Download complete [2020-04-08T04:24:53.134Z] ea1d1ca13537: Verifying Checksum [2020-04-08T04:24:53.134Z] ea1d1ca13537: Download complete [2020-04-08T04:24:53.134Z] 3750a50a1c5e: Verifying Checksum [2020-04-08T04:24:53.134Z] 3750a50a1c5e: Download complete [2020-04-08T04:24:53.944Z] Running on prd-centos7-docker-4c-2g-2733 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-04-08T04:24:53.976Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-04-08T04:24:55.737Z] b9c365052c96: Verifying Checksum [2020-04-08T04:24:55.737Z] b9c365052c96: Download complete [2020-04-08T04:24:56.240Z] using credential edgex-jenkins-ssh [2020-04-08T04:24:56.282Z] Cloning the remote Git repository [2020-04-08T04:24:56.282Z] Cloning with configured refspecs honoured and without tags [2020-04-08T04:24:55.694Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-08T04:24:56.966Z] Fetching without tags [2020-04-08T04:24:57.156Z] 8a11ddd9e578: Verifying Checksum [2020-04-08T04:24:57.156Z] 8a11ddd9e578: Download complete [2020-04-08T04:24:55.738Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-04-08T04:24:55.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-08T04:24:55.797Z] > git --version # timeout=10 [2020-04-08T04:24:55.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T04:24:55.884Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T04:24:56.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-08T04:24:56.376Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T04:24:56.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-08T04:24:56.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-08T04:24:56.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T04:24:56.413Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T04:24:57.373Z] Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (master) [2020-04-08T04:24:56.849Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T04:24:56.854Z] > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-08T04:25:00.994Z] Commit message: "Merge pull request #134 from weichou1229/issue-133" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T04:25:01.787Z] ========================================================= [2020-04-08T04:25:01.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-08T04:25:01.787Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:25:02.409Z] + 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-08T04:25:02.683Z] Sending build context to Docker daemon 545.8kB [2020-04-08T04:25:02.683Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T04:25:02.683Z] Step 2/8 : FROM ${BASE} [2020-04-08T04:25:02.683Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-08T04:25:02.683Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T04:25:02.683Z] 2848faf0eed1: Pulling fs layer [2020-04-08T04:25:02.683Z] 0f37312ad70f: Pulling fs layer [2020-04-08T04:25:02.683Z] 5788d62ee057: Pulling fs layer [2020-04-08T04:25:02.683Z] 0e6b1d234666: Pulling fs layer [2020-04-08T04:25:02.683Z] bf5d7aec512f: Pulling fs layer [2020-04-08T04:25:02.683Z] 34c802a77dc8: Pulling fs layer [2020-04-08T04:25:02.683Z] 9eb99e56ec68: Pulling fs layer [2020-04-08T04:25:02.683Z] 27c7a5d97fbd: Pulling fs layer [2020-04-08T04:25:02.683Z] 5c102a31e300: Pulling fs layer [2020-04-08T04:25:02.683Z] dcfb455df0a1: Pulling fs layer [2020-04-08T04:25:02.683Z] 34c802a77dc8: Waiting [2020-04-08T04:25:02.683Z] 27c7a5d97fbd: Waiting [2020-04-08T04:25:02.683Z] 9eb99e56ec68: Waiting [2020-04-08T04:25:02.683Z] 5c102a31e300: Waiting [2020-04-08T04:25:02.683Z] dcfb455df0a1: Waiting [2020-04-08T04:25:02.683Z] 5788d62ee057: Waiting [2020-04-08T04:25:02.683Z] 0e6b1d234666: Waiting [2020-04-08T04:25:02.683Z] bf5d7aec512f: Waiting [2020-04-08T04:25:02.683Z] 0f37312ad70f: Verifying Checksum [2020-04-08T04:25:02.683Z] 0f37312ad70f: Download complete [2020-04-08T04:25:02.683Z] 2848faf0eed1: Verifying Checksum [2020-04-08T04:25:02.683Z] 2848faf0eed1: Download complete [2020-04-08T04:25:02.683Z] 0e6b1d234666: Verifying Checksum [2020-04-08T04:25:02.683Z] 0e6b1d234666: Download complete [2020-04-08T04:25:02.683Z] bf5d7aec512f: Verifying Checksum [2020-04-08T04:25:02.683Z] bf5d7aec512f: Download complete [2020-04-08T04:25:02.683Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T04:25:02.949Z] e6b0cf9c0882: Pull complete [2020-04-08T04:25:03.207Z] 2848faf0eed1: Pull complete [2020-04-08T04:25:03.207Z] 0f37312ad70f: Pull complete [2020-04-08T04:25:04.152Z] 34c802a77dc8: Download complete [2020-04-08T04:25:04.152Z] 27c7a5d97fbd: Verifying Checksum [2020-04-08T04:25:04.152Z] 27c7a5d97fbd: Download complete [2020-04-08T04:25:04.725Z] 5788d62ee057: Verifying Checksum [2020-04-08T04:25:04.725Z] 5788d62ee057: Download complete [2020-04-08T04:25:04.725Z] 9eb99e56ec68: Verifying Checksum [2020-04-08T04:25:04.725Z] 9eb99e56ec68: Download complete [2020-04-08T04:25:04.984Z] dcfb455df0a1: Verifying Checksum [2020-04-08T04:25:04.984Z] dcfb455df0a1: Download complete [2020-04-08T04:25:04.984Z] 5c102a31e300: Download complete [2020-04-08T04:25:09.503Z] 8a11ddd9e578: Pull complete [2020-04-08T04:25:09.503Z] 4cf88f913ddb: Pull complete [2020-04-08T04:25:09.503Z] 1df406cf5192: Pull complete [2020-04-08T04:25:10.286Z] 5788d62ee057: Pull complete [2020-04-08T04:25:10.549Z] 0e6b1d234666: Pull complete [2020-04-08T04:25:10.549Z] bf5d7aec512f: Pull complete [2020-04-08T04:25:13.799Z] cd6300453558: Pull complete [2020-04-08T04:25:14.811Z] 34c802a77dc8: Pull complete [2020-04-08T04:25:19.012Z] 9eb99e56ec68: Pull complete [2020-04-08T04:25:19.012Z] 27c7a5d97fbd: Pull complete [2020-04-08T04:25:19.161Z] b9c365052c96: Pull complete [2020-04-08T04:25:19.161Z] a2d8cc88f415: Pull complete [2020-04-08T04:25:19.272Z] 5c102a31e300: Pull complete [2020-04-08T04:25:19.272Z] dcfb455df0a1: Pull complete [2020-04-08T04:25:19.272Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-08T04:25:19.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-08T04:25:19.843Z] ---> 7c70fe431013 [2020-04-08T04:25:19.843Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-08T04:25:19.843Z] ---> Running in e2efdf4d4c63 [2020-04-08T04:25:20.102Z] Removing intermediate container e2efdf4d4c63 [2020-04-08T04:25:20.102Z] ---> bb9e8ecbcd3f [2020-04-08T04:25:20.102Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T04:25:20.102Z] ---> Running in 007f548a6063 [2020-04-08T04:25:21.047Z] Removing intermediate container 007f548a6063 [2020-04-08T04:25:21.047Z] ---> 45d5028ed4e4 [2020-04-08T04:25:21.047Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-08T04:25:21.047Z] ---> Running in b5c61f1df12d [2020-04-08T04:25:21.117Z] ea1d1ca13537: Pull complete [2020-04-08T04:25:21.117Z] 3750a50a1c5e: Pull complete [2020-04-08T04:25:21.117Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-08T04:25:21.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-08T04:25:21.117Z] ---> 78745c68409d [2020-04-08T04:25:21.117Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-08T04:25:21.616Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T04:25:22.186Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T04:25:22.759Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:22.759Z] (2/17) Installing libmagic (5.37-r1) [2020-04-08T04:25:22.759Z] (3/17) Installing file (5.37-r1) [2020-04-08T04:25:23.017Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:23.017Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:23.017Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:25.411Z] ---> Running in 5e921261dc2b [2020-04-08T04:25:25.411Z] Removing intermediate container 5e921261dc2b [2020-04-08T04:25:25.411Z] ---> 93cc866abd70 [2020-04-08T04:25:25.411Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T04:25:25.411Z] ---> Running in e682717e0b80 [2020-04-08T04:25:28.001Z] Removing intermediate container e682717e0b80 [2020-04-08T04:25:28.001Z] ---> 9753965399dc [2020-04-08T04:25:28.001Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-08T04:25:28.001Z] ---> Running in fa157517d686 [2020-04-08T04:25:28.589Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T04:25:30.000Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T04:25:30.963Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:31.232Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:31.826Z] (3/18) Installing libmagic (5.37-r1) [2020-04-08T04:25:32.094Z] (4/18) Installing file (5.37-r1) [2020-04-08T04:25:32.363Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:32.632Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:32.633Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-08T04:25:37.910Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-08T04:25:37.910Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-08T04:25:47.900Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-08T04:25:47.900Z] (10/17) Installing build-base (0.5-r1) [2020-04-08T04:25:47.900Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-08T04:25:47.900Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-08T04:25:47.900Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-08T04:25:47.900Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-08T04:25:47.900Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-08T04:25:47.900Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-08T04:25:48.166Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-08T04:25:48.166Z] Executing busybox-1.31.1-r8.trigger [2020-04-08T04:25:48.166Z] OK: 214 MiB in 52 packages [2020-04-08T04:25:52.375Z] Removing intermediate container b5c61f1df12d [2020-04-08T04:25:52.375Z] ---> c7e48bb2b12d [2020-04-08T04:25:52.375Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-08T04:25:52.375Z] ---> Running in 2a30422d3803 [2020-04-08T04:25:52.639Z] Removing intermediate container 2a30422d3803 [2020-04-08T04:25:52.639Z] ---> 36673a96a73e [2020-04-08T04:25:52.639Z] Step 7/8 : COPY . . [2020-04-08T04:25:52.901Z] ---> 01062731d0b7 [2020-04-08T04:25:52.901Z] Step 8/8 : RUN go mod download [2020-04-08T04:25:52.901Z] ---> Running in 10b28a8e57b1 [2020-04-08T04:25:54.710Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-08T04:25:54.710Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-08T04:25:56.192Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T04:25:56.193Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T04:25:56.193Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T04:25:56.193Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T04:25:56.193Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T04:25:56.193Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-08T04:25:56.193Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T04:25:56.193Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-08T04:25:56.193Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-08T04:25:56.455Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-08T04:25:56.455Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T04:25:56.455Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T04:25:56.455Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T04:25:56.455Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T04:25:56.455Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-08T04:25:56.455Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-08T04:25:56.715Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T04:25:56.715Z] go: finding github.com/google/uuid v1.1.1 [2020-04-08T04:25:56.715Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-08T04:25:56.715Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-08T04:25:56.715Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-08T04:25:56.715Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T04:25:56.715Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T04:25:56.984Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T04:25:57.244Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T04:25:57.244Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-08T04:25:57.244Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T04:25:57.244Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T04:25:57.244Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T04:25:57.244Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T04:25:57.244Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T04:25:57.244Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T04:25:57.503Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T04:25:57.503Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-08T04:25:57.503Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T04:25:57.503Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T04:25:57.503Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T04:25:57.503Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-08T04:25:57.503Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T04:25:57.762Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-08T04:25:57.762Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T04:25:57.762Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T04:25:57.762Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T04:25:57.762Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T04:25:57.762Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T04:25:57.762Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T04:25:58.020Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T04:25:58.020Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T04:25:58.020Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T04:25:58.020Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-08T04:25:58.021Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T04:25:58.021Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T04:25:58.021Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-08T04:25:58.021Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T04:25:58.280Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T04:25:58.280Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-08T04:25:58.280Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T04:25:58.280Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T04:25:58.280Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T04:25:58.280Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-08T04:26:07.055Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-08T04:26:07.322Z] (11/18) Installing build-base (0.5-r1) [2020-04-08T04:26:07.322Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-08T04:26:07.322Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-08T04:26:07.590Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-08T04:26:08.172Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-08T04:26:08.172Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-08T04:26:08.439Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-08T04:26:08.708Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-08T04:26:08.708Z] Executing busybox-1.31.1-r8.trigger [2020-04-08T04:26:08.708Z] OK: 203 MiB in 52 packages [2020-04-08T04:26:10.518Z] Removing intermediate container 10b28a8e57b1 [2020-04-08T04:26:10.518Z] ---> 5c8b1ee6154b [2020-04-08T04:26:10.518Z] Successfully built 5c8b1ee6154b [2020-04-08T04:26:10.518Z] 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-08T04:26:11.097Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-08T04:26:11.097Z] . [Pipeline] withDockerContainer [2020-04-08T04:26:11.224Z] prd-centos7-docker-4c-2g-2733 does not seem to be running inside a container [2020-04-08T04:26:11.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-08T04:26:11.870Z] $ docker top 666f81d210e28e7896ab03fea77689d0519d9f697cf061dec7b1c7b50e1b3e20 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T04:26:12.342Z] + go version [2020-04-08T04:26:12.342Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-08T04:26:12.638Z] + make test [2020-04-08T04:26:12.638Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-08T04:26:14.023Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-08T04:26:15.369Z] Removing intermediate container fa157517d686 [2020-04-08T04:26:15.369Z] ---> ccb3e3403d81 [2020-04-08T04:26:15.369Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-08T04:26:15.369Z] ---> Running in d3348e259768 [2020-04-08T04:26:15.637Z] Removing intermediate container d3348e259768 [2020-04-08T04:26:15.637Z] ---> 1a1ed28a8714 [2020-04-08T04:26:15.637Z] Step 7/8 : COPY . . [2020-04-08T04:26:16.604Z] ---> cf5e269cf7e1 [2020-04-08T04:26:16.604Z] Step 8/8 : RUN go mod download [2020-04-08T04:26:16.604Z] ---> Running in 5eb82d11e64c [2020-04-08T04:26:18.554Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T04:26:18.554Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T04:26:18.554Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T04:26:18.554Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T04:26:18.554Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T04:26:18.554Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-08T04:26:18.554Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T04:26:18.554Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-08T04:26:18.554Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-08T04:26:18.554Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-08T04:26:18.554Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T04:26:18.554Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T04:26:18.554Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T04:26:18.554Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T04:26:18.821Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-08T04:26:18.821Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-08T04:26:18.821Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T04:26:18.821Z] go: finding github.com/google/uuid v1.1.1 [2020-04-08T04:26:18.821Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-08T04:26:18.821Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-08T04:26:18.821Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-08T04:26:18.821Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T04:26:18.821Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-08T04:26:18.821Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T04:26:18.822Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T04:26:18.822Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T04:26:18.822Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T04:26:19.090Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T04:26:19.090Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T04:26:19.090Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T04:26:19.090Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T04:26:19.090Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T04:26:19.090Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T04:26:19.090Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T04:26:19.090Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-08T04:26:19.090Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T04:26:19.090Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T04:26:19.090Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-08T04:26:19.090Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T04:26:19.090Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T04:26:19.090Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-08T04:26:19.090Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T04:26:19.090Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T04:26:19.090Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T04:26:19.362Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-08T04:26:26.310Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-08T04:26:28.219Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.225s coverage: 50.3% of statements [2020-04-08T04:26:28.219Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T04:26:30.764Z] gofmt -l . [2020-04-08T04:26:30.764Z] [ "`gofmt -l .`" = "" ] [2020-04-08T04:26:30.764Z] ./bin/test-attribution-txt.sh [2020-04-08T04:26:31.024Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T04:26:31.703Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T04:26:31.711Z] $ docker stop --time=1 666f81d210e28e7896ab03fea77689d0519d9f697cf061dec7b1c7b50e1b3e20 [2020-04-08T04:26:33.160Z] $ docker rm -f 666f81d210e28e7896ab03fea77689d0519d9f697cf061dec7b1c7b50e1b3e20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T04:26:34.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T04:26:34.788Z] + ls -al . [2020-04-08T04:26:34.788Z] total 100 [2020-04-08T04:26:34.788Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 8 04:26 . [2020-04-08T04:26:34.788Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 04:24 .. [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 4208 Apr 8 04:24 Attribution.txt [2020-04-08T04:26:34.788Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 8 04:24 bin [2020-04-08T04:26:34.788Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 8 04:24 cmd [2020-04-08T04:26:34.788Z] -rw-r--r--. 1 jenkins jenkins 22122 Apr 8 04:26 coverage.out [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 1263 Apr 8 04:24 Dockerfile [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 8 04:24 Dockerfile.build [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 04:24 .dockerignore [2020-04-08T04:26:34.788Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 8 04:25 .git [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 8 04:24 .gitignore [2020-04-08T04:26:34.788Z] -rw-r--r--. 1 jenkins jenkins 630 Apr 8 04:26 go.mod [2020-04-08T04:26:34.788Z] -rw-r--r--. 1 jenkins jenkins 12117 Apr 8 04:26 go.sum [2020-04-08T04:26:34.788Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 04:24 internal [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 681 Apr 8 04:24 Jenkinsfile [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 8 04:24 LICENSE [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 8 04:24 Makefile [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 8 04:24 README.md [2020-04-08T04:26:34.788Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 8 04:25 .semver [2020-04-08T04:26:34.788Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 8 04:24 simulator [2020-04-08T04:26:34.788Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 04:24 snap [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 8 04:22 VERSION [2020-04-08T04:26:34.788Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 8 04:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:26:35.095Z] + 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=1.2.0-dev.4 . [2020-04-08T04:26:35.095Z] Sending build context to Docker daemon 574.5kB [2020-04-08T04:26:35.095Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-08T04:26:35.095Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-08T04:26:35.095Z] ---> 5c8b1ee6154b [2020-04-08T04:26:35.095Z] Step 3/17 : ARG MAKE='make build' [2020-04-08T04:26:35.356Z] ---> Running in 46fba71aa6a9 [2020-04-08T04:26:35.356Z] Removing intermediate container 46fba71aa6a9 [2020-04-08T04:26:35.356Z] ---> a1004695d072 [2020-04-08T04:26:35.356Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T04:26:35.356Z] ---> Running in f41a9b4489c6 [2020-04-08T04:26:36.294Z] Removing intermediate container f41a9b4489c6 [2020-04-08T04:26:36.294Z] ---> b2f1f19f845e [2020-04-08T04:26:36.294Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-08T04:26:36.294Z] ---> Running in be819f2c5c5f [2020-04-08T04:26:36.555Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T04:26:37.491Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T04:26:37.640Z] Removing intermediate container 5eb82d11e64c [2020-04-08T04:26:37.640Z] ---> 8e5bf1e1f855 [2020-04-08T04:26:37.640Z] Successfully built 8e5bf1e1f855 [2020-04-08T04:26:37.640Z] 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-08T04:26:38.249Z] + docker inspect -f . ci-base-image-arm64 [2020-04-08T04:26:38.432Z] OK: 214 MiB in 52 packages [2020-04-08T04:26:38.518Z] . [Pipeline] withDockerContainer [2020-04-08T04:26:38.691Z] Removing intermediate container be819f2c5c5f [2020-04-08T04:26:38.691Z] ---> 4c08e946e9da [2020-04-08T04:26:38.691Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-08T04:26:38.691Z] ---> Running in c5ac1e369f22 [2020-04-08T04:26:38.925Z] prd-ubuntu18.04-docker-arm64-4c-16g-2732 does not seem to be running inside a container [2020-04-08T04:26:38.950Z] Removing intermediate container c5ac1e369f22 [2020-04-08T04:26:38.950Z] ---> f50b54c6c311 [2020-04-08T04:26:38.950Z] Step 7/17 : COPY . . [2020-04-08T04:26:39.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-08T04:26:39.210Z] ---> defce2f33ebe [2020-04-08T04:26:39.210Z] Step 8/17 : RUN ${MAKE} [2020-04-08T04:26:39.210Z] ---> Running in d9ae3da5ca4a [2020-04-08T04:26:39.471Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.0-dev.4" -o cmd/device-modbus ./cmd [2020-04-08T04:26:40.668Z] $ docker top fe885e8f2d95b40ab4d9294d295a534e587c14f33e2d3d165de616971a12626c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T04:26:41.777Z] + go version [2020-04-08T04:26:41.777Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-08T04:26:42.465Z] + make test [2020-04-08T04:26:42.465Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-08T04:26:43.890Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-08T04:26:51.771Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-08T04:26:54.307Z] Removing intermediate container d9ae3da5ca4a [2020-04-08T04:26:54.307Z] ---> d636f28fde25 [2020-04-08T04:26:54.307Z] Step 9/17 : FROM scratch [2020-04-08T04:26:54.307Z] ---> [2020-04-08T04:26:54.307Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-08T04:26:54.307Z] ---> Running in 7de05b9cfc2b [2020-04-08T04:26:54.307Z] Removing intermediate container 7de05b9cfc2b [2020-04-08T04:26:54.307Z] ---> 3f9f80dfe7c3 [2020-04-08T04:26:54.307Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-08T04:26:54.307Z] ---> Running in fb29687e06b7 [2020-04-08T04:26:54.307Z] Removing intermediate container fb29687e06b7 [2020-04-08T04:26:54.307Z] ---> fcafe7510dca [2020-04-08T04:26:54.307Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-08T04:26:54.877Z] ---> 19456db8c10d [2020-04-08T04:26:54.877Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-08T04:26:54.877Z] ---> Running in 9d966e97643b [2020-04-08T04:26:55.136Z] Removing intermediate container 9d966e97643b [2020-04-08T04:26:55.136Z] ---> 469bc15322cd [2020-04-08T04:26:55.136Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-08T04:26:55.136Z] ---> Running in 3466074910cd [2020-04-08T04:26:55.136Z] Removing intermediate container 3466074910cd [2020-04-08T04:26:55.136Z] ---> 35e406baa946 [2020-04-08T04:26:55.136Z] Step 15/17 : LABEL arch=amd64 [2020-04-08T04:26:55.136Z] ---> Running in 38d744c610a5 [2020-04-08T04:26:55.395Z] Removing intermediate container 38d744c610a5 [2020-04-08T04:26:55.395Z] ---> d62fa4c85204 [2020-04-08T04:26:55.395Z] Step 16/17 : LABEL git_sha=251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:26:55.395Z] ---> Running in 3e863729953b [2020-04-08T04:26:55.395Z] Removing intermediate container 3e863729953b [2020-04-08T04:26:55.395Z] ---> 0a71473edd94 [2020-04-08T04:26:55.395Z] Step 17/17 : LABEL version=1.2.0-dev.4 [2020-04-08T04:26:55.654Z] ---> Running in 0bb307697504 [2020-04-08T04:26:55.654Z] Removing intermediate container 0bb307697504 [2020-04-08T04:26:55.654Z] ---> 15b5f7613e18 [2020-04-08T04:26:55.654Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T04:26:55.654Z] Successfully built 15b5f7613e18 [2020-04-08T04:26:55.654Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T04:26:55.979Z] provisioning config files... [2020-04-08T04:26:56.009Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config1840813102917714057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:26:56.363Z] nexus3.edgexfoundry.org:10001 [2020-04-08T04:26:56.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:26:56.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:26:56.624Z] Configure a credential helper to remove this warning. See [2020-04-08T04:26:56.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:26:56.624Z] [2020-04-08T04:26:56.624Z] Login Succeeded [2020-04-08T04:26:56.624Z] nexus3.edgexfoundry.org:10002 [2020-04-08T04:26:56.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:26:56.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:26:56.885Z] Configure a credential helper to remove this warning. See [2020-04-08T04:26:56.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:26:56.885Z] [2020-04-08T04:26:56.885Z] Login Succeeded [2020-04-08T04:26:56.885Z] nexus3.edgexfoundry.org:10003 [2020-04-08T04:26:56.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:26:56.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:26:56.885Z] Configure a credential helper to remove this warning. See [2020-04-08T04:26:56.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:26:56.885Z] [2020-04-08T04:26:56.885Z] Login Succeeded [2020-04-08T04:26:56.885Z] nexus3.edgexfoundry.org:10004 [2020-04-08T04:26:57.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:26:57.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:26:57.143Z] Configure a credential helper to remove this warning. See [2020-04-08T04:26:57.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:26:57.143Z] [2020-04-08T04:26:57.143Z] Login Succeeded [2020-04-08T04:26:57.143Z] docker.io [2020-04-08T04:26:57.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:26:57.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:26:57.660Z] Configure a credential helper to remove this warning. See [2020-04-08T04:26:57.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:26:57.660Z] [2020-04-08T04:26:57.660Z] Login Succeeded [Pipeline] } [2020-04-08T04:26:57.667Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-04-08T04:26:57.814Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2020-04-08T04:26:57.814Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:26:57.814Z] latest [2020-04-08T04:26:57.814Z] 1.2.0-dev.4 [2020-04-08T04:26:57.814Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [2020-04-08T04:26:57.814Z] master [2020-04-08T04:26:57.814Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:26:58.251Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:26:58.546Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:26:58.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-04-08T04:26:58.546Z] 0e4b8212df81: Preparing [2020-04-08T04:26:59.926Z] 0e4b8212df81: Pushed [2020-04-08T04:27:00.186Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:00.480Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:00.769Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-04-08T04:27:00.769Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-04-08T04:27:00.769Z] 0e4b8212df81: Preparing [2020-04-08T04:27:00.769Z] 0e4b8212df81: Layer already exists [2020-04-08T04:27:00.769Z] latest: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:01.065Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:01.360Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.0-dev.4 [2020-04-08T04:27:01.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-04-08T04:27:01.360Z] 0e4b8212df81: Preparing [2020-04-08T04:27:01.360Z] 0e4b8212df81: Layer already exists [2020-04-08T04:27:01.360Z] 1.2.0-dev.4: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:01.660Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:01.955Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [2020-04-08T04:27:01.955Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-04-08T04:27:01.955Z] 0e4b8212df81: Preparing [2020-04-08T04:27:01.955Z] 0e4b8212df81: Layer already exists [2020-04-08T04:27:01.955Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:02.260Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:02.561Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2020-04-08T04:27:02.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-04-08T04:27:02.561Z] 0e4b8212df81: Preparing [2020-04-08T04:27:02.561Z] 0e4b8212df81: Layer already exists [2020-04-08T04:27:02.561Z] master: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-08T04:27:30.794Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-08T04:27:30.795Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.228s coverage: 50.3% of statements [2020-04-08T04:27:30.795Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T04:27:31.383Z] gofmt -l . [2020-04-08T04:27:31.383Z] [ "`gofmt -l .`" = "" ] [2020-04-08T04:27:31.383Z] ./bin/test-attribution-txt.sh [2020-04-08T04:27:32.347Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T04:27:32.628Z] Warning: overwriting stash ‘coverage-report’ [2020-04-08T04:27:33.103Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T04:27:33.109Z] $ docker stop --time=1 fe885e8f2d95b40ab4d9294d295a534e587c14f33e2d3d165de616971a12626c [2020-04-08T04:27:35.558Z] $ docker rm -f fe885e8f2d95b40ab4d9294d295a534e587c14f33e2d3d165de616971a12626c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T04:27:36.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T04:27:37.134Z] + ls -al . [2020-04-08T04:27:37.134Z] total 132 [2020-04-08T04:27:37.134Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 04:27 . [2020-04-08T04:27:37.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 04:24 .. [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 04:24 .dockerignore [2020-04-08T04:27:37.134Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 04:24 .git [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 8 04:24 .gitignore [2020-04-08T04:27:37.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 04:24 .semver [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 4208 Apr 8 04:24 Attribution.txt [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 1263 Apr 8 04:24 Dockerfile [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 8 04:24 Dockerfile.build [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 681 Apr 8 04:24 Jenkinsfile [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 04:24 LICENSE [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 8 04:24 Makefile [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 8 04:24 README.md [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 8 04:22 VERSION [2020-04-08T04:27:37.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 04:24 bin [2020-04-08T04:27:37.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 04:24 cmd [2020-04-08T04:27:37.134Z] -rw-r--r-- 1 jenkins jenkins 22122 Apr 8 04:27 coverage.out [2020-04-08T04:27:37.134Z] -rw-r--r-- 1 jenkins jenkins 630 Apr 8 04:27 go.mod [2020-04-08T04:27:37.134Z] -rw-r--r-- 1 jenkins jenkins 12117 Apr 8 04:27 go.sum [2020-04-08T04:27:37.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 04:24 internal [2020-04-08T04:27:37.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 04:24 simulator [2020-04-08T04:27:37.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 04:24 snap [2020-04-08T04:27:37.134Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 8 04:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:27:37.465Z] + 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=1.2.0-dev.4 . [2020-04-08T04:27:38.049Z] Sending build context to Docker daemon 574.5kB [2020-04-08T04:27:38.049Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-08T04:27:38.049Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-08T04:27:38.049Z] ---> 8e5bf1e1f855 [2020-04-08T04:27:38.049Z] Step 3/17 : ARG MAKE='make build' [2020-04-08T04:27:38.049Z] ---> Running in 8a271b0d4713 [2020-04-08T04:27:38.636Z] Removing intermediate container 8a271b0d4713 [2020-04-08T04:27:38.636Z] ---> 6b72c87bc89e [2020-04-08T04:27:38.636Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T04:27:38.636Z] ---> Running in abe6ab2fbfcd [2020-04-08T04:27:40.595Z] Removing intermediate container abe6ab2fbfcd [2020-04-08T04:27:40.595Z] ---> 58f5788fbf79 [2020-04-08T04:27:40.595Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-08T04:27:40.595Z] ---> Running in fbdfae79bdbf [2020-04-08T04:27:41.636Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T04:27:42.614Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T04:27:43.243Z] OK: 203 MiB in 52 packages [2020-04-08T04:27:44.661Z] Removing intermediate container fbdfae79bdbf [2020-04-08T04:27:44.661Z] ---> 739525c3ef36 [2020-04-08T04:27:44.661Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-08T04:27:44.661Z] ---> Running in 88c576d52497 [2020-04-08T04:27:44.927Z] Removing intermediate container 88c576d52497 [2020-04-08T04:27:44.927Z] ---> 07dc75349d56 [2020-04-08T04:27:44.927Z] Step 7/17 : COPY . . [2020-04-08T04:27:45.508Z] ---> 9bb7b361e27a [2020-04-08T04:27:45.508Z] Step 8/17 : RUN ${MAKE} [2020-04-08T04:27:45.776Z] ---> Running in ab2ecb5c9551 [2020-04-08T04:27:46.358Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.0-dev.4" -o cmd/device-modbus ./cmd [2020-04-08T04:28:33.259Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-08T04:28:37.531Z] Removing intermediate container ab2ecb5c9551 [2020-04-08T04:28:37.531Z] ---> 85d8d4586fa0 [2020-04-08T04:28:37.531Z] Step 9/17 : FROM scratch [2020-04-08T04:28:37.531Z] ---> [2020-04-08T04:28:37.531Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-08T04:28:37.531Z] ---> Running in d1169e316094 [2020-04-08T04:28:37.531Z] Removing intermediate container d1169e316094 [2020-04-08T04:28:37.531Z] ---> a2b131027535 [2020-04-08T04:28:37.531Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-08T04:28:37.531Z] ---> Running in cb23499f0cc3 [2020-04-08T04:28:37.799Z] Removing intermediate container cb23499f0cc3 [2020-04-08T04:28:37.799Z] ---> ebfc85b61c41 [2020-04-08T04:28:37.799Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-08T04:28:39.213Z] ---> 55fdaa8d81c4 [2020-04-08T04:28:39.213Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-08T04:28:39.213Z] ---> Running in d67b1248571d [2020-04-08T04:28:39.482Z] Removing intermediate container d67b1248571d [2020-04-08T04:28:39.482Z] ---> 94e6dccabd1f [2020-04-08T04:28:39.482Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-08T04:28:39.482Z] ---> Running in 319506bcbd51 [2020-04-08T04:28:40.077Z] Removing intermediate container 319506bcbd51 [2020-04-08T04:28:40.077Z] ---> b5b28505a887 [2020-04-08T04:28:40.077Z] Step 15/17 : LABEL arch=arm64 [2020-04-08T04:28:40.077Z] ---> Running in 2b5912a3fd6f [2020-04-08T04:28:40.665Z] Removing intermediate container 2b5912a3fd6f [2020-04-08T04:28:40.665Z] ---> 7612b7f0d52c [2020-04-08T04:28:40.665Z] Step 16/17 : LABEL git_sha=251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:28:40.665Z] ---> Running in 84a6861a0566 [2020-04-08T04:28:40.933Z] Removing intermediate container 84a6861a0566 [2020-04-08T04:28:40.933Z] ---> 707836e53ebf [2020-04-08T04:28:40.933Z] Step 17/17 : LABEL version=1.2.0-dev.4 [2020-04-08T04:28:41.203Z] ---> Running in fcc9a1b383e9 [2020-04-08T04:28:41.472Z] Removing intermediate container fcc9a1b383e9 [2020-04-08T04:28:41.472Z] ---> b8cc2f0d62f9 [2020-04-08T04:28:41.473Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T04:28:41.741Z] Successfully built b8cc2f0d62f9 [2020-04-08T04:28:41.741Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T04:28:42.078Z] provisioning config files... [2020-04-08T04:28:42.138Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config8353135092101270169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:28:42.540Z] nexus3.edgexfoundry.org:10001 [2020-04-08T04:28:43.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:28:43.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:28:43.406Z] Configure a credential helper to remove this warning. See [2020-04-08T04:28:43.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:28:43.406Z] [2020-04-08T04:28:43.406Z] Login Succeeded [2020-04-08T04:28:43.406Z] nexus3.edgexfoundry.org:10002 [2020-04-08T04:28:44.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:28:44.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:28:44.370Z] Configure a credential helper to remove this warning. See [2020-04-08T04:28:44.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:28:44.370Z] [2020-04-08T04:28:44.370Z] Login Succeeded [2020-04-08T04:28:44.370Z] nexus3.edgexfoundry.org:10003 [2020-04-08T04:28:45.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:28:45.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:28:45.331Z] Configure a credential helper to remove this warning. See [2020-04-08T04:28:45.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:28:45.331Z] [2020-04-08T04:28:45.331Z] Login Succeeded [2020-04-08T04:28:45.331Z] nexus3.edgexfoundry.org:10004 [2020-04-08T04:28:45.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:28:46.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:28:46.186Z] Configure a credential helper to remove this warning. See [2020-04-08T04:28:46.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:28:46.186Z] [2020-04-08T04:28:46.186Z] Login Succeeded [2020-04-08T04:28:46.186Z] docker.io [2020-04-08T04:28:46.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-04-08T04:28:47.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-04-08T04:28:47.369Z] Configure a credential helper to remove this warning. See [2020-04-08T04:28:47.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-04-08T04:28:47.369Z] [2020-04-08T04:28:47.369Z] Login Succeeded [Pipeline] } [2020-04-08T04:28:47.383Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-04-08T04:28:47.521Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2020-04-08T04:28:47.521Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:28:47.521Z] latest [2020-04-08T04:28:47.521Z] 1.2.0-dev.4 [2020-04-08T04:28:47.521Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [2020-04-08T04:28:47.521Z] master [2020-04-08T04:28:47.521Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:48.014Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:48.619Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:28:48.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-04-08T04:28:48.886Z] eaea182435b7: Preparing [2020-04-08T04:28:53.144Z] eaea182435b7: Pushed [2020-04-08T04:28:53.144Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:53.485Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:54.087Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-04-08T04:28:54.355Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-04-08T04:28:54.355Z] eaea182435b7: Preparing [2020-04-08T04:28:54.355Z] eaea182435b7: Layer already exists [2020-04-08T04:28:54.624Z] latest: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:54.958Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:55.559Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.0-dev.4 [2020-04-08T04:28:55.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-04-08T04:28:55.826Z] eaea182435b7: Preparing [2020-04-08T04:28:55.826Z] eaea182435b7: Layer already exists [2020-04-08T04:28:55.826Z] 1.2.0-dev.4: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:56.161Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:56.760Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [2020-04-08T04:28:57.030Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-04-08T04:28:57.030Z] eaea182435b7: Preparing [2020-04-08T04:28:57.030Z] eaea182435b7: Layer already exists [2020-04-08T04:28:57.030Z] 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:57.367Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:28:57.965Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2020-04-08T04:28:58.231Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-04-08T04:28:58.231Z] eaea182435b7: Preparing [2020-04-08T04:28:58.231Z] eaea182435b7: Layer already exists [2020-04-08T04:28:58.231Z] master: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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-08T04:28:59.123Z] provisioning config files... [2020-04-08T04:28:59.135Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7705255228406110455tmp [Pipeline] { [Pipeline] sh [2020-04-08T04:28:59.485Z] + curl -s https://codecov.io/bash [2020-04-08T04:28:59.485Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_master@tmp/config7705255228406110455tmp [2020-04-08T04:28:59.744Z] [2020-04-08T04:28:59.744Z] _____ _ [2020-04-08T04:28:59.744Z] / ____| | | [2020-04-08T04:28:59.744Z] | | ___ __| | ___ ___ _____ __ [2020-04-08T04:28:59.744Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-08T04:28:59.744Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-08T04:28:59.744Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-08T04:28:59.744Z] Bash-tbd [2020-04-08T04:28:59.744Z] [2020-04-08T04:28:59.744Z] [2020-04-08T04:28:59.744Z] ==> Jenkins CI detected. [2020-04-08T04:28:59.744Z] project root: . [2020-04-08T04:28:59.744Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-08T04:28:59.744Z] ==> Running gcov in . (disable via -X gcov) [2020-04-08T04:28:59.744Z] ==> Python coveragepy not found [2020-04-08T04:28:59.744Z] ==> Searching for coverage reports in: [2020-04-08T04:28:59.744Z] + . [2020-04-08T04:28:59.744Z] -> Found 1 reports [2020-04-08T04:28:59.744Z] ==> Detecting git/mercurial file structure [2020-04-08T04:28:59.744Z] ==> Reading reports [2020-04-08T04:28:59.744Z] + ./coverage.out bytes=22122 [2020-04-08T04:28:59.744Z] ==> Appending adjustments [2020-04-08T04:28:59.744Z] http://docs.codecov.io/docs/fixing-reports [2020-04-08T04:29:00.003Z] + Found adjustments [2020-04-08T04:29:00.003Z] ==> Gzipping contents [2020-04-08T04:29:00.003Z] ==> Uploading reports [2020-04-08T04:29:00.003Z] url: https://codecov.io [2020-04-08T04:29:00.003Z] query: branch=master&commit=251ac84f7228ae0fb6e27216846c283c9f5cee26&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= [2020-04-08T04:29:00.003Z] -> Pinging Codecov [2020-04-08T04:29:00.003Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=251ac84f7228ae0fb6e27216846c283c9f5cee26&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= [2020-04-08T04:29:00.571Z] -> Uploading [2020-04-08T04:29:01.141Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] } [2020-04-08T04:29:01.148Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-08T04:29:01.481Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-08T04:29:01.482Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-08T04:29:01.522Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:01.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-08T04:29:01.929Z] [2020-04-08T04:29:01.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:02.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-08T04:29:02.272Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-08T04:29:02.272Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T04:29:02.272Z] 2848faf0eed1: Pulling fs layer [2020-04-08T04:29:02.272Z] 0f37312ad70f: Pulling fs layer [2020-04-08T04:29:02.272Z] 7d08f2745646: Pulling fs layer [2020-04-08T04:29:02.272Z] 4c9f31393084: Pulling fs layer [2020-04-08T04:29:02.272Z] eb21ddb83652: Pulling fs layer [2020-04-08T04:29:02.272Z] 345998794f6b: Pulling fs layer [2020-04-08T04:29:02.272Z] 97a711d68925: Pulling fs layer [2020-04-08T04:29:02.272Z] 7c8476c1cb00: Pulling fs layer [2020-04-08T04:29:02.272Z] 7d08f2745646: Waiting [2020-04-08T04:29:02.272Z] 4c9f31393084: Waiting [2020-04-08T04:29:02.272Z] eb21ddb83652: Waiting [2020-04-08T04:29:02.272Z] 345998794f6b: Waiting [2020-04-08T04:29:02.272Z] 97a711d68925: Waiting [2020-04-08T04:29:02.272Z] 7c8476c1cb00: Waiting [2020-04-08T04:29:02.272Z] 0f37312ad70f: Download complete [2020-04-08T04:29:02.272Z] 2848faf0eed1: Verifying Checksum [2020-04-08T04:29:02.272Z] 2848faf0eed1: Download complete [2020-04-08T04:29:02.272Z] 4c9f31393084: Verifying Checksum [2020-04-08T04:29:02.272Z] 4c9f31393084: Download complete [2020-04-08T04:29:02.272Z] eb21ddb83652: Verifying Checksum [2020-04-08T04:29:02.272Z] eb21ddb83652: Download complete [2020-04-08T04:29:02.272Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T04:29:02.272Z] e6b0cf9c0882: Download complete [2020-04-08T04:29:02.540Z] e6b0cf9c0882: Pull complete [2020-04-08T04:29:02.803Z] 2848faf0eed1: Pull complete [2020-04-08T04:29:03.076Z] 0f37312ad70f: Pull complete [2020-04-08T04:29:03.076Z] 345998794f6b: Verifying Checksum [2020-04-08T04:29:03.076Z] 345998794f6b: Download complete [2020-04-08T04:29:03.352Z] 7c8476c1cb00: Verifying Checksum [2020-04-08T04:29:03.352Z] 7c8476c1cb00: Download complete [2020-04-08T04:29:03.352Z] 97a711d68925: Verifying Checksum [2020-04-08T04:29:03.352Z] 97a711d68925: Download complete [2020-04-08T04:29:04.290Z] 7d08f2745646: Verifying Checksum [2020-04-08T04:29:04.290Z] 7d08f2745646: Download complete [2020-04-08T04:29:09.577Z] 7d08f2745646: Pull complete [2020-04-08T04:29:09.577Z] 4c9f31393084: Pull complete [2020-04-08T04:29:09.577Z] eb21ddb83652: Pull complete [2020-04-08T04:29:10.953Z] 345998794f6b: Pull complete [2020-04-08T04:29:15.146Z] 97a711d68925: Pull complete [2020-04-08T04:29:15.407Z] 7c8476c1cb00: Pull complete [2020-04-08T04:29:15.407Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-08T04:29:15.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-08T04:29:15.562Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:29:15.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/xfoundry_device-modbus-go_master:/ws -w /ws --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-08T04:29:16.152Z] $ docker top 4dbd3e98fc4970680ccec5532a1093437274eb0bfa8f389fac911e4c646f51ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T04:29:16.685Z] + snyk monitor '--org=edgex-jenkins' [2020-04-08T04:29:26.675Z] [2020-04-08T04:29:26.676Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master... [2020-04-08T04:29:26.676Z] [2020-04-08T04:29:26.676Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/e16f45c5-b578-41a7-906f-90e94bbc1bc7 [2020-04-08T04:29:26.676Z] [2020-04-08T04:29:26.676Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-08T04:29:26.676Z] [2020-04-08T04:29:26.676Z] [Pipeline] } [2020-04-08T04:29:26.686Z] $ docker stop --time=1 4dbd3e98fc4970680ccec5532a1093437274eb0bfa8f389fac911e4c646f51ae [2020-04-08T04:29:28.173Z] $ docker rm -f 4dbd3e98fc4970680ccec5532a1093437274eb0bfa8f389fac911e4c646f51ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:29.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-04-08T04:29:29.735Z] [2020-04-08T04:29:29.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:30.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-04-08T04:29:30.063Z] latest: Pulling from edgex-devops/edgex-klar [2020-04-08T04:29:30.063Z] e7c96db7181b: Pulling fs layer [2020-04-08T04:29:30.063Z] 1868ca2cb446: Pulling fs layer [2020-04-08T04:29:30.063Z] 136be5d0fe8e: Pulling fs layer [2020-04-08T04:29:30.063Z] 894bfe63afcb: Pulling fs layer [2020-04-08T04:29:30.064Z] 894bfe63afcb: Waiting [2020-04-08T04:29:30.064Z] 1868ca2cb446: Verifying Checksum [2020-04-08T04:29:30.064Z] 1868ca2cb446: Download complete [2020-04-08T04:29:30.064Z] 136be5d0fe8e: Verifying Checksum [2020-04-08T04:29:30.064Z] 136be5d0fe8e: Download complete [2020-04-08T04:29:30.064Z] e7c96db7181b: Verifying Checksum [2020-04-08T04:29:30.064Z] e7c96db7181b: Download complete [2020-04-08T04:29:30.323Z] 894bfe63afcb: Verifying Checksum [2020-04-08T04:29:30.323Z] 894bfe63afcb: Download complete [2020-04-08T04:29:30.323Z] e7c96db7181b: Pull complete [2020-04-08T04:29:30.591Z] 1868ca2cb446: Pull complete [2020-04-08T04:29:30.591Z] 136be5d0fe8e: Pull complete [2020-04-08T04:29:30.850Z] 894bfe63afcb: Pull complete [2020-04-08T04:29:30.850Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-04-08T04:29:30.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-04-08T04:29:30.971Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:29:31.014Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-04-08T04:29:31.546Z] $ docker top 54e043b7cc3a94fd9350e80dd8c90fe9c85fe392c54baea2506780ae9db99155 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-04-08T04:29:32.060Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:29:32.060Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-04-08T04:29:34.069Z] $ docker stop --time=1 54e043b7cc3a94fd9350e80dd8c90fe9c85fe392c54baea2506780ae9db99155 [2020-04-08T04:29:35.418Z] $ docker rm -f 54e043b7cc3a94fd9350e80dd8c90fe9c85fe392c54baea2506780ae9db99155 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:35.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-04-08T04:29:35.883Z] . [Pipeline] withDockerContainer [2020-04-08T04:29:36.010Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:29:36.050Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-04-08T04:29:36.615Z] $ docker top ebc6b65362fb9944cf12299e7a9abe29bc8eb47166b51e49347bbae52d22b719 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-04-08T04:29:37.122Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:29:37.122Z] + tee [2020-04-08T04:29:37.122Z] clair timeout 1m0s [2020-04-08T04:29:37.122Z] docker timeout: 1m0s [2020-04-08T04:29:37.122Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-04-08T04:29:37.459Z] $ docker stop --time=1 ebc6b65362fb9944cf12299e7a9abe29bc8eb47166b51e49347bbae52d22b719 [2020-04-08T04:29:38.852Z] $ docker rm -f ebc6b65362fb9944cf12299e7a9abe29bc8eb47166b51e49347bbae52d22b719 [Pipeline] // withDockerContainer [Pipeline] sh [2020-04-08T04:29:39.345Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo [2020-04-08T04:29:39.353Z] Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go_251ac84f7228ae0fb6e27216846c283c9f5cee26.html [Pipeline] writeFile [Pipeline] step [2020-04-08T04:29:39.391Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:39.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-04-08T04:29:39.720Z] . [Pipeline] withDockerContainer [2020-04-08T04:29:39.836Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:29:39.878Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-04-08T04:29:40.477Z] $ docker top e474f8d035e5a2c4739a2f971ea2412e0353680a530c3e08f7b03dc560323cd9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-04-08T04:29:40.973Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:29:40.973Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-04-08T04:29:42.452Z] $ docker stop --time=1 e474f8d035e5a2c4739a2f971ea2412e0353680a530c3e08f7b03dc560323cd9 [2020-04-08T04:29:43.805Z] $ docker rm -f e474f8d035e5a2c4739a2f971ea2412e0353680a530c3e08f7b03dc560323cd9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:44.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-04-08T04:29:44.265Z] . [Pipeline] withDockerContainer [2020-04-08T04:29:44.379Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:29:44.418Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-04-08T04:29:45.048Z] $ docker top 57cb6fde50f80482326c6b4f5d2c8aff49a1a4ff070d9ed4af19120913322db6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-04-08T04:29:45.571Z] + tee [2020-04-08T04:29:45.571Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 [2020-04-08T04:29:45.571Z] clair timeout 1m0s [2020-04-08T04:29:45.571Z] docker timeout: 1m0s [2020-04-08T04:29:45.571Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-04-08T04:29:46.216Z] $ docker stop --time=1 57cb6fde50f80482326c6b4f5d2c8aff49a1a4ff070d9ed4af19120913322db6 [2020-04-08T04:29:47.612Z] $ docker rm -f 57cb6fde50f80482326c6b4f5d2c8aff49a1a4ff070d9ed4af19120913322db6 [Pipeline] // withDockerContainer [Pipeline] sh [2020-04-08T04:29:48.088Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo [2020-04-08T04:29:48.097Z] Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go-arm64_251ac84f7228ae0fb6e27216846c283c9f5cee26.html [Pipeline] writeFile [Pipeline] step [2020-04-08T04:29:48.138Z] Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:48.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T04:29:48.893Z] . [Pipeline] withDockerContainer [2020-04-08T04:29:49.033Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:29:49.093Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-08T04:29:49.814Z] $ docker top 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T04:29:50.091Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T04:29:50.091Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T04:29:50.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T04:29:50.373Z] $ docker exec 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 ssh-agent [2020-04-08T04:29:50.584Z] SSH_AUTH_SOCK=/tmp/ssh-jJ5kId0WB9Fc/agent.14 [2020-04-08T04:29:50.584Z] SSH_AGENT_PID=21 [2020-04-08T04:29:50.590Z] Running ssh-add (command line suppressed) [2020-04-08T04:29:50.765Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2813609698444434996.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2813609698444434996.key) [2020-04-08T04:29:50.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T04:29:51.143Z] + git semver tag [2020-04-08T04:29:51.143Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T04:29:51.143Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-04-08T04:29:51.143Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-04-08T04:29:51.143Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T04:29:51.143Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T04:29:51.143Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T04:29:51.143Z] # $SEMVER_BRANCH = master [2020-04-08T04:29:51.143Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-04-08T04:29:51.143Z] # 251ac84f7228ae0fb6e27216846c283c9f5cee26 HEAD [2020-04-08T04:29:51.143Z] # -> Force: false [2020-04-08T04:29:51.403Z] # 6f66d4329a724de619f1dd3d1b3053f09c8d9154 refs/tags/v1.2.0-dev.4 [Pipeline] } [2020-04-08T04:29:51.412Z] $ docker exec --env ******** --env ******** 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 ssh-agent -k [2020-04-08T04:29:51.561Z] unset SSH_AUTH_SOCK; [2020-04-08T04:29:51.561Z] unset SSH_AGENT_PID; [2020-04-08T04:29:51.561Z] echo Agent pid 21 killed; [2020-04-08T04:29:51.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T04:29:52.029Z] + git semver [Pipeline] } [2020-04-08T04:29:52.041Z] $ docker stop --time=1 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 [2020-04-08T04:29:53.455Z] $ docker rm -f 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:54.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-08T04:29:54.023Z] [2020-04-08T04:29:54.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:29:54.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-08T04:29:54.360Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-08T04:29:54.360Z] ab5ef0e58194: Pulling fs layer [2020-04-08T04:29:54.360Z] 9712f1f96733: Pulling fs layer [2020-04-08T04:29:54.360Z] 63f879dbbcfc: Pulling fs layer [2020-04-08T04:29:54.360Z] 0d9ebad4ef96: Pulling fs layer [2020-04-08T04:29:54.360Z] e9a5061849ea: Pulling fs layer [2020-04-08T04:29:54.360Z] d747dcd14b5f: Pulling fs layer [2020-04-08T04:29:54.360Z] 2de7ff778b66: Pulling fs layer [2020-04-08T04:29:54.360Z] e9a5061849ea: Waiting [2020-04-08T04:29:54.360Z] d747dcd14b5f: Waiting [2020-04-08T04:29:54.360Z] 2de7ff778b66: Waiting [2020-04-08T04:29:54.360Z] 0d9ebad4ef96: Waiting [2020-04-08T04:29:54.360Z] 9712f1f96733: Verifying Checksum [2020-04-08T04:29:54.360Z] 9712f1f96733: Download complete [2020-04-08T04:29:54.935Z] 63f879dbbcfc: Verifying Checksum [2020-04-08T04:29:54.935Z] 63f879dbbcfc: Download complete [2020-04-08T04:29:55.200Z] e9a5061849ea: Verifying Checksum [2020-04-08T04:29:55.200Z] e9a5061849ea: Download complete [2020-04-08T04:29:55.200Z] d747dcd14b5f: Verifying Checksum [2020-04-08T04:29:55.200Z] d747dcd14b5f: Download complete [2020-04-08T04:29:55.468Z] 0d9ebad4ef96: Verifying Checksum [2020-04-08T04:29:55.468Z] 0d9ebad4ef96: Download complete [2020-04-08T04:29:55.468Z] 2de7ff778b66: Download complete [2020-04-08T04:29:55.731Z] ab5ef0e58194: Verifying Checksum [2020-04-08T04:29:55.731Z] ab5ef0e58194: Download complete [2020-04-08T04:30:02.314Z] ab5ef0e58194: Pull complete [2020-04-08T04:30:02.314Z] 9712f1f96733: Pull complete [2020-04-08T04:30:04.225Z] 63f879dbbcfc: Pull complete [2020-04-08T04:30:10.835Z] 0d9ebad4ef96: Pull complete [2020-04-08T04:30:14.136Z] e9a5061849ea: Pull complete [2020-04-08T04:30:14.136Z] d747dcd14b5f: Pull complete [2020-04-08T04:30:15.074Z] 2de7ff778b66: Pull complete [2020-04-08T04:30:15.074Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-08T04:30:15.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-08T04:30:15.218Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:30:15.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-08T04:30:15.903Z] $ docker top 66b09e68d3495ca1f32d7721ab817ade3e84964f48a919b4194ebdd8a7e2f98f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-08T04:30:16.149Z] provisioning config files... [2020-04-08T04:30:16.159Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6252278729427729466tmp [2020-04-08T04:30:16.175Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4958735842410762429tmp [2020-04-08T04:30:16.188Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2034244651446605610tmp [Pipeline] { [Pipeline] echo [2020-04-08T04:30:16.233Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:30:16.526Z] ---> sigul-configuration.sh [2020-04-08T04:30:16.526Z] gpg: directory `/root/.gnupg' created [2020-04-08T04:30:16.526Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-08T04:30:16.526Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-08T04:30:16.526Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-08T04:30:16.526Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-08T04:30:16.526Z] gpg: CAST5 encrypted data [2020-04-08T04:30:16.786Z] gpg: encrypted with 1 passphrase [2020-04-08T04:30:16.786Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-08T04:30:17.076Z] + mkdir /home/jenkins [2020-04-08T04:30:17.076Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-08T04:30:17.367Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-04-08T04:30:17.375Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:30:17.665Z] ---> sigul-install.sh [2020-04-08T04:30:24.241Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-08T04:30:24.538Z] + git tag --list [2020-04-08T04:30:24.538Z] v1.2.0-dev.4 [Pipeline] sh [2020-04-08T04:30:24.834Z] + lftools sign git-tag v1.2.0-dev.4 [2020-04-08T04:30:26.212Z] Signing Git tag with Sigul... [2020-04-08T04:30:26.212Z] Signing v1.2.0-dev.4 [Pipeline] echo [2020-04-08T04:30:27.155Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:30:27.447Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-08T04:30:27.454Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-08T04:30:27.525Z] $ docker stop --time=1 66b09e68d3495ca1f32d7721ab817ade3e84964f48a919b4194ebdd8a7e2f98f [2020-04-08T04:30:28.925Z] $ docker rm -f 66b09e68d3495ca1f32d7721ab817ade3e84964f48a919b4194ebdd8a7e2f98f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:30:30.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T04:30:30.105Z] . [Pipeline] withDockerContainer [2020-04-08T04:30:30.218Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:30:30.259Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-08T04:30:30.872Z] $ docker top 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T04:30:31.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T04:30:31.143Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T04:30:31.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T04:30:31.362Z] $ docker exec 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 ssh-agent [2020-04-08T04:30:31.568Z] SSH_AUTH_SOCK=/tmp/ssh-5Xnbgl4DvPVs/agent.14 [2020-04-08T04:30:31.568Z] SSH_AGENT_PID=21 [2020-04-08T04:30:31.576Z] Running ssh-add (command line suppressed) [2020-04-08T04:30:31.731Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6247150606183823724.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6247150606183823724.key) [2020-04-08T04:30:31.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T04:30:32.117Z] + git semver bump pre [2020-04-08T04:30:32.117Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T04:30:32.117Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-04-08T04:30:32.117Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-04-08T04:30:32.117Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T04:30:32.117Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T04:30:32.117Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T04:30:32.117Z] # $SEMVER_BRANCH = master [2020-04-08T04:30:32.117Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-04-08T04:30:32.117Z] 1.2.0-dev.5 [Pipeline] } [2020-04-08T04:30:32.125Z] $ docker exec --env ******** --env ******** 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 ssh-agent -k [2020-04-08T04:30:32.281Z] unset SSH_AUTH_SOCK; [2020-04-08T04:30:32.281Z] unset SSH_AGENT_PID; [2020-04-08T04:30:32.281Z] echo Agent pid 21 killed; [2020-04-08T04:30:32.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T04:30:32.769Z] + git semver [Pipeline] } [2020-04-08T04:30:32.781Z] $ docker stop --time=1 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 [2020-04-08T04:30:34.127Z] $ docker rm -f 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:30:34.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T04:30:34.665Z] . [Pipeline] withDockerContainer [2020-04-08T04:30:34.777Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:30:34.828Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-08T04:30:35.382Z] $ docker top 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T04:30:35.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T04:30:35.691Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T04:30:35.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T04:30:35.917Z] $ docker exec 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 ssh-agent [2020-04-08T04:30:36.123Z] SSH_AUTH_SOCK=/tmp/ssh-sMqKmITJWvJH/agent.14 [2020-04-08T04:30:36.123Z] SSH_AGENT_PID=21 [2020-04-08T04:30:36.130Z] Running ssh-add (command line suppressed) [2020-04-08T04:30:36.279Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2650466695890487633.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2650466695890487633.key) [2020-04-08T04:30:36.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T04:30:36.666Z] + git semver push [2020-04-08T04:30:36.666Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T04:30:36.666Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-04-08T04:30:36.666Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-04-08T04:30:36.666Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T04:30:36.666Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T04:30:36.666Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T04:30:36.666Z] # $SEMVER_BRANCH = master [2020-04-08T04:30:36.666Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-04-08T04:30:43.240Z] $ docker exec --env ******** --env ******** 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 ssh-agent -k [2020-04-08T04:30:43.388Z] unset SSH_AUTH_SOCK; [2020-04-08T04:30:43.388Z] unset SSH_AGENT_PID; [2020-04-08T04:30:43.388Z] echo Agent pid 21 killed; [2020-04-08T04:30:43.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T04:30:43.899Z] + git semver [Pipeline] } [2020-04-08T04:30:43.912Z] $ docker stop --time=1 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 [2020-04-08T04:30:45.272Z] $ docker rm -f 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 [Pipeline] // withDockerContainer [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-08T04:30:46.059Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:30:46.614Z] ---> package-listing.sh [2020-04-08T04:30:46.614Z] ++ facter osfamily [2020-04-08T04:30:46.614Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-08T04:30:46.614Z] + OS_FAMILY=redhat [2020-04-08T04:30:46.614Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2020-04-08T04:30:46.614Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-08T04:30:46.614Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-08T04:30:46.614Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-08T04:30:46.614Z] + PACKAGES=/tmp/packages_start.txt [2020-04-08T04:30:46.614Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-04-08T04:30:46.614Z] + PACKAGES=/tmp/packages_end.txt [2020-04-08T04:30:46.614Z] + case "${OS_FAMILY}" in [2020-04-08T04:30:46.614Z] + rpm -qa [2020-04-08T04:30:46.614Z] + sort [2020-04-08T04:30:50.806Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-08T04:30:50.806Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-08T04:30:50.806Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-08T04:30:50.806Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-04-08T04:30:50.806Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2020-04-08T04:30:50.806Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:30:51.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T04:30:51.314Z] [2020-04-08T04:30:51.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-08T04:30:51.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T04:30:51.645Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-08T04:30:51.645Z] c9b1b535fdd9: Pulling fs layer [2020-04-08T04:30:51.645Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-08T04:30:51.645Z] 756a868c4378: Pulling fs layer [2020-04-08T04:30:51.645Z] 444b2fc9a129: Pulling fs layer [2020-04-08T04:30:51.645Z] ea15f1150254: Pulling fs layer [2020-04-08T04:30:51.645Z] 41b27a9f41bf: Pulling fs layer [2020-04-08T04:30:51.645Z] 28c525ee5125: Pulling fs layer [2020-04-08T04:30:51.645Z] 094b1ea09ed8: Pulling fs layer [2020-04-08T04:30:51.645Z] 138eaada9080: Pulling fs layer [2020-04-08T04:30:51.645Z] 0622d0fa9048: Pulling fs layer [2020-04-08T04:30:51.645Z] 41b27a9f41bf: Waiting [2020-04-08T04:30:51.645Z] 28c525ee5125: Waiting [2020-04-08T04:30:51.645Z] 094b1ea09ed8: Waiting [2020-04-08T04:30:51.645Z] 138eaada9080: Waiting [2020-04-08T04:30:51.645Z] 0622d0fa9048: Waiting [2020-04-08T04:30:51.645Z] ea15f1150254: Waiting [2020-04-08T04:30:51.645Z] 444b2fc9a129: Waiting [2020-04-08T04:30:51.645Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-08T04:30:51.645Z] 2cc5ad85d9ab: Download complete [2020-04-08T04:30:51.645Z] 444b2fc9a129: Download complete [2020-04-08T04:30:51.645Z] c9b1b535fdd9: Verifying Checksum [2020-04-08T04:30:51.911Z] ea15f1150254: Verifying Checksum [2020-04-08T04:30:51.911Z] ea15f1150254: Download complete [2020-04-08T04:30:51.911Z] 28c525ee5125: Verifying Checksum [2020-04-08T04:30:51.911Z] 28c525ee5125: Download complete [2020-04-08T04:30:52.172Z] 756a868c4378: Verifying Checksum [2020-04-08T04:30:52.172Z] 756a868c4378: Download complete [2020-04-08T04:30:52.434Z] 138eaada9080: Verifying Checksum [2020-04-08T04:30:52.434Z] 138eaada9080: Download complete [2020-04-08T04:30:52.434Z] 0622d0fa9048: Verifying Checksum [2020-04-08T04:30:52.434Z] 0622d0fa9048: Download complete [2020-04-08T04:30:52.434Z] 094b1ea09ed8: Verifying Checksum [2020-04-08T04:30:52.434Z] 094b1ea09ed8: Download complete [2020-04-08T04:30:53.004Z] 41b27a9f41bf: Verifying Checksum [2020-04-08T04:30:53.004Z] 41b27a9f41bf: Download complete [2020-04-08T04:30:53.573Z] c9b1b535fdd9: Pull complete [2020-04-08T04:30:53.839Z] 2cc5ad85d9ab: Pull complete [2020-04-08T04:30:55.753Z] 756a868c4378: Pull complete [2020-04-08T04:30:55.753Z] 444b2fc9a129: Pull complete [2020-04-08T04:30:55.753Z] ea15f1150254: Pull complete [2020-04-08T04:30:59.950Z] 41b27a9f41bf: Pull complete [2020-04-08T04:30:59.950Z] 28c525ee5125: Pull complete [2020-04-08T04:31:02.486Z] 094b1ea09ed8: Pull complete [2020-04-08T04:31:02.486Z] 138eaada9080: Pull complete [2020-04-08T04:31:02.486Z] 0622d0fa9048: Pull complete [2020-04-08T04:31:02.486Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-08T04:31:02.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-08T04:31:02.632Z] prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container [2020-04-08T04:31:02.671Z] $ 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_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-08T04:31:03.735Z] $ docker top b18742e1d44122bb30838fb87c0b7f2d6129cc022499ba7b8c9ebc31ca6440e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T04:31:03.944Z] provisioning config files... [2020-04-08T04:31:03.962Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config136410989268660309tmp [Pipeline] { [Pipeline] echo [2020-04-08T04:31:04.018Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:31:04.309Z] ---> create-netrc.sh [Pipeline] echo [2020-04-08T04:31:04.316Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T04:31:04.604Z] ---> logs-deploy.sh [2020-04-08T04:31:04.604Z] + ARCHIVE_ARTIFACTS= [2020-04-08T04:31:04.604Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-08T04:31:04.604Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-08T04:31:04.604Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-08T04:31:04.604Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/4 [2020-04-08T04:31:04.604Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/4/ [2020-04-08T04:31:04.605Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/4 /w/workspace/xfoundry_device-modbus-go_master [2020-04-08T04:31:05.539Z] Archives upload complete. [2020-04-08T04:31:05.798Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/4/