Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 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-3311 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 Fetching 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 > 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 cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 Commit message: "Merge pull request #474 from hahattan/issue-465" > git rev-list --no-walk 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:25 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 16:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:28 16:59:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:59:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:29 latest: Pulling from edgex-devops/git-semver 16:59:29 9123ac7c32f7: Pulling fs layer 16:59:29 b8cc5d1170e3: Pulling fs layer 16:59:29 2924cbbf6a41: Pulling fs layer 16:59:29 93b08a4f1073: Pulling fs layer 16:59:29 93b08a4f1073: Waiting 16:59:29 b8cc5d1170e3: Verifying Checksum 16:59:29 b8cc5d1170e3: Download complete 16:59:29 9123ac7c32f7: Verifying Checksum 16:59:29 9123ac7c32f7: Download complete 16:59:29 93b08a4f1073: Verifying Checksum 16:59:29 93b08a4f1073: Download complete 16:59:29 2924cbbf6a41: Download complete 16:59:29 9123ac7c32f7: Pull complete 16:59:29 b8cc5d1170e3: Pull complete 16:59:30 2924cbbf6a41: Pull complete 16:59:31 93b08a4f1073: Pull complete 16:59:31 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:59:31 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 16:59:31 $ 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 16:59:33 $ docker top b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:33 [ssh-agent] Looking for ssh-agent implementation... 16:59:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:34 $ docker exec b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent 16:59:34 SSH_AUTH_SOCK=/tmp/ssh-wMEFZWSfcVMA/agent.15 16:59:34 SSH_AGENT_PID=21 16:59:34 Running ssh-add (command line suppressed) 16:59:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7986798903187557941.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7986798903187557941.key) 16:59:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:36 + git describe --exact-match --tags HEAD 16:59:36 fatal: No names found, cannot describe anything. [Pipeline] } 16:59:36 $ docker exec --env ******** --env ******** b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent -k 16:59:36 unset SSH_AUTH_SOCK; 16:59:36 unset SSH_AGENT_PID; 16:59:36 echo Agent pid 21 killed; 16:59:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:59:36 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:59:36 This usually means this commit has not been tagged. [Pipeline] sshagent 16:59:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:36 [ssh-agent] Looking for ssh-agent implementation... 16:59:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:37 $ docker exec b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent 16:59:38 SSH_AUTH_SOCK=/tmp/ssh-ZUBYQZ8bjDbS/agent.56 16:59:38 SSH_AGENT_PID=63 16:59:38 Running ssh-add (command line suppressed) 16:59:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8429098375455073648.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8429098375455073648.key) 16:59:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:39 + git semver init 16:59:39 # -> Open(): unable to determine branch for HEAD 16:59:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 16:59:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 16:59:39 # $SEMVER_REMOTE_NAME = origin 16:59:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:59:39 # $SEMVER_USER_NAME = edgex-jenkins 16:59:39 # $SEMVER_BRANCH = master 16:59:39 # $SEMVER_TEMP = /tmp/semver-468499701 16:59:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:59:40 # '/tmp/semver-468499701' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 16:59:40 # -> Force: false 16:59:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 16:59:40 $ docker exec --env ******** --env ******** b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent -k 16:59:41 unset SSH_AUTH_SOCK; 16:59:41 unset SSH_AGENT_PID; 16:59:41 echo Agent pid 63 killed; 16:59:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:42 + git semver [Pipeline] } 16:59:42 $ docker stop --time=1 b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f 16:59:43 $ docker rm -f b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:59:45 Stashed 37 file(s) [Pipeline] echo 16:59:45 [edgeXSemver] initialized semver on version 1.2.0-dev.20 [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 17:00:00 Still waiting to schedule task 17:00:00 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3311’ 17:00:00 Still waiting to schedule task 17:00:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:02:14 Running on prd-centos7-docker-4c-2g-3312 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 17:02:14 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 17:02:16 using credential edgex-jenkins-ssh 17:02:16 Cloning the remote Git repository 17:02:16 Cloning with configured refspecs honoured and without tags 17:02:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:02:16 > git init /w/workspace/device-sdk-go/20 # timeout=10 17:02:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:02:16 > git --version # timeout=10 17:02:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:02:17 Fetching without tags 17:02:18 Checking out Revision cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (master) 17:02:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:02:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:02:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:02:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:02:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:02:17 > git config core.sparsecheckout # timeout=10 17:02:17 > git checkout -f cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 17:02:21 Commit message: "Merge pull request #474 from hahattan/issue-465" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:02:22 ========================================================= 17:02:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 17:02:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:02:23 + 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 . 17:02:23 Sending build context to Docker daemon 2.865MB 17:02:23 Step 1/8 : ARG BASE=golang:1.13-alpine 17:02:23 Step 2/8 : FROM ${BASE} 17:02:23 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 17:02:23 e6b0cf9c0882: Pulling fs layer 17:02:23 2848faf0eed1: Pulling fs layer 17:02:23 0f37312ad70f: Pulling fs layer 17:02:23 5788d62ee057: Pulling fs layer 17:02:23 0e6b1d234666: Pulling fs layer 17:02:23 bf5d7aec512f: Pulling fs layer 17:02:23 34c802a77dc8: Pulling fs layer 17:02:23 9eb99e56ec68: Pulling fs layer 17:02:23 27c7a5d97fbd: Pulling fs layer 17:02:23 5c102a31e300: Pulling fs layer 17:02:23 dcfb455df0a1: Pulling fs layer 17:02:23 34c802a77dc8: Waiting 17:02:23 5788d62ee057: Waiting 17:02:23 9eb99e56ec68: Waiting 17:02:23 27c7a5d97fbd: Waiting 17:02:23 5c102a31e300: Waiting 17:02:23 0e6b1d234666: Waiting 17:02:23 bf5d7aec512f: Waiting 17:02:23 0f37312ad70f: Verifying Checksum 17:02:23 0f37312ad70f: Download complete 17:02:23 2848faf0eed1: Verifying Checksum 17:02:23 2848faf0eed1: Download complete 17:02:23 0e6b1d234666: Verifying Checksum 17:02:23 0e6b1d234666: Download complete 17:02:23 bf5d7aec512f: Verifying Checksum 17:02:23 bf5d7aec512f: Download complete 17:02:23 e6b0cf9c0882: Verifying Checksum 17:02:23 e6b0cf9c0882: Download complete 17:02:23 e6b0cf9c0882: Pull complete 17:02:24 2848faf0eed1: Pull complete 17:02:24 0f37312ad70f: Pull complete 17:02:24 34c802a77dc8: Verifying Checksum 17:02:24 34c802a77dc8: Download complete 17:02:24 27c7a5d97fbd: Download complete 17:02:25 5c102a31e300: Verifying Checksum 17:02:25 5c102a31e300: Download complete 17:02:25 dcfb455df0a1: Verifying Checksum 17:02:25 dcfb455df0a1: Download complete 17:02:25 9eb99e56ec68: Verifying Checksum 17:02:25 9eb99e56ec68: Download complete 17:02:25 5788d62ee057: Download complete 17:02:31 5788d62ee057: Pull complete 17:02:31 0e6b1d234666: Pull complete 17:02:31 bf5d7aec512f: Pull complete 17:02:37 34c802a77dc8: Pull complete 17:02:40 9eb99e56ec68: Pull complete 17:02:40 27c7a5d97fbd: Pull complete 17:02:40 5c102a31e300: Pull complete 17:02:41 dcfb455df0a1: Pull complete 17:02:41 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 17:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 17:02:41 ---> 7c70fe431013 17:02:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:02:41 ---> Running in 65cdf44154f7 17:02:41 Removing intermediate container 65cdf44154f7 17:02:41 ---> 478ce4354b24 17:02:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:02:41 ---> Running in dfab78c7314a 17:02:42 Removing intermediate container dfab78c7314a 17:02:42 ---> f8d31e1cc5f4 17:02:42 Step 5/8 : RUN apk add --no-cache make git 17:02:42 ---> Running in 2ef708d2cef2 17:02:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:02:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:02:43 OK: 143 MiB in 39 packages 17:02:44 Removing intermediate container 2ef708d2cef2 17:02:44 ---> 59273d18b900 17:02:44 Step 6/8 : WORKDIR /device-sdk-go 17:02:44 ---> Running in 0adf6dc84409 17:02:44 Removing intermediate container 0adf6dc84409 17:02:44 ---> a096521b1950 17:02:44 Step 7/8 : COPY . . 17:02:45 ---> 548a4871b8f5 17:02:45 Step 8/8 : RUN go mod download 17:02:45 ---> Running in 5900c0e5a5b2 17:02:47 go: finding github.com/BurntSushi/toml v0.3.1 17:02:47 go: finding github.com/OneOfOne/xxhash v1.2.6 17:02:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:02:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:02:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:02:47 go: finding github.com/bgentry/speakeasy v0.1.0 17:02:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:02:47 go: finding github.com/davecgh/go-spew v1.1.1 17:02:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 17:02:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:02:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:02:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:02:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:02:47 go: finding github.com/fatih/color v1.7.0 17:02:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:02:47 go: finding github.com/go-kit/kit v0.8.0 17:02:47 go: finding github.com/go-logfmt/logfmt v0.4.0 17:02:47 go: finding github.com/go-stack/stack v1.8.0 17:02:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:02:47 go: finding github.com/google/uuid v1.1.0 17:02:47 go: finding github.com/gorilla/mux v1.7.1 17:02:47 go: finding github.com/hashicorp/consul/api v1.1.0 17:02:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:02:47 go: finding github.com/hashicorp/errwrap v1.0.0 17:02:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:02:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:02:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:02:47 go: finding github.com/hashicorp/go-multierror v1.0.0 17:02:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:02:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:02:47 go: finding github.com/hashicorp/go-syslog v1.0.0 17:02:47 go: finding github.com/hashicorp/go-uuid v1.0.1 17:02:47 go: finding github.com/hashicorp/go.net v0.0.1 17:02:47 go: finding github.com/hashicorp/golang-lru v0.5.0 17:02:47 go: finding github.com/hashicorp/logutils v1.0.0 17:02:47 go: finding github.com/hashicorp/mdns v1.0.0 17:02:47 go: finding github.com/hashicorp/memberlist v0.1.3 17:02:47 go: finding github.com/hashicorp/serf v0.8.2 17:02:47 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:02:47 go: finding github.com/mattn/go-colorable v0.0.9 17:02:47 go: finding github.com/mattn/go-isatty v0.0.3 17:02:47 go: finding github.com/miekg/dns v1.0.14 17:02:47 go: finding github.com/mitchellh/cli v1.0.0 17:02:47 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:02:47 go: finding github.com/mitchellh/copystructure v1.0.0 17:02:47 go: finding github.com/mitchellh/go-homedir v1.0.0 17:02:47 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:02:47 go: finding github.com/mitchellh/gox v0.4.0 17:02:47 go: finding github.com/mitchellh/iochan v1.0.0 17:02:47 go: finding github.com/mitchellh/mapstructure v1.1.2 17:02:47 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:02:47 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:02:47 go: finding github.com/pelletier/go-toml v1.2.0 17:02:47 go: finding github.com/pkg/errors v0.8.1 17:02:47 go: finding github.com/pmezard/go-difflib v1.0.0 17:02:47 go: finding github.com/posener/complete v1.1.1 17:02:47 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:02:47 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:02:47 go: finding github.com/stretchr/objx v0.1.0 17:02:47 go: finding github.com/stretchr/testify v1.5.1 17:02:47 go: finding github.com/ugorji/go v1.1.4 17:02:47 go: finding github.com/x448/float16 v0.8.4 17:02:47 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:02:47 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:02:47 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:02:47 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:02:47 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:02:47 go: finding gopkg.in/yaml.v2 v2.2.8 17:02:51 Removing intermediate container 5900c0e5a5b2 17:02:51 ---> fbd2552e19e7 17:02:51 Successfully built fbd2552e19e7 17:02:51 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 17:02:52 + docker inspect -f . ci-base-image-x86_64 17:02:52 . [Pipeline] withDockerContainer 17:02:52 prd-centos7-docker-4c-2g-3312 does not seem to be running inside a container 17:02:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 17:02:53 $ docker top e805bd7216deb81a5030d0bee4cc0f78846d187f465868ae2b5b725f1c52ee2a -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:53 + go version 17:02:53 go version go1.13.5 linux/amd64 [Pipeline] sh 17:02:53 + make test 17:02:53 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:02:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:03:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:03:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:03:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements 17:03:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.045s coverage: 95.8% of statements 17:03:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements 17:03:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:03:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.312s coverage: 38.5% of statements 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 17:03:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.477s coverage: 79.8% of statements 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:03:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.027s coverage: 52.6% of statements 17:03:41 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 17:03:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 71.4% of statements 17:03:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:03:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:03:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:03:41 gofmt -l . 17:03:41 [ "`gofmt -l .`" = "" ] 17:03:41 ./bin/test-attribution-txt.sh 17:03:42 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:03:43 Stashed 1 file(s) [Pipeline] } 17:03:43 $ docker stop --time=1 e805bd7216deb81a5030d0bee4cc0f78846d187f465868ae2b5b725f1c52ee2a 17:03:44 $ docker rm -f e805bd7216deb81a5030d0bee4cc0f78846d187f465868ae2b5b725f1c52ee2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:03:46 + ls -al . 17:03:46 total 160 17:03:46 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 17:03 . 17:03:46 drwxrwxr-x. 4 jenkins jenkins 30 Apr 10 17:02 .. 17:03:46 drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 17:02 api 17:03:46 drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 17:02 bin 17:03:46 -rw-r--r--. 1 jenkins jenkins 96404 Apr 10 17:03 coverage.out 17:03:46 -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 17:02 Dockerfile.build 17:03:46 -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 17:02 .dockerignore 17:03:46 drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 17:02 example 17:03:46 drwxrwxr-x. 8 jenkins jenkins 162 Apr 10 17:02 .git 17:03:46 drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 17:02 .github 17:03:46 -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 17:02 .gitignore 17:03:46 -rw-r--r--. 1 jenkins jenkins 446 Apr 10 17:03 go.mod 17:03:46 -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 17:03 go.sum 17:03:46 drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 17:02 internal 17:03:46 -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 17:02 Jenkinsfile 17:03:46 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 17:02 LICENSE 17:03:46 -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 17:02 Makefile 17:03:46 drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 17:02 pkg 17:03:46 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 17:02 README.md 17:03:46 drwxrwxr-x. 3 jenkins jenkins 44 Apr 10 17:02 .semver 17:03:46 drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 17:02 snap 17:03:46 -rw-rw-r--. 1 jenkins jenkins 12 Apr 10 16:59 VERSION 17:03:46 -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 17:02 version.go [Pipeline] isUnix [Pipeline] sh 17:03:46 + 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=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 --label arch=amd64 --label version=1.2.0-dev.20 . 17:03:46 Sending build context to Docker daemon 2.982MB 17:03:46 Step 1/21 : ARG BASE=golang:1.13-alpine 17:03:46 Step 2/21 : FROM ${BASE} AS builder 17:03:46 ---> fbd2552e19e7 17:03:46 Step 3/21 : ARG MAKE='make build' 17:03:46 ---> Running in a0c6889a225d 17:03:46 Removing intermediate container a0c6889a225d 17:03:46 ---> 50875dff93f7 17:03:46 Step 4/21 : WORKDIR /device-sdk-go 17:03:46 ---> Running in 971675d719c4 17:03:47 Removing intermediate container 971675d719c4 17:03:47 ---> 623fa40e0584 17:03:47 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:03:47 ---> Running in c26dc0a29e79 17:03:47 Removing intermediate container c26dc0a29e79 17:03:47 ---> eaf2c561e4af 17:03:47 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:03:47 ---> Running in 8da1698db267 17:03:47 Removing intermediate container 8da1698db267 17:03:47 ---> 6b722a54eccd 17:03:47 Step 7/21 : RUN apk add --update --no-cache make git 17:03:47 ---> Running in 2179a757584b 17:03:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:03:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:03:49 OK: 143 MiB in 39 packages 17:03:49 Removing intermediate container 2179a757584b 17:03:49 ---> e89e318860a9 17:03:49 Step 8/21 : COPY . . 17:03:50 ---> abd997b4a7fb 17:03:50 Step 9/21 : RUN ${MAKE} 17:03:50 ---> Running in a855423f0d85 17:03:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:03:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:03:59 Removing intermediate container a855423f0d85 17:03:59 ---> e7ff8f897319 17:03:59 Step 10/21 : FROM scratch 17:03:59 ---> 17:03:59 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:03:59 ---> Running in 0843d98ea94a 17:03:59 Removing intermediate container 0843d98ea94a 17:03:59 ---> cf5bdde00be5 17:03:59 Step 12/21 : ENV APP_PORT=49990 17:03:59 ---> Running in f4e742f88be4 17:03:59 Removing intermediate container f4e742f88be4 17:03:59 ---> 7f5d2cda2a70 17:03:59 Step 13/21 : EXPOSE $APP_PORT 17:03:59 ---> Running in 31e27f2a425a 17:03:59 Removing intermediate container 31e27f2a425a 17:03:59 ---> 5d72e5bc169b 17:03:59 Step 14/21 : WORKDIR / 17:03:59 ---> Running in d2be5006eebd 17:04:00 Removing intermediate container d2be5006eebd 17:04:00 ---> b608bd13eaa8 17:04:00 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:04:00 ---> cbe68ed6717c 17:04:00 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 17:04:00 ---> 7c981bc19fa0 17:04:00 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 17:04:00 ---> 50dc800ae936 17:04:00 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:04:00 ---> Running in f7182b0fa7c9 17:04:00 Removing intermediate container f7182b0fa7c9 17:04:00 ---> eb3b9a54900c 17:04:00 Step 19/21 : LABEL arch=amd64 17:04:00 ---> Running in 6ad5d08413b7 17:04:01 Removing intermediate container 6ad5d08413b7 17:04:01 ---> f443991ae73b 17:04:01 Step 20/21 : LABEL git_sha=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 17:04:01 ---> Running in 811567d3e176 17:04:01 Removing intermediate container 811567d3e176 17:04:01 ---> 002a46ec3079 17:04:01 Step 21/21 : LABEL version=1.2.0-dev.20 17:04:01 ---> Running in 3bb8018b5f30 17:04:01 Removing intermediate container 3bb8018b5f30 17:04:01 ---> 556d29f9ee8c 17:04:01 [Warning] One or more build-args [ARCH] were not consumed 17:04:01 Successfully built 556d29f9ee8c 17:04:01 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] } 17:04:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3313 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 17:04:23 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 17:04:29 using credential edgex-jenkins-ssh 17:04:29 Cloning the remote Git repository 17:04:29 Cloning with configured refspecs honoured and without tags 17:04:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:04:29 > git init /w/workspace/device-sdk-go/20 # timeout=10 17:04:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:04:30 > git --version # timeout=10 17:04:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:04:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:04:31 Fetching without tags 17:04:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:04:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:04:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:04:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:04:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:04:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:04:31 Checking out Revision cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (master) 17:04:31 > git config core.sparsecheckout # timeout=10 17:04:31 > git checkout -f cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 17:04:36 Commit message: "Merge pull request #474 from hahattan/issue-465" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:04:37 ========================================================= 17:04:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 17:04:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:04:39 + 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 . 17:04:40 Sending build context to Docker daemon 2.865MB 17:04:40 Step 1/8 : ARG BASE=golang:1.13-alpine 17:04:40 Step 2/8 : FROM ${BASE} 17:04:40 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:04:40 cde5963f3b93: Pulling fs layer 17:04:40 2a23fa8c16f7: Pulling fs layer 17:04:40 777b28850792: Pulling fs layer 17:04:40 8a11ddd9e578: Pulling fs layer 17:04:40 4cf88f913ddb: Pulling fs layer 17:04:40 1df406cf5192: Pulling fs layer 17:04:40 cd6300453558: Pulling fs layer 17:04:40 b9c365052c96: Pulling fs layer 17:04:40 a2d8cc88f415: Pulling fs layer 17:04:40 ea1d1ca13537: Pulling fs layer 17:04:40 3750a50a1c5e: Pulling fs layer 17:04:40 8a11ddd9e578: Waiting 17:04:40 cd6300453558: Waiting 17:04:40 ea1d1ca13537: Waiting 17:04:40 4cf88f913ddb: Waiting 17:04:40 b9c365052c96: Waiting 17:04:40 1df406cf5192: Waiting 17:04:40 3750a50a1c5e: Waiting 17:04:40 777b28850792: Download complete 17:04:40 2a23fa8c16f7: Verifying Checksum 17:04:40 2a23fa8c16f7: Download complete 17:04:40 4cf88f913ddb: Download complete 17:04:40 1df406cf5192: Verifying Checksum 17:04:40 1df406cf5192: Download complete 17:04:40 cde5963f3b93: Verifying Checksum 17:04:41 cde5963f3b93: Pull complete 17:04:42 2a23fa8c16f7: Pull complete 17:04:42 777b28850792: Pull complete 17:04:45 cd6300453558: Verifying Checksum 17:04:45 cd6300453558: Download complete 17:04:45 a2d8cc88f415: Verifying Checksum 17:04:45 a2d8cc88f415: Download complete 17:04:47 ea1d1ca13537: Verifying Checksum 17:04:47 ea1d1ca13537: Download complete 17:04:47 3750a50a1c5e: Verifying Checksum 17:04:47 3750a50a1c5e: Download complete 17:04:50 b9c365052c96: Verifying Checksum 17:04:50 b9c365052c96: Download complete 17:04:51 8a11ddd9e578: Download complete 17:05:04 8a11ddd9e578: Pull complete 17:05:04 4cf88f913ddb: Pull complete 17:05:04 1df406cf5192: Pull complete 17:05:08 cd6300453558: Pull complete 17:05:13 b9c365052c96: Pull complete 17:05:13 a2d8cc88f415: Pull complete 17:05:15 ea1d1ca13537: Pull complete 17:05:15 3750a50a1c5e: Pull complete 17:05:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 17:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 17:05:15 ---> 78745c68409d 17:05:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:05:21 ---> Running in b74607bfa6c4 17:05:21 Removing intermediate container b74607bfa6c4 17:05:21 ---> 7fcb9e6d2b62 17:05:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:21 ---> Running in 941b6a32fee8 17:05:23 Removing intermediate container 941b6a32fee8 17:05:23 ---> cf91a5bca3da 17:05:23 Step 5/8 : RUN apk add --no-cache make git 17:05:23 ---> Running in adf15612fbec 17:05:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:05:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:05:25 OK: 125 MiB in 39 packages 17:05:26 Removing intermediate container adf15612fbec 17:05:26 ---> 4494d605263c 17:05:26 Step 6/8 : WORKDIR /device-sdk-go 17:05:26 ---> Running in 567fd414d2ce 17:05:27 Removing intermediate container 567fd414d2ce 17:05:27 ---> 3c1080d0db00 17:05:27 Step 7/8 : COPY . . 17:05:28 ---> fcf6967ecb3f 17:05:28 Step 8/8 : RUN go mod download 17:05:28 ---> Running in 5ebe9823efdd 17:05:30 go: finding github.com/BurntSushi/toml v0.3.1 17:05:30 go: finding github.com/OneOfOne/xxhash v1.2.6 17:05:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:05:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:05:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:05:30 go: finding github.com/bgentry/speakeasy v0.1.0 17:05:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:05:30 go: finding github.com/davecgh/go-spew v1.1.1 17:05:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 17:05:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:05:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:05:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:05:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:05:30 go: finding github.com/fatih/color v1.7.0 17:05:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:05:30 go: finding github.com/go-kit/kit v0.8.0 17:05:30 go: finding github.com/go-logfmt/logfmt v0.4.0 17:05:30 go: finding github.com/go-stack/stack v1.8.0 17:05:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:05:30 go: finding github.com/google/uuid v1.1.0 17:05:30 go: finding github.com/gorilla/mux v1.7.1 17:05:30 go: finding github.com/hashicorp/consul/api v1.1.0 17:05:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:05:30 go: finding github.com/hashicorp/errwrap v1.0.0 17:05:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:05:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:05:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:05:30 go: finding github.com/hashicorp/go-multierror v1.0.0 17:05:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:05:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:05:30 go: finding github.com/hashicorp/go-syslog v1.0.0 17:05:30 go: finding github.com/hashicorp/go-uuid v1.0.1 17:05:30 go: finding github.com/hashicorp/go.net v0.0.1 17:05:30 go: finding github.com/hashicorp/golang-lru v0.5.0 17:05:30 go: finding github.com/hashicorp/logutils v1.0.0 17:05:30 go: finding github.com/hashicorp/mdns v1.0.0 17:05:30 go: finding github.com/hashicorp/memberlist v0.1.3 17:05:30 go: finding github.com/hashicorp/serf v0.8.2 17:05:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:05:30 go: finding github.com/mattn/go-colorable v0.0.9 17:05:30 go: finding github.com/mattn/go-isatty v0.0.3 17:05:30 go: finding github.com/miekg/dns v1.0.14 17:05:30 go: finding github.com/mitchellh/cli v1.0.0 17:05:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:05:30 go: finding github.com/mitchellh/copystructure v1.0.0 17:05:30 go: finding github.com/mitchellh/go-homedir v1.0.0 17:05:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:05:30 go: finding github.com/mitchellh/gox v0.4.0 17:05:30 go: finding github.com/mitchellh/iochan v1.0.0 17:05:30 go: finding github.com/mitchellh/mapstructure v1.1.2 17:05:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:05:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:05:30 go: finding github.com/pelletier/go-toml v1.2.0 17:05:30 go: finding github.com/pkg/errors v0.8.1 17:05:30 go: finding github.com/pmezard/go-difflib v1.0.0 17:05:30 go: finding github.com/posener/complete v1.1.1 17:05:30 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:05:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:05:30 go: finding github.com/stretchr/objx v0.1.0 17:05:30 go: finding github.com/stretchr/testify v1.5.1 17:05:30 go: finding github.com/ugorji/go v1.1.4 17:05:30 go: finding github.com/x448/float16 v0.8.4 17:05:30 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:05:30 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:05:30 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:05:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:05:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:05:31 go: finding gopkg.in/yaml.v2 v2.2.8 17:05:41 Removing intermediate container 5ebe9823efdd 17:05:41 ---> 1f41e61422ac 17:05:41 Successfully built 1f41e61422ac 17:05:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:05:41 + docker inspect -f . ci-base-image-arm64 17:05:41 . [Pipeline] withDockerContainer 17:05:42 prd-ubuntu18.04-docker-arm64-4c-16g-3313 does not seem to be running inside a container 17:05:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 17:05:43 $ docker top 1c571627e0d69bf99d8f9a37135e8dc384c3bc8dd7420f6f76584941a383bcb2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:45 + go version 17:05:45 go version go1.13.5 linux/arm64 [Pipeline] sh 17:05:45 + make test 17:05:45 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:05:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:06:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:06:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:06:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements 17:06:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.177s coverage: 95.8% of statements 17:06:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 11.4% of statements 17:06:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 22.1% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:06:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.129s coverage: 38.5% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 17:06:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.651s coverage: 79.8% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:06:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 17:06:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 71.4% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:06:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:06:52 gofmt -l . 17:06:53 [ "`gofmt -l .`" = "" ] 17:06:53 ./bin/test-attribution-txt.sh 17:06:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:06:54 Warning: overwriting stash ‘coverage-report’ 17:06:55 Stashed 1 file(s) [Pipeline] } 17:06:55 $ docker stop --time=1 1c571627e0d69bf99d8f9a37135e8dc384c3bc8dd7420f6f76584941a383bcb2 17:06:57 $ docker rm -f 1c571627e0d69bf99d8f9a37135e8dc384c3bc8dd7420f6f76584941a383bcb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:06:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:06:58 + ls -al . 17:06:58 total 200 17:06:58 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:06 . 17:06:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:04 .. 17:06:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 17:04 .dockerignore 17:06:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:04 .git 17:06:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:04 .github 17:06:58 -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 17:04 .gitignore 17:06:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:04 .semver 17:06:58 -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 17:04 Dockerfile.build 17:06:58 -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 17:04 Jenkinsfile 17:06:58 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 17:04 LICENSE 17:06:58 -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 17:04 Makefile 17:06:58 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 17:04 README.md 17:06:58 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 16:59 VERSION 17:06:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:04 api 17:06:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:04 bin 17:06:58 -rw-r--r-- 1 jenkins jenkins 96404 Apr 10 17:06 coverage.out 17:06:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:04 example 17:06:58 -rw-r--r-- 1 jenkins jenkins 446 Apr 10 17:06 go.mod 17:06:58 -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 17:06 go.sum 17:06:58 drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 17:04 internal 17:06:58 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 17:04 pkg 17:06:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:04 snap 17:06:58 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 17:04 version.go [Pipeline] isUnix [Pipeline] sh 17:06:59 + 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=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 --label arch=arm64 --label version=1.2.0-dev.20 . 17:06:59 Sending build context to Docker daemon 2.982MB 17:06:59 Step 1/21 : ARG BASE=golang:1.13-alpine 17:06:59 Step 2/21 : FROM ${BASE} AS builder 17:06:59 ---> 1f41e61422ac 17:06:59 Step 3/21 : ARG MAKE='make build' 17:06:59 ---> Running in 28f3b9dfa25c 17:06:59 Removing intermediate container 28f3b9dfa25c 17:06:59 ---> 1b754c3db491 17:06:59 Step 4/21 : WORKDIR /device-sdk-go 17:07:00 ---> Running in 9357492d8df6 17:07:00 Removing intermediate container 9357492d8df6 17:07:00 ---> 950e57aae0a7 17:07:00 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:07:00 ---> Running in 1699e1093648 17:07:00 Removing intermediate container 1699e1093648 17:07:00 ---> e5b092c2f3d9 17:07:00 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:01 ---> Running in fb91f94fcc19 17:07:03 Removing intermediate container fb91f94fcc19 17:07:03 ---> 788616a52192 17:07:03 Step 7/21 : RUN apk add --update --no-cache make git 17:07:03 ---> Running in e6fc6410aa30 17:07:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:07:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:07:05 OK: 125 MiB in 39 packages 17:07:06 Removing intermediate container e6fc6410aa30 17:07:06 ---> 5b30c6e59b18 17:07:06 Step 8/21 : COPY . . 17:07:07 ---> 5d5e12db4e52 17:07:07 Step 9/21 : RUN ${MAKE} 17:07:07 ---> Running in 1db25d864118 17:07:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:07:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:07:33 Removing intermediate container 1db25d864118 17:07:33 ---> 48edc97f8f0a 17:07:33 Step 10/21 : FROM scratch 17:07:33 ---> 17:07:33 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:07:33 ---> Running in 492f6e51783e 17:07:33 Removing intermediate container 492f6e51783e 17:07:33 ---> a627d552744c 17:07:33 Step 12/21 : ENV APP_PORT=49990 17:07:33 ---> Running in d7bfba4c1279 17:07:33 Removing intermediate container d7bfba4c1279 17:07:33 ---> b0a5400403d7 17:07:33 Step 13/21 : EXPOSE $APP_PORT 17:07:33 ---> Running in 9d2ea6d52cc4 17:07:34 Removing intermediate container 9d2ea6d52cc4 17:07:34 ---> a67b3fd3812f 17:07:34 Step 14/21 : WORKDIR / 17:07:34 ---> Running in 29fcac1210c7 17:07:34 Removing intermediate container 29fcac1210c7 17:07:34 ---> 8a9d79c7a40a 17:07:34 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:07:35 ---> 02ef76dda30c 17:07:35 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 17:07:35 ---> c2f686b3e6ea 17:07:35 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 17:07:36 ---> 038f6a584743 17:07:36 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:07:36 ---> Running in 6df88fb2934d 17:07:37 Removing intermediate container 6df88fb2934d 17:07:37 ---> 15ac842f1aba 17:07:37 Step 19/21 : LABEL arch=arm64 17:07:37 ---> Running in 9105e0f30114 17:07:37 Removing intermediate container 9105e0f30114 17:07:37 ---> d658b7609014 17:07:37 Step 20/21 : LABEL git_sha=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 17:07:37 ---> Running in b22b0486bd3f 17:07:37 Removing intermediate container b22b0486bd3f 17:07:37 ---> da75fd8dec42 17:07:37 Step 21/21 : LABEL version=1.2.0-dev.20 17:07:37 ---> Running in 3262721e48b8 17:07:38 Removing intermediate container 3262721e48b8 17:07:38 ---> 5689b89fd8f8 17:07:38 [Warning] One or more build-args [ARCH] were not consumed 17:07:38 Successfully built 5689b89fd8f8 17:07:38 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 17:07:39 provisioning config files... 17:07:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3469152197304016854tmp [Pipeline] { [Pipeline] sh 17:07:40 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3469152197304016854tmp 17:07:40 + curl -s https://codecov.io/bash 17:07:40 17:07:40 _____ _ 17:07:40 / ____| | | 17:07:40 | | ___ __| | ___ ___ _____ __ 17:07:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:07:40 | |___| (_) | (_| | __/ (_| (_) \ V / 17:07:40 \_____\___/ \__,_|\___|\___\___/ \_/ 17:07:40 Bash-20200410-0786dee 17:07:40 17:07:40 17:07:40 ==> Jenkins CI detected. 17:07:40 project root: . 17:07:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:07:40 ==> Running gcov in . (disable via -X gcov) 17:07:40 ==> Python coveragepy not found 17:07:40 ==> Searching for coverage reports in: 17:07:40 + . 17:07:40 -> Found 1 reports 17:07:41 ==> Detecting git/mercurial file structure 17:07:41 ==> Reading reports 17:07:41 + ./coverage.out bytes=96404 17:07:41 ==> Appending adjustments 17:07:41 http://docs.codecov.io/docs/fixing-reports 17:07:41 + Found adjustments 17:07:41 ==> Gzipping contents 17:07:41 ==> Uploading reports 17:07:41 url: https://codecov.io 17:07:41 query: branch=master&commit=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 17:07:41 -> Pinging Codecov 17:07:41 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=master&commit=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 17:07:42 -> Uploading 17:07:42 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 [Pipeline] } 17:07:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 17:07:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 17:07:42 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 17:07:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 17:07:43 17:07:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 17:07:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 17:07:44 1.217.3: Pulling from edgex-devops/edgex-snyk-go 17:07:44 e6b0cf9c0882: Pulling fs layer 17:07:44 2848faf0eed1: Pulling fs layer 17:07:44 0f37312ad70f: Pulling fs layer 17:07:44 7d08f2745646: Pulling fs layer 17:07:44 4c9f31393084: Pulling fs layer 17:07:44 eb21ddb83652: Pulling fs layer 17:07:44 345998794f6b: Pulling fs layer 17:07:44 97a711d68925: Pulling fs layer 17:07:44 7c8476c1cb00: Pulling fs layer 17:07:44 4c9f31393084: Waiting 17:07:44 eb21ddb83652: Waiting 17:07:44 345998794f6b: Waiting 17:07:44 97a711d68925: Waiting 17:07:44 7c8476c1cb00: Waiting 17:07:44 7d08f2745646: Waiting 17:07:44 0f37312ad70f: Verifying Checksum 17:07:44 0f37312ad70f: Download complete 17:07:44 2848faf0eed1: Download complete 17:07:44 4c9f31393084: Verifying Checksum 17:07:44 4c9f31393084: Download complete 17:07:44 eb21ddb83652: Verifying Checksum 17:07:44 eb21ddb83652: Download complete 17:07:44 e6b0cf9c0882: Verifying Checksum 17:07:44 e6b0cf9c0882: Download complete 17:07:45 e6b0cf9c0882: Pull complete 17:07:46 2848faf0eed1: Pull complete 17:07:46 0f37312ad70f: Pull complete 17:07:47 345998794f6b: Verifying Checksum 17:07:47 345998794f6b: Download complete 17:07:48 97a711d68925: Verifying Checksum 17:07:48 97a711d68925: Download complete 17:07:48 7c8476c1cb00: Verifying Checksum 17:07:48 7c8476c1cb00: Download complete 17:07:50 7d08f2745646: Verifying Checksum 17:07:50 7d08f2745646: Download complete 17:08:01 7d08f2745646: Pull complete 17:08:01 4c9f31393084: Pull complete 17:08:01 eb21ddb83652: Pull complete 17:08:02 345998794f6b: Pull complete 17:08:06 97a711d68925: Pull complete 17:08:07 7c8476c1cb00: Pull complete 17:08:07 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 17:08:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 17:08:08 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 17:08:08 $ 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 17:08:09 $ docker top e488225306bb77d66a918c93a3209fb6992bb928ebb7868d45bfa9f59b938bf7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:10 + snyk monitor '--org=edgex-jenkins' 17:08:16 17:08:16 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... 17:08:16 17:08:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/565243ed-4171-4766-baa3-46580afae5b2 17:08:16 17:08:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:08:16 17:08:16 [Pipeline] } 17:08:16 $ docker stop --time=1 e488225306bb77d66a918c93a3209fb6992bb928ebb7868d45bfa9f59b938bf7 17:08:18 $ docker rm -f e488225306bb77d66a918c93a3209fb6992bb928ebb7868d45bfa9f59b938bf7 [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 17:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:08:19 . [Pipeline] withDockerContainer 17:08:19 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 17:08:20 $ 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 17:08:21 $ docker top d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:21 [ssh-agent] Looking for ssh-agent implementation... 17:08:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:22 $ docker exec d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f ssh-agent 17:08:22 SSH_AUTH_SOCK=/tmp/ssh-OKefys4bTA67/agent.15 17:08:22 SSH_AGENT_PID=21 17:08:22 Running ssh-add (command line suppressed) 17:08:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4685559687369075070.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4685559687369075070.key) 17:08:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:23 + git semver tag 17:08:23 # -> Open(): unable to determine branch for HEAD 17:08:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 17:08:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 17:08:23 # $SEMVER_REMOTE_NAME = origin 17:08:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:08:23 # $SEMVER_USER_NAME = edgex-jenkins 17:08:23 # $SEMVER_BRANCH = master 17:08:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 17:08:23 # cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 HEAD 17:08:23 # -> Force: false 17:08:23 # 1ab5ba05a77380644ee74446ec77fe6ed30324bc refs/tags/v1.2.0-dev.20 [Pipeline] } 17:08:23 $ docker exec --env ******** --env ******** d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f ssh-agent -k 17:08:23 unset SSH_AUTH_SOCK; 17:08:23 unset SSH_AGENT_PID; 17:08:23 echo Agent pid 21 killed; 17:08:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:24 + git semver [Pipeline] } 17:08:24 $ docker stop --time=1 d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f 17:08:26 $ docker rm -f d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:08:26 17:08:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:08:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:08:27 0.23.1-centos7: Pulling from edgex-lftools 17:08:27 ab5ef0e58194: Pulling fs layer 17:08:27 9712f1f96733: Pulling fs layer 17:08:27 63f879dbbcfc: Pulling fs layer 17:08:27 0d9ebad4ef96: Pulling fs layer 17:08:27 e9a5061849ea: Pulling fs layer 17:08:27 d747dcd14b5f: Pulling fs layer 17:08:27 2de7ff778b66: Pulling fs layer 17:08:27 0d9ebad4ef96: Waiting 17:08:27 e9a5061849ea: Waiting 17:08:27 d747dcd14b5f: Waiting 17:08:27 2de7ff778b66: Waiting 17:08:27 9712f1f96733: Verifying Checksum 17:08:27 9712f1f96733: Download complete 17:08:28 63f879dbbcfc: Verifying Checksum 17:08:28 63f879dbbcfc: Download complete 17:08:29 e9a5061849ea: Verifying Checksum 17:08:29 e9a5061849ea: Download complete 17:08:29 d747dcd14b5f: Verifying Checksum 17:08:29 d747dcd14b5f: Download complete 17:08:30 0d9ebad4ef96: Verifying Checksum 17:08:30 0d9ebad4ef96: Download complete 17:08:31 2de7ff778b66: Verifying Checksum 17:08:31 2de7ff778b66: Download complete 17:08:31 ab5ef0e58194: Verifying Checksum 17:08:31 ab5ef0e58194: Download complete 17:08:36 ab5ef0e58194: Pull complete 17:08:36 9712f1f96733: Pull complete 17:08:39 63f879dbbcfc: Pull complete 17:08:47 0d9ebad4ef96: Pull complete 17:08:47 e9a5061849ea: Pull complete 17:08:47 d747dcd14b5f: Pull complete 17:08:51 2de7ff778b66: Pull complete 17:08:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:08:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:08:52 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 17:08:52 $ 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 17:08:54 $ docker top fcd1685a9a0e77b9f3903d6b6ae8f11d8e0be5fc55526500313acda707f479c8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:08:54 provisioning config files... 17:08:54 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3102001826036303743tmp 17:08:54 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5663832116381051985tmp 17:08:54 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3824057571275980910tmp [Pipeline] { [Pipeline] echo 17:08:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:08:56 ---> sigul-configuration.sh 17:08:56 gpg: directory `/root/.gnupg' created 17:08:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:08:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:08:56 gpg: keyring `/root/.gnupg/secring.gpg' created 17:08:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:08:56 gpg: CAST5 encrypted data 17:08:56 gpg: encrypted with 1 passphrase 17:08:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:08:56 + mkdir /home/jenkins 17:08:56 + mkdir /home/jenkins/sigul [Pipeline] sh 17:08:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 17:08:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:08:57 ---> sigul-install.sh 17:08:59 http://mirror.centos.serverforge.org/7.7.1908/os/x86_64/repodata/04efe80d41ea3d94d36294f7107709d1c8f70db11e152d6ef562da344748581a-primary.sqlite.bz2: [Errno 14] curl#56 - "Recv failure: Connection reset by peer" 17:08:59 Trying other mirror. 17:09:06 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:09:06 + git tag --list 17:09:06 v1.2.0-dev.20 [Pipeline] sh 17:09:07 + lftools sign git-tag v1.2.0-dev.20 17:09:09 Signing Git tag with Sigul... 17:09:09 Signing v1.2.0-dev.20 [Pipeline] echo 17:09:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:09:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:09:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:09:10 $ docker stop --time=1 fcd1685a9a0e77b9f3903d6b6ae8f11d8e0be5fc55526500313acda707f479c8 17:09:12 $ docker rm -f fcd1685a9a0e77b9f3903d6b6ae8f11d8e0be5fc55526500313acda707f479c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:13 . [Pipeline] withDockerContainer 17:09:13 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 17:09:13 $ 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 17:09:14 $ docker top 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:15 [ssh-agent] Looking for ssh-agent implementation... 17:09:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:15 $ docker exec 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de ssh-agent 17:09:15 SSH_AUTH_SOCK=/tmp/ssh-3FpNWFrvmLAe/agent.15 17:09:15 SSH_AGENT_PID=21 17:09:15 Running ssh-add (command line suppressed) 17:09:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_922028463943404010.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_922028463943404010.key) 17:09:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:16 + git semver bump pre 17:09:16 # -> Open(): unable to determine branch for HEAD 17:09:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 17:09:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 17:09:16 # $SEMVER_REMOTE_NAME = origin 17:09:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:09:16 # $SEMVER_USER_NAME = edgex-jenkins 17:09:16 # $SEMVER_BRANCH = master 17:09:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 17:09:16 1.2.0-dev.21 [Pipeline] } 17:09:16 $ docker exec --env ******** --env ******** 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de ssh-agent -k 17:09:16 unset SSH_AUTH_SOCK; 17:09:16 unset SSH_AGENT_PID; 17:09:16 echo Agent pid 21 killed; 17:09:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:17 + git semver [Pipeline] } 17:09:17 $ docker stop --time=1 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de 17:09:18 $ docker rm -f 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:09:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:19 . [Pipeline] withDockerContainer 17:09:19 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 17:09:19 $ 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 17:09:20 $ docker top e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:21 [ssh-agent] Looking for ssh-agent implementation... 17:09:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:21 $ docker exec e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a ssh-agent 17:09:21 SSH_AUTH_SOCK=/tmp/ssh-1nDiUn7pyTCM/agent.16 17:09:21 SSH_AGENT_PID=23 17:09:21 Running ssh-add (command line suppressed) 17:09:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_490107736160178897.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_490107736160178897.key) 17:09:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:23 + git semver push 17:09:23 # -> Open(): unable to determine branch for HEAD 17:09:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 17:09:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 17:09:23 # $SEMVER_REMOTE_NAME = origin 17:09:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:09:23 # $SEMVER_USER_NAME = edgex-jenkins 17:09:23 # $SEMVER_BRANCH = master 17:09:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 17:09:31 $ docker exec --env ******** --env ******** e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a ssh-agent -k 17:09:31 unset SSH_AUTH_SOCK; 17:09:31 unset SSH_AGENT_PID; 17:09:31 echo Agent pid 23 killed; 17:09:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:32 + git semver [Pipeline] } 17:09:32 $ docker stop --time=1 e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a 17:09:34 $ docker rm -f e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a [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 17:09:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:09:35 ---> package-listing.sh 17:09:35 ++ facter osfamily 17:09:35 ++ tr '[:upper:]' '[:lower:]' 17:09:35 + OS_FAMILY=redhat 17:09:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 17:09:35 + START_PACKAGES=/tmp/packages_start.txt 17:09:35 + END_PACKAGES=/tmp/packages_end.txt 17:09:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:09:35 + PACKAGES=/tmp/packages_start.txt 17:09:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 17:09:35 + PACKAGES=/tmp/packages_end.txt 17:09:35 + case "${OS_FAMILY}" in 17:09:35 + sort 17:09:35 + rpm -qa 17:09:41 + '[' -f /tmp/packages_start.txt ']' 17:09:41 + '[' -f /tmp/packages_end.txt ']' 17:09:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:09:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 17:09:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 17:09:41 + 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 17:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:09:41 17:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:09:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:09:42 alpine: Pulling from edgex-lftools-log-publisher 17:09:42 c9b1b535fdd9: Pulling fs layer 17:09:42 2cc5ad85d9ab: Pulling fs layer 17:09:42 756a868c4378: Pulling fs layer 17:09:42 444b2fc9a129: Pulling fs layer 17:09:42 ea15f1150254: Pulling fs layer 17:09:42 41b27a9f41bf: Pulling fs layer 17:09:42 28c525ee5125: Pulling fs layer 17:09:42 094b1ea09ed8: Pulling fs layer 17:09:42 138eaada9080: Pulling fs layer 17:09:42 0622d0fa9048: Pulling fs layer 17:09:42 41b27a9f41bf: Waiting 17:09:42 28c525ee5125: Waiting 17:09:42 094b1ea09ed8: Waiting 17:09:42 138eaada9080: Waiting 17:09:42 444b2fc9a129: Waiting 17:09:42 ea15f1150254: Waiting 17:09:42 0622d0fa9048: Waiting 17:09:42 2cc5ad85d9ab: Verifying Checksum 17:09:42 2cc5ad85d9ab: Download complete 17:09:42 444b2fc9a129: Verifying Checksum 17:09:42 444b2fc9a129: Download complete 17:09:42 ea15f1150254: Verifying Checksum 17:09:42 ea15f1150254: Download complete 17:09:42 c9b1b535fdd9: Verifying Checksum 17:09:42 c9b1b535fdd9: Download complete 17:09:42 28c525ee5125: Verifying Checksum 17:09:42 28c525ee5125: Download complete 17:09:43 c9b1b535fdd9: Pull complete 17:09:43 2cc5ad85d9ab: Pull complete 17:09:44 756a868c4378: Verifying Checksum 17:09:44 756a868c4378: Download complete 17:09:44 094b1ea09ed8: Verifying Checksum 17:09:44 094b1ea09ed8: Download complete 17:09:44 0622d0fa9048: Verifying Checksum 17:09:44 0622d0fa9048: Download complete 17:09:44 138eaada9080: Verifying Checksum 17:09:44 138eaada9080: Download complete 17:09:45 41b27a9f41bf: Verifying Checksum 17:09:45 41b27a9f41bf: Download complete 17:09:47 756a868c4378: Pull complete 17:09:47 444b2fc9a129: Pull complete 17:09:47 ea15f1150254: Pull complete 17:09:53 41b27a9f41bf: Pull complete 17:09:53 28c525ee5125: Pull complete 17:09:56 094b1ea09ed8: Pull complete 17:09:56 138eaada9080: Pull complete 17:09:56 0622d0fa9048: Pull complete 17:09:56 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:09:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:09:57 prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container 17:09:57 $ 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 17:09:58 $ docker top 2c251ca2ceb4429b1955ffaa060a7892193b9bb3209b04e993326f5545d8c404 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:59 provisioning config files... 17:09:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7027757075059525156tmp [Pipeline] { [Pipeline] echo 17:09:59 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:10:00 ---> create-netrc.sh [Pipeline] echo 17:10:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:10:01 ---> logs-deploy.sh 17:10:01 + ARCHIVE_ARTIFACTS= 17:10:01 + LOGS_SERVER=https://logs.edgexfoundry.org 17:10:01 + '[' https://logs.edgexfoundry.org == None ']' 17:10:01 + NEXUS_URL=https://nexus.edgexfoundry.org 17:10:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/20 17:10:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/20/ 17:10:01 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/20 /w/workspace/dgexfoundry_device-sdk-go_master 17:10:03 Archives upload complete. 17:10:03 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/20 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/20/ 17:10:04 ---> uname -a: 17:10:04 Linux 2c251ca2ceb4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 17:10:04 17:10:04 17:10:04 ---> lscpu: 17:10:04 Architecture: x86_64 17:10:04 CPU op-mode(s): 32-bit, 64-bit 17:10:04 Byte Order: Little Endian 17:10:04 Address sizes: 40 bits physical, 48 bits virtual 17:10:04 CPU(s): 4 17:10:04 On-line CPU(s) list: 0-3 17:10:04 Thread(s) per core: 1 17:10:04 Core(s) per socket: 1 17:10:04 Socket(s): 4 17:10:04 NUMA node(s): 1 17:10:04 Vendor ID: GenuineIntel 17:10:04 CPU family: 6 17:10:04 Model: 44 17:10:04 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:10:04 Stepping: 1 17:10:04 CPU MHz: 2933.438 17:10:04 BogoMIPS: 5866.87 17:10:04 Virtualization: VT-x 17:10:04 Hypervisor vendor: KVM 17:10:04 Virtualization type: full 17:10:04 L1d cache: 128 KiB 17:10:04 L1i cache: 128 KiB 17:10:04 L2 cache: 16 MiB 17:10:04 L3 cache: 64 MiB 17:10:04 NUMA node0 CPU(s): 0-3 17:10:04 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 17:10:04 Vulnerability Meltdown: Mitigation; PTI 17:10:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:10:04 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 17:10:04 Vulnerability Spectre v2: Mitigation; Full retpoline 17:10:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 17:10:04 17:10:04 17:10:04 ---> nproc: 17:10:04 4 17:10:04 17:10:04 17:10:04 ---> df -h: 17:10:04 Filesystem Size Used Available Use% Mounted on 17:10:04 overlay 50.0G 7.5G 42.5G 15% / 17:10:04 tmpfs 64.0M 0 64.0M 0% /dev 17:10:04 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 17:10:04 shm 64.0M 0 64.0M 0% /dev/shm 17:10:04 /dev/vda1 50.0G 7.5G 42.5G 15% /etc/resolv.conf 17:10:04 /dev/vda1 50.0G 7.5G 42.5G 15% /etc/hostname 17:10:04 /dev/vda1 50.0G 7.5G 42.5G 15% /etc/hosts 17:10:04 /dev/vda1 50.0G 7.5G 42.5G 15% /w/workspace/dgexfoundry_device-sdk-go_master 17:10:04 /dev/vda1 50.0G 7.5G 42.5G 15% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 17:10:04 /dev/vda1 50.0G 7.5G 42.5G 15% /var/log/sa 17:10:04 17:10:04 17:10:04 ---> free -m: 17:10:04 total used free shared buff/cache available 17:10:04 Mem: 1838 714 80 0 1043 1056 17:10:04 Swap: 1023 1 1022 17:10:04 17:10:04 17:10:04 ---> ip addr: 17:10:04 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:10:04 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:10:04 inet 127.0.0.1/8 scope host lo 17:10:04 valid_lft forever preferred_lft forever 17:10:04 16: eth0@if17: mtu 1458 qdisc noqueue state UP 17:10:04 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 17:10:04 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 17:10:04 valid_lft forever preferred_lft forever 17:10:04 17:10:04