Push event to branch issue-495 Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e Running in Durability level: MAX_SURVIVABILITY 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/issue-495/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 > git --version # 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-4990 in /w/workspace/xfoundry_device-sdk-go_issue-495 [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/xfoundry_device-sdk-go_issue-495 # 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/issue-495:refs/remotes/origin/issue-495 # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/issue-495:refs/remotes/origin/issue-495 # 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/issue-495:refs/remotes/origin/issue-495 # timeout=10 Checking out Revision 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e (issue-495) > git config core.sparsecheckout # timeout=10 > git checkout -f 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e # timeout=10 Commit message: "fix: pass ctx into client initialization function" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:47:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:47:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:47:07 ========================================================= 08:47:07 EdgeX Global Pipelines Version Info 08:47:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:47:09 ------------------- 08:47:09 stable info: 08:47:09 ------------------- 08:47:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:47:09 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 08:47:09 Message: update stable to v1.0.106 08:47:10 ------------------- 08:47:10 experimental info: 08:47:10 ------------------- 08:47:10 Commited By: **** collab-it+edgex@linuxfoundation.org 08:47:10 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 08:47:10 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:12 + git log --format=format:%s -1 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e [Pipeline] echo 08:47:13 GIT_COMMIT: 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e, Commit Message: fix: pass ctx into client initialization function [Pipeline] echo 08:47:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:47:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:14 08:47:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:47:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:14 latest: Pulling from edgex-devops/git-semver 08:47:14 31603596830f: Pulling fs layer 08:47:14 2a8b12db71e7: Pulling fs layer 08:47:14 6ca5941a6612: Pulling fs layer 08:47:14 ecc8261a40a4: Pulling fs layer 08:47:14 ecc8261a40a4: Waiting 08:47:14 2a8b12db71e7: Download complete 08:47:14 31603596830f: Verifying Checksum 08:47:14 31603596830f: Download complete 08:47:14 ecc8261a40a4: Verifying Checksum 08:47:14 ecc8261a40a4: Download complete 08:47:14 6ca5941a6612: Verifying Checksum 08:47:14 6ca5941a6612: Download complete 08:47:15 31603596830f: Pull complete 08:47:15 2a8b12db71e7: Pull complete 08:47:16 6ca5941a6612: Pull complete 08:47:16 ecc8261a40a4: Pull complete 08:47:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:47:16 prd-centos7-docker-4c-2g-4990 does not seem to be running inside a container 08:47:16 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-sdk-go_issue-495 -v /w/workspace/xfoundry_device-sdk-go_issue-495:/w/workspace/xfoundry_device-sdk-go_issue-495:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-495@tmp:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:47:18 $ docker top b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:47:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:19 [ssh-agent] Looking for ssh-agent implementation... 08:47:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:19 $ docker exec b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent 08:47:19 SSH_AUTH_SOCK=/tmp/ssh-nVc2eTFfvuEc/agent.11 08:47:19 SSH_AGENT_PID=17 08:47:19 Running ssh-add (command line suppressed) 08:47:19 Identity added: /w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_1844812346221082735.key (/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_1844812346221082735.key) 08:47:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:19 + git describe --exact-match --tags HEAD 08:47:19 fatal: No names found, cannot describe anything. [Pipeline] } 08:47:19 $ docker exec --env ******** --env ******** b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent -k 08:47:20 unset SSH_AUTH_SOCK; 08:47:20 unset SSH_AGENT_PID; 08:47:20 echo Agent pid 17 killed; 08:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:47:20 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:47:20 This usually means this commit has not been tagged. [Pipeline] sshagent 08:47:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:20 [ssh-agent] Looking for ssh-agent implementation... 08:47:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:20 $ docker exec b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent 08:47:20 SSH_AUTH_SOCK=/tmp/ssh-ntnYqjd6GgSa/agent.46 08:47:20 SSH_AGENT_PID=51 08:47:20 Running ssh-add (command line suppressed) 08:47:20 Identity added: /w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_8691519095279503482.key (/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_8691519095279503482.key) 08:47:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:21 + git semver init 08:47:21 # -> Open(): unable to determine branch for HEAD 08:47:21 # $GIT_DIR = /w/workspace/xfoundry_device-sdk-go_issue-495/.git 08:47:21 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-sdk-go_issue-495 08:47:21 # $SEMVER_REMOTE_NAME = origin 08:47:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:47:21 # $SEMVER_USER_NAME = edgex-jenkins 08:47:21 # $SEMVER_BRANCH = issue-495 08:47:21 # $SEMVER_TEMP = /tmp/semver-074894682 08:47:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:47:21 # '/tmp/semver-074894682' -> '/w/workspace/xfoundry_device-sdk-go_issue-495/.semver' 08:47:21 # -> Force: false 08:47:21 # $SEMVER_DIR = /w/workspace/xfoundry_device-sdk-go_issue-495/.semver [Pipeline] } 08:47:21 $ docker exec --env ******** --env ******** b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent -k 08:47:21 unset SSH_AUTH_SOCK; 08:47:21 unset SSH_AGENT_PID; 08:47:21 echo Agent pid 51 killed; 08:47:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:47:22 + git semver [Pipeline] } 08:47:22 $ docker stop --time=1 b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 08:47:24 $ docker rm -f b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:47:24 Stashed 26 file(s) [Pipeline] echo 08:47:24 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 08:47:25 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 08:47:40 Still waiting to schedule task 08:47:40 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4990’ 08:47:40 Still waiting to schedule task 08:47:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:49:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4991 in /w/workspace/xfoundry_device-sdk-go_issue-495 [Pipeline] { [Pipeline] ws 08:49:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:49:42 using credential edgex-jenkins-ssh 08:49:42 Cloning the remote Git repository 08:49:42 Cloning with configured refspecs honoured and without tags 08:49:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:49:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:49:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:49:43 > git --version # timeout=10 08:49:43 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 08:49:44 Fetching without tags 08:49:44 Checking out Revision 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e (issue-495) 08:49:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:49:44 > git config --add remote.origin.fetch +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 08:49:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:49:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 08:49:44 > git config core.sparsecheckout # timeout=10 08:49:44 > git checkout -f 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e # timeout=10 08:49:49 Commit message: "fix: pass ctx into client initialization function" 08:49:49 > git --version # timeout=10 08:49:49 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:49:50 ========================================================= 08:49:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:49:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:49:51 + 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 . 08:49:52 Sending build context to Docker daemon 3.049MB 08:49:52 Step 1/8 : ARG BASE=golang:1.13-alpine 08:49:52 Step 2/8 : FROM ${BASE} 08:49:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:49:53 b538f80385f9: Pulling fs layer 08:49:53 74f711af9a0d: Pulling fs layer 08:49:53 99f96fe45779: Pulling fs layer 08:49:53 fd7a069fd194: Pulling fs layer 08:49:53 66aa3694b03b: Pulling fs layer 08:49:53 170f70906a0f: Pulling fs layer 08:49:53 ad7c5574e4b9: Pulling fs layer 08:49:53 e772456be8f7: Pulling fs layer 08:49:53 c890913d741a: Pulling fs layer 08:49:53 2480fcc9aa5a: Pulling fs layer 08:49:53 09adf4765672: Pulling fs layer 08:49:53 fd7a069fd194: Waiting 08:49:53 66aa3694b03b: Waiting 08:49:53 ad7c5574e4b9: Waiting 08:49:53 170f70906a0f: Waiting 08:49:53 e772456be8f7: Waiting 08:49:53 c890913d741a: Waiting 08:49:53 2480fcc9aa5a: Waiting 08:49:53 09adf4765672: Waiting 08:49:53 99f96fe45779: Download complete 08:49:53 74f711af9a0d: Verifying Checksum 08:49:53 74f711af9a0d: Download complete 08:49:53 66aa3694b03b: Verifying Checksum 08:49:53 66aa3694b03b: Download complete 08:49:53 170f70906a0f: Verifying Checksum 08:49:53 170f70906a0f: Download complete 08:49:53 b538f80385f9: Verifying Checksum 08:49:54 b538f80385f9: Pull complete 08:49:54 74f711af9a0d: Pull complete 08:49:55 99f96fe45779: Pull complete 08:49:56 ad7c5574e4b9: Verifying Checksum 08:49:56 ad7c5574e4b9: Download complete 08:49:56 c890913d741a: Verifying Checksum 08:49:56 c890913d741a: Download complete 08:49:58 e772456be8f7: Verifying Checksum 08:49:58 e772456be8f7: Download complete 08:49:58 2480fcc9aa5a: Download complete 08:49:58 09adf4765672: Download complete 08:49:58 fd7a069fd194: Verifying Checksum 08:49:58 fd7a069fd194: Download complete 08:50:11 fd7a069fd194: Pull complete 08:50:11 66aa3694b03b: Pull complete 08:50:11 170f70906a0f: Pull complete 08:50:14 ad7c5574e4b9: Pull complete 08:50:19 e772456be8f7: Pull complete 08:50:19 c890913d741a: Pull complete 08:50:21 2480fcc9aa5a: Pull complete 08:50:21 09adf4765672: Pull complete 08:50:21 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:50:21 ---> 2248a725d1cf 08:50:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:27 ---> Running in 836408cd0879 08:50:27 Removing intermediate container 836408cd0879 08:50:27 ---> f4b84f85539f 08:50:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:27 ---> Running in 1c539910426a 08:50:27 Running on prd-centos7-docker-4c-2g-4992 in /w/workspace/xfoundry_device-sdk-go_issue-495 [Pipeline] { [Pipeline] ws 08:50:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:50:29 Removing intermediate container 1c539910426a 08:50:29 ---> 01bf8c95f505 08:50:29 Step 5/8 : RUN apk add --no-cache make git 08:50:29 ---> Running in b7cbca169d99 08:50:30 using credential edgex-jenkins-ssh 08:50:30 Cloning the remote Git repository 08:50:30 Cloning with configured refspecs honoured and without tags 08:50:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:50:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:50:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:50:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:50:30 > git --version # timeout=10 08:50:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:50:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 08:50:32 Fetching without tags 08:50:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:50:32 Checking out Revision 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e (issue-495) 08:50:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:50:32 > git config --add remote.origin.fetch +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 08:50:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:50:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 08:50:32 > git config core.sparsecheckout # timeout=10 08:50:32 > git checkout -f 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e # timeout=10 08:50:32 OK: 142 MiB in 39 packages 08:50:33 Removing intermediate container b7cbca169d99 08:50:33 ---> 6b4f42b624cd 08:50:33 Step 6/8 : WORKDIR /device-sdk-go 08:50:33 ---> Running in 2ceb61f655f2 08:50:34 Removing intermediate container 2ceb61f655f2 08:50:34 ---> 32b767fc0aa8 08:50:34 Step 7/8 : COPY . . 08:50:35 ---> 806bfb897bc9 08:50:35 Step 8/8 : RUN go mod download 08:50:35 ---> Running in e81c6e270208 08:50:36 Commit message: "fix: pass ctx into client initialization function" 08:50:36 > git --version # timeout=10 08:50:36 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:50:37 ========================================================= 08:50:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:50:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:50:37 + 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 . 08:50:38 go: finding github.com/BurntSushi/toml v0.3.1 08:50:38 Sending build context to Docker daemon 3.049MB 08:50:38 Step 1/8 : ARG BASE=golang:1.13-alpine 08:50:38 Step 2/8 : FROM ${BASE} 08:50:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:50:38 df20fa9351a1: Pulling fs layer 08:50:38 ed8968b2872e: Pulling fs layer 08:50:38 a92cc7c5fd73: Pulling fs layer 08:50:38 2dd03ba5bac4: Pulling fs layer 08:50:38 1e091d79d1de: Pulling fs layer 08:50:38 481702a1767f: Pulling fs layer 08:50:38 f64a6f60c768: Pulling fs layer 08:50:38 e78d2573fc39: Pulling fs layer 08:50:38 e876d2f968b6: Pulling fs layer 08:50:38 ce8a83651883: Pulling fs layer 08:50:38 07967f4d0e4b: Pulling fs layer 08:50:38 f64a6f60c768: Waiting 08:50:38 e78d2573fc39: Waiting 08:50:38 e876d2f968b6: Waiting 08:50:38 ce8a83651883: Waiting 08:50:38 07967f4d0e4b: Waiting 08:50:38 2dd03ba5bac4: Waiting 08:50:38 1e091d79d1de: Waiting 08:50:38 481702a1767f: Waiting 08:50:38 a92cc7c5fd73: Verifying Checksum 08:50:38 a92cc7c5fd73: Download complete 08:50:38 ed8968b2872e: Verifying Checksum 08:50:38 ed8968b2872e: Download complete 08:50:38 go: finding github.com/OneOfOne/xxhash v1.2.6 08:50:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:50:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:50:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:50:38 go: finding github.com/bgentry/speakeasy v0.1.0 08:50:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:50:38 go: finding github.com/davecgh/go-spew v1.1.1 08:50:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 08:50:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:50:38 1e091d79d1de: Verifying Checksum 08:50:38 1e091d79d1de: Download complete 08:50:38 481702a1767f: Download complete 08:50:38 df20fa9351a1: Verifying Checksum 08:50:38 df20fa9351a1: Download complete 08:50:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:50:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:50:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:50:38 go: finding github.com/fatih/color v1.7.0 08:50:38 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:50:38 go: finding github.com/go-kit/kit v0.8.0 08:50:38 go: finding github.com/go-logfmt/logfmt v0.4.0 08:50:38 go: finding github.com/go-stack/stack v1.8.0 08:50:39 df20fa9351a1: Pull complete 08:50:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:50:39 go: finding github.com/google/uuid v1.1.0 08:50:39 go: finding github.com/gorilla/mux v1.7.1 08:50:39 go: finding github.com/hashicorp/consul/api v1.1.0 08:50:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:50:39 go: finding github.com/hashicorp/errwrap v1.0.0 08:50:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:50:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:50:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:50:39 ed8968b2872e: Pull complete 08:50:39 a92cc7c5fd73: Pull complete 08:50:39 go: finding github.com/hashicorp/go-multierror v1.0.0 08:50:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:50:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:50:39 go: finding github.com/hashicorp/go-syslog v1.0.0 08:50:39 go: finding github.com/hashicorp/go-uuid v1.0.1 08:50:39 go: finding github.com/hashicorp/go.net v0.0.1 08:50:39 go: finding github.com/hashicorp/golang-lru v0.5.0 08:50:39 go: finding github.com/hashicorp/logutils v1.0.0 08:50:39 go: finding github.com/hashicorp/mdns v1.0.0 08:50:39 go: finding github.com/hashicorp/memberlist v0.1.3 08:50:39 go: finding github.com/hashicorp/serf v0.8.2 08:50:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:50:39 go: finding github.com/mattn/go-colorable v0.0.9 08:50:39 go: finding github.com/mattn/go-isatty v0.0.3 08:50:39 go: finding github.com/miekg/dns v1.0.14 08:50:39 go: finding github.com/mitchellh/cli v1.0.0 08:50:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:50:39 go: finding github.com/mitchellh/copystructure v1.0.0 08:50:39 go: finding github.com/mitchellh/go-homedir v1.0.0 08:50:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:50:39 go: finding github.com/mitchellh/gox v0.4.0 08:50:39 go: finding github.com/mitchellh/iochan v1.0.0 08:50:39 f64a6f60c768: Verifying Checksum 08:50:39 f64a6f60c768: Download complete 08:50:39 e876d2f968b6: Verifying Checksum 08:50:39 e876d2f968b6: Download complete 08:50:39 go: finding github.com/mitchellh/mapstructure v1.1.2 08:50:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:50:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:50:39 go: finding github.com/pelletier/go-toml v1.2.0 08:50:39 go: finding github.com/pkg/errors v0.8.1 08:50:39 go: finding github.com/pmezard/go-difflib v1.0.0 08:50:39 go: finding github.com/posener/complete v1.1.1 08:50:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:50:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:50:39 go: finding github.com/stretchr/objx v0.1.0 08:50:40 go: finding github.com/stretchr/testify v1.5.1 08:50:40 go: finding github.com/ugorji/go v1.1.4 08:50:40 go: finding github.com/x448/float16 v0.8.4 08:50:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:50:40 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:50:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:50:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:50:40 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:50:40 go: finding gopkg.in/yaml.v2 v2.2.8 08:50:40 2dd03ba5bac4: Verifying Checksum 08:50:40 2dd03ba5bac4: Download complete 08:50:40 07967f4d0e4b: Verifying Checksum 08:50:40 07967f4d0e4b: Download complete 08:50:40 e78d2573fc39: Verifying Checksum 08:50:40 e78d2573fc39: Download complete 08:50:40 ce8a83651883: Verifying Checksum 08:50:40 ce8a83651883: Download complete 08:50:47 2dd03ba5bac4: Pull complete 08:50:47 1e091d79d1de: Pull complete 08:50:47 481702a1767f: Pull complete 08:50:50 Removing intermediate container e81c6e270208 08:50:50 ---> bbdeb2b21f36 08:50:50 Successfully built bbdeb2b21f36 08:50:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:50:51 + docker inspect -f . ci-base-image-arm64 08:50:51 . [Pipeline] withDockerContainer 08:50:51 prd-ubuntu18.04-docker-arm64-4c-16g-4991 does not seem to be running inside a container 08:50:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:52 f64a6f60c768: Pull complete 08:50:53 $ docker top 2e96a481080e845c241bbf52d2678d069908396cdeb77c7b6bb5b918769f7bc7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:54 + go version 08:50:54 go version go1.13.13 linux/arm64 [Pipeline] sh 08:50:56 + make test 08:50:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:50:56 e78d2573fc39: Pull complete 08:50:56 e876d2f968b6: Pull complete 08:50:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:50:57 ce8a83651883: Pull complete 08:50:57 07967f4d0e4b: Pull complete 08:50:57 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:50:57 ---> 5d7c900382c6 08:50:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:57 ---> Running in 041bd1eaee92 08:50:58 Removing intermediate container 041bd1eaee92 08:50:58 ---> 825341d7213f 08:50:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:58 ---> Running in fa00265151b3 08:50:59 Removing intermediate container fa00265151b3 08:50:59 ---> 6d1e51ace74e 08:50:59 Step 5/8 : RUN apk add --no-cache make git 08:50:59 ---> Running in d5a4d6b8e302 08:51:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:51:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:51:01 OK: 166 MiB in 39 packages 08:51:01 Removing intermediate container d5a4d6b8e302 08:51:01 ---> 56bf44a02437 08:51:01 Step 6/8 : WORKDIR /device-sdk-go 08:51:01 ---> Running in 20ba87857ba2 08:51:02 Removing intermediate container 20ba87857ba2 08:51:02 ---> 0ed363d930a7 08:51:02 Step 7/8 : COPY . . 08:51:03 ---> e8e553fbab16 08:51:03 Step 8/8 : RUN go mod download 08:51:03 ---> Running in 13696bb19051 08:51:05 go: finding github.com/BurntSushi/toml v0.3.1 08:51:05 go: finding github.com/OneOfOne/xxhash v1.2.6 08:51:05 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:51:05 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:51:05 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:51:05 go: finding github.com/bgentry/speakeasy v0.1.0 08:51:05 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:51:05 go: finding github.com/davecgh/go-spew v1.1.1 08:51:05 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 08:51:05 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:51:05 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:51:05 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:51:05 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:51:05 go: finding github.com/fatih/color v1.7.0 08:51:05 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:51:05 go: finding github.com/go-kit/kit v0.8.0 08:51:05 go: finding github.com/go-logfmt/logfmt v0.4.0 08:51:05 go: finding github.com/go-stack/stack v1.8.0 08:51:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:51:05 go: finding github.com/google/uuid v1.1.0 08:51:05 go: finding github.com/gorilla/mux v1.7.1 08:51:05 go: finding github.com/hashicorp/consul/api v1.1.0 08:51:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:51:05 go: finding github.com/hashicorp/errwrap v1.0.0 08:51:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:51:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:51:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:51:05 go: finding github.com/hashicorp/go-multierror v1.0.0 08:51:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:51:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:51:06 go: finding github.com/hashicorp/go-syslog v1.0.0 08:51:06 go: finding github.com/hashicorp/go-uuid v1.0.1 08:51:06 go: finding github.com/hashicorp/go.net v0.0.1 08:51:06 go: finding github.com/hashicorp/golang-lru v0.5.0 08:51:06 go: finding github.com/hashicorp/logutils v1.0.0 08:51:06 go: finding github.com/hashicorp/mdns v1.0.0 08:51:06 go: finding github.com/hashicorp/memberlist v0.1.3 08:51:06 go: finding github.com/hashicorp/serf v0.8.2 08:51:06 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:51:06 go: finding github.com/mattn/go-colorable v0.0.9 08:51:06 go: finding github.com/mattn/go-isatty v0.0.3 08:51:06 go: finding github.com/miekg/dns v1.0.14 08:51:06 go: finding github.com/mitchellh/cli v1.0.0 08:51:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:51:06 go: finding github.com/mitchellh/copystructure v1.0.0 08:51:06 go: finding github.com/mitchellh/go-homedir v1.0.0 08:51:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:51:06 go: finding github.com/mitchellh/gox v0.4.0 08:51:06 go: finding github.com/mitchellh/iochan v1.0.0 08:51:06 go: finding github.com/mitchellh/mapstructure v1.1.2 08:51:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:51:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:51:06 go: finding github.com/pelletier/go-toml v1.2.0 08:51:06 go: finding github.com/pkg/errors v0.8.1 08:51:06 go: finding github.com/pmezard/go-difflib v1.0.0 08:51:06 go: finding github.com/posener/complete v1.1.1 08:51:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:51:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:51:06 go: finding github.com/stretchr/objx v0.1.0 08:51:06 go: finding github.com/stretchr/testify v1.5.1 08:51:06 go: finding github.com/ugorji/go v1.1.4 08:51:06 go: finding github.com/x448/float16 v0.8.4 08:51:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:51:06 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:51:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:51:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:51:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:51:07 go: finding gopkg.in/yaml.v2 v2.2.8 08:51:15 Removing intermediate container 13696bb19051 08:51:15 ---> d9405703f84f 08:51:15 Successfully built d9405703f84f 08:51:15 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 08:51:16 + docker inspect -f . ci-base-image-x86_64 08:51:16 . [Pipeline] withDockerContainer 08:51:16 prd-centos7-docker-4c-2g-4992 does not seem to be running inside a container 08:51:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:51:17 $ docker top 15b67f9fc74715c9b6df1bd10aeaedf6dc8ff3e0a2fa110c7940aa99b3ffb236 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:18 + go version 08:51:18 go version go1.13.13 linux/amd64 [Pipeline] sh 08:51:18 + make test 08:51:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:51:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:51:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:51:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:51:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:51:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements 08:51:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.142s coverage: 95.8% of statements 08:51:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:51:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:51:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:51:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements 08:51:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements 08:52:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.108s coverage: 11.3% of statements 08:52:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.089s coverage: 21.7% of statements 08:52:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:52:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.142s coverage: 36.9% of statements 08:52:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:52:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.487s coverage: 65.2% of statements 08:52:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:52:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:52:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:52:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.143s coverage: 52.6% of statements 08:52:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 68.9% of statements 08:52:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:52:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:52:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:52:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 11.3% of statements 08:52:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.7% of statements 08:52:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:52:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.088s coverage: 36.9% of statements 08:52:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:52:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.380s coverage: 65.2% of statements 08:52:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:52:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:52:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:52:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 08:52:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements 08:52:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:52:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:52:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:52:02 gofmt -l . 08:52:02 [ "`gofmt -l .`" = "" ] 08:52:02 ./bin/test-attribution-txt.sh 08:52:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:52:03 Stashed 1 file(s) [Pipeline] } 08:52:03 $ docker stop --time=1 15b67f9fc74715c9b6df1bd10aeaedf6dc8ff3e0a2fa110c7940aa99b3ffb236 08:52:04 gofmt -l . 08:52:04 $ docker rm -f 15b67f9fc74715c9b6df1bd10aeaedf6dc8ff3e0a2fa110c7940aa99b3ffb236 08:52:04 [ "`gofmt -l .`" = "" ] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 08:52:05 ./bin/test-attribution-txt.sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 08:52:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:52:07 Warning: overwriting stash ‘coverage-report’ [Pipeline] sh 08:52:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:07 + ls -al . 08:52:07 total 188 08:52:07 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 12 08:52 . 08:52:07 drwxrwxr-x. 4 jenkins jenkins 28 Aug 12 08:50 .. 08:52:07 drwxrwxr-x. 2 jenkins jenkins 64 Aug 12 08:50 bin 08:52:07 -rw-r--r--. 1 jenkins jenkins 111044 Aug 12 08:51 coverage.out 08:52:07 -rw-rw-r--. 1 jenkins jenkins 936 Aug 12 08:50 Dockerfile.build 08:52:07 -rw-rw-r--. 1 jenkins jenkins 140 Aug 12 08:50 .dockerignore 08:52:07 drwxrwxr-x. 4 jenkins jenkins 48 Aug 12 08:50 example 08:52:07 drwxrwxr-x. 8 jenkins jenkins 162 Aug 12 08:50 .git 08:52:07 drwxrwxr-x. 2 jenkins jenkins 38 Aug 12 08:50 .github 08:52:07 -rw-rw-r--. 1 jenkins jenkins 138 Aug 12 08:50 .gitignore 08:52:07 -rw-r--r--. 1 jenkins jenkins 446 Aug 12 08:52 go.mod 08:52:07 -rw-r--r--. 1 jenkins jenkins 12179 Aug 12 08:52 go.sum 08:52:07 drwxrwxr-x. 13 jenkins jenkins 184 Aug 12 08:50 internal 08:52:07 -rw-rw-r--. 1 jenkins jenkins 808 Aug 12 08:50 Jenkinsfile 08:52:07 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 12 08:50 LICENSE 08:52:07 -rw-rw-r--. 1 jenkins jenkins 892 Aug 12 08:50 Makefile 08:52:07 drwxrwxr-x. 4 jenkins jenkins 26 Aug 12 08:50 openapi 08:52:07 drwxrwxr-x. 5 jenkins jenkins 50 Aug 12 08:50 pkg 08:52:07 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 12 08:50 README.md 08:52:07 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 12 08:50 RELEASE-NOTES.txt 08:52:07 drwxrwxr-x. 3 jenkins jenkins 61 Aug 12 08:50 .semver 08:52:07 drwxrwxr-x. 4 jenkins jenkins 54 Aug 12 08:50 snap 08:52:07 -rw-rw-r--. 1 jenkins jenkins 5 Aug 12 08:47 VERSION 08:52:07 -rw-rw-r--. 1 jenkins jenkins 222 Aug 12 08:50 version.go [Pipeline] isUnix [Pipeline] sh 08:52:08 Stashed 1 file(s) [Pipeline] } 08:52:08 $ docker stop --time=1 2e96a481080e845c241bbf52d2678d069908396cdeb77c7b6bb5b918769f7bc7 08:52:08 + 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=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e --label arch=amd64 --label version=0.0.0 . 08:52:08 Sending build context to Docker daemon 3.177MB 08:52:08 Step 1/23 : ARG BASE=golang:1.13-alpine 08:52:08 Step 2/23 : FROM ${BASE} AS builder 08:52:08 ---> d9405703f84f 08:52:08 Step 3/23 : ARG MAKE='make build' 08:52:08 ---> Running in 58d6fdfb3c1a 08:52:09 Removing intermediate container 58d6fdfb3c1a 08:52:09 ---> 4979e9971338 08:52:09 Step 4/23 : WORKDIR /device-sdk-go 08:52:09 ---> Running in 1cc8275542d3 08:52:09 Removing intermediate container 1cc8275542d3 08:52:09 ---> 50f8c11b7cc0 08:52:09 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:09 ---> Running in 1982302bb6e6 08:52:09 Removing intermediate container 1982302bb6e6 08:52:09 ---> 58634cfe09ef 08:52:09 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:09 ---> Running in 145af73c25ae 08:52:10 $ docker rm -f 2e96a481080e845c241bbf52d2678d069908396cdeb77c7b6bb5b918769f7bc7 08:52:10 Removing intermediate container 145af73c25ae 08:52:10 ---> 02ce760e400f 08:52:10 Step 7/23 : RUN apk add --update --no-cache make git 08:52:10 ---> Running in e14924391871 [Pipeline] // withDockerContainer 08:52:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:52:11 OK: 166 MiB in 39 packages 08:52:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:12 + ls -al . 08:52:12 total 228 08:52:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 08:52 . 08:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 .. 08:52:12 -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 08:49 .dockerignore 08:52:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 08:49 .git 08:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 08:49 .github 08:52:12 -rw-rw-r-- 1 jenkins jenkins 138 Aug 12 08:49 .gitignore 08:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 08:49 .semver 08:52:12 -rw-rw-r-- 1 jenkins jenkins 936 Aug 12 08:49 Dockerfile.build 08:52:12 -rw-rw-r-- 1 jenkins jenkins 808 Aug 12 08:49 Jenkinsfile 08:52:12 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 08:49 LICENSE 08:52:12 -rw-rw-r-- 1 jenkins jenkins 892 Aug 12 08:49 Makefile 08:52:12 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 12 08:49 README.md 08:52:12 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 12 08:49 RELEASE-NOTES.txt 08:52:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 08:47 VERSION 08:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 08:49 bin 08:52:12 -rw-r--r-- 1 jenkins jenkins 111044 Aug 12 08:51 coverage.out 08:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 example 08:52:12 -rw-r--r-- 1 jenkins jenkins 446 Aug 12 08:52 go.mod 08:52:12 -rw-r--r-- 1 jenkins jenkins 12179 Aug 12 08:52 go.sum 08:52:12 drwxrwxr-x 13 jenkins jenkins 4096 Aug 12 08:49 internal 08:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 openapi 08:52:12 drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 08:49 pkg 08:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 snap 08:52:12 -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 08:49 version.go [Pipeline] isUnix [Pipeline] sh 08:52:12 Removing intermediate container e14924391871 08:52:12 ---> 93aad111e308 08:52:12 Step 8/23 : COPY . . 08:52:12 + 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=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e --label arch=arm64 --label version=0.0.0 . 08:52:13 Sending build context to Docker daemon 3.177MB 08:52:13 Step 1/23 : ARG BASE=golang:1.13-alpine 08:52:13 Step 2/23 : FROM ${BASE} AS builder 08:52:13 ---> bbdeb2b21f36 08:52:13 Step 3/23 : ARG MAKE='make build' 08:52:13 ---> Running in 1b39e453c85b 08:52:13 ---> f895b088a499 08:52:13 Step 9/23 : RUN ${MAKE} 08:52:13 ---> Running in 818185afb909 08:52:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:52:13 Removing intermediate container 1b39e453c85b 08:52:13 ---> bffbbdf0be2d 08:52:13 Step 4/23 : WORKDIR /device-sdk-go 08:52:13 ---> Running in 59db874676d3 08:52:14 Removing intermediate container 59db874676d3 08:52:14 ---> eed833357bc1 08:52:14 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:14 ---> Running in 20a6641cc85a 08:52:15 Removing intermediate container 20a6641cc85a 08:52:15 ---> 9ea99b1897f4 08:52:15 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:15 ---> Running in f70d7458aed6 08:52:17 Removing intermediate container f70d7458aed6 08:52:17 ---> 0509f1653b36 08:52:17 Step 7/23 : RUN apk add --update --no-cache make git 08:52:17 ---> Running in 04319e630d6a 08:52:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:52:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:52:20 OK: 142 MiB in 39 packages 08:52:21 Removing intermediate container 04319e630d6a 08:52:21 ---> 487714b850db 08:52:21 Step 8/23 : COPY . . 08:52:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:52:22 ---> a3f3b79af079 08:52:22 Step 9/23 : RUN ${MAKE} 08:52:22 ---> Running in 01338d7530e6 08:52:23 Removing intermediate container 818185afb909 08:52:23 ---> 4ba764b579e1 08:52:23 Step 10/23 : FROM scratch 08:52:23 ---> 08:52:23 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:23 ---> Running in 57b49c01cefb 08:52:23 Removing intermediate container 57b49c01cefb 08:52:23 ---> 300a6d518fe4 08:52:23 Step 12/23 : ENV APP_PORT=49990 08:52:23 ---> Running in 443067f8d02b 08:52:23 Removing intermediate container 443067f8d02b 08:52:23 ---> f462c1d61436 08:52:23 Step 13/23 : EXPOSE $APP_PORT 08:52:23 ---> Running in 97b9ddd55e92 08:52:24 Removing intermediate container 97b9ddd55e92 08:52:24 ---> 8e960c1d7065 08:52:24 Step 14/23 : WORKDIR / 08:52:24 ---> Running in 48092e6d7a81 08:52:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:52:24 Removing intermediate container 48092e6d7a81 08:52:24 ---> 720c1ef4c36b 08:52:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:52:24 ---> f66ff5fd1076 08:52:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:52:24 ---> 99936c647843 08:52:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:52:25 ---> 460330b634d1 08:52:25 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:52:25 ---> 74c77ae2b691 08:52:25 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:52:25 ---> a1e8217e9395 08:52:25 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:52:25 ---> Running in d48270e17acf 08:52:25 Removing intermediate container d48270e17acf 08:52:25 ---> 10ce42427f1d 08:52:25 Step 21/23 : LABEL arch=amd64 08:52:25 ---> Running in 81e8f29e8c08 08:52:26 Removing intermediate container 81e8f29e8c08 08:52:26 ---> b772beb5a65c 08:52:26 Step 22/23 : LABEL git_sha=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e 08:52:26 ---> Running in baa3ec903c09 08:52:26 Removing intermediate container baa3ec903c09 08:52:26 ---> 95fdc0326664 08:52:26 Step 23/23 : LABEL version=0.0.0 08:52:26 ---> Running in 284ee2647a50 08:52:26 Removing intermediate container 284ee2647a50 08:52:26 ---> 13f54d194ade 08:52:26 [Warning] One or more build-args [ARCH] were not consumed 08:52:26 Successfully built 13f54d194ade 08:52:26 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] } 08:52:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:52:51 Removing intermediate container 01338d7530e6 08:52:51 ---> 0968e5bee111 08:52:51 Step 10/23 : FROM scratch 08:52:51 ---> 08:52:51 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:51 ---> Running in e6b98a9a27f1 08:52:51 Removing intermediate container e6b98a9a27f1 08:52:51 ---> 7076aa4dcb22 08:52:51 Step 12/23 : ENV APP_PORT=49990 08:52:51 ---> Running in df5f2d6fe289 08:52:51 Removing intermediate container df5f2d6fe289 08:52:51 ---> 949e11c993d2 08:52:51 Step 13/23 : EXPOSE $APP_PORT 08:52:51 ---> Running in 1156f8ea0edc 08:52:51 Removing intermediate container 1156f8ea0edc 08:52:51 ---> 415e99523307 08:52:51 Step 14/23 : WORKDIR / 08:52:51 ---> Running in 864fbf6fe85d 08:52:52 Removing intermediate container 864fbf6fe85d 08:52:52 ---> a1a4ad0a4acd 08:52:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:52:53 ---> 6406d6b92c4a 08:52:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:52:54 ---> fd9806560009 08:52:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:52:54 ---> 07a7291b2934 08:52:54 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:52:55 ---> 6ea1180ede8c 08:52:55 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:52:56 ---> c4649a6244ee 08:52:56 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:52:56 ---> Running in c98741dea836 08:52:56 Removing intermediate container c98741dea836 08:52:56 ---> 4047a9814a12 08:52:56 Step 21/23 : LABEL arch=arm64 08:52:57 ---> Running in fa4d8bf5bda0 08:52:57 Removing intermediate container fa4d8bf5bda0 08:52:57 ---> 1c6583ca3736 08:52:57 Step 22/23 : LABEL git_sha=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e 08:52:57 ---> Running in 458739ab9ff1 08:52:58 Removing intermediate container 458739ab9ff1 08:52:58 ---> 2c373ecc5fc0 08:52:58 Step 23/23 : LABEL version=0.0.0 08:52:58 ---> Running in eea9a3e5625b 08:52:59 Removing intermediate container eea9a3e5625b 08:52:59 ---> d910d99f0078 08:52:59 [Warning] One or more build-args [ARCH] were not consumed 08:52:59 Successfully built d910d99f0078 08:52:59 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 08:53:01 provisioning config files... 08:53:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/config8778898022150403928tmp [Pipeline] { [Pipeline] sh 08:53:02 + curl -s https://codecov.io/bash 08:53:02 + bash -s - -t @/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/config8778898022150403928tmp [Pipeline] } 08:53:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:53:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:53:06 ---> package-listing.sh 08:53:06 ++ facter osfamily 08:53:06 ++ tr '[:upper:]' '[:lower:]' 08:53:06 + OS_FAMILY=redhat 08:53:06 + workspace=/w/workspace/xfoundry_device-sdk-go_issue-495 08:53:06 + START_PACKAGES=/tmp/packages_start.txt 08:53:06 + END_PACKAGES=/tmp/packages_end.txt 08:53:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:53:06 + PACKAGES=/tmp/packages_start.txt 08:53:06 + '[' /w/workspace/xfoundry_device-sdk-go_issue-495 ']' 08:53:06 + PACKAGES=/tmp/packages_end.txt 08:53:06 + case "${OS_FAMILY}" in 08:53:06 + rpm -qa 08:53:06 + sort 08:53:10 + '[' -f /tmp/packages_start.txt ']' 08:53:10 + '[' -f /tmp/packages_end.txt ']' 08:53:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:53:10 + '[' /w/workspace/xfoundry_device-sdk-go_issue-495 ']' 08:53:10 + mkdir -p /w/workspace/xfoundry_device-sdk-go_issue-495/archives/ 08:53:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-sdk-go_issue-495/archives/ [Pipeline] isUnix [Pipeline] sh 08:53:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:53:11 08:53:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:53:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:53:11 alpine: Pulling from edgex-lftools-log-publisher 08:53:11 c9b1b535fdd9: Pulling fs layer 08:53:11 2cc5ad85d9ab: Pulling fs layer 08:53:11 756a868c4378: Pulling fs layer 08:53:11 444b2fc9a129: Pulling fs layer 08:53:11 ea15f1150254: Pulling fs layer 08:53:11 41b27a9f41bf: Pulling fs layer 08:53:11 28c525ee5125: Pulling fs layer 08:53:11 094b1ea09ed8: Pulling fs layer 08:53:11 138eaada9080: Pulling fs layer 08:53:11 0622d0fa9048: Pulling fs layer 08:53:11 ea15f1150254: Waiting 08:53:11 41b27a9f41bf: Waiting 08:53:11 28c525ee5125: Waiting 08:53:11 094b1ea09ed8: Waiting 08:53:11 138eaada9080: Waiting 08:53:11 0622d0fa9048: Waiting 08:53:11 444b2fc9a129: Waiting 08:53:11 2cc5ad85d9ab: Verifying Checksum 08:53:11 2cc5ad85d9ab: Download complete 08:53:11 444b2fc9a129: Verifying Checksum 08:53:11 444b2fc9a129: Download complete 08:53:11 c9b1b535fdd9: Verifying Checksum 08:53:11 c9b1b535fdd9: Download complete 08:53:11 ea15f1150254: Verifying Checksum 08:53:11 ea15f1150254: Download complete 08:53:11 28c525ee5125: Verifying Checksum 08:53:11 28c525ee5125: Download complete 08:53:12 756a868c4378: Verifying Checksum 08:53:12 756a868c4378: Download complete 08:53:12 c9b1b535fdd9: Pull complete 08:53:12 138eaada9080: Verifying Checksum 08:53:12 138eaada9080: Download complete 08:53:12 094b1ea09ed8: Verifying Checksum 08:53:12 094b1ea09ed8: Download complete 08:53:12 0622d0fa9048: Verifying Checksum 08:53:12 0622d0fa9048: Download complete 08:53:12 2cc5ad85d9ab: Pull complete 08:53:12 41b27a9f41bf: Verifying Checksum 08:53:12 41b27a9f41bf: Download complete 08:53:14 756a868c4378: Pull complete 08:53:14 444b2fc9a129: Pull complete 08:53:14 ea15f1150254: Pull complete 08:53:18 41b27a9f41bf: Pull complete 08:53:18 28c525ee5125: Pull complete 08:53:20 094b1ea09ed8: Pull complete 08:53:20 138eaada9080: Pull complete 08:53:21 0622d0fa9048: Pull complete 08:53:21 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:53:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:53:21 prd-centos7-docker-4c-2g-4990 does not seem to be running inside a container 08:53:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-sdk-go_issue-495 -v /w/workspace/xfoundry_device-sdk-go_issue-495:/w/workspace/xfoundry_device-sdk-go_issue-495:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-495@tmp:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:53:24 $ docker top 0a5fdbcfdb8a574dc20f1b1849af75b5fd092a2767bec58f8c3e7d5c98b39088 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:53:24 provisioning config files... 08:53:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/config232454965897560644tmp [Pipeline] { [Pipeline] echo 08:53:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:53:25 ---> create-netrc.sh [Pipeline] echo 08:53:25 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:53:25 ---> logs-deploy.sh 08:53:25 + ARCHIVE_ARTIFACTS= 08:53:25 + LOGS_SERVER=https://logs.edgexfoundry.org 08:53:25 + '[' https://logs.edgexfoundry.org == None ']' 08:53:25 + NEXUS_URL=https://nexus.edgexfoundry.org 08:53:25 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-495/1 08:53:25 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-495/1/ 08:53:25 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-495/1 /w/workspace/xfoundry_device-sdk-go_issue-495 08:53:26 Archives upload complete. 08:53:26 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-495/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-495/1/