Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e7402411d8746a82393d3a19e59e88ef18696c65 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7872’ Running on prd-centos7-docker-4c-2g-7875 in /w/workspace/dgexfoundry_device-sdk-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-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision e7402411d8746a82393d3a19e59e88ef18696c65 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 Commit message: "Merge pull request #525 from cloudxxx8/issue-524" > git rev-list --no-walk 7338ff0b48ff778770e07d00465366aeceb26e1a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:24:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:24:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:24:30 ========================================================= 16:24:30 EdgeX Global Pipelines Version Info 16:24:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:24:31 ------------------- 16:24:31 stable info: 16:24:31 ------------------- 16:24:31 Commited By: Emilio Reyes emilio.reyes@intel.com 16:24:31 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 16:24:31 Message: update stable to v1.0.87 16:24:32 ------------------- 16:24:32 experimental info: 16:24:32 ------------------- 16:24:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:24:32 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 16:24:32 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:24:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:24:34 16:24:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:24:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:24:35 latest: Pulling from edgex-devops/git-semver 16:24:35 9123ac7c32f7: Pulling fs layer 16:24:35 b8cc5d1170e3: Pulling fs layer 16:24:35 2924cbbf6a41: Pulling fs layer 16:24:35 93b08a4f1073: Pulling fs layer 16:24:35 93b08a4f1073: Waiting 16:24:35 b8cc5d1170e3: Verifying Checksum 16:24:35 b8cc5d1170e3: Download complete 16:24:35 9123ac7c32f7: Verifying Checksum 16:24:35 9123ac7c32f7: Download complete 16:24:35 93b08a4f1073: Verifying Checksum 16:24:35 93b08a4f1073: Download complete 16:24:35 2924cbbf6a41: Verifying Checksum 16:24:35 2924cbbf6a41: Download complete 16:24:35 9123ac7c32f7: Pull complete 16:24:35 b8cc5d1170e3: Pull complete 16:24:36 2924cbbf6a41: Pull complete 16:24:36 93b08a4f1073: Pull complete 16:24:36 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:24:37 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:24:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:24:37 $ docker top 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:38 [ssh-agent] Looking for ssh-agent implementation... 16:24:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:38 $ docker exec 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent 16:24:38 SSH_AUTH_SOCK=/tmp/ssh-iH0QaWLh69jU/agent.15 16:24:38 SSH_AGENT_PID=22 16:24:38 Running ssh-add (command line suppressed) 16:24:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3443574599138673541.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3443574599138673541.key) 16:24:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:39 + git describe --exact-match --tags HEAD 16:24:39 fatal: No names found, cannot describe anything. [Pipeline] } 16:24:39 $ docker exec --env ******** --env ******** 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent -k 16:24:39 unset SSH_AUTH_SOCK; 16:24:39 unset SSH_AGENT_PID; 16:24:39 echo Agent pid 22 killed; 16:24:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:24:39 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:24:39 This usually means this commit has not been tagged. [Pipeline] sshagent 16:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:39 [ssh-agent] Looking for ssh-agent implementation... 16:24:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:39 $ docker exec 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent 16:24:39 SSH_AUTH_SOCK=/tmp/ssh-1sSVkbWLbi1f/agent.58 16:24:39 SSH_AGENT_PID=65 16:24:39 Running ssh-add (command line suppressed) 16:24:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8143449022259225237.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8143449022259225237.key) 16:24:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:40 + git semver init 16:24:40 # -> Open(): unable to determine branch for HEAD 16:24:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 16:24:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 16:24:40 # $SEMVER_REMOTE_NAME = origin 16:24:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:24:40 # $SEMVER_USER_NAME = edgex-jenkins 16:24:40 # $SEMVER_BRANCH = master 16:24:40 # $SEMVER_TEMP = /tmp/semver-754279756 16:24:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:24:41 # '/tmp/semver-754279756' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 16:24:41 # -> Force: false 16:24:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 16:24:41 $ docker exec --env ******** --env ******** 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent -k 16:24:41 unset SSH_AUTH_SOCK; 16:24:41 unset SSH_AGENT_PID; 16:24:41 echo Agent pid 65 killed; 16:24:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:42 + git semver [Pipeline] } 16:24:42 $ docker stop --time=1 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 16:24:43 $ docker rm -f 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:24:44 Stashed 58 file(s) [Pipeline] echo 16:24:44 [edgeXSemver] initialized semver on version 1.2.1-dev.4 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:24:59 Still waiting to schedule task 16:24:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:24:59 Still waiting to schedule task 16:24:59 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-7873’ 16:26:54 Running on prd-centos7-docker-4c-2g-7876 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 16:26:54 Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout 16:26:56 using credential edgex-jenkins-ssh 16:26:56 Cloning the remote Git repository 16:26:56 Cloning with configured refspecs honoured and without tags 16:26:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:26:56 > git init /w/workspace/device-sdk-go/40 # timeout=10 16:26:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:26:56 > git --version # timeout=10 16:26:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:57 Fetching without tags 16:26:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:26:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:26:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:26:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:26:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:26:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:26:58 Checking out Revision e7402411d8746a82393d3a19e59e88ef18696c65 (master) 16:26:57 > git config core.sparsecheckout # timeout=10 16:26:57 > git checkout -f e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 16:27:01 Commit message: "Merge pull request #525 from cloudxxx8/issue-524" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:27:02 ========================================================= 16:27:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:27:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:27:03 + 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 . 16:27:03 Sending build context to Docker daemon 3.047MB 16:27:03 Step 1/8 : ARG BASE=golang:1.13-alpine 16:27:03 Step 2/8 : FROM ${BASE} 16:27:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:27:03 e6b0cf9c0882: Pulling fs layer 16:27:03 2848faf0eed1: Pulling fs layer 16:27:03 0f37312ad70f: Pulling fs layer 16:27:03 5788d62ee057: Pulling fs layer 16:27:03 0e6b1d234666: Pulling fs layer 16:27:03 bf5d7aec512f: Pulling fs layer 16:27:03 34c802a77dc8: Pulling fs layer 16:27:03 9eb99e56ec68: Pulling fs layer 16:27:03 27c7a5d97fbd: Pulling fs layer 16:27:03 5c102a31e300: Pulling fs layer 16:27:03 dcfb455df0a1: Pulling fs layer 16:27:03 34c802a77dc8: Waiting 16:27:03 9eb99e56ec68: Waiting 16:27:03 5788d62ee057: Waiting 16:27:03 dcfb455df0a1: Waiting 16:27:03 0e6b1d234666: Waiting 16:27:03 bf5d7aec512f: Waiting 16:27:03 0f37312ad70f: Verifying Checksum 16:27:03 0f37312ad70f: Download complete 16:27:03 2848faf0eed1: Verifying Checksum 16:27:03 2848faf0eed1: Download complete 16:27:03 0e6b1d234666: Verifying Checksum 16:27:03 0e6b1d234666: Download complete 16:27:03 bf5d7aec512f: Verifying Checksum 16:27:03 bf5d7aec512f: Download complete 16:27:03 e6b0cf9c0882: Verifying Checksum 16:27:03 e6b0cf9c0882: Download complete 16:27:04 e6b0cf9c0882: Pull complete 16:27:04 2848faf0eed1: Pull complete 16:27:04 34c802a77dc8: Verifying Checksum 16:27:04 34c802a77dc8: Download complete 16:27:05 5c102a31e300: Verifying Checksum 16:27:05 5c102a31e300: Download complete 16:27:05 dcfb455df0a1: Verifying Checksum 16:27:05 dcfb455df0a1: Download complete 16:27:05 9eb99e56ec68: Verifying Checksum 16:27:05 9eb99e56ec68: Download complete 16:27:05 5788d62ee057: Download complete 16:27:06 0f37312ad70f: Pull complete 16:27:13 5788d62ee057: Pull complete 16:27:13 0e6b1d234666: Pull complete 16:27:13 bf5d7aec512f: Pull complete 16:27:18 34c802a77dc8: Pull complete 16:27:21 9eb99e56ec68: Pull complete 16:27:21 27c7a5d97fbd: Pull complete 16:27:22 5c102a31e300: Pull complete 16:27:22 dcfb455df0a1: Pull complete 16:27:23 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 16:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:27:23 ---> 7c70fe431013 16:27:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:27:23 ---> Running in 5a53a9aafbc6 16:27:23 Removing intermediate container 5a53a9aafbc6 16:27:23 ---> 3e28a479a84f 16:27:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:27:23 ---> Running in 34f3529c2e54 16:27:24 Removing intermediate container 34f3529c2e54 16:27:24 ---> c4f736f94255 16:27:24 Step 5/8 : RUN apk add --no-cache make git 16:27:24 ---> Running in ec7249bfb664 16:27:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:27:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:27:28 OK: 143 MiB in 39 packages 16:27:28 Removing intermediate container ec7249bfb664 16:27:28 ---> 3fad15ef7737 16:27:28 Step 6/8 : WORKDIR /device-sdk-go 16:27:28 ---> Running in 1074fd30dcb3 16:27:28 Removing intermediate container 1074fd30dcb3 16:27:28 ---> 650dac639723 16:27:28 Step 7/8 : COPY . . 16:27:29 ---> 6b98664275d1 16:27:29 Step 8/8 : RUN go mod download 16:27:29 ---> Running in 4a30c0f5ecbb 16:27:30 go: finding github.com/BurntSushi/toml v0.3.1 16:27:30 go: finding github.com/OneOfOne/xxhash v1.2.6 16:27:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:27:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:27:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:27:30 go: finding github.com/bgentry/speakeasy v0.1.0 16:27:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:27:30 go: finding github.com/davecgh/go-spew v1.1.1 16:27:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:27:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:27:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:27:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:27:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:27:30 go: finding github.com/fatih/color v1.7.0 16:27:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:27:30 go: finding github.com/go-kit/kit v0.8.0 16:27:30 go: finding github.com/go-logfmt/logfmt v0.4.0 16:27:30 go: finding github.com/go-stack/stack v1.8.0 16:27:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:27:30 go: finding github.com/google/uuid v1.1.0 16:27:30 go: finding github.com/gorilla/mux v1.7.1 16:27:30 go: finding github.com/hashicorp/consul/api v1.1.0 16:27:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:27:30 go: finding github.com/hashicorp/errwrap v1.0.0 16:27:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:27:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:27:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:27:30 go: finding github.com/hashicorp/go-multierror v1.0.0 16:27:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:27:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:27:30 go: finding github.com/hashicorp/go-syslog v1.0.0 16:27:30 go: finding github.com/hashicorp/go-uuid v1.0.1 16:27:30 go: finding github.com/hashicorp/go.net v0.0.1 16:27:30 go: finding github.com/hashicorp/golang-lru v0.5.0 16:27:30 go: finding github.com/hashicorp/logutils v1.0.0 16:27:31 go: finding github.com/hashicorp/mdns v1.0.0 16:27:31 go: finding github.com/hashicorp/memberlist v0.1.3 16:27:31 go: finding github.com/hashicorp/serf v0.8.2 16:27:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:27:31 go: finding github.com/mattn/go-colorable v0.0.9 16:27:31 go: finding github.com/mattn/go-isatty v0.0.3 16:27:31 go: finding github.com/miekg/dns v1.0.14 16:27:31 go: finding github.com/mitchellh/cli v1.0.0 16:27:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:27:31 go: finding github.com/mitchellh/copystructure v1.0.0 16:27:31 go: finding github.com/mitchellh/go-homedir v1.0.0 16:27:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:27:31 go: finding github.com/mitchellh/gox v0.4.0 16:27:31 go: finding github.com/mitchellh/iochan v1.0.0 16:27:31 go: finding github.com/mitchellh/mapstructure v1.1.2 16:27:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:27:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:27:31 go: finding github.com/pelletier/go-toml v1.2.0 16:27:31 go: finding github.com/pkg/errors v0.8.1 16:27:31 go: finding github.com/pmezard/go-difflib v1.0.0 16:27:31 go: finding github.com/posener/complete v1.1.1 16:27:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:27:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:27:31 go: finding github.com/stretchr/objx v0.1.0 16:27:31 go: finding github.com/stretchr/testify v1.5.1 16:27:31 go: finding github.com/ugorji/go v1.1.4 16:27:31 go: finding github.com/x448/float16 v0.8.4 16:27:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:27:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:27:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:27:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:27:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:27:31 go: finding gopkg.in/yaml.v2 v2.2.8 16:27:36 Removing intermediate container 4a30c0f5ecbb 16:27:36 ---> d80463b291c5 16:27:36 Successfully built d80463b291c5 16:27:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:27:37 + docker inspect -f . ci-base-image-x86_64 16:27:37 . [Pipeline] withDockerContainer 16:27:37 prd-centos7-docker-4c-2g-7876 does not seem to be running inside a container 16:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:27:38 $ docker top bdd9fc1048a7dfb7f3dbb580c1526164f244830532a3601962a40ea48a90f869 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:39 + go version 16:27:39 go version go1.13.5 linux/amd64 [Pipeline] sh 16:27:40 + make test 16:27:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:27:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:27:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:27:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:27:50 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 16:27:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements 16:27:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.061s coverage: 95.8% of statements 16:28:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements 16:28:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 21.7% of statements 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:28:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.101s coverage: 36.9% of statements 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 16:28:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.475s coverage: 65.2% of statements 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:28:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.030s coverage: 52.6% of statements 16:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 16:28:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.141s coverage: 68.9% of statements 16:28:26 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 16:28:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:28:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:28:26 gofmt -l . 16:28:26 [ "`gofmt -l .`" = "" ] 16:28:26 ./bin/test-attribution-txt.sh 16:28:26 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:28:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7877 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 16:28:26 Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout 16:28:26 Stashed 1 file(s) [Pipeline] } 16:28:26 $ docker stop --time=1 bdd9fc1048a7dfb7f3dbb580c1526164f244830532a3601962a40ea48a90f869 16:28:28 $ docker rm -f bdd9fc1048a7dfb7f3dbb580c1526164f244830532a3601962a40ea48a90f869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:28:29 + ls -al . 16:28:29 total 180 16:28:29 drwxrwxr-x. 11 jenkins jenkins 4096 May 11 16:28 . 16:28:29 drwxrwxr-x. 4 jenkins jenkins 30 May 11 16:26 .. 16:28:29 drwxrwxr-x. 3 jenkins jenkins 20 May 11 16:26 api 16:28:29 drwxrwxr-x. 2 jenkins jenkins 64 May 11 16:26 bin 16:28:29 -rw-r--r--. 1 jenkins jenkins 110877 May 11 16:28 coverage.out 16:28:29 -rw-rw-r--. 1 jenkins jenkins 936 May 11 16:26 Dockerfile.build 16:28:29 -rw-rw-r--. 1 jenkins jenkins 140 May 11 16:26 .dockerignore 16:28:29 drwxrwxr-x. 4 jenkins jenkins 48 May 11 16:26 example 16:28:29 drwxrwxr-x. 8 jenkins jenkins 162 May 11 16:27 .git 16:28:29 drwxrwxr-x. 2 jenkins jenkins 38 May 11 16:26 .github 16:28:29 -rw-rw-r--. 1 jenkins jenkins 138 May 11 16:26 .gitignore 16:28:29 -rw-r--r--. 1 jenkins jenkins 446 May 11 16:28 go.mod 16:28:29 -rw-r--r--. 1 jenkins jenkins 12179 May 11 16:28 go.sum 16:28:29 drwxrwxr-x. 15 jenkins jenkins 217 May 11 16:26 internal 16:28:29 -rw-rw-r--. 1 jenkins jenkins 808 May 11 16:26 Jenkinsfile 16:28:29 -rw-rw-r--. 1 jenkins jenkins 11341 May 11 16:26 LICENSE 16:28:29 -rw-rw-r--. 1 jenkins jenkins 892 May 11 16:26 Makefile 16:28:29 drwxrwxr-x. 5 jenkins jenkins 50 May 11 16:26 pkg 16:28:29 -rw-rw-r--. 1 jenkins jenkins 3189 May 11 16:26 README.md 16:28:29 -rw-rw-r--. 1 jenkins jenkins 3733 May 11 16:26 RELEASE-NOTES.txt 16:28:29 drwxrwxr-x. 3 jenkins jenkins 44 May 11 16:27 .semver 16:28:29 drwxrwxr-x. 4 jenkins jenkins 54 May 11 16:26 snap 16:28:29 -rw-rw-r--. 1 jenkins jenkins 11 May 11 16:24 VERSION 16:28:29 -rw-rw-r--. 1 jenkins jenkins 222 May 11 16:26 version.go [Pipeline] isUnix [Pipeline] sh 16:28:29 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e7402411d8746a82393d3a19e59e88ef18696c65 --label arch=amd64 --label version=1.2.1-dev.4 . 16:28:30 Sending build context to Docker daemon 3.175MB 16:28:30 Step 1/21 : ARG BASE=golang:1.13-alpine 16:28:30 Step 2/21 : FROM ${BASE} AS builder 16:28:30 ---> d80463b291c5 16:28:30 Step 3/21 : ARG MAKE='make build' 16:28:30 ---> Running in 31684173a20d 16:28:30 Removing intermediate container 31684173a20d 16:28:30 ---> bcc1d244a30b 16:28:30 Step 4/21 : WORKDIR /device-sdk-go 16:28:30 ---> Running in 73f0a193a4ab 16:28:30 Removing intermediate container 73f0a193a4ab 16:28:30 ---> 9e6f378bfbac 16:28:30 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:28:30 ---> Running in 6f418427ce4f 16:28:30 Removing intermediate container 6f418427ce4f 16:28:30 ---> a7065e21ce55 16:28:30 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:28:30 ---> Running in 762928f8e924 16:28:31 Removing intermediate container 762928f8e924 16:28:31 ---> a56415ca23e7 16:28:31 Step 7/21 : RUN apk add --update --no-cache make git 16:28:31 ---> Running in 517e5b2503b4 16:28:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:28:32 using credential edgex-jenkins-ssh 16:28:32 Cloning the remote Git repository 16:28:32 Cloning with configured refspecs honoured and without tags 16:28:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:28:32 > git init /w/workspace/device-sdk-go/40 # timeout=10 16:28:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:28:32 > git --version # timeout=10 16:28:33 using GIT_SSH to set credentials SSH Credentials for GitHub 16:28:34 Fetching without tags 16:28:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:28:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:28:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:28:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:28:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:28:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:28:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:28:34 Checking out Revision e7402411d8746a82393d3a19e59e88ef18696c65 (master) 16:28:34 > git config core.sparsecheckout # timeout=10 16:28:35 > git checkout -f e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 16:28:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:28:39 OK: 143 MiB in 39 packages 16:28:39 Commit message: "Merge pull request #525 from cloudxxx8/issue-524" 16:28:40 Removing intermediate container 517e5b2503b4 16:28:40 ---> b7439831dc6a 16:28:40 Step 8/21 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 16:28:40 ---> 408b4a7a76ea 16:28:40 Step 9/21 : RUN ${MAKE} 16:28:40 ---> Running in 301b842ae0ae [Pipeline] unstash 16:28:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] echo 16:28:41 ========================================================= 16:28:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:28:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:28:42 + 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 . 16:28:43 Sending build context to Docker daemon 3.049MB 16:28:43 Step 1/8 : ARG BASE=golang:1.13-alpine 16:28:43 Step 2/8 : FROM ${BASE} 16:28:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:28:43 cde5963f3b93: Pulling fs layer 16:28:43 2a23fa8c16f7: Pulling fs layer 16:28:43 777b28850792: Pulling fs layer 16:28:43 8a11ddd9e578: Pulling fs layer 16:28:43 4cf88f913ddb: Pulling fs layer 16:28:43 1df406cf5192: Pulling fs layer 16:28:43 cd6300453558: Pulling fs layer 16:28:43 b9c365052c96: Pulling fs layer 16:28:43 a2d8cc88f415: Pulling fs layer 16:28:43 ea1d1ca13537: Pulling fs layer 16:28:43 3750a50a1c5e: Pulling fs layer 16:28:43 1df406cf5192: Waiting 16:28:43 cd6300453558: Waiting 16:28:43 b9c365052c96: Waiting 16:28:43 a2d8cc88f415: Waiting 16:28:43 ea1d1ca13537: Waiting 16:28:43 3750a50a1c5e: Waiting 16:28:43 8a11ddd9e578: Waiting 16:28:43 4cf88f913ddb: Waiting 16:28:43 777b28850792: Download complete 16:28:43 2a23fa8c16f7: Download complete 16:28:43 4cf88f913ddb: Verifying Checksum 16:28:43 4cf88f913ddb: Download complete 16:28:43 1df406cf5192: Download complete 16:28:43 cde5963f3b93: Verifying Checksum 16:28:43 cde5963f3b93: Download complete 16:28:45 cde5963f3b93: Pull complete 16:28:45 2a23fa8c16f7: Pull complete 16:28:46 777b28850792: Pull complete 16:28:48 cd6300453558: Verifying Checksum 16:28:48 cd6300453558: Download complete 16:28:48 a2d8cc88f415: Verifying Checksum 16:28:48 a2d8cc88f415: Download complete 16:28:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:28:50 Removing intermediate container 301b842ae0ae 16:28:50 ---> 0c4f557e4c62 16:28:50 Step 10/21 : FROM scratch 16:28:50 ---> 16:28:50 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:28:50 ---> Running in 94b56b3e839c 16:28:50 Removing intermediate container 94b56b3e839c 16:28:50 ---> 4e083500cf3a 16:28:50 Step 12/21 : ENV APP_PORT=49990 16:28:50 ---> Running in c7e603625080 16:28:50 Removing intermediate container c7e603625080 16:28:50 ---> a4b2c4a3693c 16:28:50 Step 13/21 : EXPOSE $APP_PORT 16:28:50 ---> Running in 6f8d94e8b739 16:28:50 Removing intermediate container 6f8d94e8b739 16:28:50 ---> 7a1fdf975deb 16:28:50 Step 14/21 : WORKDIR / 16:28:50 ---> Running in 604173b2533c 16:28:50 Removing intermediate container 604173b2533c 16:28:50 ---> ab3ae2901526 16:28:50 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:28:50 ea1d1ca13537: Verifying Checksum 16:28:50 ea1d1ca13537: Download complete 16:28:50 3750a50a1c5e: Verifying Checksum 16:28:50 3750a50a1c5e: Download complete 16:28:51 ---> 3203c3e59aac 16:28:51 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:28:51 ---> 2dbcac497dcb 16:28:51 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:28:51 ---> 2514bd587124 16:28:51 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:28:51 ---> Running in eca02c8837fa 16:28:51 Removing intermediate container eca02c8837fa 16:28:51 ---> 5cbef7aaa687 16:28:51 Step 19/21 : LABEL arch=amd64 16:28:51 ---> Running in 3650c241a5e3 16:28:51 Removing intermediate container 3650c241a5e3 16:28:51 ---> 08853a369ed1 16:28:51 Step 20/21 : LABEL git_sha=e7402411d8746a82393d3a19e59e88ef18696c65 16:28:52 ---> Running in d57908ce865e 16:28:52 Removing intermediate container d57908ce865e 16:28:52 ---> f1d3de460179 16:28:52 Step 21/21 : LABEL version=1.2.1-dev.4 16:28:52 ---> Running in 3673e6c200e2 16:28:52 Removing intermediate container 3673e6c200e2 16:28:52 ---> eb6311e70952 16:28:52 [Warning] One or more build-args [ARCH] were not consumed 16:28:52 Successfully built eb6311e70952 16:28:52 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:28:53 b9c365052c96: Verifying Checksum 16:28:53 b9c365052c96: Download complete 16:28:55 8a11ddd9e578: Verifying Checksum 16:28:55 8a11ddd9e578: Download complete 16:29:07 8a11ddd9e578: Pull complete 16:29:07 4cf88f913ddb: Pull complete 16:29:07 1df406cf5192: Pull complete 16:29:12 cd6300453558: Pull complete 16:29:17 b9c365052c96: Pull complete 16:29:17 a2d8cc88f415: Pull complete 16:29:19 ea1d1ca13537: Pull complete 16:29:19 3750a50a1c5e: Pull complete 16:29:19 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 16:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:29:19 ---> 78745c68409d 16:29:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:29:24 ---> Running in 58df2fed32bb 16:29:24 Removing intermediate container 58df2fed32bb 16:29:24 ---> 7be2bb03fb01 16:29:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:29:24 ---> Running in 54b7a39d4119 16:29:27 Removing intermediate container 54b7a39d4119 16:29:27 ---> 3e68eff22116 16:29:27 Step 5/8 : RUN apk add --no-cache make git 16:29:27 ---> Running in bcbb12ebaaeb 16:29:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:29:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:29:31 OK: 125 MiB in 39 packages 16:29:32 Removing intermediate container bcbb12ebaaeb 16:29:32 ---> f588c3d83bcd 16:29:32 Step 6/8 : WORKDIR /device-sdk-go 16:29:32 ---> Running in 3a368905395c 16:29:32 Removing intermediate container 3a368905395c 16:29:32 ---> 4ebecd92834b 16:29:32 Step 7/8 : COPY . . 16:29:34 ---> 8660ca0eb616 16:29:34 Step 8/8 : RUN go mod download 16:29:34 ---> Running in 86469135606c 16:29:36 go: finding github.com/BurntSushi/toml v0.3.1 16:29:36 go: finding github.com/OneOfOne/xxhash v1.2.6 16:29:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:29:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:29:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:29:36 go: finding github.com/bgentry/speakeasy v0.1.0 16:29:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:29:36 go: finding github.com/davecgh/go-spew v1.1.1 16:29:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:29:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:29:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:29:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:29:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:29:36 go: finding github.com/fatih/color v1.7.0 16:29:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:29:36 go: finding github.com/go-kit/kit v0.8.0 16:29:36 go: finding github.com/go-logfmt/logfmt v0.4.0 16:29:36 go: finding github.com/go-stack/stack v1.8.0 16:29:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:29:36 go: finding github.com/google/uuid v1.1.0 16:29:36 go: finding github.com/gorilla/mux v1.7.1 16:29:36 go: finding github.com/hashicorp/consul/api v1.1.0 16:29:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:29:36 go: finding github.com/hashicorp/errwrap v1.0.0 16:29:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:29:36 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:29:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:29:36 go: finding github.com/hashicorp/go-multierror v1.0.0 16:29:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:29:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:29:36 go: finding github.com/hashicorp/go-syslog v1.0.0 16:29:36 go: finding github.com/hashicorp/go-uuid v1.0.1 16:29:36 go: finding github.com/hashicorp/go.net v0.0.1 16:29:36 go: finding github.com/hashicorp/golang-lru v0.5.0 16:29:36 go: finding github.com/hashicorp/logutils v1.0.0 16:29:36 go: finding github.com/hashicorp/mdns v1.0.0 16:29:36 go: finding github.com/hashicorp/memberlist v0.1.3 16:29:36 go: finding github.com/hashicorp/serf v0.8.2 16:29:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:29:36 go: finding github.com/mattn/go-colorable v0.0.9 16:29:36 go: finding github.com/mattn/go-isatty v0.0.3 16:29:36 go: finding github.com/miekg/dns v1.0.14 16:29:36 go: finding github.com/mitchellh/cli v1.0.0 16:29:36 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:29:36 go: finding github.com/mitchellh/copystructure v1.0.0 16:29:36 go: finding github.com/mitchellh/go-homedir v1.0.0 16:29:36 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:29:36 go: finding github.com/mitchellh/gox v0.4.0 16:29:36 go: finding github.com/mitchellh/iochan v1.0.0 16:29:36 go: finding github.com/mitchellh/mapstructure v1.1.2 16:29:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:29:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:29:36 go: finding github.com/pelletier/go-toml v1.2.0 16:29:36 go: finding github.com/pkg/errors v0.8.1 16:29:36 go: finding github.com/pmezard/go-difflib v1.0.0 16:29:36 go: finding github.com/posener/complete v1.1.1 16:29:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:29:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:29:36 go: finding github.com/stretchr/objx v0.1.0 16:29:36 go: finding github.com/stretchr/testify v1.5.1 16:29:36 go: finding github.com/ugorji/go v1.1.4 16:29:36 go: finding github.com/x448/float16 v0.8.4 16:29:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:29:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:29:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:29:36 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:29:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:29:36 go: finding gopkg.in/yaml.v2 v2.2.8 16:29:46 Removing intermediate container 86469135606c 16:29:46 ---> 619a965e7bd4 16:29:46 Successfully built 619a965e7bd4 16:29:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:29:47 + docker inspect -f . ci-base-image-arm64 16:29:47 . [Pipeline] withDockerContainer 16:29:48 prd-ubuntu18.04-docker-arm64-4c-16g-7877 does not seem to be running inside a container 16:29:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:29:49 $ docker top 8719e3076bb500f165d3bcf67cb62aca928459adcb2adf1f47d36a948381cc92 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:51 + go version 16:29:51 go version go1.13.5 linux/arm64 [Pipeline] sh 16:29:51 + make test 16:29:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:29:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:30:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:30:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:30:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 16:30:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements 16:30:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.169s coverage: 95.8% of statements 16:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.110s coverage: 11.4% of statements 16:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.167s coverage: 36.9% of statements 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 16:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.478s coverage: 65.2% of statements 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 16:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 16:31:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.366s coverage: 68.9% of statements 16:31:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 16:31:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:31:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:31:05 gofmt -l . 16:31:05 [ "`gofmt -l .`" = "" ] 16:31:05 ./bin/test-attribution-txt.sh 16:31:06 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:31:06 Warning: overwriting stash ‘coverage-report’ 16:31:07 Stashed 1 file(s) [Pipeline] } 16:31:07 $ docker stop --time=1 8719e3076bb500f165d3bcf67cb62aca928459adcb2adf1f47d36a948381cc92 16:31:09 $ docker rm -f 8719e3076bb500f165d3bcf67cb62aca928459adcb2adf1f47d36a948381cc92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:11 + ls -al . 16:31:11 total 220 16:31:11 drwxrwxr-x 11 jenkins jenkins 4096 May 11 16:31 . 16:31:11 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:28 .. 16:31:11 -rw-rw-r-- 1 jenkins jenkins 140 May 11 16:28 .dockerignore 16:31:11 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:28 .git 16:31:11 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:28 .github 16:31:11 -rw-rw-r-- 1 jenkins jenkins 138 May 11 16:28 .gitignore 16:31:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:28 .semver 16:31:11 -rw-rw-r-- 1 jenkins jenkins 936 May 11 16:28 Dockerfile.build 16:31:11 -rw-rw-r-- 1 jenkins jenkins 808 May 11 16:28 Jenkinsfile 16:31:11 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 16:28 LICENSE 16:31:11 -rw-rw-r-- 1 jenkins jenkins 892 May 11 16:28 Makefile 16:31:11 -rw-rw-r-- 1 jenkins jenkins 3189 May 11 16:28 README.md 16:31:11 -rw-rw-r-- 1 jenkins jenkins 3733 May 11 16:28 RELEASE-NOTES.txt 16:31:11 -rw-rw-r-- 1 jenkins jenkins 11 May 11 16:24 VERSION 16:31:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:28 api 16:31:11 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:28 bin 16:31:11 -rw-r--r-- 1 jenkins jenkins 110877 May 11 16:30 coverage.out 16:31:11 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:28 example 16:31:11 -rw-r--r-- 1 jenkins jenkins 446 May 11 16:31 go.mod 16:31:11 -rw-r--r-- 1 jenkins jenkins 12179 May 11 16:31 go.sum 16:31:11 drwxrwxr-x 15 jenkins jenkins 4096 May 11 16:28 internal 16:31:11 drwxrwxr-x 5 jenkins jenkins 4096 May 11 16:28 pkg 16:31:11 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:28 snap 16:31:11 -rw-rw-r-- 1 jenkins jenkins 222 May 11 16:28 version.go [Pipeline] isUnix [Pipeline] sh 16:31:12 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e7402411d8746a82393d3a19e59e88ef18696c65 --label arch=arm64 --label version=1.2.1-dev.4 . 16:31:12 Sending build context to Docker daemon 3.177MB 16:31:12 Step 1/21 : ARG BASE=golang:1.13-alpine 16:31:12 Step 2/21 : FROM ${BASE} AS builder 16:31:12 ---> 619a965e7bd4 16:31:12 Step 3/21 : ARG MAKE='make build' 16:31:12 ---> Running in ed4e438ca52a 16:31:13 Removing intermediate container ed4e438ca52a 16:31:13 ---> f64934e08ae4 16:31:13 Step 4/21 : WORKDIR /device-sdk-go 16:31:13 ---> Running in cf64e6a8dbe4 16:31:13 Removing intermediate container cf64e6a8dbe4 16:31:13 ---> 1da0374d823b 16:31:13 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:31:14 ---> Running in 9969e5922a94 16:31:14 Removing intermediate container 9969e5922a94 16:31:14 ---> d5cfb424e13e 16:31:14 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:31:14 ---> Running in d39f7fac51da 16:31:16 Removing intermediate container d39f7fac51da 16:31:16 ---> 8ce6b1517766 16:31:16 Step 7/21 : RUN apk add --update --no-cache make git 16:31:16 ---> Running in 2057627365f6 16:31:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:31:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:31:22 OK: 125 MiB in 39 packages 16:31:23 Removing intermediate container 2057627365f6 16:31:23 ---> 97748a5fc465 16:31:23 Step 8/21 : COPY . . 16:31:25 ---> d03cbdaa41d3 16:31:25 Step 9/21 : RUN ${MAKE} 16:31:25 ---> Running in a7d2319f0870 16:31:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:31:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:31:52 Removing intermediate container a7d2319f0870 16:31:52 ---> 1b69326a5c4f 16:31:52 Step 10/21 : FROM scratch 16:31:52 ---> 16:31:52 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:31:52 ---> Running in 083e8762f1f2 16:31:52 Removing intermediate container 083e8762f1f2 16:31:52 ---> 2bb8c27b182b 16:31:52 Step 12/21 : ENV APP_PORT=49990 16:31:52 ---> Running in 03d18b7e4e7d 16:31:52 Removing intermediate container 03d18b7e4e7d 16:31:52 ---> b86b7d6d5c4b 16:31:52 Step 13/21 : EXPOSE $APP_PORT 16:31:52 ---> Running in 81241f6d1fcc 16:31:52 Removing intermediate container 81241f6d1fcc 16:31:52 ---> 5b5bb5393b8b 16:31:52 Step 14/21 : WORKDIR / 16:31:52 ---> Running in 7c80a967176e 16:31:53 Removing intermediate container 7c80a967176e 16:31:53 ---> 1147fbcef1c0 16:31:53 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:31:54 ---> 6feb34152682 16:31:54 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:31:54 ---> 1c2ac3b58f3e 16:31:54 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:31:55 ---> 6329ade95b4b 16:31:55 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:31:55 ---> Running in b8dc3217226b 16:31:56 Removing intermediate container b8dc3217226b 16:31:56 ---> 837214ac38dd 16:31:56 Step 19/21 : LABEL arch=arm64 16:31:56 ---> Running in aa42e2266f92 16:31:56 Removing intermediate container aa42e2266f92 16:31:56 ---> 8ae20e42070c 16:31:56 Step 20/21 : LABEL git_sha=e7402411d8746a82393d3a19e59e88ef18696c65 16:31:56 ---> Running in 909220f03127 16:31:56 Removing intermediate container 909220f03127 16:31:56 ---> 4e33629924bc 16:31:56 Step 21/21 : LABEL version=1.2.1-dev.4 16:31:56 ---> Running in d9f2f6943a77 16:31:57 Removing intermediate container d9f2f6943a77 16:31:57 ---> fc006d17a489 16:31:57 [Warning] One or more build-args [ARCH] were not consumed 16:31:57 Successfully built fc006d17a489 16:31:57 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 16:31:58 provisioning config files... 16:31:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6860904900655968521tmp [Pipeline] { [Pipeline] sh 16:31:59 + curl -s https://codecov.io/bash 16:31:59 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6860904900655968521tmp 16:31:59 16:31:59 _____ _ 16:31:59 / ____| | | 16:31:59 | | ___ __| | ___ ___ _____ __ 16:31:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:31:59 | |___| (_) | (_| | __/ (_| (_) \ V / 16:31:59 \_____\___/ \__,_|\___|\___\___/ \_/ 16:31:59 Bash-tbd 16:31:59 16:31:59 16:31:59 ==> Jenkins CI detected. 16:31:59 project root: . 16:31:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:31:59 ==> Running gcov in . (disable via -X gcov) 16:31:59 ==> Python coveragepy not found 16:31:59 ==> Searching for coverage reports in: 16:31:59 + . 16:31:59 -> Found 1 reports 16:31:59 ==> Detecting git/mercurial file structure 16:31:59 ==> Reading reports 16:31:59 + ./coverage.out bytes=110877 16:31:59 ==> Appending adjustments 16:31:59 http://docs.codecov.io/docs/fixing-reports 16:31:59 + Found adjustments 16:31:59 ==> Gzipping contents 16:31:59 ==> Uploading reports 16:31:59 url: https://codecov.io 16:31:59 query: branch=master&commit=e7402411d8746a82393d3a19e59e88ef18696c65&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 16:31:59 -> Pinging Codecov 16:31:59 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=e7402411d8746a82393d3a19e59e88ef18696c65&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 16:32:00 -> Uploading 16:32:00 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e7402411d8746a82393d3a19e59e88ef18696c65 [Pipeline] } 16:32:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 16:32:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 16:32:01 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 16:32:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:32:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 16:32:01 16:32:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 16:32:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 16:32:02 1.217.3: Pulling from edgex-devops/edgex-snyk-go 16:32:02 cbdbe7a5bc2a: Pulling fs layer 16:32:02 408f87550127: Pulling fs layer 16:32:02 fe522b08c979: Pulling fs layer 16:32:02 221eaa008020: Pulling fs layer 16:32:02 2a4607e5d6b9: Pulling fs layer 16:32:02 95d3c3421fef: Pulling fs layer 16:32:02 2fec7dd152b6: Pulling fs layer 16:32:02 d65e43aa86fe: Pulling fs layer 16:32:02 10a7cc25405e: Pulling fs layer 16:32:02 2a4607e5d6b9: Waiting 16:32:02 95d3c3421fef: Waiting 16:32:02 2fec7dd152b6: Waiting 16:32:02 d65e43aa86fe: Waiting 16:32:02 10a7cc25405e: Waiting 16:32:02 221eaa008020: Waiting 16:32:02 fe522b08c979: Verifying Checksum 16:32:02 fe522b08c979: Download complete 16:32:02 408f87550127: Verifying Checksum 16:32:02 408f87550127: Download complete 16:32:02 2a4607e5d6b9: Verifying Checksum 16:32:02 2a4607e5d6b9: Download complete 16:32:02 95d3c3421fef: Verifying Checksum 16:32:02 95d3c3421fef: Download complete 16:32:02 cbdbe7a5bc2a: Verifying Checksum 16:32:02 cbdbe7a5bc2a: Download complete 16:32:02 2fec7dd152b6: Verifying Checksum 16:32:02 2fec7dd152b6: Download complete 16:32:02 cbdbe7a5bc2a: Pull complete 16:32:02 408f87550127: Pull complete 16:32:03 d65e43aa86fe: Verifying Checksum 16:32:03 d65e43aa86fe: Download complete 16:32:03 fe522b08c979: Pull complete 16:32:03 10a7cc25405e: Verifying Checksum 16:32:03 10a7cc25405e: Download complete 16:32:04 221eaa008020: Verifying Checksum 16:32:04 221eaa008020: Download complete 16:32:12 221eaa008020: Pull complete 16:32:12 2a4607e5d6b9: Pull complete 16:32:12 95d3c3421fef: Pull complete 16:32:14 2fec7dd152b6: Pull complete 16:32:17 d65e43aa86fe: Pull complete 16:32:18 10a7cc25405e: Pull complete 16:32:18 Digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b 16:32:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 16:32:18 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:32:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 16:32:19 $ docker top 13e8a62fd99b5b3f4ce3750227e6081f3d5bb3a3e1093f1c73c4150b53dd1b6d -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:20 + snyk monitor '--org=edgex-jenkins' 16:32:28 16:32:28 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 16:32:28 16:32:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/e8ff66ea-cfff-4829-b414-b639572d148c 16:32:28 16:32:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:32:28 16:32:29 [Pipeline] } 16:32:29 $ docker stop --time=1 13e8a62fd99b5b3f4ce3750227e6081f3d5bb3a3e1093f1c73c4150b53dd1b6d 16:32:31 $ docker rm -f 13e8a62fd99b5b3f4ce3750227e6081f3d5bb3a3e1093f1c73c4150b53dd1b6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 16:32:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:32 . [Pipeline] withDockerContainer 16:32:32 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:32:32 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:32:33 $ docker top df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:33 [ssh-agent] Looking for ssh-agent implementation... 16:32:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:33 $ docker exec df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab ssh-agent 16:32:34 SSH_AUTH_SOCK=/tmp/ssh-OB6RtdpcLZFG/agent.15 16:32:34 SSH_AGENT_PID=21 16:32:34 Running ssh-add (command line suppressed) 16:32:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3070603766749313469.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3070603766749313469.key) 16:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:34 + git semver tag 16:32:34 # -> Open(): unable to determine branch for HEAD 16:32:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 16:32:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 16:32:34 # $SEMVER_REMOTE_NAME = origin 16:32:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:32:34 # $SEMVER_USER_NAME = edgex-jenkins 16:32:34 # $SEMVER_BRANCH = master 16:32:34 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 16:32:34 # e7402411d8746a82393d3a19e59e88ef18696c65 HEAD 16:32:34 # -> Force: false 16:32:34 # 78380365ef24d4b5167b6c4c55b1413b092cc44f refs/tags/v1.2.1-dev.4 [Pipeline] } 16:32:34 $ docker exec --env ******** --env ******** df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab ssh-agent -k 16:32:35 unset SSH_AUTH_SOCK; 16:32:35 unset SSH_AGENT_PID; 16:32:35 echo Agent pid 21 killed; 16:32:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:35 + git semver [Pipeline] } 16:32:35 $ docker stop --time=1 df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab 16:32:37 $ docker rm -f df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:37 16:32:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:32:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:37 0.23.1-centos7: Pulling from edgex-lftools 16:32:37 ab5ef0e58194: Pulling fs layer 16:32:37 9712f1f96733: Pulling fs layer 16:32:37 63f879dbbcfc: Pulling fs layer 16:32:37 0d9ebad4ef96: Pulling fs layer 16:32:37 e9a5061849ea: Pulling fs layer 16:32:37 d747dcd14b5f: Pulling fs layer 16:32:37 2de7ff778b66: Pulling fs layer 16:32:37 0d9ebad4ef96: Waiting 16:32:37 e9a5061849ea: Waiting 16:32:37 d747dcd14b5f: Waiting 16:32:37 2de7ff778b66: Waiting 16:32:37 9712f1f96733: Verifying Checksum 16:32:37 9712f1f96733: Download complete 16:32:38 63f879dbbcfc: Verifying Checksum 16:32:38 63f879dbbcfc: Download complete 16:32:38 e9a5061849ea: Verifying Checksum 16:32:38 e9a5061849ea: Download complete 16:32:38 d747dcd14b5f: Verifying Checksum 16:32:38 d747dcd14b5f: Download complete 16:32:39 2de7ff778b66: Verifying Checksum 16:32:39 2de7ff778b66: Download complete 16:32:39 0d9ebad4ef96: Verifying Checksum 16:32:39 0d9ebad4ef96: Download complete 16:32:39 ab5ef0e58194: Verifying Checksum 16:32:39 ab5ef0e58194: Download complete 16:32:43 ab5ef0e58194: Pull complete 16:32:43 9712f1f96733: Pull complete 16:32:46 63f879dbbcfc: Pull complete 16:32:52 0d9ebad4ef96: Pull complete 16:32:52 e9a5061849ea: Pull complete 16:32:52 d747dcd14b5f: Pull complete 16:32:57 2de7ff778b66: Pull complete 16:32:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:32:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:32:58 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:32:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:32:59 $ docker top de0786f9b1bff6398ab7a801b64b514503fada12684b2d48fdcf4f2c6c1d77bb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:33:00 provisioning config files... 16:33:00 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1919779948799259153tmp 16:33:00 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7643003447915457539tmp 16:33:00 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7462349590374181235tmp [Pipeline] { [Pipeline] echo 16:33:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:33:00 ---> sigul-configuration.sh 16:33:00 gpg: directory `/root/.gnupg' created 16:33:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:33:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:33:00 gpg: keyring `/root/.gnupg/secring.gpg' created 16:33:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:33:00 gpg: CAST5 encrypted data 16:33:00 gpg: encrypted with 1 passphrase 16:33:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:33:01 + mkdir /home/jenkins 16:33:01 + mkdir /home/jenkins/sigul [Pipeline] sh 16:33:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 16:33:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:33:01 ---> sigul-install.sh 16:33:06 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:33:07 + git tag --list 16:33:07 v1.2.1-dev.4 [Pipeline] sh 16:33:07 + lftools sign git-tag v1.2.1-dev.4 16:33:08 Signing Git tag with Sigul... 16:33:08 Signing v1.2.1-dev.4 [Pipeline] echo 16:33:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:33:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:33:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:33:10 $ docker stop --time=1 de0786f9b1bff6398ab7a801b64b514503fada12684b2d48fdcf4f2c6c1d77bb 16:33:11 $ docker rm -f de0786f9b1bff6398ab7a801b64b514503fada12684b2d48fdcf4f2c6c1d77bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:33:12 . [Pipeline] withDockerContainer 16:33:12 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:33:12 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:33:13 $ docker top 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:33:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:13 [ssh-agent] Looking for ssh-agent implementation... 16:33:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:13 $ docker exec 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 ssh-agent 16:33:14 SSH_AUTH_SOCK=/tmp/ssh-1uSyFNNPPwWw/agent.15 16:33:14 SSH_AGENT_PID=22 16:33:14 Running ssh-add (command line suppressed) 16:33:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9043190791061463145.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9043190791061463145.key) 16:33:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:14 + git semver bump pre 16:33:14 # -> Open(): unable to determine branch for HEAD 16:33:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 16:33:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 16:33:14 # $SEMVER_REMOTE_NAME = origin 16:33:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:33:14 # $SEMVER_USER_NAME = edgex-jenkins 16:33:14 # $SEMVER_BRANCH = master 16:33:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 16:33:14 1.2.1-dev.5 [Pipeline] } 16:33:14 $ docker exec --env ******** --env ******** 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 ssh-agent -k 16:33:14 unset SSH_AUTH_SOCK; 16:33:14 unset SSH_AGENT_PID; 16:33:14 echo Agent pid 22 killed; 16:33:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:33:15 + git semver [Pipeline] } 16:33:15 $ docker stop --time=1 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 16:33:16 $ docker rm -f 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:33:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:33:17 . [Pipeline] withDockerContainer 16:33:17 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:33:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:33:18 $ docker top fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:33:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:18 [ssh-agent] Looking for ssh-agent implementation... 16:33:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:18 $ docker exec fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b ssh-agent 16:33:19 SSH_AUTH_SOCK=/tmp/ssh-OSd8qaCQvdqR/agent.14 16:33:19 SSH_AGENT_PID=21 16:33:19 Running ssh-add (command line suppressed) 16:33:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3449766941954219940.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3449766941954219940.key) 16:33:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:19 + git semver push 16:33:19 # -> Open(): unable to determine branch for HEAD 16:33:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 16:33:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 16:33:19 # $SEMVER_REMOTE_NAME = origin 16:33:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:33:19 # $SEMVER_USER_NAME = edgex-jenkins 16:33:19 # $SEMVER_BRANCH = master 16:33:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 16:33:27 $ docker exec --env ******** --env ******** fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b ssh-agent -k 16:33:27 unset SSH_AUTH_SOCK; 16:33:27 unset SSH_AGENT_PID; 16:33:27 echo Agent pid 21 killed; 16:33:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:33:28 + git semver [Pipeline] } 16:33:28 $ docker stop --time=1 fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b 16:33:29 $ docker rm -f fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:33:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:33:30 ---> package-listing.sh 16:33:30 ++ facter osfamily 16:33:30 ++ tr '[:upper:]' '[:lower:]' 16:33:30 + OS_FAMILY=redhat 16:33:30 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 16:33:30 + START_PACKAGES=/tmp/packages_start.txt 16:33:30 + END_PACKAGES=/tmp/packages_end.txt 16:33:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:33:30 + PACKAGES=/tmp/packages_start.txt 16:33:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 16:33:30 + PACKAGES=/tmp/packages_end.txt 16:33:30 + case "${OS_FAMILY}" in 16:33:30 + rpm -qa 16:33:30 + sort 16:33:34 + '[' -f /tmp/packages_start.txt ']' 16:33:34 + '[' -f /tmp/packages_end.txt ']' 16:33:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:33:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 16:33:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 16:33:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 16:33:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:33:34 16:33:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:33:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:33:34 alpine: Pulling from edgex-lftools-log-publisher 16:33:34 c9b1b535fdd9: Pulling fs layer 16:33:34 2cc5ad85d9ab: Pulling fs layer 16:33:34 756a868c4378: Pulling fs layer 16:33:34 444b2fc9a129: Pulling fs layer 16:33:34 ea15f1150254: Pulling fs layer 16:33:34 41b27a9f41bf: Pulling fs layer 16:33:34 28c525ee5125: Pulling fs layer 16:33:34 094b1ea09ed8: Pulling fs layer 16:33:34 138eaada9080: Pulling fs layer 16:33:34 0622d0fa9048: Pulling fs layer 16:33:34 28c525ee5125: Waiting 16:33:34 444b2fc9a129: Waiting 16:33:34 ea15f1150254: Waiting 16:33:34 138eaada9080: Waiting 16:33:34 41b27a9f41bf: Waiting 16:33:34 0622d0fa9048: Waiting 16:33:34 094b1ea09ed8: Waiting 16:33:34 2cc5ad85d9ab: Verifying Checksum 16:33:34 2cc5ad85d9ab: Download complete 16:33:34 444b2fc9a129: Verifying Checksum 16:33:34 444b2fc9a129: Download complete 16:33:34 c9b1b535fdd9: Verifying Checksum 16:33:34 c9b1b535fdd9: Download complete 16:33:34 ea15f1150254: Verifying Checksum 16:33:34 ea15f1150254: Download complete 16:33:35 28c525ee5125: Verifying Checksum 16:33:35 28c525ee5125: Download complete 16:33:35 c9b1b535fdd9: Pull complete 16:33:35 756a868c4378: Verifying Checksum 16:33:35 756a868c4378: Download complete 16:33:35 138eaada9080: Verifying Checksum 16:33:35 138eaada9080: Download complete 16:33:35 0622d0fa9048: Verifying Checksum 16:33:35 0622d0fa9048: Download complete 16:33:35 094b1ea09ed8: Verifying Checksum 16:33:35 094b1ea09ed8: Download complete 16:33:36 41b27a9f41bf: Verifying Checksum 16:33:36 41b27a9f41bf: Download complete 16:33:36 2cc5ad85d9ab: Pull complete 16:33:38 756a868c4378: Pull complete 16:33:38 444b2fc9a129: Pull complete 16:33:40 ea15f1150254: Pull complete 16:33:44 41b27a9f41bf: Pull complete 16:33:44 28c525ee5125: Pull complete 16:33:47 094b1ea09ed8: Pull complete 16:33:47 138eaada9080: Pull complete 16:33:47 0622d0fa9048: Pull complete 16:33:47 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:33:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:33:48 prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container 16:33:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:33:49 $ docker top 6b2a304946bf4f6ae83eeb8aa39e8bfae3a6b6b56b75721c0e11b42d109cc2a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:33:49 provisioning config files... 16:33:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3769945248378558697tmp [Pipeline] { [Pipeline] echo 16:33:49 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:33:49 ---> create-netrc.sh [Pipeline] echo 16:33:49 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:33:50 ---> logs-deploy.sh 16:33:50 + ARCHIVE_ARTIFACTS= 16:33:50 + LOGS_SERVER=https://logs.edgexfoundry.org 16:33:50 + '[' https://logs.edgexfoundry.org == None ']' 16:33:50 + NEXUS_URL=https://nexus.edgexfoundry.org 16:33:50 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/40 16:33:50 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/40/ 16:33:50 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/40 /w/workspace/dgexfoundry_device-sdk-go_master 16:33:51 Archives upload complete. 16:33:51 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/40 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/40/