Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1159 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 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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 Checking out Revision 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 Commit message: "Merge pull request #162 from weichou1229/issue-161" > git rev-list --no-walk 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:27:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:27:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:27:11 ========================================================= 08:27:11 EdgeX Global Pipelines Version Info 08:27:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:27:12 ------------------- 08:27:12 stable info: 08:27:12 ------------------- 08:27:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:27:12 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 08:27:12 Message: update stable to v1.0.115 08:27:13 ------------------- 08:27:13 experimental info: 08:27:13 ------------------- 08:27:13 Commited By: **** collab-it+edgex@linuxfoundation.org 08:27:13 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 08:27:13 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:27:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 08:27:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 08:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:27:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:27:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 [Pipeline] echo 08:27:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bcfeef [Pipeline] echo 08:27:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:27:16 + git log --format=format:%s -1 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 [Pipeline] echo 08:27:16 GIT_COMMIT: 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1, Commit Message: Merge pull request #162 from weichou1229/issue-161 [Pipeline] echo 08:27:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:27:18 08:27:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:27:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:27:18 latest: Pulling from edgex-devops/git-semver 08:27:18 31603596830f: Pulling fs layer 08:27:18 2a8b12db71e7: Pulling fs layer 08:27:18 6ca5941a6612: Pulling fs layer 08:27:18 ecc8261a40a4: Pulling fs layer 08:27:18 ecc8261a40a4: Waiting 08:27:18 2a8b12db71e7: Verifying Checksum 08:27:18 2a8b12db71e7: Download complete 08:27:18 31603596830f: Verifying Checksum 08:27:18 31603596830f: Download complete 08:27:18 ecc8261a40a4: Verifying Checksum 08:27:18 ecc8261a40a4: Download complete 08:27:18 6ca5941a6612: Verifying Checksum 08:27:18 6ca5941a6612: Download complete 08:27:18 31603596830f: Pull complete 08:27:19 2a8b12db71e7: Pull complete 08:27:19 6ca5941a6612: Pull complete 08:27:20 ecc8261a40a4: Pull complete 08:27:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:27:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:27:20 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:27:20 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:27:22 $ docker top e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:27:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:27:22 [ssh-agent] Looking for ssh-agent implementation... 08:27:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:27:22 $ docker exec e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec ssh-agent 08:27:23 SSH_AUTH_SOCK=/tmp/ssh-onE9ww68r1ty/agent.11 08:27:23 SSH_AGENT_PID=16 08:27:23 Running ssh-add (command line suppressed) 08:27:23 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1544073730382721436.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1544073730382721436.key) 08:27:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:27:23 + git describe --exact-match --tags HEAD 08:27:23 fatal: No names found, cannot describe anything. [Pipeline] } 08:27:23 $ docker exec --env ******** --env ******** e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec ssh-agent -k 08:27:23 unset SSH_AUTH_SOCK; 08:27:23 unset SSH_AGENT_PID; 08:27:23 echo Agent pid 16 killed; 08:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:27:24 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:27:24 This usually means this commit has not been tagged. [Pipeline] sshagent 08:27:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:27:24 [ssh-agent] Looking for ssh-agent implementation... 08:27:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:27:24 $ docker exec e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec ssh-agent 08:27:24 SSH_AUTH_SOCK=/tmp/ssh-RP21xCPKmYyb/agent.44 08:27:24 SSH_AGENT_PID=49 08:27:24 Running ssh-add (command line suppressed) 08:27:24 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4269044163036018022.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4269044163036018022.key) 08:27:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:27:25 + git semver init 08:27:25 # -> Open(): unable to determine branch for HEAD 08:27:25 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:27:25 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:27:25 # $SEMVER_REMOTE_NAME = origin 08:27:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:27:25 # $SEMVER_USER_NAME = edgex-jenkins 08:27:25 # $SEMVER_BRANCH = master 08:27:25 # $SEMVER_TEMP = /tmp/semver-768353870 08:27:25 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 08:27:25 # '/tmp/semver-768353870' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 08:27:25 # -> Force: false 08:27:25 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 08:27:25 $ docker exec --env ******** --env ******** e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec ssh-agent -k 08:27:25 unset SSH_AUTH_SOCK; 08:27:25 unset SSH_AGENT_PID; 08:27:25 echo Agent pid 49 killed; 08:27:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:27:26 + git semver [Pipeline] } 08:27:26 $ docker stop --time=1 e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec 08:27:27 $ docker rm -f e294d6fbc44ed48fc4240523c560e474a4a6441e2d462b3b2a24e687f7617aec [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:27:28 Stashed 23 file(s) [Pipeline] echo 08:27:28 [edgeXSemver]: initialized semver on version 1.2.3-dev.4 [Pipeline] echo 08:27:28 Archived original version: [1.2.3-dev.4] [Pipeline] } [Pipeline] // script [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 08:27:43 Still waiting to schedule task 08:27:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:27:43 Still waiting to schedule task 08:27:43 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:29:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1160 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 08:29:27 Running in /w/workspace/device-modbus-go/22 [Pipeline] { [Pipeline] checkout 08:29:32 using credential edgex-jenkins-ssh 08:29:32 Cloning the remote Git repository 08:29:32 Cloning with configured refspecs honoured and without tags 08:29:33 Fetching without tags 08:29:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:29:32 > git init /w/workspace/device-modbus-go/22 # timeout=10 08:29:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:29:32 > git --version # timeout=10 08:29:32 > git --version # 'git version 2.17.1' 08:29:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:29:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:29:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:29:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:29:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:29:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:34 Checking out Revision 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 (master) 08:29:34 > git config core.sparsecheckout # timeout=10 08:29:34 > git checkout -f 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 08:29:38 Commit message: "Merge pull request #162 from weichou1229/issue-161" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:29:39 ========================================================= 08:29:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:29:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:29:41 + 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 . 08:29:42 Sending build context to Docker daemon 661.5kB 08:29:42 Step 1/8 : ARG BASE=golang:1.13-alpine 08:29:42 Step 2/8 : FROM ${BASE} 08:29:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:29:42 b538f80385f9: Pulling fs layer 08:29:42 74f711af9a0d: Pulling fs layer 08:29:42 99f96fe45779: Pulling fs layer 08:29:42 fd7a069fd194: Pulling fs layer 08:29:42 66aa3694b03b: Pulling fs layer 08:29:42 170f70906a0f: Pulling fs layer 08:29:42 ad7c5574e4b9: Pulling fs layer 08:29:42 e772456be8f7: Pulling fs layer 08:29:42 c890913d741a: Pulling fs layer 08:29:42 2480fcc9aa5a: Pulling fs layer 08:29:42 09adf4765672: Pulling fs layer 08:29:42 66aa3694b03b: Waiting 08:29:42 170f70906a0f: Waiting 08:29:42 ad7c5574e4b9: Waiting 08:29:42 e772456be8f7: Waiting 08:29:42 c890913d741a: Waiting 08:29:42 2480fcc9aa5a: Waiting 08:29:42 09adf4765672: Waiting 08:29:42 fd7a069fd194: Waiting 08:29:42 99f96fe45779: Verifying Checksum 08:29:42 99f96fe45779: Download complete 08:29:42 74f711af9a0d: Verifying Checksum 08:29:42 74f711af9a0d: Download complete 08:29:42 66aa3694b03b: Download complete 08:29:42 170f70906a0f: Verifying Checksum 08:29:42 170f70906a0f: Download complete 08:29:42 b538f80385f9: Verifying Checksum 08:29:42 b538f80385f9: Download complete 08:29:43 b538f80385f9: Pull complete 08:29:44 74f711af9a0d: Pull complete 08:29:44 99f96fe45779: Pull complete 08:29:45 ad7c5574e4b9: Download complete 08:29:45 c890913d741a: Verifying Checksum 08:29:45 c890913d741a: Download complete 08:29:47 2480fcc9aa5a: Verifying Checksum 08:29:47 2480fcc9aa5a: Download complete 08:29:47 e772456be8f7: Verifying Checksum 08:29:47 e772456be8f7: Download complete 08:29:47 09adf4765672: Verifying Checksum 08:29:47 09adf4765672: Download complete 08:29:48 fd7a069fd194: Verifying Checksum 08:29:48 fd7a069fd194: Download complete 08:30:00 fd7a069fd194: Pull complete 08:30:00 66aa3694b03b: Pull complete 08:30:00 170f70906a0f: Pull complete 08:30:03 ad7c5574e4b9: Pull complete 08:30:08 e772456be8f7: Pull complete 08:30:08 c890913d741a: Pull complete 08:30:10 2480fcc9aa5a: Pull complete 08:30:11 09adf4765672: Pull complete 08:30:11 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:30:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:30:11 ---> 2248a725d1cf 08:30:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:30:15 ---> Running in a1910d870ba2 08:30:15 Removing intermediate container a1910d870ba2 08:30:15 ---> 258e0697dad8 08:30:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:30:15 ---> Running in fea28f13743d 08:30:18 Removing intermediate container fea28f13743d 08:30:18 ---> aa6f5278b450 08:30:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:30:18 ---> Running in b56b0931c1e7 08:30:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:30:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:30:21 (1/14) Installing libmagic (5.38-r0) 08:30:21 (2/14) Installing file (5.38-r0) 08:30:21 (3/14) Installing libc-dev (0.7.2-r3) 08:30:21 (4/14) Installing g++ (9.3.0-r2) 08:30:25 (5/14) Installing fortify-headers (1.1-r0) 08:30:25 (6/14) Installing patch (2.7.6-r6) 08:30:25 (7/14) Installing build-base (0.5-r2) 08:30:25 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:30:25 Running on prd-centos7-docker-4c-2g-1161 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 08:30:26 Running in /w/workspace/device-modbus-go/22 [Pipeline] { [Pipeline] checkout 08:30:26 (9/14) Installing libedit (20191231.3.1-r0) 08:30:26 (10/14) Installing openssh-client (8.3_p1-r0) 08:30:26 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:30:26 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:30:26 (13/14) Installing openssh-server (8.3_p1-r0) 08:30:26 (14/14) Installing openssh (8.3_p1-r0) 08:30:26 Executing busybox-1.31.1-r16.trigger 08:30:26 OK: 221 MiB in 53 packages 08:30:28 using credential edgex-jenkins-ssh 08:30:28 Cloning the remote Git repository 08:30:28 Cloning with configured refspecs honoured and without tags 08:30:29 Fetching without tags 08:30:28 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:30:28 > git init /w/workspace/device-modbus-go/22 # timeout=10 08:30:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:30:28 > git --version # timeout=10 08:30:28 > git --version # 'git version 2.16.5' 08:30:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:30:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:30:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:30:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:30:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:30:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:30:29 Checking out Revision 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 (master) 08:30:29 > git config core.sparsecheckout # timeout=10 08:30:29 > git checkout -f 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 08:30:31 Removing intermediate container b56b0931c1e7 08:30:31 ---> b7f50d59e893 08:30:31 Step 6/8 : WORKDIR /device-modbus-go 08:30:31 ---> Running in 234d4e33362f 08:30:31 Removing intermediate container 234d4e33362f 08:30:31 ---> e6e731df7070 08:30:31 Step 7/8 : COPY . . 08:30:32 ---> 63141d35c1dc 08:30:32 Step 8/8 : RUN go mod download 08:30:32 ---> Running in 3f4206f7a0e3 08:30:33 Commit message: "Merge pull request #162 from weichou1229/issue-161" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:30:34 ========================================================= 08:30:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:30:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:30:34 + 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 . 08:30:35 Sending build context to Docker daemon 661.5kB 08:30:35 Step 1/8 : ARG BASE=golang:1.13-alpine 08:30:35 Step 2/8 : FROM ${BASE} 08:30:35 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:30:35 df20fa9351a1: Pulling fs layer 08:30:35 ed8968b2872e: Pulling fs layer 08:30:35 a92cc7c5fd73: Pulling fs layer 08:30:35 2dd03ba5bac4: Pulling fs layer 08:30:35 1e091d79d1de: Pulling fs layer 08:30:35 481702a1767f: Pulling fs layer 08:30:35 f64a6f60c768: Pulling fs layer 08:30:35 e78d2573fc39: Pulling fs layer 08:30:35 e876d2f968b6: Pulling fs layer 08:30:35 ce8a83651883: Pulling fs layer 08:30:35 07967f4d0e4b: Pulling fs layer 08:30:35 f64a6f60c768: Waiting 08:30:35 e78d2573fc39: Waiting 08:30:35 e876d2f968b6: Waiting 08:30:35 ce8a83651883: Waiting 08:30:35 07967f4d0e4b: Waiting 08:30:35 2dd03ba5bac4: Waiting 08:30:35 1e091d79d1de: Waiting 08:30:35 481702a1767f: Waiting 08:30:35 a92cc7c5fd73: Download complete 08:30:35 ed8968b2872e: Download complete 08:30:35 1e091d79d1de: Download complete 08:30:35 481702a1767f: Verifying Checksum 08:30:35 481702a1767f: Download complete 08:30:35 df20fa9351a1: Verifying Checksum 08:30:35 df20fa9351a1: Download complete 08:30:35 df20fa9351a1: Pull complete 08:30:36 f64a6f60c768: Verifying Checksum 08:30:36 f64a6f60c768: Download complete 08:30:36 e876d2f968b6: Verifying Checksum 08:30:36 e876d2f968b6: Download complete 08:30:36 go: finding github.com/BurntSushi/toml v0.3.1 08:30:36 go: finding github.com/OneOfOne/xxhash v1.2.6 08:30:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:30:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:30:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:30:36 go: finding github.com/bgentry/speakeasy v0.1.0 08:30:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:30:36 go: finding github.com/davecgh/go-spew v1.1.1 08:30:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:30:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:30:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:30:36 e78d2573fc39: Verifying Checksum 08:30:36 e78d2573fc39: Download complete 08:30:36 ce8a83651883: Verifying Checksum 08:30:36 ce8a83651883: Download complete 08:30:36 07967f4d0e4b: Verifying Checksum 08:30:36 07967f4d0e4b: Download complete 08:30:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:30:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:30:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:30:36 go: finding github.com/fatih/color v1.7.0 08:30:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:30:36 go: finding github.com/go-kit/kit v0.8.0 08:30:36 go: finding github.com/go-logfmt/logfmt v0.4.0 08:30:36 2dd03ba5bac4: Verifying Checksum 08:30:36 2dd03ba5bac4: Download complete 08:30:37 go: finding github.com/go-stack/stack v1.8.0 08:30:37 go: finding github.com/goburrow/modbus v0.1.0 08:30:37 go: finding github.com/goburrow/serial v0.1.0 08:30:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:30:37 go: finding github.com/google/uuid v1.1.1 08:30:37 go: finding github.com/gorilla/mux v1.7.1 08:30:37 go: finding github.com/hashicorp/consul/api v1.1.0 08:30:37 ed8968b2872e: Pull complete 08:30:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:30:37 go: finding github.com/hashicorp/errwrap v1.0.0 08:30:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:30:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:30:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:30:37 go: finding github.com/hashicorp/go-multierror v1.0.0 08:30:37 a92cc7c5fd73: Pull complete 08:30:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:30:37 go: finding github.com/hashicorp/go-sockaddr v1.0.1 08:30:37 go: finding github.com/hashicorp/go-syslog v1.0.0 08:30:37 go: finding github.com/hashicorp/go-uuid v1.0.1 08:30:37 go: finding github.com/hashicorp/go.net v0.0.1 08:30:37 go: finding github.com/hashicorp/golang-lru v0.5.1 08:30:37 go: finding github.com/hashicorp/logutils v1.0.0 08:30:37 go: finding github.com/hashicorp/mdns v1.0.0 08:30:37 go: finding github.com/hashicorp/memberlist v0.1.3 08:30:37 go: finding github.com/hashicorp/serf v0.8.2 08:30:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:30:37 go: finding github.com/mattn/go-colorable v0.0.9 08:30:37 go: finding github.com/mattn/go-isatty v0.0.3 08:30:37 go: finding github.com/miekg/dns v1.1.4 08:30:38 go: finding github.com/mitchellh/cli v1.0.0 08:30:38 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:30:38 go: finding github.com/mitchellh/copystructure v1.0.0 08:30:38 go: finding github.com/mitchellh/go-homedir v1.1.0 08:30:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:30:38 go: finding github.com/mitchellh/go-wordwrap v1.0.0 08:30:38 go: finding github.com/mitchellh/gox v0.4.0 08:30:38 go: finding github.com/mitchellh/iochan v1.0.0 08:30:38 go: finding github.com/mitchellh/mapstructure v1.1.2 08:30:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:30:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:30:38 go: finding github.com/pelletier/go-toml v1.2.0 08:30:38 go: finding github.com/pkg/errors v0.8.1 08:30:38 go: finding github.com/pmezard/go-difflib v1.0.0 08:30:38 go: finding github.com/posener/complete v1.1.1 08:30:38 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 08:30:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:30:38 go: finding github.com/stretchr/objx v0.1.0 08:30:38 go: finding github.com/stretchr/testify v1.5.1 08:30:38 go: finding github.com/ugorji/go v1.1.4 08:30:38 go: finding github.com/x448/float16 v0.8.4 08:30:38 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:30:38 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 08:30:38 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:30:38 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:30:38 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:30:39 go: finding gopkg.in/yaml.v2 v2.2.8 08:30:44 2dd03ba5bac4: Pull complete 08:30:44 1e091d79d1de: Pull complete 08:30:44 481702a1767f: Pull complete 08:30:48 f64a6f60c768: Pull complete 08:30:49 Removing intermediate container 3f4206f7a0e3 08:30:49 ---> eadcd2c197e0 08:30:49 Successfully built eadcd2c197e0 08:30:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 08:30:50 e78d2573fc39: Pull complete 08:30:50 e876d2f968b6: Pull complete 08:30:51 ce8a83651883: Pull complete 08:30:52 07967f4d0e4b: Pull complete 08:30:52 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:30:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:30:52 ---> 5d7c900382c6 08:30:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] sh 08:30:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:30:53 + ls -al . 08:30:53 total 100 08:30:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 08:29 . 08:30:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 08:29 .. 08:30:53 -rw-rw-r-- 1 jenkins jenkins 140 Sep 2 08:29 .dockerignore 08:30:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 08:29 .git 08:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 08:29 .github 08:30:53 -rw-rw-r-- 1 jenkins jenkins 330 Sep 2 08:29 .gitignore 08:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 08:29 .semver 08:30:53 -rw-rw-r-- 1 jenkins jenkins 4564 Sep 2 08:29 Attribution.txt 08:30:53 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 2 08:29 Dockerfile 08:30:53 -rw-rw-r-- 1 jenkins jenkins 954 Sep 2 08:29 Dockerfile.build 08:30:53 -rw-rw-r-- 1 jenkins jenkins 702 Sep 2 08:29 Jenkinsfile 08:30:53 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 2 08:29 LICENSE 08:30:53 -rw-rw-r-- 1 jenkins jenkins 880 Sep 2 08:29 Makefile 08:30:53 -rw-rw-r-- 1 jenkins jenkins 591 Sep 2 08:29 README.md 08:30:53 -rw-rw-r-- 1 jenkins jenkins 11 Sep 2 08:27 VERSION 08:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 08:29 bin 08:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 08:29 cmd 08:30:53 -rw-rw-r-- 1 jenkins jenkins 559 Sep 2 08:29 go.mod 08:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 08:29 internal 08:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 08:29 simulator 08:30:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 08:29 snap 08:30:53 -rw-rw-r-- 1 jenkins jenkins 229 Sep 2 08:29 version.go [Pipeline] isUnix [Pipeline] sh 08:30:53 + 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=1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 --label arch=arm64 --label version=1.2.3-dev.4 . 08:30:53 Sending build context to Docker daemon 661.5kB 08:30:53 Step 1/20 : ARG BASE=golang:1.13-alpine 08:30:53 Step 2/20 : FROM ${BASE} AS builder 08:30:53 ---> eadcd2c197e0 08:30:53 Step 3/20 : ARG MAKE='make build' 08:30:53 ---> Running in 1de53b6e1ebb 08:30:54 ---> Running in 2e4597c8ff8e 08:30:54 Removing intermediate container 2e4597c8ff8e 08:30:54 ---> cb2a6fc0d028 08:30:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:30:54 ---> Running in 1bf23613da93 08:30:54 Removing intermediate container 1de53b6e1ebb 08:30:54 ---> 63af5e2ac4fa 08:30:54 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:30:54 ---> Running in b6d4b13fd1a1 08:30:55 Removing intermediate container 1bf23613da93 08:30:55 ---> 790a3f585263 08:30:55 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:30:55 ---> Running in 48f9790a342b 08:30:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:30:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:30:56 (1/14) Installing libmagic (5.38-r0) 08:30:57 (2/14) Installing file (5.38-r0) 08:30:57 (3/14) Installing libc-dev (0.7.2-r3) 08:30:57 Removing intermediate container b6d4b13fd1a1 08:30:57 ---> e21de8c7546c 08:30:57 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:30:57 ---> Running in 79ff0a648afd 08:30:57 (4/14) Installing g++ (9.3.0-r2) 08:30:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:30:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:31:00 OK: 221 MiB in 53 packages 08:31:01 Removing intermediate container 79ff0a648afd 08:31:01 ---> 87ecdf628417 08:31:01 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:31:01 ---> Running in 70576dc9d786 08:31:02 Removing intermediate container 70576dc9d786 08:31:02 ---> 0bd5bfcfeb3d 08:31:02 Step 7/20 : COPY . . 08:31:02 (5/14) Installing fortify-headers (1.1-r0) 08:31:02 (6/14) Installing patch (2.7.6-r6) 08:31:02 (7/14) Installing build-base (0.5-r2) 08:31:02 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:31:02 (9/14) Installing libedit (20191231.3.1-r0) 08:31:02 (10/14) Installing openssh-client (8.3_p1-r0) 08:31:02 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:31:02 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:31:02 (13/14) Installing openssh-server (8.3_p1-r0) 08:31:02 ---> be67baf0b6ce 08:31:02 Step 8/20 : RUN ${MAKE} 08:31:02 ---> Running in bf33fee2cd9c 08:31:03 (14/14) Installing openssh (8.3_p1-r0) 08:31:03 Executing busybox-1.31.1-r16.trigger 08:31:03 OK: 237 MiB in 53 packages 08:31:04 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.4" -o cmd/device-modbus ./cmd 08:31:06 Removing intermediate container 48f9790a342b 08:31:06 ---> 507a58836293 08:31:06 Step 6/8 : WORKDIR /device-modbus-go 08:31:06 ---> Running in e9dc06d064a7 08:31:06 Removing intermediate container e9dc06d064a7 08:31:06 ---> 8e2be58b8237 08:31:06 Step 7/8 : COPY . . 08:31:07 ---> e502107e9fd0 08:31:07 Step 8/8 : RUN go mod download 08:31:07 ---> Running in f9407df3293b 08:31:10 go: finding github.com/BurntSushi/toml v0.3.1 08:31:10 go: finding github.com/OneOfOne/xxhash v1.2.6 08:31:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:31:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:31:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:31:10 go: finding github.com/bgentry/speakeasy v0.1.0 08:31:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:31:10 go: finding github.com/davecgh/go-spew v1.1.1 08:31:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:31:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:31:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:31:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:31:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:31:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:31:10 go: finding github.com/fatih/color v1.7.0 08:31:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:31:10 go: finding github.com/go-kit/kit v0.8.0 08:31:10 go: finding github.com/go-logfmt/logfmt v0.4.0 08:31:10 go: finding github.com/go-stack/stack v1.8.0 08:31:10 go: finding github.com/goburrow/modbus v0.1.0 08:31:10 go: finding github.com/goburrow/serial v0.1.0 08:31:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:31:10 go: finding github.com/google/uuid v1.1.1 08:31:10 go: finding github.com/gorilla/mux v1.7.1 08:31:10 go: finding github.com/hashicorp/consul/api v1.1.0 08:31:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:31:10 go: finding github.com/hashicorp/errwrap v1.0.0 08:31:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:31:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:31:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:31:10 go: finding github.com/hashicorp/go-multierror v1.0.0 08:31:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:31:10 go: finding github.com/hashicorp/go-sockaddr v1.0.1 08:31:10 go: finding github.com/hashicorp/go-syslog v1.0.0 08:31:10 go: finding github.com/hashicorp/go-uuid v1.0.1 08:31:11 go: finding github.com/hashicorp/go.net v0.0.1 08:31:11 go: finding github.com/hashicorp/golang-lru v0.5.1 08:31:11 go: finding github.com/hashicorp/logutils v1.0.0 08:31:11 go: finding github.com/hashicorp/mdns v1.0.0 08:31:11 go: finding github.com/hashicorp/memberlist v0.1.3 08:31:11 go: finding github.com/hashicorp/serf v0.8.2 08:31:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:31:11 go: finding github.com/mattn/go-colorable v0.0.9 08:31:11 go: finding github.com/mattn/go-isatty v0.0.3 08:31:11 go: finding github.com/miekg/dns v1.1.4 08:31:11 go: finding github.com/mitchellh/cli v1.0.0 08:31:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:31:11 go: finding github.com/mitchellh/copystructure v1.0.0 08:31:11 go: finding github.com/mitchellh/go-homedir v1.1.0 08:31:11 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:31:11 go: finding github.com/mitchellh/go-wordwrap v1.0.0 08:31:11 go: finding github.com/mitchellh/gox v0.4.0 08:31:11 go: finding github.com/mitchellh/iochan v1.0.0 08:31:11 go: finding github.com/mitchellh/mapstructure v1.1.2 08:31:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:31:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:31:11 go: finding github.com/pelletier/go-toml v1.2.0 08:31:11 go: finding github.com/pkg/errors v0.8.1 08:31:11 go: finding github.com/pmezard/go-difflib v1.0.0 08:31:11 go: finding github.com/posener/complete v1.1.1 08:31:11 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 08:31:12 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:31:12 go: finding github.com/stretchr/objx v0.1.0 08:31:12 go: finding github.com/stretchr/testify v1.5.1 08:31:12 go: finding github.com/ugorji/go v1.1.4 08:31:12 go: finding github.com/x448/float16 v0.8.4 08:31:12 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:31:12 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 08:31:12 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:31:12 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:31:12 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:31:12 go: finding gopkg.in/yaml.v2 v2.2.8 08:31:20 Removing intermediate container f9407df3293b 08:31:20 ---> 1a9e69595066 08:31:20 Successfully built 1a9e69595066 08:31:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:31:21 + ls -al . 08:31:21 total 64 08:31:21 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 2 08:30 . 08:31:21 drwxrwxr-x. 4 jenkins jenkins 30 Sep 2 08:30 .. 08:31:21 -rw-rw-r--. 1 jenkins jenkins 4564 Sep 2 08:30 Attribution.txt 08:31:21 drwxrwxr-x. 2 jenkins jenkins 87 Sep 2 08:30 bin 08:31:21 drwxrwxr-x. 3 jenkins jenkins 32 Sep 2 08:30 cmd 08:31:21 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 2 08:30 Dockerfile 08:31:21 -rw-rw-r--. 1 jenkins jenkins 954 Sep 2 08:30 Dockerfile.build 08:31:21 -rw-rw-r--. 1 jenkins jenkins 140 Sep 2 08:30 .dockerignore 08:31:21 drwxrwxr-x. 8 jenkins jenkins 162 Sep 2 08:30 .git 08:31:21 drwxrwxr-x. 2 jenkins jenkins 38 Sep 2 08:30 .github 08:31:21 -rw-rw-r--. 1 jenkins jenkins 330 Sep 2 08:30 .gitignore 08:31:21 -rw-rw-r--. 1 jenkins jenkins 559 Sep 2 08:30 go.mod 08:31:21 drwxrwxr-x. 3 jenkins jenkins 20 Sep 2 08:30 internal 08:31:21 -rw-rw-r--. 1 jenkins jenkins 702 Sep 2 08:30 Jenkinsfile 08:31:21 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 2 08:30 LICENSE 08:31:21 -rw-rw-r--. 1 jenkins jenkins 880 Sep 2 08:30 Makefile 08:31:21 -rw-rw-r--. 1 jenkins jenkins 591 Sep 2 08:30 README.md 08:31:21 drwxrwxr-x. 3 jenkins jenkins 44 Sep 2 08:30 .semver 08:31:21 drwxrwxr-x. 2 jenkins jenkins 52 Sep 2 08:30 simulator 08:31:21 drwxrwxr-x. 4 jenkins jenkins 54 Sep 2 08:30 snap 08:31:21 -rw-rw-r--. 1 jenkins jenkins 11 Sep 2 08:27 VERSION 08:31:21 -rw-rw-r--. 1 jenkins jenkins 229 Sep 2 08:30 version.go [Pipeline] isUnix [Pipeline] sh 08:31:22 + 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=1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 --label arch=amd64 --label version=1.2.3-dev.4 . 08:31:22 Sending build context to Docker daemon 661.5kB 08:31:22 Step 1/20 : ARG BASE=golang:1.13-alpine 08:31:22 Step 2/20 : FROM ${BASE} AS builder 08:31:22 ---> 1a9e69595066 08:31:22 Step 3/20 : ARG MAKE='make build' 08:31:22 ---> Running in dcc3925d7f30 08:31:22 Removing intermediate container dcc3925d7f30 08:31:22 ---> 874990cc0cac 08:31:22 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:31:22 ---> Running in 931fa1186655 08:31:24 Removing intermediate container 931fa1186655 08:31:24 ---> 3518c4b4bb12 08:31:24 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:31:24 ---> Running in 413aec69e1d0 08:31:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:31:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:31:26 OK: 237 MiB in 53 packages 08:31:27 Removing intermediate container 413aec69e1d0 08:31:27 ---> fd48b47b8d4e 08:31:27 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:31:27 ---> Running in e230b53db5f5 08:31:27 Removing intermediate container e230b53db5f5 08:31:27 ---> 01ed5d5415c1 08:31:27 Step 7/20 : COPY . . 08:31:28 ---> 6eb8da33ea26 08:31:28 Step 8/20 : RUN ${MAKE} 08:31:28 ---> Running in 6aad4f0d798d 08:31:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.4" -o cmd/device-modbus ./cmd 08:31:31 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:31:35 Removing intermediate container bf33fee2cd9c 08:31:35 ---> f08f0f6325a9 08:31:35 Step 9/20 : FROM scratch 08:31:35 ---> 08:31:35 Step 10/20 : ENV APP_PORT=49991 08:31:35 ---> Running in 4d2c2f3397f5 08:31:35 Removing intermediate container 4d2c2f3397f5 08:31:35 ---> fd7ac03dc342 08:31:35 Step 11/20 : EXPOSE $APP_PORT 08:31:35 ---> Running in e01bc8adc3a0 08:31:36 Removing intermediate container e01bc8adc3a0 08:31:36 ---> 5c0ece341f5b 08:31:36 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:31:37 ---> 9e60f42a5253 08:31:37 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:31:38 ---> 6b4e1322f5ab 08:31:38 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:31:38 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:31:38 ---> 673604548d44 08:31:38 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:31:39 ---> Running in 8cdb878344e8 08:31:39 Removing intermediate container 8cdb878344e8 08:31:39 ---> c0f7b378cd11 08:31:39 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:31:39 ---> Running in 31857ee2013e 08:31:39 Removing intermediate container 31857ee2013e 08:31:39 ---> a55f84b1b526 08:31:39 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:31:40 ---> Running in d051c6d3727e 08:31:40 Removing intermediate container d051c6d3727e 08:31:40 ---> 903fbf762613 08:31:40 Step 18/20 : LABEL arch=arm64 08:31:40 Removing intermediate container 6aad4f0d798d 08:31:40 ---> 51c42026a11c 08:31:40 Step 9/20 : FROM scratch 08:31:40 ---> 08:31:40 Step 10/20 : ENV APP_PORT=49991 08:31:40 ---> Running in d5c438e6b085 08:31:41 ---> Running in 708ac8c2fd41 08:31:41 Removing intermediate container 708ac8c2fd41 08:31:41 ---> cfc9f421e609 08:31:41 Step 11/20 : EXPOSE $APP_PORT 08:31:41 ---> Running in 2f972cbbb4a5 08:31:41 Removing intermediate container d5c438e6b085 08:31:41 ---> 5d84a1f68dc9 08:31:41 Step 19/20 : LABEL git_sha=1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:41 Removing intermediate container 2f972cbbb4a5 08:31:41 ---> 5892ea016785 08:31:41 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:31:41 ---> Running in b91600bb1a18 08:31:41 Removing intermediate container b91600bb1a18 08:31:41 ---> 562951bcf9c3 08:31:41 Step 20/20 : LABEL version=1.2.3-dev.4 08:31:41 ---> 69a717f603ed 08:31:41 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:31:41 ---> 21488a39fb5d 08:31:41 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:31:41 ---> Running in cc384b144424 08:31:42 ---> 67a33ae795f2 08:31:42 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:31:42 ---> Running in c8aa6fe726f6 08:31:42 Removing intermediate container cc384b144424 08:31:42 ---> 70daba23e13c 08:31:42 [Warning] One or more build-args [ARCH] were not consumed 08:31:42 Successfully built 70daba23e13c 08:31:42 Removing intermediate container c8aa6fe726f6 08:31:42 ---> 089f57c92729 08:31:42 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:31:42 ---> Running in a199eed6f55e 08:31:42 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 08:31:42 Removing intermediate container a199eed6f55e 08:31:42 ---> 8852e838b5ed 08:31:42 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:31:42 ---> Running in ef53acfd838e [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 08:31:42 Removing intermediate container ef53acfd838e 08:31:42 ---> 73a96bad49a2 08:31:42 Step 18/20 : LABEL arch=amd64 08:31:42 ---> Running in bc26244766a7 [Pipeline] wrap 08:31:42 provisioning config files... 08:31:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/22@tmp/config8728309191036027732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:43 ---> docker-login.sh 08:31:43 nexus3.edgexfoundry.org:10001 08:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:43 Removing intermediate container bc26244766a7 08:31:43 ---> 8872917deb2b 08:31:43 Step 19/20 : LABEL git_sha=1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:43 ---> Running in c8a0f5e7a8ff 08:31:43 Removing intermediate container c8a0f5e7a8ff 08:31:43 ---> 7ee18d834313 08:31:43 Step 20/20 : LABEL version=1.2.3-dev.4 08:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:43 Configure a credential helper to remove this warning. See 08:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:43 08:31:43 Login Succeeded 08:31:43 nexus3.edgexfoundry.org:10002 08:31:44 ---> Running in e93fe5042592 08:31:44 Removing intermediate container e93fe5042592 08:31:44 ---> a808478d31be 08:31:44 [Warning] One or more build-args [ARCH] were not consumed 08:31:44 Successfully built a808478d31be 08:31:44 Successfully tagged docker-device-modbus-go:latest [Pipeline] } 08:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 08:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:44 Configure a credential helper to remove this warning. See 08:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:44 08:31:44 Login Succeeded 08:31:44 nexus3.edgexfoundry.org:10003 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:31:44 provisioning config files... 08:31:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/22@tmp/config3761696126021310355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:44 ---> docker-login.sh 08:31:44 nexus3.edgexfoundry.org:10001 08:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10004 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10002 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10003 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10004 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 docker.io 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 docker.io 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:46 Configure a credential helper to remove this warning. See 08:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:46 08:31:46 Login Succeeded 08:31:46 ---> docker-login.sh ends [Pipeline] } 08:31:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 08:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:46 Configure a credential helper to remove this warning. See 08:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:46 08:31:46 Login Succeeded 08:31:46 ---> docker-login.sh ends [Pipeline] // withEnv [Pipeline] } 08:31:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:31:46 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 08:31:46 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:46 latest 08:31:46 1.2.3-dev.4 08:31:46 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 08:31:46 master 08:31:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] echo 08:31:46 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 08:31:46 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:46 latest 08:31:46 1.2.3-dev.4 08:31:46 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 08:31:46 master 08:31:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 08:31:47 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 [Pipeline] isUnix [Pipeline] sh 08:31:47 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 [Pipeline] isUnix [Pipeline] sh 08:31:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:31:47 d41f3afc78c2: Preparing 08:31:47 2efcb3a22e0e: Preparing 08:31:47 49a088daaaaa: Preparing 08:31:47 2efcb3a22e0e: Pushed 08:31:47 d41f3afc78c2: Pushed 08:31:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:31:47 d9555beb6553: Preparing 08:31:47 432775814d0a: Preparing 08:31:47 7a8bdf57b550: Preparing 08:31:47 432775814d0a: Pushed 08:31:47 d9555beb6553: Pushed 08:31:48 49a088daaaaa: Pushed 08:31:48 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1: digest: sha256:0dc57510ab968808a213509ed09ac15d186884df094e0be0bfc2b23ad2c00be7 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:49 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 08:31:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 08:31:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:31:49 d41f3afc78c2: Preparing 08:31:49 2efcb3a22e0e: Preparing 08:31:49 49a088daaaaa: Preparing 08:31:49 2efcb3a22e0e: Layer already exists 08:31:49 d41f3afc78c2: Layer already exists 08:31:49 49a088daaaaa: Layer already exists 08:31:49 latest: digest: sha256:0dc57510ab968808a213509ed09ac15d186884df094e0be0bfc2b23ad2c00be7 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:49 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 08:31:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.4 08:31:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:31:50 d41f3afc78c2: Preparing 08:31:50 2efcb3a22e0e: Preparing 08:31:50 49a088daaaaa: Preparing 08:31:50 49a088daaaaa: Layer already exists 08:31:50 2efcb3a22e0e: Layer already exists 08:31:50 d41f3afc78c2: Layer already exists 08:31:50 1.2.3-dev.4: digest: sha256:0dc57510ab968808a213509ed09ac15d186884df094e0be0bfc2b23ad2c00be7 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:50 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 08:31:50 7a8bdf57b550: Pushed 08:31:50 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1: digest: sha256:c250d2861bfc77ab7bcbab396aafdc59d208fe70905a78fe52836021ca8c1c09 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 08:31:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:31:50 d41f3afc78c2: Preparing 08:31:50 2efcb3a22e0e: Preparing 08:31:50 49a088daaaaa: Preparing 08:31:50 2efcb3a22e0e: Layer already exists 08:31:50 49a088daaaaa: Layer already exists 08:31:50 d41f3afc78c2: Layer already exists 08:31:50 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4: digest: sha256:0dc57510ab968808a213509ed09ac15d186884df094e0be0bfc2b23ad2c00be7 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:50 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:31:51 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 08:31:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 08:31:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:31:51 d9555beb6553: Preparing 08:31:51 432775814d0a: Preparing 08:31:51 7a8bdf57b550: Preparing 08:31:51 d9555beb6553: Layer already exists 08:31:51 432775814d0a: Layer already exists 08:31:51 7a8bdf57b550: Layer already exists 08:31:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 08:31:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:31:51 d41f3afc78c2: Preparing 08:31:51 2efcb3a22e0e: Preparing 08:31:51 49a088daaaaa: Preparing 08:31:51 d41f3afc78c2: Layer already exists 08:31:51 2efcb3a22e0e: Layer already exists 08:31:51 49a088daaaaa: Layer already exists 08:31:51 master: digest: sha256:0dc57510ab968808a213509ed09ac15d186884df094e0be0bfc2b23ad2c00be7 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } 08:31:51 latest: digest: sha256:c250d2861bfc77ab7bcbab396aafdc59d208fe70905a78fe52836021ca8c1c09 size: 943 [Pipeline] // withEnv [Pipeline] echo 08:31:51 ===================================================== [Pipeline] echo 08:31:51 taggedImages: 08:31:51 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:51 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 08:31:51 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.4 08:31:51 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 08:31:51 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } 08:31:52 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.4 [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 08:31:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.4 08:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:31:52 d9555beb6553: Preparing 08:31:52 432775814d0a: Preparing 08:31:52 7a8bdf57b550: Preparing 08:31:52 432775814d0a: Layer already exists 08:31:52 7a8bdf57b550: Layer already exists 08:31:52 d9555beb6553: Layer already exists [Pipeline] } [Pipeline] // stage [Pipeline] } 08:31:52 1.2.3-dev.4: digest: sha256:c250d2861bfc77ab7bcbab396aafdc59d208fe70905a78fe52836021ca8c1c09 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:53 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 08:31:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 08:31:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:31:53 d9555beb6553: Preparing 08:31:53 432775814d0a: Preparing 08:31:53 7a8bdf57b550: Preparing 08:31:53 432775814d0a: Layer already exists 08:31:53 d9555beb6553: Layer already exists 08:31:53 7a8bdf57b550: Layer already exists 08:31:53 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4: digest: sha256:c250d2861bfc77ab7bcbab396aafdc59d208fe70905a78fe52836021ca8c1c09 size: 943 [Pipeline] isUnix [Pipeline] sh 08:31:54 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 08:31:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 08:31:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:31:54 d9555beb6553: Preparing 08:31:54 432775814d0a: Preparing 08:31:54 7a8bdf57b550: Preparing 08:31:54 432775814d0a: Layer already exists 08:31:54 7a8bdf57b550: Layer already exists 08:31:54 d9555beb6553: Layer already exists 08:31:54 master: digest: sha256:c250d2861bfc77ab7bcbab396aafdc59d208fe70905a78fe52836021ca8c1c09 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:31:54 ===================================================== [Pipeline] echo 08:31:54 taggedImages: 08:31:54 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:31:54 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 08:31:54 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.4 08:31:54 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1-1.2.3-dev.4 08:31:54 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles 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) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 08:31:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 08:31:56 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 08:31:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:31:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:31:57 08:31:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 08:31:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:31:57 1.317.0: Pulling from edgex-devops/edgex-snyk-go 08:31:57 cbdbe7a5bc2a: Pulling fs layer 08:31:57 408f87550127: Pulling fs layer 08:31:57 fe522b08c979: Pulling fs layer 08:31:57 221eaa008020: Pulling fs layer 08:31:57 2a4607e5d6b9: Pulling fs layer 08:31:57 8f79b27c4fd2: Pulling fs layer 08:31:57 e5c8dbe1645b: Pulling fs layer 08:31:57 23e8b3b47431: Pulling fs layer 08:31:57 5c568d65a230: Pulling fs layer 08:31:57 2a4607e5d6b9: Waiting 08:31:57 8f79b27c4fd2: Waiting 08:31:57 e5c8dbe1645b: Waiting 08:31:57 5c568d65a230: Waiting 08:31:57 23e8b3b47431: Waiting 08:31:57 221eaa008020: Waiting 08:31:57 fe522b08c979: Verifying Checksum 08:31:57 fe522b08c979: Download complete 08:31:57 408f87550127: Download complete 08:31:57 2a4607e5d6b9: Verifying Checksum 08:31:57 2a4607e5d6b9: Download complete 08:31:57 8f79b27c4fd2: Verifying Checksum 08:31:57 8f79b27c4fd2: Download complete 08:31:57 cbdbe7a5bc2a: Verifying Checksum 08:31:57 cbdbe7a5bc2a: Download complete 08:31:57 e5c8dbe1645b: Verifying Checksum 08:31:57 e5c8dbe1645b: Download complete 08:31:58 cbdbe7a5bc2a: Pull complete 08:31:58 23e8b3b47431: Verifying Checksum 08:31:58 23e8b3b47431: Download complete 08:31:58 408f87550127: Pull complete 08:31:58 5c568d65a230: Verifying Checksum 08:31:58 5c568d65a230: Download complete 08:31:58 fe522b08c979: Pull complete 08:31:59 221eaa008020: Download complete 08:32:04 221eaa008020: Pull complete 08:32:04 2a4607e5d6b9: Pull complete 08:32:04 8f79b27c4fd2: Pull complete 08:32:06 e5c8dbe1645b: Pull complete 08:32:10 23e8b3b47431: Pull complete 08:32:11 5c568d65a230: Pull complete 08:32:11 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 08:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:32:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 08:32:11 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:32:11 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 08:32:12 $ docker top d000676f6b5d6a1f7bb6961f9d8a1c071b71f543905d329763358b9a699efb78 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:13 + snyk monitor '--org=edgex-jenkins' 08:32:18 08:32:18 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 08:32:18 08:32:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/5d598fea-ded2-4c7c-9bc2-4f0d650d82b8 08:32:18 08:32:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:32:18 08:32:18 08:32:18 Snyk CLI supports Node.js 8 and higher. 08:32:18 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 08:32:18 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 08:32:18 08:32:18 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 08:32:18 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 08:32:18 $ docker stop --time=1 d000676f6b5d6a1f7bb6961f9d8a1c071b71f543905d329763358b9a699efb78 08:32:21 $ docker rm -f d000676f6b5d6a1f7bb6961f9d8a1c071b71f543905d329763358b9a699efb78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:22 08:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 08:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:22 latest: Pulling from edgex-devops/edgex-klar 08:32:22 e7c96db7181b: Pulling fs layer 08:32:22 1868ca2cb446: Pulling fs layer 08:32:22 136be5d0fe8e: Pulling fs layer 08:32:22 894bfe63afcb: Pulling fs layer 08:32:22 894bfe63afcb: Waiting 08:32:22 1868ca2cb446: Download complete 08:32:22 136be5d0fe8e: Download complete 08:32:22 e7c96db7181b: Verifying Checksum 08:32:22 e7c96db7181b: Download complete 08:32:22 894bfe63afcb: Verifying Checksum 08:32:22 894bfe63afcb: Download complete 08:32:22 e7c96db7181b: Pull complete 08:32:23 1868ca2cb446: Pull complete 08:32:23 136be5d0fe8e: Pull complete 08:32:23 894bfe63afcb: Pull complete 08:32:23 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 08:32:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 08:32:23 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:32:23 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:32:24 $ docker top cf8dc67afcd141f85abb3900f1f8f42099c27e78dcae6fbc4ce9202d4fe6f853 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:25 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:32:25 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:32:27 $ docker stop --time=1 cf8dc67afcd141f85abb3900f1f8f42099c27e78dcae6fbc4ce9202d4fe6f853 08:32:29 $ docker rm -f cf8dc67afcd141f85abb3900f1f8f42099c27e78dcae6fbc4ce9202d4fe6f853 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:29 . [Pipeline] withDockerContainer 08:32:29 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:32:29 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:32:30 $ docker top 18aedee76bf5a0527e49f6ae288d232b66b1d2eec5bf2b2b223e3d65e20c04ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:30 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:32:30 + tee 08:32:30 clair timeout 1m0s 08:32:30 docker timeout: 1m0s 08:32:30 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:32:31 $ docker stop --time=1 18aedee76bf5a0527e49f6ae288d232b66b1d2eec5bf2b2b223e3d65e20c04ea 08:32:32 $ docker rm -f 18aedee76bf5a0527e49f6ae288d232b66b1d2eec5bf2b2b223e3d65e20c04ea [Pipeline] // withDockerContainer [Pipeline] sh 08:32:33 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 08:32:33 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go_1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1.html [Pipeline] writeFile [Pipeline] step 08:32:33 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 08:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:33 . [Pipeline] withDockerContainer 08:32:33 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:32:33 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:32:34 $ docker top b2afd941508e643d0a0d77948c48518a41642d25f876ddceb9223899952abb61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:35 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:32:35 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:32:37 $ docker stop --time=1 b2afd941508e643d0a0d77948c48518a41642d25f876ddceb9223899952abb61 08:32:39 $ docker rm -f b2afd941508e643d0a0d77948c48518a41642d25f876ddceb9223899952abb61 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:32:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:39 . [Pipeline] withDockerContainer 08:32:39 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:32:39 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:32:40 $ docker top f694c9081e2928dd78b72baeed1a3a82c1e54752719e043fc9149b2024ac26ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:41 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 08:32:41 + tee 08:32:41 clair timeout 1m0s 08:32:41 docker timeout: 1m0s 08:32:41 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:32:41 $ docker stop --time=1 f694c9081e2928dd78b72baeed1a3a82c1e54752719e043fc9149b2024ac26ac 08:32:43 $ docker rm -f f694c9081e2928dd78b72baeed1a3a82c1e54752719e043fc9149b2024ac26ac [Pipeline] // withDockerContainer [Pipeline] sh 08:32:43 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 08:32:43 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go-arm64_1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1.html [Pipeline] writeFile [Pipeline] step 08:32:43 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 08:32:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:44 . [Pipeline] withDockerContainer 08:32:44 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:32:44 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:32:45 $ docker top a2f281edd3d2564c67913b9faaf70013424152d4374327eed437ac7f3c993993 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:45 [ssh-agent] Looking for ssh-agent implementation... 08:32:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:45 $ docker exec a2f281edd3d2564c67913b9faaf70013424152d4374327eed437ac7f3c993993 ssh-agent 08:32:45 SSH_AUTH_SOCK=/tmp/ssh-lfYG2yrffuFv/agent.11 08:32:45 SSH_AGENT_PID=16 08:32:45 Running ssh-add (command line suppressed) 08:32:45 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_736612432706469647.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_736612432706469647.key) 08:32:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:46 + git semver tag 08:32:46 # -> Open(): unable to determine branch for HEAD 08:32:46 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:32:46 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:32:46 # $SEMVER_REMOTE_NAME = origin 08:32:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:32:46 # $SEMVER_USER_NAME = edgex-jenkins 08:32:46 # $SEMVER_BRANCH = master 08:32:46 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 08:32:46 # 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 HEAD 08:32:46 # -> Force: false 08:32:46 # 26340395b51397d6d815774eee70c6a2a91ca178 refs/tags/v1.2.3-dev.4 [Pipeline] } 08:32:46 $ docker exec --env ******** --env ******** a2f281edd3d2564c67913b9faaf70013424152d4374327eed437ac7f3c993993 ssh-agent -k 08:32:46 unset SSH_AUTH_SOCK; 08:32:46 unset SSH_AGENT_PID; 08:32:46 echo Agent pid 16 killed; 08:32:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:46 + git semver [Pipeline] } 08:32:46 $ docker stop --time=1 a2f281edd3d2564c67913b9faaf70013424152d4374327eed437ac7f3c993993 08:32:48 $ docker rm -f a2f281edd3d2564c67913b9faaf70013424152d4374327eed437ac7f3c993993 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:32:48 08:32:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:32:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:32:49 0.23.1-centos7: Pulling from edgex-lftools 08:32:49 ab5ef0e58194: Pulling fs layer 08:32:49 9712f1f96733: Pulling fs layer 08:32:49 63f879dbbcfc: Pulling fs layer 08:32:49 0d9ebad4ef96: Pulling fs layer 08:32:49 e9a5061849ea: Pulling fs layer 08:32:49 d747dcd14b5f: Pulling fs layer 08:32:49 2de7ff778b66: Pulling fs layer 08:32:49 e9a5061849ea: Waiting 08:32:49 d747dcd14b5f: Waiting 08:32:49 2de7ff778b66: Waiting 08:32:49 0d9ebad4ef96: Waiting 08:32:49 9712f1f96733: Verifying Checksum 08:32:49 9712f1f96733: Download complete 08:32:49 63f879dbbcfc: Verifying Checksum 08:32:49 63f879dbbcfc: Download complete 08:32:49 e9a5061849ea: Verifying Checksum 08:32:49 e9a5061849ea: Download complete 08:32:49 d747dcd14b5f: Verifying Checksum 08:32:49 d747dcd14b5f: Download complete 08:32:49 ab5ef0e58194: Verifying Checksum 08:32:49 ab5ef0e58194: Download complete 08:32:50 0d9ebad4ef96: Verifying Checksum 08:32:50 0d9ebad4ef96: Download complete 08:32:50 2de7ff778b66: Verifying Checksum 08:32:50 2de7ff778b66: Download complete 08:32:54 ab5ef0e58194: Pull complete 08:32:54 9712f1f96733: Pull complete 08:32:57 63f879dbbcfc: Pull complete 08:33:03 0d9ebad4ef96: Pull complete 08:33:04 e9a5061849ea: Pull complete 08:33:04 d747dcd14b5f: Pull complete 08:33:09 2de7ff778b66: Pull complete 08:33:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:33:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:33:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:33:09 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:33:09 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:33:12 $ docker top 4f7745a22c5af5e9bb2c5ecad55c3f61472959f138a2edf5f7a55fb175a63c24 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:33:12 provisioning config files... 08:33:12 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5667209171705924080tmp 08:33:12 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2246293678913693173tmp 08:33:12 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7778843119969635443tmp [Pipeline] { [Pipeline] echo 08:33:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:33:13 ---> sigul-configuration.sh 08:33:13 gpg: directory `/root/.gnupg' created 08:33:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:33:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:33:13 gpg: keyring `/root/.gnupg/secring.gpg' created 08:33:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:33:13 gpg: CAST5 encrypted data 08:33:13 gpg: encrypted with 1 passphrase 08:33:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:33:13 + mkdir /home/jenkins 08:33:13 + mkdir /home/jenkins/sigul [Pipeline] sh 08:33:13 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 08:33:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:33:14 ---> sigul-install.sh 08:33:19 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:33:19 + git tag --list 08:33:19 v1.2.3-dev.4 [Pipeline] sh 08:33:20 + lftools sign git-tag v1.2.3-dev.4 08:33:21 Signing Git tag with Sigul... 08:33:21 Signing v1.2.3-dev.4 08:33:22 Error: Authentication failed [Pipeline] echo 08:33:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:33:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:33:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:33:22 $ docker stop --time=1 4f7745a22c5af5e9bb2c5ecad55c3f61472959f138a2edf5f7a55fb175a63c24 08:33:24 $ docker rm -f 4f7745a22c5af5e9bb2c5ecad55c3f61472959f138a2edf5f7a55fb175a63c24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:25 . [Pipeline] withDockerContainer 08:33:25 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:33:25 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:33:26 $ docker top 0d4fd9687778df2b6cb6778c51863753f74deb2d04f2f2886936455ce05a9f7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:26 [ssh-agent] Looking for ssh-agent implementation... 08:33:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:26 $ docker exec 0d4fd9687778df2b6cb6778c51863753f74deb2d04f2f2886936455ce05a9f7d ssh-agent 08:33:26 SSH_AUTH_SOCK=/tmp/ssh-04IIZFwAsxw4/agent.12 08:33:26 SSH_AGENT_PID=18 08:33:26 Running ssh-add (command line suppressed) 08:33:26 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7772197473925495579.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7772197473925495579.key) 08:33:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:27 + git semver bump pre 08:33:27 # -> Open(): unable to determine branch for HEAD 08:33:27 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:33:27 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:33:27 # $SEMVER_REMOTE_NAME = origin 08:33:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:33:27 # $SEMVER_USER_NAME = edgex-jenkins 08:33:27 # $SEMVER_BRANCH = master 08:33:27 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 08:33:27 1.2.3-dev.5 [Pipeline] } 08:33:27 $ docker exec --env ******** --env ******** 0d4fd9687778df2b6cb6778c51863753f74deb2d04f2f2886936455ce05a9f7d ssh-agent -k 08:33:27 unset SSH_AUTH_SOCK; 08:33:27 unset SSH_AGENT_PID; 08:33:27 echo Agent pid 18 killed; 08:33:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:27 + git semver [Pipeline] } 08:33:27 $ docker stop --time=1 0d4fd9687778df2b6cb6778c51863753f74deb2d04f2f2886936455ce05a9f7d 08:33:29 $ docker rm -f 0d4fd9687778df2b6cb6778c51863753f74deb2d04f2f2886936455ce05a9f7d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:29 . [Pipeline] withDockerContainer 08:33:29 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:33:29 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:33:30 $ docker top aa23ce509ee60e719e30112fc9f14ee23f47939e472e3b4a6b2126bda8aa84da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:30 [ssh-agent] Looking for ssh-agent implementation... 08:33:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:30 $ docker exec aa23ce509ee60e719e30112fc9f14ee23f47939e472e3b4a6b2126bda8aa84da ssh-agent 08:33:31 SSH_AUTH_SOCK=/tmp/ssh-zE0Hr1Z5dtgD/agent.11 08:33:31 SSH_AGENT_PID=16 08:33:31 Running ssh-add (command line suppressed) 08:33:31 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9018957648950771253.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9018957648950771253.key) 08:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:31 + git semver push 08:33:31 # -> Open(): unable to determine branch for HEAD 08:33:31 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:33:31 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:33:31 # $SEMVER_REMOTE_NAME = origin 08:33:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:33:31 # $SEMVER_USER_NAME = edgex-jenkins 08:33:31 # $SEMVER_BRANCH = master 08:33:31 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 08:33:38 $ docker exec --env ******** --env ******** aa23ce509ee60e719e30112fc9f14ee23f47939e472e3b4a6b2126bda8aa84da ssh-agent -k 08:33:38 unset SSH_AUTH_SOCK; 08:33:38 unset SSH_AGENT_PID; 08:33:38 echo Agent pid 16 killed; 08:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:38 + git semver [Pipeline] } 08:33:38 $ docker stop --time=1 aa23ce509ee60e719e30112fc9f14ee23f47939e472e3b4a6b2126bda8aa84da 08:33:40 $ docker rm -f aa23ce509ee60e719e30112fc9f14ee23f47939e472e3b4a6b2126bda8aa84da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:33:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:33:42 ---> package-listing.sh 08:33:42 ++ facter osfamily 08:33:42 ++ tr '[:upper:]' '[:lower:]' 08:33:42 + OS_FAMILY=redhat 08:33:42 + workspace=/w/workspace/xfoundry_device-modbus-go_master 08:33:42 + START_PACKAGES=/tmp/packages_start.txt 08:33:42 + END_PACKAGES=/tmp/packages_end.txt 08:33:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:33:42 + PACKAGES=/tmp/packages_start.txt 08:33:42 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 08:33:42 + PACKAGES=/tmp/packages_end.txt 08:33:42 + case "${OS_FAMILY}" in 08:33:42 + rpm -qa 08:33:42 + sort 08:33:46 + '[' -f /tmp/packages_start.txt ']' 08:33:46 + '[' -f /tmp/packages_end.txt ']' 08:33:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:33:46 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 08:33:46 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 08:33:46 + 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 08:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:33:47 08:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:33:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:33:48 alpine: Pulling from edgex-lftools-log-publisher 08:33:48 c9b1b535fdd9: Pulling fs layer 08:33:48 2cc5ad85d9ab: Pulling fs layer 08:33:48 756a868c4378: Pulling fs layer 08:33:48 444b2fc9a129: Pulling fs layer 08:33:48 ea15f1150254: Pulling fs layer 08:33:48 41b27a9f41bf: Pulling fs layer 08:33:48 28c525ee5125: Pulling fs layer 08:33:48 094b1ea09ed8: Pulling fs layer 08:33:48 138eaada9080: Pulling fs layer 08:33:48 0622d0fa9048: Pulling fs layer 08:33:48 28c525ee5125: Waiting 08:33:48 094b1ea09ed8: Waiting 08:33:48 138eaada9080: Waiting 08:33:48 0622d0fa9048: Waiting 08:33:48 444b2fc9a129: Waiting 08:33:48 ea15f1150254: Waiting 08:33:48 41b27a9f41bf: Waiting 08:33:48 2cc5ad85d9ab: Verifying Checksum 08:33:48 2cc5ad85d9ab: Download complete 08:33:48 444b2fc9a129: Verifying Checksum 08:33:48 444b2fc9a129: Download complete 08:33:48 c9b1b535fdd9: Verifying Checksum 08:33:48 c9b1b535fdd9: Download complete 08:33:48 ea15f1150254: Verifying Checksum 08:33:48 ea15f1150254: Download complete 08:33:48 28c525ee5125: Verifying Checksum 08:33:48 28c525ee5125: Download complete 08:33:48 756a868c4378: Verifying Checksum 08:33:48 756a868c4378: Download complete 08:33:48 138eaada9080: Verifying Checksum 08:33:48 138eaada9080: Download complete 08:33:48 0622d0fa9048: Verifying Checksum 08:33:48 0622d0fa9048: Download complete 08:33:48 094b1ea09ed8: Verifying Checksum 08:33:48 094b1ea09ed8: Download complete 08:33:49 41b27a9f41bf: Verifying Checksum 08:33:49 41b27a9f41bf: Download complete 08:33:49 c9b1b535fdd9: Pull complete 08:33:49 2cc5ad85d9ab: Pull complete 08:33:51 756a868c4378: Pull complete 08:33:51 444b2fc9a129: Pull complete 08:33:51 ea15f1150254: Pull complete 08:33:55 41b27a9f41bf: Pull complete 08:33:55 28c525ee5125: Pull complete 08:33:58 094b1ea09ed8: Pull complete 08:33:58 138eaada9080: Pull complete 08:33:58 0622d0fa9048: Pull complete 08:33:58 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:33:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:33:58 prd-centos7-docker-4c-2g-1159 does not seem to be running inside a container 08:33:58 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:34:02 $ docker top 67a3b702eeee9f86d1f584ac54beeec303b42b6bf43cf666b78ccbe3c6cb6a24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:02 provisioning config files... 08:34:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4066807404463822725tmp [Pipeline] { [Pipeline] echo 08:34:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:34:02 ---> create-netrc.sh [Pipeline] echo 08:34:02 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:34:03 ---> logs-deploy.sh 08:34:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/22 08:34:03 INFO: archiving workspace using pattern(s): 08:34:04 Archives upload complete. 08:34:04 INFO: archiving logs to Nexus