Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b92b1a498a210f23e11ab247bf48f6be566a37ca 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2784 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 > 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 Fetching without tags Checking out Revision b92b1a498a210f23e11ab247bf48f6be566a37ca (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 Commit message: "Merge pull request #473 from hahattan/issue-471" > git rev-list --no-walk 44a3efcab02ed32588a403b99094af06f0793c80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:04:51 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 07:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:04:54 07:04:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:04:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:04:54 latest: Pulling from edgex-devops/git-semver 07:04:54 9123ac7c32f7: Pulling fs layer 07:04:54 b8cc5d1170e3: Pulling fs layer 07:04:54 2924cbbf6a41: Pulling fs layer 07:04:54 93b08a4f1073: Pulling fs layer 07:04:54 93b08a4f1073: Waiting 07:04:54 b8cc5d1170e3: Verifying Checksum 07:04:54 b8cc5d1170e3: Download complete 07:04:54 9123ac7c32f7: Verifying Checksum 07:04:54 9123ac7c32f7: Download complete 07:04:54 2924cbbf6a41: Verifying Checksum 07:04:54 2924cbbf6a41: Download complete 07:04:54 93b08a4f1073: Verifying Checksum 07:04:54 93b08a4f1073: Download complete 07:04:55 9123ac7c32f7: Pull complete 07:04:55 b8cc5d1170e3: Pull complete 07:04:55 2924cbbf6a41: Pull complete 07:04:56 93b08a4f1073: Pull complete 07:04:56 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:04:56 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:04:56 $ 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 07:04:56 $ docker top b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:04:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:57 [ssh-agent] Looking for ssh-agent implementation... 07:04:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:57 $ docker exec b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent 07:04:57 SSH_AUTH_SOCK=/tmp/ssh-EXVfW9EQp3Jg/agent.15 07:04:57 SSH_AGENT_PID=21 07:04:57 Running ssh-add (command line suppressed) 07:04:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9149299884364872943.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9149299884364872943.key) 07:04:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:57 + git describe --exact-match --tags HEAD 07:04:57 fatal: No names found, cannot describe anything. [Pipeline] } 07:04:58 $ docker exec --env ******** --env ******** b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent -k 07:04:58 unset SSH_AUTH_SOCK; 07:04:58 unset SSH_AGENT_PID; 07:04:58 echo Agent pid 21 killed; 07:04:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:04:58 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:04:58 This usually means this commit has not been tagged. [Pipeline] sshagent 07:04:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:58 [ssh-agent] Looking for ssh-agent implementation... 07:04:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:58 $ docker exec b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent 07:04:58 SSH_AUTH_SOCK=/tmp/ssh-Nlwj4y7hNgug/agent.56 07:04:58 SSH_AGENT_PID=62 07:04:58 Running ssh-add (command line suppressed) 07:04:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1791997297302545392.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1791997297302545392.key) 07:04:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:59 + git semver init 07:04:59 # -> Open(): unable to determine branch for HEAD 07:04:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:04:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:04:59 # $SEMVER_REMOTE_NAME = origin 07:04:59 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 07:04:59 # $SEMVER_USER_NAME = jenkins 07:04:59 # $SEMVER_BRANCH = master 07:04:59 # $SEMVER_TEMP = /tmp/semver-459938337 07:04:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:04:59 # '/tmp/semver-459938337' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 07:04:59 # -> Force: false 07:04:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:04:59 $ docker exec --env ******** --env ******** b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent -k 07:04:59 unset SSH_AUTH_SOCK; 07:04:59 unset SSH_AGENT_PID; 07:04:59 echo Agent pid 62 killed; 07:04:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:05:00 + git semver [Pipeline] } 07:05:00 $ docker stop --time=1 b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf 07:05:01 $ docker rm -f b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:05:02 Stashed 33 file(s) [Pipeline] echo 07:05:02 [edgeXSemver] initialized semver on version 1.2.0-dev.16 [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 07:05:17 Still waiting to schedule task 07:05:17 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2784’ 07:05:17 Still waiting to schedule task 07:05:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:06:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2785 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:06:52 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 07:06:58 using credential edgex-jenkins-ssh 07:06:59 Cloning the remote Git repository 07:06:59 Cloning with configured refspecs honoured and without tags 07:06:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:06:59 > git init /w/workspace/device-sdk-go/16 # timeout=10 07:06:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:06:59 > git --version # timeout=10 07:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:06:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:07:00 Fetching without tags 07:07:01 Checking out Revision b92b1a498a210f23e11ab247bf48f6be566a37ca (master) 07:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:07:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:07:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:07:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:07:00 > git config core.sparsecheckout # timeout=10 07:07:01 > git checkout -f b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 07:07:05 Commit message: "Merge pull request #473 from hahattan/issue-471" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:07:06 ========================================================= 07:07:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:07:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:07:07 + 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 . 07:07:08 Sending build context to Docker daemon 2.84MB 07:07:08 Step 1/8 : ARG BASE=golang:1.13-alpine 07:07:08 Step 2/8 : FROM ${BASE} 07:07:08 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:07:08 cde5963f3b93: Pulling fs layer 07:07:08 2a23fa8c16f7: Pulling fs layer 07:07:08 777b28850792: Pulling fs layer 07:07:08 8a11ddd9e578: Pulling fs layer 07:07:08 4cf88f913ddb: Pulling fs layer 07:07:08 1df406cf5192: Pulling fs layer 07:07:08 cd6300453558: Pulling fs layer 07:07:08 b9c365052c96: Pulling fs layer 07:07:08 a2d8cc88f415: Pulling fs layer 07:07:08 ea1d1ca13537: Pulling fs layer 07:07:08 3750a50a1c5e: Pulling fs layer 07:07:08 1df406cf5192: Waiting 07:07:08 cd6300453558: Waiting 07:07:08 b9c365052c96: Waiting 07:07:08 a2d8cc88f415: Waiting 07:07:08 ea1d1ca13537: Waiting 07:07:08 3750a50a1c5e: Waiting 07:07:08 8a11ddd9e578: Waiting 07:07:08 4cf88f913ddb: Waiting 07:07:08 777b28850792: Verifying Checksum 07:07:08 777b28850792: Download complete 07:07:08 2a23fa8c16f7: Download complete 07:07:08 4cf88f913ddb: Verifying Checksum 07:07:08 4cf88f913ddb: Download complete 07:07:08 cde5963f3b93: Download complete 07:07:08 1df406cf5192: Verifying Checksum 07:07:08 1df406cf5192: Download complete 07:07:09 cde5963f3b93: Pull complete 07:07:10 2a23fa8c16f7: Pull complete 07:07:10 777b28850792: Pull complete 07:07:13 cd6300453558: Verifying Checksum 07:07:13 cd6300453558: Download complete 07:07:13 a2d8cc88f415: Verifying Checksum 07:07:13 a2d8cc88f415: Download complete 07:07:15 ea1d1ca13537: Verifying Checksum 07:07:15 ea1d1ca13537: Download complete 07:07:15 3750a50a1c5e: Verifying Checksum 07:07:15 3750a50a1c5e: Download complete 07:07:18 b9c365052c96: Verifying Checksum 07:07:18 b9c365052c96: Download complete 07:07:20 8a11ddd9e578: Verifying Checksum 07:07:20 8a11ddd9e578: Download complete 07:07:32 8a11ddd9e578: Pull complete 07:07:32 4cf88f913ddb: Pull complete 07:07:32 1df406cf5192: Pull complete 07:07:37 cd6300453558: Pull complete 07:07:42 b9c365052c96: Pull complete 07:07:42 a2d8cc88f415: Pull complete 07:07:43 ea1d1ca13537: Pull complete 07:07:44 3750a50a1c5e: Pull complete 07:07:44 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:07:44 ---> 78745c68409d 07:07:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:07:47 ---> Running in 1d188b564f44 07:07:47 Removing intermediate container 1d188b564f44 07:07:47 ---> d833266feb93 07:07:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:07:48 ---> Running in 21e9897237a2 07:07:50 Removing intermediate container 21e9897237a2 07:07:50 ---> 162f630ae42d 07:07:50 Step 5/8 : RUN apk add --no-cache make git 07:07:50 ---> Running in 33da7b863fd9 07:07:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:07:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:07:52 OK: 125 MiB in 39 packages 07:07:54 Removing intermediate container 33da7b863fd9 07:07:54 ---> 6ab4ef400256 07:07:54 Step 6/8 : WORKDIR /device-sdk-go 07:07:54 ---> Running in ec26d8b5050c 07:07:54 Removing intermediate container ec26d8b5050c 07:07:54 ---> cbdad2b08b78 07:07:54 Step 7/8 : COPY . . 07:07:55 ---> 72bf93765d35 07:07:55 Step 8/8 : RUN go mod download 07:07:55 ---> Running in 4161892553e5 07:07:57 go: finding github.com/BurntSushi/toml v0.3.1 07:07:57 go: finding github.com/OneOfOne/xxhash v1.2.6 07:07:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:07:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:07:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:07:57 go: finding github.com/bgentry/speakeasy v0.1.0 07:07:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:07:57 go: finding github.com/davecgh/go-spew v1.1.1 07:07:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 07:07:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:07:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:07:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:07:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:07:57 go: finding github.com/fatih/color v1.7.0 07:07:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:07:57 go: finding github.com/go-kit/kit v0.8.0 07:07:57 go: finding github.com/go-logfmt/logfmt v0.4.0 07:07:57 go: finding github.com/go-stack/stack v1.8.0 07:07:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:07:57 go: finding github.com/google/uuid v1.1.0 07:07:57 go: finding github.com/gorilla/mux v1.7.1 07:07:57 go: finding github.com/hashicorp/consul/api v1.1.0 07:07:57 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:07:57 go: finding github.com/hashicorp/errwrap v1.0.0 07:07:57 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:07:57 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:07:57 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:07:57 go: finding github.com/hashicorp/go-multierror v1.0.0 07:07:57 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:07:57 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:07:57 go: finding github.com/hashicorp/go-syslog v1.0.0 07:07:57 go: finding github.com/hashicorp/go-uuid v1.0.1 07:07:57 go: finding github.com/hashicorp/go.net v0.0.1 07:07:57 go: finding github.com/hashicorp/golang-lru v0.5.0 07:07:57 go: finding github.com/hashicorp/logutils v1.0.0 07:07:57 go: finding github.com/hashicorp/mdns v1.0.0 07:07:57 go: finding github.com/hashicorp/memberlist v0.1.3 07:07:57 go: finding github.com/hashicorp/serf v0.8.2 07:07:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:07:57 go: finding github.com/mattn/go-colorable v0.0.9 07:07:57 go: finding github.com/mattn/go-isatty v0.0.3 07:07:57 go: finding github.com/miekg/dns v1.0.14 07:07:57 go: finding github.com/mitchellh/cli v1.0.0 07:07:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:07:57 go: finding github.com/mitchellh/copystructure v1.0.0 07:07:57 go: finding github.com/mitchellh/go-homedir v1.0.0 07:07:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:07:57 go: finding github.com/mitchellh/gox v0.4.0 07:07:57 go: finding github.com/mitchellh/iochan v1.0.0 07:07:57 go: finding github.com/mitchellh/mapstructure v1.1.2 07:07:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:07:57 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:07:57 go: finding github.com/pelletier/go-toml v1.2.0 07:07:57 go: finding github.com/pkg/errors v0.8.1 07:07:57 go: finding github.com/pmezard/go-difflib v1.0.0 07:07:57 go: finding github.com/posener/complete v1.1.1 07:07:57 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:07:57 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:07:57 go: finding github.com/stretchr/objx v0.1.0 07:07:57 go: finding github.com/stretchr/testify v1.5.1 07:07:57 go: finding github.com/ugorji/go v1.1.4 07:07:57 go: finding github.com/x448/float16 v0.8.4 07:07:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:07:58 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:07:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:07:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:07:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:07:58 go: finding gopkg.in/yaml.v2 v2.2.8 07:08:08 Removing intermediate container 4161892553e5 07:08:08 ---> dfc80d66eeef 07:08:08 Successfully built dfc80d66eeef 07:08:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:08:08 + docker inspect -f . ci-base-image-arm64 07:08:09 . [Pipeline] withDockerContainer 07:08:09 prd-ubuntu18.04-docker-arm64-4c-16g-2785 does not seem to be running inside a container 07:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 07:08:10 $ docker top abf437f20dde060f19dd05f20aa5b66d1b6a4f105a6be3bb991002adf134c265 -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:11 + go version 07:08:11 go version go1.13.5 linux/arm64 [Pipeline] sh 07:08:12 + make test 07:08:12 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:08:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:08:22 Running on prd-centos7-docker-4c-2g-2787 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:08:22 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 07:08:35 using credential edgex-jenkins-ssh 07:08:35 Cloning the remote Git repository 07:08:35 Cloning with configured refspecs honoured and without tags 07:08:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:08:36 > git init /w/workspace/device-sdk-go/16 # timeout=10 07:08:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:08:36 > git --version # timeout=10 07:08:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:08:39 Fetching without tags 07:08:39 Checking out Revision b92b1a498a210f23e11ab247bf48f6be566a37ca (master) 07:08:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:08:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:08:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:08:39 > git config core.sparsecheckout # timeout=10 07:08:40 > git checkout -f b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 07:08:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:08:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:08:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.6% of statements 07:08:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.155s coverage: 95.8% of statements 07:08:50 Commit message: "Merge pull request #473 from hahattan/issue-471" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:08:54 ========================================================= 07:08:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:08:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:08:57 + 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 . 07:09:00 Sending build context to Docker daemon 2.843MB 07:09:00 Step 1/8 : ARG BASE=golang:1.13-alpine 07:09:00 Step 2/8 : FROM ${BASE} 07:09:01 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:09:01 e6b0cf9c0882: Pulling fs layer 07:09:01 2848faf0eed1: Pulling fs layer 07:09:01 0f37312ad70f: Pulling fs layer 07:09:01 5788d62ee057: Pulling fs layer 07:09:01 0e6b1d234666: Pulling fs layer 07:09:01 5788d62ee057: Waiting 07:09:01 bf5d7aec512f: Pulling fs layer 07:09:01 34c802a77dc8: Pulling fs layer 07:09:01 9eb99e56ec68: Pulling fs layer 07:09:01 27c7a5d97fbd: Pulling fs layer 07:09:01 5c102a31e300: Pulling fs layer 07:09:01 dcfb455df0a1: Pulling fs layer 07:09:01 bf5d7aec512f: Waiting 07:09:01 34c802a77dc8: Waiting 07:09:01 9eb99e56ec68: Waiting 07:09:01 27c7a5d97fbd: Waiting 07:09:01 5c102a31e300: Waiting 07:09:01 dcfb455df0a1: Waiting 07:09:01 0e6b1d234666: Waiting 07:09:01 0f37312ad70f: Verifying Checksum 07:09:01 0f37312ad70f: Download complete 07:09:01 2848faf0eed1: Verifying Checksum 07:09:01 2848faf0eed1: Download complete 07:09:01 0e6b1d234666: Verifying Checksum 07:09:01 0e6b1d234666: Download complete 07:09:01 bf5d7aec512f: Verifying Checksum 07:09:01 bf5d7aec512f: Download complete 07:09:01 e6b0cf9c0882: Verifying Checksum 07:09:01 e6b0cf9c0882: Download complete 07:09:05 e6b0cf9c0882: Pull complete 07:09:09 34c802a77dc8: Verifying Checksum 07:09:09 34c802a77dc8: Download complete 07:09:09 2848faf0eed1: Pull complete 07:09:09 27c7a5d97fbd: Verifying Checksum 07:09:09 27c7a5d97fbd: Download complete 07:09:11 0f37312ad70f: Pull complete 07:09:12 5c102a31e300: Verifying Checksum 07:09:12 5c102a31e300: Download complete 07:09:13 dcfb455df0a1: Download complete 07:09:15 5788d62ee057: Verifying Checksum 07:09:15 5788d62ee057: Download complete 07:09:16 9eb99e56ec68: Verifying Checksum 07:09:16 9eb99e56ec68: Download complete 07:09:17 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.072s coverage: 11.4% of statements 07:09:17 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.7% of statements 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:09:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.126s coverage: 38.5% of statements 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:09:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.738s coverage: 79.9% of statements 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:09:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 07:09:17 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:09:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.327s coverage: 76.1% of statements 07:09:17 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:09:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:09:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:09:20 gofmt -l . 07:09:20 [ "`gofmt -l .`" = "" ] 07:09:21 ./bin/test-attribution-txt.sh 07:09:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:09:22 Stashed 1 file(s) [Pipeline] } 07:09:22 $ docker stop --time=1 abf437f20dde060f19dd05f20aa5b66d1b6a4f105a6be3bb991002adf134c265 07:09:25 $ docker rm -f abf437f20dde060f19dd05f20aa5b66d1b6a4f105a6be3bb991002adf134c265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:09:27 + ls -al . 07:09:27 total 200 07:09:27 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 07:09 . 07:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:06 .. 07:09:27 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 07:07 .dockerignore 07:09:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 07:07 .git 07:09:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 07:07 .github 07:09:27 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 07:07 .gitignore 07:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 07:07 .semver 07:09:27 -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 07:07 Dockerfile.build 07:09:27 -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 07:07 Jenkinsfile 07:09:27 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 07:07 LICENSE 07:09:27 -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 07:07 Makefile 07:09:27 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 07:07 README.md 07:09:27 -rw-rw-r-- 1 jenkins jenkins 12 Apr 8 07:05 VERSION 07:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 07:07 api 07:09:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 07:07 bin 07:09:27 -rw-r--r-- 1 jenkins jenkins 94579 Apr 8 07:09 coverage.out 07:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:07 example 07:09:27 -rw-r--r-- 1 jenkins jenkins 446 Apr 8 07:09 go.mod 07:09:27 -rw-r--r-- 1 jenkins jenkins 12076 Apr 8 07:09 go.sum 07:09:27 drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 07:07 internal 07:09:27 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 07:07 pkg 07:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:07 snap 07:09:27 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 07:07 version.go [Pipeline] isUnix [Pipeline] sh 07:09:27 + 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=b92b1a498a210f23e11ab247bf48f6be566a37ca --label arch=arm64 --label version=1.2.0-dev.16 . 07:09:28 Sending build context to Docker daemon 2.955MB 07:09:28 Step 1/20 : ARG BASE=golang:1.13-alpine 07:09:28 Step 2/20 : FROM ${BASE} AS builder 07:09:28 ---> dfc80d66eeef 07:09:28 Step 3/20 : ARG MAKE='make build' 07:09:28 ---> Running in 403e1601e027 07:09:28 Removing intermediate container 403e1601e027 07:09:28 ---> e0ac12d920d8 07:09:28 Step 4/20 : WORKDIR /device-sdk-go 07:09:29 ---> Running in 25f0f0a443db 07:09:29 Removing intermediate container 25f0f0a443db 07:09:29 ---> 2e6363854488 07:09:29 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:09:29 ---> Running in 98e966b599f3 07:09:30 Removing intermediate container 98e966b599f3 07:09:30 ---> 4714da073f7a 07:09:30 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:09:30 ---> Running in bf3f2984e8bc 07:09:32 Removing intermediate container bf3f2984e8bc 07:09:32 ---> 9a5e1711c0b0 07:09:32 Step 7/20 : RUN apk add --update --no-cache make git 07:09:32 ---> Running in 9eb04c62e4ca 07:09:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:09:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:09:34 OK: 125 MiB in 39 packages 07:09:35 Removing intermediate container 9eb04c62e4ca 07:09:35 ---> 597b741abc0a 07:09:35 Step 8/20 : COPY . . 07:09:36 ---> dccab08f7f1c 07:09:36 Step 9/20 : RUN ${MAKE} 07:09:37 ---> Running in 1e532dbd0895 07:09:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:09:39 5788d62ee057: Pull complete 07:09:40 0e6b1d234666: Pull complete 07:09:41 bf5d7aec512f: Pull complete 07:09:55 34c802a77dc8: Pull complete 07:10:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:10:04 Removing intermediate container 1e532dbd0895 07:10:04 ---> 6d1c06dbea16 07:10:04 Step 10/20 : FROM scratch 07:10:04 ---> 07:10:04 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:10:04 ---> Running in 06d45c21c5af 07:10:04 Removing intermediate container 06d45c21c5af 07:10:04 ---> 8d9565f24588 07:10:04 Step 12/20 : ENV APP_PORT=49990 07:10:04 ---> Running in f5a2cf27947a 07:10:04 Removing intermediate container f5a2cf27947a 07:10:04 ---> abeef6bbf742 07:10:04 Step 13/20 : EXPOSE $APP_PORT 07:10:04 ---> Running in 1edfab5506ee 07:10:04 Removing intermediate container 1edfab5506ee 07:10:04 ---> 09a38bb4c892 07:10:04 Step 14/20 : WORKDIR / 07:10:05 ---> Running in 4b2757de6425 07:10:05 Removing intermediate container 4b2757de6425 07:10:05 ---> 4d296075974b 07:10:05 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:10:06 ---> b9d357e6bfeb 07:10:06 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:10:06 ---> 9306899caa6e 07:10:06 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:10:07 ---> Running in 321ae7b4b672 07:10:07 Removing intermediate container 321ae7b4b672 07:10:07 ---> 35dea85d973f 07:10:07 Step 18/20 : LABEL arch=arm64 07:10:07 ---> Running in 324fd4d87589 07:10:07 Removing intermediate container 324fd4d87589 07:10:07 ---> f5b7125f47a0 07:10:07 Step 19/20 : LABEL git_sha=b92b1a498a210f23e11ab247bf48f6be566a37ca 07:10:07 ---> Running in 51300fb3a6f6 07:10:08 Removing intermediate container 51300fb3a6f6 07:10:08 ---> 2dea67b24374 07:10:08 Step 20/20 : LABEL version=1.2.0-dev.16 07:10:08 ---> Running in 4b19d68e77cb 07:10:08 Removing intermediate container 4b19d68e77cb 07:10:08 ---> 85c5d1059828 07:10:08 [Warning] One or more build-args [ARCH] were not consumed 07:10:08 Successfully built 85c5d1059828 07:10:08 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] } 07:10:11 9eb99e56ec68: Pull complete 07:10:11 27c7a5d97fbd: Pull complete 07:10:17 5c102a31e300: Pull complete 07:10:18 dcfb455df0a1: Pull complete 07:10:18 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:10:18 ---> 7c70fe431013 07:10:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:10:19 ---> Running in 28566d07c704 07:10:20 Removing intermediate container 28566d07c704 07:10:20 ---> a29dd5a9028f 07:10:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:10:20 ---> Running in b72e847a9c00 07:10:26 Removing intermediate container b72e847a9c00 07:10:26 ---> d5edfc6f1fef 07:10:26 Step 5/8 : RUN apk add --no-cache make git 07:10:26 ---> Running in cd668fa2ef2e 07:10:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:10:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:10:29 OK: 143 MiB in 39 packages 07:10:31 Removing intermediate container cd668fa2ef2e 07:10:31 ---> d58c1c62f1b7 07:10:31 Step 6/8 : WORKDIR /device-sdk-go 07:10:31 ---> Running in 1e2cf4c6f90d 07:10:32 Removing intermediate container 1e2cf4c6f90d 07:10:32 ---> 0df5294caf40 07:10:32 Step 7/8 : COPY . . 07:10:35 ---> 529504f663ea 07:10:35 Step 8/8 : RUN go mod download 07:10:35 ---> Running in 76a119e9abe8 07:10:43 go: finding github.com/BurntSushi/toml v0.3.1 07:10:43 go: finding github.com/OneOfOne/xxhash v1.2.6 07:10:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:10:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:10:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:10:43 go: finding github.com/bgentry/speakeasy v0.1.0 07:10:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:10:43 go: finding github.com/davecgh/go-spew v1.1.1 07:10:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 07:10:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:10:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:10:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:10:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:10:44 go: finding github.com/fatih/color v1.7.0 07:10:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:10:44 go: finding github.com/go-kit/kit v0.8.0 07:10:44 go: finding github.com/go-logfmt/logfmt v0.4.0 07:10:44 go: finding github.com/go-stack/stack v1.8.0 07:10:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:10:44 go: finding github.com/google/uuid v1.1.0 07:10:44 go: finding github.com/gorilla/mux v1.7.1 07:10:44 go: finding github.com/hashicorp/consul/api v1.1.0 07:10:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:10:44 go: finding github.com/hashicorp/errwrap v1.0.0 07:10:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:10:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:10:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:10:44 go: finding github.com/hashicorp/go-multierror v1.0.0 07:10:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:10:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:10:44 go: finding github.com/hashicorp/go-syslog v1.0.0 07:10:44 go: finding github.com/hashicorp/go-uuid v1.0.1 07:10:44 go: finding github.com/hashicorp/go.net v0.0.1 07:10:44 go: finding github.com/hashicorp/golang-lru v0.5.0 07:10:44 go: finding github.com/hashicorp/logutils v1.0.0 07:10:44 go: finding github.com/hashicorp/mdns v1.0.0 07:10:44 go: finding github.com/hashicorp/memberlist v0.1.3 07:10:44 go: finding github.com/hashicorp/serf v0.8.2 07:10:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:10:44 go: finding github.com/mattn/go-colorable v0.0.9 07:10:44 go: finding github.com/mattn/go-isatty v0.0.3 07:10:45 go: finding github.com/miekg/dns v1.0.14 07:10:45 go: finding github.com/mitchellh/cli v1.0.0 07:10:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:10:45 go: finding github.com/mitchellh/copystructure v1.0.0 07:10:45 go: finding github.com/mitchellh/go-homedir v1.0.0 07:10:45 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:10:45 go: finding github.com/mitchellh/gox v0.4.0 07:10:45 go: finding github.com/mitchellh/iochan v1.0.0 07:10:45 go: finding github.com/mitchellh/mapstructure v1.1.2 07:10:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:10:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:10:45 go: finding github.com/pelletier/go-toml v1.2.0 07:10:45 go: finding github.com/pkg/errors v0.8.1 07:10:45 go: finding github.com/pmezard/go-difflib v1.0.0 07:10:45 go: finding github.com/posener/complete v1.1.1 07:10:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:10:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:10:45 go: finding github.com/stretchr/objx v0.1.0 07:10:45 go: finding github.com/stretchr/testify v1.5.1 07:10:45 go: finding github.com/ugorji/go v1.1.4 07:10:45 go: finding github.com/x448/float16 v0.8.4 07:10:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:10:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:10:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:10:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:10:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:10:45 go: finding gopkg.in/yaml.v2 v2.2.8 07:10:57 Removing intermediate container 76a119e9abe8 07:10:57 ---> 565bc42655e6 07:10:58 Successfully built 565bc42655e6 07:10:58 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 07:10:58 + docker inspect -f . ci-base-image-x86_64 07:10:59 . [Pipeline] withDockerContainer 07:11:00 prd-centos7-docker-4c-2g-2787 does not seem to be running inside a container 07:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:11:03 $ docker top 92605ec8b4085f14290f462f90f217884bbf70ecb9ab9298123b9ea21d0b5794 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:05 + go version 07:11:05 go version go1.13.5 linux/amd64 [Pipeline] sh 07:11:07 + make test 07:11:07 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:11:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:11:59 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:11:59 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:12:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.402s coverage: 22.6% of statements 07:12:05 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.114s coverage: 95.8% of statements 07:12:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.318s coverage: 11.4% of statements 07:12:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 22.7% of statements 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:12:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.304s coverage: 38.5% of statements 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:12:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 3.237s coverage: 79.9% of statements 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:12:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.127s coverage: 52.6% of statements 07:12:39 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:12:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.286s coverage: 76.1% of statements 07:12:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:12:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:12:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:12:53 gofmt -l . 07:12:53 [ "`gofmt -l .`" = "" ] 07:12:54 ./bin/test-attribution-txt.sh 07:12:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:13:00 Warning: overwriting stash ‘coverage-report’ 07:13:04 Stashed 1 file(s) [Pipeline] } 07:13:04 $ docker stop --time=1 92605ec8b4085f14290f462f90f217884bbf70ecb9ab9298123b9ea21d0b5794 07:13:08 $ docker rm -f 92605ec8b4085f14290f462f90f217884bbf70ecb9ab9298123b9ea21d0b5794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:10 + ls -al . 07:13:10 total 160 07:13:10 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 07:13 . 07:13:10 drwxrwxr-x. 4 jenkins jenkins 30 Apr 8 07:08 .. 07:13:10 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 07:08 api 07:13:10 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 07:08 bin 07:13:10 -rw-r--r--. 1 jenkins jenkins 94579 Apr 8 07:12 coverage.out 07:13:10 -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 07:08 Dockerfile.build 07:13:10 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 07:08 .dockerignore 07:13:10 drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 07:08 example 07:13:10 drwxrwxr-x. 8 jenkins jenkins 162 Apr 8 07:08 .git 07:13:10 drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 07:08 .github 07:13:10 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 07:08 .gitignore 07:13:10 -rw-r--r--. 1 jenkins jenkins 446 Apr 8 07:12 go.mod 07:13:10 -rw-r--r--. 1 jenkins jenkins 12076 Apr 8 07:12 go.sum 07:13:10 drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 07:08 internal 07:13:10 -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 07:08 Jenkinsfile 07:13:10 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 07:08 LICENSE 07:13:10 -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 07:08 Makefile 07:13:10 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 07:08 pkg 07:13:10 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 07:08 README.md 07:13:10 drwxrwxr-x. 3 jenkins jenkins 44 Apr 8 07:08 .semver 07:13:10 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 07:08 snap 07:13:10 -rw-rw-r--. 1 jenkins jenkins 12 Apr 8 07:05 VERSION 07:13:10 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 07:08 version.go [Pipeline] isUnix [Pipeline] sh 07:13:10 + 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=b92b1a498a210f23e11ab247bf48f6be566a37ca --label arch=amd64 --label version=1.2.0-dev.16 . 07:13:11 Sending build context to Docker daemon 2.958MB 07:13:11 Step 1/20 : ARG BASE=golang:1.13-alpine 07:13:11 Step 2/20 : FROM ${BASE} AS builder 07:13:11 ---> 565bc42655e6 07:13:11 Step 3/20 : ARG MAKE='make build' 07:13:11 ---> Running in ca56089dff11 07:13:12 Removing intermediate container ca56089dff11 07:13:12 ---> cf658dbd9fee 07:13:12 Step 4/20 : WORKDIR /device-sdk-go 07:13:12 ---> Running in 1558af6bcdc4 07:13:13 Removing intermediate container 1558af6bcdc4 07:13:13 ---> 6fa915c2424c 07:13:13 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:13 ---> Running in 7583051e877d 07:13:14 Removing intermediate container 7583051e877d 07:13:14 ---> ed4a05987b58 07:13:14 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:14 ---> Running in 3c000ef23884 07:13:18 Removing intermediate container 3c000ef23884 07:13:18 ---> 3f17176186fc 07:13:18 Step 7/20 : RUN apk add --update --no-cache make git 07:13:18 ---> Running in 1af493f83062 07:13:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:13:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:13:24 OK: 143 MiB in 39 packages 07:13:25 Removing intermediate container 1af493f83062 07:13:25 ---> 15facb7ffe90 07:13:25 Step 8/20 : COPY . . 07:13:28 ---> e013030597d6 07:13:28 Step 9/20 : RUN ${MAKE} 07:13:28 ---> Running in cfde2a0deb20 07:13:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:13:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:13:49 Removing intermediate container cfde2a0deb20 07:13:49 ---> 3ca6f2a5cd54 07:13:49 Step 10/20 : FROM scratch 07:13:49 ---> 07:13:49 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:49 ---> Running in 6cebd6ef1255 07:13:49 Removing intermediate container 6cebd6ef1255 07:13:49 ---> 6cc687034ec8 07:13:49 Step 12/20 : ENV APP_PORT=49990 07:13:49 ---> Running in a7f14b277f33 07:13:49 Removing intermediate container a7f14b277f33 07:13:49 ---> 1d990f905718 07:13:49 Step 13/20 : EXPOSE $APP_PORT 07:13:49 ---> Running in 2d3004460eef 07:13:49 Removing intermediate container 2d3004460eef 07:13:49 ---> ff481455162d 07:13:49 Step 14/20 : WORKDIR / 07:13:49 ---> Running in 7836cd56e398 07:13:49 Removing intermediate container 7836cd56e398 07:13:49 ---> c278595f9863 07:13:49 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:13:50 ---> 689581c52a3b 07:13:50 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:13:50 ---> 4c2064a6a943 07:13:50 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:13:50 ---> Running in 8ec127dd1eb5 07:13:50 Removing intermediate container 8ec127dd1eb5 07:13:50 ---> 0da7e020e8d6 07:13:50 Step 18/20 : LABEL arch=amd64 07:13:50 ---> Running in f000cbc9125c 07:13:50 Removing intermediate container f000cbc9125c 07:13:50 ---> 87eabc9f68e6 07:13:50 Step 19/20 : LABEL git_sha=b92b1a498a210f23e11ab247bf48f6be566a37ca 07:13:51 ---> Running in bd7888088aea 07:13:51 Removing intermediate container bd7888088aea 07:13:51 ---> abdbfa1a367d 07:13:51 Step 20/20 : LABEL version=1.2.0-dev.16 07:13:51 ---> Running in 6b3cc54cd19f 07:13:51 Removing intermediate container 6b3cc54cd19f 07:13:51 ---> 1648fa9bc8c2 07:13:51 [Warning] One or more build-args [ARCH] were not consumed 07:13:51 Successfully built 1648fa9bc8c2 07:13:51 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] } [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 07:13:52 provisioning config files... 07:13:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8292363813574741970tmp [Pipeline] { [Pipeline] sh 07:13:53 + curl -s https://codecov.io/bash 07:13:53 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8292363813574741970tmp 07:13:53 07:13:53 _____ _ 07:13:53 / ____| | | 07:13:53 | | ___ __| | ___ ___ _____ __ 07:13:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:13:53 | |___| (_) | (_| | __/ (_| (_) \ V / 07:13:53 \_____\___/ \__,_|\___|\___\___/ \_/ 07:13:53 Bash-tbd 07:13:53 07:13:53 07:13:53 ==> Jenkins CI detected. 07:13:53 project root: . 07:13:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:13:53 ==> Running gcov in . (disable via -X gcov) 07:13:53 ==> Python coveragepy not found 07:13:53 ==> Searching for coverage reports in: 07:13:53 + . 07:13:53 -> Found 1 reports 07:13:53 ==> Detecting git/mercurial file structure 07:13:53 ==> Reading reports 07:13:53 + ./coverage.out bytes=94579 07:13:53 ==> Appending adjustments 07:13:53 http://docs.codecov.io/docs/fixing-reports 07:13:53 + Found adjustments 07:13:53 ==> Gzipping contents 07:13:53 ==> Uploading reports 07:13:53 url: https://codecov.io 07:13:53 query: branch=master&commit=b92b1a498a210f23e11ab247bf48f6be566a37ca&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 07:13:53 -> Pinging Codecov 07:13:53 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=b92b1a498a210f23e11ab247bf48f6be566a37ca&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 07:13:53 -> Uploading 07:13:54 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b92b1a498a210f23e11ab247bf48f6be566a37ca [Pipeline] } 07:13:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 07:13:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 07:13:54 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 07:13:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 07:13:55 07:13:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 07:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 07:13:55 1.217.3: Pulling from edgex-devops/edgex-snyk-go 07:13:55 e6b0cf9c0882: Pulling fs layer 07:13:55 2848faf0eed1: Pulling fs layer 07:13:55 0f37312ad70f: Pulling fs layer 07:13:55 7d08f2745646: Pulling fs layer 07:13:55 4c9f31393084: Pulling fs layer 07:13:55 eb21ddb83652: Pulling fs layer 07:13:55 345998794f6b: Pulling fs layer 07:13:55 97a711d68925: Pulling fs layer 07:13:55 7c8476c1cb00: Pulling fs layer 07:13:55 eb21ddb83652: Waiting 07:13:55 345998794f6b: Waiting 07:13:55 97a711d68925: Waiting 07:13:55 7c8476c1cb00: Waiting 07:13:55 4c9f31393084: Waiting 07:13:55 7d08f2745646: Waiting 07:13:55 0f37312ad70f: Verifying Checksum 07:13:55 0f37312ad70f: Download complete 07:13:55 2848faf0eed1: Verifying Checksum 07:13:55 2848faf0eed1: Download complete 07:13:55 4c9f31393084: Verifying Checksum 07:13:55 4c9f31393084: Download complete 07:13:55 eb21ddb83652: Verifying Checksum 07:13:55 eb21ddb83652: Download complete 07:13:55 e6b0cf9c0882: Verifying Checksum 07:13:55 e6b0cf9c0882: Download complete 07:13:55 345998794f6b: Verifying Checksum 07:13:55 345998794f6b: Download complete 07:13:55 e6b0cf9c0882: Pull complete 07:13:56 2848faf0eed1: Pull complete 07:13:56 97a711d68925: Verifying Checksum 07:13:56 97a711d68925: Download complete 07:13:56 7c8476c1cb00: Verifying Checksum 07:13:56 7c8476c1cb00: Download complete 07:13:56 0f37312ad70f: Pull complete 07:13:57 7d08f2745646: Verifying Checksum 07:13:57 7d08f2745646: Download complete 07:14:02 7d08f2745646: Pull complete 07:14:02 4c9f31393084: Pull complete 07:14:02 eb21ddb83652: Pull complete 07:14:03 345998794f6b: Pull complete 07:14:07 97a711d68925: Pull complete 07:14:07 7c8476c1cb00: Pull complete 07:14:07 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 07:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 07:14:07 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:14:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 07:14:08 $ docker top f35104226db549d1923467a3634cb4fec78eb70cc9c52828e617c196e623649c -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:08 + snyk monitor '--org=edgex-jenkins' 07:14:15 07:14:15 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... 07:14:15 07:14:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/4730f004-df88-44ac-8341-391aa6ba1b9d 07:14:15 07:14:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:14:15 07:14:15 [Pipeline] } 07:14:15 $ docker stop --time=1 f35104226db549d1923467a3634cb4fec78eb70cc9c52828e617c196e623649c 07:14:16 $ docker rm -f f35104226db549d1923467a3634cb4fec78eb70cc9c52828e617c196e623649c [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 07:14:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:17 . [Pipeline] withDockerContainer 07:14:17 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:14: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:14:18 $ docker top edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:18 [ssh-agent] Looking for ssh-agent implementation... 07:14:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:18 $ docker exec edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e ssh-agent 07:14:19 SSH_AUTH_SOCK=/tmp/ssh-CmLyzdy6mw6C/agent.14 07:14:19 SSH_AGENT_PID=20 07:14:19 Running ssh-add (command line suppressed) 07:14:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7089466325814371161.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7089466325814371161.key) 07:14:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:19 + git semver tag 07:14:19 # -> Open(): unable to determine branch for HEAD 07:14:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:14:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:14:19 # $SEMVER_REMOTE_NAME = origin 07:14:19 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 07:14:19 # $SEMVER_USER_NAME = jenkins 07:14:19 # $SEMVER_BRANCH = master 07:14:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:14:19 # b92b1a498a210f23e11ab247bf48f6be566a37ca HEAD 07:14:19 # -> Force: false 07:14:19 # e790513f6cad66d6df32eacc5b50f91d8feeb499 refs/tags/v1.2.0-dev.16 [Pipeline] } 07:14:19 $ docker exec --env ******** --env ******** edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e ssh-agent -k 07:14:19 unset SSH_AUTH_SOCK; 07:14:19 unset SSH_AGENT_PID; 07:14:19 echo Agent pid 20 killed; 07:14:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:20 + git semver [Pipeline] } 07:14:20 $ docker stop --time=1 edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e 07:14:21 $ docker rm -f edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:14:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:22 07:14:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:14:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:22 0.23.1-centos7: Pulling from edgex-lftools 07:14:22 ab5ef0e58194: Pulling fs layer 07:14:22 9712f1f96733: Pulling fs layer 07:14:22 63f879dbbcfc: Pulling fs layer 07:14:22 0d9ebad4ef96: Pulling fs layer 07:14:22 e9a5061849ea: Pulling fs layer 07:14:22 d747dcd14b5f: Pulling fs layer 07:14:22 2de7ff778b66: Pulling fs layer 07:14:22 0d9ebad4ef96: Waiting 07:14:22 e9a5061849ea: Waiting 07:14:22 d747dcd14b5f: Waiting 07:14:22 2de7ff778b66: Waiting 07:14:22 9712f1f96733: Verifying Checksum 07:14:22 9712f1f96733: Download complete 07:14:23 63f879dbbcfc: Verifying Checksum 07:14:23 63f879dbbcfc: Download complete 07:14:23 e9a5061849ea: Verifying Checksum 07:14:23 e9a5061849ea: Download complete 07:14:23 d747dcd14b5f: Verifying Checksum 07:14:23 d747dcd14b5f: Download complete 07:14:23 2de7ff778b66: Verifying Checksum 07:14:23 2de7ff778b66: Download complete 07:14:23 0d9ebad4ef96: Verifying Checksum 07:14:23 0d9ebad4ef96: Download complete 07:14:23 ab5ef0e58194: Verifying Checksum 07:14:23 ab5ef0e58194: Download complete 07:14:28 ab5ef0e58194: Pull complete 07:14:28 9712f1f96733: Pull complete 07:14:30 63f879dbbcfc: Pull complete 07:14:36 0d9ebad4ef96: Pull complete 07:14:37 e9a5061849ea: Pull complete 07:14:37 d747dcd14b5f: Pull complete 07:14:41 2de7ff778b66: Pull complete 07:14:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:14:41 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:14:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:14:42 $ docker top 25c5c8bd20bc7f6dc6f55bf60483c671446e71f5ab31f870715d4817f1f96fbb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:14:42 provisioning config files... 07:14:43 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4647035748686138893tmp 07:14:43 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3784236137177236264tmp 07:14:43 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2938208926892099653tmp [Pipeline] { [Pipeline] echo 07:14:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:14:43 ---> sigul-configuration.sh 07:14:43 gpg: directory `/root/.gnupg' created 07:14:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:14:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:14:43 gpg: keyring `/root/.gnupg/secring.gpg' created 07:14:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:14:43 gpg: CAST5 encrypted data 07:14:43 gpg: encrypted with 1 passphrase 07:14:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:14:44 + mkdir /home/jenkins 07:14:44 + mkdir /home/jenkins/sigul [Pipeline] sh 07:14:44 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 07:14:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:14:44 ---> sigul-install.sh 07:14:51 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:14:52 + git tag --list 07:14:52 v1.2.0-dev.16 [Pipeline] sh 07:14:52 + lftools sign git-tag v1.2.0-dev.16 07:14:53 Signing Git tag with Sigul... 07:14:53 Signing v1.2.0-dev.16 [Pipeline] echo 07:14:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:14:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:14:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:14:55 $ docker stop --time=1 25c5c8bd20bc7f6dc6f55bf60483c671446e71f5ab31f870715d4817f1f96fbb 07:14:56 $ docker rm -f 25c5c8bd20bc7f6dc6f55bf60483c671446e71f5ab31f870715d4817f1f96fbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:14:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:57 . [Pipeline] withDockerContainer 07:14:57 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:14:57 $ 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 07:14:57 $ docker top 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:58 [ssh-agent] Looking for ssh-agent implementation... 07:14:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:58 $ docker exec 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 ssh-agent 07:14:58 SSH_AUTH_SOCK=/tmp/ssh-3ZYb6suMrmNm/agent.15 07:14:58 SSH_AGENT_PID=21 07:14:58 Running ssh-add (command line suppressed) 07:14:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7097339511926119434.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7097339511926119434.key) 07:14:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:59 + git semver bump pre 07:14:59 # -> Open(): unable to determine branch for HEAD 07:14:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:14:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:14:59 # $SEMVER_REMOTE_NAME = origin 07:14:59 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 07:14:59 # $SEMVER_USER_NAME = jenkins 07:14:59 # $SEMVER_BRANCH = master 07:14:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:14:59 1.2.0-dev.17 [Pipeline] } 07:14:59 $ docker exec --env ******** --env ******** 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 ssh-agent -k 07:14:59 unset SSH_AUTH_SOCK; 07:14:59 unset SSH_AGENT_PID; 07:14:59 echo Agent pid 21 killed; 07:14:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:59 + git semver [Pipeline] } 07:14:59 $ docker stop --time=1 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 07:15:00 $ docker rm -f 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:15:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:15:01 . [Pipeline] withDockerContainer 07:15:01 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:15:01 $ 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 07:15:02 $ docker top 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:02 [ssh-agent] Looking for ssh-agent implementation... 07:15:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:02 $ docker exec 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a ssh-agent 07:15:02 SSH_AUTH_SOCK=/tmp/ssh-WZurLdwdFd0x/agent.15 07:15:02 SSH_AGENT_PID=22 07:15:02 Running ssh-add (command line suppressed) 07:15:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8147831153470165651.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8147831153470165651.key) 07:15:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:03 + git semver push 07:15:03 # -> Open(): unable to determine branch for HEAD 07:15:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:15:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:15:03 # $SEMVER_REMOTE_NAME = origin 07:15:03 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 07:15:03 # $SEMVER_USER_NAME = jenkins 07:15:03 # $SEMVER_BRANCH = master 07:15:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:15:09 $ docker exec --env ******** --env ******** 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a ssh-agent -k 07:15:09 unset SSH_AUTH_SOCK; 07:15:09 unset SSH_AGENT_PID; 07:15:09 echo Agent pid 22 killed; 07:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:10 + git semver [Pipeline] } 07:15:10 $ docker stop --time=1 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a 07:15:11 $ docker rm -f 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a [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 07:15:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:15:13 ---> package-listing.sh 07:15:13 ++ facter osfamily 07:15:13 ++ tr '[:upper:]' '[:lower:]' 07:15:13 + OS_FAMILY=redhat 07:15:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 07:15:13 + START_PACKAGES=/tmp/packages_start.txt 07:15:13 + END_PACKAGES=/tmp/packages_end.txt 07:15:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:15:13 + PACKAGES=/tmp/packages_start.txt 07:15:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:15:13 + PACKAGES=/tmp/packages_end.txt 07:15:13 + case "${OS_FAMILY}" in 07:15:13 + rpm -qa 07:15:13 + sort 07:15:17 + '[' -f /tmp/packages_start.txt ']' 07:15:17 + '[' -f /tmp/packages_end.txt ']' 07:15:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:15:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:15:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 07:15:17 + 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 07:15:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:17 07:15:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:15:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:18 alpine: Pulling from edgex-lftools-log-publisher 07:15:18 c9b1b535fdd9: Pulling fs layer 07:15:18 2cc5ad85d9ab: Pulling fs layer 07:15:18 756a868c4378: Pulling fs layer 07:15:18 444b2fc9a129: Pulling fs layer 07:15:18 ea15f1150254: Pulling fs layer 07:15:18 41b27a9f41bf: Pulling fs layer 07:15:18 28c525ee5125: Pulling fs layer 07:15:18 094b1ea09ed8: Pulling fs layer 07:15:18 138eaada9080: Pulling fs layer 07:15:18 0622d0fa9048: Pulling fs layer 07:15:18 444b2fc9a129: Waiting 07:15:18 ea15f1150254: Waiting 07:15:18 41b27a9f41bf: Waiting 07:15:18 28c525ee5125: Waiting 07:15:18 094b1ea09ed8: Waiting 07:15:18 138eaada9080: Waiting 07:15:18 0622d0fa9048: Waiting 07:15:18 2cc5ad85d9ab: Download complete 07:15:18 444b2fc9a129: Verifying Checksum 07:15:18 444b2fc9a129: Download complete 07:15:18 c9b1b535fdd9: Download complete 07:15:18 ea15f1150254: Download complete 07:15:18 28c525ee5125: Verifying Checksum 07:15:18 28c525ee5125: Download complete 07:15:18 c9b1b535fdd9: Pull complete 07:15:18 756a868c4378: Verifying Checksum 07:15:18 756a868c4378: Download complete 07:15:18 138eaada9080: Verifying Checksum 07:15:18 138eaada9080: Download complete 07:15:18 0622d0fa9048: Download complete 07:15:18 094b1ea09ed8: Verifying Checksum 07:15:19 41b27a9f41bf: Verifying Checksum 07:15:19 41b27a9f41bf: Download complete 07:15:19 2cc5ad85d9ab: Pull complete 07:15:21 756a868c4378: Pull complete 07:15:21 444b2fc9a129: Pull complete 07:15:21 ea15f1150254: Pull complete 07:15:26 41b27a9f41bf: Pull complete 07:15:26 28c525ee5125: Pull complete 07:15:28 094b1ea09ed8: Pull complete 07:15:28 138eaada9080: Pull complete 07:15:28 0622d0fa9048: Pull complete 07:15:28 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:15:28 prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container 07:15:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:15:29 $ docker top 35be541972bc6d2607c742837b278f855ae8b6afd6e98123f3c8f04d6e4b1a31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:15:29 provisioning config files... 07:15:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3718675732515242906tmp [Pipeline] { [Pipeline] echo 07:15:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:15:29 ---> create-netrc.sh [Pipeline] echo 07:15:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:15:30 ---> logs-deploy.sh 07:15:30 + ARCHIVE_ARTIFACTS= 07:15:30 + LOGS_SERVER=https://logs.edgexfoundry.org 07:15:30 + '[' https://logs.edgexfoundry.org == None ']' 07:15:30 + NEXUS_URL=https://nexus.edgexfoundry.org 07:15:30 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/16 07:15:30 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/16/ 07:15:30 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/16 /w/workspace/dgexfoundry_device-sdk-go_master 07:15:31 Archives upload complete. 07:15:31 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/16/