Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 43f76da7d4a1dba45abf65466c274475ddab04f4 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-944’ Running on prd-centos7-docker-4c-2g-946 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 Fetching without tags > 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 43f76da7d4a1dba45abf65466c274475ddab04f4 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 Commit message: "Merge pull request #551 from hahattan/issue-543" > git rev-list --no-walk 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:00:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:00:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:00:38 ========================================================= 15:00:38 EdgeX Global Pipelines Version Info 15:00:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:00:40 ------------------- 15:00:40 stable info: 15:00:40 ------------------- 15:00:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:00:40 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 15:00:40 Message: update stable to v1.0.99 15:00:40 ------------------- 15:00:40 experimental info: 15:00:40 ------------------- 15:00:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:00:40 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 15:00:40 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 15:00:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:00:43 15:00:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:00:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:00:43 latest: Pulling from edgex-devops/git-semver 15:00:43 31603596830f: Pulling fs layer 15:00:43 2a8b12db71e7: Pulling fs layer 15:00:43 6ca5941a6612: Pulling fs layer 15:00:43 ecc8261a40a4: Pulling fs layer 15:00:43 ecc8261a40a4: Waiting 15:00:43 2a8b12db71e7: Verifying Checksum 15:00:43 2a8b12db71e7: Download complete 15:00:43 31603596830f: Verifying Checksum 15:00:43 31603596830f: Download complete 15:00:43 ecc8261a40a4: Verifying Checksum 15:00:43 ecc8261a40a4: Download complete 15:00:43 6ca5941a6612: Verifying Checksum 15:00:43 6ca5941a6612: Download complete 15:00:44 31603596830f: Pull complete 15:00:44 2a8b12db71e7: Pull complete 15:00:44 6ca5941a6612: Pull complete 15:00:44 ecc8261a40a4: Pull complete 15:00:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:00:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:00:45 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:00:45 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:00:47 $ docker top d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:00:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:47 [ssh-agent] Looking for ssh-agent implementation... 15:00:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:47 $ docker exec d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent 15:00:47 SSH_AUTH_SOCK=/tmp/ssh-Were4U3zKbJb/agent.11 15:00:47 SSH_AGENT_PID=16 15:00:47 Running ssh-add (command line suppressed) 15:00:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8616888762803305508.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8616888762803305508.key) 15:00:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:48 + git describe --exact-match --tags HEAD 15:00:48 fatal: No names found, cannot describe anything. [Pipeline] } 15:00:48 $ docker exec --env ******** --env ******** d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent -k 15:00:48 unset SSH_AUTH_SOCK; 15:00:48 unset SSH_AGENT_PID; 15:00:48 echo Agent pid 16 killed; 15:00:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:00:48 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:00:48 This usually means this commit has not been tagged. [Pipeline] sshagent 15:00:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:48 [ssh-agent] Looking for ssh-agent implementation... 15:00:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:49 $ docker exec d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent 15:00:49 SSH_AUTH_SOCK=/tmp/ssh-D2wyCHXbpS7j/agent.47 15:00:49 SSH_AGENT_PID=53 15:00:49 Running ssh-add (command line suppressed) 15:00:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7402495641620453009.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7402495641620453009.key) 15:00:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:49 + git semver init 15:00:49 # -> Open(): unable to determine branch for HEAD 15:00:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 15:00:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 15:00:49 # $SEMVER_REMOTE_NAME = origin 15:00:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:00:49 # $SEMVER_USER_NAME = edgex-jenkins 15:00:49 # $SEMVER_BRANCH = master 15:00:49 # $SEMVER_TEMP = /tmp/semver-461623415 15:00:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:00:50 # '/tmp/semver-461623415' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 15:00:50 # -> Force: false 15:00:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 15:00:50 $ docker exec --env ******** --env ******** d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent -k 15:00:50 unset SSH_AUTH_SOCK; 15:00:50 unset SSH_AGENT_PID; 15:00:50 echo Agent pid 53 killed; 15:00:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:00:50 + git semver [Pipeline] } 15:00:50 $ docker stop --time=1 d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 15:00:52 $ docker rm -f d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:00:53 Stashed 69 file(s) [Pipeline] echo 15:00:53 [edgeXSemver] initialized semver on version 1.2.3-dev.5 [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 15:01:08 Still waiting to schedule task 15:01:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:01:08 Still waiting to schedule task 15:01:08 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:03:36 Running on prd-centos7-docker-4c-2g-947 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 15:03:36 Running in /w/workspace/device-sdk-go/49 [Pipeline] { [Pipeline] checkout 15:03:39 using credential edgex-jenkins-ssh 15:03:39 Cloning the remote Git repository 15:03:39 Cloning with configured refspecs honoured and without tags 15:03:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:03:39 > git init /w/workspace/device-sdk-go/49 # timeout=10 15:03:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:03:39 > git --version # timeout=10 15:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:03:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:03:40 Fetching without tags 15:03:40 Checking out Revision 43f76da7d4a1dba45abf65466c274475ddab04f4 (master) 15:03:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:03:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:03:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:03:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:03:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:03:40 > git config core.sparsecheckout # timeout=10 15:03:40 > git checkout -f 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 15:03:44 Commit message: "Merge pull request #551 from hahattan/issue-543" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:03:45 ========================================================= 15:03:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:03:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:03:45 + 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 . 15:03:46 Sending build context to Docker daemon 3.099MB 15:03:46 Step 1/8 : ARG BASE=golang:1.13-alpine 15:03:46 Step 2/8 : FROM ${BASE} 15:03:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:03:46 e6b0cf9c0882: Pulling fs layer 15:03:46 2848faf0eed1: Pulling fs layer 15:03:46 0f37312ad70f: Pulling fs layer 15:03:46 5788d62ee057: Pulling fs layer 15:03:46 0e6b1d234666: Pulling fs layer 15:03:46 bf5d7aec512f: Pulling fs layer 15:03:46 34c802a77dc8: Pulling fs layer 15:03:46 9eb99e56ec68: Pulling fs layer 15:03:46 27c7a5d97fbd: Pulling fs layer 15:03:46 5c102a31e300: Pulling fs layer 15:03:46 dcfb455df0a1: Pulling fs layer 15:03:46 bf5d7aec512f: Waiting 15:03:46 0e6b1d234666: Waiting 15:03:46 34c802a77dc8: Waiting 15:03:46 9eb99e56ec68: Waiting 15:03:46 dcfb455df0a1: Waiting 15:03:46 27c7a5d97fbd: Waiting 15:03:46 5c102a31e300: Waiting 15:03:46 5788d62ee057: Waiting 15:03:46 0f37312ad70f: Verifying Checksum 15:03:46 0f37312ad70f: Download complete 15:03:46 2848faf0eed1: Verifying Checksum 15:03:46 2848faf0eed1: Download complete 15:03:46 0e6b1d234666: Verifying Checksum 15:03:46 0e6b1d234666: Download complete 15:03:46 bf5d7aec512f: Verifying Checksum 15:03:46 bf5d7aec512f: Download complete 15:03:46 e6b0cf9c0882: Verifying Checksum 15:03:46 e6b0cf9c0882: Download complete 15:03:47 e6b0cf9c0882: Pull complete 15:03:47 34c802a77dc8: Verifying Checksum 15:03:47 34c802a77dc8: Download complete 15:03:47 27c7a5d97fbd: Verifying Checksum 15:03:47 27c7a5d97fbd: Download complete 15:03:47 5c102a31e300: Verifying Checksum 15:03:47 5c102a31e300: Download complete 15:03:47 dcfb455df0a1: Verifying Checksum 15:03:47 dcfb455df0a1: Download complete 15:03:47 9eb99e56ec68: Verifying Checksum 15:03:47 9eb99e56ec68: Download complete 15:03:47 5788d62ee057: Verifying Checksum 15:03:47 5788d62ee057: Download complete 15:03:49 2848faf0eed1: Pull complete 15:03:49 0f37312ad70f: Pull complete 15:03:54 5788d62ee057: Pull complete 15:03:54 0e6b1d234666: Pull complete 15:03:54 bf5d7aec512f: Pull complete 15:03:59 34c802a77dc8: Pull complete 15:04:02 9eb99e56ec68: Pull complete 15:04:02 27c7a5d97fbd: Pull complete 15:04:03 5c102a31e300: Pull complete 15:04:03 dcfb455df0a1: Pull complete 15:04:03 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:04:03 ---> 7c70fe431013 15:04:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:04:05 ---> Running in 1e08710ba060 15:04:05 Removing intermediate container 1e08710ba060 15:04:05 ---> d78169bf8805 15:04:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:04:05 ---> Running in 237685e2ec84 15:04:06 Removing intermediate container 237685e2ec84 15:04:06 ---> 7642a71ebc95 15:04:06 Step 5/8 : RUN apk add --no-cache make git 15:04:06 ---> Running in 80f78af915bf 15:04:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:04:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:04:08 OK: 143 MiB in 39 packages 15:04:08 Removing intermediate container 80f78af915bf 15:04:08 ---> 99ef5dd4758a 15:04:08 Step 6/8 : WORKDIR /device-sdk-go 15:04:08 ---> Running in e927204f5c72 15:04:09 Removing intermediate container e927204f5c72 15:04:09 ---> cf322e1b2eee 15:04:09 Step 7/8 : COPY . . 15:04:10 ---> 2f4eb1d7d316 15:04:10 Step 8/8 : RUN go mod download 15:04:10 ---> Running in 9bc375739d74 15:04:11 go: finding github.com/BurntSushi/toml v0.3.1 15:04:11 go: finding github.com/OneOfOne/xxhash v1.2.6 15:04:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:04:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:04:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:04:12 go: finding github.com/bgentry/speakeasy v0.1.0 15:04:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:04:12 go: finding github.com/davecgh/go-spew v1.1.1 15:04:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 15:04:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:04:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:04:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:04:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:04:12 go: finding github.com/fatih/color v1.7.0 15:04:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:04:12 go: finding github.com/go-kit/kit v0.8.0 15:04:12 go: finding github.com/go-logfmt/logfmt v0.4.0 15:04:12 go: finding github.com/go-stack/stack v1.8.0 15:04:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:04:12 go: finding github.com/google/uuid v1.1.0 15:04:12 go: finding github.com/gorilla/mux v1.7.1 15:04:12 go: finding github.com/hashicorp/consul/api v1.1.0 15:04:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:04:12 go: finding github.com/hashicorp/errwrap v1.0.0 15:04:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:04:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:04:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:04:12 go: finding github.com/hashicorp/go-multierror v1.0.0 15:04:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:04:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:04:12 go: finding github.com/hashicorp/go-syslog v1.0.0 15:04:12 go: finding github.com/hashicorp/go-uuid v1.0.1 15:04:12 go: finding github.com/hashicorp/go.net v0.0.1 15:04:12 go: finding github.com/hashicorp/golang-lru v0.5.0 15:04:12 go: finding github.com/hashicorp/logutils v1.0.0 15:04:12 go: finding github.com/hashicorp/mdns v1.0.0 15:04:12 go: finding github.com/hashicorp/memberlist v0.1.3 15:04:12 go: finding github.com/hashicorp/serf v0.8.2 15:04:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:04:12 go: finding github.com/mattn/go-colorable v0.0.9 15:04:12 go: finding github.com/mattn/go-isatty v0.0.3 15:04:12 go: finding github.com/miekg/dns v1.0.14 15:04:12 go: finding github.com/mitchellh/cli v1.0.0 15:04:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:04:12 go: finding github.com/mitchellh/copystructure v1.0.0 15:04:12 go: finding github.com/mitchellh/go-homedir v1.0.0 15:04:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:04:12 go: finding github.com/mitchellh/gox v0.4.0 15:04:12 go: finding github.com/mitchellh/iochan v1.0.0 15:04:12 go: finding github.com/mitchellh/mapstructure v1.1.2 15:04:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:04:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:04:13 go: finding github.com/pelletier/go-toml v1.2.0 15:04:13 go: finding github.com/pkg/errors v0.8.1 15:04:13 go: finding github.com/pmezard/go-difflib v1.0.0 15:04:13 go: finding github.com/posener/complete v1.1.1 15:04:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:04:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:04:13 go: finding github.com/stretchr/objx v0.1.0 15:04:13 go: finding github.com/stretchr/testify v1.5.1 15:04:13 go: finding github.com/ugorji/go v1.1.4 15:04:13 go: finding github.com/x448/float16 v0.8.4 15:04:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:04:13 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:04:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:04:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:04:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:04:13 go: finding gopkg.in/yaml.v2 v2.2.8 15:04:20 Removing intermediate container 9bc375739d74 15:04:20 ---> 374a7aa349b4 15:04:20 Successfully built 374a7aa349b4 15:04:20 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 15:04:20 + docker inspect -f . ci-base-image-x86_64 15:04:20 . [Pipeline] withDockerContainer 15:04:20 prd-centos7-docker-4c-2g-947 does not seem to be running inside a container 15:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@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 ******** ci-base-image-x86_64 cat 15:04:22 $ docker top 48907bee62b71fd8fde407535ad6575c11a83b68891190d3b04646bd8f50c483 -eo pid,comm [Pipeline] { [Pipeline] sh 15:04:22 + go version 15:04:22 go version go1.13.5 linux/amd64 [Pipeline] sh 15:04:22 + make test 15:04:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:04:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:04:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-948 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 15:04:31 Running in /w/workspace/device-sdk-go/49 [Pipeline] { [Pipeline] checkout 15:04:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:04:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:04:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:04:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.025s coverage: 22.1% of statements 15:04:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements 15:04:35 using credential edgex-jenkins-ssh 15:04:35 Cloning the remote Git repository 15:04:35 Cloning with configured refspecs honoured and without tags 15:04:37 Fetching without tags 15:04:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:04:36 > git init /w/workspace/device-sdk-go/49 # timeout=10 15:04:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:04:36 > git --version # timeout=10 15:04:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:04:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:04:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:04:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:04:37 Checking out Revision 43f76da7d4a1dba45abf65466c274475ddab04f4 (master) 15:04:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:04:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:04:37 > git config core.sparsecheckout # timeout=10 15:04:37 > git checkout -f 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 15:04:42 Commit message: "Merge pull request #551 from hahattan/issue-543" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:04:43 ========================================================= 15:04:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:04:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:04:44 + 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 . 15:04:45 Sending build context to Docker daemon 3.097MB 15:04:45 Step 1/8 : ARG BASE=golang:1.13-alpine 15:04:45 Step 2/8 : FROM ${BASE} 15:04:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:04:45 cde5963f3b93: Pulling fs layer 15:04:45 2a23fa8c16f7: Pulling fs layer 15:04:45 777b28850792: Pulling fs layer 15:04:45 8a11ddd9e578: Pulling fs layer 15:04:45 4cf88f913ddb: Pulling fs layer 15:04:45 1df406cf5192: Pulling fs layer 15:04:45 cd6300453558: Pulling fs layer 15:04:45 b9c365052c96: Pulling fs layer 15:04:45 a2d8cc88f415: Pulling fs layer 15:04:45 ea1d1ca13537: Pulling fs layer 15:04:45 3750a50a1c5e: Pulling fs layer 15:04:45 8a11ddd9e578: Waiting 15:04:45 4cf88f913ddb: Waiting 15:04:45 1df406cf5192: Waiting 15:04:45 cd6300453558: Waiting 15:04:45 b9c365052c96: Waiting 15:04:45 a2d8cc88f415: Waiting 15:04:45 ea1d1ca13537: Waiting 15:04:45 3750a50a1c5e: Waiting 15:04:45 777b28850792: Verifying Checksum 15:04:45 777b28850792: Download complete 15:04:45 2a23fa8c16f7: Verifying Checksum 15:04:45 2a23fa8c16f7: Download complete 15:04:45 4cf88f913ddb: Download complete 15:04:45 1df406cf5192: Download complete 15:04:45 cde5963f3b93: Download complete 15:04:46 cde5963f3b93: Pull complete 15:04:47 2a23fa8c16f7: Pull complete 15:04:47 777b28850792: Pull complete 15:04:48 cd6300453558: Verifying Checksum 15:04:48 cd6300453558: Download complete 15:04:48 a2d8cc88f415: Verifying Checksum 15:04:48 a2d8cc88f415: Download complete 15:04:49 ea1d1ca13537: Verifying Checksum 15:04:49 ea1d1ca13537: Download complete 15:04:49 3750a50a1c5e: Verifying Checksum 15:04:49 3750a50a1c5e: Download complete 15:04:51 b9c365052c96: Verifying Checksum 15:04:51 b9c365052c96: Download complete 15:04:51 8a11ddd9e578: Verifying Checksum 15:04:51 8a11ddd9e578: Download complete 15:05:01 8a11ddd9e578: Pull complete 15:05:01 4cf88f913ddb: Pull complete 15:05:02 1df406cf5192: Pull complete 15:05:06 cd6300453558: Pull complete 15:05:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 11.4% of statements 15:05:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 15:05:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:05:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.091s coverage: 36.9% of statements 15:05:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:05:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.310s coverage: 65.2% of statements 15:05:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:05:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:05:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:05:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements 15:05:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.093s coverage: 68.9% of statements 15:05:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:05:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:05:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:05:06 gofmt -l . 15:05:06 [ "`gofmt -l .`" = "" ] 15:05:06 ./bin/test-attribution-txt.sh 15:05:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:05:08 Stashed 1 file(s) [Pipeline] } 15:05:08 $ docker stop --time=1 48907bee62b71fd8fde407535ad6575c11a83b68891190d3b04646bd8f50c483 15:05:09 $ docker rm -f 48907bee62b71fd8fde407535ad6575c11a83b68891190d3b04646bd8f50c483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:05:10 b9c365052c96: Pull complete 15:05:10 a2d8cc88f415: Pull complete [Pipeline] sh 15:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:05:12 + ls -al . 15:05:12 total 184 15:05:12 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 15:05 . 15:05:12 drwxrwxr-x. 4 jenkins jenkins 30 Jul 16 15:03 .. 15:05:12 drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 15:03 api 15:05:12 drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 15:03 bin 15:05:12 -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 15:05 coverage.out 15:05:12 -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 15:03 Dockerfile.build 15:05:12 -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 15:03 .dockerignore 15:05:12 drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 15:03 example 15:05:12 drwxrwxr-x. 8 jenkins jenkins 162 Jul 16 15:03 .git 15:05:12 drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 15:03 .github 15:05:12 -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 15:03 .gitignore 15:05:12 -rw-r--r--. 1 jenkins jenkins 446 Jul 16 15:05 go.mod 15:05:12 -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 15:05 go.sum 15:05:12 drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 15:03 internal 15:05:12 -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 15:03 Jenkinsfile 15:05:12 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 15:03 LICENSE 15:05:12 -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 15:03 Makefile 15:05:12 drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 15:03 pkg 15:05:12 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 15:03 README.md 15:05:12 -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 15:03 RELEASE-NOTES.txt 15:05:12 drwxrwxr-x. 3 jenkins jenkins 44 Jul 16 15:03 .semver 15:05:12 drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 15:03 snap 15:05:12 -rw-rw-r--. 1 jenkins jenkins 11 Jul 16 15:00 VERSION 15:05:12 -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 15:03 version.go [Pipeline] isUnix [Pipeline] sh 15:05:12 ea1d1ca13537: Pull complete 15:05:12 + 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=43f76da7d4a1dba45abf65466c274475ddab04f4 --label arch=amd64 --label version=1.2.3-dev.5 . 15:05:13 Sending build context to Docker daemon 3.227MB 15:05:13 Step 1/23 : ARG BASE=golang:1.13-alpine 15:05:13 Step 2/23 : FROM ${BASE} AS builder 15:05:13 ---> 374a7aa349b4 15:05:13 Step 3/23 : ARG MAKE='make build' 15:05:13 ---> Running in 2b334e27e15a 15:05:13 3750a50a1c5e: Pull complete 15:05:13 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:05:13 ---> 78745c68409d 15:05:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:05:13 Removing intermediate container 2b334e27e15a 15:05:13 ---> 6a919ac28d0d 15:05:13 Step 4/23 : WORKDIR /device-sdk-go 15:05:13 ---> Running in 17b6991ca915 15:05:14 Removing intermediate container 17b6991ca915 15:05:14 ---> e04b899bdcf8 15:05:14 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:05:14 ---> Running in 058d95298851 15:05:14 Removing intermediate container 058d95298851 15:05:14 ---> beeb3a4c4559 15:05:14 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:14 ---> Running in 9568a239aea9 15:05:15 Removing intermediate container 9568a239aea9 15:05:15 ---> d7f085df76a3 15:05:15 Step 7/23 : RUN apk add --update --no-cache make git 15:05:15 ---> Running in ababb3329e59 15:05:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:05:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:05:17 OK: 143 MiB in 39 packages 15:05:17 Removing intermediate container ababb3329e59 15:05:17 ---> 32429d90a1a0 15:05:17 Step 8/23 : COPY . . 15:05:18 ---> cc640e525b9f 15:05:18 Step 9/23 : RUN ${MAKE} 15:05:18 ---> Running in 6a451ee8601e 15:05:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:05:18 ---> Running in dc6209bc542f 15:05:18 Removing intermediate container dc6209bc542f 15:05:18 ---> 40053afe3acd 15:05:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:18 ---> Running in 155202e2d0b6 15:05:21 Removing intermediate container 155202e2d0b6 15:05:21 ---> 2eb19b81f404 15:05:21 Step 5/8 : RUN apk add --no-cache make git 15:05:21 ---> Running in 81d4d0acf69b 15:05:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:05:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:05:24 OK: 125 MiB in 39 packages 15:05:25 Removing intermediate container 81d4d0acf69b 15:05:25 ---> 5c2d56a7a31c 15:05:25 Step 6/8 : WORKDIR /device-sdk-go 15:05:25 ---> Running in d36d30120e1a 15:05:26 Removing intermediate container d36d30120e1a 15:05:26 ---> 71089fd585ba 15:05:26 Step 7/8 : COPY . . 15:05:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:05:27 ---> 587c71382c1d 15:05:27 Step 8/8 : RUN go mod download 15:05:27 ---> Running in 786876f7000c 15:05:27 Removing intermediate container 6a451ee8601e 15:05:27 ---> aaa8c2d1ce30 15:05:27 Step 10/23 : FROM scratch 15:05:27 ---> 15:05:27 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:05:27 ---> Running in 2dcf026cc258 15:05:27 Removing intermediate container 2dcf026cc258 15:05:27 ---> a4781737c3dc 15:05:27 Step 12/23 : ENV APP_PORT=49990 15:05:28 ---> Running in 8deab8037c45 15:05:28 Removing intermediate container 8deab8037c45 15:05:28 ---> 670954eb4473 15:05:28 Step 13/23 : EXPOSE $APP_PORT 15:05:28 ---> Running in 4b90fe954294 15:05:28 Removing intermediate container 4b90fe954294 15:05:28 ---> 872358233c44 15:05:28 Step 14/23 : WORKDIR / 15:05:28 ---> Running in 0f57625dcb7a 15:05:28 Removing intermediate container 0f57625dcb7a 15:05:28 ---> 2b19896d6997 15:05:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:05:28 ---> 0bf258faa58f 15:05:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:05:29 ---> ed3ea640c64d 15:05:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:05:30 ---> edcb4cfa0e44 15:05:30 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:05:30 go: finding github.com/BurntSushi/toml v0.3.1 15:05:30 go: finding github.com/OneOfOne/xxhash v1.2.6 15:05:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:05:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:05:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:05:30 go: finding github.com/bgentry/speakeasy v0.1.0 15:05:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:05:30 ---> 575c2bb604c3 15:05:30 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:05:30 go: finding github.com/davecgh/go-spew v1.1.1 15:05:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 15:05:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:05:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:05:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:05:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:05:30 go: finding github.com/fatih/color v1.7.0 15:05:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:05:30 go: finding github.com/go-kit/kit v0.8.0 15:05:30 go: finding github.com/go-logfmt/logfmt v0.4.0 15:05:30 ---> 669919ce9ede 15:05:30 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:05:30 ---> Running in 0e757d6f615f 15:05:30 go: finding github.com/go-stack/stack v1.8.0 15:05:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:05:30 go: finding github.com/google/uuid v1.1.0 15:05:30 go: finding github.com/gorilla/mux v1.7.1 15:05:30 go: finding github.com/hashicorp/consul/api v1.1.0 15:05:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:05:30 go: finding github.com/hashicorp/errwrap v1.0.0 15:05:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:05:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:05:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:05:30 go: finding github.com/hashicorp/go-multierror v1.0.0 15:05:30 Removing intermediate container 0e757d6f615f 15:05:30 ---> 046329a80210 15:05:30 Step 21/23 : LABEL arch=amd64 15:05:30 ---> Running in 25233cb5e307 15:05:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:05:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:05:30 go: finding github.com/hashicorp/go-syslog v1.0.0 15:05:30 go: finding github.com/hashicorp/go-uuid v1.0.1 15:05:30 go: finding github.com/hashicorp/go.net v0.0.1 15:05:30 go: finding github.com/hashicorp/golang-lru v0.5.0 15:05:30 go: finding github.com/hashicorp/logutils v1.0.0 15:05:30 go: finding github.com/hashicorp/mdns v1.0.0 15:05:30 go: finding github.com/hashicorp/memberlist v0.1.3 15:05:30 go: finding github.com/hashicorp/serf v0.8.2 15:05:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:05:31 Removing intermediate container 25233cb5e307 15:05:31 ---> 25c377127e7e 15:05:31 Step 22/23 : LABEL git_sha=43f76da7d4a1dba45abf65466c274475ddab04f4 15:05:31 ---> Running in c17218673a08 15:05:31 Removing intermediate container c17218673a08 15:05:31 ---> e52706388930 15:05:31 Step 23/23 : LABEL version=1.2.3-dev.5 15:05:31 go: finding github.com/mattn/go-colorable v0.0.9 15:05:31 go: finding github.com/mattn/go-isatty v0.0.3 15:05:31 go: finding github.com/miekg/dns v1.0.14 15:05:31 go: finding github.com/mitchellh/cli v1.0.0 15:05:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:05:31 go: finding github.com/mitchellh/copystructure v1.0.0 15:05:31 go: finding github.com/mitchellh/go-homedir v1.0.0 15:05:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:05:31 go: finding github.com/mitchellh/gox v0.4.0 15:05:31 go: finding github.com/mitchellh/iochan v1.0.0 15:05:31 go: finding github.com/mitchellh/mapstructure v1.1.2 15:05:31 ---> Running in 015d74ce0dce 15:05:31 Removing intermediate container 015d74ce0dce 15:05:31 ---> 33d24c1bbd62 15:05:31 [Warning] One or more build-args [ARCH] were not consumed 15:05:31 Successfully built 33d24c1bbd62 15:05:31 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script 15:05:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:05:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:05:31 go: finding github.com/pelletier/go-toml v1.2.0 15:05:31 go: finding github.com/pkg/errors v0.8.1 15:05:31 go: finding github.com/pmezard/go-difflib v1.0.0 15:05:31 go: finding github.com/posener/complete v1.1.1 15:05:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:05:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:05:31 go: finding github.com/stretchr/objx v0.1.0 15:05:31 go: finding github.com/stretchr/testify v1.5.1 15:05:31 go: finding github.com/ugorji/go v1.1.4 15:05:31 go: finding github.com/x448/float16 v0.8.4 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 15:05:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:05:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:05:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:05:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:05:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:05:31 go: finding gopkg.in/yaml.v2 v2.2.8 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] } 15:05:41 Removing intermediate container 786876f7000c 15:05:41 ---> 67af716fe6ef 15:05:41 Successfully built 67af716fe6ef 15: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 15:05:42 + docker inspect -f . ci-base-image-arm64 15:05:42 . [Pipeline] withDockerContainer 15:05:43 prd-ubuntu18.04-docker-arm64-4c-16g-948 does not seem to be running inside a container 15:05:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@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 ******** ci-base-image-arm64 cat 15:05:44 $ docker top 4302d76dfcbc98689900230238dda2789f9b6cd80af420c42f2843d959bb2dac -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:46 + go version 15:05:46 go version go1.13.5 linux/arm64 [Pipeline] sh 15:05:47 + make test 15:05:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:05:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:06:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:06:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:06:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 22.1% of statements 15:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.148s coverage: 95.8% of statements 15:06:52 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 11.4% of statements 15:06:52 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements 15:06:52 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:06:52 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.150s coverage: 36.9% of statements 15:06:52 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:06:52 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.572s coverage: 65.2% of statements 15:06:52 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:06:52 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:06:52 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:06:52 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 15:06:52 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.328s coverage: 68.9% of statements 15:06:52 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:06:52 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:06:52 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:06:54 gofmt -l . 15:06:55 [ "`gofmt -l .`" = "" ] 15:06:55 ./bin/test-attribution-txt.sh 15:06:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:06:57 Warning: overwriting stash ‘coverage-report’ 15:06:57 Stashed 1 file(s) [Pipeline] } 15:06:57 $ docker stop --time=1 4302d76dfcbc98689900230238dda2789f9b6cd80af420c42f2843d959bb2dac 15:06:59 $ docker rm -f 4302d76dfcbc98689900230238dda2789f9b6cd80af420c42f2843d959bb2dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:07:00 + ls -al . 15:07:00 total 224 15:07:00 drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 15:06 . 15:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 15:04 .. 15:07:00 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 15:04 .dockerignore 15:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 15:04 .git 15:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 15:04 .github 15:07:00 -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 15:04 .gitignore 15:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 15:04 .semver 15:07:00 -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 15:04 Dockerfile.build 15:07:00 -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 15:04 Jenkinsfile 15:07:00 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 15:04 LICENSE 15:07:00 -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 15:04 Makefile 15:07:00 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 15:04 README.md 15:07:00 -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 15:04 RELEASE-NOTES.txt 15:07:00 -rw-rw-r-- 1 jenkins jenkins 11 Jul 16 15:00 VERSION 15:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 15:04 api 15:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 15:04 bin 15:07:00 -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 15:06 coverage.out 15:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 15:04 example 15:07:00 -rw-r--r-- 1 jenkins jenkins 446 Jul 16 15:06 go.mod 15:07:00 -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 15:06 go.sum 15:07:00 drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 15:04 internal 15:07:00 drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 15:04 pkg 15:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 15:04 snap 15:07:00 -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 15:04 version.go [Pipeline] isUnix [Pipeline] sh 15:07:01 + 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=43f76da7d4a1dba45abf65466c274475ddab04f4 --label arch=arm64 --label version=1.2.3-dev.5 . 15:07:01 Sending build context to Docker daemon 3.225MB 15:07:01 Step 1/23 : ARG BASE=golang:1.13-alpine 15:07:01 Step 2/23 : FROM ${BASE} AS builder 15:07:01 ---> 67af716fe6ef 15:07:01 Step 3/23 : ARG MAKE='make build' 15:07:01 ---> Running in 134da608ac88 15:07:02 Removing intermediate container 134da608ac88 15:07:02 ---> 682a2923c0ed 15:07:02 Step 4/23 : WORKDIR /device-sdk-go 15:07:02 ---> Running in aaa538021cc1 15:07:02 Removing intermediate container aaa538021cc1 15:07:02 ---> 81b638cfc408 15:07:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:07:02 ---> Running in dc813cf6cdf4 15:07:03 Removing intermediate container dc813cf6cdf4 15:07:03 ---> 7f46a51ccd8d 15:07:03 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:07:03 ---> Running in d231ba5e4726 15:07:05 Removing intermediate container d231ba5e4726 15:07:05 ---> 176a680b51de 15:07:05 Step 7/23 : RUN apk add --update --no-cache make git 15:07:06 ---> Running in 9d78ec74ba75 15:07:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:07:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:07:08 OK: 125 MiB in 39 packages 15:07:09 Removing intermediate container 9d78ec74ba75 15:07:09 ---> 8e14b8fc99a9 15:07:09 Step 8/23 : COPY . . 15:07:10 ---> 90efff3d81b6 15:07:10 Step 9/23 : RUN ${MAKE} 15:07:10 ---> Running in f6f87db8b8ef 15:07:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:07:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:07:37 Removing intermediate container f6f87db8b8ef 15:07:37 ---> dbca79b42746 15:07:37 Step 10/23 : FROM scratch 15:07:37 ---> 15:07:37 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:07:37 ---> Running in 8b0a33bf7f3b 15:07:37 Removing intermediate container 8b0a33bf7f3b 15:07:37 ---> 7432d8a010d0 15:07:37 Step 12/23 : ENV APP_PORT=49990 15:07:37 ---> Running in a151a2f67e48 15:07:37 Removing intermediate container a151a2f67e48 15:07:37 ---> 809b8430ce92 15:07:37 Step 13/23 : EXPOSE $APP_PORT 15:07:37 ---> Running in 40292579c94f 15:07:38 Removing intermediate container 40292579c94f 15:07:38 ---> bf4e36521f3d 15:07:38 Step 14/23 : WORKDIR / 15:07:38 ---> Running in eeecad43e954 15:07:38 Removing intermediate container eeecad43e954 15:07:38 ---> a74c1d5aec06 15:07:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:07:39 ---> ff7a19b896b9 15:07:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:07:40 ---> 6b618871a04f 15:07:40 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:07:41 ---> 61fffaf248f4 15:07:41 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:07:41 ---> 4787b0c373c1 15:07:41 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:07:42 ---> 9933b8372e65 15:07:42 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:07:42 ---> Running in 47ac2714b9a9 15:07:43 Removing intermediate container 47ac2714b9a9 15:07:43 ---> 2327d61981e6 15:07:43 Step 21/23 : LABEL arch=arm64 15:07:43 ---> Running in 374034b9c479 15:07:43 Removing intermediate container 374034b9c479 15:07:43 ---> 4febc1250acc 15:07:43 Step 22/23 : LABEL git_sha=43f76da7d4a1dba45abf65466c274475ddab04f4 15:07:44 ---> Running in 8aded9b0b037 15:07:44 Removing intermediate container 8aded9b0b037 15:07:44 ---> 0878cd2e8dc7 15:07:44 Step 23/23 : LABEL version=1.2.3-dev.5 15:07:44 ---> Running in 1a1aa0426988 15:07:45 Removing intermediate container 1a1aa0426988 15:07:45 ---> d2a8c5ed5abd 15:07:45 [Warning] One or more build-args [ARCH] were not consumed 15:07:45 Successfully built d2a8c5ed5abd 15:07:45 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:07:46 provisioning config files... 15:07:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4965869133640645627tmp [Pipeline] { [Pipeline] sh 15:07:46 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4965869133640645627tmp 15:07:46 + curl -s https://codecov.io/bash [Pipeline] } 15:07:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 15:07:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 15:07:47 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 15:07:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:07:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:07:47 15:07:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 15:07:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:07:48 1.317.0: Pulling from edgex-devops/edgex-snyk-go 15:07:48 cbdbe7a5bc2a: Pulling fs layer 15:07:48 408f87550127: Pulling fs layer 15:07:48 fe522b08c979: Pulling fs layer 15:07:48 221eaa008020: Pulling fs layer 15:07:48 2a4607e5d6b9: Pulling fs layer 15:07:48 8f79b27c4fd2: Pulling fs layer 15:07:48 e5c8dbe1645b: Pulling fs layer 15:07:48 23e8b3b47431: Pulling fs layer 15:07:48 5c568d65a230: Pulling fs layer 15:07:48 8f79b27c4fd2: Waiting 15:07:48 221eaa008020: Waiting 15:07:48 5c568d65a230: Waiting 15:07:48 2a4607e5d6b9: Waiting 15:07:48 e5c8dbe1645b: Waiting 15:07:48 fe522b08c979: Verifying Checksum 15:07:48 fe522b08c979: Download complete 15:07:48 2a4607e5d6b9: Verifying Checksum 15:07:48 2a4607e5d6b9: Download complete 15:07:48 8f79b27c4fd2: Verifying Checksum 15:07:48 8f79b27c4fd2: Download complete 15:07:48 cbdbe7a5bc2a: Verifying Checksum 15:07:48 cbdbe7a5bc2a: Download complete 15:07:48 e5c8dbe1645b: Verifying Checksum 15:07:48 e5c8dbe1645b: Download complete 15:07:48 cbdbe7a5bc2a: Pull complete 15:07:49 23e8b3b47431: Verifying Checksum 15:07:49 23e8b3b47431: Download complete 15:07:49 408f87550127: Pull complete 15:07:49 5c568d65a230: Verifying Checksum 15:07:49 5c568d65a230: Download complete 15:07:49 fe522b08c979: Pull complete 15:07:49 221eaa008020: Verifying Checksum 15:07:49 221eaa008020: Download complete 15:07:55 221eaa008020: Pull complete 15:07:55 2a4607e5d6b9: Pull complete 15:07:55 8f79b27c4fd2: Pull complete 15:07:57 e5c8dbe1645b: Pull complete 15:08:00 23e8b3b47431: Pull complete 15:08:01 5c568d65a230: Pull complete 15:08:01 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 15:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:08:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 15:08:01 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:08:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 15:08:02 $ docker top 264bcb3f875b686908355baa36c8dd25f072f297e1da6fc121fbbf6ea7b51251 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:03 + snyk monitor '--org=edgex-jenkins' 15:08:13 15:08:13 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 15:08:13 15:08:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/349bd392-4653-4e46-9f1f-ef8f9639e7ef 15:08:13 15:08:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:08:13 15:08:13 [Pipeline] } 15:08:13 $ docker stop --time=1 264bcb3f875b686908355baa36c8dd25f072f297e1da6fc121fbbf6ea7b51251 15:08:15 $ docker rm -f 264bcb3f875b686908355baa36c8dd25f072f297e1da6fc121fbbf6ea7b51251 [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 15:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:08:16 . [Pipeline] withDockerContainer 15:08:16 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:08:16 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:08:17 $ docker top bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:08:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:18 [ssh-agent] Looking for ssh-agent implementation... 15:08:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:18 $ docker exec bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f ssh-agent 15:08:18 SSH_AUTH_SOCK=/tmp/ssh-ouczSuqT7An8/agent.11 15:08:18 SSH_AGENT_PID=16 15:08:18 Running ssh-add (command line suppressed) 15:08:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7443594561789900682.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7443594561789900682.key) 15:08:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:19 + git semver tag 15:08:19 # -> Open(): unable to determine branch for HEAD 15:08:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 15:08:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 15:08:19 # $SEMVER_REMOTE_NAME = origin 15:08:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:08:19 # $SEMVER_USER_NAME = edgex-jenkins 15:08:19 # $SEMVER_BRANCH = master 15:08:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 15:08:19 # 43f76da7d4a1dba45abf65466c274475ddab04f4 HEAD 15:08:19 # -> Force: false 15:08:19 # e62c4a1052ce990a57970f189d380e33ea2ec2c4 refs/tags/v1.2.3-dev.5 [Pipeline] } 15:08:19 $ docker exec --env ******** --env ******** bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f ssh-agent -k 15:08:19 unset SSH_AUTH_SOCK; 15:08:19 unset SSH_AGENT_PID; 15:08:19 echo Agent pid 16 killed; 15:08:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:08:19 + git semver [Pipeline] } 15:08:19 $ docker stop --time=1 bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f 15:08:21 $ docker rm -f bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:08:21 15:08:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:08:22 0.23.1-centos7: Pulling from edgex-lftools 15:08:22 ab5ef0e58194: Pulling fs layer 15:08:22 9712f1f96733: Pulling fs layer 15:08:22 63f879dbbcfc: Pulling fs layer 15:08:22 0d9ebad4ef96: Pulling fs layer 15:08:22 e9a5061849ea: Pulling fs layer 15:08:22 d747dcd14b5f: Pulling fs layer 15:08:22 2de7ff778b66: Pulling fs layer 15:08:22 e9a5061849ea: Waiting 15:08:22 0d9ebad4ef96: Waiting 15:08:22 d747dcd14b5f: Waiting 15:08:22 2de7ff778b66: Waiting 15:08:22 9712f1f96733: Verifying Checksum 15:08:22 9712f1f96733: Download complete 15:08:22 63f879dbbcfc: Verifying Checksum 15:08:22 63f879dbbcfc: Download complete 15:08:22 e9a5061849ea: Verifying Checksum 15:08:22 e9a5061849ea: Download complete 15:08:22 d747dcd14b5f: Verifying Checksum 15:08:22 d747dcd14b5f: Download complete 15:08:22 0d9ebad4ef96: Verifying Checksum 15:08:22 0d9ebad4ef96: Download complete 15:08:22 2de7ff778b66: Verifying Checksum 15:08:22 2de7ff778b66: Download complete 15:08:22 ab5ef0e58194: Verifying Checksum 15:08:22 ab5ef0e58194: Download complete 15:08:27 ab5ef0e58194: Pull complete 15:08:27 9712f1f96733: Pull complete 15:08:30 63f879dbbcfc: Pull complete 15:08:35 0d9ebad4ef96: Pull complete 15:08:37 e9a5061849ea: Pull complete 15:08:37 d747dcd14b5f: Pull complete 15:08:40 2de7ff778b66: Pull complete 15:08:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:08:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:08:40 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:08:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:08:45 $ docker top f1b701a85de5e14569439edfaa00f1c2982df1fc9d2e33f548dbb7d8d1a30a35 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:08:45 provisioning config files... 15:08:45 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7195473502313656750tmp 15:08:45 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6242445071720394640tmp 15:08:45 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6025917300151258841tmp [Pipeline] { [Pipeline] echo 15:08:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:08:45 ---> sigul-configuration.sh 15:08:45 gpg: directory `/root/.gnupg' created 15:08:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:08:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:08:45 gpg: keyring `/root/.gnupg/secring.gpg' created 15:08:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:08:45 gpg: CAST5 encrypted data 15:08:46 gpg: encrypted with 1 passphrase 15:08:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:08:46 + mkdir /home/jenkins 15:08:46 + mkdir /home/jenkins/sigul [Pipeline] sh 15:08:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 15:08:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:08:46 ---> sigul-install.sh 15:08:52 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:08:52 + git tag --list 15:08:52 v1.2.3-dev.5 [Pipeline] sh 15:08:52 + lftools sign git-tag v1.2.3-dev.5 15:08:54 Signing Git tag with Sigul... 15:08:54 Signing v1.2.3-dev.5 [Pipeline] echo 15:08:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:08:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:08:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:08:55 $ docker stop --time=1 f1b701a85de5e14569439edfaa00f1c2982df1fc9d2e33f548dbb7d8d1a30a35 15:08:57 $ docker rm -f f1b701a85de5e14569439edfaa00f1c2982df1fc9d2e33f548dbb7d8d1a30a35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:08:58 . [Pipeline] withDockerContainer 15:08:58 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:08:58 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:08:58 $ docker top cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:08:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:59 [ssh-agent] Looking for ssh-agent implementation... 15:08:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:59 $ docker exec cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b ssh-agent 15:08:59 SSH_AUTH_SOCK=/tmp/ssh-C3xfipClGsiI/agent.12 15:08:59 SSH_AGENT_PID=18 15:08:59 Running ssh-add (command line suppressed) 15:08:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6500584455489852574.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6500584455489852574.key) 15:08:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:59 + git semver bump pre 15:08:59 # -> Open(): unable to determine branch for HEAD 15:08:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 15:08:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 15:08:59 # $SEMVER_REMOTE_NAME = origin 15:08:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:08:59 # $SEMVER_USER_NAME = edgex-jenkins 15:08:59 # $SEMVER_BRANCH = master 15:08:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 15:08:59 1.2.3-dev.6 [Pipeline] } 15:08:59 $ docker exec --env ******** --env ******** cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b ssh-agent -k 15:09:00 unset SSH_AUTH_SOCK; 15:09:00 unset SSH_AGENT_PID; 15:09:00 echo Agent pid 18 killed; 15:09:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:00 + git semver [Pipeline] } 15:09:00 $ docker stop --time=1 cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b 15:09:01 $ docker rm -f cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:02 . [Pipeline] withDockerContainer 15:09:02 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:09:02 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:09:03 $ docker top e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:09:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:03 [ssh-agent] Looking for ssh-agent implementation... 15:09:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:03 $ docker exec e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a ssh-agent 15:09:03 SSH_AUTH_SOCK=/tmp/ssh-LAhFGrOdEXOq/agent.11 15:09:03 SSH_AGENT_PID=17 15:09:03 Running ssh-add (command line suppressed) 15:09:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6021724029867966821.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6021724029867966821.key) 15:09:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:04 + git semver push 15:09:04 # -> Open(): unable to determine branch for HEAD 15:09:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 15:09:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 15:09:04 # $SEMVER_REMOTE_NAME = origin 15:09:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:09:04 # $SEMVER_USER_NAME = edgex-jenkins 15:09:04 # $SEMVER_BRANCH = master 15:09:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 15:09:12 $ docker exec --env ******** --env ******** e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a ssh-agent -k 15:09:12 unset SSH_AUTH_SOCK; 15:09:12 unset SSH_AGENT_PID; 15:09:12 echo Agent pid 17 killed; 15:09:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:13 + git semver [Pipeline] } 15:09:13 $ docker stop --time=1 e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a 15:09:14 $ docker rm -f e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a [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 15:09:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:09:15 ---> package-listing.sh 15:09:15 ++ facter osfamily 15:09:15 ++ tr '[:upper:]' '[:lower:]' 15:09:15 + OS_FAMILY=redhat 15:09:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 15:09:15 + START_PACKAGES=/tmp/packages_start.txt 15:09:15 + END_PACKAGES=/tmp/packages_end.txt 15:09:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:09:15 + PACKAGES=/tmp/packages_start.txt 15:09:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 15:09:15 + PACKAGES=/tmp/packages_end.txt 15:09:15 + case "${OS_FAMILY}" in 15:09:15 + rpm -qa 15:09:15 + sort 15:09:20 + '[' -f /tmp/packages_start.txt ']' 15:09:20 + '[' -f /tmp/packages_end.txt ']' 15:09:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:09:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 15:09:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 15:09:20 + 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 15:09:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:09:20 15:09:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:09:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:09:21 alpine: Pulling from edgex-lftools-log-publisher 15:09:21 c9b1b535fdd9: Pulling fs layer 15:09:21 2cc5ad85d9ab: Pulling fs layer 15:09:21 756a868c4378: Pulling fs layer 15:09:21 444b2fc9a129: Pulling fs layer 15:09:21 ea15f1150254: Pulling fs layer 15:09:21 41b27a9f41bf: Pulling fs layer 15:09:21 28c525ee5125: Pulling fs layer 15:09:21 094b1ea09ed8: Pulling fs layer 15:09:21 138eaada9080: Pulling fs layer 15:09:21 0622d0fa9048: Pulling fs layer 15:09:21 ea15f1150254: Waiting 15:09:21 41b27a9f41bf: Waiting 15:09:21 28c525ee5125: Waiting 15:09:21 138eaada9080: Waiting 15:09:21 094b1ea09ed8: Waiting 15:09:21 0622d0fa9048: Waiting 15:09:21 444b2fc9a129: Waiting 15:09:21 2cc5ad85d9ab: Verifying Checksum 15:09:21 2cc5ad85d9ab: Download complete 15:09:21 444b2fc9a129: Verifying Checksum 15:09:21 444b2fc9a129: Download complete 15:09:21 c9b1b535fdd9: Verifying Checksum 15:09:21 c9b1b535fdd9: Download complete 15:09:21 ea15f1150254: Download complete 15:09:21 28c525ee5125: Verifying Checksum 15:09:21 28c525ee5125: Download complete 15:09:21 756a868c4378: Verifying Checksum 15:09:21 756a868c4378: Download complete 15:09:21 138eaada9080: Verifying Checksum 15:09:21 138eaada9080: Download complete 15:09:21 0622d0fa9048: Verifying Checksum 15:09:21 0622d0fa9048: Download complete 15:09:21 094b1ea09ed8: Verifying Checksum 15:09:21 094b1ea09ed8: Download complete 15:09:22 41b27a9f41bf: Verifying Checksum 15:09:22 41b27a9f41bf: Download complete 15:09:22 c9b1b535fdd9: Pull complete 15:09:22 2cc5ad85d9ab: Pull complete 15:09:24 756a868c4378: Pull complete 15:09:24 444b2fc9a129: Pull complete 15:09:24 ea15f1150254: Pull complete 15:09:27 41b27a9f41bf: Pull complete 15:09:27 28c525ee5125: Pull complete 15:09:29 094b1ea09ed8: Pull complete 15:09:30 138eaada9080: Pull complete 15:09:30 0622d0fa9048: Pull complete 15:09:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:09:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:09:30 prd-centos7-docker-4c-2g-946 does not seem to be running inside a container 15:09:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:09:33 $ docker top 93e29b81dccb1a70631072206e6dc19acd2cf39f82671965a204ec98a23c6258 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:09:33 provisioning config files... 15:09:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5105496539855967152tmp [Pipeline] { [Pipeline] echo 15:09:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:09:33 ---> create-netrc.sh [Pipeline] echo 15:09:33 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:09:34 ---> logs-deploy.sh 15:09:34 + ARCHIVE_ARTIFACTS= 15:09:34 + LOGS_SERVER=https://logs.edgexfoundry.org 15:09:34 + '[' https://logs.edgexfoundry.org == None ']' 15:09:34 + NEXUS_URL=https://nexus.edgexfoundry.org 15:09:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/49 15:09:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/49/ 15:09:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/49 /w/workspace/dgexfoundry_device-sdk-go_master 15:09:35 Archives upload complete. 15:09:35 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/49 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/49/