Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 19fa6973f701ad94a11b5f6c391ca92bd197d7ff 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4653 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 without tags Checking out Revision 19fa6973f701ad94a11b5f6c391ca92bd197d7ff (master) 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 > 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 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 Commit message: "Merge pull request #142 from hahattan/issue-141" > git rev-list --no-walk 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:45:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:45:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:45:20 ========================================================= 03:45:20 EdgeX Global Pipelines Version Info 03:45:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:45:21 ------------------- 03:45:21 stable info: 03:45:21 ------------------- 03:45:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:45:21 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 03:45:21 Message: update stable to v1.0.73 03:45:22 ------------------- 03:45:22 experimental info: 03:45:22 ------------------- 03:45:22 Commited By: **** collab-it+edgex@linuxfoundation.org 03:45:22 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 03:45:22 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:45:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:45:24 03:45:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:45:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:45:24 latest: Pulling from edgex-devops/git-semver 03:45:24 9123ac7c32f7: Pulling fs layer 03:45:24 b8cc5d1170e3: Pulling fs layer 03:45:24 2924cbbf6a41: Pulling fs layer 03:45:24 93b08a4f1073: Pulling fs layer 03:45:24 93b08a4f1073: Waiting 03:45:24 b8cc5d1170e3: Verifying Checksum 03:45:24 b8cc5d1170e3: Download complete 03:45:24 9123ac7c32f7: Download complete 03:45:24 93b08a4f1073: Verifying Checksum 03:45:24 93b08a4f1073: Download complete 03:45:24 2924cbbf6a41: Verifying Checksum 03:45:24 2924cbbf6a41: Download complete 03:45:24 9123ac7c32f7: Pull complete 03:45:25 b8cc5d1170e3: Pull complete 03:45:25 2924cbbf6a41: Pull complete 03:45:25 93b08a4f1073: Pull complete 03:45:25 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:45:26 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:45:26 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:45:26 $ docker top 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:27 [ssh-agent] Looking for ssh-agent implementation... 03:45:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:27 $ docker exec 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a ssh-agent 03:45:27 SSH_AUTH_SOCK=/tmp/ssh-3U0A4z2vpFTE/agent.15 03:45:27 SSH_AGENT_PID=22 03:45:27 Running ssh-add (command line suppressed) 03:45:27 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2381113535212284480.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2381113535212284480.key) 03:45:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:27 + git describe --exact-match --tags HEAD 03:45:27 fatal: No names found, cannot describe anything. [Pipeline] } 03:45:28 $ docker exec --env ******** --env ******** 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a ssh-agent -k 03:45:28 unset SSH_AUTH_SOCK; 03:45:28 unset SSH_AGENT_PID; 03:45:28 echo Agent pid 22 killed; 03:45:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:45:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:45:28 This usually means this commit has not been tagged. [Pipeline] sshagent 03:45:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:28 [ssh-agent] Looking for ssh-agent implementation... 03:45:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:28 $ docker exec 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a ssh-agent 03:45:28 SSH_AUTH_SOCK=/tmp/ssh-GFBMLSd9CCOd/agent.58 03:45:28 SSH_AGENT_PID=65 03:45:28 Running ssh-add (command line suppressed) 03:45:28 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7525040888286094805.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7525040888286094805.key) 03:45:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:29 + git semver init 03:45:29 # -> Open(): unable to determine branch for HEAD 03:45:29 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:45:29 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:45:29 # $SEMVER_REMOTE_NAME = origin 03:45:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:45:29 # $SEMVER_USER_NAME = edgex-jenkins 03:45:29 # $SEMVER_BRANCH = master 03:45:29 # $SEMVER_TEMP = /tmp/semver-581632359 03:45:29 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 03:45:29 # '/tmp/semver-581632359' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 03:45:29 # -> Force: false 03:45:29 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 03:45:29 $ docker exec --env ******** --env ******** 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a ssh-agent -k 03:45:29 unset SSH_AUTH_SOCK; 03:45:29 unset SSH_AGENT_PID; 03:45:29 echo Agent pid 65 killed; 03:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:30 + git semver [Pipeline] } 03:45:30 $ docker stop --time=1 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a 03:45:31 $ docker rm -f 604113be172b5bea6b14a37ef5f1ec81684482abcdfabab61f0eeb74a7e8fd1a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:45:32 Stashed 18 file(s) [Pipeline] echo 03:45:32 [edgeXSemver] initialized semver on version 1.2.0-dev.5 [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 03:45:47 Still waiting to schedule task 03:45:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:45:47 Still waiting to schedule task 03:45:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:47:11 Running on prd-centos7-docker-4c-2g-4656 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 03:47:11 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 03:47:15 using credential edgex-jenkins-ssh 03:47:15 Cloning the remote Git repository 03:47:15 Cloning with configured refspecs honoured and without tags 03:47:14 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:47:14 > git init /w/workspace/device-modbus-go/5 # timeout=10 03:47:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:47:14 > git --version # timeout=10 03:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:16 Fetching without tags 03:47:16 Checking out Revision 19fa6973f701ad94a11b5f6c391ca92bd197d7ff (master) 03:47:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:47:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:47:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:15 > git config core.sparsecheckout # timeout=10 03:47:15 > git checkout -f 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 03:47:20 Commit message: "Merge pull request #142 from hahattan/issue-141" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:47:20 ========================================================= 03:47:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:47:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:47:21 + 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 . 03:47:21 Sending build context to Docker daemon 554.5kB 03:47:21 Step 1/8 : ARG BASE=golang:1.13-alpine 03:47:21 Step 2/8 : FROM ${BASE} 03:47:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:47:22 e6b0cf9c0882: Pulling fs layer 03:47:22 2848faf0eed1: Pulling fs layer 03:47:22 0f37312ad70f: Pulling fs layer 03:47:22 5788d62ee057: Pulling fs layer 03:47:22 0e6b1d234666: Pulling fs layer 03:47:22 bf5d7aec512f: Pulling fs layer 03:47:22 34c802a77dc8: Pulling fs layer 03:47:22 9eb99e56ec68: Pulling fs layer 03:47:22 27c7a5d97fbd: Pulling fs layer 03:47:22 5c102a31e300: Pulling fs layer 03:47:22 dcfb455df0a1: Pulling fs layer 03:47:22 34c802a77dc8: Waiting 03:47:22 9eb99e56ec68: Waiting 03:47:22 27c7a5d97fbd: Waiting 03:47:22 5c102a31e300: Waiting 03:47:22 dcfb455df0a1: Waiting 03:47:22 5788d62ee057: Waiting 03:47:22 0e6b1d234666: Waiting 03:47:22 bf5d7aec512f: Waiting 03:47:22 0f37312ad70f: Verifying Checksum 03:47:22 0f37312ad70f: Download complete 03:47:22 2848faf0eed1: Verifying Checksum 03:47:22 2848faf0eed1: Download complete 03:47:22 0e6b1d234666: Verifying Checksum 03:47:22 0e6b1d234666: Download complete 03:47:22 bf5d7aec512f: Verifying Checksum 03:47:22 bf5d7aec512f: Download complete 03:47:22 e6b0cf9c0882: Verifying Checksum 03:47:22 e6b0cf9c0882: Download complete 03:47:22 e6b0cf9c0882: Pull complete 03:47:22 2848faf0eed1: Pull complete 03:47:22 34c802a77dc8: Verifying Checksum 03:47:22 34c802a77dc8: Download complete 03:47:22 27c7a5d97fbd: Verifying Checksum 03:47:22 27c7a5d97fbd: Download complete 03:47:23 5c102a31e300: Verifying Checksum 03:47:23 5c102a31e300: Download complete 03:47:23 9eb99e56ec68: Verifying Checksum 03:47:23 9eb99e56ec68: Download complete 03:47:23 dcfb455df0a1: Verifying Checksum 03:47:23 dcfb455df0a1: Download complete 03:47:23 5788d62ee057: Verifying Checksum 03:47:23 5788d62ee057: Download complete 03:47:24 0f37312ad70f: Pull complete 03:47:30 5788d62ee057: Pull complete 03:47:30 0e6b1d234666: Pull complete 03:47:30 bf5d7aec512f: Pull complete 03:47:34 34c802a77dc8: Pull complete 03:47:37 9eb99e56ec68: Pull complete 03:47:37 27c7a5d97fbd: Pull complete 03:47:38 5c102a31e300: Pull complete 03:47:38 dcfb455df0a1: Pull complete 03:47:38 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:47:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:47:38 ---> 7c70fe431013 03:47:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:47:38 ---> Running in 0681c4524560 03:47:39 Removing intermediate container 0681c4524560 03:47:39 ---> 68ee611384a3 03:47:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:47:39 ---> Running in 50326123b3c9 03:47:40 Removing intermediate container 50326123b3c9 03:47:40 ---> c57812f1039f 03:47:40 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:47:40 ---> Running in 0861f20a9abc 03:47:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:47:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:47:45 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:47:47 (2/17) Installing libmagic (5.37-r1) 03:47:48 (3/17) Installing file (5.37-r1) 03:47:48 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:47:48 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:47:49 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:48:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4657 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 03:48:45 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 03:48:51 using credential edgex-jenkins-ssh 03:48:51 Cloning the remote Git repository 03:48:51 Cloning with configured refspecs honoured and without tags 03:48:51 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:48:51 > git init /w/workspace/device-modbus-go/5 # timeout=10 03:48:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:48:51 > git --version # timeout=10 03:48:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:48:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:48:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:48:52 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:48:52 Fetching without tags 03:48:52 Checking out Revision 19fa6973f701ad94a11b5f6c391ca92bd197d7ff (master) 03:48:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:48:52 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:48:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:48:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:48:53 > git config core.sparsecheckout # timeout=10 03:48:53 > git checkout -f 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 03:48:57 Commit message: "Merge pull request #142 from hahattan/issue-141" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:48:58 ========================================================= 03:48:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:48:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:49:00 + 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 . 03:49:01 Sending build context to Docker daemon 554.5kB 03:49:01 Step 1/8 : ARG BASE=golang:1.13-alpine 03:49:01 Step 2/8 : FROM ${BASE} 03:49:01 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:49:01 cde5963f3b93: Pulling fs layer 03:49:01 2a23fa8c16f7: Pulling fs layer 03:49:01 777b28850792: Pulling fs layer 03:49:01 8a11ddd9e578: Pulling fs layer 03:49:01 4cf88f913ddb: Pulling fs layer 03:49:01 1df406cf5192: Pulling fs layer 03:49:01 cd6300453558: Pulling fs layer 03:49:01 b9c365052c96: Pulling fs layer 03:49:01 a2d8cc88f415: Pulling fs layer 03:49:01 ea1d1ca13537: Pulling fs layer 03:49:01 3750a50a1c5e: Pulling fs layer 03:49:01 8a11ddd9e578: Waiting 03:49:01 4cf88f913ddb: Waiting 03:49:01 1df406cf5192: Waiting 03:49:01 cd6300453558: Waiting 03:49:01 ea1d1ca13537: Waiting 03:49:01 3750a50a1c5e: Waiting 03:49:01 b9c365052c96: Waiting 03:49:01 2a23fa8c16f7: Download complete 03:49:01 4cf88f913ddb: Verifying Checksum 03:49:01 4cf88f913ddb: Download complete 03:49:01 1df406cf5192: Verifying Checksum 03:49:01 1df406cf5192: Download complete 03:49:01 cde5963f3b93: Download complete 03:49:02 cde5963f3b93: Pull complete 03:49:03 2a23fa8c16f7: Pull complete 03:49:03 777b28850792: Pull complete 03:49:05 cd6300453558: Verifying Checksum 03:49:05 cd6300453558: Download complete 03:49:05 a2d8cc88f415: Verifying Checksum 03:49:05 a2d8cc88f415: Download complete 03:49:08 ea1d1ca13537: Verifying Checksum 03:49:08 ea1d1ca13537: Download complete 03:49:08 3750a50a1c5e: Verifying Checksum 03:49:08 3750a50a1c5e: Download complete 03:49:11 b9c365052c96: Verifying Checksum 03:49:11 b9c365052c96: Download complete 03:49:12 8a11ddd9e578: Verifying Checksum 03:49:12 8a11ddd9e578: Download complete 03:49:25 8a11ddd9e578: Pull complete 03:49:25 4cf88f913ddb: Pull complete 03:49:25 1df406cf5192: Pull complete 03:49:29 cd6300453558: Pull complete 03:49:33 b9c365052c96: Pull complete 03:49:33 a2d8cc88f415: Pull complete 03:49:35 ea1d1ca13537: Pull complete 03:49:35 3750a50a1c5e: Pull complete 03:49:35 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:49:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:49:36 ---> 78745c68409d 03:49:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:49:40 ---> Running in 7b16189df52c 03:49:40 Removing intermediate container 7b16189df52c 03:49:40 ---> cce3dd917322 03:49:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:49:40 ---> Running in ce3be40ec472 03:49:42 Removing intermediate container ce3be40ec472 03:49:42 ---> 10591aa4f8ae 03:49:42 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:49:42 ---> Running in b45e06a73cf7 03:49:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:49:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:49:45 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 03:49:45 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:49:46 (3/18) Installing libmagic (5.37-r1) 03:49:47 (4/18) Installing file (5.37-r1) 03:49:47 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:49:47 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:49:47 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:49:55 (7/17) Installing libc-dev (0.7.2-r0) 03:49:55 (8/17) Installing g++ (9.2.0-r4) 03:51:31 (9/17) Installing fortify-headers (1.1-r0) 03:51:31 (10/17) Installing build-base (0.5-r1) 03:51:31 (11/17) Installing openssh-keygen (8.1_p1-r0) 03:51:31 (12/17) Installing libedit (20191211.3.1-r0) 03:51:31 (13/17) Installing openssh-client (8.1_p1-r0) 03:51:31 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 03:51:31 (15/17) Installing openssh-server-common (8.1_p1-r0) 03:51:31 (16/17) Installing openssh-server (8.1_p1-r0) 03:51:31 (17/17) Installing openssh (8.1_p1-r0) 03:51:31 Executing busybox-1.31.1-r8.trigger 03:51:31 OK: 214 MiB in 52 packages 03:51:31 Removing intermediate container 0861f20a9abc 03:51:31 ---> 3838748edae3 03:51:31 Step 6/8 : WORKDIR /device-modbus-go 03:51:31 ---> Running in 8bb3a909686c 03:51:31 Removing intermediate container 8bb3a909686c 03:51:31 ---> ef78c278ba0c 03:51:31 Step 7/8 : COPY . . 03:51:32 ---> dcad1bdd8b88 03:51:32 Step 8/8 : RUN go mod download 03:51:32 ---> Running in 94a6eccd6540 03:51:34 go: finding github.com/BurntSushi/toml v0.3.1 03:51:34 go: finding github.com/OneOfOne/xxhash v1.2.6 03:51:34 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:51:34 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:51:34 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:51:34 go: finding github.com/bgentry/speakeasy v0.1.0 03:51:34 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:51:34 go: finding github.com/davecgh/go-spew v1.1.1 03:51:34 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 03:51:34 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 03:51:34 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:51:34 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:51:34 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:51:34 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:51:34 go: finding github.com/fatih/color v1.7.0 03:51:34 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:51:34 go: finding github.com/go-kit/kit v0.8.0 03:51:34 go: finding github.com/go-logfmt/logfmt v0.4.0 03:51:34 go: finding github.com/go-stack/stack v1.8.0 03:51:34 go: finding github.com/goburrow/modbus v0.1.0 03:51:34 go: finding github.com/goburrow/serial v0.1.0 03:51:34 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:51:34 go: finding github.com/google/uuid v1.1.1 03:51:34 go: finding github.com/gorilla/mux v1.7.1 03:51:34 go: finding github.com/hashicorp/consul/api v1.1.0 03:51:34 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:51:34 go: finding github.com/hashicorp/errwrap v1.0.0 03:51:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:51:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:51:34 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:51:34 go: finding github.com/hashicorp/go-multierror v1.0.0 03:51:34 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:51:34 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:51:34 go: finding github.com/hashicorp/go-syslog v1.0.0 03:51:34 go: finding github.com/hashicorp/go-uuid v1.0.1 03:51:34 go: finding github.com/hashicorp/go.net v0.0.1 03:51:34 go: finding github.com/hashicorp/golang-lru v0.5.1 03:51:34 go: finding github.com/hashicorp/logutils v1.0.0 03:51:34 go: finding github.com/hashicorp/mdns v1.0.0 03:51:34 go: finding github.com/hashicorp/memberlist v0.1.3 03:51:34 go: finding github.com/hashicorp/serf v0.8.2 03:51:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:51:34 go: finding github.com/mattn/go-colorable v0.0.9 03:51:34 go: finding github.com/mattn/go-isatty v0.0.3 03:51:34 go: finding github.com/miekg/dns v1.1.4 03:51:34 go: finding github.com/mitchellh/cli v1.0.0 03:51:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:51:34 go: finding github.com/mitchellh/copystructure v1.0.0 03:51:34 go: finding github.com/mitchellh/go-homedir v1.1.0 03:51:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:51:34 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:51:34 go: finding github.com/mitchellh/gox v0.4.0 03:51:34 go: finding github.com/mitchellh/iochan v1.0.0 03:51:34 go: finding github.com/mitchellh/mapstructure v1.1.2 03:51:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:51:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:51:34 go: finding github.com/pelletier/go-toml v1.2.0 03:51:34 go: finding github.com/pkg/errors v0.8.1 03:51:34 go: finding github.com/pmezard/go-difflib v1.0.0 03:51:34 go: finding github.com/posener/complete v1.1.1 03:51:34 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:51:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:51:34 go: finding github.com/stretchr/objx v0.1.0 03:51:34 go: finding github.com/stretchr/testify v1.5.1 03:51:34 go: finding github.com/ugorji/go v1.1.4 03:51:34 go: finding github.com/x448/float16 v0.8.4 03:51:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:51:34 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:51:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:51:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:51:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:51:34 go: finding gopkg.in/yaml.v2 v2.2.8 03:51:38 Removing intermediate container 94a6eccd6540 03:51:38 ---> 77a1aca6e094 03:51:38 Successfully built 77a1aca6e094 03:51:38 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 03:51:39 + docker inspect -f . ci-base-image-x86_64 03:51:39 . [Pipeline] withDockerContainer 03:51:39 prd-centos7-docker-4c-2g-4656 does not seem to be running inside a container 03:51:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:51:40 $ docker top e95960a6da103dc38c60e0f653b71ba807b493c6b144b5dedd0e854a344be4d8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:40 + go version 03:51:40 go version go1.13.5 linux/amd64 [Pipeline] sh 03:51:41 + make test 03:51:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:51:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:51:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:51:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.156s coverage: 50.3% of statements 03:51:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:51:55 gofmt -l . 03:51:55 [ "`gofmt -l .`" = "" ] 03:51:55 ./bin/test-attribution-txt.sh 03:51:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:51:56 Stashed 1 file(s) [Pipeline] } 03:51:56 $ docker stop --time=1 e95960a6da103dc38c60e0f653b71ba807b493c6b144b5dedd0e854a344be4d8 03:51:57 $ docker rm -f e95960a6da103dc38c60e0f653b71ba807b493c6b144b5dedd0e854a344be4d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:51:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:51:59 + ls -al . 03:51:59 total 104 03:51:59 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 18 03:51 . 03:51:59 drwxrwxr-x. 4 jenkins jenkins 28 Apr 18 03:47 .. 03:51:59 -rw-rw-r--. 1 jenkins jenkins 5146 Apr 18 03:47 Attribution.txt 03:51:59 drwxrwxr-x. 2 jenkins jenkins 87 Apr 18 03:47 bin 03:51:59 drwxrwxr-x. 3 jenkins jenkins 55 Apr 18 03:47 cmd 03:51:59 -rw-r--r--. 1 jenkins jenkins 22122 Apr 18 03:51 coverage.out 03:51:59 -rw-rw-r--. 1 jenkins jenkins 1251 Apr 18 03:47 Dockerfile 03:51:59 -rw-rw-r--. 1 jenkins jenkins 954 Apr 18 03:47 Dockerfile.build 03:51:59 -rw-rw-r--. 1 jenkins jenkins 140 Apr 18 03:47 .dockerignore 03:51:59 drwxrwxr-x. 8 jenkins jenkins 162 Apr 18 03:47 .git 03:51:59 -rw-rw-r--. 1 jenkins jenkins 338 Apr 18 03:47 .gitignore 03:51:59 -rw-r--r--. 1 jenkins jenkins 566 Apr 18 03:51 go.mod 03:51:59 -rw-r--r--. 1 jenkins jenkins 13382 Apr 18 03:51 go.sum 03:51:59 drwxrwxr-x. 3 jenkins jenkins 20 Apr 18 03:47 internal 03:51:59 -rw-rw-r--. 1 jenkins jenkins 681 Apr 18 03:47 Jenkinsfile 03:51:59 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 18 03:47 LICENSE 03:51:59 -rw-rw-r--. 1 jenkins jenkins 880 Apr 18 03:47 Makefile 03:51:59 -rw-rw-r--. 1 jenkins jenkins 591 Apr 18 03:47 README.md 03:51:59 drwxrwxr-x. 3 jenkins jenkins 44 Apr 18 03:47 .semver 03:51:59 drwxrwxr-x. 2 jenkins jenkins 35 Apr 18 03:47 simulator 03:51:59 drwxrwxr-x. 4 jenkins jenkins 54 Apr 18 03:47 snap 03:51:59 -rw-rw-r--. 1 jenkins jenkins 11 Apr 18 03:45 VERSION 03:51:59 -rw-rw-r--. 1 jenkins jenkins 229 Apr 18 03:47 version.go [Pipeline] isUnix [Pipeline] sh 03:52:00 + 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=19fa6973f701ad94a11b5f6c391ca92bd197d7ff --label arch=amd64 --label version=1.2.0-dev.5 . 03:52:00 Sending build context to Docker daemon 583.2kB 03:52:00 Step 1/17 : ARG BASE=golang:1.13-alpine 03:52:00 Step 2/17 : FROM ${BASE} AS builder 03:52:00 ---> 77a1aca6e094 03:52:00 Step 3/17 : ARG MAKE='make build' 03:52:00 ---> Running in ba48a8482d64 03:52:00 Removing intermediate container ba48a8482d64 03:52:00 ---> dae35b59cf67 03:52:00 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:52:00 ---> Running in 0a9d61a9594a 03:52:01 Removing intermediate container 0a9d61a9594a 03:52:01 ---> afc905690438 03:52:01 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 03:52:01 ---> Running in 1de589cb5f6b 03:52:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:52:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:52:05 OK: 214 MiB in 52 packages 03:52:05 Removing intermediate container 1de589cb5f6b 03:52:05 ---> 4e6478d5c4c5 03:52:05 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 03:52:06 ---> Running in f896460dbfd5 03:52:06 Removing intermediate container f896460dbfd5 03:52:06 ---> a4e2d06b79d3 03:52:06 Step 7/17 : COPY . . 03:52:06 ---> 5fde4016a83d 03:52:06 Step 8/17 : RUN ${MAKE} 03:52:06 ---> Running in c8b394399a9e 03:52:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.0-dev.5" -o cmd/device-modbus ./cmd 03:52:09 (8/18) Installing libc-dev (0.7.2-r0) 03:52:09 (9/18) Installing g++ (9.2.0-r4) 03:52:17 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:52:19 Removing intermediate container c8b394399a9e 03:52:19 ---> 1e56a7fe616a 03:52:19 Step 9/17 : FROM scratch 03:52:19 ---> 03:52:19 Step 10/17 : ENV APP_PORT=49991 03:52:19 ---> Running in 854fe0613277 03:52:19 Removing intermediate container 854fe0613277 03:52:19 ---> e2cf726ab012 03:52:19 Step 11/17 : EXPOSE $APP_PORT 03:52:19 ---> Running in 3c9cb3fb2ebe 03:52:19 Removing intermediate container 3c9cb3fb2ebe 03:52:19 ---> 218923c486e0 03:52:19 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 03:52:20 ---> 53f5ed89588f 03:52:20 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 03:52:20 ---> Running in 2433e6c45a56 03:52:20 Removing intermediate container 2433e6c45a56 03:52:20 ---> 25654b3a2c49 03:52:20 Step 14/17 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:52:20 ---> Running in bec8dc626033 03:52:20 Removing intermediate container bec8dc626033 03:52:20 ---> 73f4a13c7f9c 03:52:20 Step 15/17 : LABEL arch=amd64 03:52:20 ---> Running in a74b32066dcf 03:52:20 Removing intermediate container a74b32066dcf 03:52:20 ---> 5f4487f03ad8 03:52:20 Step 16/17 : LABEL git_sha=19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:52:20 ---> Running in 237884c6ee47 03:52:20 Removing intermediate container 237884c6ee47 03:52:20 ---> 9fec39f1781c 03:52:20 Step 17/17 : LABEL version=1.2.0-dev.5 03:52:21 ---> Running in 602170fefd89 03:52:21 Removing intermediate container 602170fefd89 03:52:21 ---> 105d3672addc 03:52:21 [Warning] One or more build-args [ARCH] were not consumed 03:52:21 Successfully built 105d3672addc 03:52:21 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 03:52:21 provisioning config files... 03:52:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config1330812584672015974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:21 nexus3.edgexfoundry.org:10001 03:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:22 Configure a credential helper to remove this warning. See 03:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:22 03:52:22 Login Succeeded 03:52:22 nexus3.edgexfoundry.org:10002 03:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:22 Configure a credential helper to remove this warning. See 03:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:22 03:52:22 Login Succeeded 03:52:22 nexus3.edgexfoundry.org:10003 03:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:22 Configure a credential helper to remove this warning. See 03:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:22 03:52:22 Login Succeeded 03:52:22 nexus3.edgexfoundry.org:10004 03:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:22 Configure a credential helper to remove this warning. See 03:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:22 03:52:22 Login Succeeded 03:52:22 docker.io 03:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:23 Configure a credential helper to remove this warning. See 03:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:23 03:52:23 Login Succeeded [Pipeline] } 03:52:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:52:23 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 03:52:23 19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:52:23 latest 03:52:23 1.2.0-dev.5 03:52:23 19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5 03:52:23 master 03:52:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:52:24 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:19fa6973f701ad94a11b5f6c391ca92bd197d7ff [Pipeline] isUnix [Pipeline] sh 03:52:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 03:52:24 76526eb7140c: Preparing 03:52:25 76526eb7140c: Pushed 03:52:25 19fa6973f701ad94a11b5f6c391ca92bd197d7ff: digest: sha256:730858cedac48f8a8806d2a7a75178bd643bec39c47745522e417bd82af0451c size: 528 [Pipeline] isUnix [Pipeline] sh 03:52:26 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 03:52:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 03:52:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 03:52:26 76526eb7140c: Preparing 03:52:26 76526eb7140c: Layer already exists 03:52:26 latest: digest: sha256:730858cedac48f8a8806d2a7a75178bd643bec39c47745522e417bd82af0451c size: 528 [Pipeline] isUnix [Pipeline] sh 03:52:26 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 03:52:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.0-dev.5 03:52:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 03:52:26 76526eb7140c: Preparing 03:52:26 76526eb7140c: Layer already exists 03:52:26 1.2.0-dev.5: digest: sha256:730858cedac48f8a8806d2a7a75178bd643bec39c47745522e417bd82af0451c size: 528 [Pipeline] isUnix [Pipeline] sh 03:52:27 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 03:52:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5 03:52:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 03:52:27 76526eb7140c: Preparing 03:52:27 76526eb7140c: Layer already exists 03:52:27 19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5: digest: sha256:730858cedac48f8a8806d2a7a75178bd643bec39c47745522e417bd82af0451c size: 528 [Pipeline] isUnix [Pipeline] sh 03:52:27 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 03:52:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 03:52:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 03:52:28 76526eb7140c: Preparing 03:52:28 76526eb7140c: Layer already exists 03:52:28 master: digest: sha256:730858cedac48f8a8806d2a7a75178bd643bec39c47745522e417bd82af0451c size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:53:46 (10/18) Installing fortify-headers (1.1-r0) 03:53:46 (11/18) Installing build-base (0.5-r1) 03:53:46 (12/18) Installing openssh-keygen (8.1_p1-r0) 03:53:46 (13/18) Installing libedit (20191211.3.1-r0) 03:53:46 (14/18) Installing openssh-client (8.1_p1-r0) 03:53:46 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 03:53:46 (16/18) Installing openssh-server-common (8.1_p1-r0) 03:53:46 (17/18) Installing openssh-server (8.1_p1-r0) 03:53:46 (18/18) Installing openssh (8.1_p1-r0) 03:53:46 Executing busybox-1.31.1-r8.trigger 03:53:46 OK: 203 MiB in 52 packages 03:53:47 Removing intermediate container b45e06a73cf7 03:53:47 ---> 7e3ab59cf781 03:53:47 Step 6/8 : WORKDIR /device-modbus-go 03:53:47 ---> Running in 1516baaa48e4 03:53:48 Removing intermediate container 1516baaa48e4 03:53:48 ---> f2d1115bd439 03:53:48 Step 7/8 : COPY . . 03:53:49 ---> f0b77cc7f0f3 03:53:49 Step 8/8 : RUN go mod download 03:53:49 ---> Running in db9c67b784c9 03:53:51 go: finding github.com/BurntSushi/toml v0.3.1 03:53:51 go: finding github.com/OneOfOne/xxhash v1.2.6 03:53:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:53:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:53:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:53:51 go: finding github.com/bgentry/speakeasy v0.1.0 03:53:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:53:51 go: finding github.com/davecgh/go-spew v1.1.1 03:53:51 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 03:53:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 03:53:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:53:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:53:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:53:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:53:51 go: finding github.com/fatih/color v1.7.0 03:53:51 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:53:51 go: finding github.com/go-kit/kit v0.8.0 03:53:51 go: finding github.com/go-logfmt/logfmt v0.4.0 03:53:51 go: finding github.com/go-stack/stack v1.8.0 03:53:51 go: finding github.com/goburrow/modbus v0.1.0 03:53:51 go: finding github.com/goburrow/serial v0.1.0 03:53:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:53:51 go: finding github.com/google/uuid v1.1.1 03:53:51 go: finding github.com/gorilla/mux v1.7.1 03:53:51 go: finding github.com/hashicorp/consul/api v1.1.0 03:53:51 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:53:51 go: finding github.com/hashicorp/errwrap v1.0.0 03:53:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:53:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:53:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:53:51 go: finding github.com/hashicorp/go-multierror v1.0.0 03:53:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:53:51 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:53:51 go: finding github.com/hashicorp/go-syslog v1.0.0 03:53:51 go: finding github.com/hashicorp/go-uuid v1.0.1 03:53:51 go: finding github.com/hashicorp/go.net v0.0.1 03:53:51 go: finding github.com/hashicorp/golang-lru v0.5.1 03:53:51 go: finding github.com/hashicorp/logutils v1.0.0 03:53:51 go: finding github.com/hashicorp/mdns v1.0.0 03:53:51 go: finding github.com/hashicorp/memberlist v0.1.3 03:53:51 go: finding github.com/hashicorp/serf v0.8.2 03:53:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:53:51 go: finding github.com/mattn/go-colorable v0.0.9 03:53:51 go: finding github.com/mattn/go-isatty v0.0.3 03:53:51 go: finding github.com/miekg/dns v1.1.4 03:53:51 go: finding github.com/mitchellh/cli v1.0.0 03:53:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:53:51 go: finding github.com/mitchellh/copystructure v1.0.0 03:53:51 go: finding github.com/mitchellh/go-homedir v1.1.0 03:53:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:53:51 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:53:51 go: finding github.com/mitchellh/gox v0.4.0 03:53:51 go: finding github.com/mitchellh/iochan v1.0.0 03:53:51 go: finding github.com/mitchellh/mapstructure v1.1.2 03:53:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:53:51 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:53:51 go: finding github.com/pelletier/go-toml v1.2.0 03:53:51 go: finding github.com/pkg/errors v0.8.1 03:53:51 go: finding github.com/pmezard/go-difflib v1.0.0 03:53:51 go: finding github.com/posener/complete v1.1.1 03:53:51 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:53:51 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:53:51 go: finding github.com/stretchr/objx v0.1.0 03:53:51 go: finding github.com/stretchr/testify v1.5.1 03:53:51 go: finding github.com/ugorji/go v1.1.4 03:53:51 go: finding github.com/x448/float16 v0.8.4 03:53:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:53:51 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:53:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:53:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:53:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:53:52 go: finding gopkg.in/yaml.v2 v2.2.8 03:54:02 Removing intermediate container db9c67b784c9 03:54:02 ---> 2475659cbe7b 03:54:02 Successfully built 2475659cbe7b 03:54:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:54:03 + docker inspect -f . ci-base-image-arm64 03:54:03 . [Pipeline] withDockerContainer 03:54:03 prd-ubuntu18.04-docker-arm64-4c-16g-4657 does not seem to be running inside a container 03:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:54:04 $ docker top b1ea6c80852b9b96f806e8291d48f9a526505f8964cbd89084a5be128c82b405 -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:05 + go version 03:54:05 go version go1.13.5 linux/arm64 [Pipeline] sh 03:54:06 + make test 03:54:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:54:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:54:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:54:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.230s coverage: 50.3% of statements 03:54:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:54:39 gofmt -l . 03:54:39 [ "`gofmt -l .`" = "" ] 03:54:39 ./bin/test-attribution-txt.sh 03:54:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:54:40 Warning: overwriting stash ‘coverage-report’ 03:54:41 Stashed 1 file(s) [Pipeline] } 03:54:41 $ docker stop --time=1 b1ea6c80852b9b96f806e8291d48f9a526505f8964cbd89084a5be128c82b405 03:54:43 $ docker rm -f b1ea6c80852b9b96f806e8291d48f9a526505f8964cbd89084a5be128c82b405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:54:44 + ls -al . 03:54:44 total 136 03:54:44 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 03:54 . 03:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 03:48 .. 03:54:44 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 03:48 .dockerignore 03:54:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 03:48 .git 03:54:44 -rw-rw-r-- 1 jenkins jenkins 338 Apr 18 03:48 .gitignore 03:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 03:48 .semver 03:54:44 -rw-rw-r-- 1 jenkins jenkins 5146 Apr 18 03:48 Attribution.txt 03:54:44 -rw-rw-r-- 1 jenkins jenkins 1251 Apr 18 03:48 Dockerfile 03:54:44 -rw-rw-r-- 1 jenkins jenkins 954 Apr 18 03:48 Dockerfile.build 03:54:44 -rw-rw-r-- 1 jenkins jenkins 681 Apr 18 03:48 Jenkinsfile 03:54:44 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 03:48 LICENSE 03:54:44 -rw-rw-r-- 1 jenkins jenkins 880 Apr 18 03:48 Makefile 03:54:44 -rw-rw-r-- 1 jenkins jenkins 591 Apr 18 03:48 README.md 03:54:44 -rw-rw-r-- 1 jenkins jenkins 11 Apr 18 03:45 VERSION 03:54:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 03:48 bin 03:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 03:48 cmd 03:54:44 -rw-r--r-- 1 jenkins jenkins 22122 Apr 18 03:54 coverage.out 03:54:44 -rw-r--r-- 1 jenkins jenkins 566 Apr 18 03:54 go.mod 03:54:44 -rw-r--r-- 1 jenkins jenkins 13382 Apr 18 03:54 go.sum 03:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 03:48 internal 03:54:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 03:48 simulator 03:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 03:48 snap 03:54:44 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 03:48 version.go [Pipeline] isUnix [Pipeline] sh 03:54:45 + 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=19fa6973f701ad94a11b5f6c391ca92bd197d7ff --label arch=arm64 --label version=1.2.0-dev.5 . 03:54:45 Sending build context to Docker daemon 583.2kB 03:54:45 Step 1/17 : ARG BASE=golang:1.13-alpine 03:54:45 Step 2/17 : FROM ${BASE} AS builder 03:54:45 ---> 2475659cbe7b 03:54:45 Step 3/17 : ARG MAKE='make build' 03:54:45 ---> Running in 5931ef99dc7d 03:54:46 Removing intermediate container 5931ef99dc7d 03:54:46 ---> 5a5abceb2c9b 03:54:46 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:54:46 ---> Running in 35f92adb5058 03:54:48 Removing intermediate container 35f92adb5058 03:54:48 ---> 4dc585e29a82 03:54:48 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 03:54:48 ---> Running in 1a8eb645446b 03:54:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:54:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:54:53 OK: 203 MiB in 52 packages 03:54:54 Removing intermediate container 1a8eb645446b 03:54:54 ---> 93d7bc3b19f6 03:54:54 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 03:54:54 ---> Running in 9f4971f4a2f7 03:54:54 Removing intermediate container 9f4971f4a2f7 03:54:54 ---> c50a3b53cbe8 03:54:54 Step 7/17 : COPY . . 03:54:55 ---> ce3045a33b15 03:54:55 Step 8/17 : RUN ${MAKE} 03:54:55 ---> Running in a0b5c4995430 03:54:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.0-dev.5" -o cmd/device-modbus ./cmd 03:55:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:55:27 Removing intermediate container a0b5c4995430 03:55:27 ---> 777392f4fd91 03:55:27 Step 9/17 : FROM scratch 03:55:27 ---> 03:55:27 Step 10/17 : ENV APP_PORT=49991 03:55:27 ---> Running in 40b7a63198d2 03:55:27 Removing intermediate container 40b7a63198d2 03:55:27 ---> 688d9fb90bb8 03:55:27 Step 11/17 : EXPOSE $APP_PORT 03:55:27 ---> Running in 012a423ece84 03:55:28 Removing intermediate container 012a423ece84 03:55:28 ---> 9a3cf0f2588c 03:55:28 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 03:55:29 ---> 5b08af8a02ef 03:55:29 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 03:55:29 ---> Running in 409a35be6d28 03:55:29 Removing intermediate container 409a35be6d28 03:55:29 ---> a505d9074577 03:55:29 Step 14/17 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:55:30 ---> Running in 9b308b1afc63 03:55:30 Removing intermediate container 9b308b1afc63 03:55:30 ---> 8ed7beab9942 03:55:30 Step 15/17 : LABEL arch=arm64 03:55:30 ---> Running in 4412ae62e501 03:55:30 Removing intermediate container 4412ae62e501 03:55:30 ---> de371c15452e 03:55:30 Step 16/17 : LABEL git_sha=19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:55:30 ---> Running in 8e86161d32d2 03:55:31 Removing intermediate container 8e86161d32d2 03:55:31 ---> f5ecfed8d78b 03:55:31 Step 17/17 : LABEL version=1.2.0-dev.5 03:55:31 ---> Running in f333bd501344 03:55:31 Removing intermediate container f333bd501344 03:55:31 ---> f69a0341f57c 03:55:31 [Warning] One or more build-args [ARCH] were not consumed 03:55:31 Successfully built f69a0341f57c 03:55:31 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 03:55:31 provisioning config files... 03:55:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config1276846339820123484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:32 nexus3.edgexfoundry.org:10001 03:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:32 Configure a credential helper to remove this warning. See 03:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:32 03:55:32 Login Succeeded 03:55:32 nexus3.edgexfoundry.org:10002 03:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:33 Configure a credential helper to remove this warning. See 03:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:33 03:55:33 Login Succeeded 03:55:33 nexus3.edgexfoundry.org:10003 03:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:34 Configure a credential helper to remove this warning. See 03:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:34 03:55:34 Login Succeeded 03:55:34 nexus3.edgexfoundry.org:10004 03:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:34 Configure a credential helper to remove this warning. See 03:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:34 03:55:34 Login Succeeded 03:55:35 docker.io 03:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:36 Configure a credential helper to remove this warning. See 03:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:36 03:55:36 Login Succeeded [Pipeline] } 03:55:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:55:36 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 03:55:36 19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:55:36 latest 03:55:36 1.2.0-dev.5 03:55:36 19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5 03:55:36 master 03:55:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:55:36 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:19fa6973f701ad94a11b5f6c391ca92bd197d7ff [Pipeline] isUnix [Pipeline] sh 03:55:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:55:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 03:55:37 705dc6dbc649: Preparing 03:55:40 705dc6dbc649: Pushed 03:55:40 19fa6973f701ad94a11b5f6c391ca92bd197d7ff: digest: sha256:37793ed2917f390701310e51f245da328cb20d0181925ad70216345afc7aeba2 size: 528 [Pipeline] isUnix [Pipeline] sh 03:55:40 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:55:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 03:55:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 03:55:41 705dc6dbc649: Preparing 03:55:41 705dc6dbc649: Layer already exists 03:55:41 latest: digest: sha256:37793ed2917f390701310e51f245da328cb20d0181925ad70216345afc7aeba2 size: 528 [Pipeline] isUnix [Pipeline] sh 03:55:41 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 03:55:42 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.0-dev.5 03:55:42 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 03:55:42 705dc6dbc649: Preparing 03:55:42 705dc6dbc649: Layer already exists 03:55:42 1.2.0-dev.5: digest: sha256:37793ed2917f390701310e51f245da328cb20d0181925ad70216345afc7aeba2 size: 528 [Pipeline] isUnix [Pipeline] sh 03:55:43 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 03:55:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5 03:55:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 03:55:44 705dc6dbc649: Preparing 03:55:44 705dc6dbc649: Layer already exists 03:55:44 19fa6973f701ad94a11b5f6c391ca92bd197d7ff-1.2.0-dev.5: digest: sha256:37793ed2917f390701310e51f245da328cb20d0181925ad70216345afc7aeba2 size: 528 [Pipeline] isUnix [Pipeline] sh 03:55:44 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 03:55:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 03:55:44 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 03:55:45 705dc6dbc649: Preparing 03:55:45 705dc6dbc649: Layer already exists 03:55:45 master: digest: sha256:37793ed2917f390701310e51f245da328cb20d0181925ad70216345afc7aeba2 size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 03:55:46 provisioning config files... 03:55:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3694359896737663350tmp [Pipeline] { [Pipeline] sh 03:55:46 + curl -s https://codecov.io/bash 03:55:46 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_master@tmp/config3694359896737663350tmp 03:55:46 03:55:46 _____ _ 03:55:46 / ____| | | 03:55:46 | | ___ __| | ___ ___ _____ __ 03:55:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:55:46 | |___| (_) | (_| | __/ (_| (_) \ V / 03:55:46 \_____\___/ \__,_|\___|\___\___/ \_/ 03:55:46 Bash-tbd 03:55:46 03:55:46 03:55:46 ==> Jenkins CI detected. 03:55:46 project root: . 03:55:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:55:46 ==> Running gcov in . (disable via -X gcov) 03:55:46 ==> Python coveragepy not found 03:55:46 ==> Searching for coverage reports in: 03:55:46 + . 03:55:46 -> Found 1 reports 03:55:46 ==> Detecting git/mercurial file structure 03:55:46 ==> Reading reports 03:55:46 + ./coverage.out bytes=22122 03:55:46 ==> Appending adjustments 03:55:46 http://docs.codecov.io/docs/fixing-reports 03:55:46 + Found adjustments 03:55:47 ==> Gzipping contents 03:55:47 ==> Uploading reports 03:55:47 url: https://codecov.io 03:55:47 query: branch=master&commit=19fa6973f701ad94a11b5f6c391ca92bd197d7ff&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= 03:55:47 -> Pinging Codecov 03:55:47 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=19fa6973f701ad94a11b5f6c391ca92bd197d7ff&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= 03:55:47 -> Uploading 03:55:48 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/19fa6973f701ad94a11b5f6c391ca92bd197d7ff [Pipeline] } 03:55:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 03:55:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 03:55:48 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 03:55:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:55:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 03:55:48 03:55:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 03:55:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 03:55:49 1.217.3: Pulling from edgex-devops/edgex-snyk-go 03:55:49 e6b0cf9c0882: Pulling fs layer 03:55:49 2848faf0eed1: Pulling fs layer 03:55:49 0f37312ad70f: Pulling fs layer 03:55:49 7d08f2745646: Pulling fs layer 03:55:49 4c9f31393084: Pulling fs layer 03:55:49 eb21ddb83652: Pulling fs layer 03:55:49 345998794f6b: Pulling fs layer 03:55:49 97a711d68925: Pulling fs layer 03:55:49 7c8476c1cb00: Pulling fs layer 03:55:49 7d08f2745646: Waiting 03:55:49 4c9f31393084: Waiting 03:55:49 eb21ddb83652: Waiting 03:55:49 97a711d68925: Waiting 03:55:49 345998794f6b: Waiting 03:55:49 7c8476c1cb00: Waiting 03:55:49 0f37312ad70f: Verifying Checksum 03:55:49 0f37312ad70f: Download complete 03:55:49 2848faf0eed1: Verifying Checksum 03:55:49 2848faf0eed1: Download complete 03:55:49 4c9f31393084: Verifying Checksum 03:55:49 4c9f31393084: Download complete 03:55:49 eb21ddb83652: Download complete 03:55:49 e6b0cf9c0882: Download complete 03:55:49 e6b0cf9c0882: Pull complete 03:55:49 345998794f6b: Verifying Checksum 03:55:49 345998794f6b: Download complete 03:55:49 2848faf0eed1: Pull complete 03:55:49 7c8476c1cb00: Verifying Checksum 03:55:49 7c8476c1cb00: Download complete 03:55:50 97a711d68925: Verifying Checksum 03:55:50 97a711d68925: Download complete 03:55:50 0f37312ad70f: Pull complete 03:55:50 7d08f2745646: Verifying Checksum 03:55:50 7d08f2745646: Download complete 03:55:56 7d08f2745646: Pull complete 03:55:56 4c9f31393084: Pull complete 03:55:56 eb21ddb83652: Pull complete 03:55:57 345998794f6b: Pull complete 03:56:01 97a711d68925: Pull complete 03:56:01 7c8476c1cb00: Pull complete 03:56:01 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 03:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 03:56:01 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56:01 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 03:56:01 $ docker top d0ff117ff0ca6367b36f9276c2e3d266224c2bc92b4b53e9b8a8c96ace361afb -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:02 + snyk monitor '--org=edgex-jenkins' 03:56:09 03:56:09 Monitoring /w/workspace/xfoundry_device-modbus-go_master... 03:56:09 03:56:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2812f947-4d36-4e37-9b64-3efd8cc7f681 03:56:09 03:56:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:56:09 03:56:09 [Pipeline] } 03:56:09 $ docker stop --time=1 d0ff117ff0ca6367b36f9276c2e3d266224c2bc92b4b53e9b8a8c96ace361afb 03:56:10 $ docker rm -f d0ff117ff0ca6367b36f9276c2e3d266224c2bc92b4b53e9b8a8c96ace361afb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:56:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:56:12 03:56:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 03:56:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:56:12 latest: Pulling from edgex-devops/edgex-klar 03:56:12 e7c96db7181b: Pulling fs layer 03:56:12 1868ca2cb446: Pulling fs layer 03:56:12 136be5d0fe8e: Pulling fs layer 03:56:12 894bfe63afcb: Pulling fs layer 03:56:12 894bfe63afcb: Waiting 03:56:12 1868ca2cb446: Verifying Checksum 03:56:12 1868ca2cb446: Download complete 03:56:12 136be5d0fe8e: Verifying Checksum 03:56:12 136be5d0fe8e: Download complete 03:56:12 e7c96db7181b: Verifying Checksum 03:56:12 e7c96db7181b: Download complete 03:56:12 894bfe63afcb: Verifying Checksum 03:56:12 894bfe63afcb: Download complete 03:56:12 e7c96db7181b: Pull complete 03:56:12 1868ca2cb446: Pull complete 03:56:12 136be5d0fe8e: Pull complete 03:56:13 894bfe63afcb: Pull complete 03:56:13 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 03:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 03:56:13 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56:13 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:56:13 $ docker top 728eff398316f466a9a99081c5208deb4793e37f93bdd8b3b3192223d548eceb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:14 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:56:14 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:56:16 $ docker stop --time=1 728eff398316f466a9a99081c5208deb4793e37f93bdd8b3b3192223d548eceb 03:56:17 $ docker rm -f 728eff398316f466a9a99081c5208deb4793e37f93bdd8b3b3192223d548eceb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:56:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:56:18 . [Pipeline] withDockerContainer 03:56:18 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56:18 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:56:18 $ docker top 4a47002b6c7589660cf85f1c8d3d8a36253b277b221f6a85765c30c33cf87542 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:19 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:56:19 + tee 03:56:19 clair timeout 1m0s 03:56:19 docker timeout: 1m0s 03:56:19 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:56:19 $ docker stop --time=1 4a47002b6c7589660cf85f1c8d3d8a36253b277b221f6a85765c30c33cf87542 03:56:21 $ docker rm -f 4a47002b6c7589660cf85f1c8d3d8a36253b277b221f6a85765c30c33cf87542 [Pipeline] // withDockerContainer [Pipeline] sh 03:56:21 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 03:56:21 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go_19fa6973f701ad94a11b5f6c391ca92bd197d7ff.html [Pipeline] writeFile [Pipeline] step 03:56:21 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 03:56:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:56:21 . [Pipeline] withDockerContainer 03:56:22 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56:22 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:56:22 $ docker top a1fb3f238d279d37660abd1ab8f6e3bbe2e7d34bde7dffdab7dfbb7df2ab1ec8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:23 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:56:23 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:56:24 $ docker stop --time=1 a1fb3f238d279d37660abd1ab8f6e3bbe2e7d34bde7dffdab7dfbb7df2ab1ec8 03:56:25 $ docker rm -f a1fb3f238d279d37660abd1ab8f6e3bbe2e7d34bde7dffdab7dfbb7df2ab1ec8 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:56:26 . [Pipeline] withDockerContainer 03:56:26 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56:26 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:56:27 $ docker top 97105eb63c0996e153d8d03c39dadf2a190c61a8ac2162c9a432925b95e60d85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:27 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:19fa6973f701ad94a11b5f6c391ca92bd197d7ff 03:56:27 + tee 03:56:27 clair timeout 1m0s 03:56:27 docker timeout: 1m0s 03:56:27 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:56:28 $ docker stop --time=1 97105eb63c0996e153d8d03c39dadf2a190c61a8ac2162c9a432925b95e60d85 03:56:29 $ docker rm -f 97105eb63c0996e153d8d03c39dadf2a190c61a8ac2162c9a432925b95e60d85 [Pipeline] // withDockerContainer [Pipeline] sh 03:56:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 03:56:29 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go-arm64_19fa6973f701ad94a11b5f6c391ca92bd197d7ff.html [Pipeline] writeFile [Pipeline] step 03:56:29 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 03:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:56:30 . [Pipeline] withDockerContainer 03:56:30 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:56:31 $ docker top f117d8a535d4e7932237a0ed279887d1f0ef8b263639b9cbe81b5a9a42411cec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:56:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:31 [ssh-agent] Looking for ssh-agent implementation... 03:56:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:31 $ docker exec f117d8a535d4e7932237a0ed279887d1f0ef8b263639b9cbe81b5a9a42411cec ssh-agent 03:56:32 SSH_AUTH_SOCK=/tmp/ssh-9V2NTSoH1ICO/agent.14 03:56:32 SSH_AGENT_PID=21 03:56:32 Running ssh-add (command line suppressed) 03:56:32 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5033709037090376192.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5033709037090376192.key) 03:56:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:32 + git semver tag 03:56:32 # -> Open(): unable to determine branch for HEAD 03:56:32 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:56:32 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:56:32 # $SEMVER_REMOTE_NAME = origin 03:56:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:56:32 # $SEMVER_USER_NAME = edgex-jenkins 03:56:32 # $SEMVER_BRANCH = master 03:56:32 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 03:56:32 # 19fa6973f701ad94a11b5f6c391ca92bd197d7ff HEAD 03:56:32 # -> Force: false 03:56:32 # b58b1a629d7250a9e09a05507f1dc5d575bf398a refs/tags/v1.2.0-dev.5 [Pipeline] } 03:56:32 $ docker exec --env ******** --env ******** f117d8a535d4e7932237a0ed279887d1f0ef8b263639b9cbe81b5a9a42411cec ssh-agent -k 03:56:33 unset SSH_AUTH_SOCK; 03:56:33 unset SSH_AGENT_PID; 03:56:33 echo Agent pid 21 killed; 03:56:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:56:33 + git semver [Pipeline] } 03:56:33 $ docker stop --time=1 f117d8a535d4e7932237a0ed279887d1f0ef8b263639b9cbe81b5a9a42411cec 03:56:34 $ docker rm -f f117d8a535d4e7932237a0ed279887d1f0ef8b263639b9cbe81b5a9a42411cec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:56:36 03:56:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:56:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:56:36 0.23.1-centos7: Pulling from edgex-lftools 03:56:36 ab5ef0e58194: Pulling fs layer 03:56:36 9712f1f96733: Pulling fs layer 03:56:36 63f879dbbcfc: Pulling fs layer 03:56:36 0d9ebad4ef96: Pulling fs layer 03:56:36 e9a5061849ea: Pulling fs layer 03:56:36 d747dcd14b5f: Pulling fs layer 03:56:36 2de7ff778b66: Pulling fs layer 03:56:36 e9a5061849ea: Waiting 03:56:36 d747dcd14b5f: Waiting 03:56:36 2de7ff778b66: Waiting 03:56:36 0d9ebad4ef96: Waiting 03:56:36 9712f1f96733: Verifying Checksum 03:56:36 9712f1f96733: Download complete 03:56:37 63f879dbbcfc: Verifying Checksum 03:56:37 63f879dbbcfc: Download complete 03:56:37 0d9ebad4ef96: Verifying Checksum 03:56:37 0d9ebad4ef96: Download complete 03:56:37 e9a5061849ea: Verifying Checksum 03:56:37 e9a5061849ea: Download complete 03:56:37 d747dcd14b5f: Verifying Checksum 03:56:37 d747dcd14b5f: Download complete 03:56:37 ab5ef0e58194: Verifying Checksum 03:56:37 ab5ef0e58194: Download complete 03:56:37 2de7ff778b66: Verifying Checksum 03:56:37 2de7ff778b66: Download complete 03:56:43 ab5ef0e58194: Pull complete 03:56:43 9712f1f96733: Pull complete 03:56:44 63f879dbbcfc: Pull complete 03:56:50 0d9ebad4ef96: Pull complete 03:56:51 e9a5061849ea: Pull complete 03:56:51 d747dcd14b5f: Pull complete 03:56:54 2de7ff778b66: Pull complete 03:56:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:56:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:56:54 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:56:54 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:56:55 $ docker top b98939d2c04022a94ef465a1df3d48b9f7de7620025a5537489f95e882e9f1f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:56:55 provisioning config files... 03:56:55 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6708684757459684622tmp 03:56:56 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config612796574416853457tmp 03:56:56 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8845814373305287214tmp [Pipeline] { [Pipeline] echo 03:56:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:56:56 ---> sigul-configuration.sh 03:56:56 gpg: directory `/root/.gnupg' created 03:56:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:56:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:56:56 gpg: keyring `/root/.gnupg/secring.gpg' created 03:56:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:56:56 gpg: CAST5 encrypted data 03:56:56 gpg: encrypted with 1 passphrase 03:56:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:56:56 + mkdir /home/jenkins 03:56:56 + mkdir /home/jenkins/sigul [Pipeline] sh 03:56:57 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 03:56:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:56:57 ---> sigul-install.sh 03:57:04 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:57:04 + git tag --list 03:57:04 v1.2.0-dev.5 [Pipeline] sh 03:57:04 + lftools sign git-tag v1.2.0-dev.5 03:57:05 Signing Git tag with Sigul... 03:57:05 Signing v1.2.0-dev.5 [Pipeline] echo 03:57:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:57:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:57:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:57:07 $ docker stop --time=1 b98939d2c04022a94ef465a1df3d48b9f7de7620025a5537489f95e882e9f1f3 03:57:08 $ docker rm -f b98939d2c04022a94ef465a1df3d48b9f7de7620025a5537489f95e882e9f1f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 03:57:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:09 . [Pipeline] withDockerContainer 03:57:09 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:57:09 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:57:10 $ docker top 0879905d1d81a33877ea97f14ec058c809ea885af8125fef44a8c8827290ded1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:57:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:10 [ssh-agent] Looking for ssh-agent implementation... 03:57:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:10 $ docker exec 0879905d1d81a33877ea97f14ec058c809ea885af8125fef44a8c8827290ded1 ssh-agent 03:57:10 SSH_AUTH_SOCK=/tmp/ssh-SNn1BsABKma0/agent.15 03:57:10 SSH_AGENT_PID=22 03:57:10 Running ssh-add (command line suppressed) 03:57:10 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_890738703050889848.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_890738703050889848.key) 03:57:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:11 + git semver bump pre 03:57:11 # -> Open(): unable to determine branch for HEAD 03:57:11 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:57:11 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:57:11 # $SEMVER_REMOTE_NAME = origin 03:57:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:57:11 # $SEMVER_USER_NAME = edgex-jenkins 03:57:11 # $SEMVER_BRANCH = master 03:57:11 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 03:57:11 1.2.0-dev.6 [Pipeline] } 03:57:11 $ docker exec --env ******** --env ******** 0879905d1d81a33877ea97f14ec058c809ea885af8125fef44a8c8827290ded1 ssh-agent -k 03:57:11 unset SSH_AUTH_SOCK; 03:57:11 unset SSH_AGENT_PID; 03:57:11 echo Agent pid 22 killed; 03:57:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:57:11 + git semver [Pipeline] } 03:57:11 $ docker stop --time=1 0879905d1d81a33877ea97f14ec058c809ea885af8125fef44a8c8827290ded1 03:57:13 $ docker rm -f 0879905d1d81a33877ea97f14ec058c809ea885af8125fef44a8c8827290ded1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:13 . [Pipeline] withDockerContainer 03:57:13 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:57:14 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:57:14 $ docker top 9867e524dda952d2b8c9f337709423378d94ed68a9c1e10cc4613cf2ca795c6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:57:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:14 [ssh-agent] Looking for ssh-agent implementation... 03:57:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:15 $ docker exec 9867e524dda952d2b8c9f337709423378d94ed68a9c1e10cc4613cf2ca795c6c ssh-agent 03:57:15 SSH_AUTH_SOCK=/tmp/ssh-BMGegdx6cv8s/agent.15 03:57:15 SSH_AGENT_PID=21 03:57:15 Running ssh-add (command line suppressed) 03:57:15 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2784336019294294605.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2784336019294294605.key) 03:57:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:15 + git semver push 03:57:15 # -> Open(): unable to determine branch for HEAD 03:57:15 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:57:15 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:57:15 # $SEMVER_REMOTE_NAME = origin 03:57:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:57:15 # $SEMVER_USER_NAME = edgex-jenkins 03:57:15 # $SEMVER_BRANCH = master 03:57:15 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 03:57:22 $ docker exec --env ******** --env ******** 9867e524dda952d2b8c9f337709423378d94ed68a9c1e10cc4613cf2ca795c6c ssh-agent -k 03:57:22 unset SSH_AUTH_SOCK; 03:57:22 unset SSH_AGENT_PID; 03:57:22 echo Agent pid 21 killed; 03:57:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:57:22 + git semver [Pipeline] } 03:57:22 $ docker stop --time=1 9867e524dda952d2b8c9f337709423378d94ed68a9c1e10cc4613cf2ca795c6c 03:57:24 $ docker rm -f 9867e524dda952d2b8c9f337709423378d94ed68a9c1e10cc4613cf2ca795c6c [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 03:57:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:57:25 ---> package-listing.sh 03:57:25 ++ facter osfamily 03:57:25 ++ tr '[:upper:]' '[:lower:]' 03:57:25 + OS_FAMILY=redhat 03:57:25 + workspace=/w/workspace/xfoundry_device-modbus-go_master 03:57:25 + START_PACKAGES=/tmp/packages_start.txt 03:57:25 + END_PACKAGES=/tmp/packages_end.txt 03:57:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:57:25 + PACKAGES=/tmp/packages_start.txt 03:57:25 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 03:57:25 + PACKAGES=/tmp/packages_end.txt 03:57:25 + case "${OS_FAMILY}" in 03:57:25 + rpm -qa 03:57:25 + sort 03:57:29 + '[' -f /tmp/packages_start.txt ']' 03:57:29 + '[' -f /tmp/packages_end.txt ']' 03:57:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:57:29 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 03:57:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 03:57:29 + 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 03:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:57:30 03:57:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:57:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:57:30 alpine: Pulling from edgex-lftools-log-publisher 03:57:30 c9b1b535fdd9: Pulling fs layer 03:57:30 2cc5ad85d9ab: Pulling fs layer 03:57:30 756a868c4378: Pulling fs layer 03:57:30 444b2fc9a129: Pulling fs layer 03:57:30 ea15f1150254: Pulling fs layer 03:57:30 41b27a9f41bf: Pulling fs layer 03:57:30 28c525ee5125: Pulling fs layer 03:57:30 094b1ea09ed8: Pulling fs layer 03:57:30 138eaada9080: Pulling fs layer 03:57:30 0622d0fa9048: Pulling fs layer 03:57:30 444b2fc9a129: Waiting 03:57:30 ea15f1150254: Waiting 03:57:30 41b27a9f41bf: Waiting 03:57:30 28c525ee5125: Waiting 03:57:30 094b1ea09ed8: Waiting 03:57:30 138eaada9080: Waiting 03:57:30 0622d0fa9048: Waiting 03:57:30 2cc5ad85d9ab: Verifying Checksum 03:57:30 2cc5ad85d9ab: Download complete 03:57:30 444b2fc9a129: Verifying Checksum 03:57:30 444b2fc9a129: Download complete 03:57:30 c9b1b535fdd9: Verifying Checksum 03:57:30 ea15f1150254: Verifying Checksum 03:57:30 ea15f1150254: Download complete 03:57:30 28c525ee5125: Verifying Checksum 03:57:30 28c525ee5125: Download complete 03:57:31 c9b1b535fdd9: Pull complete 03:57:31 756a868c4378: Verifying Checksum 03:57:31 756a868c4378: Download complete 03:57:31 138eaada9080: Verifying Checksum 03:57:31 138eaada9080: Download complete 03:57:31 2cc5ad85d9ab: Pull complete 03:57:31 0622d0fa9048: Verifying Checksum 03:57:31 0622d0fa9048: Download complete 03:57:31 094b1ea09ed8: Verifying Checksum 03:57:31 094b1ea09ed8: Download complete 03:57:31 41b27a9f41bf: Verifying Checksum 03:57:31 41b27a9f41bf: Download complete 03:57:34 756a868c4378: Pull complete 03:57:34 444b2fc9a129: Pull complete 03:57:34 ea15f1150254: Pull complete 03:57:37 41b27a9f41bf: Pull complete 03:57:37 28c525ee5125: Pull complete 03:57:40 094b1ea09ed8: Pull complete 03:57:40 138eaada9080: Pull complete 03:57:40 0622d0fa9048: Pull complete 03:57:40 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:57:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:57:40 prd-centos7-docker-4c-2g-4653 does not seem to be running inside a container 03:57:40 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:57:41 $ docker top 22b44b473c9f45794c341d1937a89bd535918a591fe1a798bab8319fcda38a05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:57:41 provisioning config files... 03:57:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3484360460108722948tmp [Pipeline] { [Pipeline] echo 03:57:41 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:57:41 ---> create-netrc.sh [Pipeline] echo 03:57:41 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:57:42 ---> logs-deploy.sh 03:57:42 + ARCHIVE_ARTIFACTS= 03:57:42 + LOGS_SERVER=https://logs.edgexfoundry.org 03:57:42 + '[' https://logs.edgexfoundry.org == None ']' 03:57:42 + NEXUS_URL=https://nexus.edgexfoundry.org 03:57:42 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/5 03:57:42 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/5/ 03:57:42 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/5 /w/workspace/xfoundry_device-modbus-go_master 03:57:43 Archives upload complete. 03:57:43 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/5/