Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fd75c29bc70b45e81e8d6526ecff9c2e7979e15f 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3123 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 fd75c29bc70b45e81e8d6526ecff9c2e7979e15f (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 fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 Commit message: "Merge pull request #539 from charles-knox-intel/readme-doc-update" > git rev-list --no-walk 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:08:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:08:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:08:24 ========================================================= 07:08:24 EdgeX Global Pipelines Version Info 07:08:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:08:26 ------------------- 07:08:26 stable info: 07:08:26 ------------------- 07:08:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:08:26 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 07:08:26 Message: update stable to v1.0.89 07:08:27 ------------------- 07:08:27 experimental info: 07:08:27 ------------------- 07:08:27 Commited By: **** collab-it+edgex@linuxfoundation.org 07:08:27 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 07:08:27 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:28 07:08:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:08:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:28 latest: Pulling from edgex-devops/git-semver 07:08:28 9123ac7c32f7: Pulling fs layer 07:08:28 b8cc5d1170e3: Pulling fs layer 07:08:28 2924cbbf6a41: Pulling fs layer 07:08:28 93b08a4f1073: Pulling fs layer 07:08:28 93b08a4f1073: Waiting 07:08:28 b8cc5d1170e3: Verifying Checksum 07:08:28 b8cc5d1170e3: Download complete 07:08:28 9123ac7c32f7: Verifying Checksum 07:08:28 9123ac7c32f7: Download complete 07:08:29 93b08a4f1073: Verifying Checksum 07:08:29 93b08a4f1073: Download complete 07:08:29 2924cbbf6a41: Verifying Checksum 07:08:29 2924cbbf6a41: Download complete 07:08:29 9123ac7c32f7: Pull complete 07:08:29 b8cc5d1170e3: Pull complete 07:08:30 2924cbbf6a41: Pull complete 07:08:30 93b08a4f1073: Pull complete 07:08:30 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:08:30 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:08:30 $ 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 07:08:32 $ docker top 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:32 [ssh-agent] Looking for ssh-agent implementation... 07:08:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:32 $ docker exec 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a ssh-agent 07:08:33 SSH_AUTH_SOCK=/tmp/ssh-bqzecrGY6kpy/agent.12 07:08:33 SSH_AGENT_PID=17 07:08:33 Running ssh-add (command line suppressed) 07:08:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8379351375166284315.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8379351375166284315.key) 07:08:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:33 + git describe --exact-match --tags HEAD 07:08:33 fatal: No names found, cannot describe anything. [Pipeline] } 07:08:33 $ docker exec --env ******** --env ******** 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a ssh-agent -k 07:08:33 unset SSH_AUTH_SOCK; 07:08:33 unset SSH_AGENT_PID; 07:08:33 echo Agent pid 17 killed; 07:08:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:08:33 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:08:33 This usually means this commit has not been tagged. [Pipeline] sshagent 07:08:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:34 [ssh-agent] Looking for ssh-agent implementation... 07:08:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:34 $ docker exec 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a ssh-agent 07:08:34 SSH_AUTH_SOCK=/tmp/ssh-SpYmyyLMjRB1/agent.46 07:08:34 SSH_AGENT_PID=51 07:08:34 Running ssh-add (command line suppressed) 07:08:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4524361754658129560.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4524361754658129560.key) 07:08:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:34 + git semver init 07:08:34 # -> Open(): unable to determine branch for HEAD 07:08:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:08:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:08:34 # $SEMVER_REMOTE_NAME = origin 07:08:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:08:34 # $SEMVER_USER_NAME = edgex-jenkins 07:08:34 # $SEMVER_BRANCH = master 07:08:34 # $SEMVER_TEMP = /tmp/semver-631213336 07:08:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:08:35 # '/tmp/semver-631213336' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 07:08:35 # -> Force: false 07:08:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:08:35 $ docker exec --env ******** --env ******** 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a ssh-agent -k 07:08:35 unset SSH_AUTH_SOCK; 07:08:35 unset SSH_AGENT_PID; 07:08:35 echo Agent pid 51 killed; 07:08:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:35 + git semver [Pipeline] } 07:08:36 $ docker stop --time=1 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a 07:08:37 $ docker rm -f 6e4ccaefed49f9544a2e1644c128a6851d53d6c3b683afc83da7eed76722331a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:08:38 Stashed 65 file(s) [Pipeline] echo 07:08:38 [edgeXSemver] initialized semver on version 1.2.3-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:08:53 Still waiting to schedule task 07:08:53 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3123’ 07:08:53 Still waiting to schedule task 07:08:53 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 07:10:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3124 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:10:23 Running in /w/workspace/device-sdk-go/45 [Pipeline] { [Pipeline] checkout 07:10:28 using credential edgex-jenkins-ssh 07:10:28 Cloning the remote Git repository 07:10:28 Cloning with configured refspecs honoured and without tags 07:10:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:10:28 > git init /w/workspace/device-sdk-go/45 # timeout=10 07:10:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:10:28 > git --version # timeout=10 07:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:10:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:10:29 Fetching without tags 07:10:30 Checking out Revision fd75c29bc70b45e81e8d6526ecff9c2e7979e15f (master) 07:10:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:10:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:10:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:10:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:10:29 using GIT_SSH to set credentials SSH Credentials for GitHub 07:10:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:10:30 > git config core.sparsecheckout # timeout=10 07:10:30 > git checkout -f fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 07:10:34 Commit message: "Merge pull request #539 from charles-knox-intel/readme-doc-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:10:36 ========================================================= 07:10:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:10:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:10:37 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 07:10:38 Sending build context to Docker daemon 3.076MB 07:10:38 Step 1/8 : ARG BASE=golang:1.13-alpine 07:10:38 Step 2/8 : FROM ${BASE} 07:10:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:10:38 cde5963f3b93: Pulling fs layer 07:10:38 2a23fa8c16f7: Pulling fs layer 07:10:38 777b28850792: Pulling fs layer 07:10:38 8a11ddd9e578: Pulling fs layer 07:10:38 4cf88f913ddb: Pulling fs layer 07:10:38 1df406cf5192: Pulling fs layer 07:10:38 cd6300453558: Pulling fs layer 07:10:38 b9c365052c96: Pulling fs layer 07:10:38 a2d8cc88f415: Pulling fs layer 07:10:38 ea1d1ca13537: Pulling fs layer 07:10:38 3750a50a1c5e: Pulling fs layer 07:10:38 8a11ddd9e578: Waiting 07:10:38 cd6300453558: Waiting 07:10:38 b9c365052c96: Waiting 07:10:38 4cf88f913ddb: Waiting 07:10:38 a2d8cc88f415: Waiting 07:10:38 1df406cf5192: Waiting 07:10:38 ea1d1ca13537: Waiting 07:10:38 3750a50a1c5e: Waiting 07:10:38 777b28850792: Verifying Checksum 07:10:38 777b28850792: Download complete 07:10:38 2a23fa8c16f7: Download complete 07:10:38 4cf88f913ddb: Verifying Checksum 07:10:38 4cf88f913ddb: Download complete 07:10:38 1df406cf5192: Download complete 07:10:38 cde5963f3b93: Download complete 07:10:39 cde5963f3b93: Pull complete 07:10:40 2a23fa8c16f7: Pull complete 07:10:40 777b28850792: Pull complete 07:10:40 cd6300453558: Verifying Checksum 07:10:40 cd6300453558: Download complete 07:10:40 a2d8cc88f415: Download complete 07:10:42 ea1d1ca13537: Verifying Checksum 07:10:42 ea1d1ca13537: Download complete 07:10:42 3750a50a1c5e: Verifying Checksum 07:10:42 3750a50a1c5e: Download complete 07:10:43 b9c365052c96: Verifying Checksum 07:10:43 b9c365052c96: Download complete 07:10:43 8a11ddd9e578: Download complete 07:10:55 8a11ddd9e578: Pull complete 07:10:55 4cf88f913ddb: Pull complete 07:10:55 1df406cf5192: Pull complete 07:11:00 cd6300453558: Pull complete 07:11:04 b9c365052c96: Pull complete 07:11:04 a2d8cc88f415: Pull complete 07:11:06 ea1d1ca13537: Pull complete 07:11:06 3750a50a1c5e: Pull complete 07:11:06 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:11:06 ---> 78745c68409d 07:11:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:11 Running on prd-centos7-docker-4c-2g-3125 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:11:11 Running in /w/workspace/device-sdk-go/45 [Pipeline] { [Pipeline] checkout 07:11:12 ---> Running in a0fcb41c60a1 07:11:12 Removing intermediate container a0fcb41c60a1 07:11:12 ---> 47a18019a695 07:11:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:12 ---> Running in 54b8f12bb0ef 07:11:14 using credential edgex-jenkins-ssh 07:11:14 Cloning the remote Git repository 07:11:14 Cloning with configured refspecs honoured and without tags 07:11:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:11:14 > git init /w/workspace/device-sdk-go/45 # timeout=10 07:11:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:14 > git --version # timeout=10 07:11:14 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:15 Removing intermediate container 54b8f12bb0ef 07:11:15 ---> 710160002089 07:11:15 Step 5/8 : RUN apk add --no-cache make git 07:11:15 ---> Running in cb0c8868263c 07:11:16 Fetching without tags 07:11:16 Checking out Revision fd75c29bc70b45e81e8d6526ecff9c2e7979e15f (master) 07:11:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:11:16 > git config core.sparsecheckout # timeout=10 07:11:16 > git checkout -f fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 07:11:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:11:18 OK: 125 MiB in 39 packages 07:11:19 Removing intermediate container cb0c8868263c 07:11:19 ---> ad4ecbe80e48 07:11:19 Step 6/8 : WORKDIR /device-sdk-go 07:11:20 ---> Running in 311f5d22cc27 07:11:20 Commit message: "Merge pull request #539 from charles-knox-intel/readme-doc-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:11:20 ========================================================= 07:11:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:11:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:21 Removing intermediate container 311f5d22cc27 07:11:21 ---> c5c66f2fc8af 07:11:21 Step 7/8 : COPY . . 07:11:21 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 07:11:22 ---> 9b92f09c19ea 07:11:22 Step 8/8 : RUN go mod download 07:11:22 ---> Running in 6b421731ce64 07:11:22 Sending build context to Docker daemon 3.078MB 07:11:22 Step 1/8 : ARG BASE=golang:1.13-alpine 07:11:22 Step 2/8 : FROM ${BASE} 07:11:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:22 e6b0cf9c0882: Pulling fs layer 07:11:22 2848faf0eed1: Pulling fs layer 07:11:22 0f37312ad70f: Pulling fs layer 07:11:22 5788d62ee057: Pulling fs layer 07:11:22 0e6b1d234666: Pulling fs layer 07:11:22 bf5d7aec512f: Pulling fs layer 07:11:22 34c802a77dc8: Pulling fs layer 07:11:22 9eb99e56ec68: Pulling fs layer 07:11:22 27c7a5d97fbd: Pulling fs layer 07:11:22 5c102a31e300: Pulling fs layer 07:11:22 dcfb455df0a1: Pulling fs layer 07:11:22 34c802a77dc8: Waiting 07:11:22 9eb99e56ec68: Waiting 07:11:22 27c7a5d97fbd: Waiting 07:11:22 5c102a31e300: Waiting 07:11:22 dcfb455df0a1: Waiting 07:11:22 0e6b1d234666: Waiting 07:11:22 5788d62ee057: Waiting 07:11:22 bf5d7aec512f: Waiting 07:11:22 0f37312ad70f: Verifying Checksum 07:11:22 0f37312ad70f: Download complete 07:11:22 2848faf0eed1: Verifying Checksum 07:11:22 2848faf0eed1: Download complete 07:11:22 0e6b1d234666: Download complete 07:11:22 bf5d7aec512f: Verifying Checksum 07:11:22 bf5d7aec512f: Download complete 07:11:22 e6b0cf9c0882: Verifying Checksum 07:11:22 e6b0cf9c0882: Download complete 07:11:22 e6b0cf9c0882: Pull complete 07:11:23 34c802a77dc8: Verifying Checksum 07:11:23 34c802a77dc8: Download complete 07:11:23 27c7a5d97fbd: Verifying Checksum 07:11:23 27c7a5d97fbd: Download complete 07:11:23 5c102a31e300: Verifying Checksum 07:11:23 5c102a31e300: Download complete 07:11:23 dcfb455df0a1: Verifying Checksum 07:11:23 dcfb455df0a1: Download complete 07:11:24 9eb99e56ec68: Verifying Checksum 07:11:24 9eb99e56ec68: Download complete 07:11:24 5788d62ee057: Download complete 07:11:25 2848faf0eed1: Pull complete 07:11:25 0f37312ad70f: Pull complete 07:11:25 go: finding github.com/BurntSushi/toml v0.3.1 07:11:25 go: finding github.com/OneOfOne/xxhash v1.2.6 07:11:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:11:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:11:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:11:25 go: finding github.com/bgentry/speakeasy v0.1.0 07:11:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:11:25 go: finding github.com/davecgh/go-spew v1.1.1 07:11:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 07:11:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:11:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:11:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:11:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:11:25 go: finding github.com/fatih/color v1.7.0 07:11:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:11:25 go: finding github.com/go-kit/kit v0.8.0 07:11:25 go: finding github.com/go-logfmt/logfmt v0.4.0 07:11:26 go: finding github.com/go-stack/stack v1.8.0 07:11:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:11:26 go: finding github.com/google/uuid v1.1.0 07:11:26 go: finding github.com/gorilla/mux v1.7.1 07:11:26 go: finding github.com/hashicorp/consul/api v1.1.0 07:11:26 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:11:26 go: finding github.com/hashicorp/errwrap v1.0.0 07:11:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:11:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:11:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:11:26 go: finding github.com/hashicorp/go-multierror v1.0.0 07:11:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:11:26 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:11:26 go: finding github.com/hashicorp/go-syslog v1.0.0 07:11:26 go: finding github.com/hashicorp/go-uuid v1.0.1 07:11:26 go: finding github.com/hashicorp/go.net v0.0.1 07:11:26 go: finding github.com/hashicorp/golang-lru v0.5.0 07:11:26 go: finding github.com/hashicorp/logutils v1.0.0 07:11:26 go: finding github.com/hashicorp/mdns v1.0.0 07:11:26 go: finding github.com/hashicorp/memberlist v0.1.3 07:11:26 go: finding github.com/hashicorp/serf v0.8.2 07:11:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:11:27 go: finding github.com/mattn/go-colorable v0.0.9 07:11:27 go: finding github.com/mattn/go-isatty v0.0.3 07:11:27 go: finding github.com/miekg/dns v1.0.14 07:11:27 go: finding github.com/mitchellh/cli v1.0.0 07:11:27 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:11:27 go: finding github.com/mitchellh/copystructure v1.0.0 07:11:27 go: finding github.com/mitchellh/go-homedir v1.0.0 07:11:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:11:27 go: finding github.com/mitchellh/gox v0.4.0 07:11:27 go: finding github.com/mitchellh/iochan v1.0.0 07:11:27 go: finding github.com/mitchellh/mapstructure v1.1.2 07:11:27 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:11:27 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:11:27 go: finding github.com/pelletier/go-toml v1.2.0 07:11:27 go: finding github.com/pkg/errors v0.8.1 07:11:27 go: finding github.com/pmezard/go-difflib v1.0.0 07:11:27 go: finding github.com/posener/complete v1.1.1 07:11:27 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:11:27 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:11:27 go: finding github.com/stretchr/objx v0.1.0 07:11:27 go: finding github.com/stretchr/testify v1.5.1 07:11:27 go: finding github.com/ugorji/go v1.1.4 07:11:27 go: finding github.com/x448/float16 v0.8.4 07:11:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:11:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:11:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:11:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:11:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:11:28 go: finding gopkg.in/yaml.v2 v2.2.8 07:11:31 5788d62ee057: Pull complete 07:11:31 0e6b1d234666: Pull complete 07:11:31 bf5d7aec512f: Pull complete 07:11:36 34c802a77dc8: Pull complete 07:11:38 Removing intermediate container 6b421731ce64 07:11:38 ---> d9ced24acd2a 07:11:38 Successfully built d9ced24acd2a 07:11:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:11:38 + docker inspect -f . ci-base-image-arm64 07:11:38 . [Pipeline] withDockerContainer 07:11:39 prd-ubuntu18.04-docker-arm64-4c-16g-3124 does not seem to be running inside a container 07:11:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/45 -v /w/workspace/device-sdk-go/45:/w/workspace/device-sdk-go/45:rw,z -v /w/workspace/device-sdk-go/45@tmp:/w/workspace/device-sdk-go/45@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 07:11:39 9eb99e56ec68: Pull complete 07:11:39 27c7a5d97fbd: Pull complete 07:11:40 5c102a31e300: Pull complete 07:11:40 dcfb455df0a1: Pull complete 07:11:40 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:11:40 ---> 7c70fe431013 07:11:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:40 $ docker top 6da123b49bf7d51fd6a1acd148cfa10667dcce159de8d70d32dbf61a0a86f114 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:42 ---> Running in 835ba5fa27ee 07:11:42 Removing intermediate container 835ba5fa27ee 07:11:42 ---> 9a71ad18d88b 07:11:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:42 ---> Running in d1f200f0839b 07:11:42 + go version 07:11:42 go version go1.13.5 linux/arm64 [Pipeline] sh 07:11:43 Removing intermediate container d1f200f0839b 07:11:43 ---> d2c0bf563729 07:11:43 Step 5/8 : RUN apk add --no-cache make git 07:11:43 + make test 07:11:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:11:43 ---> Running in 906d432e2205 07:11:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:11:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:11:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:11:45 OK: 143 MiB in 39 packages 07:11:46 Removing intermediate container 906d432e2205 07:11:46 ---> badae82f635e 07:11:46 Step 6/8 : WORKDIR /device-sdk-go 07:11:46 ---> Running in 7858d0bd8440 07:11:46 Removing intermediate container 7858d0bd8440 07:11:46 ---> 148c3611e6e7 07:11:46 Step 7/8 : COPY . . 07:11:47 ---> 20b66366bb9b 07:11:47 Step 8/8 : RUN go mod download 07:11:47 ---> Running in 69e493002d91 07:11:49 go: finding github.com/BurntSushi/toml v0.3.1 07:11:49 go: finding github.com/OneOfOne/xxhash v1.2.6 07:11:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:11:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:11:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:11:49 go: finding github.com/bgentry/speakeasy v0.1.0 07:11:49 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:11:49 go: finding github.com/davecgh/go-spew v1.1.1 07:11:49 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 07:11:49 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:11:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:11:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:11:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:11:49 go: finding github.com/fatih/color v1.7.0 07:11:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:11:49 go: finding github.com/go-kit/kit v0.8.0 07:11:49 go: finding github.com/go-logfmt/logfmt v0.4.0 07:11:49 go: finding github.com/go-stack/stack v1.8.0 07:11:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:11:49 go: finding github.com/google/uuid v1.1.0 07:11:49 go: finding github.com/gorilla/mux v1.7.1 07:11:49 go: finding github.com/hashicorp/consul/api v1.1.0 07:11:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:11:49 go: finding github.com/hashicorp/errwrap v1.0.0 07:11:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:11:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:11:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:11:49 go: finding github.com/hashicorp/go-multierror v1.0.0 07:11:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:11:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:11:49 go: finding github.com/hashicorp/go-syslog v1.0.0 07:11:49 go: finding github.com/hashicorp/go-uuid v1.0.1 07:11:49 go: finding github.com/hashicorp/go.net v0.0.1 07:11:49 go: finding github.com/hashicorp/golang-lru v0.5.0 07:11:49 go: finding github.com/hashicorp/logutils v1.0.0 07:11:49 go: finding github.com/hashicorp/mdns v1.0.0 07:11:49 go: finding github.com/hashicorp/memberlist v0.1.3 07:11:49 go: finding github.com/hashicorp/serf v0.8.2 07:11:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:11:49 go: finding github.com/mattn/go-colorable v0.0.9 07:11:49 go: finding github.com/mattn/go-isatty v0.0.3 07:11:49 go: finding github.com/miekg/dns v1.0.14 07:11:49 go: finding github.com/mitchellh/cli v1.0.0 07:11:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:11:49 go: finding github.com/mitchellh/copystructure v1.0.0 07:11:49 go: finding github.com/mitchellh/go-homedir v1.0.0 07:11:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:11:49 go: finding github.com/mitchellh/gox v0.4.0 07:11:49 go: finding github.com/mitchellh/iochan v1.0.0 07:11:49 go: finding github.com/mitchellh/mapstructure v1.1.2 07:11:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:11:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:11:49 go: finding github.com/pelletier/go-toml v1.2.0 07:11:49 go: finding github.com/pkg/errors v0.8.1 07:11:49 go: finding github.com/pmezard/go-difflib v1.0.0 07:11:49 go: finding github.com/posener/complete v1.1.1 07:11:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:11:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:11:49 go: finding github.com/stretchr/objx v0.1.0 07:11:49 go: finding github.com/stretchr/testify v1.5.1 07:11:49 go: finding github.com/ugorji/go v1.1.4 07:11:49 go: finding github.com/x448/float16 v0.8.4 07:11:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:11:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:11:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:11:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:11:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:11:49 go: finding gopkg.in/yaml.v2 v2.2.8 07:11:57 Removing intermediate container 69e493002d91 07:11:57 ---> d7c56a5b0a17 07:11:57 Successfully built d7c56a5b0a17 07:11:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:11:58 + docker inspect -f . ci-base-image-x86_64 07:11:58 . [Pipeline] withDockerContainer 07:11:58 prd-centos7-docker-4c-2g-3125 does not seem to be running inside a container 07:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/45 -v /w/workspace/device-sdk-go/45:/w/workspace/device-sdk-go/45:rw,z -v /w/workspace/device-sdk-go/45@tmp:/w/workspace/device-sdk-go/45@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 ******** ci-base-image-x86_64 cat 07:11:59 $ docker top 15065e0279104a435b71c5ebb6a3ad7686632f87f32fcb3825a9974a06ac080c -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:00 + go version 07:12:00 go version go1.13.5 linux/amd64 [Pipeline] sh 07:12:00 + make test 07:12:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:12:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:12:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:12:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:12:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:12:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:12:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements 07:12:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 22.1% of statements 07:12:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.050s coverage: 95.8% of statements 07:12:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.8% of statements 07:12:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements 07:12:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:12:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.137s coverage: 36.9% of statements 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:12:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.683s coverage: 65.2% of statements 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:12:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements 07:12:45 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:12:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 68.9% of statements 07:12:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:12:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:12:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:12:45 gofmt -l . 07:12:45 [ "`gofmt -l .`" = "" ] 07:12:45 ./bin/test-attribution-txt.sh 07:12:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:12:47 Stashed 1 file(s) [Pipeline] } 07:12:47 $ docker stop --time=1 15065e0279104a435b71c5ebb6a3ad7686632f87f32fcb3825a9974a06ac080c 07:12:48 $ docker rm -f 15065e0279104a435b71c5ebb6a3ad7686632f87f32fcb3825a9974a06ac080c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 07:12:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 11.4% of statements 07:12:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:12:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.147s coverage: 36.9% of statements 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:12:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.558s coverage: 65.2% of statements 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:12:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 07:12:48 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:12:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements 07:12:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:12:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:12:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:50 + ls -al . 07:12:50 total 184 07:12:50 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 16 07:12 . 07:12:50 drwxrwxr-x. 4 jenkins jenkins 30 Jun 16 07:11 .. 07:12:50 drwxrwxr-x. 3 jenkins jenkins 20 Jun 16 07:11 api 07:12:50 drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 07:11 bin 07:12:50 -rw-r--r--. 1 jenkins jenkins 110877 Jun 16 07:12 coverage.out 07:12:50 -rw-rw-r--. 1 jenkins jenkins 936 Jun 16 07:11 Dockerfile.build 07:12:50 -rw-rw-r--. 1 jenkins jenkins 140 Jun 16 07:11 .dockerignore 07:12:50 drwxrwxr-x. 4 jenkins jenkins 48 Jun 16 07:11 example 07:12:50 drwxrwxr-x. 8 jenkins jenkins 162 Jun 16 07:11 .git 07:12:50 drwxrwxr-x. 2 jenkins jenkins 38 Jun 16 07:11 .github 07:12:50 -rw-rw-r--. 1 jenkins jenkins 138 Jun 16 07:11 .gitignore 07:12:50 -rw-r--r--. 1 jenkins jenkins 446 Jun 16 07:12 go.mod 07:12:50 -rw-r--r--. 1 jenkins jenkins 12179 Jun 16 07:12 go.sum 07:12:50 drwxrwxr-x. 15 jenkins jenkins 217 Jun 16 07:11 internal 07:12:50 -rw-rw-r--. 1 jenkins jenkins 808 Jun 16 07:11 Jenkinsfile 07:12:50 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 16 07:11 LICENSE 07:12:50 -rw-rw-r--. 1 jenkins jenkins 892 Jun 16 07:11 Makefile 07:12:50 drwxrwxr-x. 5 jenkins jenkins 50 Jun 16 07:11 pkg 07:12:50 -rw-rw-r--. 1 jenkins jenkins 5101 Jun 16 07:11 README.md 07:12:50 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 16 07:11 RELEASE-NOTES.txt 07:12:50 drwxrwxr-x. 3 jenkins jenkins 44 Jun 16 07:11 .semver 07:12:50 drwxrwxr-x. 4 jenkins jenkins 54 Jun 16 07:11 snap 07:12:50 -rw-rw-r--. 1 jenkins jenkins 11 Jun 16 07:08 VERSION 07:12:50 -rw-rw-r--. 1 jenkins jenkins 222 Jun 16 07:11 version.go [Pipeline] isUnix [Pipeline] sh 07:12:51 + 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=fd75c29bc70b45e81e8d6526ecff9c2e7979e15f --label arch=amd64 --label version=1.2.3-dev.1 . 07:12:51 Sending build context to Docker daemon 3.206MB 07:12:51 Step 1/23 : ARG BASE=golang:1.13-alpine 07:12:51 Step 2/23 : FROM ${BASE} AS builder 07:12:51 ---> d7c56a5b0a17 07:12:51 Step 3/23 : ARG MAKE='make build' 07:12:51 gofmt -l . 07:12:51 [ "`gofmt -l .`" = "" ] 07:12:51 ---> Running in 30f89e0fd00d 07:12:51 Removing intermediate container 30f89e0fd00d 07:12:51 ---> 3b3f85b16076 07:12:51 Step 4/23 : WORKDIR /device-sdk-go 07:12:52 ./bin/test-attribution-txt.sh 07:12:52 ---> Running in 33f901768a18 07:12:52 Removing intermediate container 33f901768a18 07:12:52 ---> e3680a3a47da 07:12:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:12:52 ---> Running in c22ae04c8e60 07:12:52 Removing intermediate container c22ae04c8e60 07:12:52 ---> e88cb78b85bf 07:12:52 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:52 ---> Running in eaf0e3730b06 07:12:53 ./bin/test-go-mod-tidy.sh 07:12:53 Removing intermediate container eaf0e3730b06 07:12:53 ---> 14d3b86e59d1 07:12:53 Step 7/23 : RUN apk add --update --no-cache make git 07:12:53 ---> Running in 19e0deebe72a [Pipeline] stash 07:12:53 Warning: overwriting stash ‘coverage-report’ 07:12:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:12:53 Stashed 1 file(s) [Pipeline] } 07:12:53 $ docker stop --time=1 6da123b49bf7d51fd6a1acd148cfa10667dcce159de8d70d32dbf61a0a86f114 07:12:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:12:54 OK: 143 MiB in 39 packages 07:12:55 Removing intermediate container 19e0deebe72a 07:12:55 ---> fa550cbbcd19 07:12:55 Step 8/23 : COPY . . 07:12:55 $ docker rm -f 6da123b49bf7d51fd6a1acd148cfa10667dcce159de8d70d32dbf61a0a86f114 07:12:56 ---> 514f5ffcc999 07:12:56 Step 9/23 : RUN ${MAKE} 07:12:56 ---> Running in d9d1dfde7f76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 07:12:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:57 + ls -al . 07:12:57 total 224 07:12:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 16 07:12 . 07:12:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 07:10 .. 07:12:57 -rw-rw-r-- 1 jenkins jenkins 140 Jun 16 07:10 .dockerignore 07:12:57 drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 07:10 .git 07:12:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 07:10 .github 07:12:57 -rw-rw-r-- 1 jenkins jenkins 138 Jun 16 07:10 .gitignore 07:12:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 07:10 .semver 07:12:57 -rw-rw-r-- 1 jenkins jenkins 936 Jun 16 07:10 Dockerfile.build 07:12:57 -rw-rw-r-- 1 jenkins jenkins 808 Jun 16 07:10 Jenkinsfile 07:12:57 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 16 07:10 LICENSE 07:12:57 -rw-rw-r-- 1 jenkins jenkins 892 Jun 16 07:10 Makefile 07:12:57 -rw-rw-r-- 1 jenkins jenkins 5101 Jun 16 07:10 README.md 07:12:57 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 16 07:10 RELEASE-NOTES.txt 07:12:57 -rw-rw-r-- 1 jenkins jenkins 11 Jun 16 07:08 VERSION 07:12:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 07:10 api 07:12:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 07:10 bin 07:12:57 -rw-r--r-- 1 jenkins jenkins 110877 Jun 16 07:12 coverage.out 07:12:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 07:10 example 07:12:57 -rw-r--r-- 1 jenkins jenkins 446 Jun 16 07:12 go.mod 07:12:57 -rw-r--r-- 1 jenkins jenkins 12179 Jun 16 07:12 go.sum 07:12:57 drwxrwxr-x 15 jenkins jenkins 4096 Jun 16 07:10 internal 07:12:57 drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 07:10 pkg 07:12:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 07:10 snap 07:12:57 -rw-rw-r-- 1 jenkins jenkins 222 Jun 16 07:10 version.go [Pipeline] isUnix [Pipeline] sh 07:12:57 + 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=fd75c29bc70b45e81e8d6526ecff9c2e7979e15f --label arch=arm64 --label version=1.2.3-dev.1 . 07:12:58 Sending build context to Docker daemon 3.204MB 07:12:58 Step 1/23 : ARG BASE=golang:1.13-alpine 07:12:58 Step 2/23 : FROM ${BASE} AS builder 07:12:58 ---> d9ced24acd2a 07:12:58 Step 3/23 : ARG MAKE='make build' 07:12:58 ---> Running in 5a35f48dfa64 07:12:58 Removing intermediate container 5a35f48dfa64 07:12:58 ---> 59247661f1e6 07:12:58 Step 4/23 : WORKDIR /device-sdk-go 07:12:58 ---> Running in 7a6ae5458439 07:12:59 Removing intermediate container 7a6ae5458439 07:12:59 ---> ba268f2ef58e 07:12:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:12:59 ---> Running in 08e222041897 07:13:00 Removing intermediate container 08e222041897 07:13:00 ---> c698388fa709 07:13:00 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:00 ---> Running in 659d814f05c1 07:13:02 Removing intermediate container 659d814f05c1 07:13:02 ---> 61591b4ce470 07:13:02 Step 7/23 : RUN apk add --update --no-cache make git 07:13:02 ---> Running in fb5524ae3ef0 07:13:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:13:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:13:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:13:05 OK: 125 MiB in 39 packages 07:13:06 Removing intermediate container fb5524ae3ef0 07:13:06 ---> 0d6f6d731399 07:13:06 Step 8/23 : COPY . . 07:13:06 Removing intermediate container d9d1dfde7f76 07:13:06 ---> 49481dbc7b9c 07:13:06 Step 10/23 : FROM scratch 07:13:06 ---> 07:13:06 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:07 ---> Running in d03125f1daf7 07:13:07 Removing intermediate container d03125f1daf7 07:13:07 ---> b1bc2a5681a3 07:13:07 Step 12/23 : ENV APP_PORT=49990 07:13:07 ---> Running in 79c297ef6458 07:13:07 Removing intermediate container 79c297ef6458 07:13:07 ---> 6b1662f7311c 07:13:07 Step 13/23 : EXPOSE $APP_PORT 07:13:07 ---> Running in d8f873e0e0df 07:13:07 Removing intermediate container d8f873e0e0df 07:13:07 ---> 77247b42180a 07:13:07 Step 14/23 : WORKDIR / 07:13:07 ---> Running in 0efe7378ab30 07:13:07 Removing intermediate container 0efe7378ab30 07:13:07 ---> a8c0c12170d3 07:13:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:13:07 ---> 4c707da11154 07:13:07 Step 9/23 : RUN ${MAKE} 07:13:07 ---> Running in b6bbec978114 07:13:08 ---> 2d8a7ceced3d 07:13:08 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:13:08 ---> 73c582da0811 07:13:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:13:08 ---> d91e2cc3d686 07:13:08 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:13:08 ---> 5e35fb262c59 07:13:08 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:13:08 ---> 8625b7641534 07:13:08 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:13:08 ---> Running in 4ba2f2595853 07:13:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:13:09 Removing intermediate container 4ba2f2595853 07:13:09 ---> 0d5a8a6efd25 07:13:09 Step 21/23 : LABEL arch=amd64 07:13:09 ---> Running in 33596f60d7c1 07:13:09 Removing intermediate container 33596f60d7c1 07:13:09 ---> ebd6e2c397b7 07:13:09 Step 22/23 : LABEL git_sha=fd75c29bc70b45e81e8d6526ecff9c2e7979e15f 07:13:09 ---> Running in 23597479e738 07:13:09 Removing intermediate container 23597479e738 07:13:09 ---> 84d01a8dcf5d 07:13:09 Step 23/23 : LABEL version=1.2.3-dev.1 07:13:09 ---> Running in ae69e462c9b7 07:13:09 Removing intermediate container ae69e462c9b7 07:13:09 ---> c52b21c4b140 07:13:09 [Warning] One or more build-args [ARCH] were not consumed 07:13:09 Successfully built c52b21c4b140 07:13:09 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] } 07:13:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:13:34 Removing intermediate container b6bbec978114 07:13:34 ---> 365cea9deb50 07:13:34 Step 10/23 : FROM scratch 07:13:34 ---> 07:13:34 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:34 ---> Running in 15f14bfd6eb8 07:13:34 Removing intermediate container 15f14bfd6eb8 07:13:34 ---> eaab7a2adbbe 07:13:34 Step 12/23 : ENV APP_PORT=49990 07:13:34 ---> Running in 27c62a228788 07:13:35 Removing intermediate container 27c62a228788 07:13:35 ---> 73fe97b999dd 07:13:35 Step 13/23 : EXPOSE $APP_PORT 07:13:35 ---> Running in 014f4fb5310e 07:13:35 Removing intermediate container 014f4fb5310e 07:13:35 ---> 08505ca158bd 07:13:35 Step 14/23 : WORKDIR / 07:13:36 ---> Running in bfd46edc697c 07:13:36 Removing intermediate container bfd46edc697c 07:13:36 ---> 03450a8b06f5 07:13:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:13:37 ---> 2c345111b4e6 07:13:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:13:38 ---> 1b767717ebd7 07:13:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:13:39 ---> ee4867ab0f38 07:13:39 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:13:39 ---> 96589ddf5cca 07:13:39 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:13:40 ---> 0d618b2d0fd2 07:13:40 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:13:40 ---> Running in 41d2a9a90fed 07:13:41 Removing intermediate container 41d2a9a90fed 07:13:41 ---> 3d29cff58eea 07:13:41 Step 21/23 : LABEL arch=arm64 07:13:41 ---> Running in a9e7f8b8ebdd 07:13:41 Removing intermediate container a9e7f8b8ebdd 07:13:41 ---> f3888db4fea8 07:13:41 Step 22/23 : LABEL git_sha=fd75c29bc70b45e81e8d6526ecff9c2e7979e15f 07:13:41 ---> Running in 10393a292c04 07:13:42 Removing intermediate container 10393a292c04 07:13:42 ---> 480bfdd7977e 07:13:42 Step 23/23 : LABEL version=1.2.3-dev.1 07:13:42 ---> Running in 65aa3e725999 07:13:42 Removing intermediate container 65aa3e725999 07:13:42 ---> df7ed4fa4b47 07:13:42 [Warning] One or more build-args [ARCH] were not consumed 07:13:43 Successfully built df7ed4fa4b47 07:13: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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:13:43 provisioning config files... 07:13:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8101132464705282265tmp [Pipeline] { [Pipeline] sh 07:13:44 + curl -s https://codecov.io/bash 07:13:44 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8101132464705282265tmp 07:13:44 07:13:44 _____ _ 07:13:44 / ____| | | 07:13:44 | | ___ __| | ___ ___ _____ __ 07:13:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:13:44 | |___| (_) | (_| | __/ (_| (_) \ V / 07:13:44 \_____\___/ \__,_|\___|\___\___/ \_/ 07:13:44 Bash-20200602-f809a24 07:13:44 07:13:44 07:13:44 ==> Jenkins CI detected. 07:13:44 project root: . 07:13:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:13:44 ==> Running gcov in . (disable via -X gcov) 07:13:44 ==> Python coveragepy not found 07:13:44 ==> Searching for coverage reports in: 07:13:44 + . 07:13:44 -> Found 1 reports 07:13:44 ==> Detecting git/mercurial file structure 07:13:44 ==> Reading reports 07:13:44 + ./coverage.out bytes=110877 07:13:44 ==> Appending adjustments 07:13:44 https://docs.codecov.io/docs/fixing-reports 07:13:44 + Found adjustments 07:13:44 ==> Gzipping contents 07:13:44 ==> Uploading reports 07:13:44 url: https://codecov.io 07:13:44 query: branch=master&commit=fd75c29bc70b45e81e8d6526ecff9c2e7979e15f&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 07:13:44 -> Pinging Codecov 07:13:44 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=fd75c29bc70b45e81e8d6526ecff9c2e7979e15f&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 07:13:45 -> Uploading 07:13:45 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fd75c29bc70b45e81e8d6526ecff9c2e7979e15f [Pipeline] } 07:13:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 07:13:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 07:13:46 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 07:13:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:13:47 07:13:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 07:13:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:13:47 1.317.0: Pulling from edgex-devops/edgex-snyk-go 07:13:47 cbdbe7a5bc2a: Pulling fs layer 07:13:47 408f87550127: Pulling fs layer 07:13:47 fe522b08c979: Pulling fs layer 07:13:47 221eaa008020: Pulling fs layer 07:13:47 2a4607e5d6b9: Pulling fs layer 07:13:47 8f79b27c4fd2: Pulling fs layer 07:13:47 e5c8dbe1645b: Pulling fs layer 07:13:47 23e8b3b47431: Pulling fs layer 07:13:47 5c568d65a230: Pulling fs layer 07:13:47 221eaa008020: Waiting 07:13:47 2a4607e5d6b9: Waiting 07:13:47 e5c8dbe1645b: Waiting 07:13:47 5c568d65a230: Waiting 07:13:47 23e8b3b47431: Waiting 07:13:47 fe522b08c979: Verifying Checksum 07:13:47 fe522b08c979: Download complete 07:13:47 408f87550127: Verifying Checksum 07:13:47 408f87550127: Download complete 07:13:47 2a4607e5d6b9: Verifying Checksum 07:13:47 2a4607e5d6b9: Download complete 07:13:47 8f79b27c4fd2: Verifying Checksum 07:13:47 8f79b27c4fd2: Download complete 07:13:47 cbdbe7a5bc2a: Verifying Checksum 07:13:47 cbdbe7a5bc2a: Download complete 07:13:47 e5c8dbe1645b: Download complete 07:13:47 cbdbe7a5bc2a: Pull complete 07:13:48 23e8b3b47431: Verifying Checksum 07:13:48 23e8b3b47431: Download complete 07:13:48 408f87550127: Pull complete 07:13:48 5c568d65a230: Verifying Checksum 07:13:48 5c568d65a230: Download complete 07:13:48 fe522b08c979: Pull complete 07:13:49 221eaa008020: Verifying Checksum 07:13:49 221eaa008020: Download complete 07:13:54 221eaa008020: Pull complete 07:13:54 2a4607e5d6b9: Pull complete 07:13:54 8f79b27c4fd2: Pull complete 07:13:56 e5c8dbe1645b: Pull complete 07:14:00 23e8b3b47431: Pull complete 07:14:01 5c568d65a230: Pull complete 07:14:01 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 07:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:14:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 07:14:01 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:14: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 07:14:02 $ docker top 10c2439ae8b1fad71744069b55798149c4db2a3747d56d8d35550ef2fa98f2cb -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:02 + snyk monitor '--org=edgex-jenkins' 07:14:06 07:14:06 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 07:14:06 07:14:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/cc24023e-66c7-4074-983e-c826003f2bbb 07:14:06 07:14:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:14:06 07:14:07 07:14:07 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 07:14:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:14:07 $ docker stop --time=1 10c2439ae8b1fad71744069b55798149c4db2a3747d56d8d35550ef2fa98f2cb 07:14:09 $ docker rm -f 10c2439ae8b1fad71744069b55798149c4db2a3747d56d8d35550ef2fa98f2cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 07:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:09 . [Pipeline] withDockerContainer 07:14:10 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:14:10 $ 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 07:14:10 $ docker top 638bfae9963ad36b0973401ab293ed7e29b3f4bee30f20cf88d0f14dddd09415 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:11 [ssh-agent] Looking for ssh-agent implementation... 07:14:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:11 $ docker exec 638bfae9963ad36b0973401ab293ed7e29b3f4bee30f20cf88d0f14dddd09415 ssh-agent 07:14:11 SSH_AUTH_SOCK=/tmp/ssh-7Rw0aBvmOWjJ/agent.11 07:14:11 SSH_AGENT_PID=16 07:14:11 Running ssh-add (command line suppressed) 07:14:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4266410980561793716.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4266410980561793716.key) 07:14:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:12 + git semver tag 07:14:12 # -> Open(): unable to determine branch for HEAD 07:14:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:14:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:14:12 # $SEMVER_REMOTE_NAME = origin 07:14:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:14:12 # $SEMVER_USER_NAME = edgex-jenkins 07:14:12 # $SEMVER_BRANCH = master 07:14:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:14:12 # fd75c29bc70b45e81e8d6526ecff9c2e7979e15f HEAD 07:14:12 # -> Force: false 07:14:12 # c92ea097c449e978c8d779c1390a9fa6e4ecf905 refs/tags/v1.2.3-dev.1 [Pipeline] } 07:14:12 $ docker exec --env ******** --env ******** 638bfae9963ad36b0973401ab293ed7e29b3f4bee30f20cf88d0f14dddd09415 ssh-agent -k 07:14:12 unset SSH_AUTH_SOCK; 07:14:12 unset SSH_AGENT_PID; 07:14:12 echo Agent pid 16 killed; 07:14:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:12 + git semver [Pipeline] } 07:14:12 $ docker stop --time=1 638bfae9963ad36b0973401ab293ed7e29b3f4bee30f20cf88d0f14dddd09415 07:14:14 $ docker rm -f 638bfae9963ad36b0973401ab293ed7e29b3f4bee30f20cf88d0f14dddd09415 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:14 07:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:15 0.23.1-centos7: Pulling from edgex-lftools 07:14:15 ab5ef0e58194: Pulling fs layer 07:14:15 9712f1f96733: Pulling fs layer 07:14:15 63f879dbbcfc: Pulling fs layer 07:14:15 0d9ebad4ef96: Pulling fs layer 07:14:15 e9a5061849ea: Pulling fs layer 07:14:15 d747dcd14b5f: Pulling fs layer 07:14:15 2de7ff778b66: Pulling fs layer 07:14:15 e9a5061849ea: Waiting 07:14:15 d747dcd14b5f: Waiting 07:14:15 2de7ff778b66: Waiting 07:14:15 0d9ebad4ef96: Waiting 07:14:15 9712f1f96733: Verifying Checksum 07:14:15 9712f1f96733: Download complete 07:14:15 63f879dbbcfc: Verifying Checksum 07:14:15 63f879dbbcfc: Download complete 07:14:15 e9a5061849ea: Verifying Checksum 07:14:15 e9a5061849ea: Download complete 07:14:15 d747dcd14b5f: Verifying Checksum 07:14:15 d747dcd14b5f: Download complete 07:14:16 0d9ebad4ef96: Download complete 07:14:16 2de7ff778b66: Verifying Checksum 07:14:16 2de7ff778b66: Download complete 07:14:16 ab5ef0e58194: Verifying Checksum 07:14:16 ab5ef0e58194: Download complete 07:14:20 ab5ef0e58194: Pull complete 07:14:20 9712f1f96733: Pull complete 07:14:24 63f879dbbcfc: Pull complete 07:14:31 0d9ebad4ef96: Pull complete 07:14:31 e9a5061849ea: Pull complete 07:14:31 d747dcd14b5f: Pull complete 07:14:35 2de7ff778b66: Pull complete 07:14:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:14:35 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:14:35 $ 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 07:14:38 $ docker top f8798686e2a9656cb8d56fb672f838eb25eb8a45d64e014e59210c9f5570e8b6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:14:38 provisioning config files... 07:14:38 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6044334999238409351tmp 07:14:38 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4438669982430302147tmp 07:14:38 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4306852427243286112tmp [Pipeline] { [Pipeline] echo 07:14:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:14:38 ---> sigul-configuration.sh 07:14:38 gpg: directory `/root/.gnupg' created 07:14:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:14:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:14:38 gpg: keyring `/root/.gnupg/secring.gpg' created 07:14:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:14:38 gpg: CAST5 encrypted data 07:14:38 gpg: encrypted with 1 passphrase 07:14:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:14:39 + mkdir /home/jenkins 07:14:39 + mkdir /home/jenkins/sigul [Pipeline] sh 07:14:39 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 07:14:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:14:39 ---> sigul-install.sh 07:14:43 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:14:44 + git tag --list 07:14:44 v1.2.3-dev.1 [Pipeline] sh 07:14:44 + lftools sign git-tag v1.2.3-dev.1 07:14:46 Signing Git tag with Sigul... 07:14:46 Signing v1.2.3-dev.1 [Pipeline] echo 07:14:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:14:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:14:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:14:47 $ docker stop --time=1 f8798686e2a9656cb8d56fb672f838eb25eb8a45d64e014e59210c9f5570e8b6 07:14:49 $ docker rm -f f8798686e2a9656cb8d56fb672f838eb25eb8a45d64e014e59210c9f5570e8b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:49 . [Pipeline] withDockerContainer 07:14:49 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:14:49 $ 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 07:14:50 $ docker top 9dd077661de52311df704b29ee7b7ea31bc02571864cb043fbd419d6fae5edaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:50 [ssh-agent] Looking for ssh-agent implementation... 07:14:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:50 $ docker exec 9dd077661de52311df704b29ee7b7ea31bc02571864cb043fbd419d6fae5edaa ssh-agent 07:14:51 SSH_AUTH_SOCK=/tmp/ssh-jiTOlkFmhUeP/agent.12 07:14:51 SSH_AGENT_PID=18 07:14:51 Running ssh-add (command line suppressed) 07:14:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_757670803093273624.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_757670803093273624.key) 07:14:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:51 + git semver bump pre 07:14:51 # -> Open(): unable to determine branch for HEAD 07:14:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:14:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:14:51 # $SEMVER_REMOTE_NAME = origin 07:14:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:14:51 # $SEMVER_USER_NAME = edgex-jenkins 07:14:51 # $SEMVER_BRANCH = master 07:14:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:14:51 1.2.3-dev.2 [Pipeline] } 07:14:51 $ docker exec --env ******** --env ******** 9dd077661de52311df704b29ee7b7ea31bc02571864cb043fbd419d6fae5edaa ssh-agent -k 07:14:51 unset SSH_AUTH_SOCK; 07:14:51 unset SSH_AGENT_PID; 07:14:51 echo Agent pid 18 killed; 07:14:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:52 + git semver [Pipeline] } 07:14:52 $ docker stop --time=1 9dd077661de52311df704b29ee7b7ea31bc02571864cb043fbd419d6fae5edaa 07:14:53 $ docker rm -f 9dd077661de52311df704b29ee7b7ea31bc02571864cb043fbd419d6fae5edaa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:53 . [Pipeline] withDockerContainer 07:14:53 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:14:53 $ 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 07:14:54 $ docker top 0e16530d03bf6e6df662032b9a452e42a2493e9bf30abd2d0831ab9a9b0f2a32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:54 [ssh-agent] Looking for ssh-agent implementation... 07:14:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:54 $ docker exec 0e16530d03bf6e6df662032b9a452e42a2493e9bf30abd2d0831ab9a9b0f2a32 ssh-agent 07:14:55 SSH_AUTH_SOCK=/tmp/ssh-Ty2pAot3S26H/agent.11 07:14:55 SSH_AGENT_PID=17 07:14:55 Running ssh-add (command line suppressed) 07:14:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1204174223918173103.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1204174223918173103.key) 07:14:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:55 + git semver push 07:14:55 # -> Open(): unable to determine branch for HEAD 07:14:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:14:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:14:55 # $SEMVER_REMOTE_NAME = origin 07:14:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:14:55 # $SEMVER_USER_NAME = edgex-jenkins 07:14:55 # $SEMVER_BRANCH = master 07:14:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:15:03 $ docker exec --env ******** --env ******** 0e16530d03bf6e6df662032b9a452e42a2493e9bf30abd2d0831ab9a9b0f2a32 ssh-agent -k 07:15:03 unset SSH_AUTH_SOCK; 07:15:03 unset SSH_AGENT_PID; 07:15:03 echo Agent pid 17 killed; 07:15:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:04 + git semver [Pipeline] } 07:15:04 $ docker stop --time=1 0e16530d03bf6e6df662032b9a452e42a2493e9bf30abd2d0831ab9a9b0f2a32 07:15:05 $ docker rm -f 0e16530d03bf6e6df662032b9a452e42a2493e9bf30abd2d0831ab9a9b0f2a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:15:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:15:06 ---> package-listing.sh 07:15:06 ++ facter osfamily 07:15:06 ++ tr '[:upper:]' '[:lower:]' 07:15:06 + OS_FAMILY=redhat 07:15:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 07:15:06 + START_PACKAGES=/tmp/packages_start.txt 07:15:06 + END_PACKAGES=/tmp/packages_end.txt 07:15:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:15:06 + PACKAGES=/tmp/packages_start.txt 07:15:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:15:06 + PACKAGES=/tmp/packages_end.txt 07:15:06 + case "${OS_FAMILY}" in 07:15:06 + rpm -qa 07:15:06 + sort 07:15:11 + '[' -f /tmp/packages_start.txt ']' 07:15:11 + '[' -f /tmp/packages_end.txt ']' 07:15:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:15:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:15:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 07:15:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 07:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:11 07:15:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:15:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:12 alpine: Pulling from edgex-lftools-log-publisher 07:15:12 c9b1b535fdd9: Pulling fs layer 07:15:12 2cc5ad85d9ab: Pulling fs layer 07:15:12 756a868c4378: Pulling fs layer 07:15:12 444b2fc9a129: Pulling fs layer 07:15:12 ea15f1150254: Pulling fs layer 07:15:12 41b27a9f41bf: Pulling fs layer 07:15:12 28c525ee5125: Pulling fs layer 07:15:12 094b1ea09ed8: Pulling fs layer 07:15:12 138eaada9080: Pulling fs layer 07:15:12 0622d0fa9048: Pulling fs layer 07:15:12 444b2fc9a129: Waiting 07:15:12 ea15f1150254: Waiting 07:15:12 41b27a9f41bf: Waiting 07:15:12 28c525ee5125: Waiting 07:15:12 094b1ea09ed8: Waiting 07:15:12 138eaada9080: Waiting 07:15:12 0622d0fa9048: Waiting 07:15:12 2cc5ad85d9ab: Verifying Checksum 07:15:12 2cc5ad85d9ab: Download complete 07:15:12 444b2fc9a129: Download complete 07:15:12 c9b1b535fdd9: Verifying Checksum 07:15:12 c9b1b535fdd9: Download complete 07:15:12 ea15f1150254: Verifying Checksum 07:15:12 ea15f1150254: Download complete 07:15:12 28c525ee5125: Verifying Checksum 07:15:12 28c525ee5125: Download complete 07:15:12 756a868c4378: Verifying Checksum 07:15:12 756a868c4378: Download complete 07:15:12 094b1ea09ed8: Verifying Checksum 07:15:12 094b1ea09ed8: Download complete 07:15:12 138eaada9080: Verifying Checksum 07:15:12 138eaada9080: Download complete 07:15:12 0622d0fa9048: Verifying Checksum 07:15:12 0622d0fa9048: Download complete 07:15:13 41b27a9f41bf: Verifying Checksum 07:15:13 41b27a9f41bf: Download complete 07:15:13 c9b1b535fdd9: Pull complete 07:15:13 2cc5ad85d9ab: Pull complete 07:15:14 756a868c4378: Pull complete 07:15:14 444b2fc9a129: Pull complete 07:15:15 ea15f1150254: Pull complete 07:15:18 41b27a9f41bf: Pull complete 07:15:18 28c525ee5125: Pull complete 07:15:20 094b1ea09ed8: Pull complete 07:15:20 138eaada9080: Pull complete 07:15:20 0622d0fa9048: Pull complete 07:15:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:15:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:15:21 prd-centos7-docker-4c-2g-3123 does not seem to be running inside a container 07:15:21 $ 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 07:15:23 $ docker top fa731ca9e1e1ca2e0d347141c0df60a38a290e384250084476b92b21cccd238a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:23 provisioning config files... 07:15:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5495650712135175960tmp [Pipeline] { [Pipeline] echo 07:15:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:15:23 ---> create-netrc.sh [Pipeline] echo 07:15:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:15:24 ---> logs-deploy.sh 07:15:24 + ARCHIVE_ARTIFACTS= 07:15:24 + LOGS_SERVER=https://logs.edgexfoundry.org 07:15:24 + '[' https://logs.edgexfoundry.org == None ']' 07:15:24 + NEXUS_URL=https://nexus.edgexfoundry.org 07:15:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/45 07:15:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/45/ 07:15:24 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/45 /w/workspace/dgexfoundry_device-sdk-go_master 07:15:24 Archives upload complete. 07:15:25 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/45 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/45/