Pull request #571 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 e6ace9b265773e6a7694aedd4004a3c32facaa30+108cafbdc36a33829f2cd6e77abc07459d29f393 (68e7271b68f8bfdd9070dfe06c716e5faecede82) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 --version # 'git version 2.16.6' > 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 > git --version # 'git version 2.16.6' 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-387 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit e6ace9b265773e6a7694aedd4004a3c32facaa30 Merge succeeded, producing e6ace9b265773e6a7694aedd4004a3c32facaa30 Checking out Revision e6ace9b265773e6a7694aedd4004a3c32facaa30 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f e6ace9b265773e6a7694aedd4004a3c32facaa30 # 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 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6ace9b265773e6a7694aedd4004a3c32facaa30 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:01:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:01:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:01:35 ========================================================= 08:01:35 EdgeX Global Pipelines Version Info 08:01:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:01:37 ------------------- 08:01:37 stable info: 08:01:37 ------------------- 08:01:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:01:37 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 08:01:37 Message: update stable to v1.0.106 08:01:38 ------------------- 08:01:38 experimental info: 08:01:38 ------------------- 08:01:38 Commited By: **** collab-it+edgex@linuxfoundation.org 08:01:38 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 08:01:38 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:01:40 + git log --format=format:%s -1 e6ace9b265773e6a7694aedd4004a3c32facaa30 [Pipeline] echo 08:01:40 GIT_COMMIT: e6ace9b265773e6a7694aedd4004a3c32facaa30, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo 08:01:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:01:41 08:01:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:01:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:01:41 latest: Pulling from edgex-devops/git-semver 08:01:41 31603596830f: Pulling fs layer 08:01:41 2a8b12db71e7: Pulling fs layer 08:01:41 6ca5941a6612: Pulling fs layer 08:01:41 ecc8261a40a4: Pulling fs layer 08:01:41 ecc8261a40a4: Waiting 08:01:41 2a8b12db71e7: Download complete 08:01:42 31603596830f: Download complete 08:01:42 ecc8261a40a4: Verifying Checksum 08:01:42 ecc8261a40a4: Download complete 08:01:42 6ca5941a6612: Verifying Checksum 08:01:42 6ca5941a6612: Download complete 08:01:42 31603596830f: Pull complete 08:01:42 2a8b12db71e7: Pull complete 08:01:43 6ca5941a6612: Pull complete 08:01:43 ecc8261a40a4: Pull complete 08:01:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:01:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:01:43 prd-centos7-docker-4c-2g-387 does not seem to be running inside a container 08:01:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 08:01:45 $ docker top 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:46 [ssh-agent] Looking for ssh-agent implementation... 08:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:46 $ docker exec 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 ssh-agent 08:01:46 SSH_AUTH_SOCK=/tmp/ssh-0hlheP19a2J6/agent.12 08:01:46 SSH_AGENT_PID=17 08:01:46 Running ssh-add (command line suppressed) 08:01:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_253756733389757920.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_253756733389757920.key) 08:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:47 + git describe --exact-match --tags HEAD 08:01:47 fatal: No names found, cannot describe anything. [Pipeline] } 08:01:47 $ docker exec --env ******** --env ******** 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 ssh-agent -k 08:01:47 unset SSH_AUTH_SOCK; 08:01:47 unset SSH_AGENT_PID; 08:01:47 echo Agent pid 17 killed; 08:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:01:47 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:01:47 This usually means this commit has not been tagged. [Pipeline] sshagent 08:01:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:47 [ssh-agent] Looking for ssh-agent implementation... 08:01:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:47 $ docker exec 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 ssh-agent 08:01:47 SSH_AUTH_SOCK=/tmp/ssh-trO8XN8XVczz/agent.46 08:01:47 SSH_AGENT_PID=52 08:01:47 Running ssh-add (command line suppressed) 08:01:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_8681547050941004236.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_8681547050941004236.key) 08:01:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:48 + git semver init 08:01:48 # -> Open(): unable to determine branch for HEAD 08:01:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 08:01:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 08:01:48 # $SEMVER_REMOTE_NAME = origin 08:01:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:01:48 # $SEMVER_USER_NAME = edgex-jenkins 08:01:48 # $SEMVER_BRANCH = PR-571 08:01:48 # $SEMVER_TEMP = /tmp/semver-452490297 08:01:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:01:49 # '/tmp/semver-452490297' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 08:01:49 # -> Force: false 08:01:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 08:01:49 $ docker exec --env ******** --env ******** 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 ssh-agent -k 08:01:49 unset SSH_AUTH_SOCK; 08:01:49 unset SSH_AGENT_PID; 08:01:49 echo Agent pid 52 killed; 08:01:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:01:49 + git semver [Pipeline] } 08:01:49 $ docker stop --time=1 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 08:01:51 $ docker rm -f 478503bdd8afa239b64860d51613076156e04d0ead90a460cda8965359f0e7a0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:01:51 Stashed 30 file(s) [Pipeline] echo 08:01:51 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 08:01:51 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:02:07 Still waiting to schedule task 08:02:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:02:07 Still waiting to schedule task 08:02:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:03:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-388 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 08:03:53 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 08:03:58 using credential edgex-jenkins-ssh 08:03:59 Cloning the remote Git repository 08:03:59 Cloning with configured refspecs honoured and without tags 08:03:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:03:59 > git init /w/workspace/device-sdk-go/4 # timeout=10 08:03:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:03:59 > git --version # timeout=10 08:03:59 > git --version # 'git version 2.17.1' 08:03:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:04:00 Fetching without tags 08:04:00 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit e6ace9b265773e6a7694aedd4004a3c32facaa30 08:04:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:04:00 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 08:04:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:04:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:04:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:04:00 > git config core.sparsecheckout # timeout=10 08:04:01 > git checkout -f e6ace9b265773e6a7694aedd4004a3c32facaa30 # timeout=10 08:04:01 > git remote # timeout=10 08:04:01 > git config --get remote.origin.url # timeout=10 08:04:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:01 > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 08:04:01 Merge succeeded, producing e6ace9b265773e6a7694aedd4004a3c32facaa30 08:04:01 Checking out Revision e6ace9b265773e6a7694aedd4004a3c32facaa30 (PR-571) 08:04:01 > git rev-parse HEAD^{commit} # timeout=10 08:04:01 > git config core.sparsecheckout # timeout=10 08:04:01 > git checkout -f e6ace9b265773e6a7694aedd4004a3c32facaa30 # timeout=10 08:04:05 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:04:06 ========================================================= 08:04:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:04:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:04:08 + 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:04:09 Sending build context to Docker daemon 3.164MB 08:04:09 Step 1/8 : ARG BASE=golang:1.13-alpine 08:04:09 Step 2/8 : FROM ${BASE} 08:04:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:04:09 b538f80385f9: Pulling fs layer 08:04:09 74f711af9a0d: Pulling fs layer 08:04:09 99f96fe45779: Pulling fs layer 08:04:09 fd7a069fd194: Pulling fs layer 08:04:09 66aa3694b03b: Pulling fs layer 08:04:09 170f70906a0f: Pulling fs layer 08:04:09 ad7c5574e4b9: Pulling fs layer 08:04:09 e772456be8f7: Pulling fs layer 08:04:09 c890913d741a: Pulling fs layer 08:04:09 2480fcc9aa5a: Pulling fs layer 08:04:09 09adf4765672: Pulling fs layer 08:04:09 170f70906a0f: Waiting 08:04:09 ad7c5574e4b9: Waiting 08:04:09 e772456be8f7: Waiting 08:04:09 c890913d741a: Waiting 08:04:09 2480fcc9aa5a: Waiting 08:04:09 09adf4765672: Waiting 08:04:09 66aa3694b03b: Waiting 08:04:09 fd7a069fd194: Waiting 08:04:09 99f96fe45779: Verifying Checksum 08:04:09 99f96fe45779: Download complete 08:04:09 74f711af9a0d: Verifying Checksum 08:04:09 74f711af9a0d: Download complete 08:04:09 66aa3694b03b: Verifying Checksum 08:04:09 66aa3694b03b: Download complete 08:04:09 170f70906a0f: Download complete 08:04:09 b538f80385f9: Verifying Checksum 08:04:09 b538f80385f9: Download complete 08:04:10 b538f80385f9: Pull complete 08:04:10 74f711af9a0d: Pull complete 08:04:11 99f96fe45779: Pull complete 08:04:12 ad7c5574e4b9: Download complete 08:04:12 c890913d741a: Download complete 08:04:14 2480fcc9aa5a: Verifying Checksum 08:04:14 2480fcc9aa5a: Download complete 08:04:14 09adf4765672: Verifying Checksum 08:04:14 09adf4765672: Download complete 08:04:14 fd7a069fd194: Download complete 08:04:14 e772456be8f7: Verifying Checksum 08:04:14 e772456be8f7: Download complete 08:04:27 fd7a069fd194: Pull complete 08:04:27 66aa3694b03b: Pull complete 08:04:27 170f70906a0f: Pull complete 08:04:30 ad7c5574e4b9: Pull complete 08:04:36 e772456be8f7: Pull complete 08:04:36 c890913d741a: Pull complete 08:04:38 2480fcc9aa5a: Pull complete 08:04:38 09adf4765672: Pull complete 08:04:38 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:04:38 ---> 2248a725d1cf 08:04:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:41 Running on prd-centos7-docker-4c-2g-390 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 08:04:41 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 08:04:43 ---> Running in 71361b59272f 08:04:43 Removing intermediate container 71361b59272f 08:04:43 ---> a912fc8fa899 08:04:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:43 ---> Running in 021eac7203ed 08:04:44 using credential edgex-jenkins-ssh 08:04:44 Cloning the remote Git repository 08:04:44 Cloning with configured refspecs honoured and without tags 08:04:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:04:44 > git init /w/workspace/device-sdk-go/4 # timeout=10 08:04:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:04:45 > git --version # timeout=10 08:04:45 > git --version # 'git version 2.16.5' 08:04:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:04:45 Fetching without tags 08:04:46 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit e6ace9b265773e6a7694aedd4004a3c32facaa30 08:04:46 Merge succeeded, producing e6ace9b265773e6a7694aedd4004a3c32facaa30 08:04:46 Checking out Revision e6ace9b265773e6a7694aedd4004a3c32facaa30 (PR-571) 08:04:46 Removing intermediate container 021eac7203ed 08:04:46 ---> 35c8bc211cdb 08:04:46 Step 5/8 : RUN apk add --no-cache make git 08:04:46 ---> Running in faf8ca9d0c46 08:04:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:04:45 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 08:04:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:04:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:04:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:04:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:04:46 > git config core.sparsecheckout # timeout=10 08:04:46 > git checkout -f e6ace9b265773e6a7694aedd4004a3c32facaa30 # timeout=10 08:04:46 > git remote # timeout=10 08:04:46 > git config --get remote.origin.url # timeout=10 08:04:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:46 > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 08:04:46 > git rev-parse HEAD^{commit} # timeout=10 08:04:46 > git config core.sparsecheckout # timeout=10 08:04:46 > git checkout -f e6ace9b265773e6a7694aedd4004a3c32facaa30 # timeout=10 08:04:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:04:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:04:49 OK: 142 MiB in 39 packages 08:04:49 Commit message: "Remove globalvars and refactor remaining packages" 08:04:50 Removing intermediate container faf8ca9d0c46 08:04:50 ---> 9c338f9648f6 08:04:50 Step 6/8 : WORKDIR /device-sdk-go 08:04:50 ---> Running in b02bfaa8b5f7 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:04:50 ========================================================= 08:04:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:04:50 ========================================================= 08:04:50 Removing intermediate container b02bfaa8b5f7 08:04:50 ---> a7b67639699c 08:04:50 Step 7/8 : COPY . . [Pipeline] isUnix [Pipeline] sh 08:04:51 + 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:04:51 Sending build context to Docker daemon 3.164MB 08:04:51 Step 1/8 : ARG BASE=golang:1.13-alpine 08:04:51 Step 2/8 : FROM ${BASE} 08:04:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:04:51 df20fa9351a1: Pulling fs layer 08:04:51 ed8968b2872e: Pulling fs layer 08:04:51 a92cc7c5fd73: Pulling fs layer 08:04:51 2dd03ba5bac4: Pulling fs layer 08:04:51 1e091d79d1de: Pulling fs layer 08:04:51 481702a1767f: Pulling fs layer 08:04:51 f64a6f60c768: Pulling fs layer 08:04:51 e78d2573fc39: Pulling fs layer 08:04:51 e876d2f968b6: Pulling fs layer 08:04:51 ce8a83651883: Pulling fs layer 08:04:51 07967f4d0e4b: Pulling fs layer 08:04:51 f64a6f60c768: Waiting 08:04:51 e78d2573fc39: Waiting 08:04:51 e876d2f968b6: Waiting 08:04:51 ce8a83651883: Waiting 08:04:51 07967f4d0e4b: Waiting 08:04:51 2dd03ba5bac4: Waiting 08:04:51 1e091d79d1de: Waiting 08:04:51 481702a1767f: Waiting 08:04:52 a92cc7c5fd73: Verifying Checksum 08:04:52 a92cc7c5fd73: Download complete 08:04:52 ed8968b2872e: Verifying Checksum 08:04:52 ed8968b2872e: Download complete 08:04:52 1e091d79d1de: Verifying Checksum 08:04:52 1e091d79d1de: Download complete 08:04:52 481702a1767f: Verifying Checksum 08:04:52 481702a1767f: Download complete 08:04:52 df20fa9351a1: Verifying Checksum 08:04:52 df20fa9351a1: Download complete 08:04:52 ---> 2633656fd730 08:04:52 Step 8/8 : RUN go mod download 08:04:52 ---> Running in e0a16ff97431 08:04:52 df20fa9351a1: Pull complete 08:04:52 f64a6f60c768: Download complete 08:04:52 e876d2f968b6: Verifying Checksum 08:04:52 e876d2f968b6: Download complete 08:04:53 e78d2573fc39: Verifying Checksum 08:04:53 e78d2573fc39: Download complete 08:04:53 2dd03ba5bac4: Verifying Checksum 08:04:53 2dd03ba5bac4: Download complete 08:04:53 ce8a83651883: Verifying Checksum 08:04:53 ce8a83651883: Download complete 08:04:53 07967f4d0e4b: Verifying Checksum 08:04:53 07967f4d0e4b: Download complete 08:04:54 ed8968b2872e: Pull complete 08:04:54 a92cc7c5fd73: Pull complete 08:04:55 go: finding github.com/BurntSushi/toml v0.3.1 08:04:55 go: finding github.com/OneOfOne/xxhash v1.2.6 08:04:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:04:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:04:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:04:55 go: finding github.com/bgentry/speakeasy v0.1.0 08:04:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:04:55 go: finding github.com/davecgh/go-spew v1.1.1 08:04:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 08:04:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:04:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:04:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:04:56 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:04:56 go: finding github.com/fatih/color v1.7.0 08:04:56 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:04:56 go: finding github.com/go-kit/kit v0.8.0 08:04:56 go: finding github.com/go-logfmt/logfmt v0.4.0 08:04:56 go: finding github.com/go-stack/stack v1.8.0 08:04:56 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:04:56 go: finding github.com/google/uuid v1.1.0 08:04:56 go: finding github.com/gorilla/mux v1.7.1 08:04:56 go: finding github.com/hashicorp/consul/api v1.1.0 08:04:56 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:04:56 go: finding github.com/hashicorp/errwrap v1.0.0 08:04:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:04:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:04:56 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:04:56 go: finding github.com/hashicorp/go-multierror v1.0.0 08:04:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:04:56 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:04:56 go: finding github.com/hashicorp/go-syslog v1.0.0 08:04:56 go: finding github.com/hashicorp/go-uuid v1.0.1 08:04:56 go: finding github.com/hashicorp/go.net v0.0.1 08:04:56 go: finding github.com/hashicorp/golang-lru v0.5.0 08:04:56 go: finding github.com/hashicorp/logutils v1.0.0 08:04:57 go: finding github.com/hashicorp/mdns v1.0.0 08:04:57 go: finding github.com/hashicorp/memberlist v0.1.3 08:04:57 go: finding github.com/hashicorp/serf v0.8.2 08:04:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:04:57 go: finding github.com/mattn/go-colorable v0.0.9 08:04:57 go: finding github.com/mattn/go-isatty v0.0.3 08:04:57 go: finding github.com/miekg/dns v1.0.14 08:04:57 go: finding github.com/mitchellh/cli v1.0.0 08:04:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:04:57 go: finding github.com/mitchellh/copystructure v1.0.0 08:04:57 go: finding github.com/mitchellh/go-homedir v1.0.0 08:04:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:04:57 go: finding github.com/mitchellh/gox v0.4.0 08:04:57 go: finding github.com/mitchellh/iochan v1.0.0 08:04:57 go: finding github.com/mitchellh/mapstructure v1.1.2 08:04:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:04:57 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:04:57 go: finding github.com/pelletier/go-toml v1.2.0 08:04:57 go: finding github.com/pkg/errors v0.8.1 08:04:57 go: finding github.com/pmezard/go-difflib v1.0.0 08:04:57 go: finding github.com/posener/complete v1.1.1 08:04:57 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:04:57 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:04:57 go: finding github.com/stretchr/objx v0.1.0 08:04:57 go: finding github.com/stretchr/testify v1.5.1 08:04:58 go: finding github.com/ugorji/go v1.1.4 08:04:58 go: finding github.com/x448/float16 v0.8.4 08:04:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:04:58 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:04:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:04:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:04:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:04:58 go: finding gopkg.in/yaml.v2 v2.2.8 08:04:59 2dd03ba5bac4: Pull complete 08:04:59 1e091d79d1de: Pull complete 08:04:59 481702a1767f: Pull complete 08:05:08 Removing intermediate container e0a16ff97431 08:05:08 ---> cd42544e0684 08:05:08 Successfully built cd42544e0684 08:05:08 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:05:09 + docker inspect -f . ci-base-image-arm64 08:05:09 . [Pipeline] withDockerContainer 08:05:09 f64a6f60c768: Pull complete 08:05:09 prd-ubuntu18.04-docker-arm64-4c-16g-388 does not seem to be running inside a container 08:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 08:05:11 e78d2573fc39: Pull complete 08:05:11 e876d2f968b6: Pull complete 08:05:11 $ docker top e8bad314780d59e94a9bebea1f3cb279c8ccb64c975e19bd0ec2106e36d34b23 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:12 ce8a83651883: Pull complete 08:05:12 07967f4d0e4b: Pull complete 08:05:12 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:05:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:05:12 ---> 5d7c900382c6 08:05:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:05:12 + go version 08:05:12 go version go1.13.13 linux/arm64 [Pipeline] sh 08:05:13 ---> Running in 516a136e309c 08:05:14 + make test 08:05:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:05:14 Removing intermediate container 516a136e309c 08:05:14 ---> 916a6c41a462 08:05:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:14 ---> Running in f67959d0b21a 08:05:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:05:15 Removing intermediate container f67959d0b21a 08:05:15 ---> 8bb1a18987b7 08:05:15 Step 5/8 : RUN apk add --no-cache make git 08:05:15 ---> Running in 6aead68311b4 08:05:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:05:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:05:17 OK: 166 MiB in 39 packages 08:05:17 Removing intermediate container 6aead68311b4 08:05:17 ---> 105fb4cc1fe4 08:05:17 Step 6/8 : WORKDIR /device-sdk-go 08:05:17 ---> Running in 6d896dbab6b4 08:05:17 Removing intermediate container 6d896dbab6b4 08:05:17 ---> 76cfc6b4acdb 08:05:17 Step 7/8 : COPY . . 08:05:19 ---> 28bc91d56ad1 08:05:19 Step 8/8 : RUN go mod download 08:05:19 ---> Running in d8eadaf70cc1 08:05:21 go: finding github.com/BurntSushi/toml v0.3.1 08:05:21 go: finding github.com/OneOfOne/xxhash v1.2.6 08:05:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:05:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:05:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:05:21 go: finding github.com/bgentry/speakeasy v0.1.0 08:05:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:05:21 go: finding github.com/davecgh/go-spew v1.1.1 08:05:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 08:05:21 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:05:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:05:21 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:05:21 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:05:21 go: finding github.com/fatih/color v1.7.0 08:05:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:05:21 go: finding github.com/go-kit/kit v0.8.0 08:05:21 go: finding github.com/go-logfmt/logfmt v0.4.0 08:05:21 go: finding github.com/go-stack/stack v1.8.0 08:05:21 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:05:21 go: finding github.com/google/uuid v1.1.0 08:05:21 go: finding github.com/gorilla/mux v1.7.1 08:05:21 go: finding github.com/hashicorp/consul/api v1.1.0 08:05:22 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:05:22 go: finding github.com/hashicorp/errwrap v1.0.0 08:05:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:05:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:05:22 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:05:22 go: finding github.com/hashicorp/go-multierror v1.0.0 08:05:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:05:22 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:05:22 go: finding github.com/hashicorp/go-syslog v1.0.0 08:05:22 go: finding github.com/hashicorp/go-uuid v1.0.1 08:05:22 go: finding github.com/hashicorp/go.net v0.0.1 08:05:22 go: finding github.com/hashicorp/golang-lru v0.5.0 08:05:22 go: finding github.com/hashicorp/logutils v1.0.0 08:05:22 go: finding github.com/hashicorp/mdns v1.0.0 08:05:22 go: finding github.com/hashicorp/memberlist v0.1.3 08:05:22 go: finding github.com/hashicorp/serf v0.8.2 08:05:22 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:05:22 go: finding github.com/mattn/go-colorable v0.0.9 08:05:22 go: finding github.com/mattn/go-isatty v0.0.3 08:05:22 go: finding github.com/miekg/dns v1.0.14 08:05:23 go: finding github.com/mitchellh/cli v1.0.0 08:05:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:05:23 go: finding github.com/mitchellh/copystructure v1.0.0 08:05:23 go: finding github.com/mitchellh/go-homedir v1.0.0 08:05:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:05:23 go: finding github.com/mitchellh/gox v0.4.0 08:05:23 go: finding github.com/mitchellh/iochan v1.0.0 08:05:23 go: finding github.com/mitchellh/mapstructure v1.1.2 08:05:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:05:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:05:23 go: finding github.com/pelletier/go-toml v1.2.0 08:05:23 go: finding github.com/pkg/errors v0.8.1 08:05:23 go: finding github.com/pmezard/go-difflib v1.0.0 08:05:23 go: finding github.com/posener/complete v1.1.1 08:05:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:05:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:05:23 go: finding github.com/stretchr/objx v0.1.0 08:05:23 go: finding github.com/stretchr/testify v1.5.1 08:05:23 go: finding github.com/ugorji/go v1.1.4 08:05:23 go: finding github.com/x448/float16 v0.8.4 08:05:23 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:05:23 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:05:23 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:05:23 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:05:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:05:23 go: finding gopkg.in/yaml.v2 v2.2.8 08:05:32 Removing intermediate container d8eadaf70cc1 08:05:32 ---> 803870bed356 08:05:32 Successfully built 803870bed356 08:05:32 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:05:32 + docker inspect -f . ci-base-image-x86_64 08:05:32 . [Pipeline] withDockerContainer 08:05:32 prd-centos7-docker-4c-2g-390 does not seem to be running inside a container 08:05:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 08:05:34 $ docker top 3effd66485e27af14bdff2e73a53327c3041b58af77b451644b4a63a2494f62b -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:34 + go version 08:05:34 go version go1.13.13 linux/amd64 [Pipeline] sh 08:05:34 + make test 08:05:34 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:05:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:05:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:05:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:05:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:05:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 20.8% of statements 08:05:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.065s coverage: 97.1% of statements 08:05:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:05:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:05:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:05:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.033s coverage: 20.8% of statements 08:05:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.221s coverage: 97.1% of statements 08:06:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 9.4% of statements 08:06:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.9% of statements 08:06:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:06:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.019s coverage: 37.0% of statements 08:06:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:06:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.045s coverage: 65.4% of statements 08:06:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:06:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:06:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:06:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.008s coverage: 52.6% of statements 08:06:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements 08:06:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:06:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:06:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:06:18 gofmt -l . 08:06:18 [ "`gofmt -l .`" = "" ] 08:06:18 ./bin/test-attribution-txt.sh 08:06:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:06:19 Stashed 1 file(s) [Pipeline] } 08:06:19 $ docker stop --time=1 3effd66485e27af14bdff2e73a53327c3041b58af77b451644b4a63a2494f62b 08:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.019s coverage: 9.4% of statements 08:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.9% of statements 08:06:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 37.0% of statements 08:06:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.127s coverage: 65.4% of statements 08:06:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:06:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:06:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:06:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.033s coverage: 52.6% of statements 08:06:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 68.9% of statements 08:06:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:06:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:06:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:06:21 $ docker rm -f 3effd66485e27af14bdff2e73a53327c3041b58af77b451644b4a63a2494f62b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:23 gofmt -l . 08:06:23 [ "`gofmt -l .`" = "" ] 08:06:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:24 ./bin/test-attribution-txt.sh 08:06:24 + ls -al . 08:06:24 total 188 08:06:24 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 26 08:06 . 08:06:24 drwxrwxr-x. 4 jenkins jenkins 28 Aug 26 08:04 .. 08:06:24 drwxrwxr-x. 2 jenkins jenkins 64 Aug 26 08:04 bin 08:06:24 -rw-r--r--. 1 jenkins jenkins 110898 Aug 26 08:06 coverage.out 08:06:24 -rw-rw-r--. 1 jenkins jenkins 936 Aug 26 08:04 Dockerfile.build 08:06:24 -rw-rw-r--. 1 jenkins jenkins 140 Aug 26 08:04 .dockerignore 08:06:24 drwxrwxr-x. 4 jenkins jenkins 48 Aug 26 08:04 example 08:06:24 drwxrwxr-x. 8 jenkins jenkins 179 Aug 26 08:04 .git 08:06:24 drwxrwxr-x. 2 jenkins jenkins 38 Aug 26 08:04 .github 08:06:24 -rw-rw-r--. 1 jenkins jenkins 138 Aug 26 08:04 .gitignore 08:06:24 -rw-r--r--. 1 jenkins jenkins 446 Aug 26 08:06 go.mod 08:06:24 -rw-r--r--. 1 jenkins jenkins 12179 Aug 26 08:06 go.sum 08:06:24 drwxrwxr-x. 13 jenkins jenkins 184 Aug 26 08:04 internal 08:06:24 -rw-rw-r--. 1 jenkins jenkins 808 Aug 26 08:04 Jenkinsfile 08:06:24 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 26 08:04 LICENSE 08:06:24 -rw-rw-r--. 1 jenkins jenkins 892 Aug 26 08:04 Makefile 08:06:24 drwxrwxr-x. 4 jenkins jenkins 26 Aug 26 08:04 openapi 08:06:24 drwxrwxr-x. 5 jenkins jenkins 50 Aug 26 08:04 pkg 08:06:24 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 26 08:04 README.md 08:06:24 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 26 08:04 RELEASE-NOTES.txt 08:06:24 drwxrwxr-x. 3 jenkins jenkins 58 Aug 26 08:04 .semver 08:06:24 drwxrwxr-x. 4 jenkins jenkins 54 Aug 26 08:04 snap 08:06:24 -rw-rw-r--. 1 jenkins jenkins 5 Aug 26 08:01 VERSION 08:06:24 -rw-rw-r--. 1 jenkins jenkins 222 Aug 26 08:04 version.go [Pipeline] isUnix [Pipeline] sh 08:06:24 + 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=e6ace9b265773e6a7694aedd4004a3c32facaa30 --label arch=amd64 --label version=0.0.0 . 08:06:24 ./bin/test-go-mod-tidy.sh 08:06:24 Sending build context to Docker daemon 3.276MB 08:06:24 Step 1/23 : ARG BASE=golang:1.13-alpine 08:06:24 Step 2/23 : FROM ${BASE} AS builder 08:06:24 ---> 803870bed356 08:06:24 Step 3/23 : ARG MAKE='make build' 08:06:25 ---> Running in d18c55e12cb3 [Pipeline] stash 08:06:25 Warning: overwriting stash ‘coverage-report’ 08:06:25 Removing intermediate container d18c55e12cb3 08:06:25 ---> 73557accf738 08:06:25 Step 4/23 : WORKDIR /device-sdk-go 08:06:25 ---> Running in 2af721ef6717 08:06:25 Removing intermediate container 2af721ef6717 08:06:25 ---> 00ec9a2a3e60 08:06:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:06:25 ---> Running in 1d4ea5d3f35c 08:06:25 Removing intermediate container 1d4ea5d3f35c 08:06:25 ---> c76a43565f53 08:06:25 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:06:25 ---> Running in 877cac972621 08:06:26 Stashed 1 file(s) [Pipeline] } 08:06:26 $ docker stop --time=1 e8bad314780d59e94a9bebea1f3cb279c8ccb64c975e19bd0ec2106e36d34b23 08:06:26 Removing intermediate container 877cac972621 08:06:26 ---> cf9418b72c44 08:06:26 Step 7/23 : RUN apk add --update --no-cache make git 08:06:26 ---> Running in d3cf31f115c1 08:06:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:06:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:06:28 $ docker rm -f e8bad314780d59e94a9bebea1f3cb279c8ccb64c975e19bd0ec2106e36d34b23 08:06:28 OK: 166 MiB in 39 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 08:06:28 Removing intermediate container d3cf31f115c1 08:06:28 ---> 2f2bfa4b8f92 08:06:28 Step 8/23 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:29 ---> 8bd07c19491b 08:06:29 Step 9/23 : RUN ${MAKE} 08:06:29 ---> Running in 47dac4c03190 08:06:29 + ls -al . 08:06:29 total 228 08:06:29 drwxrwxr-x 11 jenkins jenkins 4096 Aug 26 08:06 . 08:06:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 08:03 .. 08:06:29 -rw-rw-r-- 1 jenkins jenkins 140 Aug 26 08:04 .dockerignore 08:06:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 08:04 .git 08:06:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 08:04 .github 08:06:29 -rw-rw-r-- 1 jenkins jenkins 138 Aug 26 08:04 .gitignore 08:06:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 08:04 .semver 08:06:29 -rw-rw-r-- 1 jenkins jenkins 936 Aug 26 08:04 Dockerfile.build 08:06:29 -rw-rw-r-- 1 jenkins jenkins 808 Aug 26 08:04 Jenkinsfile 08:06:29 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 26 08:04 LICENSE 08:06:29 -rw-rw-r-- 1 jenkins jenkins 892 Aug 26 08:04 Makefile 08:06:29 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 26 08:04 README.md 08:06:29 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 26 08:04 RELEASE-NOTES.txt 08:06:29 -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 08:01 VERSION 08:06:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 08:04 bin 08:06:29 -rw-r--r-- 1 jenkins jenkins 110898 Aug 26 08:06 coverage.out 08:06:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 08:04 example 08:06:29 -rw-r--r-- 1 jenkins jenkins 446 Aug 26 08:06 go.mod 08:06:29 -rw-r--r-- 1 jenkins jenkins 12179 Aug 26 08:06 go.sum 08:06:29 drwxrwxr-x 13 jenkins jenkins 4096 Aug 26 08:04 internal 08:06:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 08:04 openapi 08:06:29 drwxrwxr-x 5 jenkins jenkins 4096 Aug 26 08:04 pkg 08:06:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 08:04 snap 08:06:29 -rw-rw-r-- 1 jenkins jenkins 222 Aug 26 08:04 version.go [Pipeline] isUnix [Pipeline] sh 08:06:30 + 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=e6ace9b265773e6a7694aedd4004a3c32facaa30 --label arch=arm64 --label version=0.0.0 . 08:06:30 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:06:30 Sending build context to Docker daemon 3.276MB 08:06:30 Step 1/23 : ARG BASE=golang:1.13-alpine 08:06:30 Step 2/23 : FROM ${BASE} AS builder 08:06:30 ---> cd42544e0684 08:06:30 Step 3/23 : ARG MAKE='make build' 08:06:30 ---> Running in e3e5138616ce 08:06:31 Removing intermediate container e3e5138616ce 08:06:31 ---> bb0cfda5523c 08:06:31 Step 4/23 : WORKDIR /device-sdk-go 08:06:31 ---> Running in 42c38491efc3 08:06:31 Removing intermediate container 42c38491efc3 08:06:31 ---> 68fd753c50c4 08:06:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:06:31 ---> Running in 21eeeea061d4 08:06:32 Removing intermediate container 21eeeea061d4 08:06:32 ---> 07aa537bf925 08:06:32 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:06:32 ---> Running in eeaccff5a887 08:06:35 Removing intermediate container eeaccff5a887 08:06:35 ---> 9d646986d316 08:06:35 Step 7/23 : RUN apk add --update --no-cache make git 08:06:35 ---> Running in 79f979a0d708 08:06:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:06:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:06:37 OK: 142 MiB in 39 packages 08:06:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:06:39 Removing intermediate container 79f979a0d708 08:06:39 ---> 379d018c1b0e 08:06:39 Step 8/23 : COPY . . 08:06:39 Removing intermediate container 47dac4c03190 08:06:39 ---> 6d166974d030 08:06:39 Step 10/23 : FROM scratch 08:06:39 ---> 08:06:39 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:06:39 ---> Running in 1a9781d63460 08:06:40 ---> 93dec2bc2c6d 08:06:40 Step 9/23 : RUN ${MAKE} 08:06:40 ---> Running in 221e1f4591a7 08:06:40 Removing intermediate container 1a9781d63460 08:06:40 ---> bdca40186493 08:06:40 Step 12/23 : ENV APP_PORT=49990 08:06:40 ---> Running in 939cc7bb785b 08:06:40 Removing intermediate container 939cc7bb785b 08:06:40 ---> 5e611588f1c9 08:06:40 Step 13/23 : EXPOSE $APP_PORT 08:06:40 ---> Running in 0ddf8402131b 08:06:40 Removing intermediate container 0ddf8402131b 08:06:40 ---> b2bcc0f6efa7 08:06:40 Step 14/23 : WORKDIR / 08:06:40 ---> Running in 99b001200a9c 08:06:40 Removing intermediate container 99b001200a9c 08:06:40 ---> 489eb728635d 08:06:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:06:41 ---> b46ae0f8e318 08:06:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:06:41 ---> 689896ee3750 08:06:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:06:41 ---> 5aea18175fd5 08:06:41 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:06:41 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:06:41 ---> 59fe8b87a45b 08:06:41 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:06:42 ---> 75cc29291e0c 08:06:42 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:06:42 ---> Running in 594f71ba674f 08:06:42 Removing intermediate container 594f71ba674f 08:06:42 ---> 38ced9a160c8 08:06:42 Step 21/23 : LABEL arch=amd64 08:06:42 ---> Running in 84b1d6152903 08:06:42 Removing intermediate container 84b1d6152903 08:06:42 ---> 389adb16c493 08:06:42 Step 22/23 : LABEL git_sha=e6ace9b265773e6a7694aedd4004a3c32facaa30 08:06:42 ---> Running in 72de93c7a217 08:06:42 Removing intermediate container 72de93c7a217 08:06:42 ---> 4206c48b092e 08:06:42 Step 23/23 : LABEL version=0.0.0 08:06:42 ---> Running in 1f5074aa015e 08:06:42 Removing intermediate container 1f5074aa015e 08:06:42 ---> 8d1119c3039c 08:06:42 [Warning] One or more build-args [ARCH] were not consumed 08:06:42 Successfully built 8d1119c3039c 08:06:42 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:07:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:07:08 Removing intermediate container 221e1f4591a7 08:07:08 ---> e419c94d20d1 08:07:08 Step 10/23 : FROM scratch 08:07:08 ---> 08:07:08 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:07:08 ---> Running in 3ec06e05ed04 08:07:08 Removing intermediate container 3ec06e05ed04 08:07:08 ---> 3e27c0abfbda 08:07:08 Step 12/23 : ENV APP_PORT=49990 08:07:08 ---> Running in 7e5cc1a204eb 08:07:08 Removing intermediate container 7e5cc1a204eb 08:07:08 ---> 37f62bc448b9 08:07:08 Step 13/23 : EXPOSE $APP_PORT 08:07:08 ---> Running in 58bf3ed533fd 08:07:09 Removing intermediate container 58bf3ed533fd 08:07:09 ---> c33c081a7301 08:07:09 Step 14/23 : WORKDIR / 08:07:09 ---> Running in 449f9b6835aa 08:07:09 Removing intermediate container 449f9b6835aa 08:07:09 ---> 7c8169e75ae0 08:07:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:07:10 ---> c7d1d6326bba 08:07:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:07:11 ---> d21e1a551630 08:07:11 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:07:12 ---> c0f447ab3083 08:07:12 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:07:12 ---> 2fa61a66c73b 08:07:12 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:07:13 ---> 24ec606108b5 08:07:13 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:07:13 ---> Running in b64973445f18 08:07:14 Removing intermediate container b64973445f18 08:07:14 ---> 2bb02a6cc845 08:07:14 Step 21/23 : LABEL arch=arm64 08:07:14 ---> Running in d9101ea76f9f 08:07:14 Removing intermediate container d9101ea76f9f 08:07:14 ---> 3154e3587878 08:07:14 Step 22/23 : LABEL git_sha=e6ace9b265773e6a7694aedd4004a3c32facaa30 08:07:14 ---> Running in caa5bfbbc1a6 08:07:15 Removing intermediate container caa5bfbbc1a6 08:07:15 ---> 83138adc2438 08:07:15 Step 23/23 : LABEL version=0.0.0 08:07:15 ---> Running in 3c4fa9414525 08:07:15 Removing intermediate container 3c4fa9414525 08:07:15 ---> 9fcffae2226d 08:07:15 [Warning] One or more build-args [ARCH] were not consumed 08:07:15 Successfully built 9fcffae2226d 08:07:15 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:07:17 provisioning config files... 08:07:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config3146007553659461355tmp [Pipeline] { [Pipeline] sh 08:07:17 + curl -s https://codecov.io/bash 08:07:17 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config3146007553659461355tmp [Pipeline] } 08:07:18 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:07:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:21 ---> package-listing.sh 08:07:21 ++ tr '[:upper:]' '[:lower:]' 08:07:21 ++ facter osfamily 08:07:21 + OS_FAMILY=redhat 08:07:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 08:07:21 + START_PACKAGES=/tmp/packages_start.txt 08:07:21 + END_PACKAGES=/tmp/packages_end.txt 08:07:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:21 + PACKAGES=/tmp/packages_start.txt 08:07:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 08:07:21 + PACKAGES=/tmp/packages_end.txt 08:07:21 + case "${OS_FAMILY}" in 08:07:21 + rpm -qa 08:07:21 + sort 08:07:25 + '[' -f /tmp/packages_start.txt ']' 08:07:25 + '[' -f /tmp/packages_end.txt ']' 08:07:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 08:07:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 08:07:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 08:07:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:07:26 08:07:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:07:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:07:26 alpine: Pulling from edgex-lftools-log-publisher 08:07:26 c9b1b535fdd9: Pulling fs layer 08:07:26 2cc5ad85d9ab: Pulling fs layer 08:07:26 756a868c4378: Pulling fs layer 08:07:26 444b2fc9a129: Pulling fs layer 08:07:26 ea15f1150254: Pulling fs layer 08:07:26 41b27a9f41bf: Pulling fs layer 08:07:26 28c525ee5125: Pulling fs layer 08:07:26 094b1ea09ed8: Pulling fs layer 08:07:26 138eaada9080: Pulling fs layer 08:07:26 0622d0fa9048: Pulling fs layer 08:07:26 41b27a9f41bf: Waiting 08:07:26 28c525ee5125: Waiting 08:07:26 094b1ea09ed8: Waiting 08:07:26 138eaada9080: Waiting 08:07:26 444b2fc9a129: Waiting 08:07:26 ea15f1150254: Waiting 08:07:26 2cc5ad85d9ab: Verifying Checksum 08:07:26 2cc5ad85d9ab: Download complete 08:07:26 444b2fc9a129: Download complete 08:07:26 c9b1b535fdd9: Verifying Checksum 08:07:26 c9b1b535fdd9: Download complete 08:07:26 ea15f1150254: Verifying Checksum 08:07:26 ea15f1150254: Download complete 08:07:26 28c525ee5125: Verifying Checksum 08:07:26 28c525ee5125: Download complete 08:07:26 756a868c4378: Verifying Checksum 08:07:26 756a868c4378: Download complete 08:07:26 138eaada9080: Verifying Checksum 08:07:26 138eaada9080: Download complete 08:07:26 0622d0fa9048: Download complete 08:07:26 094b1ea09ed8: Verifying Checksum 08:07:26 094b1ea09ed8: Download complete 08:07:27 c9b1b535fdd9: Pull complete 08:07:27 2cc5ad85d9ab: Pull complete 08:07:27 41b27a9f41bf: Verifying Checksum 08:07:27 41b27a9f41bf: Download complete 08:07:28 756a868c4378: Pull complete 08:07:28 444b2fc9a129: Pull complete 08:07:29 ea15f1150254: Pull complete 08:07:33 41b27a9f41bf: Pull complete 08:07:33 28c525ee5125: Pull complete 08:07:35 094b1ea09ed8: Pull complete 08:07:35 138eaada9080: Pull complete 08:07:35 0622d0fa9048: Pull complete 08:07:35 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:07:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:07:35 prd-centos7-docker-4c-2g-387 does not seem to be running inside a container 08:07:35 $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 08:07:39 $ docker top 1614a0cfc126992f2dcf2e497871bf975e6f15b90bdf60df5146fa1f275944a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:39 provisioning config files... 08:07:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config7792828798461412749tmp [Pipeline] { [Pipeline] echo 08:07:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:39 ---> create-netrc.sh [Pipeline] echo 08:07:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:40 ---> logs-deploy.sh 08:07:40 + ARCHIVE_ARTIFACTS= 08:07:40 + LOGS_SERVER=https://logs.edgexfoundry.org 08:07:40 + '[' https://logs.edgexfoundry.org == None ']' 08:07:40 + NEXUS_URL=https://nexus.edgexfoundry.org 08:07:40 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/4 08:07:40 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/4/ 08:07:40 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/4 /w/workspace/dgexfoundry_device-sdk-go_PR-571 08:07:41 Archives upload complete. 08:07:41 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/4/