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 04:22:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 04:22:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:09 04:22:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:22:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:09 latest: Pulling from edgex-devops/git-semver 04:22:09 9123ac7c32f7: Pulling fs layer 04:22:09 b8cc5d1170e3: Pulling fs layer 04:22:09 2924cbbf6a41: Pulling fs layer 04:22:09 93b08a4f1073: Pulling fs layer 04:22:09 93b08a4f1073: Waiting 04:22:09 9123ac7c32f7: Verifying Checksum 04:22:09 9123ac7c32f7: Download complete 04:22:09 2924cbbf6a41: Verifying Checksum 04:22:09 2924cbbf6a41: Download complete 04:22:09 b8cc5d1170e3: Verifying Checksum 04:22:09 b8cc5d1170e3: Download complete 04:22:09 9123ac7c32f7: Pull complete 04:22:09 93b08a4f1073: Verifying Checksum 04:22:09 93b08a4f1073: Download complete 04:22:09 b8cc5d1170e3: Pull complete 04:22:10 2924cbbf6a41: Pull complete 04:22:10 93b08a4f1073: Pull complete 04:22:10 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 04:22:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:22:10 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:22:11 $ 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 04:22:11 $ docker top d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:11 [ssh-agent] Looking for ssh-agent implementation... 04:22:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:12 $ docker exec d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent 04:22:12 SSH_AUTH_SOCK=/tmp/ssh-koGRbYVLnvGP/agent.15 04:22:12 SSH_AGENT_PID=22 04:22:12 Running ssh-add (command line suppressed) 04:22:12 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) 04:22:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:12 + git describe --exact-match --tags HEAD 04:22:12 fatal: No names found, cannot describe anything. [Pipeline] } 04:22:12 $ docker exec --env ******** --env ******** d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent -k 04:22:13 unset SSH_AUTH_SOCK; 04:22:13 unset SSH_AGENT_PID; 04:22:13 echo Agent pid 22 killed; 04:22:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:22:13 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:22:13 This usually means this commit has not been tagged. [Pipeline] sshagent 04:22:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:13 [ssh-agent] Looking for ssh-agent implementation... 04:22:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:13 $ docker exec d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent 04:22:13 SSH_AUTH_SOCK=/tmp/ssh-QkmdPDjz0FJA/agent.57 04:22:13 SSH_AGENT_PID=64 04:22:13 Running ssh-add (command line suppressed) 04:22:13 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) 04:22:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:14 + git semver init 04:22:14 # -> Open(): unable to determine branch for HEAD 04:22:14 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:22:14 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:22:14 # $SEMVER_REMOTE_NAME = origin 04:22:14 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:22:14 # $SEMVER_USER_NAME = jenkins 04:22:14 # $SEMVER_BRANCH = master 04:22:14 # $SEMVER_TEMP = /tmp/semver-096214772 04:22:14 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 04:22:14 # '/tmp/semver-096214772' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 04:22:14 # -> Force: false 04:22:14 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 04:22:14 $ docker exec --env ******** --env ******** d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 ssh-agent -k 04:22:14 unset SSH_AUTH_SOCK; 04:22:14 unset SSH_AGENT_PID; 04:22:14 echo Agent pid 64 killed; 04:22:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:15 + git semver [Pipeline] } 04:22:15 $ docker stop --time=1 d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 04:22:16 $ docker rm -f d26d439e934873711ca20c51d7c4bc172211a31faff5feaf1a9b972fd4cb92c9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:22:17 Stashed 17 file(s) [Pipeline] echo 04:22:17 [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 04:22:32 Still waiting to schedule task 04:22:32 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2731’ 04:22:32 Still waiting to schedule task 04:22:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:24:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2732 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 04:24:29 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 04:24:35 using credential edgex-jenkins-ssh 04:24:35 Cloning the remote Git repository 04:24:35 Cloning with configured refspecs honoured and without tags 04:24:35 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:24:35 > git init /w/workspace/device-modbus-go/4 # timeout=10 04:24:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:24:35 > git --version # timeout=10 04:24:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:36 Fetching without tags 04:24:37 Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (master) 04:24:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:24:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:24:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:24:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:37 > git config core.sparsecheckout # timeout=10 04:24:37 > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 04:24:42 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 04:24:43 ========================================================= 04:24:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:24:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:24:44 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 04:24:45 Sending build context to Docker daemon 545.8kB 04:24:45 Step 1/8 : ARG BASE=golang:1.13-alpine 04:24:45 Step 2/8 : FROM ${BASE} 04:24:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:24:45 cde5963f3b93: Pulling fs layer 04:24:45 2a23fa8c16f7: Pulling fs layer 04:24:45 777b28850792: Pulling fs layer 04:24:45 8a11ddd9e578: Pulling fs layer 04:24:45 4cf88f913ddb: Pulling fs layer 04:24:45 1df406cf5192: Pulling fs layer 04:24:45 cd6300453558: Pulling fs layer 04:24:45 b9c365052c96: Pulling fs layer 04:24:45 a2d8cc88f415: Pulling fs layer 04:24:45 ea1d1ca13537: Pulling fs layer 04:24:45 3750a50a1c5e: Pulling fs layer 04:24:45 8a11ddd9e578: Waiting 04:24:45 4cf88f913ddb: Waiting 04:24:45 1df406cf5192: Waiting 04:24:45 cd6300453558: Waiting 04:24:45 b9c365052c96: Waiting 04:24:45 a2d8cc88f415: Waiting 04:24:45 ea1d1ca13537: Waiting 04:24:45 3750a50a1c5e: Waiting 04:24:45 777b28850792: Download complete 04:24:45 2a23fa8c16f7: Verifying Checksum 04:24:45 2a23fa8c16f7: Download complete 04:24:45 4cf88f913ddb: Verifying Checksum 04:24:45 4cf88f913ddb: Download complete 04:24:46 cde5963f3b93: Verifying Checksum 04:24:46 cde5963f3b93: Download complete 04:24:46 1df406cf5192: Verifying Checksum 04:24:46 1df406cf5192: Download complete 04:24:47 cde5963f3b93: Pull complete 04:24:47 2a23fa8c16f7: Pull complete 04:24:47 777b28850792: Pull complete 04:24:50 cd6300453558: Download complete 04:24:50 a2d8cc88f415: Verifying Checksum 04:24:50 a2d8cc88f415: Download complete 04:24:53 ea1d1ca13537: Verifying Checksum 04:24:53 ea1d1ca13537: Download complete 04:24:53 3750a50a1c5e: Verifying Checksum 04:24:53 3750a50a1c5e: Download complete 04:24:53 Running on prd-centos7-docker-4c-2g-2733 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 04:24:53 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 04:24:55 b9c365052c96: Verifying Checksum 04:24:55 b9c365052c96: Download complete 04:24:56 using credential edgex-jenkins-ssh 04:24:56 Cloning the remote Git repository 04:24:56 Cloning with configured refspecs honoured and without tags 04:24:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:24:56 Fetching without tags 04:24:57 8a11ddd9e578: Verifying Checksum 04:24:57 8a11ddd9e578: Download complete 04:24:55 > git init /w/workspace/device-modbus-go/4 # timeout=10 04:24:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:24:55 > git --version # timeout=10 04:24:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:24:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:24:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:57 Checking out Revision 251ac84f7228ae0fb6e27216846c283c9f5cee26 (master) 04:24:56 > git config core.sparsecheckout # timeout=10 04:24:56 > git checkout -f 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 04:25:00 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 04:25:01 ========================================================= 04:25:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:25:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:25:02 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 04:25:02 Sending build context to Docker daemon 545.8kB 04:25:02 Step 1/8 : ARG BASE=golang:1.13-alpine 04:25:02 Step 2/8 : FROM ${BASE} 04:25:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:25:02 e6b0cf9c0882: Pulling fs layer 04:25:02 2848faf0eed1: Pulling fs layer 04:25:02 0f37312ad70f: Pulling fs layer 04:25:02 5788d62ee057: Pulling fs layer 04:25:02 0e6b1d234666: Pulling fs layer 04:25:02 bf5d7aec512f: Pulling fs layer 04:25:02 34c802a77dc8: Pulling fs layer 04:25:02 9eb99e56ec68: Pulling fs layer 04:25:02 27c7a5d97fbd: Pulling fs layer 04:25:02 5c102a31e300: Pulling fs layer 04:25:02 dcfb455df0a1: Pulling fs layer 04:25:02 34c802a77dc8: Waiting 04:25:02 27c7a5d97fbd: Waiting 04:25:02 9eb99e56ec68: Waiting 04:25:02 5c102a31e300: Waiting 04:25:02 dcfb455df0a1: Waiting 04:25:02 5788d62ee057: Waiting 04:25:02 0e6b1d234666: Waiting 04:25:02 bf5d7aec512f: Waiting 04:25:02 0f37312ad70f: Verifying Checksum 04:25:02 0f37312ad70f: Download complete 04:25:02 2848faf0eed1: Verifying Checksum 04:25:02 2848faf0eed1: Download complete 04:25:02 0e6b1d234666: Verifying Checksum 04:25:02 0e6b1d234666: Download complete 04:25:02 bf5d7aec512f: Verifying Checksum 04:25:02 bf5d7aec512f: Download complete 04:25:02 e6b0cf9c0882: Verifying Checksum 04:25:02 e6b0cf9c0882: Pull complete 04:25:03 2848faf0eed1: Pull complete 04:25:03 0f37312ad70f: Pull complete 04:25:04 34c802a77dc8: Download complete 04:25:04 27c7a5d97fbd: Verifying Checksum 04:25:04 27c7a5d97fbd: Download complete 04:25:04 5788d62ee057: Verifying Checksum 04:25:04 5788d62ee057: Download complete 04:25:04 9eb99e56ec68: Verifying Checksum 04:25:04 9eb99e56ec68: Download complete 04:25:04 dcfb455df0a1: Verifying Checksum 04:25:04 dcfb455df0a1: Download complete 04:25:04 5c102a31e300: Download complete 04:25:09 8a11ddd9e578: Pull complete 04:25:09 4cf88f913ddb: Pull complete 04:25:09 1df406cf5192: Pull complete 04:25:10 5788d62ee057: Pull complete 04:25:10 0e6b1d234666: Pull complete 04:25:10 bf5d7aec512f: Pull complete 04:25:13 cd6300453558: Pull complete 04:25:14 34c802a77dc8: Pull complete 04:25:19 9eb99e56ec68: Pull complete 04:25:19 27c7a5d97fbd: Pull complete 04:25:19 b9c365052c96: Pull complete 04:25:19 a2d8cc88f415: Pull complete 04:25:19 5c102a31e300: Pull complete 04:25:19 dcfb455df0a1: Pull complete 04:25:19 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 04:25:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:25:19 ---> 7c70fe431013 04:25:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:25:19 ---> Running in e2efdf4d4c63 04:25:20 Removing intermediate container e2efdf4d4c63 04:25:20 ---> bb9e8ecbcd3f 04:25:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:20 ---> Running in 007f548a6063 04:25:21 Removing intermediate container 007f548a6063 04:25:21 ---> 45d5028ed4e4 04:25:21 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:25:21 ---> Running in b5c61f1df12d 04:25:21 ea1d1ca13537: Pull complete 04:25:21 3750a50a1c5e: Pull complete 04:25:21 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 04:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:25:21 ---> 78745c68409d 04:25:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:25:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:25:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:25:22 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 04:25:22 (2/17) Installing libmagic (5.37-r1) 04:25:22 (3/17) Installing file (5.37-r1) 04:25:23 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 04:25:23 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 04:25:23 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 04:25:25 ---> Running in 5e921261dc2b 04:25:25 Removing intermediate container 5e921261dc2b 04:25:25 ---> 93cc866abd70 04:25:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:25 ---> Running in e682717e0b80 04:25:28 Removing intermediate container e682717e0b80 04:25:28 ---> 9753965399dc 04:25:28 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:25:28 ---> Running in fa157517d686 04:25:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:25:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:25:30 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 04:25:31 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 04:25:31 (3/18) Installing libmagic (5.37-r1) 04:25:32 (4/18) Installing file (5.37-r1) 04:25:32 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 04:25:32 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 04:25:32 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 04:25:37 (7/17) Installing libc-dev (0.7.2-r0) 04:25:37 (8/17) Installing g++ (9.2.0-r4) 04:25:47 (9/17) Installing fortify-headers (1.1-r0) 04:25:47 (10/17) Installing build-base (0.5-r1) 04:25:47 (11/17) Installing openssh-keygen (8.1_p1-r0) 04:25:47 (12/17) Installing libedit (20191211.3.1-r0) 04:25:47 (13/17) Installing openssh-client (8.1_p1-r0) 04:25:47 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 04:25:47 (15/17) Installing openssh-server-common (8.1_p1-r0) 04:25:47 (16/17) Installing openssh-server (8.1_p1-r0) 04:25:48 (17/17) Installing openssh (8.1_p1-r0) 04:25:48 Executing busybox-1.31.1-r8.trigger 04:25:48 OK: 214 MiB in 52 packages 04:25:52 Removing intermediate container b5c61f1df12d 04:25:52 ---> c7e48bb2b12d 04:25:52 Step 6/8 : WORKDIR /device-modbus-go 04:25:52 ---> Running in 2a30422d3803 04:25:52 Removing intermediate container 2a30422d3803 04:25:52 ---> 36673a96a73e 04:25:52 Step 7/8 : COPY . . 04:25:52 ---> 01062731d0b7 04:25:52 Step 8/8 : RUN go mod download 04:25:52 ---> Running in 10b28a8e57b1 04:25:54 (8/18) Installing libc-dev (0.7.2-r0) 04:25:54 (9/18) Installing g++ (9.2.0-r4) 04:25:56 go: finding github.com/BurntSushi/toml v0.3.1 04:25:56 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:25:56 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:25:56 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:25:56 go: finding github.com/bgentry/speakeasy v0.1.0 04:25:56 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 04:25:56 go: finding github.com/davecgh/go-spew v1.1.1 04:25:56 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 04:25:56 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 04:25:56 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 04:25:56 go: finding github.com/fatih/color v1.7.0 04:25:56 go: finding github.com/go-kit/kit v0.8.0 04:25:56 go: finding github.com/go-logfmt/logfmt v0.4.0 04:25:56 go: finding github.com/go-stack/stack v1.8.0 04:25:56 go: finding github.com/goburrow/modbus v0.1.0 04:25:56 go: finding github.com/goburrow/serial v0.1.0 04:25:56 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:25:56 go: finding github.com/google/uuid v1.1.1 04:25:56 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 04:25:56 go: finding github.com/gorilla/mux v1.7.0 04:25:56 go: finding github.com/hashicorp/consul v1.4.2 04:25:56 go: finding github.com/hashicorp/errwrap v1.0.0 04:25:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 04:25:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:25:56 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:25:56 go: finding github.com/hashicorp/go-multierror v1.0.0 04:25:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:25:56 go: finding github.com/hashicorp/go-sockaddr v1.0.1 04:25:56 go: finding github.com/hashicorp/go-syslog v1.0.0 04:25:56 go: finding github.com/hashicorp/go-uuid v1.0.1 04:25:57 go: finding github.com/hashicorp/go.net v0.0.1 04:25:57 go: finding github.com/hashicorp/golang-lru v0.5.1 04:25:57 go: finding github.com/hashicorp/logutils v1.0.0 04:25:57 go: finding github.com/hashicorp/mdns v1.0.0 04:25:57 go: finding github.com/hashicorp/memberlist v0.1.3 04:25:57 go: finding github.com/hashicorp/serf v0.8.2 04:25:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:25:57 go: finding github.com/mattn/go-colorable v0.0.9 04:25:57 go: finding github.com/mattn/go-isatty v0.0.3 04:25:57 go: finding github.com/miekg/dns v1.1.4 04:25:57 go: finding github.com/mitchellh/cli v1.0.0 04:25:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:25:57 go: finding github.com/mitchellh/copystructure v1.0.0 04:25:57 go: finding github.com/mitchellh/go-homedir v1.1.0 04:25:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:25:57 go: finding github.com/mitchellh/go-wordwrap v1.0.0 04:25:57 go: finding github.com/mitchellh/gox v0.4.0 04:25:57 go: finding github.com/mitchellh/iochan v1.0.0 04:25:57 go: finding github.com/mitchellh/mapstructure v1.1.2 04:25:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:25:57 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:25:57 go: finding github.com/pelletier/go-toml v1.2.0 04:25:58 go: finding github.com/pkg/errors v0.8.1 04:25:58 go: finding github.com/pmezard/go-difflib v1.0.0 04:25:58 go: finding github.com/posener/complete v1.1.1 04:25:58 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 04:25:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:25:58 go: finding github.com/stretchr/objx v0.1.0 04:25:58 go: finding github.com/stretchr/testify v1.3.0 04:25:58 go: finding github.com/ugorji/go v1.1.4 04:25:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:25:58 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 04:25:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:25:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:25:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:25:58 go: finding gopkg.in/yaml.v2 v2.2.2 04:26:07 (10/18) Installing fortify-headers (1.1-r0) 04:26:07 (11/18) Installing build-base (0.5-r1) 04:26:07 (12/18) Installing openssh-keygen (8.1_p1-r0) 04:26:07 (13/18) Installing libedit (20191211.3.1-r0) 04:26:07 (14/18) Installing openssh-client (8.1_p1-r0) 04:26:08 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 04:26:08 (16/18) Installing openssh-server-common (8.1_p1-r0) 04:26:08 (17/18) Installing openssh-server (8.1_p1-r0) 04:26:08 (18/18) Installing openssh (8.1_p1-r0) 04:26:08 Executing busybox-1.31.1-r8.trigger 04:26:08 OK: 203 MiB in 52 packages 04:26:10 Removing intermediate container 10b28a8e57b1 04:26:10 ---> 5c8b1ee6154b 04:26:10 Successfully built 5c8b1ee6154b 04:26:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:11 + docker inspect -f . ci-base-image-x86_64 04:26:11 . [Pipeline] withDockerContainer 04:26:11 prd-centos7-docker-4c-2g-2733 does not seem to be running inside a container 04:26:11 $ 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 04:26:11 $ docker top 666f81d210e28e7896ab03fea77689d0519d9f697cf061dec7b1c7b50e1b3e20 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:12 + go version 04:26:12 go version go1.13.5 linux/amd64 [Pipeline] sh 04:26:12 + make test 04:26:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:26:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:26:15 Removing intermediate container fa157517d686 04:26:15 ---> ccb3e3403d81 04:26:15 Step 6/8 : WORKDIR /device-modbus-go 04:26:15 ---> Running in d3348e259768 04:26:15 Removing intermediate container d3348e259768 04:26:15 ---> 1a1ed28a8714 04:26:15 Step 7/8 : COPY . . 04:26:16 ---> cf5e269cf7e1 04:26:16 Step 8/8 : RUN go mod download 04:26:16 ---> Running in 5eb82d11e64c 04:26:18 go: finding github.com/BurntSushi/toml v0.3.1 04:26:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:26:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:26:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:26:18 go: finding github.com/bgentry/speakeasy v0.1.0 04:26:18 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 04:26:18 go: finding github.com/davecgh/go-spew v1.1.1 04:26:18 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 04:26:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 04:26:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 04:26:18 go: finding github.com/fatih/color v1.7.0 04:26:18 go: finding github.com/go-kit/kit v0.8.0 04:26:18 go: finding github.com/go-logfmt/logfmt v0.4.0 04:26:18 go: finding github.com/go-stack/stack v1.8.0 04:26:18 go: finding github.com/goburrow/modbus v0.1.0 04:26:18 go: finding github.com/goburrow/serial v0.1.0 04:26:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:26:18 go: finding github.com/google/uuid v1.1.1 04:26:18 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 04:26:18 go: finding github.com/gorilla/mux v1.7.0 04:26:18 go: finding github.com/hashicorp/consul v1.4.2 04:26:18 go: finding github.com/hashicorp/errwrap v1.0.0 04:26:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 04:26:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:26:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:26:18 go: finding github.com/hashicorp/go-multierror v1.0.0 04:26:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:26:18 go: finding github.com/hashicorp/go-sockaddr v1.0.1 04:26:18 go: finding github.com/hashicorp/go-syslog v1.0.0 04:26:18 go: finding github.com/hashicorp/go-uuid v1.0.1 04:26:18 go: finding github.com/hashicorp/go.net v0.0.1 04:26:18 go: finding github.com/hashicorp/golang-lru v0.5.1 04:26:18 go: finding github.com/hashicorp/logutils v1.0.0 04:26:18 go: finding github.com/hashicorp/mdns v1.0.0 04:26:18 go: finding github.com/hashicorp/memberlist v0.1.3 04:26:18 go: finding github.com/hashicorp/serf v0.8.2 04:26:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:26:18 go: finding github.com/mattn/go-colorable v0.0.9 04:26:19 go: finding github.com/mattn/go-isatty v0.0.3 04:26:19 go: finding github.com/miekg/dns v1.1.4 04:26:19 go: finding github.com/mitchellh/cli v1.0.0 04:26:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:26:19 go: finding github.com/mitchellh/copystructure v1.0.0 04:26:19 go: finding github.com/mitchellh/go-homedir v1.1.0 04:26:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:26:19 go: finding github.com/mitchellh/go-wordwrap v1.0.0 04:26:19 go: finding github.com/mitchellh/gox v0.4.0 04:26:19 go: finding github.com/mitchellh/iochan v1.0.0 04:26:19 go: finding github.com/mitchellh/mapstructure v1.1.2 04:26:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:26:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:26:19 go: finding github.com/pelletier/go-toml v1.2.0 04:26:19 go: finding github.com/pkg/errors v0.8.1 04:26:19 go: finding github.com/pmezard/go-difflib v1.0.0 04:26:19 go: finding github.com/posener/complete v1.1.1 04:26:19 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 04:26:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:26:19 go: finding github.com/stretchr/objx v0.1.0 04:26:19 go: finding github.com/stretchr/testify v1.3.0 04:26:19 go: finding github.com/ugorji/go v1.1.4 04:26:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:26:19 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 04:26:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:26:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:26:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:26:19 go: finding gopkg.in/yaml.v2 v2.2.2 04:26:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:26:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.225s coverage: 50.3% of statements 04:26:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:26:30 gofmt -l . 04:26:30 [ "`gofmt -l .`" = "" ] 04:26:30 ./bin/test-attribution-txt.sh 04:26:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:26:31 Stashed 1 file(s) [Pipeline] } 04:26:31 $ docker stop --time=1 666f81d210e28e7896ab03fea77689d0519d9f697cf061dec7b1c7b50e1b3e20 04:26:33 $ docker rm -f 666f81d210e28e7896ab03fea77689d0519d9f697cf061dec7b1c7b50e1b3e20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:34 + ls -al . 04:26:34 total 100 04:26:34 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 8 04:26 . 04:26:34 drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 04:24 .. 04:26:34 -rw-rw-r--. 1 jenkins jenkins 4208 Apr 8 04:24 Attribution.txt 04:26:34 drwxrwxr-x. 2 jenkins jenkins 87 Apr 8 04:24 bin 04:26:34 drwxrwxr-x. 3 jenkins jenkins 55 Apr 8 04:24 cmd 04:26:34 -rw-r--r--. 1 jenkins jenkins 22122 Apr 8 04:26 coverage.out 04:26:34 -rw-rw-r--. 1 jenkins jenkins 1263 Apr 8 04:24 Dockerfile 04:26:34 -rw-rw-r--. 1 jenkins jenkins 954 Apr 8 04:24 Dockerfile.build 04:26:34 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 04:24 .dockerignore 04:26:34 drwxrwxr-x. 8 jenkins jenkins 162 Apr 8 04:25 .git 04:26:34 -rw-rw-r--. 1 jenkins jenkins 338 Apr 8 04:24 .gitignore 04:26:34 -rw-r--r--. 1 jenkins jenkins 630 Apr 8 04:26 go.mod 04:26:34 -rw-r--r--. 1 jenkins jenkins 12117 Apr 8 04:26 go.sum 04:26:34 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 04:24 internal 04:26:34 -rw-rw-r--. 1 jenkins jenkins 681 Apr 8 04:24 Jenkinsfile 04:26:34 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 8 04:24 LICENSE 04:26:34 -rw-rw-r--. 1 jenkins jenkins 880 Apr 8 04:24 Makefile 04:26:34 -rw-rw-r--. 1 jenkins jenkins 591 Apr 8 04:24 README.md 04:26:34 drwxrwxr-x. 3 jenkins jenkins 44 Apr 8 04:25 .semver 04:26:34 drwxrwxr-x. 2 jenkins jenkins 35 Apr 8 04:24 simulator 04:26:34 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 04:24 snap 04:26:34 -rw-rw-r--. 1 jenkins jenkins 11 Apr 8 04:22 VERSION 04:26:34 -rw-rw-r--. 1 jenkins jenkins 229 Apr 8 04:24 version.go [Pipeline] isUnix [Pipeline] sh 04:26:35 + 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 . 04:26:35 Sending build context to Docker daemon 574.5kB 04:26:35 Step 1/17 : ARG BASE=golang:1.13-alpine 04:26:35 Step 2/17 : FROM ${BASE} AS builder 04:26:35 ---> 5c8b1ee6154b 04:26:35 Step 3/17 : ARG MAKE='make build' 04:26:35 ---> Running in 46fba71aa6a9 04:26:35 Removing intermediate container 46fba71aa6a9 04:26:35 ---> a1004695d072 04:26:35 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:35 ---> Running in f41a9b4489c6 04:26:36 Removing intermediate container f41a9b4489c6 04:26:36 ---> b2f1f19f845e 04:26:36 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 04:26:36 ---> Running in be819f2c5c5f 04:26:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:26:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:26:37 Removing intermediate container 5eb82d11e64c 04:26:37 ---> 8e5bf1e1f855 04:26:37 Successfully built 8e5bf1e1f855 04:26:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:38 + docker inspect -f . ci-base-image-arm64 04:26:38 OK: 214 MiB in 52 packages 04:26:38 . [Pipeline] withDockerContainer 04:26:38 Removing intermediate container be819f2c5c5f 04:26:38 ---> 4c08e946e9da 04:26:38 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 04:26:38 ---> Running in c5ac1e369f22 04:26:38 prd-ubuntu18.04-docker-arm64-4c-16g-2732 does not seem to be running inside a container 04:26:38 Removing intermediate container c5ac1e369f22 04:26:38 ---> f50b54c6c311 04:26:38 Step 7/17 : COPY . . 04:26:39 $ 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 04:26:39 ---> defce2f33ebe 04:26:39 Step 8/17 : RUN ${MAKE} 04:26:39 ---> Running in d9ae3da5ca4a 04:26:39 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 04:26:40 $ docker top fe885e8f2d95b40ab4d9294d295a534e587c14f33e2d3d165de616971a12626c -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:41 + go version 04:26:41 go version go1.13.5 linux/arm64 [Pipeline] sh 04:26:42 + make test 04:26:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:26:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:26:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:26:54 Removing intermediate container d9ae3da5ca4a 04:26:54 ---> d636f28fde25 04:26:54 Step 9/17 : FROM scratch 04:26:54 ---> 04:26:54 Step 10/17 : ENV APP_PORT=49991 04:26:54 ---> Running in 7de05b9cfc2b 04:26:54 Removing intermediate container 7de05b9cfc2b 04:26:54 ---> 3f9f80dfe7c3 04:26:54 Step 11/17 : EXPOSE $APP_PORT 04:26:54 ---> Running in fb29687e06b7 04:26:54 Removing intermediate container fb29687e06b7 04:26:54 ---> fcafe7510dca 04:26:54 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 04:26:54 ---> 19456db8c10d 04:26:54 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 04:26:54 ---> Running in 9d966e97643b 04:26:55 Removing intermediate container 9d966e97643b 04:26:55 ---> 469bc15322cd 04:26:55 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 04:26:55 ---> Running in 3466074910cd 04:26:55 Removing intermediate container 3466074910cd 04:26:55 ---> 35e406baa946 04:26:55 Step 15/17 : LABEL arch=amd64 04:26:55 ---> Running in 38d744c610a5 04:26:55 Removing intermediate container 38d744c610a5 04:26:55 ---> d62fa4c85204 04:26:55 Step 16/17 : LABEL git_sha=251ac84f7228ae0fb6e27216846c283c9f5cee26 04:26:55 ---> Running in 3e863729953b 04:26:55 Removing intermediate container 3e863729953b 04:26:55 ---> 0a71473edd94 04:26:55 Step 17/17 : LABEL version=1.2.0-dev.4 04:26:55 ---> Running in 0bb307697504 04:26:55 Removing intermediate container 0bb307697504 04:26:55 ---> 15b5f7613e18 04:26:55 [Warning] One or more build-args [ARCH] were not consumed 04:26:55 Successfully built 15b5f7613e18 04:26:55 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 04:26:55 provisioning config files... 04:26:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config1840813102917714057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:56 nexus3.edgexfoundry.org:10001 04:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:56 Configure a credential helper to remove this warning. See 04:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:56 04:26:56 Login Succeeded 04:26:56 nexus3.edgexfoundry.org:10002 04:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:56 Configure a credential helper to remove this warning. See 04:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:56 04:26:56 Login Succeeded 04:26:56 nexus3.edgexfoundry.org:10003 04:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:56 Configure a credential helper to remove this warning. See 04:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:56 04:26:56 Login Succeeded 04:26:56 nexus3.edgexfoundry.org:10004 04:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:57 Configure a credential helper to remove this warning. See 04:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:57 04:26:57 Login Succeeded 04:26:57 docker.io 04:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:57 Configure a credential helper to remove this warning. See 04:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:57 04:26:57 Login Succeeded [Pipeline] } 04:26:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:26:57 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 04:26:57 251ac84f7228ae0fb6e27216846c283c9f5cee26 04:26:57 latest 04:26:57 1.2.0-dev.4 04:26:57 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 04:26:57 master 04:26:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:58 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] isUnix [Pipeline] sh 04:26:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 04:26:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 04:26:58 0e4b8212df81: Preparing 04:26:59 0e4b8212df81: Pushed 04:27:00 251ac84f7228ae0fb6e27216846c283c9f5cee26: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh 04:27:00 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 04:27:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 04:27:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 04:27:00 0e4b8212df81: Preparing 04:27:00 0e4b8212df81: Layer already exists 04:27:00 latest: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh 04:27:01 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 04:27:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.0-dev.4 04:27:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 04:27:01 0e4b8212df81: Preparing 04:27:01 0e4b8212df81: Layer already exists 04:27:01 1.2.0-dev.4: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh 04:27:01 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 04:27:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 04:27:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 04:27:01 0e4b8212df81: Preparing 04:27:01 0e4b8212df81: Layer already exists 04:27:01 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4: digest: sha256:a517cf143801d6c99ea411281f9fc33c1e4635dfd35d306d4ffeb122fedce5f3 size: 528 [Pipeline] isUnix [Pipeline] sh 04:27:02 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 04:27:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 04:27:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 04:27:02 0e4b8212df81: Preparing 04:27:02 0e4b8212df81: Layer already exists 04:27:02 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] } 04:27:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:27:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.228s coverage: 50.3% of statements 04:27:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:27:31 gofmt -l . 04:27:31 [ "`gofmt -l .`" = "" ] 04:27:31 ./bin/test-attribution-txt.sh 04:27:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:27:32 Warning: overwriting stash ‘coverage-report’ 04:27:33 Stashed 1 file(s) [Pipeline] } 04:27:33 $ docker stop --time=1 fe885e8f2d95b40ab4d9294d295a534e587c14f33e2d3d165de616971a12626c 04:27:35 $ docker rm -f fe885e8f2d95b40ab4d9294d295a534e587c14f33e2d3d165de616971a12626c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:37 + ls -al . 04:27:37 total 132 04:27:37 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 04:27 . 04:27:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 04:24 .. 04:27:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 04:24 .dockerignore 04:27:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 04:24 .git 04:27:37 -rw-rw-r-- 1 jenkins jenkins 338 Apr 8 04:24 .gitignore 04:27:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 04:24 .semver 04:27:37 -rw-rw-r-- 1 jenkins jenkins 4208 Apr 8 04:24 Attribution.txt 04:27:37 -rw-rw-r-- 1 jenkins jenkins 1263 Apr 8 04:24 Dockerfile 04:27:37 -rw-rw-r-- 1 jenkins jenkins 954 Apr 8 04:24 Dockerfile.build 04:27:37 -rw-rw-r-- 1 jenkins jenkins 681 Apr 8 04:24 Jenkinsfile 04:27:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 04:24 LICENSE 04:27:37 -rw-rw-r-- 1 jenkins jenkins 880 Apr 8 04:24 Makefile 04:27:37 -rw-rw-r-- 1 jenkins jenkins 591 Apr 8 04:24 README.md 04:27:37 -rw-rw-r-- 1 jenkins jenkins 11 Apr 8 04:22 VERSION 04:27:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 04:24 bin 04:27:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 04:24 cmd 04:27:37 -rw-r--r-- 1 jenkins jenkins 22122 Apr 8 04:27 coverage.out 04:27:37 -rw-r--r-- 1 jenkins jenkins 630 Apr 8 04:27 go.mod 04:27:37 -rw-r--r-- 1 jenkins jenkins 12117 Apr 8 04:27 go.sum 04:27:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 04:24 internal 04:27:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 04:24 simulator 04:27:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 04:24 snap 04:27:37 -rw-rw-r-- 1 jenkins jenkins 229 Apr 8 04:24 version.go [Pipeline] isUnix [Pipeline] sh 04:27:37 + 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 . 04:27:38 Sending build context to Docker daemon 574.5kB 04:27:38 Step 1/17 : ARG BASE=golang:1.13-alpine 04:27:38 Step 2/17 : FROM ${BASE} AS builder 04:27:38 ---> 8e5bf1e1f855 04:27:38 Step 3/17 : ARG MAKE='make build' 04:27:38 ---> Running in 8a271b0d4713 04:27:38 Removing intermediate container 8a271b0d4713 04:27:38 ---> 6b72c87bc89e 04:27:38 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:38 ---> Running in abe6ab2fbfcd 04:27:40 Removing intermediate container abe6ab2fbfcd 04:27:40 ---> 58f5788fbf79 04:27:40 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 04:27:40 ---> Running in fbdfae79bdbf 04:27:41 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:27:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:27:43 OK: 203 MiB in 52 packages 04:27:44 Removing intermediate container fbdfae79bdbf 04:27:44 ---> 739525c3ef36 04:27:44 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 04:27:44 ---> Running in 88c576d52497 04:27:44 Removing intermediate container 88c576d52497 04:27:44 ---> 07dc75349d56 04:27:44 Step 7/17 : COPY . . 04:27:45 ---> 9bb7b361e27a 04:27:45 Step 8/17 : RUN ${MAKE} 04:27:45 ---> Running in ab2ecb5c9551 04:27:46 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 04:28:33 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:28:37 Removing intermediate container ab2ecb5c9551 04:28:37 ---> 85d8d4586fa0 04:28:37 Step 9/17 : FROM scratch 04:28:37 ---> 04:28:37 Step 10/17 : ENV APP_PORT=49991 04:28:37 ---> Running in d1169e316094 04:28:37 Removing intermediate container d1169e316094 04:28:37 ---> a2b131027535 04:28:37 Step 11/17 : EXPOSE $APP_PORT 04:28:37 ---> Running in cb23499f0cc3 04:28:37 Removing intermediate container cb23499f0cc3 04:28:37 ---> ebfc85b61c41 04:28:37 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 04:28:39 ---> 55fdaa8d81c4 04:28:39 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 04:28:39 ---> Running in d67b1248571d 04:28:39 Removing intermediate container d67b1248571d 04:28:39 ---> 94e6dccabd1f 04:28:39 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 04:28:39 ---> Running in 319506bcbd51 04:28:40 Removing intermediate container 319506bcbd51 04:28:40 ---> b5b28505a887 04:28:40 Step 15/17 : LABEL arch=arm64 04:28:40 ---> Running in 2b5912a3fd6f 04:28:40 Removing intermediate container 2b5912a3fd6f 04:28:40 ---> 7612b7f0d52c 04:28:40 Step 16/17 : LABEL git_sha=251ac84f7228ae0fb6e27216846c283c9f5cee26 04:28:40 ---> Running in 84a6861a0566 04:28:40 Removing intermediate container 84a6861a0566 04:28:40 ---> 707836e53ebf 04:28:40 Step 17/17 : LABEL version=1.2.0-dev.4 04:28:41 ---> Running in fcc9a1b383e9 04:28:41 Removing intermediate container fcc9a1b383e9 04:28:41 ---> b8cc2f0d62f9 04:28:41 [Warning] One or more build-args [ARCH] were not consumed 04:28:41 Successfully built b8cc2f0d62f9 04:28:41 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 04:28:42 provisioning config files... 04:28:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config8353135092101270169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:42 nexus3.edgexfoundry.org:10001 04:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:43 Configure a credential helper to remove this warning. See 04:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:43 04:28:43 Login Succeeded 04:28:43 nexus3.edgexfoundry.org:10002 04:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:44 Configure a credential helper to remove this warning. See 04:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:44 04:28:44 Login Succeeded 04:28:44 nexus3.edgexfoundry.org:10003 04:28:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:45 Configure a credential helper to remove this warning. See 04:28:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:45 04:28:45 Login Succeeded 04:28:45 nexus3.edgexfoundry.org:10004 04:28:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:46 Configure a credential helper to remove this warning. See 04:28:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:46 04:28:46 Login Succeeded 04:28:46 docker.io 04:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:47 Configure a credential helper to remove this warning. See 04:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:47 04:28:47 Login Succeeded [Pipeline] } 04:28:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:47 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 04:28:47 251ac84f7228ae0fb6e27216846c283c9f5cee26 04:28:47 latest 04:28:47 1.2.0-dev.4 04:28:47 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 04:28:47 master 04:28:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:28:48 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] isUnix [Pipeline] sh 04:28:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 04:28:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 04:28:48 eaea182435b7: Preparing 04:28:53 eaea182435b7: Pushed 04:28:53 251ac84f7228ae0fb6e27216846c283c9f5cee26: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh 04:28:53 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:28:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 04:28:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 04:28:54 eaea182435b7: Preparing 04:28:54 eaea182435b7: Layer already exists 04:28:54 latest: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh 04:28:54 + 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 04:28:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.0-dev.4 04:28:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 04:28:55 eaea182435b7: Preparing 04:28:55 eaea182435b7: Layer already exists 04:28:55 1.2.0-dev.4: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh 04:28:56 + 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 04:28:56 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4 04:28:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 04:28:57 eaea182435b7: Preparing 04:28:57 eaea182435b7: Layer already exists 04:28:57 251ac84f7228ae0fb6e27216846c283c9f5cee26-1.2.0-dev.4: digest: sha256:a852923b998ab48a0542143b643c97bd071366309f937a24ad21e09501c67b8e size: 528 [Pipeline] isUnix [Pipeline] sh 04:28:57 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 04:28:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 04:28:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 04:28:58 eaea182435b7: Preparing 04:28:58 eaea182435b7: Layer already exists 04:28:58 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 04:28:59 provisioning config files... 04:28:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7705255228406110455tmp [Pipeline] { [Pipeline] sh 04:28:59 + curl -s https://codecov.io/bash 04:28:59 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_master@tmp/config7705255228406110455tmp 04:28:59 04:28:59 _____ _ 04:28:59 / ____| | | 04:28:59 | | ___ __| | ___ ___ _____ __ 04:28:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:59 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:59 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:59 Bash-tbd 04:28:59 04:28:59 04:28:59 ==> Jenkins CI detected. 04:28:59 project root: . 04:28:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:59 ==> Running gcov in . (disable via -X gcov) 04:28:59 ==> Python coveragepy not found 04:28:59 ==> Searching for coverage reports in: 04:28:59 + . 04:28:59 -> Found 1 reports 04:28:59 ==> Detecting git/mercurial file structure 04:28:59 ==> Reading reports 04:28:59 + ./coverage.out bytes=22122 04:28:59 ==> Appending adjustments 04:28:59 http://docs.codecov.io/docs/fixing-reports 04:29:00 + Found adjustments 04:29:00 ==> Gzipping contents 04:29:00 ==> Uploading reports 04:29:00 url: https://codecov.io 04:29:00 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= 04:29:00 -> Pinging Codecov 04:29:00 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= 04:29:00 -> Uploading 04:29:01 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/251ac84f7228ae0fb6e27216846c283c9f5cee26 [Pipeline] } 04:29:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 04:29:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 04:29:01 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 04:29:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:29:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 04:29:01 04:29:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 04:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 04:29:02 1.217.3: Pulling from edgex-devops/edgex-snyk-go 04:29:02 e6b0cf9c0882: Pulling fs layer 04:29:02 2848faf0eed1: Pulling fs layer 04:29:02 0f37312ad70f: Pulling fs layer 04:29:02 7d08f2745646: Pulling fs layer 04:29:02 4c9f31393084: Pulling fs layer 04:29:02 eb21ddb83652: Pulling fs layer 04:29:02 345998794f6b: Pulling fs layer 04:29:02 97a711d68925: Pulling fs layer 04:29:02 7c8476c1cb00: Pulling fs layer 04:29:02 7d08f2745646: Waiting 04:29:02 4c9f31393084: Waiting 04:29:02 eb21ddb83652: Waiting 04:29:02 345998794f6b: Waiting 04:29:02 97a711d68925: Waiting 04:29:02 7c8476c1cb00: Waiting 04:29:02 0f37312ad70f: Download complete 04:29:02 2848faf0eed1: Verifying Checksum 04:29:02 2848faf0eed1: Download complete 04:29:02 4c9f31393084: Verifying Checksum 04:29:02 4c9f31393084: Download complete 04:29:02 eb21ddb83652: Verifying Checksum 04:29:02 eb21ddb83652: Download complete 04:29:02 e6b0cf9c0882: Verifying Checksum 04:29:02 e6b0cf9c0882: Download complete 04:29:02 e6b0cf9c0882: Pull complete 04:29:02 2848faf0eed1: Pull complete 04:29:03 0f37312ad70f: Pull complete 04:29:03 345998794f6b: Verifying Checksum 04:29:03 345998794f6b: Download complete 04:29:03 7c8476c1cb00: Verifying Checksum 04:29:03 7c8476c1cb00: Download complete 04:29:03 97a711d68925: Verifying Checksum 04:29:03 97a711d68925: Download complete 04:29:04 7d08f2745646: Verifying Checksum 04:29:04 7d08f2745646: Download complete 04:29:09 7d08f2745646: Pull complete 04:29:09 4c9f31393084: Pull complete 04:29:09 eb21ddb83652: Pull complete 04:29:10 345998794f6b: Pull complete 04:29:15 97a711d68925: Pull complete 04:29:15 7c8476c1cb00: Pull complete 04:29:15 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 04:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 04:29:15 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:29:15 $ 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 04:29:16 $ docker top 4dbd3e98fc4970680ccec5532a1093437274eb0bfa8f389fac911e4c646f51ae -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:16 + snyk monitor '--org=edgex-jenkins' 04:29:26 04:29:26 Monitoring /w/workspace/xfoundry_device-modbus-go_master... 04:29:26 04:29:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/e16f45c5-b578-41a7-906f-90e94bbc1bc7 04:29:26 04:29:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:29:26 04:29:26 [Pipeline] } 04:29:26 $ docker stop --time=1 4dbd3e98fc4970680ccec5532a1093437274eb0bfa8f389fac911e4c646f51ae 04:29:28 $ docker rm -f 4dbd3e98fc4970680ccec5532a1093437274eb0bfa8f389fac911e4c646f51ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 04:29:29 04:29:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 04:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 04:29:30 latest: Pulling from edgex-devops/edgex-klar 04:29:30 e7c96db7181b: Pulling fs layer 04:29:30 1868ca2cb446: Pulling fs layer 04:29:30 136be5d0fe8e: Pulling fs layer 04:29:30 894bfe63afcb: Pulling fs layer 04:29:30 894bfe63afcb: Waiting 04:29:30 1868ca2cb446: Verifying Checksum 04:29:30 1868ca2cb446: Download complete 04:29:30 136be5d0fe8e: Verifying Checksum 04:29:30 136be5d0fe8e: Download complete 04:29:30 e7c96db7181b: Verifying Checksum 04:29:30 e7c96db7181b: Download complete 04:29:30 894bfe63afcb: Verifying Checksum 04:29:30 894bfe63afcb: Download complete 04:29:30 e7c96db7181b: Pull complete 04:29:30 1868ca2cb446: Pull complete 04:29:30 136be5d0fe8e: Pull complete 04:29:30 894bfe63afcb: Pull complete 04:29:30 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 04:29:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 04:29:30 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:29:31 $ 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 04:29:31 $ docker top 54e043b7cc3a94fd9350e80dd8c90fe9c85fe392c54baea2506780ae9db99155 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:32 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 04:29:32 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:29:34 $ docker stop --time=1 54e043b7cc3a94fd9350e80dd8c90fe9c85fe392c54baea2506780ae9db99155 04:29:35 $ docker rm -f 54e043b7cc3a94fd9350e80dd8c90fe9c85fe392c54baea2506780ae9db99155 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:29:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 04:29:35 . [Pipeline] withDockerContainer 04:29:36 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:29:36 $ 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 04:29:36 $ docker top ebc6b65362fb9944cf12299e7a9abe29bc8eb47166b51e49347bbae52d22b719 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:37 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:251ac84f7228ae0fb6e27216846c283c9f5cee26 04:29:37 + tee 04:29:37 clair timeout 1m0s 04:29:37 docker timeout: 1m0s 04:29:37 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:29:37 $ docker stop --time=1 ebc6b65362fb9944cf12299e7a9abe29bc8eb47166b51e49347bbae52d22b719 04:29:38 $ docker rm -f ebc6b65362fb9944cf12299e7a9abe29bc8eb47166b51e49347bbae52d22b719 [Pipeline] // withDockerContainer [Pipeline] sh 04:29:39 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 04:29:39 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 04:29:39 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 04:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 04:29:39 . [Pipeline] withDockerContainer 04:29:39 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:29:39 $ 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 04:29:40 $ docker top e474f8d035e5a2c4739a2f971ea2412e0353680a530c3e08f7b03dc560323cd9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:40 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 04:29:40 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:29:42 $ docker stop --time=1 e474f8d035e5a2c4739a2f971ea2412e0353680a530c3e08f7b03dc560323cd9 04:29:43 $ docker rm -f e474f8d035e5a2c4739a2f971ea2412e0353680a530c3e08f7b03dc560323cd9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 04:29:44 . [Pipeline] withDockerContainer 04:29:44 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:29:44 $ 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 04:29:45 $ docker top 57cb6fde50f80482326c6b4f5d2c8aff49a1a4ff070d9ed4af19120913322db6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:45 + tee 04:29:45 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:251ac84f7228ae0fb6e27216846c283c9f5cee26 04:29:45 clair timeout 1m0s 04:29:45 docker timeout: 1m0s 04:29:45 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:29:46 $ docker stop --time=1 57cb6fde50f80482326c6b4f5d2c8aff49a1a4ff070d9ed4af19120913322db6 04:29:47 $ docker rm -f 57cb6fde50f80482326c6b4f5d2c8aff49a1a4ff070d9ed4af19120913322db6 [Pipeline] // withDockerContainer [Pipeline] sh 04:29:48 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 04:29:48 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 04:29:48 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 04:29:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:29:48 . [Pipeline] withDockerContainer 04:29:49 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:29:49 $ 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 04:29:49 $ docker top 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:50 [ssh-agent] Looking for ssh-agent implementation... 04:29:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:50 $ docker exec 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 ssh-agent 04:29:50 SSH_AUTH_SOCK=/tmp/ssh-jJ5kId0WB9Fc/agent.14 04:29:50 SSH_AGENT_PID=21 04:29:50 Running ssh-add (command line suppressed) 04:29:50 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) 04:29:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:51 + git semver tag 04:29:51 # -> Open(): unable to determine branch for HEAD 04:29:51 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:29:51 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:29:51 # $SEMVER_REMOTE_NAME = origin 04:29:51 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:29:51 # $SEMVER_USER_NAME = jenkins 04:29:51 # $SEMVER_BRANCH = master 04:29:51 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 04:29:51 # 251ac84f7228ae0fb6e27216846c283c9f5cee26 HEAD 04:29:51 # -> Force: false 04:29:51 # 6f66d4329a724de619f1dd3d1b3053f09c8d9154 refs/tags/v1.2.0-dev.4 [Pipeline] } 04:29:51 $ docker exec --env ******** --env ******** 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 ssh-agent -k 04:29:51 unset SSH_AUTH_SOCK; 04:29:51 unset SSH_AGENT_PID; 04:29:51 echo Agent pid 21 killed; 04:29:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:52 + git semver [Pipeline] } 04:29:52 $ docker stop --time=1 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 04:29:53 $ docker rm -f 3c94d0ccab3457d0be56be961ad8d49e990c5f3feb860f29e238e7809de143d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:29:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:54 04:29:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:29:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:54 0.23.1-centos7: Pulling from edgex-lftools 04:29:54 ab5ef0e58194: Pulling fs layer 04:29:54 9712f1f96733: Pulling fs layer 04:29:54 63f879dbbcfc: Pulling fs layer 04:29:54 0d9ebad4ef96: Pulling fs layer 04:29:54 e9a5061849ea: Pulling fs layer 04:29:54 d747dcd14b5f: Pulling fs layer 04:29:54 2de7ff778b66: Pulling fs layer 04:29:54 e9a5061849ea: Waiting 04:29:54 d747dcd14b5f: Waiting 04:29:54 2de7ff778b66: Waiting 04:29:54 0d9ebad4ef96: Waiting 04:29:54 9712f1f96733: Verifying Checksum 04:29:54 9712f1f96733: Download complete 04:29:54 63f879dbbcfc: Verifying Checksum 04:29:54 63f879dbbcfc: Download complete 04:29:55 e9a5061849ea: Verifying Checksum 04:29:55 e9a5061849ea: Download complete 04:29:55 d747dcd14b5f: Verifying Checksum 04:29:55 d747dcd14b5f: Download complete 04:29:55 0d9ebad4ef96: Verifying Checksum 04:29:55 0d9ebad4ef96: Download complete 04:29:55 2de7ff778b66: Download complete 04:29:55 ab5ef0e58194: Verifying Checksum 04:29:55 ab5ef0e58194: Download complete 04:30:02 ab5ef0e58194: Pull complete 04:30:02 9712f1f96733: Pull complete 04:30:04 63f879dbbcfc: Pull complete 04:30:10 0d9ebad4ef96: Pull complete 04:30:14 e9a5061849ea: Pull complete 04:30:14 d747dcd14b5f: Pull complete 04:30:15 2de7ff778b66: Pull complete 04:30:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:30:15 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:30:15 $ 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 04:30:15 $ docker top 66b09e68d3495ca1f32d7721ab817ade3e84964f48a919b4194ebdd8a7e2f98f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:30:16 provisioning config files... 04:30:16 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6252278729427729466tmp 04:30:16 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4958735842410762429tmp 04:30:16 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2034244651446605610tmp [Pipeline] { [Pipeline] echo 04:30:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:30:16 ---> sigul-configuration.sh 04:30:16 gpg: directory `/root/.gnupg' created 04:30:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:30:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:30:16 gpg: keyring `/root/.gnupg/secring.gpg' created 04:30:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:30:16 gpg: CAST5 encrypted data 04:30:16 gpg: encrypted with 1 passphrase 04:30:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:30:17 + mkdir /home/jenkins 04:30:17 + mkdir /home/jenkins/sigul [Pipeline] sh 04:30:17 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 04:30:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:30:17 ---> sigul-install.sh 04:30:24 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:30:24 + git tag --list 04:30:24 v1.2.0-dev.4 [Pipeline] sh 04:30:24 + lftools sign git-tag v1.2.0-dev.4 04:30:26 Signing Git tag with Sigul... 04:30:26 Signing v1.2.0-dev.4 [Pipeline] echo 04:30:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:30:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:30:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:30:27 $ docker stop --time=1 66b09e68d3495ca1f32d7721ab817ade3e84964f48a919b4194ebdd8a7e2f98f 04:30:28 $ docker rm -f 66b09e68d3495ca1f32d7721ab817ade3e84964f48a919b4194ebdd8a7e2f98f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:30:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:30:30 . [Pipeline] withDockerContainer 04:30:30 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:30:30 $ 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 04:30:30 $ docker top 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:31 [ssh-agent] Looking for ssh-agent implementation... 04:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:31 $ docker exec 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 ssh-agent 04:30:31 SSH_AUTH_SOCK=/tmp/ssh-5Xnbgl4DvPVs/agent.14 04:30:31 SSH_AGENT_PID=21 04:30:31 Running ssh-add (command line suppressed) 04:30:31 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) 04:30:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:32 + git semver bump pre 04:30:32 # -> Open(): unable to determine branch for HEAD 04:30:32 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:30:32 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:30:32 # $SEMVER_REMOTE_NAME = origin 04:30:32 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:30:32 # $SEMVER_USER_NAME = jenkins 04:30:32 # $SEMVER_BRANCH = master 04:30:32 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 04:30:32 1.2.0-dev.5 [Pipeline] } 04:30:32 $ docker exec --env ******** --env ******** 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 ssh-agent -k 04:30:32 unset SSH_AUTH_SOCK; 04:30:32 unset SSH_AGENT_PID; 04:30:32 echo Agent pid 21 killed; 04:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:30:32 + git semver [Pipeline] } 04:30:32 $ docker stop --time=1 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 04:30:34 $ docker rm -f 3a3262ebe367a40d6a77c6fdd8e0fac60c05ddb0b0014080a8bee8029fc3d484 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:30:34 . [Pipeline] withDockerContainer 04:30:34 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:30:34 $ 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 04:30:35 $ docker top 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:35 [ssh-agent] Looking for ssh-agent implementation... 04:30:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:35 $ docker exec 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 ssh-agent 04:30:36 SSH_AUTH_SOCK=/tmp/ssh-sMqKmITJWvJH/agent.14 04:30:36 SSH_AGENT_PID=21 04:30:36 Running ssh-add (command line suppressed) 04:30:36 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) 04:30:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:36 + git semver push 04:30:36 # -> Open(): unable to determine branch for HEAD 04:30:36 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:30:36 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:30:36 # $SEMVER_REMOTE_NAME = origin 04:30:36 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:30:36 # $SEMVER_USER_NAME = jenkins 04:30:36 # $SEMVER_BRANCH = master 04:30:36 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 04:30:43 $ docker exec --env ******** --env ******** 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 ssh-agent -k 04:30:43 unset SSH_AUTH_SOCK; 04:30:43 unset SSH_AGENT_PID; 04:30:43 echo Agent pid 21 killed; 04:30:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:30:43 + git semver [Pipeline] } 04:30:43 $ docker stop --time=1 7a7bb65231f6ad0c3c562db90f53530808dcbe378ea7e3caddf552ef13c1a175 04:30:45 $ 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 04:30:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:46 ---> package-listing.sh 04:30:46 ++ facter osfamily 04:30:46 ++ tr '[:upper:]' '[:lower:]' 04:30:46 + OS_FAMILY=redhat 04:30:46 + workspace=/w/workspace/xfoundry_device-modbus-go_master 04:30:46 + START_PACKAGES=/tmp/packages_start.txt 04:30:46 + END_PACKAGES=/tmp/packages_end.txt 04:30:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:46 + PACKAGES=/tmp/packages_start.txt 04:30:46 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 04:30:46 + PACKAGES=/tmp/packages_end.txt 04:30:46 + case "${OS_FAMILY}" in 04:30:46 + rpm -qa 04:30:46 + sort 04:30:50 + '[' -f /tmp/packages_start.txt ']' 04:30:50 + '[' -f /tmp/packages_end.txt ']' 04:30:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:50 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 04:30:50 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 04:30:50 + 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 04:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:30:51 04:30:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:30:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:30:51 alpine: Pulling from edgex-lftools-log-publisher 04:30:51 c9b1b535fdd9: Pulling fs layer 04:30:51 2cc5ad85d9ab: Pulling fs layer 04:30:51 756a868c4378: Pulling fs layer 04:30:51 444b2fc9a129: Pulling fs layer 04:30:51 ea15f1150254: Pulling fs layer 04:30:51 41b27a9f41bf: Pulling fs layer 04:30:51 28c525ee5125: Pulling fs layer 04:30:51 094b1ea09ed8: Pulling fs layer 04:30:51 138eaada9080: Pulling fs layer 04:30:51 0622d0fa9048: Pulling fs layer 04:30:51 41b27a9f41bf: Waiting 04:30:51 28c525ee5125: Waiting 04:30:51 094b1ea09ed8: Waiting 04:30:51 138eaada9080: Waiting 04:30:51 0622d0fa9048: Waiting 04:30:51 ea15f1150254: Waiting 04:30:51 444b2fc9a129: Waiting 04:30:51 2cc5ad85d9ab: Verifying Checksum 04:30:51 2cc5ad85d9ab: Download complete 04:30:51 444b2fc9a129: Download complete 04:30:51 c9b1b535fdd9: Verifying Checksum 04:30:51 ea15f1150254: Verifying Checksum 04:30:51 ea15f1150254: Download complete 04:30:51 28c525ee5125: Verifying Checksum 04:30:51 28c525ee5125: Download complete 04:30:52 756a868c4378: Verifying Checksum 04:30:52 756a868c4378: Download complete 04:30:52 138eaada9080: Verifying Checksum 04:30:52 138eaada9080: Download complete 04:30:52 0622d0fa9048: Verifying Checksum 04:30:52 0622d0fa9048: Download complete 04:30:52 094b1ea09ed8: Verifying Checksum 04:30:52 094b1ea09ed8: Download complete 04:30:53 41b27a9f41bf: Verifying Checksum 04:30:53 41b27a9f41bf: Download complete 04:30:53 c9b1b535fdd9: Pull complete 04:30:53 2cc5ad85d9ab: Pull complete 04:30:55 756a868c4378: Pull complete 04:30:55 444b2fc9a129: Pull complete 04:30:55 ea15f1150254: Pull complete 04:30:59 41b27a9f41bf: Pull complete 04:30:59 28c525ee5125: Pull complete 04:31:02 094b1ea09ed8: Pull complete 04:31:02 138eaada9080: Pull complete 04:31:02 0622d0fa9048: Pull complete 04:31:02 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:31:02 prd-centos7-docker-4c-2g-2731 does not seem to be running inside a container 04:31:02 $ 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 04:31:03 $ docker top b18742e1d44122bb30838fb87c0b7f2d6129cc022499ba7b8c9ebc31ca6440e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:31:03 provisioning config files... 04:31:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config136410989268660309tmp [Pipeline] { [Pipeline] echo 04:31:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:31:04 ---> create-netrc.sh [Pipeline] echo 04:31:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:31:04 ---> logs-deploy.sh 04:31:04 + ARCHIVE_ARTIFACTS= 04:31:04 + LOGS_SERVER=https://logs.edgexfoundry.org 04:31:04 + '[' https://logs.edgexfoundry.org == None ']' 04:31:04 + NEXUS_URL=https://nexus.edgexfoundry.org 04:31:04 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/4 04:31:04 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/4/ 04:31:04 + 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 04:31:05 Archives upload complete. 04:31:05 + 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/