Pull request #567 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1aa17e6abc92c51428010a290bf5bebce8fc8a7d+ce316cea3dee80a2f116041d01b56dbf0103bc38 (67d02ea6316555d86a20232db73ec37b4d632943) 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 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-425 in /w/workspace/dgexfoundry_device-sdk-go_PR-567 [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_PR-567 # 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/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ce316cea3dee80a2f116041d01b56dbf0103bc38 into PR head commit 1aa17e6abc92c51428010a290bf5bebce8fc8a7d Merge succeeded, producing 1aa17e6abc92c51428010a290bf5bebce8fc8a7d Checking out Revision 1aa17e6abc92c51428010a290bf5bebce8fc8a7d (PR-567) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/567/head:refs/remotes/origin/PR-567 # 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/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ce316cea3dee80a2f116041d01b56dbf0103bc38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 Commit message: "Rename DeviceServiceSDK struct to DeviceService" > git rev-list --no-walk 845e8c422c832060357d592ef2f6e1169f8809d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:56:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:56:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:56:47 ========================================================= 23:56:47 EdgeX Global Pipelines Version Info 23:56:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:56:48 ------------------- 23:56:48 stable info: 23:56:48 ------------------- 23:56:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:56:48 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 23:56:48 Message: update stable to v1.0.106 23:56:49 ------------------- 23:56:49 experimental info: 23:56:49 ------------------- 23:56:49 Commited By: **** collab-it+edgex@linuxfoundation.org 23:56:49 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 23:56:49 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 23:56:52 + git log --format=format:%s -1 1aa17e6abc92c51428010a290bf5bebce8fc8a7d [Pipeline] echo 23:56:52 GIT_COMMIT: 1aa17e6abc92c51428010a290bf5bebce8fc8a7d, Commit Message: Rename DeviceServiceSDK struct to DeviceService [Pipeline] echo 23:56:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:56:54 23:56:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:56:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:56:54 latest: Pulling from edgex-devops/git-semver 23:56:54 31603596830f: Pulling fs layer 23:56:54 2a8b12db71e7: Pulling fs layer 23:56:54 6ca5941a6612: Pulling fs layer 23:56:54 ecc8261a40a4: Pulling fs layer 23:56:54 ecc8261a40a4: Waiting 23:56:54 2a8b12db71e7: Verifying Checksum 23:56:54 2a8b12db71e7: Download complete 23:56:54 31603596830f: Download complete 23:56:54 ecc8261a40a4: Verifying Checksum 23:56:54 ecc8261a40a4: Download complete 23:56:54 6ca5941a6612: Verifying Checksum 23:56:54 6ca5941a6612: Download complete 23:56:54 31603596830f: Pull complete 23:56:55 2a8b12db71e7: Pull complete 23:56:56 6ca5941a6612: Pull complete 23:56:56 ecc8261a40a4: Pull complete 23:56:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:56:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:56:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:56:56 prd-centos7-docker-4c-2g-425 does not seem to be running inside a container 23:56:56 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-567 -v /w/workspace/dgexfoundry_device-sdk-go_PR-567:/w/workspace/dgexfoundry_device-sdk-go_PR-567:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-567@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:56:58 $ docker top aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:56:58 [ssh-agent] Looking for ssh-agent implementation... 23:56:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:56:59 $ docker exec aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c ssh-agent 23:56:59 SSH_AUTH_SOCK=/tmp/ssh-5hGT2heMrF0J/agent.11 23:56:59 SSH_AGENT_PID=16 23:56:59 Running ssh-add (command line suppressed) 23:56:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_6816825507470438395.key (/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_6816825507470438395.key) 23:56:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:56:59 + git describe --exact-match --tags HEAD 23:56:59 fatal: No names found, cannot describe anything. [Pipeline] } 23:57:00 $ docker exec --env ******** --env ******** aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c ssh-agent -k 23:57:00 unset SSH_AUTH_SOCK; 23:57:00 unset SSH_AGENT_PID; 23:57:00 echo Agent pid 16 killed; 23:57:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 23:57:00 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 23:57:00 This usually means this commit has not been tagged. [Pipeline] sshagent 23:57:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:00 [ssh-agent] Looking for ssh-agent implementation... 23:57:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:00 $ docker exec aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c ssh-agent 23:57:00 SSH_AUTH_SOCK=/tmp/ssh-q7mBt1KKLetL/agent.45 23:57:00 SSH_AGENT_PID=51 23:57:00 Running ssh-add (command line suppressed) 23:57:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_8421961085766638741.key (/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_8421961085766638741.key) 23:57:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:01 + git semver init 23:57:01 # -> Open(): unable to determine branch for HEAD 23:57:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-567/.git 23:57:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-567 23:57:01 # $SEMVER_REMOTE_NAME = origin 23:57:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:57:01 # $SEMVER_USER_NAME = edgex-jenkins 23:57:01 # $SEMVER_BRANCH = PR-567 23:57:01 # $SEMVER_TEMP = /tmp/semver-393558770 23:57:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:57:02 # '/tmp/semver-393558770' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-567/.semver' 23:57:02 # -> Force: false 23:57:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-567/.semver [Pipeline] } 23:57:02 $ docker exec --env ******** --env ******** aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c ssh-agent -k 23:57:02 unset SSH_AUTH_SOCK; 23:57:02 unset SSH_AGENT_PID; 23:57:02 echo Agent pid 51 killed; 23:57:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:57:02 + git semver [Pipeline] } 23:57:02 $ docker stop --time=1 aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c 23:57:04 $ docker rm -f aba8480848ccdcf257a624a393e5ab9e3f88204fd2ee59c93108aa6a4b322a4c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 23:57:04 Stashed 28 file(s) [Pipeline] echo 23:57:04 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 23:57:05 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 23:57:20 Still waiting to schedule task 23:57:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:57:20 Still waiting to schedule task 23:57:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:59:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-426 in /w/workspace/dgexfoundry_device-sdk-go_PR-567 [Pipeline] { [Pipeline] ws 23:59:13 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:59:18 using credential edgex-jenkins-ssh 23:59:18 Cloning the remote Git repository 23:59:18 Cloning with configured refspecs honoured and without tags 23:59:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:59:18 > git init /w/workspace/device-sdk-go/3 # timeout=10 23:59:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:59:18 > git --version # timeout=10 23:59:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:59:19 Fetching without tags 23:59:20 Merging remotes/origin/master commit ce316cea3dee80a2f116041d01b56dbf0103bc38 into PR head commit 1aa17e6abc92c51428010a290bf5bebce8fc8a7d 23:59:20 Merge succeeded, producing 1aa17e6abc92c51428010a290bf5bebce8fc8a7d 23:59:20 Checking out Revision 1aa17e6abc92c51428010a290bf5bebce8fc8a7d (PR-567) 23:59:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:59:19 > git config --add remote.origin.fetch +refs/pull/567/head:refs/remotes/origin/PR-567 # timeout=10 23:59:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 23:59:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:59:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:59:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:59:20 > git config core.sparsecheckout # timeout=10 23:59:20 > git checkout -f 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 23:59:20 > git remote # timeout=10 23:59:20 > git config --get remote.origin.url # timeout=10 23:59:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:20 > git merge ce316cea3dee80a2f116041d01b56dbf0103bc38 # timeout=10 23:59:20 > git rev-parse HEAD^{commit} # timeout=10 23:59:20 > git config core.sparsecheckout # timeout=10 23:59:20 > git checkout -f 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 23:59:24 Commit message: "Rename DeviceServiceSDK struct to DeviceService" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:59:26 ========================================================= 23:59:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 23:59:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:59:27 + 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 . 23:59:28 Sending build context to Docker daemon 3.09MB 23:59:28 Step 1/8 : ARG BASE=golang:1.13-alpine 23:59:28 Step 2/8 : FROM ${BASE} 23:59:28 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:59:28 b538f80385f9: Pulling fs layer 23:59:28 74f711af9a0d: Pulling fs layer 23:59:28 99f96fe45779: Pulling fs layer 23:59:28 fd7a069fd194: Pulling fs layer 23:59:28 66aa3694b03b: Pulling fs layer 23:59:28 170f70906a0f: Pulling fs layer 23:59:28 ad7c5574e4b9: Pulling fs layer 23:59:28 e772456be8f7: Pulling fs layer 23:59:28 c890913d741a: Pulling fs layer 23:59:28 2480fcc9aa5a: Pulling fs layer 23:59:28 09adf4765672: Pulling fs layer 23:59:28 fd7a069fd194: Waiting 23:59:28 66aa3694b03b: Waiting 23:59:28 170f70906a0f: Waiting 23:59:28 ad7c5574e4b9: Waiting 23:59:28 e772456be8f7: Waiting 23:59:28 c890913d741a: Waiting 23:59:28 2480fcc9aa5a: Waiting 23:59:28 09adf4765672: Waiting 23:59:28 99f96fe45779: Verifying Checksum 23:59:28 99f96fe45779: Download complete 23:59:28 74f711af9a0d: Verifying Checksum 23:59:28 74f711af9a0d: Download complete 23:59:28 66aa3694b03b: Verifying Checksum 23:59:28 66aa3694b03b: Download complete 23:59:28 170f70906a0f: Verifying Checksum 23:59:28 170f70906a0f: Download complete 23:59:28 b538f80385f9: Verifying Checksum 23:59:28 b538f80385f9: Download complete 23:59:29 b538f80385f9: Pull complete 23:59:30 74f711af9a0d: Pull complete 23:59:30 99f96fe45779: Pull complete 23:59:31 ad7c5574e4b9: Verifying Checksum 23:59:31 ad7c5574e4b9: Download complete 23:59:31 c890913d741a: Verifying Checksum 23:59:31 c890913d741a: Download complete 23:59:33 2480fcc9aa5a: Verifying Checksum 23:59:33 2480fcc9aa5a: Download complete 23:59:33 09adf4765672: Download complete 23:59:34 e772456be8f7: Verifying Checksum 23:59:34 e772456be8f7: Download complete 23:59:34 fd7a069fd194: Verifying Checksum 23:59:34 fd7a069fd194: Download complete 23:59:47 fd7a069fd194: Pull complete 23:59:47 66aa3694b03b: Pull complete 23:59:47 170f70906a0f: Pull complete 23:59:50 ad7c5574e4b9: Pull complete 23:59:53 Running on prd-centos7-docker-4c-2g-427 in /w/workspace/dgexfoundry_device-sdk-go_PR-567 [Pipeline] { [Pipeline] ws 23:59:53 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:59:54 e772456be8f7: Pull complete 23:59:55 c890913d741a: Pull complete 23:59:55 using credential edgex-jenkins-ssh 23:59:55 Cloning the remote Git repository 23:59:55 Cloning with configured refspecs honoured and without tags 23:59:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:59:55 > git init /w/workspace/device-sdk-go/3 # timeout=10 23:59:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:59:55 > git --version # timeout=10 23:59:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:59:56 Fetching without tags 23:59:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:59:56 > git config --add remote.origin.fetch +refs/pull/567/head:refs/remotes/origin/PR-567 # timeout=10 23:59:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 23:59:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:59:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:59:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:59:57 Merging remotes/origin/master commit ce316cea3dee80a2f116041d01b56dbf0103bc38 into PR head commit 1aa17e6abc92c51428010a290bf5bebce8fc8a7d 23:59:57 Merge succeeded, producing 1aa17e6abc92c51428010a290bf5bebce8fc8a7d 23:59:57 Checking out Revision 1aa17e6abc92c51428010a290bf5bebce8fc8a7d (PR-567) 23:59:57 2480fcc9aa5a: Pull complete 23:59:57 09adf4765672: Pull complete 23:59:57 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 23:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 23:59:57 ---> 2248a725d1cf 23:59:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:59:57 > git config core.sparsecheckout # timeout=10 23:59:57 > git checkout -f 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 23:59:57 > git remote # timeout=10 23:59:57 > git config --get remote.origin.url # timeout=10 23:59:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:57 > git merge ce316cea3dee80a2f116041d01b56dbf0103bc38 # timeout=10 23:59:57 > git rev-parse HEAD^{commit} # timeout=10 23:59:57 > git config core.sparsecheckout # timeout=10 23:59:57 > git checkout -f 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 00:00:01 Commit message: "Rename DeviceServiceSDK struct to DeviceService" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:00:01 ========================================================= 00:00:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 00:00:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:00:02 + 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 . 00:00:02 Sending build context to Docker daemon 3.09MB 00:00:02 Step 1/8 : ARG BASE=golang:1.13-alpine 00:00:02 Step 2/8 : FROM ${BASE} 00:00:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 00:00:03 df20fa9351a1: Pulling fs layer 00:00:03 ed8968b2872e: Pulling fs layer 00:00:03 a92cc7c5fd73: Pulling fs layer 00:00:03 2dd03ba5bac4: Pulling fs layer 00:00:03 1e091d79d1de: Pulling fs layer 00:00:03 481702a1767f: Pulling fs layer 00:00:03 f64a6f60c768: Pulling fs layer 00:00:03 e78d2573fc39: Pulling fs layer 00:00:03 e876d2f968b6: Pulling fs layer 00:00:03 ce8a83651883: Pulling fs layer 00:00:03 07967f4d0e4b: Pulling fs layer 00:00:03 1e091d79d1de: Waiting 00:00:03 481702a1767f: Waiting 00:00:03 f64a6f60c768: Waiting 00:00:03 e78d2573fc39: Waiting 00:00:03 e876d2f968b6: Waiting 00:00:03 2dd03ba5bac4: Waiting 00:00:03 07967f4d0e4b: Waiting 00:00:03 ce8a83651883: Waiting 00:00:03 a92cc7c5fd73: Verifying Checksum 00:00:03 a92cc7c5fd73: Download complete 00:00:03 ed8968b2872e: Verifying Checksum 00:00:03 ed8968b2872e: Download complete 00:00:03 1e091d79d1de: Verifying Checksum 00:00:03 1e091d79d1de: Download complete 00:00:03 481702a1767f: Verifying Checksum 00:00:03 481702a1767f: Download complete 00:00:03 df20fa9351a1: Verifying Checksum 00:00:03 df20fa9351a1: Download complete 00:00:03 ---> Running in c5f91e73ecd0 00:00:03 Removing intermediate container c5f91e73ecd0 00:00:03 ---> 771cd423e199 00:00:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:03 ---> Running in 4af4180d1d8a 00:00:03 df20fa9351a1: Pull complete 00:00:04 f64a6f60c768: Download complete 00:00:04 e876d2f968b6: Verifying Checksum 00:00:04 e876d2f968b6: Download complete 00:00:04 2dd03ba5bac4: Download complete 00:00:05 07967f4d0e4b: Verifying Checksum 00:00:05 07967f4d0e4b: Download complete 00:00:05 ce8a83651883: Verifying Checksum 00:00:05 ce8a83651883: Download complete 00:00:05 e78d2573fc39: Verifying Checksum 00:00:05 e78d2573fc39: Download complete 00:00:05 ed8968b2872e: Pull complete 00:00:05 a92cc7c5fd73: Pull complete 00:00:05 Removing intermediate container 4af4180d1d8a 00:00:05 ---> 2f91e361b300 00:00:05 Step 5/8 : RUN apk add --no-cache make git 00:00:05 ---> Running in 986dfb805ed1 00:00:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:00:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:00:09 OK: 142 MiB in 39 packages 00:00:10 Removing intermediate container 986dfb805ed1 00:00:10 ---> 176c411e6e89 00:00:10 Step 6/8 : WORKDIR /device-sdk-go 00:00:10 ---> Running in 958fa792da71 00:00:11 Removing intermediate container 958fa792da71 00:00:11 ---> 0694156cff60 00:00:11 Step 7/8 : COPY . . 00:00:12 2dd03ba5bac4: Pull complete 00:00:12 1e091d79d1de: Pull complete 00:00:12 481702a1767f: Pull complete 00:00:12 ---> 7cecd308124b 00:00:12 Step 8/8 : RUN go mod download 00:00:12 ---> Running in 1bb9b0b29637 00:00:16 go: finding github.com/BurntSushi/toml v0.3.1 00:00:16 go: finding github.com/OneOfOne/xxhash v1.2.6 00:00:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:00:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:00:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:00:16 go: finding github.com/bgentry/speakeasy v0.1.0 00:00:16 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:00:16 go: finding github.com/davecgh/go-spew v1.1.1 00:00:16 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 00:00:16 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:00:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:00:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:00:16 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:00:16 go: finding github.com/fatih/color v1.7.0 00:00:16 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:00:16 go: finding github.com/go-kit/kit v0.8.0 00:00:16 go: finding github.com/go-logfmt/logfmt v0.4.0 00:00:16 go: finding github.com/go-stack/stack v1.8.0 00:00:16 f64a6f60c768: Pull complete 00:00:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:00:16 go: finding github.com/google/uuid v1.1.0 00:00:16 go: finding github.com/gorilla/mux v1.7.1 00:00:16 go: finding github.com/hashicorp/consul/api v1.1.0 00:00:16 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:00:16 go: finding github.com/hashicorp/errwrap v1.0.0 00:00:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:00:17 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:00:17 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:00:17 go: finding github.com/hashicorp/go-multierror v1.0.0 00:00:17 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:00:17 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:00:17 go: finding github.com/hashicorp/go-syslog v1.0.0 00:00:17 go: finding github.com/hashicorp/go-uuid v1.0.1 00:00:17 go: finding github.com/hashicorp/go.net v0.0.1 00:00:17 go: finding github.com/hashicorp/golang-lru v0.5.0 00:00:17 go: finding github.com/hashicorp/logutils v1.0.0 00:00:17 go: finding github.com/hashicorp/mdns v1.0.0 00:00:17 go: finding github.com/hashicorp/memberlist v0.1.3 00:00:17 go: finding github.com/hashicorp/serf v0.8.2 00:00:17 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:00:17 go: finding github.com/mattn/go-colorable v0.0.9 00:00:17 go: finding github.com/mattn/go-isatty v0.0.3 00:00:17 go: finding github.com/miekg/dns v1.0.14 00:00:17 go: finding github.com/mitchellh/cli v1.0.0 00:00:17 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:00:17 go: finding github.com/mitchellh/copystructure v1.0.0 00:00:18 go: finding github.com/mitchellh/go-homedir v1.0.0 00:00:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:00:18 go: finding github.com/mitchellh/gox v0.4.0 00:00:18 go: finding github.com/mitchellh/iochan v1.0.0 00:00:18 go: finding github.com/mitchellh/mapstructure v1.1.2 00:00:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:00:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:00:18 go: finding github.com/pelletier/go-toml v1.2.0 00:00:18 go: finding github.com/pkg/errors v0.8.1 00:00:18 go: finding github.com/pmezard/go-difflib v1.0.0 00:00:18 go: finding github.com/posener/complete v1.1.1 00:00:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:00:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:00:18 go: finding github.com/stretchr/objx v0.1.0 00:00:18 go: finding github.com/stretchr/testify v1.5.1 00:00:18 go: finding github.com/ugorji/go v1.1.4 00:00:18 go: finding github.com/x448/float16 v0.8.4 00:00:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:00:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:00:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:00:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:00:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:00:18 go: finding gopkg.in/yaml.v2 v2.2.8 00:00:19 e78d2573fc39: Pull complete 00:00:19 e876d2f968b6: Pull complete 00:00:20 ce8a83651883: Pull complete 00:00:21 07967f4d0e4b: Pull complete 00:00:21 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 00:00:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 00:00:21 ---> 5d7c900382c6 00:00:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:00:23 ---> Running in 79ee187d2f2b 00:00:23 Removing intermediate container 79ee187d2f2b 00:00:23 ---> 5deff56a38b0 00:00:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:23 ---> Running in a4d38c7497c0 00:00:24 Removing intermediate container a4d38c7497c0 00:00:24 ---> 0cd6053990db 00:00:24 Step 5/8 : RUN apk add --no-cache make git 00:00:24 ---> Running in ff8f41759b66 00:00:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:00:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:00:25 OK: 166 MiB in 39 packages 00:00:26 Removing intermediate container ff8f41759b66 00:00:26 ---> f4b36ef2150c 00:00:26 Step 6/8 : WORKDIR /device-sdk-go 00:00:26 ---> Running in 0a719cca48aa 00:00:26 Removing intermediate container 0a719cca48aa 00:00:26 ---> f089a8587b05 00:00:26 Step 7/8 : COPY . . 00:00:27 ---> d957f04b7003 00:00:27 Step 8/8 : RUN go mod download 00:00:27 ---> Running in cfab8185276e 00:00:28 Removing intermediate container 1bb9b0b29637 00:00:28 ---> 327fb8c5e1c8 00:00:28 Successfully built 327fb8c5e1c8 00:00:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:00:29 go: finding github.com/BurntSushi/toml v0.3.1 00:00:29 go: finding github.com/OneOfOne/xxhash v1.2.6 00:00:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:00:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:00:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:00:29 go: finding github.com/bgentry/speakeasy v0.1.0 00:00:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:00:29 go: finding github.com/davecgh/go-spew v1.1.1 00:00:29 + docker inspect -f . ci-base-image-arm64 00:00:29 . [Pipeline] withDockerContainer 00:00:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 00:00:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:00:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:00:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:00:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:00:29 go: finding github.com/fatih/color v1.7.0 00:00:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:00:29 prd-ubuntu18.04-docker-arm64-4c-16g-426 does not seem to be running inside a container 00:00:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:30 go: finding github.com/go-kit/kit v0.8.0 00:00:30 go: finding github.com/go-logfmt/logfmt v0.4.0 00:00:30 go: finding github.com/go-stack/stack v1.8.0 00:00:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:00:30 go: finding github.com/google/uuid v1.1.0 00:00:30 go: finding github.com/gorilla/mux v1.7.1 00:00:30 go: finding github.com/hashicorp/consul/api v1.1.0 00:00:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:00:30 go: finding github.com/hashicorp/errwrap v1.0.0 00:00:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:00:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:00:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:00:30 go: finding github.com/hashicorp/go-multierror v1.0.0 00:00:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:00:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:00:30 go: finding github.com/hashicorp/go-syslog v1.0.0 00:00:30 go: finding github.com/hashicorp/go-uuid v1.0.1 00:00:30 go: finding github.com/hashicorp/go.net v0.0.1 00:00:30 go: finding github.com/hashicorp/golang-lru v0.5.0 00:00:30 go: finding github.com/hashicorp/logutils v1.0.0 00:00:30 go: finding github.com/hashicorp/mdns v1.0.0 00:00:30 go: finding github.com/hashicorp/memberlist v0.1.3 00:00:30 go: finding github.com/hashicorp/serf v0.8.2 00:00:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:00:30 go: finding github.com/mattn/go-colorable v0.0.9 00:00:30 go: finding github.com/mattn/go-isatty v0.0.3 00:00:30 go: finding github.com/miekg/dns v1.0.14 00:00:30 go: finding github.com/mitchellh/cli v1.0.0 00:00:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:00:31 go: finding github.com/mitchellh/copystructure v1.0.0 00:00:31 go: finding github.com/mitchellh/go-homedir v1.0.0 00:00:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:00:31 go: finding github.com/mitchellh/gox v0.4.0 00:00:31 go: finding github.com/mitchellh/iochan v1.0.0 00:00:31 go: finding github.com/mitchellh/mapstructure v1.1.2 00:00:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:00:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:00:31 go: finding github.com/pelletier/go-toml v1.2.0 00:00:31 go: finding github.com/pkg/errors v0.8.1 00:00:31 go: finding github.com/pmezard/go-difflib v1.0.0 00:00:31 go: finding github.com/posener/complete v1.1.1 00:00:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:00:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:00:31 go: finding github.com/stretchr/objx v0.1.0 00:00:31 go: finding github.com/stretchr/testify v1.5.1 00:00:31 go: finding github.com/ugorji/go v1.1.4 00:00:31 go: finding github.com/x448/float16 v0.8.4 00:00:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:00:31 $ docker top 0b2273130aeea08ded4ef13a6570599452ae789a2d77c396d4f38ca8c144e75f -eo pid,comm 00:00:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:00:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:00:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:00:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:00:31 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] { [Pipeline] sh 00:00:33 + go version 00:00:33 go version go1.13.13 linux/arm64 [Pipeline] sh 00:00:34 + make test 00:00:34 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:00:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:00:40 Removing intermediate container cfab8185276e 00:00:40 ---> 4152419053b5 00:00:40 Successfully built 4152419053b5 00:00:40 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 00:00:41 + docker inspect -f . ci-base-image-x86_64 00:00:41 . [Pipeline] withDockerContainer 00:00:41 prd-centos7-docker-4c-2g-427 does not seem to be running inside a container 00:00:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:00:42 $ docker top 6821932620ea6c0aaad182428f541108e884f2b2adeb10de2125debf97ac2f2d -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:42 + go version 00:00:42 go version go1.13.13 linux/amd64 [Pipeline] sh 00:00:43 + make test 00:00:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:00:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:00:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:00:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:00:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:00:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.1% of statements 00:00:54 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.7% of statements 00:01:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:01:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:01:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:01:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 22.1% of statements 00:01:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 95.7% of statements 00:01:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 8.6% of statements 00:01:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 00:01:26 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:01:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.111s coverage: 36.9% of statements 00:01:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:01:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.371s coverage: 65.2% of statements 00:01:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:01:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements 00:01:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 68.9% of statements 00:01:26 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:01:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:01:26 gofmt -l . 00:01:27 [ "`gofmt -l .`" = "" ] 00:01:27 ./bin/test-attribution-txt.sh 00:01:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:01:28 Stashed 1 file(s) [Pipeline] } 00:01:28 $ docker stop --time=1 6821932620ea6c0aaad182428f541108e884f2b2adeb10de2125debf97ac2f2d 00:01:30 $ docker rm -f 6821932620ea6c0aaad182428f541108e884f2b2adeb10de2125debf97ac2f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:33 + ls -al . 00:01:33 total 188 00:01:33 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 19 00:01 . 00:01:33 drwxrwxr-x. 4 jenkins jenkins 28 Aug 18 23:59 .. 00:01:33 drwxrwxr-x. 2 jenkins jenkins 64 Aug 18 23:59 bin 00:01:33 -rw-r--r--. 1 jenkins jenkins 111701 Aug 19 00:01 coverage.out 00:01:33 -rw-rw-r--. 1 jenkins jenkins 936 Aug 18 23:59 Dockerfile.build 00:01:33 -rw-rw-r--. 1 jenkins jenkins 140 Aug 18 23:59 .dockerignore 00:01:33 drwxrwxr-x. 4 jenkins jenkins 48 Aug 18 23:59 example 00:01:33 drwxrwxr-x. 8 jenkins jenkins 179 Aug 19 00:00 .git 00:01:33 drwxrwxr-x. 2 jenkins jenkins 38 Aug 18 23:59 .github 00:01:33 -rw-rw-r--. 1 jenkins jenkins 138 Aug 18 23:59 .gitignore 00:01:33 -rw-r--r--. 1 jenkins jenkins 446 Aug 19 00:01 go.mod 00:01:33 -rw-r--r--. 1 jenkins jenkins 12179 Aug 19 00:01 go.sum 00:01:33 drwxrwxr-x. 13 jenkins jenkins 184 Aug 18 23:59 internal 00:01:33 -rw-rw-r--. 1 jenkins jenkins 808 Aug 18 23:59 Jenkinsfile 00:01:33 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 18 23:59 LICENSE 00:01:33 -rw-rw-r--. 1 jenkins jenkins 892 Aug 18 23:59 Makefile 00:01:33 drwxrwxr-x. 4 jenkins jenkins 26 Aug 18 23:59 openapi 00:01:33 drwxrwxr-x. 5 jenkins jenkins 50 Aug 18 23:59 pkg 00:01:33 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 18 23:59 README.md 00:01:33 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 18 23:59 RELEASE-NOTES.txt 00:01:33 drwxrwxr-x. 3 jenkins jenkins 58 Aug 19 00:00 .semver 00:01:33 drwxrwxr-x. 4 jenkins jenkins 54 Aug 18 23:59 snap 00:01:33 -rw-rw-r--. 1 jenkins jenkins 5 Aug 18 23:57 VERSION 00:01:33 -rw-rw-r--. 1 jenkins jenkins 222 Aug 18 23:59 version.go [Pipeline] isUnix [Pipeline] sh 00:01:33 + 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=1aa17e6abc92c51428010a290bf5bebce8fc8a7d --label arch=amd64 --label version=0.0.0 . 00:01:33 Sending build context to Docker daemon 3.218MB 00:01:33 Step 1/23 : ARG BASE=golang:1.13-alpine 00:01:33 Step 2/23 : FROM ${BASE} AS builder 00:01:33 ---> 4152419053b5 00:01:33 Step 3/23 : ARG MAKE='make build' 00:01:34 ---> Running in 0149a07da2fa 00:01:34 Removing intermediate container 0149a07da2fa 00:01:34 ---> e7289a85b584 00:01:34 Step 4/23 : WORKDIR /device-sdk-go 00:01:34 ---> Running in ebbb78cbf7a8 00:01:34 Removing intermediate container ebbb78cbf7a8 00:01:34 ---> 66f254e903c6 00:01:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:01:34 ---> Running in 57fcbcb9802f 00:01:35 Removing intermediate container 57fcbcb9802f 00:01:35 ---> 540ed8f48637 00:01:35 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:35 ---> Running in 9fe595357ab5 00:01:35 Removing intermediate container 9fe595357ab5 00:01:35 ---> 46fc47305437 00:01:35 Step 7/23 : RUN apk add --update --no-cache make git 00:01:35 ---> Running in 574baea4f6ee 00:01:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:01:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:01:37 OK: 166 MiB in 39 packages 00:01:37 Removing intermediate container 574baea4f6ee 00:01:37 ---> 826d0f872b21 00:01:37 Step 8/23 : COPY . . 00:01:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 8.6% of statements 00:01:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements 00:01:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:01:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.141s coverage: 36.9% of statements 00:01:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:01:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.589s coverage: 65.2% of statements 00:01:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:01:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:01:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:01:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.054s coverage: 52.6% of statements 00:01:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.351s coverage: 68.9% of statements 00:01:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 00:01:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:01:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:01:39 ---> 73f3952cff87 00:01:39 Step 9/23 : RUN ${MAKE} 00:01:39 ---> Running in 999a0ad8dc18 00:01:39 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 00:01:42 gofmt -l . 00:01:42 [ "`gofmt -l .`" = "" ] 00:01:43 ./bin/test-attribution-txt.sh 00:01:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:01:44 Warning: overwriting stash ‘coverage-report’ 00:01:45 Stashed 1 file(s) [Pipeline] } 00:01:45 $ docker stop --time=1 0b2273130aeea08ded4ef13a6570599452ae789a2d77c396d4f38ca8c144e75f 00:01:47 $ docker rm -f 0b2273130aeea08ded4ef13a6570599452ae789a2d77c396d4f38ca8c144e75f 00:01:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:49 Removing intermediate container 999a0ad8dc18 00:01:49 ---> c7de9b80ccd8 00:01:49 Step 10/23 : FROM scratch 00:01:49 ---> 00:01:49 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:01:49 + ls -al . 00:01:49 total 228 00:01:49 drwxrwxr-x 11 jenkins jenkins 4096 Aug 19 00:01 . 00:01:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 23:59 .. 00:01:49 -rw-rw-r-- 1 jenkins jenkins 140 Aug 18 23:59 .dockerignore 00:01:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 18 23:59 .git 00:01:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 23:59 .github 00:01:49 -rw-rw-r-- 1 jenkins jenkins 138 Aug 18 23:59 .gitignore 00:01:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 23:59 .semver 00:01:49 -rw-rw-r-- 1 jenkins jenkins 936 Aug 18 23:59 Dockerfile.build 00:01:49 -rw-rw-r-- 1 jenkins jenkins 808 Aug 18 23:59 Jenkinsfile 00:01:49 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 18 23:59 LICENSE 00:01:49 -rw-rw-r-- 1 jenkins jenkins 892 Aug 18 23:59 Makefile 00:01:49 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 18 23:59 README.md 00:01:49 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 18 23:59 RELEASE-NOTES.txt 00:01:49 -rw-rw-r-- 1 jenkins jenkins 5 Aug 18 23:57 VERSION 00:01:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 23:59 bin 00:01:49 -rw-r--r-- 1 jenkins jenkins 111701 Aug 19 00:01 coverage.out 00:01:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 23:59 example 00:01:49 -rw-r--r-- 1 jenkins jenkins 446 Aug 19 00:01 go.mod 00:01:49 -rw-r--r-- 1 jenkins jenkins 12179 Aug 19 00:01 go.sum 00:01:49 drwxrwxr-x 13 jenkins jenkins 4096 Aug 18 23:59 internal 00:01:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 23:59 openapi 00:01:49 drwxrwxr-x 5 jenkins jenkins 4096 Aug 18 23:59 pkg 00:01:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 23:59 snap 00:01:49 -rw-rw-r-- 1 jenkins jenkins 222 Aug 18 23:59 version.go [Pipeline] isUnix [Pipeline] sh 00:01:49 ---> Running in 1f722c07e45f 00:01:49 Removing intermediate container 1f722c07e45f 00:01:49 ---> 2eb347d24572 00:01:49 Step 12/23 : ENV APP_PORT=49990 00:01:49 ---> Running in 0ac1968f7e32 00:01:49 + 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=1aa17e6abc92c51428010a290bf5bebce8fc8a7d --label arch=arm64 --label version=0.0.0 . 00:01:49 Removing intermediate container 0ac1968f7e32 00:01:49 ---> f019b64dede4 00:01:49 Step 13/23 : EXPOSE $APP_PORT 00:01:49 ---> Running in 0dafdbed0fc2 00:01:49 Sending build context to Docker daemon 3.218MB 00:01:49 Step 1/23 : ARG BASE=golang:1.13-alpine 00:01:49 Step 2/23 : FROM ${BASE} AS builder 00:01:49 ---> 327fb8c5e1c8 00:01:49 Step 3/23 : ARG MAKE='make build' 00:01:49 Removing intermediate container 0dafdbed0fc2 00:01:49 ---> 0b59b2afa33f 00:01:49 Step 14/23 : WORKDIR / 00:01:49 ---> Running in c35eb4222e8f 00:01:49 ---> Running in 115ba25783ed 00:01:50 Removing intermediate container c35eb4222e8f 00:01:50 ---> aea8ce62799d 00:01:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:01:50 ---> d374729c1c07 00:01:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:01:50 Removing intermediate container 115ba25783ed 00:01:50 ---> c45a4a746abc 00:01:50 Step 4/23 : WORKDIR /device-sdk-go 00:01:50 ---> Running in c2af76a477ce 00:01:50 ---> 2d94969471c7 00:01:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:01:50 ---> ff974ebed207 00:01:50 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:01:51 ---> eef85266dd24 00:01:51 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:01:51 Removing intermediate container c2af76a477ce 00:01:51 ---> e41ac1a6df0f 00:01:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:01:51 ---> Running in 5863d234bd8c 00:01:51 ---> 3ec651bca7de 00:01:51 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:01:51 ---> Running in 37dda71b9e3c 00:01:51 Removing intermediate container 37dda71b9e3c 00:01:51 ---> 1cbe4f6b1d97 00:01:51 Step 21/23 : LABEL arch=amd64 00:01:51 ---> Running in f1e42d7340f6 00:01:51 Removing intermediate container 5863d234bd8c 00:01:51 ---> c98807e9a6bb 00:01:51 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:51 ---> Running in e5cda9e8cd03 00:01:51 Removing intermediate container f1e42d7340f6 00:01:51 ---> 0657a47ca82f 00:01:51 Step 22/23 : LABEL git_sha=1aa17e6abc92c51428010a290bf5bebce8fc8a7d 00:01:51 ---> Running in 1be5cec23c62 00:01:51 Removing intermediate container 1be5cec23c62 00:01:51 ---> 6ae629c07b24 00:01:51 Step 23/23 : LABEL version=0.0.0 00:01:52 ---> Running in 16fb50f8b40c 00:01:52 Removing intermediate container 16fb50f8b40c 00:01:52 ---> 2863852a54dc 00:01:52 [Warning] One or more build-args [ARCH] were not consumed 00:01:52 Successfully built 2863852a54dc 00:01:52 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] } 00:01:54 Removing intermediate container e5cda9e8cd03 00:01:54 ---> cd3913f93633 00:01:54 Step 7/23 : RUN apk add --update --no-cache make git 00:01:54 ---> Running in 91f124e0b374 00:01:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:01:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:01:57 OK: 142 MiB in 39 packages 00:01:58 Removing intermediate container 91f124e0b374 00:01:58 ---> 443d4b5c12b4 00:01:58 Step 8/23 : COPY . . 00:01:59 ---> 93fec011c559 00:01:59 Step 9/23 : RUN ${MAKE} 00:01:59 ---> Running in 6d20d3f44897 00:02:00 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 00:02:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:02:27 Removing intermediate container 6d20d3f44897 00:02:27 ---> 9b1ad9f3f71d 00:02:27 Step 10/23 : FROM scratch 00:02:27 ---> 00:02:27 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:02:27 ---> Running in 09baec791a66 00:02:27 Removing intermediate container 09baec791a66 00:02:27 ---> 79f0433a782e 00:02:27 Step 12/23 : ENV APP_PORT=49990 00:02:27 ---> Running in 563808a71512 00:02:27 Removing intermediate container 563808a71512 00:02:27 ---> 0df55663d126 00:02:27 Step 13/23 : EXPOSE $APP_PORT 00:02:27 ---> Running in 08d610739d72 00:02:27 Removing intermediate container 08d610739d72 00:02:27 ---> 63ec2c12d869 00:02:27 Step 14/23 : WORKDIR / 00:02:27 ---> Running in c0f597d13d8b 00:02:28 Removing intermediate container c0f597d13d8b 00:02:28 ---> 315dd2cb1c39 00:02:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:02:29 ---> 4637c737e73b 00:02:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:02:30 ---> a4c87de1cc33 00:02:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:02:31 ---> 5e53dd40ddfa 00:02:31 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:02:32 ---> 37fd10efc43e 00:02:32 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:02:32 ---> 03f2d3db2ed0 00:02:32 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:02:32 ---> Running in 39a8e93bbc84 00:02:33 Removing intermediate container 39a8e93bbc84 00:02:33 ---> ffd22c5647d4 00:02:33 Step 21/23 : LABEL arch=arm64 00:02:33 ---> Running in bb6c1177bf34 00:02:33 Removing intermediate container bb6c1177bf34 00:02:33 ---> 6c3cbd0571ed 00:02:33 Step 22/23 : LABEL git_sha=1aa17e6abc92c51428010a290bf5bebce8fc8a7d 00:02:33 ---> Running in e6264e0a428e 00:02:34 Removing intermediate container e6264e0a428e 00:02:34 ---> 1904800869f1 00:02:34 Step 23/23 : LABEL version=0.0.0 00:02:34 ---> Running in cf43a94f6791 00:02:35 Removing intermediate container cf43a94f6791 00:02:35 ---> 16d4fe227528 00:02:35 [Warning] One or more build-args [ARCH] were not consumed 00:02:35 Successfully built 16d4fe227528 00:02:35 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 00:02:36 provisioning config files... 00:02:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/config5593469833964971891tmp [Pipeline] { [Pipeline] sh 00:02:36 + curl -s https://codecov.io/bash 00:02:36 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/config5593469833964971891tmp [Pipeline] } 00:02:37 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 00:02:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:02:39 ---> package-listing.sh 00:02:39 ++ tr '[:upper:]' '[:lower:]' 00:02:39 ++ facter osfamily 00:02:39 + OS_FAMILY=redhat 00:02:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-567 00:02:39 + START_PACKAGES=/tmp/packages_start.txt 00:02:39 + END_PACKAGES=/tmp/packages_end.txt 00:02:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:02:39 + PACKAGES=/tmp/packages_start.txt 00:02:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-567 ']' 00:02:39 + PACKAGES=/tmp/packages_end.txt 00:02:39 + case "${OS_FAMILY}" in 00:02:39 + rpm -qa 00:02:39 + sort 00:02:43 + '[' -f /tmp/packages_start.txt ']' 00:02:43 + '[' -f /tmp/packages_end.txt ']' 00:02:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:02:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-567 ']' 00:02:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-567/archives/ 00:02:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-567/archives/ [Pipeline] isUnix [Pipeline] sh 00:02:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:02:44 00:02:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:02:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:02:44 alpine: Pulling from edgex-lftools-log-publisher 00:02:44 c9b1b535fdd9: Pulling fs layer 00:02:44 2cc5ad85d9ab: Pulling fs layer 00:02:44 756a868c4378: Pulling fs layer 00:02:44 444b2fc9a129: Pulling fs layer 00:02:44 ea15f1150254: Pulling fs layer 00:02:44 41b27a9f41bf: Pulling fs layer 00:02:44 28c525ee5125: Pulling fs layer 00:02:44 094b1ea09ed8: Pulling fs layer 00:02:44 138eaada9080: Pulling fs layer 00:02:44 0622d0fa9048: Pulling fs layer 00:02:44 444b2fc9a129: Waiting 00:02:44 41b27a9f41bf: Waiting 00:02:44 ea15f1150254: Waiting 00:02:44 28c525ee5125: Waiting 00:02:44 094b1ea09ed8: Waiting 00:02:44 138eaada9080: Waiting 00:02:45 2cc5ad85d9ab: Verifying Checksum 00:02:45 2cc5ad85d9ab: Download complete 00:02:45 444b2fc9a129: Verifying Checksum 00:02:45 444b2fc9a129: Download complete 00:02:45 c9b1b535fdd9: Download complete 00:02:45 ea15f1150254: Verifying Checksum 00:02:45 ea15f1150254: Download complete 00:02:45 28c525ee5125: Verifying Checksum 00:02:45 28c525ee5125: Download complete 00:02:45 756a868c4378: Verifying Checksum 00:02:45 756a868c4378: Download complete 00:02:45 c9b1b535fdd9: Pull complete 00:02:45 138eaada9080: Verifying Checksum 00:02:45 138eaada9080: Download complete 00:02:45 0622d0fa9048: Verifying Checksum 00:02:45 0622d0fa9048: Download complete 00:02:45 094b1ea09ed8: Verifying Checksum 00:02:45 094b1ea09ed8: Download complete 00:02:46 41b27a9f41bf: Verifying Checksum 00:02:46 41b27a9f41bf: Download complete 00:02:46 2cc5ad85d9ab: Pull complete 00:02:47 756a868c4378: Pull complete 00:02:47 444b2fc9a129: Pull complete 00:02:47 ea15f1150254: Pull complete 00:02:52 41b27a9f41bf: Pull complete 00:02:52 28c525ee5125: Pull complete 00:02:54 094b1ea09ed8: Pull complete 00:02:54 138eaada9080: Pull complete 00:02:55 0622d0fa9048: Pull complete 00:02:55 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 00:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:02:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:02:55 prd-centos7-docker-4c-2g-425 does not seem to be running inside a container 00:02:55 $ 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_PR-567 -v /w/workspace/dgexfoundry_device-sdk-go_PR-567:/w/workspace/dgexfoundry_device-sdk-go_PR-567:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-567@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:02:59 $ docker top b07d0af2382de9be4e78c5e76a706c1600fd85e7a0c410a4cd5fd77114d14952 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:59 provisioning config files... 00:02:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/config8673817385994875244tmp [Pipeline] { [Pipeline] echo 00:02:59 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:02:59 ---> create-netrc.sh [Pipeline] echo 00:02:59 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:03:00 ---> logs-deploy.sh 00:03:00 + ARCHIVE_ARTIFACTS= 00:03:00 + LOGS_SERVER=https://logs.edgexfoundry.org 00:03:00 + '[' https://logs.edgexfoundry.org == None ']' 00:03:00 + NEXUS_URL=https://nexus.edgexfoundry.org 00:03:00 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-567/3 00:03:00 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-567/3/ 00:03:00 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-567/3 /w/workspace/dgexfoundry_device-sdk-go_PR-567 00:03:02 Archives upload complete. 00:03:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-567/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-567/3/ 00:03:02 ---> uname -a: 00:03:02 Linux b07d0af2382d 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 00:03:02 00:03:02 00:03:02 ---> lscpu: 00:03:02 Architecture: x86_64 00:03:02 CPU op-mode(s): 32-bit, 64-bit 00:03:02 Byte Order: Little Endian 00:03:02 Address sizes: 40 bits physical, 48 bits virtual 00:03:02 CPU(s): 4 00:03:02 On-line CPU(s) list: 0-3 00:03:02 Thread(s) per core: 1 00:03:02 Core(s) per socket: 1 00:03:02 Socket(s): 4 00:03:02 NUMA node(s): 1 00:03:02 Vendor ID: GenuineIntel 00:03:02 CPU family: 6 00:03:02 Model: 44 00:03:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:03:02 Stepping: 1 00:03:02 CPU MHz: 2933.438 00:03:02 BogoMIPS: 5866.87 00:03:02 Virtualization: VT-x 00:03:02 Hypervisor vendor: KVM 00:03:02 Virtualization type: full 00:03:02 L1d cache: 128 KiB 00:03:02 L1i cache: 128 KiB 00:03:02 L2 cache: 16 MiB 00:03:02 L3 cache: 64 MiB 00:03:02 NUMA node0 CPU(s): 0-3 00:03:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:03:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:03:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:03:02 Vulnerability Meltdown: Mitigation; PTI 00:03:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:03:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:03:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:03:02 Vulnerability Tsx async abort: Not affected 00:03:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 00:03:02 00:03:02 00:03:02 ---> nproc: 00:03:02 4 00:03:02 00:03:02 00:03:02 ---> df -h: 00:03:02 Filesystem Size Used Available Use% Mounted on 00:03:02 overlay 50.0G 7.2G 42.8G 14% / 00:03:02 tmpfs 64.0M 0 64.0M 0% /dev 00:03:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:03:02 shm 64.0M 0 64.0M 0% /dev/shm 00:03:02 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 00:03:02 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 00:03:02 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 00:03:02 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp 00:03:02 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 00:03:02 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-567 00:03:02 00:03:02 00:03:02 ---> free -m: 00:03:02 total used free shared buff/cache available 00:03:02 Mem: 1837 645 125 0 1065 1086 00:03:02 Swap: 1023 0 1023 00:03:02 00:03:02 00:03:02 ---> ip addr: 00:03:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:03:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:03:02 inet 127.0.0.1/8 scope host lo 00:03:02 valid_lft forever preferred_lft forever 00:03:02 6: eth0@if7: mtu 1458 qdisc noqueue state UP 00:03:02 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 00:03:02 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 00:03:02 valid_lft forever preferred_lft forever 00:03:02 00:03:02 00:03:02 ---> sar -b -r -n DEV: 00:03:02 Linux 3.10.0-1127.el7.x86_64 (prd-centos7-docker-4c-2g-425.vexxhost.local) 08/19/20 _x86_64_ (4 CPU) 00:03:02 00:03:02 00:00:01 tps rtps wtps bread/s bwrtn/s 00:03:02 00:01:01 0.28 0.02 0.27 0.13 3.01 00:03:02 00:02:02 0.57 0.12 0.45 2.13 8.22 00:03:02 00:03:01 165.02 102.81 62.21 7994.72 20500.30 00:03:02 Average: 54.68 33.94 20.75 2636.22 6761.69 00:03:02 00:03:02 00:00:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:03:02 00:01:01 163024 1718532 91.34 2620 1157780 1081680 36.92 402372 1156420 12 00:03:02 00:02:02 163832 1717724 91.29 2620 1157924 1079504 36.84 407600 1151148 8 00:03:02 00:03:01 160964 1720592 91.45 2620 1086200 1209316 41.27 461788 1056252 256 00:03:02 Average: 162607 1718949 91.36 2620 1133968 1123500 38.34 423920 1121273 92 00:03:02 00:03:02 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 00:03:02 00:01:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 00:03:02 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:02 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:02 00:02:02 eth0 0.30 0.20 0.14 0.07 0.00 0.00 0.00 00:03:02 00:02:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:02 00:02:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:02 00:03:01 veth3c48edd 0.00 0.10 0.00 0.01 0.00 0.00 0.00 00:03:02 00:03:01 eth0 530.51 327.76 3512.94 120.81 0.00 0.00 0.00 00:03:02 00:03:01 lo 0.12 0.12 0.01 0.01 0.00 0.00 0.00 00:03:02 00:03:01 docker0 7.62 6.15 0.98 18.01 0.00 0.00 0.00 00:03:02 Average: veth3c48edd 0.00 0.03 0.00 0.00 0.00 0.00 0.00 00:03:02 Average: eth0 174.88 108.05 1158.04 39.82 0.00 0.00 0.00 00:03:02 Average: lo 0.04 0.04 0.00 0.00 0.00 0.00 0.00 00:03:02 Average: docker0 2.51 2.03 0.32 5.94 0.00 0.00 0.00 00:03:02 00:03:02 00:03:02 ---> sar -P ALL: 00:03:02 Linux 3.10.0-1127.el7.x86_64 (prd-centos7-docker-4c-2g-425.vexxhost.local) 08/19/20 _x86_64_ (4 CPU) 00:03:02 00:03:02 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:03:02 00:01:01 all 0.16 0.00 0.05 0.00 0.00 99.79 00:03:02 00:01:01 0 0.50 0.00 0.07 0.00 0.00 99.43 00:03:02 00:01:01 1 0.05 0.00 0.05 0.00 0.00 99.90 00:03:02 00:01:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:03:02 00:01:01 3 0.03 0.00 0.02 0.00 0.00 99.95 00:03:02 00:02:02 all 0.16 0.00 0.05 0.00 0.00 99.78 00:03:02 00:02:02 0 0.53 0.00 0.08 0.00 0.00 99.38 00:03:02 00:02:02 1 0.03 0.00 0.05 0.00 0.02 99.90 00:03:02 00:02:02 2 0.03 0.00 0.05 0.00 0.00 99.92 00:03:02 00:02:02 3 0.03 0.00 0.03 0.00 0.00 99.93 00:03:02 00:03:01 all 5.72 0.00 3.40 2.63 0.02 88.23 00:03:02 00:03:01 0 5.64 0.00 3.19 0.41 0.03 90.73 00:03:02 00:03:01 1 5.49 0.00 3.80 2.81 0.00 87.89 00:03:02 00:03:01 2 6.13 0.00 3.14 4.46 0.02 86.25 00:03:02 00:03:01 3 5.64 0.00 3.42 2.85 0.03 88.05 00:03:02 Average: all 1.99 0.00 1.15 0.86 0.01 96.00 00:03:02 Average: 0 2.20 0.00 1.10 0.13 0.01 96.56 00:03:02 Average: 1 1.83 0.00 1.28 0.92 0.01 95.96 00:03:02 Average: 2 2.04 0.00 1.06 1.46 0.01 95.43 00:03:02 Average: 3 1.87 0.00 1.14 0.94 0.01 96.04 00:03:02 00:03:02 00:03:02