Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 79a40a317d1b6800d1816ffd538dea299a9d4c8b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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/ [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1660’ is offline Running on prd-centos7-docker-4c-2g-2435 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 79a40a317d1b6800d1816ffd538dea299a9d4c8b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 Commit message: "Refactor to use go-mod-bootstrap package (#432)" > git rev-list --no-walk 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:50:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 19:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:50:15 19:50:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:50:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:50:15 latest: Pulling from edgex-devops/git-semver 19:50:15 9123ac7c32f7: Pulling fs layer 19:50:15 b8cc5d1170e3: Pulling fs layer 19:50:15 2924cbbf6a41: Pulling fs layer 19:50:15 93b08a4f1073: Pulling fs layer 19:50:15 93b08a4f1073: Waiting 19:50:15 b8cc5d1170e3: Verifying Checksum 19:50:15 b8cc5d1170e3: Download complete 19:50:16 9123ac7c32f7: Verifying Checksum 19:50:16 9123ac7c32f7: Download complete 19:50:16 2924cbbf6a41: Verifying Checksum 19:50:16 2924cbbf6a41: Download complete 19:50:16 93b08a4f1073: Verifying Checksum 19:50:16 93b08a4f1073: Download complete 19:50:16 9123ac7c32f7: Pull complete 19:50:16 b8cc5d1170e3: Pull complete 19:50:17 2924cbbf6a41: Pull complete 19:50:17 93b08a4f1073: Pull complete 19:50:17 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 19:50:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:50:17 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:50: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:50:18 $ docker top 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:50:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:50:18 [ssh-agent] Looking for ssh-agent implementation... 19:50:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:50:18 $ docker exec 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 ssh-agent 19:50:18 SSH_AUTH_SOCK=/tmp/ssh-GwxXD8LheJJy/agent.14 19:50:18 SSH_AGENT_PID=21 19:50:18 Running ssh-add (command line suppressed) 19:50:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8162727680474849060.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8162727680474849060.key) 19:50:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:50:19 + git describe --exact-match --tags HEAD 19:50:19 fatal: No names found, cannot describe anything. [Pipeline] } 19:50:19 $ docker exec --env ******** --env ******** 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 ssh-agent -k 19:50:19 unset SSH_AUTH_SOCK; 19:50:19 unset SSH_AGENT_PID; 19:50:19 echo Agent pid 21 killed; 19:50:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:50:19 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:50:19 This usually means this commit has not been tagged. [Pipeline] sshagent 19:50:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:50:19 [ssh-agent] Looking for ssh-agent implementation... 19:50:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:50:20 $ docker exec 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 ssh-agent 19:50:20 SSH_AUTH_SOCK=/tmp/ssh-G3RZ851OtisJ/agent.56 19:50:20 SSH_AGENT_PID=62 19:50:20 Running ssh-add (command line suppressed) 19:50:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1875816405918773523.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1875816405918773523.key) 19:50:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:50:20 + git semver init 19:50:20 # -> Open(): unable to determine branch for HEAD 19:50:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 19:50:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 19:50:20 # $SEMVER_REMOTE_NAME = origin 19:50:20 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 19:50:20 # $SEMVER_USER_NAME = jenkins 19:50:20 # $SEMVER_BRANCH = master 19:50:20 # $SEMVER_TEMP = /tmp/semver-121834986 19:50:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 19:50:21 # '/tmp/semver-121834986' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 19:50:21 # -> Force: false 19:50:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 19:50:21 $ docker exec --env ******** --env ******** 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 ssh-agent -k 19:50:21 unset SSH_AUTH_SOCK; 19:50:21 unset SSH_AGENT_PID; 19:50:21 echo Agent pid 62 killed; 19:50:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:50:22 + git semver [Pipeline] } 19:50:22 $ docker stop --time=1 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 19:50:23 $ docker rm -f 260b044b6eede7769e4739b0df158668c855b4870d423c276ce8fd5f79dd9e25 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:50:24 Stashed 31 file(s) [Pipeline] echo 19:50:24 [edgeXSemver] initialized semver on version 1.2.0-dev.14 [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 19:50:39 Still waiting to schedule task 19:50:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:50:39 Still waiting to schedule task 19:50:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:52:55 Running on prd-centos7-docker-4c-2g-2437 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 19:52:56 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 19:52:58 using credential edgex-jenkins-ssh 19:52:58 Cloning the remote Git repository 19:52:58 Cloning with configured refspecs honoured and without tags 19:52:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:52:58 > git init /w/workspace/device-sdk-go/14 # timeout=10 19:52:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:52:58 > git --version # timeout=10 19:52:58 using GIT_SSH to set credentials SSH Credentials for GitHub 19:52:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:52:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:52:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:52:59 Fetching without tags 19:52:59 Checking out Revision 79a40a317d1b6800d1816ffd538dea299a9d4c8b (master) 19:52:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:52:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:52:59 > git config core.sparsecheckout # timeout=10 19:52:59 > git checkout -f 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 19:53:03 Commit message: "Refactor to use go-mod-bootstrap package (#432)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:53:04 ========================================================= 19:53:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:53:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:53:05 + 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 . 19:53:05 Sending build context to Docker daemon 2.76MB 19:53:05 Step 1/8 : ARG BASE=golang:1.13-alpine 19:53:05 Step 2/8 : FROM ${BASE} 19:53:05 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:53:05 e6b0cf9c0882: Pulling fs layer 19:53:05 2848faf0eed1: Pulling fs layer 19:53:05 0f37312ad70f: Pulling fs layer 19:53:05 5788d62ee057: Pulling fs layer 19:53:05 0e6b1d234666: Pulling fs layer 19:53:05 bf5d7aec512f: Pulling fs layer 19:53:05 34c802a77dc8: Pulling fs layer 19:53:05 9eb99e56ec68: Pulling fs layer 19:53:05 27c7a5d97fbd: Pulling fs layer 19:53:05 5c102a31e300: Pulling fs layer 19:53:05 dcfb455df0a1: Pulling fs layer 19:53:05 5788d62ee057: Waiting 19:53:05 0e6b1d234666: Waiting 19:53:05 bf5d7aec512f: Waiting 19:53:05 34c802a77dc8: Waiting 19:53:05 9eb99e56ec68: Waiting 19:53:05 27c7a5d97fbd: Waiting 19:53:05 5c102a31e300: Waiting 19:53:05 dcfb455df0a1: Waiting 19:53:05 0f37312ad70f: Verifying Checksum 19:53:05 0f37312ad70f: Download complete 19:53:05 2848faf0eed1: Verifying Checksum 19:53:05 2848faf0eed1: Download complete 19:53:05 0e6b1d234666: Verifying Checksum 19:53:05 0e6b1d234666: Download complete 19:53:05 bf5d7aec512f: Verifying Checksum 19:53:05 bf5d7aec512f: Download complete 19:53:05 e6b0cf9c0882: Verifying Checksum 19:53:05 e6b0cf9c0882: Download complete 19:53:06 e6b0cf9c0882: Pull complete 19:53:06 2848faf0eed1: Pull complete 19:53:07 34c802a77dc8: Verifying Checksum 19:53:07 34c802a77dc8: Download complete 19:53:07 27c7a5d97fbd: Verifying Checksum 19:53:07 27c7a5d97fbd: Download complete 19:53:07 5788d62ee057: Verifying Checksum 19:53:07 5788d62ee057: Download complete 19:53:07 dcfb455df0a1: Verifying Checksum 19:53:07 dcfb455df0a1: Download complete 19:53:07 5c102a31e300: Verifying Checksum 19:53:07 5c102a31e300: Download complete 19:53:07 9eb99e56ec68: Verifying Checksum 19:53:07 9eb99e56ec68: Download complete 19:53:09 0f37312ad70f: Pull complete 19:53:15 5788d62ee057: Pull complete 19:53:15 0e6b1d234666: Pull complete 19:53:15 bf5d7aec512f: Pull complete 19:53:21 34c802a77dc8: Pull complete 19:53:23 9eb99e56ec68: Pull complete 19:53:23 27c7a5d97fbd: Pull complete 19:53:25 5c102a31e300: Pull complete 19:53:25 dcfb455df0a1: Pull complete 19:53:25 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 19:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:53:25 ---> 7c70fe431013 19:53:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:53:25 ---> Running in d8f1bd7f2339 19:53:25 Removing intermediate container d8f1bd7f2339 19:53:25 ---> b2699e0c4784 19:53:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:53:25 ---> Running in d170c08f6a84 19:53:26 Removing intermediate container d170c08f6a84 19:53:26 ---> d20528cdc197 19:53:26 Step 5/8 : RUN apk add --no-cache make git 19:53:26 ---> Running in 9ef5e4226361 19:53:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:53:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:53:28 OK: 143 MiB in 39 packages 19:53:28 Removing intermediate container 9ef5e4226361 19:53:28 ---> 5cad64ee7519 19:53:28 Step 6/8 : WORKDIR /device-sdk-go 19:53:28 ---> Running in b4d4b375dc77 19:53:28 Removing intermediate container b4d4b375dc77 19:53:28 ---> e253ff64bb56 19:53:28 Step 7/8 : COPY . . 19:53:29 ---> 07182b0d5116 19:53:29 Step 8/8 : RUN go mod download 19:53:29 ---> Running in f977768ff3a9 19:53:32 go: finding github.com/BurntSushi/toml v0.3.1 19:53:32 go: finding github.com/OneOfOne/xxhash v1.2.6 19:53:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:53:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:53:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:53:32 go: finding github.com/bgentry/speakeasy v0.1.0 19:53:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:53:32 go: finding github.com/davecgh/go-spew v1.1.1 19:53:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 19:53:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:53:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 19:53:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 19:53:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:53:32 go: finding github.com/fatih/color v1.7.0 19:53:32 go: finding github.com/go-kit/kit v0.8.0 19:53:32 go: finding github.com/go-logfmt/logfmt v0.4.0 19:53:32 go: finding github.com/go-stack/stack v1.8.0 19:53:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:53:32 go: finding github.com/google/uuid v1.1.0 19:53:32 go: finding github.com/gorilla/mux v1.7.1 19:53:32 go: finding github.com/hashicorp/consul/api v1.1.0 19:53:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:53:32 go: finding github.com/hashicorp/errwrap v1.0.0 19:53:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:53:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:53:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:53:32 go: finding github.com/hashicorp/go-multierror v1.0.0 19:53:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:53:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:53:32 go: finding github.com/hashicorp/go-syslog v1.0.0 19:53:32 go: finding github.com/hashicorp/go-uuid v1.0.1 19:53:32 go: finding github.com/hashicorp/go.net v0.0.1 19:53:32 go: finding github.com/hashicorp/golang-lru v0.5.0 19:53:32 go: finding github.com/hashicorp/logutils v1.0.0 19:53:32 go: finding github.com/hashicorp/mdns v1.0.0 19:53:32 go: finding github.com/hashicorp/memberlist v0.1.3 19:53:32 go: finding github.com/hashicorp/serf v0.8.2 19:53:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:53:32 go: finding github.com/mattn/go-colorable v0.0.9 19:53:32 go: finding github.com/mattn/go-isatty v0.0.3 19:53:32 go: finding github.com/miekg/dns v1.0.14 19:53:32 go: finding github.com/mitchellh/cli v1.0.0 19:53:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:53:32 go: finding github.com/mitchellh/copystructure v1.0.0 19:53:32 go: finding github.com/mitchellh/go-homedir v1.0.0 19:53:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:53:32 go: finding github.com/mitchellh/gox v0.4.0 19:53:32 go: finding github.com/mitchellh/iochan v1.0.0 19:53:32 go: finding github.com/mitchellh/mapstructure v1.1.2 19:53:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:53:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:53:32 go: finding github.com/pelletier/go-toml v1.2.0 19:53:32 go: finding github.com/pkg/errors v0.8.1 19:53:32 go: finding github.com/pmezard/go-difflib v1.0.0 19:53:32 go: finding github.com/posener/complete v1.1.1 19:53:32 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:53:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:53:32 go: finding github.com/stretchr/objx v0.1.0 19:53:32 go: finding github.com/stretchr/testify v1.5.1 19:53:32 go: finding github.com/ugorji/go v1.1.4 19:53:32 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:53:32 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:53:32 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:53:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:53:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:53:32 go: finding gopkg.in/yaml.v2 v2.2.8 19:53:36 Removing intermediate container f977768ff3a9 19:53:36 ---> 53dca9c235b9 19:53:36 Successfully built 53dca9c235b9 19:53: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 19:53:37 + docker inspect -f . ci-base-image-x86_64 19:53:37 . [Pipeline] withDockerContainer 19:53:37 prd-centos7-docker-4c-2g-2437 does not seem to be running inside a container 19:53:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** ci-base-image-x86_64 cat 19:53:38 $ docker top 0d562db3efa0736222ebcf0f809d23fa2a09690c26aae0d8da273b5f54324c9d -eo pid,comm [Pipeline] { [Pipeline] sh 19:53:38 + go version 19:53:38 go version go1.13.5 linux/amd64 [Pipeline] sh 19:53:39 + make test 19:53:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:53:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 19:53:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2436 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 19:53:48 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 19:53:54 using credential edgex-jenkins-ssh 19:53:54 Cloning the remote Git repository 19:53:54 Cloning with configured refspecs honoured and without tags 19:53:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:53:54 > git init /w/workspace/device-sdk-go/14 # timeout=10 19:53:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:53:54 > git --version # timeout=10 19:53:54 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:53:55 Fetching without tags 19:53:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:53:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:53:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:53:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:53:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:53:56 Checking out Revision 79a40a317d1b6800d1816ffd538dea299a9d4c8b (master) 19:53:56 > git config core.sparsecheckout # timeout=10 19:53:56 > git checkout -f 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 19:53:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 19:53:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 19:53:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.6% of statements 19:53:57 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.372s coverage: 95.8% of statements 19:54:01 Commit message: "Refactor to use go-mod-bootstrap package (#432)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:54:02 ========================================================= 19:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:54:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:54:03 + 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 . 19:54:04 Sending build context to Docker daemon 2.763MB 19:54:04 Step 1/8 : ARG BASE=golang:1.13-alpine 19:54:04 Step 2/8 : FROM ${BASE} 19:54:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:54:04 cde5963f3b93: Pulling fs layer 19:54:04 2a23fa8c16f7: Pulling fs layer 19:54:04 777b28850792: Pulling fs layer 19:54:04 8a11ddd9e578: Pulling fs layer 19:54:04 4cf88f913ddb: Pulling fs layer 19:54:04 1df406cf5192: Pulling fs layer 19:54:04 8a11ddd9e578: Waiting 19:54:04 4cf88f913ddb: Waiting 19:54:04 cd6300453558: Pulling fs layer 19:54:04 1df406cf5192: Waiting 19:54:04 b9c365052c96: Pulling fs layer 19:54:04 cd6300453558: Waiting 19:54:04 a2d8cc88f415: Pulling fs layer 19:54:04 b9c365052c96: Waiting 19:54:04 ea1d1ca13537: Pulling fs layer 19:54:04 3750a50a1c5e: Pulling fs layer 19:54:04 3750a50a1c5e: Waiting 19:54:04 777b28850792: Download complete 19:54:04 2a23fa8c16f7: Download complete 19:54:04 4cf88f913ddb: Verifying Checksum 19:54:04 4cf88f913ddb: Download complete 19:54:04 1df406cf5192: Verifying Checksum 19:54:04 1df406cf5192: Download complete 19:54:05 cde5963f3b93: Verifying Checksum 19:54:05 cde5963f3b93: Download complete 19:54:06 cde5963f3b93: Pull complete 19:54:06 2a23fa8c16f7: Pull complete 19:54:06 777b28850792: Pull complete 19:54:08 cd6300453558: Verifying Checksum 19:54:08 cd6300453558: Download complete 19:54:08 a2d8cc88f415: Verifying Checksum 19:54:08 a2d8cc88f415: Download complete 19:54:12 ea1d1ca13537: Verifying Checksum 19:54:12 ea1d1ca13537: Download complete 19:54:12 3750a50a1c5e: Verifying Checksum 19:54:12 3750a50a1c5e: Download complete 19:54:14 b9c365052c96: Download complete 19:54:16 8a11ddd9e578: Download complete 19:54:29 8a11ddd9e578: Pull complete 19:54:29 4cf88f913ddb: Pull complete 19:54:29 1df406cf5192: Pull complete 19:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.067s coverage: 7.7% of statements 19:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 22.7% of statements 19:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 19:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.141s coverage: 38.5% of statements 19:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 19:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 19:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.549s coverage: 79.9% of statements 19:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 19:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 19:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 19:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements 19:54:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.095s coverage: 76.1% of statements 19:54:29 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 19:54:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 19:54:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:54:29 gofmt -l . 19:54:29 [ "`gofmt -l .`" = "" ] 19:54:29 ./bin/test-attribution-txt.sh 19:54:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:54:30 Stashed 1 file(s) [Pipeline] } 19:54:30 $ docker stop --time=1 0d562db3efa0736222ebcf0f809d23fa2a09690c26aae0d8da273b5f54324c9d 19:54:32 $ docker rm -f 0d562db3efa0736222ebcf0f809d23fa2a09690c26aae0d8da273b5f54324c9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 19:54:33 cd6300453558: Pull complete [Pipeline] sh 19:54:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:54:34 + ls -al . 19:54:34 total 160 19:54:34 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 6 19:54 . 19:54:34 drwxrwxr-x. 4 jenkins jenkins 30 Apr 6 19:52 .. 19:54:34 drwxrwxr-x. 3 jenkins jenkins 20 Apr 6 19:52 api 19:54:34 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 19:52 bin 19:54:34 -rw-r--r--. 1 jenkins jenkins 94906 Apr 6 19:54 coverage.out 19:54:34 -rw-rw-r--. 1 jenkins jenkins 936 Apr 6 19:52 Dockerfile.build 19:54:34 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 19:52 .dockerignore 19:54:34 drwxrwxr-x. 4 jenkins jenkins 31 Apr 6 19:52 example 19:54:34 drwxrwxr-x. 8 jenkins jenkins 162 Apr 6 19:53 .git 19:54:34 drwxrwxr-x. 2 jenkins jenkins 38 Apr 6 19:52 .github 19:54:34 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 19:52 .gitignore 19:54:34 -rw-r--r--. 1 jenkins jenkins 438 Apr 6 19:54 go.mod 19:54:34 -rw-r--r--. 1 jenkins jenkins 11812 Apr 6 19:54 go.sum 19:54:34 drwxrwxr-x. 13 jenkins jenkins 179 Apr 6 19:52 internal 19:54:34 -rw-rw-r--. 1 jenkins jenkins 808 Apr 6 19:52 Jenkinsfile 19:54:34 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 19:52 LICENSE 19:54:34 -rw-rw-r--. 1 jenkins jenkins 892 Apr 6 19:52 Makefile 19:54:34 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 19:52 pkg 19:54:34 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 6 19:52 README.md 19:54:34 drwxrwxr-x. 3 jenkins jenkins 44 Apr 6 19:53 .semver 19:54:34 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 19:52 snap 19:54:34 -rw-rw-r--. 1 jenkins jenkins 12 Apr 6 19:50 VERSION 19:54:34 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 19:52 version.go [Pipeline] isUnix [Pipeline] sh 19:54:34 + 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=79a40a317d1b6800d1816ffd538dea299a9d4c8b --label arch=amd64 --label version=1.2.0-dev.14 . 19:54:34 Sending build context to Docker daemon 2.876MB 19:54:34 Step 1/20 : ARG BASE=golang:1.13-alpine 19:54:34 Step 2/20 : FROM ${BASE} AS builder 19:54:34 ---> 53dca9c235b9 19:54:34 Step 3/20 : ARG MAKE='make build' 19:54:34 ---> Running in 027583b9d0c6 19:54:34 Removing intermediate container 027583b9d0c6 19:54:34 ---> 97e70c72fd8d 19:54:34 Step 4/20 : WORKDIR /device-sdk-go 19:54:34 ---> Running in 7b51e61ef230 19:54:34 Removing intermediate container 7b51e61ef230 19:54:34 ---> 93d217dcb525 19:54:34 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:54:34 ---> Running in 79ee9f536ca7 19:54:35 Removing intermediate container 79ee9f536ca7 19:54:35 ---> 04323c536df9 19:54:35 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:35 ---> Running in 4ee4a9c4b18e 19:54:35 Removing intermediate container 4ee4a9c4b18e 19:54:35 ---> c72e66690f55 19:54:35 Step 7/20 : RUN apk add --update --no-cache make git 19:54:36 ---> Running in 862708946a72 19:54:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:54:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:54:37 OK: 143 MiB in 39 packages 19:54:37 Removing intermediate container 862708946a72 19:54:37 ---> 085e9182f0eb 19:54:37 Step 8/20 : COPY . . 19:54:37 ---> 77303051a4da 19:54:37 Step 9/20 : RUN ${MAKE} 19:54:37 ---> Running in c787a76c674a 19:54:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:54:38 b9c365052c96: Pull complete 19:54:38 a2d8cc88f415: Pull complete 19:54:40 ea1d1ca13537: Pull complete 19:54:40 3750a50a1c5e: Pull complete 19:54:40 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 19:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:54:40 ---> 78745c68409d 19:54:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:54:45 ---> Running in 5d56b660612e 19:54:45 Removing intermediate container 5d56b660612e 19:54:45 ---> 22db725bf6d3 19:54:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:45 ---> Running in a19f7e282ef5 19:54:47 Removing intermediate container a19f7e282ef5 19:54:47 ---> 6852b1e7c056 19:54:47 Step 5/8 : RUN apk add --no-cache make git 19:54:47 ---> Running in e149a68bc507 19:54:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:54:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:54:49 OK: 125 MiB in 39 packages 19:54:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 19:54:50 Removing intermediate container c787a76c674a 19:54:50 ---> 48ee9dd2e4f8 19:54:50 Step 10/20 : FROM scratch 19:54:50 ---> 19:54:50 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:54:50 ---> Running in f4b378ee71d8 19:54:50 Removing intermediate container f4b378ee71d8 19:54:50 ---> e4de8c5baac4 19:54:50 Step 12/20 : ENV APP_PORT=49990 19:54:50 ---> Running in d58d1e1503f9 19:54:50 Removing intermediate container d58d1e1503f9 19:54:50 ---> 4db80603fc3f 19:54:50 Step 13/20 : EXPOSE $APP_PORT 19:54:50 ---> Running in d9f52fe39004 19:54:50 Removing intermediate container d9f52fe39004 19:54:50 ---> 96e0497abb04 19:54:50 Step 14/20 : WORKDIR / 19:54:51 ---> Running in f468bf434f02 19:54:51 Removing intermediate container f468bf434f02 19:54:51 ---> f54097f936e4 19:54:51 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 19:54:51 Removing intermediate container e149a68bc507 19:54:51 ---> 71b9cbe733d5 19:54:51 Step 6/8 : WORKDIR /device-sdk-go 19:54:51 ---> Running in 74728fadc626 19:54:51 Removing intermediate container 74728fadc626 19:54:51 ---> 54737c9ab09b 19:54:51 Step 7/8 : COPY . . 19:54:51 ---> 5210be7dd163 19:54:51 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 19:54:51 ---> ec73bb42cba4 19:54:51 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 19:54:51 ---> Running in ee35d432f982 19:54:51 Removing intermediate container ee35d432f982 19:54:51 ---> 94867f560b4b 19:54:51 Step 18/20 : LABEL arch=amd64 19:54:51 ---> Running in ece77a7127c6 19:54:52 Removing intermediate container ece77a7127c6 19:54:52 ---> 622b08a61e92 19:54:52 Step 19/20 : LABEL git_sha=79a40a317d1b6800d1816ffd538dea299a9d4c8b 19:54:52 ---> Running in 230dfec9709f 19:54:52 Removing intermediate container 230dfec9709f 19:54:52 ---> 1ba8448ffa70 19:54:52 Step 20/20 : LABEL version=1.2.0-dev.14 19:54:52 ---> Running in aca656ed9043 19:54:52 Removing intermediate container aca656ed9043 19:54:52 ---> 41a0468d7617 19:54:52 [Warning] One or more build-args [ARCH] were not consumed 19:54:52 Successfully built 41a0468d7617 19:54: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] } 19:54:52 ---> b4ddccd05fb3 19:54:52 Step 8/8 : RUN go mod download 19:54:52 ---> Running in 22f8e548b0c7 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:54:54 go: finding github.com/BurntSushi/toml v0.3.1 19:54:54 go: finding github.com/OneOfOne/xxhash v1.2.6 19:54:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:54:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:54:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:54:54 go: finding github.com/bgentry/speakeasy v0.1.0 19:54:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:54:54 go: finding github.com/davecgh/go-spew v1.1.1 19:54:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 19:54:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:54:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 19:54:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 19:54:54 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:54:54 go: finding github.com/fatih/color v1.7.0 19:54:54 go: finding github.com/go-kit/kit v0.8.0 19:54:54 go: finding github.com/go-logfmt/logfmt v0.4.0 19:54:54 go: finding github.com/go-stack/stack v1.8.0 19:54:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:54:54 go: finding github.com/google/uuid v1.1.0 19:54:54 go: finding github.com/gorilla/mux v1.7.1 19:54:54 go: finding github.com/hashicorp/consul/api v1.1.0 19:54:54 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:54:54 go: finding github.com/hashicorp/errwrap v1.0.0 19:54:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:54:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:54:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:54:54 go: finding github.com/hashicorp/go-multierror v1.0.0 19:54:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:54:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:54:54 go: finding github.com/hashicorp/go-syslog v1.0.0 19:54:54 go: finding github.com/hashicorp/go-uuid v1.0.1 19:54:54 go: finding github.com/hashicorp/go.net v0.0.1 19:54:54 go: finding github.com/hashicorp/golang-lru v0.5.0 19:54:54 go: finding github.com/hashicorp/logutils v1.0.0 19:54:54 go: finding github.com/hashicorp/mdns v1.0.0 19:54:54 go: finding github.com/hashicorp/memberlist v0.1.3 19:54:54 go: finding github.com/hashicorp/serf v0.8.2 19:54:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:54:54 go: finding github.com/mattn/go-colorable v0.0.9 19:54:54 go: finding github.com/mattn/go-isatty v0.0.3 19:54:54 go: finding github.com/miekg/dns v1.0.14 19:54:54 go: finding github.com/mitchellh/cli v1.0.0 19:54:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:54:54 go: finding github.com/mitchellh/copystructure v1.0.0 19:54:54 go: finding github.com/mitchellh/go-homedir v1.0.0 19:54:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:54:54 go: finding github.com/mitchellh/gox v0.4.0 19:54:54 go: finding github.com/mitchellh/iochan v1.0.0 19:54:54 go: finding github.com/mitchellh/mapstructure v1.1.2 19:54:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:54:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:54:54 go: finding github.com/pelletier/go-toml v1.2.0 19:54:54 go: finding github.com/pkg/errors v0.8.1 19:54:54 go: finding github.com/pmezard/go-difflib v1.0.0 19:54:54 go: finding github.com/posener/complete v1.1.1 19:54:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:54:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:54:54 go: finding github.com/stretchr/objx v0.1.0 19:54:54 go: finding github.com/stretchr/testify v1.5.1 19:54:54 go: finding github.com/ugorji/go v1.1.4 19:54:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:54:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:54:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:54:55 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:54:55 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:54:55 go: finding gopkg.in/yaml.v2 v2.2.8 19:55:05 Removing intermediate container 22f8e548b0c7 19:55:05 ---> 79ac77215cca 19:55:05 Successfully built 79ac77215cca 19:55:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:55:05 + docker inspect -f . ci-base-image-arm64 19:55:06 . [Pipeline] withDockerContainer 19:55:06 prd-ubuntu18.04-docker-arm64-4c-16g-2436 does not seem to be running inside a container 19:55:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:55:08 $ docker top 09e78269587451622761904a6ea328e02e724f58128381debe16df05b16b03c8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:09 + go version 19:55:09 go version go1.13.5 linux/arm64 [Pipeline] sh 19:55:09 + make test 19:55:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:55:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 19:55:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 19:55:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 19:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 22.6% of statements 19:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.140s coverage: 95.8% of statements 19:56:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 7.7% of statements 19:56:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.038s coverage: 22.7% of statements 19:56:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 19:56:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.161s coverage: 38.5% of statements 19:56:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 19:56:24 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 19:56:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.685s coverage: 79.9% of statements 19:56:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 19:56:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 19:56:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 19:56:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 19:56:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 76.1% of statements 19:56:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 19:56:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 19:56:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:56:30 gofmt -l . 19:56:30 [ "`gofmt -l .`" = "" ] 19:56:30 ./bin/test-attribution-txt.sh 19:56:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:56:32 Warning: overwriting stash ‘coverage-report’ 19:56:32 Stashed 1 file(s) [Pipeline] } 19:56:32 $ docker stop --time=1 09e78269587451622761904a6ea328e02e724f58128381debe16df05b16b03c8 19:56:34 $ docker rm -f 09e78269587451622761904a6ea328e02e724f58128381debe16df05b16b03c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:56:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:56:36 + ls -al . 19:56:36 total 200 19:56:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 19:56 . 19:56:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:53 .. 19:56:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 19:53 .dockerignore 19:56:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 19:54 .git 19:56:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 19:53 .github 19:56:36 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 19:53 .gitignore 19:56:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 19:54 .semver 19:56:36 -rw-rw-r-- 1 jenkins jenkins 936 Apr 6 19:53 Dockerfile.build 19:56:36 -rw-rw-r-- 1 jenkins jenkins 808 Apr 6 19:53 Jenkinsfile 19:56:36 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 19:53 LICENSE 19:56:36 -rw-rw-r-- 1 jenkins jenkins 892 Apr 6 19:53 Makefile 19:56:36 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 6 19:53 README.md 19:56:36 -rw-rw-r-- 1 jenkins jenkins 12 Apr 6 19:50 VERSION 19:56:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 19:53 api 19:56:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 19:53 bin 19:56:36 -rw-r--r-- 1 jenkins jenkins 94906 Apr 6 19:56 coverage.out 19:56:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:53 example 19:56:36 -rw-r--r-- 1 jenkins jenkins 438 Apr 6 19:56 go.mod 19:56:36 -rw-r--r-- 1 jenkins jenkins 11812 Apr 6 19:56 go.sum 19:56:36 drwxrwxr-x 13 jenkins jenkins 4096 Apr 6 19:53 internal 19:56:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 19:53 pkg 19:56:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:53 snap 19:56:36 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 19:53 version.go [Pipeline] isUnix [Pipeline] sh 19:56:36 + 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=79a40a317d1b6800d1816ffd538dea299a9d4c8b --label arch=arm64 --label version=1.2.0-dev.14 . 19:56:37 Sending build context to Docker daemon 2.879MB 19:56:37 Step 1/20 : ARG BASE=golang:1.13-alpine 19:56:37 Step 2/20 : FROM ${BASE} AS builder 19:56:37 ---> 79ac77215cca 19:56:37 Step 3/20 : ARG MAKE='make build' 19:56:37 ---> Running in 5da187267120 19:56:37 Removing intermediate container 5da187267120 19:56:37 ---> 55478ef67636 19:56:37 Step 4/20 : WORKDIR /device-sdk-go 19:56:37 ---> Running in 2673cb15076c 19:56:38 Removing intermediate container 2673cb15076c 19:56:38 ---> 091343f48bea 19:56:38 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:56:38 ---> Running in 7afeaa0953aa 19:56:38 Removing intermediate container 7afeaa0953aa 19:56:38 ---> 5b2fdd39ef17 19:56:38 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:56:38 ---> Running in 7e7edc4c30a5 19:56:40 Removing intermediate container 7e7edc4c30a5 19:56:40 ---> 414b4fd0a781 19:56:40 Step 7/20 : RUN apk add --update --no-cache make git 19:56:40 ---> Running in d9c9b02306f7 19:56:41 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:56:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:56:42 OK: 125 MiB in 39 packages 19:56:43 Removing intermediate container d9c9b02306f7 19:56:43 ---> 88eddd9c2cf7 19:56:43 Step 8/20 : COPY . . 19:56:45 ---> bcd9f916f2ad 19:56:45 Step 9/20 : RUN ${MAKE} 19:56:45 ---> Running in 65564f453cf2 19:56:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:57:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 19:57:24 Removing intermediate container 65564f453cf2 19:57:24 ---> 583b19e1bf97 19:57:24 Step 10/20 : FROM scratch 19:57:24 ---> 19:57:24 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:57:24 ---> Running in 917b8678df01 19:57:24 Removing intermediate container 917b8678df01 19:57:24 ---> 1d5b179f8bf0 19:57:24 Step 12/20 : ENV APP_PORT=49990 19:57:24 ---> Running in c6b46c539811 19:57:24 Removing intermediate container c6b46c539811 19:57:24 ---> 4a947722ba84 19:57:24 Step 13/20 : EXPOSE $APP_PORT 19:57:24 ---> Running in ad48c165ec99 19:57:24 Removing intermediate container ad48c165ec99 19:57:24 ---> 476d9a327be3 19:57:24 Step 14/20 : WORKDIR / 19:57:24 ---> Running in 4f9d719b636e 19:57:24 Removing intermediate container 4f9d719b636e 19:57:24 ---> 482b9ef1524c 19:57:24 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 19:57:25 ---> eab5605c8a29 19:57:25 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 19:57:25 ---> c4aac34181b7 19:57:25 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 19:57:26 ---> Running in 3826d9490ae6 19:57:26 Removing intermediate container 3826d9490ae6 19:57:26 ---> e3e874616b8a 19:57:26 Step 18/20 : LABEL arch=arm64 19:57:26 ---> Running in 289a6ee6e4a4 19:57:26 Removing intermediate container 289a6ee6e4a4 19:57:26 ---> 19c3bf42032b 19:57:26 Step 19/20 : LABEL git_sha=79a40a317d1b6800d1816ffd538dea299a9d4c8b 19:57:26 ---> Running in d3e8ff4e929b 19:57:27 Removing intermediate container d3e8ff4e929b 19:57:27 ---> 9534bb2b0b17 19:57:27 Step 20/20 : LABEL version=1.2.0-dev.14 19:57:27 ---> Running in 0653821a2f90 19:57:27 Removing intermediate container 0653821a2f90 19:57:27 ---> b4ae1c768371 19:57:27 [Warning] One or more build-args [ARCH] were not consumed 19:57:27 Successfully built b4ae1c768371 19:57:27 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] } [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 19:57:28 provisioning config files... 19:57:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8775529228293531986tmp [Pipeline] { [Pipeline] sh 19:57:29 + curl -s https://codecov.io/bash 19:57:29 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8775529228293531986tmp 19:57:29 19:57:29 _____ _ 19:57:29 / ____| | | 19:57:29 | | ___ __| | ___ ___ _____ __ 19:57:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:57:29 | |___| (_) | (_| | __/ (_| (_) \ V / 19:57:29 \_____\___/ \__,_|\___|\___\___/ \_/ 19:57:29 Bash-tbd 19:57:29 19:57:29 19:57:29 ==> Jenkins CI detected. 19:57:29 project root: . 19:57:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:57:29 ==> Running gcov in . (disable via -X gcov) 19:57:29 ==> Python coveragepy not found 19:57:29 ==> Searching for coverage reports in: 19:57:29 + . 19:57:29 -> Found 1 reports 19:57:29 ==> Detecting git/mercurial file structure 19:57:29 ==> Reading reports 19:57:29 + ./coverage.out bytes=94906 19:57:29 ==> Appending adjustments 19:57:29 http://docs.codecov.io/docs/fixing-reports 19:57:29 + Found adjustments 19:57:29 ==> Gzipping contents 19:57:29 ==> Uploading reports 19:57:29 url: https://codecov.io 19:57:29 query: branch=master&commit=79a40a317d1b6800d1816ffd538dea299a9d4c8b&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 19:57:29 -> Pinging Codecov 19:57:29 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=79a40a317d1b6800d1816ffd538dea299a9d4c8b&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 19:57:30 -> Uploading 19:57:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/79a40a317d1b6800d1816ffd538dea299a9d4c8b [Pipeline] } 19:57:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 19:57:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 19:57:31 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 19:57:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:57:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 19:57:31 19:57:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 19:57:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 19:57:32 1.217.3: Pulling from edgex-devops/edgex-snyk-go 19:57:32 e6b0cf9c0882: Pulling fs layer 19:57:32 2848faf0eed1: Pulling fs layer 19:57:32 0f37312ad70f: Pulling fs layer 19:57:32 7d08f2745646: Pulling fs layer 19:57:32 4c9f31393084: Pulling fs layer 19:57:32 eb21ddb83652: Pulling fs layer 19:57:32 345998794f6b: Pulling fs layer 19:57:32 97a711d68925: Pulling fs layer 19:57:32 7c8476c1cb00: Pulling fs layer 19:57:32 eb21ddb83652: Waiting 19:57:32 345998794f6b: Waiting 19:57:32 97a711d68925: Waiting 19:57:32 7c8476c1cb00: Waiting 19:57:32 7d08f2745646: Waiting 19:57:32 4c9f31393084: Waiting 19:57:32 0f37312ad70f: Verifying Checksum 19:57:32 0f37312ad70f: Download complete 19:57:32 2848faf0eed1: Verifying Checksum 19:57:32 2848faf0eed1: Download complete 19:57:32 4c9f31393084: Download complete 19:57:32 eb21ddb83652: Verifying Checksum 19:57:32 eb21ddb83652: Download complete 19:57:32 e6b0cf9c0882: Verifying Checksum 19:57:32 e6b0cf9c0882: Download complete 19:57:32 e6b0cf9c0882: Pull complete 19:57:32 345998794f6b: Verifying Checksum 19:57:32 345998794f6b: Download complete 19:57:33 97a711d68925: Verifying Checksum 19:57:33 97a711d68925: Download complete 19:57:33 2848faf0eed1: Pull complete 19:57:33 7c8476c1cb00: Verifying Checksum 19:57:33 7c8476c1cb00: Download complete 19:57:33 0f37312ad70f: Pull complete 19:57:33 7d08f2745646: Verifying Checksum 19:57:33 7d08f2745646: Download complete 19:57:39 7d08f2745646: Pull complete 19:57:39 4c9f31393084: Pull complete 19:57:39 eb21ddb83652: Pull complete 19:57:40 345998794f6b: Pull complete 19:57:45 97a711d68925: Pull complete 19:57:45 7c8476c1cb00: Pull complete 19:57:45 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 19:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 19:57:45 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:57:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 19:57:45 $ docker top 7f4d72a4239d77d47186e84cf73c7606b94528629933ec08a8f38eede6eb5590 -eo pid,comm [Pipeline] { [Pipeline] sh 19:57:46 + snyk monitor '--org=edgex-jenkins' 19:57:52 19:57:52 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... 19:57:52 19:57:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/1511ee37-ee7f-4a17-833b-3207479e3150 19:57:52 19:57:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:57:52 19:57:52 [Pipeline] } 19:57:53 $ docker stop --time=1 7f4d72a4239d77d47186e84cf73c7606b94528629933ec08a8f38eede6eb5590 19:57:54 $ docker rm -f 7f4d72a4239d77d47186e84cf73c7606b94528629933ec08a8f38eede6eb5590 [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 19:57:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:57:55 . [Pipeline] withDockerContainer 19:57:55 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:57:55 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:57:56 $ docker top 06d9be18a89fc9cccbdba9cf7cd3170cb62efa75a53237af49559bf20845c682 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:57:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:57:56 [ssh-agent] Looking for ssh-agent implementation... 19:57:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:57:56 $ docker exec 06d9be18a89fc9cccbdba9cf7cd3170cb62efa75a53237af49559bf20845c682 ssh-agent 19:57:56 SSH_AUTH_SOCK=/tmp/ssh-VfA5NMUukuUU/agent.15 19:57:56 SSH_AGENT_PID=22 19:57:56 Running ssh-add (command line suppressed) 19:57:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4033810862306462406.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4033810862306462406.key) 19:57:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:57:57 + git semver tag 19:57:57 # -> Open(): unable to determine branch for HEAD 19:57:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 19:57:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 19:57:57 # $SEMVER_REMOTE_NAME = origin 19:57:57 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 19:57:57 # $SEMVER_USER_NAME = jenkins 19:57:57 # $SEMVER_BRANCH = master 19:57:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 19:57:57 # 79a40a317d1b6800d1816ffd538dea299a9d4c8b HEAD 19:57:57 # -> Force: false 19:57:57 # 5ddc12e79bc21812670dfa0ae51827588cd69741 refs/tags/v1.2.0-dev.14 [Pipeline] } 19:57:57 $ docker exec --env ******** --env ******** 06d9be18a89fc9cccbdba9cf7cd3170cb62efa75a53237af49559bf20845c682 ssh-agent -k 19:57:57 unset SSH_AUTH_SOCK; 19:57:57 unset SSH_AGENT_PID; 19:57:57 echo Agent pid 22 killed; 19:57:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:57:58 + git semver [Pipeline] } 19:57:58 $ docker stop --time=1 06d9be18a89fc9cccbdba9cf7cd3170cb62efa75a53237af49559bf20845c682 19:57:59 $ docker rm -f 06d9be18a89fc9cccbdba9cf7cd3170cb62efa75a53237af49559bf20845c682 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:57:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:57:59 19:57:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:58:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:58:00 0.23.1-centos7: Pulling from edgex-lftools 19:58:00 ab5ef0e58194: Pulling fs layer 19:58:00 9712f1f96733: Pulling fs layer 19:58:00 63f879dbbcfc: Pulling fs layer 19:58:00 0d9ebad4ef96: Pulling fs layer 19:58:00 e9a5061849ea: Pulling fs layer 19:58:00 d747dcd14b5f: Pulling fs layer 19:58:00 2de7ff778b66: Pulling fs layer 19:58:00 0d9ebad4ef96: Waiting 19:58:00 e9a5061849ea: Waiting 19:58:00 d747dcd14b5f: Waiting 19:58:00 2de7ff778b66: Waiting 19:58:00 9712f1f96733: Verifying Checksum 19:58:00 9712f1f96733: Download complete 19:58:00 63f879dbbcfc: Verifying Checksum 19:58:00 63f879dbbcfc: Download complete 19:58:00 e9a5061849ea: Download complete 19:58:01 d747dcd14b5f: Verifying Checksum 19:58:01 d747dcd14b5f: Download complete 19:58:01 2de7ff778b66: Verifying Checksum 19:58:01 2de7ff778b66: Download complete 19:58:01 0d9ebad4ef96: Download complete 19:58:01 ab5ef0e58194: Verifying Checksum 19:58:01 ab5ef0e58194: Download complete 19:58:06 ab5ef0e58194: Pull complete 19:58:06 9712f1f96733: Pull complete 19:58:09 63f879dbbcfc: Pull complete 19:58:15 0d9ebad4ef96: Pull complete 19:58:15 e9a5061849ea: Pull complete 19:58:15 d747dcd14b5f: Pull complete 19:58:20 2de7ff778b66: Pull complete 19:58:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:58:20 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:58:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:58:21 $ docker top eb169d93a5c5f195a0655fed223a9e9a83f3667e3469c56c9015a5d1cbf213b9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:58:22 provisioning config files... 19:58:22 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2150053507099644204tmp 19:58:22 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3885254209598240091tmp 19:58:22 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3111056466493353529tmp [Pipeline] { [Pipeline] echo 19:58:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:58:22 ---> sigul-configuration.sh 19:58:22 gpg: directory `/root/.gnupg' created 19:58:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:58:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:58:22 gpg: keyring `/root/.gnupg/secring.gpg' created 19:58:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:58:22 gpg: CAST5 encrypted data 19:58:22 gpg: encrypted with 1 passphrase 19:58:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:58:22 + mkdir /home/jenkins 19:58:22 + mkdir /home/jenkins/sigul [Pipeline] sh 19:58:23 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 19:58:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:58:23 ---> sigul-install.sh 19:58:30 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 19:58:30 + git tag --list 19:58:30 v1.2.0-dev.14 [Pipeline] sh 19:58:31 + lftools sign git-tag v1.2.0-dev.14 19:58:32 Signing Git tag with Sigul... 19:58:32 Signing v1.2.0-dev.14 [Pipeline] echo 19:58:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:58:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:58:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:58:33 $ docker stop --time=1 eb169d93a5c5f195a0655fed223a9e9a83f3667e3469c56c9015a5d1cbf213b9 19:58:35 $ docker rm -f eb169d93a5c5f195a0655fed223a9e9a83f3667e3469c56c9015a5d1cbf213b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:58:35 . [Pipeline] withDockerContainer 19:58:36 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:58:36 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:58:36 $ docker top 625ce45e613c0e2b5a901533e7d60603aaa9a4b4f167c28fe1a57780d6fb303e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:37 [ssh-agent] Looking for ssh-agent implementation... 19:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:37 $ docker exec 625ce45e613c0e2b5a901533e7d60603aaa9a4b4f167c28fe1a57780d6fb303e ssh-agent 19:58:37 SSH_AUTH_SOCK=/tmp/ssh-5dysm1vEZj6w/agent.14 19:58:37 SSH_AGENT_PID=21 19:58:37 Running ssh-add (command line suppressed) 19:58:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6043029825923613532.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6043029825923613532.key) 19:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:37 + git semver bump pre 19:58:37 # -> Open(): unable to determine branch for HEAD 19:58:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 19:58:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 19:58:37 # $SEMVER_REMOTE_NAME = origin 19:58:37 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 19:58:37 # $SEMVER_USER_NAME = jenkins 19:58:37 # $SEMVER_BRANCH = master 19:58:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 19:58:37 1.2.0-dev.15 [Pipeline] } 19:58:38 $ docker exec --env ******** --env ******** 625ce45e613c0e2b5a901533e7d60603aaa9a4b4f167c28fe1a57780d6fb303e ssh-agent -k 19:58:38 unset SSH_AUTH_SOCK; 19:58:38 unset SSH_AGENT_PID; 19:58:38 echo Agent pid 21 killed; 19:58:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:38 + git semver [Pipeline] } 19:58:38 $ docker stop --time=1 625ce45e613c0e2b5a901533e7d60603aaa9a4b4f167c28fe1a57780d6fb303e 19:58:39 $ docker rm -f 625ce45e613c0e2b5a901533e7d60603aaa9a4b4f167c28fe1a57780d6fb303e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:58:40 . [Pipeline] withDockerContainer 19:58:40 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:58:40 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:58:41 $ docker top 2f6efc0b59a48b6734b077a522e05068934929d0ac98704a23c82b04db0688d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:41 [ssh-agent] Looking for ssh-agent implementation... 19:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:41 $ docker exec 2f6efc0b59a48b6734b077a522e05068934929d0ac98704a23c82b04db0688d5 ssh-agent 19:58:41 SSH_AUTH_SOCK=/tmp/ssh-IHkDmZnsZ0SJ/agent.15 19:58:41 SSH_AGENT_PID=22 19:58:41 Running ssh-add (command line suppressed) 19:58:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1371832398706014292.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1371832398706014292.key) 19:58:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:42 + git semver push 19:58:42 # -> Open(): unable to determine branch for HEAD 19:58:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 19:58:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 19:58:42 # $SEMVER_REMOTE_NAME = origin 19:58:42 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 19:58:42 # $SEMVER_USER_NAME = jenkins 19:58:42 # $SEMVER_BRANCH = master 19:58:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 19:58:48 $ docker exec --env ******** --env ******** 2f6efc0b59a48b6734b077a522e05068934929d0ac98704a23c82b04db0688d5 ssh-agent -k 19:58:49 unset SSH_AUTH_SOCK; 19:58:49 unset SSH_AGENT_PID; 19:58:49 echo Agent pid 22 killed; 19:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:49 + git semver [Pipeline] } 19:58:49 $ docker stop --time=1 2f6efc0b59a48b6734b077a522e05068934929d0ac98704a23c82b04db0688d5 19:58:50 $ docker rm -f 2f6efc0b59a48b6734b077a522e05068934929d0ac98704a23c82b04db0688d5 [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 19:58:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:58:52 ---> package-listing.sh 19:58:52 ++ facter osfamily 19:58:52 ++ tr '[:upper:]' '[:lower:]' 19:58:52 + OS_FAMILY=redhat 19:58:52 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 19:58:52 + START_PACKAGES=/tmp/packages_start.txt 19:58:52 + END_PACKAGES=/tmp/packages_end.txt 19:58:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:58:52 + PACKAGES=/tmp/packages_start.txt 19:58:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 19:58:52 + PACKAGES=/tmp/packages_end.txt 19:58:52 + case "${OS_FAMILY}" in 19:58:52 + rpm -qa 19:58:52 + sort 19:58:56 + '[' -f /tmp/packages_start.txt ']' 19:58:56 + '[' -f /tmp/packages_end.txt ']' 19:58:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:58:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 19:58:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 19:58:56 + 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 19:58:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:58:56 19:58:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:58:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:58:57 alpine: Pulling from edgex-lftools-log-publisher 19:58:57 c9b1b535fdd9: Pulling fs layer 19:58:57 2cc5ad85d9ab: Pulling fs layer 19:58:57 756a868c4378: Pulling fs layer 19:58:57 444b2fc9a129: Pulling fs layer 19:58:57 ea15f1150254: Pulling fs layer 19:58:57 41b27a9f41bf: Pulling fs layer 19:58:57 28c525ee5125: Pulling fs layer 19:58:57 094b1ea09ed8: Pulling fs layer 19:58:57 138eaada9080: Pulling fs layer 19:58:57 0622d0fa9048: Pulling fs layer 19:58:57 28c525ee5125: Waiting 19:58:57 094b1ea09ed8: Waiting 19:58:57 444b2fc9a129: Waiting 19:58:57 138eaada9080: Waiting 19:58:57 0622d0fa9048: Waiting 19:58:57 41b27a9f41bf: Waiting 19:58:57 ea15f1150254: Waiting 19:58:57 2cc5ad85d9ab: Verifying Checksum 19:58:57 2cc5ad85d9ab: Download complete 19:58:57 444b2fc9a129: Verifying Checksum 19:58:57 444b2fc9a129: Download complete 19:58:57 c9b1b535fdd9: Verifying Checksum 19:58:57 c9b1b535fdd9: Download complete 19:58:57 ea15f1150254: Verifying Checksum 19:58:57 ea15f1150254: Download complete 19:58:57 28c525ee5125: Download complete 19:58:57 756a868c4378: Verifying Checksum 19:58:57 756a868c4378: Download complete 19:58:57 138eaada9080: Verifying Checksum 19:58:57 138eaada9080: Download complete 19:58:58 094b1ea09ed8: Verifying Checksum 19:58:58 094b1ea09ed8: Download complete 19:58:58 0622d0fa9048: Verifying Checksum 19:58:58 0622d0fa9048: Download complete 19:58:58 41b27a9f41bf: Verifying Checksum 19:58:58 41b27a9f41bf: Download complete 19:58:59 c9b1b535fdd9: Pull complete 19:58:59 2cc5ad85d9ab: Pull complete 19:59:00 756a868c4378: Pull complete 19:59:00 444b2fc9a129: Pull complete 19:59:00 ea15f1150254: Pull complete 19:59:05 41b27a9f41bf: Pull complete 19:59:05 28c525ee5125: Pull complete 19:59:07 094b1ea09ed8: Pull complete 19:59:07 138eaada9080: Pull complete 19:59:07 0622d0fa9048: Pull complete 19:59:07 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:59:07 prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container 19:59:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:59:07 $ docker top 15ac642d90511f1eeafc9cc314df32f5ee8ac010a51440ef7344702a6d406f30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:59:08 provisioning config files... 19:59:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1443088831809973727tmp [Pipeline] { [Pipeline] echo 19:59:08 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:59:08 ---> create-netrc.sh [Pipeline] echo 19:59:08 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:59:08 ---> logs-deploy.sh 19:59:08 + ARCHIVE_ARTIFACTS= 19:59:08 + LOGS_SERVER=https://logs.edgexfoundry.org 19:59:08 + '[' https://logs.edgexfoundry.org == None ']' 19:59:08 + NEXUS_URL=https://nexus.edgexfoundry.org 19:59:08 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/14 19:59:08 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/14/ 19:59:08 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/14 /w/workspace/dgexfoundry_device-sdk-go_master 19:59:09 Archives upload complete. 19:59:09 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/14 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/14/