Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f17d1be1b4849550bf30592997a90b8c252fbe34 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-378’ is offline Running on prd-centos7-docker-4c-2g-380 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 f17d1be1b4849550bf30592997a90b8c252fbe34 (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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 Commit message: "Merge pull request #556 from hahattan/issue-554" > git rev-list --no-walk 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:07:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:07:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:07:08 ========================================================= 03:07:08 EdgeX Global Pipelines Version Info 03:07:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:07:10 ------------------- 03:07:10 stable info: 03:07:10 ------------------- 03:07:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:10 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 03:07:10 Message: update stable to v1.0.99 03:07:11 ------------------- 03:07:11 experimental info: 03:07:11 ------------------- 03:07:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:11 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 03:07:11 Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:13 03:07:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:07:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:13 latest: Pulling from edgex-devops/git-semver 03:07:13 31603596830f: Pulling fs layer 03:07:13 2a8b12db71e7: Pulling fs layer 03:07:13 6ca5941a6612: Pulling fs layer 03:07:13 ecc8261a40a4: Pulling fs layer 03:07:13 ecc8261a40a4: Waiting 03:07:13 2a8b12db71e7: Verifying Checksum 03:07:13 2a8b12db71e7: Download complete 03:07:14 31603596830f: Verifying Checksum 03:07:14 31603596830f: Download complete 03:07:14 ecc8261a40a4: Verifying Checksum 03:07:14 ecc8261a40a4: Download complete 03:07:14 6ca5941a6612: Verifying Checksum 03:07:14 6ca5941a6612: Download complete 03:07:14 31603596830f: Pull complete 03:07:14 2a8b12db71e7: Pull complete 03:07:14 6ca5941a6612: Pull complete 03:07:15 ecc8261a40a4: Pull complete 03:07:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:07:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:07:15 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:07:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:07:17 $ docker top 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:17 [ssh-agent] Looking for ssh-agent implementation... 03:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:17 $ docker exec 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent 03:07:18 SSH_AUTH_SOCK=/tmp/ssh-Y8EzQRTDW5q8/agent.12 03:07:18 SSH_AGENT_PID=17 03:07:18 Running ssh-add (command line suppressed) 03:07:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9200342847350271211.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9200342847350271211.key) 03:07:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:18 + git describe --exact-match --tags HEAD 03:07:18 fatal: No names found, cannot describe anything. [Pipeline] } 03:07:18 $ docker exec --env ******** --env ******** 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent -k 03:07:18 unset SSH_AUTH_SOCK; 03:07:18 unset SSH_AGENT_PID; 03:07:18 echo Agent pid 17 killed; 03:07:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:07:18 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:07:18 This usually means this commit has not been tagged. [Pipeline] sshagent 03:07:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:19 [ssh-agent] Looking for ssh-agent implementation... 03:07:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:19 $ docker exec 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent 03:07:19 SSH_AUTH_SOCK=/tmp/ssh-VECCLlsdJxQp/agent.46 03:07:19 SSH_AGENT_PID=51 03:07:19 Running ssh-add (command line suppressed) 03:07:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6042378634480828468.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6042378634480828468.key) 03:07:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:19 + git semver init 03:07:19 # -> Open(): unable to determine branch for HEAD 03:07:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 03:07:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 03:07:19 # $SEMVER_REMOTE_NAME = origin 03:07:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:07:19 # $SEMVER_USER_NAME = edgex-jenkins 03:07:19 # $SEMVER_BRANCH = master 03:07:19 # $SEMVER_TEMP = /tmp/semver-911474684 03:07:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:07:20 # '/tmp/semver-911474684' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 03:07:20 # -> Force: false 03:07:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 03:07:20 $ docker exec --env ******** --env ******** 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent -k 03:07:20 unset SSH_AUTH_SOCK; 03:07:20 unset SSH_AGENT_PID; 03:07:20 echo Agent pid 51 killed; 03:07:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:07:21 + git semver [Pipeline] } 03:07:21 $ docker stop --time=1 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 03:07:23 $ docker rm -f 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:07:23 Stashed 70 file(s) [Pipeline] echo 03:07:23 [edgeXSemver] initialized semver on version 1.2.3-dev.6 [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 03:07:39 Still waiting to schedule task 03:07:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:07:39 Still waiting to schedule task 03:07:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:09:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-381 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 03:09:17 Running in /w/workspace/device-sdk-go/50 [Pipeline] { [Pipeline] checkout 03:09:22 using credential edgex-jenkins-ssh 03:09:22 Cloning the remote Git repository 03:09:22 Cloning with configured refspecs honoured and without tags 03:09:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:09:22 > git init /w/workspace/device-sdk-go/50 # timeout=10 03:09:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:09:23 > git --version # timeout=10 03:09:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:24 Fetching without tags 03:09:25 Checking out Revision f17d1be1b4849550bf30592997a90b8c252fbe34 (master) 03:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:09:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:25 > git config core.sparsecheckout # timeout=10 03:09:25 > git checkout -f f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 03:09:29 Commit message: "Merge pull request #556 from hahattan/issue-554" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:09:30 ========================================================= 03:09:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:09:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:09:31 + 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 . 03:09:32 Sending build context to Docker daemon 3.113MB 03:09:32 Step 1/8 : ARG BASE=golang:1.13-alpine 03:09:32 Step 2/8 : FROM ${BASE} 03:09:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:09:33 b538f80385f9: Pulling fs layer 03:09:33 74f711af9a0d: Pulling fs layer 03:09:33 99f96fe45779: Pulling fs layer 03:09:33 fd7a069fd194: Pulling fs layer 03:09:33 66aa3694b03b: Pulling fs layer 03:09:33 170f70906a0f: Pulling fs layer 03:09:33 ad7c5574e4b9: Pulling fs layer 03:09:33 e772456be8f7: Pulling fs layer 03:09:33 c890913d741a: Pulling fs layer 03:09:33 2480fcc9aa5a: Pulling fs layer 03:09:33 09adf4765672: Pulling fs layer 03:09:33 fd7a069fd194: Waiting 03:09:33 66aa3694b03b: Waiting 03:09:33 170f70906a0f: Waiting 03:09:33 ad7c5574e4b9: Waiting 03:09:33 e772456be8f7: Waiting 03:09:33 2480fcc9aa5a: Waiting 03:09:33 09adf4765672: Waiting 03:09:33 c890913d741a: Waiting 03:09:33 99f96fe45779: Verifying Checksum 03:09:33 99f96fe45779: Download complete 03:09:33 74f711af9a0d: Verifying Checksum 03:09:33 74f711af9a0d: Download complete 03:09:33 66aa3694b03b: Download complete 03:09:33 170f70906a0f: Verifying Checksum 03:09:33 170f70906a0f: Download complete 03:09:33 b538f80385f9: Download complete 03:09:34 b538f80385f9: Pull complete 03:09:34 74f711af9a0d: Pull complete 03:09:35 99f96fe45779: Pull complete 03:09:36 ad7c5574e4b9: Verifying Checksum 03:09:36 ad7c5574e4b9: Download complete 03:09:36 c890913d741a: Download complete 03:09:39 2480fcc9aa5a: Verifying Checksum 03:09:39 2480fcc9aa5a: Download complete 03:09:39 09adf4765672: Download complete 03:09:39 e772456be8f7: Verifying Checksum 03:09:39 e772456be8f7: Download complete 03:09:40 fd7a069fd194: Verifying Checksum 03:09:40 fd7a069fd194: Download complete 03:09:53 fd7a069fd194: Pull complete 03:09:53 66aa3694b03b: Pull complete 03:09:53 170f70906a0f: Pull complete 03:09:56 ad7c5574e4b9: Pull complete 03:10:01 e772456be8f7: Pull complete 03:10:01 c890913d741a: Pull complete 03:10:03 2480fcc9aa5a: Pull complete 03:10:04 09adf4765672: Pull complete 03:10:04 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:10:04 ---> 2248a725d1cf 03:10:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:10:09 ---> Running in eb718a0ef5e8 03:10:09 Removing intermediate container eb718a0ef5e8 03:10:09 ---> b2719c831ddf 03:10:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:09 ---> Running in facbfb88f838 03:10:12 Removing intermediate container facbfb88f838 03:10:12 ---> 17da3ba91647 03:10:12 Step 5/8 : RUN apk add --no-cache make git 03:10:12 ---> Running in 737d68ffa5aa 03:10:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:10:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:10:17 OK: 142 MiB in 39 packages 03:10:18 Removing intermediate container 737d68ffa5aa 03:10:18 ---> 9ad86835c322 03:10:18 Step 6/8 : WORKDIR /device-sdk-go 03:10:18 ---> Running in f251a3bd2a7a 03:10:18 Removing intermediate container f251a3bd2a7a 03:10:18 ---> 3730616a30b3 03:10:18 Step 7/8 : COPY . . 03:10:20 ---> 88ca7c383ce1 03:10:20 Step 8/8 : RUN go mod download 03:10:20 ---> Running in 6cabf943f950 03:10:22 go: finding github.com/BurntSushi/toml v0.3.1 03:10:22 go: finding github.com/OneOfOne/xxhash v1.2.6 03:10:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:10:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:10:22 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:10:22 go: finding github.com/bgentry/speakeasy v0.1.0 03:10:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:10:22 go: finding github.com/davecgh/go-spew v1.1.1 03:10:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:10:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:10:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:10:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:10:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:10:23 go: finding github.com/fatih/color v1.7.0 03:10:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:10:23 go: finding github.com/go-kit/kit v0.8.0 03:10:23 go: finding github.com/go-logfmt/logfmt v0.4.0 03:10:23 go: finding github.com/go-stack/stack v1.8.0 03:10:23 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:10:23 go: finding github.com/google/uuid v1.1.0 03:10:23 go: finding github.com/gorilla/mux v1.7.1 03:10:23 go: finding github.com/hashicorp/consul/api v1.1.0 03:10:23 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:10:23 go: finding github.com/hashicorp/errwrap v1.0.0 03:10:23 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:10:23 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:10:23 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:10:23 go: finding github.com/hashicorp/go-multierror v1.0.0 03:10:23 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:10:23 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:10:23 go: finding github.com/hashicorp/go-syslog v1.0.0 03:10:23 go: finding github.com/hashicorp/go-uuid v1.0.1 03:10:23 go: finding github.com/hashicorp/go.net v0.0.1 03:10:23 go: finding github.com/hashicorp/golang-lru v0.5.0 03:10:23 go: finding github.com/hashicorp/logutils v1.0.0 03:10:23 go: finding github.com/hashicorp/mdns v1.0.0 03:10:23 go: finding github.com/hashicorp/memberlist v0.1.3 03:10:23 go: finding github.com/hashicorp/serf v0.8.2 03:10:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:10:23 go: finding github.com/mattn/go-colorable v0.0.9 03:10:23 go: finding github.com/mattn/go-isatty v0.0.3 03:10:23 go: finding github.com/miekg/dns v1.0.14 03:10:23 go: finding github.com/mitchellh/cli v1.0.0 03:10:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:10:23 go: finding github.com/mitchellh/copystructure v1.0.0 03:10:23 go: finding github.com/mitchellh/go-homedir v1.0.0 03:10:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:10:23 go: finding github.com/mitchellh/gox v0.4.0 03:10:23 go: finding github.com/mitchellh/iochan v1.0.0 03:10:24 go: finding github.com/mitchellh/mapstructure v1.1.2 03:10:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:10:24 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:10:24 go: finding github.com/pelletier/go-toml v1.2.0 03:10:24 go: finding github.com/pkg/errors v0.8.1 03:10:24 go: finding github.com/pmezard/go-difflib v1.0.0 03:10:24 go: finding github.com/posener/complete v1.1.1 03:10:24 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:10:24 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:10:24 go: finding github.com/stretchr/objx v0.1.0 03:10:24 go: finding github.com/stretchr/testify v1.5.1 03:10:24 go: finding github.com/ugorji/go v1.1.4 03:10:24 go: finding github.com/x448/float16 v0.8.4 03:10:24 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:10:24 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:10:24 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:10:24 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:10:24 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:10:24 go: finding gopkg.in/yaml.v2 v2.2.8 03:10:34 Removing intermediate container 6cabf943f950 03:10:34 ---> 2012acee6038 03:10:34 Successfully built 2012acee6038 03:10:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:10:35 + docker inspect -f . ci-base-image-arm64 03:10:35 . [Pipeline] withDockerContainer 03:10:35 prd-ubuntu18.04-docker-arm64-4c-16g-381 does not seem to be running inside a container 03:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/50 -v /w/workspace/device-sdk-go/50:/w/workspace/device-sdk-go/50:rw,z -v /w/workspace/device-sdk-go/50@tmp:/w/workspace/device-sdk-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:10:37 $ docker top 71e743b214bfa1fb676814872153c149ec1140de0fe0619a9c9a58da8a2e3bd5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:38 + go version 03:10:38 go version go1.13.13 linux/arm64 [Pipeline] sh 03:10:39 + make test 03:10:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:10:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:11:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:11:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:11:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:11:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.065s coverage: 22.1% of statements 03:11:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.138s coverage: 95.8% of statements 03:11:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 11.4% of statements 03:11:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 03:11:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:11:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.166s coverage: 36.9% of statements 03:11:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:11:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.441s coverage: 65.2% of statements 03:11:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:11:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:11:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:11:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements 03:11:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements 03:11:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:11:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:11:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:11:48 gofmt -l . 03:11:48 [ "`gofmt -l .`" = "" ] 03:11:49 ./bin/test-attribution-txt.sh 03:11:50 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:11:51 Stashed 1 file(s) [Pipeline] } 03:11:51 $ docker stop --time=1 71e743b214bfa1fb676814872153c149ec1140de0fe0619a9c9a58da8a2e3bd5 03:11:53 $ docker rm -f 71e743b214bfa1fb676814872153c149ec1140de0fe0619a9c9a58da8a2e3bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:11:56 + ls -al . 03:11:56 total 228 03:11:56 drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 03:11 . 03:11:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 03:09 .. 03:11:56 -rw-rw-r-- 1 jenkins jenkins 140 Jul 21 03:09 .dockerignore 03:11:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 03:09 .git 03:11:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 03:09 .github 03:11:56 -rw-rw-r-- 1 jenkins jenkins 138 Jul 21 03:09 .gitignore 03:11:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 03:09 .semver 03:11:56 -rw-rw-r-- 1 jenkins jenkins 936 Jul 21 03:09 Dockerfile.build 03:11:56 -rw-rw-r-- 1 jenkins jenkins 808 Jul 21 03:09 Jenkinsfile 03:11:56 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 21 03:09 LICENSE 03:11:56 -rw-rw-r-- 1 jenkins jenkins 892 Jul 21 03:09 Makefile 03:11:56 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 21 03:09 README.md 03:11:56 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 21 03:09 RELEASE-NOTES.txt 03:11:56 -rw-rw-r-- 1 jenkins jenkins 11 Jul 21 03:07 VERSION 03:11:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 03:09 api 03:11:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 03:09 bin 03:11:56 -rw-r--r-- 1 jenkins jenkins 110877 Jul 21 03:11 coverage.out 03:11:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 03:09 example 03:11:56 -rw-r--r-- 1 jenkins jenkins 446 Jul 21 03:11 go.mod 03:11:56 -rw-r--r-- 1 jenkins jenkins 12179 Jul 21 03:11 go.sum 03:11:56 drwxrwxr-x 13 jenkins jenkins 4096 Jul 21 03:09 internal 03:11:56 drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 03:09 pkg 03:11:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 03:09 snap 03:11:56 -rw-rw-r-- 1 jenkins jenkins 222 Jul 21 03:09 version.go [Pipeline] isUnix [Pipeline] sh 03:11:56 + 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=f17d1be1b4849550bf30592997a90b8c252fbe34 --label arch=arm64 --label version=1.2.3-dev.6 . 03:11:57 Sending build context to Docker daemon 3.241MB 03:11:57 Step 1/23 : ARG BASE=golang:1.13-alpine 03:11:57 Step 2/23 : FROM ${BASE} AS builder 03:11:57 ---> 2012acee6038 03:11:57 Step 3/23 : ARG MAKE='make build' 03:11:57 ---> Running in 9a4a11a754f9 03:11:58 Removing intermediate container 9a4a11a754f9 03:11:58 ---> 43f751bd426e 03:11:58 Step 4/23 : WORKDIR /device-sdk-go 03:11:58 ---> Running in 25ccf1b6a729 03:11:58 Removing intermediate container 25ccf1b6a729 03:11:58 ---> a0e19da2d833 03:11:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:11:58 ---> Running in d1349b26f68d 03:11:59 Removing intermediate container d1349b26f68d 03:11:59 ---> f1bcce4a58bd 03:11:59 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:11:59 ---> Running in dd2435a332f4 03:12:01 Removing intermediate container dd2435a332f4 03:12:01 ---> 0e7344f8fc50 03:12:01 Step 7/23 : RUN apk add --update --no-cache make git 03:12:01 ---> Running in d08ed4cb9cfc 03:12:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:12:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:12:06 OK: 142 MiB in 39 packages 03:12:07 Removing intermediate container d08ed4cb9cfc 03:12:07 ---> 3202a6bf74af 03:12:07 Step 8/23 : COPY . . 03:12:08 ---> 645ee07a2ff1 03:12:08 Step 9/23 : RUN ${MAKE} 03:12:08 ---> Running in 7e97b03ff738 03:12:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:12:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:12:35 Removing intermediate container 7e97b03ff738 03:12:35 ---> e4fc01336db9 03:12:35 Step 10/23 : FROM scratch 03:12:35 ---> 03:12:35 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:12:35 ---> Running in b8ed844d8bed 03:12:35 Removing intermediate container b8ed844d8bed 03:12:35 ---> 7a358d7e427c 03:12:35 Step 12/23 : ENV APP_PORT=49990 03:12:35 ---> Running in 28b7c490dd87 03:12:36 Removing intermediate container 28b7c490dd87 03:12:36 ---> ea7be1a2fd7e 03:12:36 Step 13/23 : EXPOSE $APP_PORT 03:12:36 ---> Running in 26a4e78504dd 03:12:36 Removing intermediate container 26a4e78504dd 03:12:36 ---> 6f325024f2fd 03:12:36 Step 14/23 : WORKDIR / 03:12:36 ---> Running in a9f8b6ee23b4 03:12:37 Removing intermediate container a9f8b6ee23b4 03:12:37 ---> e3a260238945 03:12:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:12:38 ---> c21b0527f12d 03:12:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:12:39 ---> a6c0fae56786 03:12:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:12:39 ---> 0f9c34bbf5ba 03:12:39 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:12:40 ---> 54ab71d966c9 03:12:40 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:12:41 ---> 977b0af7cca1 03:12:41 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:12:41 ---> Running in edf7568a70ef 03:12:41 Removing intermediate container edf7568a70ef 03:12:41 ---> 53c93c28b160 03:12:41 Step 21/23 : LABEL arch=arm64 03:12:41 ---> Running in 6f514b90b4bd 03:12:42 Removing intermediate container 6f514b90b4bd 03:12:42 ---> 8a2a31b05ac3 03:12:42 Step 22/23 : LABEL git_sha=f17d1be1b4849550bf30592997a90b8c252fbe34 03:12:42 ---> Running in 65584bc66bc8 03:12:43 Removing intermediate container 65584bc66bc8 03:12:43 ---> d98dab6670d5 03:12:43 Step 23/23 : LABEL version=1.2.3-dev.6 03:12:43 ---> Running in afff6f269a1b 03:12:43 Removing intermediate container afff6f269a1b 03:12:43 ---> 5a2be7a71547 03:12:43 [Warning] One or more build-args [ARCH] were not consumed 03:12:43 Successfully built 5a2be7a71547 03:12:43 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:12:49 Running on prd-centos7-docker-4c-2g-383 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 03:12:49 Running in /w/workspace/device-sdk-go/50 [Pipeline] { [Pipeline] checkout 03:12:56 using credential edgex-jenkins-ssh 03:12:56 Cloning the remote Git repository 03:12:56 Cloning with configured refspecs honoured and without tags 03:12:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:12:57 > git init /w/workspace/device-sdk-go/50 # timeout=10 03:12:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:12:57 > git --version # timeout=10 03:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:12:58 Fetching without tags 03:12:59 Checking out Revision f17d1be1b4849550bf30592997a90b8c252fbe34 (master) 03:12:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:12:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:12:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:12:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:12:58 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:12:59 > git config core.sparsecheckout # timeout=10 03:12:59 > git checkout -f f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 03:13:02 Commit message: "Merge pull request #556 from hahattan/issue-554" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:13:04 ========================================================= 03:13:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:13:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:13:04 + 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 . 03:13:05 Sending build context to Docker daemon 3.113MB 03:13:05 Step 1/8 : ARG BASE=golang:1.13-alpine 03:13:05 Step 2/8 : FROM ${BASE} 03:13:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:13:06 df20fa9351a1: Pulling fs layer 03:13:06 ed8968b2872e: Pulling fs layer 03:13:06 a92cc7c5fd73: Pulling fs layer 03:13:06 2dd03ba5bac4: Pulling fs layer 03:13:06 1e091d79d1de: Pulling fs layer 03:13:06 481702a1767f: Pulling fs layer 03:13:06 f64a6f60c768: Pulling fs layer 03:13:06 e78d2573fc39: Pulling fs layer 03:13:06 e876d2f968b6: Pulling fs layer 03:13:06 ce8a83651883: Pulling fs layer 03:13:06 07967f4d0e4b: Pulling fs layer 03:13:06 481702a1767f: Waiting 03:13:06 f64a6f60c768: Waiting 03:13:06 e78d2573fc39: Waiting 03:13:06 2dd03ba5bac4: Waiting 03:13:06 1e091d79d1de: Waiting 03:13:06 e876d2f968b6: Waiting 03:13:06 ce8a83651883: Waiting 03:13:06 07967f4d0e4b: Waiting 03:13:06 a92cc7c5fd73: Verifying Checksum 03:13:06 a92cc7c5fd73: Download complete 03:13:06 ed8968b2872e: Download complete 03:13:06 1e091d79d1de: Download complete 03:13:06 481702a1767f: Verifying Checksum 03:13:06 481702a1767f: Download complete 03:13:06 df20fa9351a1: Verifying Checksum 03:13:06 df20fa9351a1: Download complete 03:13:06 df20fa9351a1: Pull complete 03:13:07 f64a6f60c768: Verifying Checksum 03:13:07 f64a6f60c768: Download complete 03:13:07 e876d2f968b6: Verifying Checksum 03:13:07 e876d2f968b6: Download complete 03:13:08 ed8968b2872e: Pull complete 03:13:08 2dd03ba5bac4: Verifying Checksum 03:13:08 2dd03ba5bac4: Download complete 03:13:08 07967f4d0e4b: Verifying Checksum 03:13:08 07967f4d0e4b: Download complete 03:13:09 e78d2573fc39: Verifying Checksum 03:13:09 e78d2573fc39: Download complete 03:13:09 ce8a83651883: Verifying Checksum 03:13:09 ce8a83651883: Download complete 03:13:09 a92cc7c5fd73: Pull complete 03:13:19 2dd03ba5bac4: Pull complete 03:13:19 1e091d79d1de: Pull complete 03:13:19 481702a1767f: Pull complete 03:13:26 f64a6f60c768: Pull complete 03:13:30 e78d2573fc39: Pull complete 03:13:30 e876d2f968b6: Pull complete 03:13:32 ce8a83651883: Pull complete 03:13:33 07967f4d0e4b: Pull complete 03:13:33 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:13:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:13:33 ---> 5d7c900382c6 03:13:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:13:34 ---> Running in a8cbb11c1bbf 03:13:34 Removing intermediate container a8cbb11c1bbf 03:13:34 ---> d49748277161 03:13:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:13:34 ---> Running in 7fdc565ffd3b 03:13:36 Removing intermediate container 7fdc565ffd3b 03:13:36 ---> 29a601df1f29 03:13:36 Step 5/8 : RUN apk add --no-cache make git 03:13:36 ---> Running in 97f4274f6c4a 03:13:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:13:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:13:39 OK: 166 MiB in 39 packages 03:13:39 Removing intermediate container 97f4274f6c4a 03:13:39 ---> 0d5b663aa638 03:13:39 Step 6/8 : WORKDIR /device-sdk-go 03:13:39 ---> Running in 39b4bc6590cd 03:13:40 Removing intermediate container 39b4bc6590cd 03:13:40 ---> 49aa4e10d9ed 03:13:40 Step 7/8 : COPY . . 03:13:41 ---> c0a37d0c0d38 03:13:41 Step 8/8 : RUN go mod download 03:13:41 ---> Running in 75d70c8f52b5 03:13:44 go: finding github.com/BurntSushi/toml v0.3.1 03:13:44 go: finding github.com/OneOfOne/xxhash v1.2.6 03:13:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:13:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:13:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:13:44 go: finding github.com/bgentry/speakeasy v0.1.0 03:13:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:13:44 go: finding github.com/davecgh/go-spew v1.1.1 03:13:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:13:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:13:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:13:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:13:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:13:44 go: finding github.com/fatih/color v1.7.0 03:13:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:13:44 go: finding github.com/go-kit/kit v0.8.0 03:13:44 go: finding github.com/go-logfmt/logfmt v0.4.0 03:13:44 go: finding github.com/go-stack/stack v1.8.0 03:13:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:13:44 go: finding github.com/google/uuid v1.1.0 03:13:44 go: finding github.com/gorilla/mux v1.7.1 03:13:44 go: finding github.com/hashicorp/consul/api v1.1.0 03:13:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:13:44 go: finding github.com/hashicorp/errwrap v1.0.0 03:13:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:13:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:13:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:13:44 go: finding github.com/hashicorp/go-multierror v1.0.0 03:13:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:13:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:13:44 go: finding github.com/hashicorp/go-syslog v1.0.0 03:13:44 go: finding github.com/hashicorp/go-uuid v1.0.1 03:13:44 go: finding github.com/hashicorp/go.net v0.0.1 03:13:44 go: finding github.com/hashicorp/golang-lru v0.5.0 03:13:44 go: finding github.com/hashicorp/logutils v1.0.0 03:13:44 go: finding github.com/hashicorp/mdns v1.0.0 03:13:44 go: finding github.com/hashicorp/memberlist v0.1.3 03:13:44 go: finding github.com/hashicorp/serf v0.8.2 03:13:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:13:44 go: finding github.com/mattn/go-colorable v0.0.9 03:13:44 go: finding github.com/mattn/go-isatty v0.0.3 03:13:44 go: finding github.com/miekg/dns v1.0.14 03:13:44 go: finding github.com/mitchellh/cli v1.0.0 03:13:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:13:44 go: finding github.com/mitchellh/copystructure v1.0.0 03:13:44 go: finding github.com/mitchellh/go-homedir v1.0.0 03:13:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:13:44 go: finding github.com/mitchellh/gox v0.4.0 03:13:44 go: finding github.com/mitchellh/iochan v1.0.0 03:13:44 go: finding github.com/mitchellh/mapstructure v1.1.2 03:13:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:13:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:13:45 go: finding github.com/pelletier/go-toml v1.2.0 03:13:45 go: finding github.com/pkg/errors v0.8.1 03:13:45 go: finding github.com/pmezard/go-difflib v1.0.0 03:13:45 go: finding github.com/posener/complete v1.1.1 03:13:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:13:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:13:45 go: finding github.com/stretchr/objx v0.1.0 03:13:45 go: finding github.com/stretchr/testify v1.5.1 03:13:45 go: finding github.com/ugorji/go v1.1.4 03:13:45 go: finding github.com/x448/float16 v0.8.4 03:13:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:13:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:13:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:13:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:13:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:13:45 go: finding gopkg.in/yaml.v2 v2.2.8 03:13:53 Removing intermediate container 75d70c8f52b5 03:13:53 ---> 219f69833711 03:13:53 Successfully built 219f69833711 03:13:53 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 03:13:54 + docker inspect -f . ci-base-image-x86_64 03:13:54 . [Pipeline] withDockerContainer 03:13:54 prd-centos7-docker-4c-2g-383 does not seem to be running inside a container 03:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/50 -v /w/workspace/device-sdk-go/50:/w/workspace/device-sdk-go/50:rw,z -v /w/workspace/device-sdk-go/50@tmp:/w/workspace/device-sdk-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:13:56 $ docker top 0703e19e99d40a8f0ee3718dc78a1f3ad52b2a89472e699ae2168b7dbf8c11b2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:56 + go version 03:13:56 go version go1.13.13 linux/amd64 [Pipeline] sh 03:13:57 + make test 03:13:57 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:13:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:14:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:14:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:14:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:14:15 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements 03:14:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.121s coverage: 95.8% of statements 03:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.081s coverage: 11.4% of statements 03:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.029s coverage: 21.7% of statements 03:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.085s coverage: 36.9% of statements 03:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.458s coverage: 65.2% of statements 03:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:14:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:14:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.031s coverage: 52.6% of statements 03:14:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.129s coverage: 68.9% of statements 03:14:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:14:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:14:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:14:51 gofmt -l . 03:14:51 [ "`gofmt -l .`" = "" ] 03:14:51 ./bin/test-attribution-txt.sh 03:14:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:14:54 Warning: overwriting stash ‘coverage-report’ 03:14:55 Stashed 1 file(s) [Pipeline] } 03:14:55 $ docker stop --time=1 0703e19e99d40a8f0ee3718dc78a1f3ad52b2a89472e699ae2168b7dbf8c11b2 03:14:56 $ docker rm -f 0703e19e99d40a8f0ee3718dc78a1f3ad52b2a89472e699ae2168b7dbf8c11b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:14:57 + ls -al . 03:14:57 total 188 03:14:57 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 21 03:14 . 03:14:57 drwxrwxr-x. 4 jenkins jenkins 30 Jul 21 03:12 .. 03:14:57 drwxrwxr-x. 3 jenkins jenkins 20 Jul 21 03:12 api 03:14:57 drwxrwxr-x. 2 jenkins jenkins 64 Jul 21 03:12 bin 03:14:57 -rw-r--r--. 1 jenkins jenkins 110877 Jul 21 03:14 coverage.out 03:14:57 -rw-rw-r--. 1 jenkins jenkins 936 Jul 21 03:12 Dockerfile.build 03:14:57 -rw-rw-r--. 1 jenkins jenkins 140 Jul 21 03:12 .dockerignore 03:14:57 drwxrwxr-x. 4 jenkins jenkins 48 Jul 21 03:12 example 03:14:57 drwxrwxr-x. 8 jenkins jenkins 162 Jul 21 03:13 .git 03:14:57 drwxrwxr-x. 2 jenkins jenkins 38 Jul 21 03:12 .github 03:14:57 -rw-rw-r--. 1 jenkins jenkins 138 Jul 21 03:12 .gitignore 03:14:57 -rw-r--r--. 1 jenkins jenkins 446 Jul 21 03:14 go.mod 03:14:57 -rw-r--r--. 1 jenkins jenkins 12179 Jul 21 03:14 go.sum 03:14:57 drwxrwxr-x. 13 jenkins jenkins 184 Jul 21 03:12 internal 03:14:57 -rw-rw-r--. 1 jenkins jenkins 808 Jul 21 03:12 Jenkinsfile 03:14:57 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 21 03:12 LICENSE 03:14:57 -rw-rw-r--. 1 jenkins jenkins 892 Jul 21 03:12 Makefile 03:14:57 drwxrwxr-x. 5 jenkins jenkins 50 Jul 21 03:12 pkg 03:14:57 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 21 03:12 README.md 03:14:57 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 21 03:12 RELEASE-NOTES.txt 03:14:57 drwxrwxr-x. 3 jenkins jenkins 44 Jul 21 03:13 .semver 03:14:57 drwxrwxr-x. 4 jenkins jenkins 54 Jul 21 03:12 snap 03:14:57 -rw-rw-r--. 1 jenkins jenkins 11 Jul 21 03:07 VERSION 03:14:57 -rw-rw-r--. 1 jenkins jenkins 222 Jul 21 03:12 version.go [Pipeline] isUnix [Pipeline] sh 03:14:58 + 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=f17d1be1b4849550bf30592997a90b8c252fbe34 --label arch=amd64 --label version=1.2.3-dev.6 . 03:14:58 Sending build context to Docker daemon 3.241MB 03:14:58 Step 1/23 : ARG BASE=golang:1.13-alpine 03:14:58 Step 2/23 : FROM ${BASE} AS builder 03:14:58 ---> 219f69833711 03:14:58 Step 3/23 : ARG MAKE='make build' 03:14:58 ---> Running in ad4361acc0af 03:14:58 Removing intermediate container ad4361acc0af 03:14:58 ---> 2d67f75449cc 03:14:58 Step 4/23 : WORKDIR /device-sdk-go 03:14:58 ---> Running in 82c1f5e7636a 03:14:59 Removing intermediate container 82c1f5e7636a 03:14:59 ---> 78a8fe374eec 03:14:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:14:59 ---> Running in 6adfbe29abba 03:14:59 Removing intermediate container 6adfbe29abba 03:14:59 ---> 689250690b20 03:14:59 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:14:59 ---> Running in 19768811f087 03:15:00 Removing intermediate container 19768811f087 03:15:00 ---> 85244a3d1eea 03:15:00 Step 7/23 : RUN apk add --update --no-cache make git 03:15:00 ---> Running in 80bda366c4bc 03:15:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:15:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:15:03 OK: 166 MiB in 39 packages 03:15:03 Removing intermediate container 80bda366c4bc 03:15:03 ---> 7a7637254b35 03:15:03 Step 8/23 : COPY . . 03:15:05 ---> 379544c57a81 03:15:05 Step 9/23 : RUN ${MAKE} 03:15:05 ---> Running in 453b0357407c 03:15:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:15:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:15:23 Removing intermediate container 453b0357407c 03:15:23 ---> d8be90096d6b 03:15:23 Step 10/23 : FROM scratch 03:15:23 ---> 03:15:23 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:15:23 ---> Running in a245444883c1 03:15:23 Removing intermediate container a245444883c1 03:15:23 ---> 910b3cc44899 03:15:23 Step 12/23 : ENV APP_PORT=49990 03:15:23 ---> Running in 9486c55d4d0d 03:15:23 Removing intermediate container 9486c55d4d0d 03:15:23 ---> a017c9e982df 03:15:23 Step 13/23 : EXPOSE $APP_PORT 03:15:23 ---> Running in 9b9ac9f92615 03:15:24 Removing intermediate container 9b9ac9f92615 03:15:24 ---> 5d47c7585fb1 03:15:24 Step 14/23 : WORKDIR / 03:15:24 ---> Running in fb4579376de0 03:15:24 Removing intermediate container fb4579376de0 03:15:24 ---> dcd8e5730544 03:15:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:15:25 ---> 737f8ca3c31e 03:15:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:15:25 ---> a408c46a533b 03:15:25 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:15:25 ---> eb4db55282c1 03:15:25 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:15:26 ---> e78e85a7a732 03:15:26 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:15:26 ---> 2d457a5460a4 03:15:26 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:15:27 ---> Running in 82b3fb3cd281 03:15:27 Removing intermediate container 82b3fb3cd281 03:15:27 ---> 0c702f4ede4e 03:15:27 Step 21/23 : LABEL arch=amd64 03:15:27 ---> Running in 557b6b3ab2d5 03:15:27 Removing intermediate container 557b6b3ab2d5 03:15:27 ---> 692f7a5cc5b0 03:15:27 Step 22/23 : LABEL git_sha=f17d1be1b4849550bf30592997a90b8c252fbe34 03:15:27 ---> Running in 695c23133cdc 03:15:27 Removing intermediate container 695c23133cdc 03:15:27 ---> b3c3940c21c2 03:15:27 Step 23/23 : LABEL version=1.2.3-dev.6 03:15:27 ---> Running in 9a01ceedeb9d 03:15:28 Removing intermediate container 9a01ceedeb9d 03:15:28 ---> 851e6c3ce810 03:15:28 [Warning] One or more build-args [ARCH] were not consumed 03:15:28 Successfully built 851e6c3ce810 03:15:28 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 03:15:29 provisioning config files... 03:15:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1830995677784641033tmp [Pipeline] { [Pipeline] sh 03:15:29 + curl -s https://codecov.io/bash 03:15:29 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1830995677784641033tmp [Pipeline] } 03:15:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 03:15:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 03:15:30 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 03:15:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:15:30 03:15:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 03:15:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:15:31 1.317.0: Pulling from edgex-devops/edgex-snyk-go 03:15:31 cbdbe7a5bc2a: Pulling fs layer 03:15:31 408f87550127: Pulling fs layer 03:15:31 fe522b08c979: Pulling fs layer 03:15:31 221eaa008020: Pulling fs layer 03:15:31 2a4607e5d6b9: Pulling fs layer 03:15:31 8f79b27c4fd2: Pulling fs layer 03:15:31 e5c8dbe1645b: Pulling fs layer 03:15:31 23e8b3b47431: Pulling fs layer 03:15:31 5c568d65a230: Pulling fs layer 03:15:31 8f79b27c4fd2: Waiting 03:15:31 e5c8dbe1645b: Waiting 03:15:31 23e8b3b47431: Waiting 03:15:31 5c568d65a230: Waiting 03:15:31 221eaa008020: Waiting 03:15:31 2a4607e5d6b9: Waiting 03:15:31 fe522b08c979: Verifying Checksum 03:15:31 fe522b08c979: Download complete 03:15:31 408f87550127: Download complete 03:15:31 2a4607e5d6b9: Verifying Checksum 03:15:31 2a4607e5d6b9: Download complete 03:15:31 8f79b27c4fd2: Verifying Checksum 03:15:31 8f79b27c4fd2: Download complete 03:15:31 cbdbe7a5bc2a: Download complete 03:15:31 e5c8dbe1645b: Verifying Checksum 03:15:31 e5c8dbe1645b: Download complete 03:15:31 cbdbe7a5bc2a: Pull complete 03:15:31 23e8b3b47431: Verifying Checksum 03:15:31 23e8b3b47431: Download complete 03:15:31 408f87550127: Pull complete 03:15:31 fe522b08c979: Pull complete 03:15:32 5c568d65a230: Verifying Checksum 03:15:32 5c568d65a230: Download complete 03:15:32 221eaa008020: Verifying Checksum 03:15:32 221eaa008020: Download complete 03:15:37 221eaa008020: Pull complete 03:15:37 2a4607e5d6b9: Pull complete 03:15:37 8f79b27c4fd2: Pull complete 03:15:39 e5c8dbe1645b: Pull complete 03:15:42 23e8b3b47431: Pull complete 03:15:44 5c568d65a230: Pull complete 03:15:44 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 03:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:15:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 03:15:44 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 03:15:45 $ docker top cfbf8a4681f2ebc94defe2714dab8913e30939e5046c02a46fcf461e3b9f8948 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:45 + snyk monitor '--org=edgex-jenkins' 03:15:55 03:15:55 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 03:15:55 03:15:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/15b70fbc-e279-43f1-8426-3f954c8ff6ce 03:15:55 03:15:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:15:55 03:15:55 [Pipeline] } 03:15:55 $ docker stop --time=1 cfbf8a4681f2ebc94defe2714dab8913e30939e5046c02a46fcf461e3b9f8948 03:15:57 $ docker rm -f cfbf8a4681f2ebc94defe2714dab8913e30939e5046c02a46fcf461e3b9f8948 [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 03:15:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:15:58 . [Pipeline] withDockerContainer 03:15:59 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:15:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:15:59 $ docker top f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:00 [ssh-agent] Looking for ssh-agent implementation... 03:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:00 $ docker exec f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed ssh-agent 03:16:00 SSH_AUTH_SOCK=/tmp/ssh-XGs7YKnpY7ci/agent.12 03:16:00 SSH_AGENT_PID=18 03:16:00 Running ssh-add (command line suppressed) 03:16:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2125637656049401590.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2125637656049401590.key) 03:16:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:01 + git semver tag 03:16:01 # -> Open(): unable to determine branch for HEAD 03:16:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 03:16:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 03:16:01 # $SEMVER_REMOTE_NAME = origin 03:16:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:16:01 # $SEMVER_USER_NAME = edgex-jenkins 03:16:01 # $SEMVER_BRANCH = master 03:16:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 03:16:01 # f17d1be1b4849550bf30592997a90b8c252fbe34 HEAD 03:16:01 # -> Force: false 03:16:01 # 28b2e6052af03142039dc63161c6081728aaa5ce refs/tags/v1.2.3-dev.6 [Pipeline] } 03:16:01 $ docker exec --env ******** --env ******** f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed ssh-agent -k 03:16:01 unset SSH_AUTH_SOCK; 03:16:01 unset SSH_AGENT_PID; 03:16:01 echo Agent pid 18 killed; 03:16:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:01 + git semver [Pipeline] } 03:16:01 $ docker stop --time=1 f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed 03:16:03 $ docker rm -f f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:16:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:16:03 03:16:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:16:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:16:03 0.23.1-centos7: Pulling from edgex-lftools 03:16:03 ab5ef0e58194: Pulling fs layer 03:16:03 9712f1f96733: Pulling fs layer 03:16:03 63f879dbbcfc: Pulling fs layer 03:16:03 0d9ebad4ef96: Pulling fs layer 03:16:03 e9a5061849ea: Pulling fs layer 03:16:03 d747dcd14b5f: Pulling fs layer 03:16:03 2de7ff778b66: Pulling fs layer 03:16:03 0d9ebad4ef96: Waiting 03:16:03 e9a5061849ea: Waiting 03:16:03 d747dcd14b5f: Waiting 03:16:03 2de7ff778b66: Waiting 03:16:03 9712f1f96733: Verifying Checksum 03:16:03 9712f1f96733: Download complete 03:16:04 63f879dbbcfc: Verifying Checksum 03:16:04 63f879dbbcfc: Download complete 03:16:04 e9a5061849ea: Verifying Checksum 03:16:04 e9a5061849ea: Download complete 03:16:04 d747dcd14b5f: Verifying Checksum 03:16:04 d747dcd14b5f: Download complete 03:16:05 0d9ebad4ef96: Verifying Checksum 03:16:05 0d9ebad4ef96: Download complete 03:16:05 2de7ff778b66: Verifying Checksum 03:16:05 2de7ff778b66: Download complete 03:16:05 ab5ef0e58194: Verifying Checksum 03:16:05 ab5ef0e58194: Download complete 03:16:09 ab5ef0e58194: Pull complete 03:16:09 9712f1f96733: Pull complete 03:16:11 63f879dbbcfc: Pull complete 03:16:18 0d9ebad4ef96: Pull complete 03:16:20 e9a5061849ea: Pull complete 03:16:20 d747dcd14b5f: Pull complete 03:16:23 2de7ff778b66: Pull complete 03:16:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:16:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:16:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:16:24 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:16:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:16:27 $ docker top dc31a0ce144463c0bd235610cdc74aa126e6604f9d670faa5222d530b7c418d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:16:27 provisioning config files... 03:16:27 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8817456903053478031tmp 03:16:27 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5211045607909859809tmp 03:16:27 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6445176964781910304tmp [Pipeline] { [Pipeline] echo 03:16:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:16:27 ---> sigul-configuration.sh 03:16:27 gpg: directory `/root/.gnupg' created 03:16:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:16:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:16:27 gpg: keyring `/root/.gnupg/secring.gpg' created 03:16:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:16:27 gpg: CAST5 encrypted data 03:16:28 gpg: encrypted with 1 passphrase 03:16:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:16:28 + mkdir /home/jenkins 03:16:28 + mkdir /home/jenkins/sigul [Pipeline] sh 03:16:28 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 03:16:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:16:29 ---> sigul-install.sh 03:16:34 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:16:34 + git tag --list 03:16:34 v1.2.3-dev.6 [Pipeline] sh 03:16:35 + lftools sign git-tag v1.2.3-dev.6 03:16:36 Signing Git tag with Sigul... 03:16:36 Signing v1.2.3-dev.6 [Pipeline] echo 03:16:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:16:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:16:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:16:37 $ docker stop --time=1 dc31a0ce144463c0bd235610cdc74aa126e6604f9d670faa5222d530b7c418d7 03:16:39 $ docker rm -f dc31a0ce144463c0bd235610cdc74aa126e6604f9d670faa5222d530b7c418d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 03:16:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:16:40 . [Pipeline] withDockerContainer 03:16:40 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:16:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:16:40 $ docker top f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:41 [ssh-agent] Looking for ssh-agent implementation... 03:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:41 $ docker exec f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 ssh-agent 03:16:41 SSH_AUTH_SOCK=/tmp/ssh-P4VZHzMrAVaa/agent.11 03:16:41 SSH_AGENT_PID=16 03:16:41 Running ssh-add (command line suppressed) 03:16:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8416734824540568988.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8416734824540568988.key) 03:16:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:41 + git semver bump pre 03:16:41 # -> Open(): unable to determine branch for HEAD 03:16:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 03:16:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 03:16:41 # $SEMVER_REMOTE_NAME = origin 03:16:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:16:41 # $SEMVER_USER_NAME = edgex-jenkins 03:16:41 # $SEMVER_BRANCH = master 03:16:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 03:16:41 1.2.3-dev.7 [Pipeline] } 03:16:41 $ docker exec --env ******** --env ******** f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 ssh-agent -k 03:16:42 unset SSH_AUTH_SOCK; 03:16:42 unset SSH_AGENT_PID; 03:16:42 echo Agent pid 16 killed; 03:16:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:42 + git semver [Pipeline] } 03:16:42 $ docker stop --time=1 f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 03:16:43 $ docker rm -f f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:16:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:16:44 . [Pipeline] withDockerContainer 03:16:44 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:16:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:16:45 $ docker top 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:45 [ssh-agent] Looking for ssh-agent implementation... 03:16:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:45 $ docker exec 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc ssh-agent 03:16:45 SSH_AUTH_SOCK=/tmp/ssh-Fuv5pSUctOyg/agent.11 03:16:45 SSH_AGENT_PID=16 03:16:45 Running ssh-add (command line suppressed) 03:16:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7035526436658662.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7035526436658662.key) 03:16:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:46 + git semver push 03:16:46 # -> Open(): unable to determine branch for HEAD 03:16:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 03:16:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 03:16:46 # $SEMVER_REMOTE_NAME = origin 03:16:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:16:46 # $SEMVER_USER_NAME = edgex-jenkins 03:16:46 # $SEMVER_BRANCH = master 03:16:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 03:16:52 $ docker exec --env ******** --env ******** 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc ssh-agent -k 03:16:53 unset SSH_AUTH_SOCK; 03:16:53 unset SSH_AGENT_PID; 03:16:53 echo Agent pid 16 killed; 03:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:53 + git semver [Pipeline] } 03:16:53 $ docker stop --time=1 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc 03:16:54 $ docker rm -f 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc [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 03:16:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:56 ---> package-listing.sh 03:16:56 ++ facter osfamily 03:16:56 ++ tr '[:upper:]' '[:lower:]' 03:16:56 + OS_FAMILY=redhat 03:16:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 03:16:56 + START_PACKAGES=/tmp/packages_start.txt 03:16:56 + END_PACKAGES=/tmp/packages_end.txt 03:16:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:56 + PACKAGES=/tmp/packages_start.txt 03:16:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 03:16:56 + PACKAGES=/tmp/packages_end.txt 03:16:56 + case "${OS_FAMILY}" in 03:16:56 + rpm -qa 03:16:56 + sort 03:17:00 + '[' -f /tmp/packages_start.txt ']' 03:17:00 + '[' -f /tmp/packages_end.txt ']' 03:17:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 03:17:00 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 03:17:00 + 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 03:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:17:01 03:17:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:17:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:17:01 alpine: Pulling from edgex-lftools-log-publisher 03:17:01 c9b1b535fdd9: Pulling fs layer 03:17:01 2cc5ad85d9ab: Pulling fs layer 03:17:01 756a868c4378: Pulling fs layer 03:17:01 444b2fc9a129: Pulling fs layer 03:17:01 ea15f1150254: Pulling fs layer 03:17:01 41b27a9f41bf: Pulling fs layer 03:17:01 28c525ee5125: Pulling fs layer 03:17:01 094b1ea09ed8: Pulling fs layer 03:17:01 138eaada9080: Pulling fs layer 03:17:01 0622d0fa9048: Pulling fs layer 03:17:01 41b27a9f41bf: Waiting 03:17:01 28c525ee5125: Waiting 03:17:01 094b1ea09ed8: Waiting 03:17:01 138eaada9080: Waiting 03:17:01 0622d0fa9048: Waiting 03:17:01 444b2fc9a129: Waiting 03:17:01 ea15f1150254: Waiting 03:17:01 2cc5ad85d9ab: Download complete 03:17:01 444b2fc9a129: Verifying Checksum 03:17:01 444b2fc9a129: Download complete 03:17:01 c9b1b535fdd9: Verifying Checksum 03:17:01 c9b1b535fdd9: Download complete 03:17:01 ea15f1150254: Verifying Checksum 03:17:01 ea15f1150254: Download complete 03:17:01 28c525ee5125: Verifying Checksum 03:17:01 28c525ee5125: Download complete 03:17:01 756a868c4378: Verifying Checksum 03:17:01 756a868c4378: Download complete 03:17:01 138eaada9080: Verifying Checksum 03:17:01 138eaada9080: Download complete 03:17:01 094b1ea09ed8: Verifying Checksum 03:17:01 094b1ea09ed8: Download complete 03:17:01 0622d0fa9048: Verifying Checksum 03:17:01 0622d0fa9048: Download complete 03:17:02 c9b1b535fdd9: Pull complete 03:17:02 41b27a9f41bf: Verifying Checksum 03:17:02 41b27a9f41bf: Download complete 03:17:02 2cc5ad85d9ab: Pull complete 03:17:03 756a868c4378: Pull complete 03:17:03 444b2fc9a129: Pull complete 03:17:04 ea15f1150254: Pull complete 03:17:07 41b27a9f41bf: Pull complete 03:17:07 28c525ee5125: Pull complete 03:17:10 094b1ea09ed8: Pull complete 03:17:10 138eaada9080: Pull complete 03:17:10 0622d0fa9048: Pull complete 03:17:10 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:17:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:17:10 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 03:17:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:17:13 $ docker top 05e5bcf8092bb7052a639afc960f97112922ca7e031295d21d30e50e196a1f2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:13 provisioning config files... 03:17:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5982408891857831012tmp [Pipeline] { [Pipeline] echo 03:17:13 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:17:14 ---> create-netrc.sh [Pipeline] echo 03:17:14 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:17:14 ---> logs-deploy.sh 03:17:14 + ARCHIVE_ARTIFACTS= 03:17:14 + LOGS_SERVER=https://logs.edgexfoundry.org 03:17:14 + '[' https://logs.edgexfoundry.org == None ']' 03:17:14 + NEXUS_URL=https://nexus.edgexfoundry.org 03:17:14 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/50 03:17:14 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/50/ 03:17:14 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/50 /w/workspace/dgexfoundry_device-sdk-go_master 03:17:15 Archives upload complete. 03:17:15 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/50 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/50/