Pull request #549 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 ba93c9a914aaa7b858178398bbd2d1342ca3a445+f17d1be1b4849550bf30592997a90b8c252fbe34 (abc30825516fd83461e127c7d2b32a4dd71703f2) 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-724’ is offline Running on prd-centos7-docker-4c-2g-1111 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [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-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit ba93c9a914aaa7b858178398bbd2d1342ca3a445 Merge succeeded, producing ba93c9a914aaa7b858178398bbd2d1342ca3a445 Checking out Revision ba93c9a914aaa7b858178398bbd2d1342ca3a445 (PR-549) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # 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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 Commit message: "fix the requested changes in PR" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:03:18 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk e1e03c4a8422cac8db24df30de11e7a17425f804 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:03:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:03:18 ========================================================= 06:03:18 EdgeX Global Pipelines Version Info 06:03:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:03:20 ------------------- 06:03:20 stable info: 06:03:20 ------------------- 06:03:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:03:20 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 06:03:20 Message: update stable to v1.0.106 06:03:21 ------------------- 06:03:21 experimental info: 06:03:21 ------------------- 06:03:21 Commited By: **** collab-it+edgex@linuxfoundation.org 06:03:21 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 06:03:21 Message: update experimental to v1.0.106 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:24 + git log --format=format:%s -1 ba93c9a914aaa7b858178398bbd2d1342ca3a445 [Pipeline] echo 06:03:24 GIT_COMMIT: ba93c9a914aaa7b858178398bbd2d1342ca3a445, Commit Message: fix the requested changes in PR [Pipeline] echo 06:03:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:03:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:03:25 06:03:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:03:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:03:25 latest: Pulling from edgex-devops/git-semver 06:03:25 31603596830f: Pulling fs layer 06:03:25 2a8b12db71e7: Pulling fs layer 06:03:25 6ca5941a6612: Pulling fs layer 06:03:25 ecc8261a40a4: Pulling fs layer 06:03:25 ecc8261a40a4: Waiting 06:03:25 2a8b12db71e7: Verifying Checksum 06:03:25 2a8b12db71e7: Download complete 06:03:26 31603596830f: Verifying Checksum 06:03:26 31603596830f: Download complete 06:03:26 ecc8261a40a4: Verifying Checksum 06:03:26 ecc8261a40a4: Download complete 06:03:26 6ca5941a6612: Verifying Checksum 06:03:26 6ca5941a6612: Download complete 06:03:26 31603596830f: Pull complete 06:03:26 2a8b12db71e7: Pull complete 06:03:27 6ca5941a6612: Pull complete 06:03:27 ecc8261a40a4: Pull complete 06:03:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:03:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:03:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:03:27 prd-centos7-docker-4c-2g-1111 does not seem to be running inside a container 06:03:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:03:29 $ docker top 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:30 [ssh-agent] Looking for ssh-agent implementation... 06:03:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:30 $ docker exec 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 ssh-agent 06:03:30 SSH_AUTH_SOCK=/tmp/ssh-cbxLQr39RWDZ/agent.12 06:03:30 SSH_AGENT_PID=17 06:03:30 Running ssh-add (command line suppressed) 06:03:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_4092893459268715402.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_4092893459268715402.key) 06:03:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:31 + git describe --exact-match --tags HEAD 06:03:31 fatal: No names found, cannot describe anything. [Pipeline] } 06:03:31 $ docker exec --env ******** --env ******** 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 ssh-agent -k 06:03:31 unset SSH_AUTH_SOCK; 06:03:31 unset SSH_AGENT_PID; 06:03:31 echo Agent pid 17 killed; 06:03:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:03:31 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:03:31 This usually means this commit has not been tagged. [Pipeline] sshagent 06:03:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:31 [ssh-agent] Looking for ssh-agent implementation... 06:03:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:31 $ docker exec 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 ssh-agent 06:03:31 SSH_AUTH_SOCK=/tmp/ssh-QhZzN9tqfG8T/agent.45 06:03:31 SSH_AGENT_PID=51 06:03:31 Running ssh-add (command line suppressed) 06:03:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_6198492599406982196.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_6198492599406982196.key) 06:03:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:32 + git semver init 06:03:32 # -> Open(): unable to determine branch for HEAD 06:03:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git 06:03:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 06:03:32 # $SEMVER_REMOTE_NAME = origin 06:03:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:03:32 # $SEMVER_USER_NAME = edgex-jenkins 06:03:32 # $SEMVER_BRANCH = PR-549 06:03:32 # $SEMVER_TEMP = /tmp/semver-332827874 06:03:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:03:32 # '/tmp/semver-332827874' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' 06:03:32 # -> Force: false 06:03:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } 06:03:32 $ docker exec --env ******** --env ******** 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 ssh-agent -k 06:03:33 unset SSH_AUTH_SOCK; 06:03:33 unset SSH_AGENT_PID; 06:03:33 echo Agent pid 51 killed; 06:03:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:33 + git semver [Pipeline] } 06:03:33 $ docker stop --time=1 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 06:03:34 $ docker rm -f 9e76b19f36f45eb8206de2495db8ee4c5395cd01ab97d8371e692ad067ffd9d0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:03:35 Stashed 24 file(s) [Pipeline] echo 06:03:35 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 06:03:36 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 06:03:51 Still waiting to schedule task 06:03:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:03:51 Still waiting to schedule task 06:03:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:05:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1113 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 06:05:27 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 06:05:32 using credential edgex-jenkins-ssh 06:05:32 Cloning the remote Git repository 06:05:32 Cloning with configured refspecs honoured and without tags 06:05:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:05:32 > git init /w/workspace/device-sdk-go/8 # timeout=10 06:05:33 Fetching without tags 06:05:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:05:32 > git --version # timeout=10 06:05:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:05:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:05:33 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 06:05:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:05:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:05:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:05:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:34 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit ba93c9a914aaa7b858178398bbd2d1342ca3a445 06:05:34 Merge succeeded, producing ba93c9a914aaa7b858178398bbd2d1342ca3a445 06:05:34 Checking out Revision ba93c9a914aaa7b858178398bbd2d1342ca3a445 (PR-549) 06:05:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:05:34 > git config core.sparsecheckout # timeout=10 06:05:34 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 06:05:34 > git remote # timeout=10 06:05:34 > git config --get remote.origin.url # timeout=10 06:05:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:34 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 06:05:34 > git rev-parse HEAD^{commit} # timeout=10 06:05:34 > git config core.sparsecheckout # timeout=10 06:05:34 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 06:05:38 Commit message: "fix the requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:05:40 ========================================================= 06:05:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:05:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:05:41 + 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 . 06:05:42 Sending build context to Docker daemon 3.093MB 06:05:42 Step 1/8 : ARG BASE=golang:1.13-alpine 06:05:42 Step 2/8 : FROM ${BASE} 06:05:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:05:42 b538f80385f9: Pulling fs layer 06:05:42 74f711af9a0d: Pulling fs layer 06:05:42 99f96fe45779: Pulling fs layer 06:05:42 fd7a069fd194: Pulling fs layer 06:05:42 66aa3694b03b: Pulling fs layer 06:05:42 170f70906a0f: Pulling fs layer 06:05:42 ad7c5574e4b9: Pulling fs layer 06:05:42 e772456be8f7: Pulling fs layer 06:05:42 c890913d741a: Pulling fs layer 06:05:42 2480fcc9aa5a: Pulling fs layer 06:05:42 09adf4765672: Pulling fs layer 06:05:42 fd7a069fd194: Waiting 06:05:42 66aa3694b03b: Waiting 06:05:42 ad7c5574e4b9: Waiting 06:05:42 e772456be8f7: Waiting 06:05:42 c890913d741a: Waiting 06:05:42 2480fcc9aa5a: Waiting 06:05:42 09adf4765672: Waiting 06:05:42 170f70906a0f: Waiting 06:05:42 99f96fe45779: Verifying Checksum 06:05:42 99f96fe45779: Download complete 06:05:42 74f711af9a0d: Verifying Checksum 06:05:42 74f711af9a0d: Download complete 06:05:42 66aa3694b03b: Verifying Checksum 06:05:42 170f70906a0f: Verifying Checksum 06:05:42 170f70906a0f: Download complete 06:05:42 b538f80385f9: Verifying Checksum 06:05:42 b538f80385f9: Download complete 06:05:43 b538f80385f9: Pull complete 06:05:44 74f711af9a0d: Pull complete 06:05:44 99f96fe45779: Pull complete 06:05:45 ad7c5574e4b9: Verifying Checksum 06:05:45 ad7c5574e4b9: Download complete 06:05:45 c890913d741a: Verifying Checksum 06:05:45 c890913d741a: Download complete 06:05:46 2480fcc9aa5a: Verifying Checksum 06:05:46 2480fcc9aa5a: Download complete 06:05:46 09adf4765672: Download complete 06:05:47 e772456be8f7: Download complete 06:05:48 fd7a069fd194: Verifying Checksum 06:05:48 fd7a069fd194: Download complete 06:06:00 Running on prd-centos7-docker-4c-2g-1114 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 06:06:00 Running in /w/workspace/device-sdk-go/8 [Pipeline] { 06:06:00 fd7a069fd194: Pull complete 06:06:00 66aa3694b03b: Pull complete 06:06:00 170f70906a0f: Pull complete [Pipeline] checkout 06:06:03 using credential edgex-jenkins-ssh 06:06:03 Cloning the remote Git repository 06:06:03 Cloning with configured refspecs honoured and without tags 06:06:03 ad7c5574e4b9: Pull complete 06:06:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:06:03 > git init /w/workspace/device-sdk-go/8 # timeout=10 06:06:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:06:03 > git --version # timeout=10 06:06:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:06:04 Fetching without tags 06:06:05 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit ba93c9a914aaa7b858178398bbd2d1342ca3a445 06:06:05 Merge succeeded, producing ba93c9a914aaa7b858178398bbd2d1342ca3a445 06:06:05 Checking out Revision ba93c9a914aaa7b858178398bbd2d1342ca3a445 (PR-549) 06:06:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:06:04 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 06:06:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:06:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:06:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:06:05 > git config core.sparsecheckout # timeout=10 06:06:05 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 06:06:05 > git remote # timeout=10 06:06:05 > git config --get remote.origin.url # timeout=10 06:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:05 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 06:06:05 > git rev-parse HEAD^{commit} # timeout=10 06:06:05 > git config core.sparsecheckout # timeout=10 06:06:05 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 06:06:07 e772456be8f7: Pull complete 06:06:07 c890913d741a: Pull complete 06:06:08 Commit message: "fix the requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:06:09 ========================================================= 06:06:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:06:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:06:10 + 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 . 06:06:10 2480fcc9aa5a: Pull complete 06:06:10 09adf4765672: Pull complete 06:06:10 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 06:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:06:10 ---> 2248a725d1cf 06:06:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:10 Sending build context to Docker daemon 3.093MB 06:06:10 Step 1/8 : ARG BASE=golang:1.13-alpine 06:06:10 Step 2/8 : FROM ${BASE} 06:06:10 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:06:10 df20fa9351a1: Pulling fs layer 06:06:10 ed8968b2872e: Pulling fs layer 06:06:10 a92cc7c5fd73: Pulling fs layer 06:06:10 2dd03ba5bac4: Pulling fs layer 06:06:10 1e091d79d1de: Pulling fs layer 06:06:10 481702a1767f: Pulling fs layer 06:06:10 f64a6f60c768: Pulling fs layer 06:06:10 e78d2573fc39: Pulling fs layer 06:06:10 e876d2f968b6: Pulling fs layer 06:06:10 ce8a83651883: Pulling fs layer 06:06:10 07967f4d0e4b: Pulling fs layer 06:06:10 f64a6f60c768: Waiting 06:06:10 e876d2f968b6: Waiting 06:06:10 ce8a83651883: Waiting 06:06:10 07967f4d0e4b: Waiting 06:06:10 2dd03ba5bac4: Waiting 06:06:10 481702a1767f: Waiting 06:06:10 1e091d79d1de: Waiting 06:06:10 e78d2573fc39: Waiting 06:06:10 a92cc7c5fd73: Verifying Checksum 06:06:10 a92cc7c5fd73: Download complete 06:06:10 ed8968b2872e: Verifying Checksum 06:06:10 ed8968b2872e: Download complete 06:06:10 1e091d79d1de: Verifying Checksum 06:06:10 1e091d79d1de: Download complete 06:06:10 481702a1767f: Verifying Checksum 06:06:10 481702a1767f: Download complete 06:06:10 df20fa9351a1: Verifying Checksum 06:06:10 df20fa9351a1: Download complete 06:06:11 df20fa9351a1: Pull complete 06:06:11 ed8968b2872e: Pull complete 06:06:11 f64a6f60c768: Verifying Checksum 06:06:11 f64a6f60c768: Download complete 06:06:11 e876d2f968b6: Verifying Checksum 06:06:11 e876d2f968b6: Download complete 06:06:12 e78d2573fc39: Verifying Checksum 06:06:12 e78d2573fc39: Download complete 06:06:12 2dd03ba5bac4: Verifying Checksum 06:06:12 2dd03ba5bac4: Download complete 06:06:12 07967f4d0e4b: Verifying Checksum 06:06:12 07967f4d0e4b: Download complete 06:06:12 ce8a83651883: Verifying Checksum 06:06:12 ce8a83651883: Download complete 06:06:13 a92cc7c5fd73: Pull complete 06:06:15 ---> Running in 22f78ea9710f 06:06:15 Removing intermediate container 22f78ea9710f 06:06:15 ---> 4a3b3f1b48a6 06:06:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:15 ---> Running in ecb2e9c2140b 06:06:18 Removing intermediate container ecb2e9c2140b 06:06:18 ---> 8636aa30fb30 06:06:18 Step 5/8 : RUN apk add --no-cache make git 06:06:18 ---> Running in 9651edb68cfb 06:06:19 2dd03ba5bac4: Pull complete 06:06:19 1e091d79d1de: Pull complete 06:06:19 481702a1767f: Pull complete 06:06:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:06:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:06:23 f64a6f60c768: Pull complete 06:06:24 OK: 142 MiB in 39 packages 06:06:25 Removing intermediate container 9651edb68cfb 06:06:25 ---> d2d4b2ed1b0b 06:06:25 Step 6/8 : WORKDIR /device-sdk-go 06:06:25 ---> Running in c085f052759b 06:06:26 Removing intermediate container c085f052759b 06:06:26 ---> 1f1d4b030398 06:06:26 Step 7/8 : COPY . . 06:06:26 e78d2573fc39: Pull complete 06:06:26 e876d2f968b6: Pull complete 06:06:27 ---> fca4bdb4ddbc 06:06:27 Step 8/8 : RUN go mod download 06:06:27 ---> Running in f0668a45c5a9 06:06:28 ce8a83651883: Pull complete 06:06:28 07967f4d0e4b: Pull complete 06:06:28 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 06:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:06:28 ---> 5d7c900382c6 06:06:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:29 ---> Running in 2d1e025c3d7e 06:06:29 Removing intermediate container 2d1e025c3d7e 06:06:29 ---> 381cebf03208 06:06:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:29 ---> Running in 65aaf140acd0 06:06:30 go: finding github.com/BurntSushi/toml v0.3.1 06:06:30 go: finding github.com/OneOfOne/xxhash v1.2.6 06:06:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:06:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:06:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:06:30 go: finding github.com/bgentry/speakeasy v0.1.0 06:06:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:06:30 go: finding github.com/davecgh/go-spew v1.1.1 06:06:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:06:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:06:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:06:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:06:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:06:30 go: finding github.com/fatih/color v1.7.0 06:06:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:06:30 go: finding github.com/go-kit/kit v0.8.0 06:06:30 go: finding github.com/go-logfmt/logfmt v0.4.0 06:06:30 go: finding github.com/go-stack/stack v1.8.0 06:06:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:06:30 go: finding github.com/google/uuid v1.1.0 06:06:30 go: finding github.com/gorilla/mux v1.7.1 06:06:31 go: finding github.com/hashicorp/consul/api v1.1.0 06:06:31 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:06:31 go: finding github.com/hashicorp/errwrap v1.0.0 06:06:31 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:06:31 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:06:31 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:06:31 go: finding github.com/hashicorp/go-multierror v1.0.0 06:06:31 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:06:31 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:06:31 go: finding github.com/hashicorp/go-syslog v1.0.0 06:06:31 go: finding github.com/hashicorp/go-uuid v1.0.1 06:06:31 go: finding github.com/hashicorp/go.net v0.0.1 06:06:31 Removing intermediate container 65aaf140acd0 06:06:31 ---> e13abd4ca411 06:06:31 Step 5/8 : RUN apk add --no-cache make git 06:06:31 ---> Running in 388f9ccbdce6 06:06:31 go: finding github.com/hashicorp/golang-lru v0.5.0 06:06:31 go: finding github.com/hashicorp/logutils v1.0.0 06:06:31 go: finding github.com/hashicorp/mdns v1.0.0 06:06:31 go: finding github.com/hashicorp/memberlist v0.1.3 06:06:31 go: finding github.com/hashicorp/serf v0.8.2 06:06:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:06:31 go: finding github.com/mattn/go-colorable v0.0.9 06:06:31 go: finding github.com/mattn/go-isatty v0.0.3 06:06:31 go: finding github.com/miekg/dns v1.0.14 06:06:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:06:31 go: finding github.com/mitchellh/cli v1.0.0 06:06:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:06:31 go: finding github.com/mitchellh/copystructure v1.0.0 06:06:31 go: finding github.com/mitchellh/go-homedir v1.0.0 06:06:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:06:31 go: finding github.com/mitchellh/gox v0.4.0 06:06:31 go: finding github.com/mitchellh/iochan v1.0.0 06:06:31 go: finding github.com/mitchellh/mapstructure v1.1.2 06:06:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:06:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:06:31 go: finding github.com/pelletier/go-toml v1.2.0 06:06:31 go: finding github.com/pkg/errors v0.8.1 06:06:31 go: finding github.com/pmezard/go-difflib v1.0.0 06:06:31 go: finding github.com/posener/complete v1.1.1 06:06:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:06:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:06:31 go: finding github.com/stretchr/objx v0.1.0 06:06:31 go: finding github.com/stretchr/testify v1.5.1 06:06:31 go: finding github.com/ugorji/go v1.1.4 06:06:31 go: finding github.com/x448/float16 v0.8.4 06:06:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:06:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:06:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:06:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:06:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:06:32 go: finding gopkg.in/yaml.v2 v2.2.8 06:06:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:06:34 OK: 166 MiB in 39 packages 06:06:35 Removing intermediate container 388f9ccbdce6 06:06:35 ---> d98c0d5f058d 06:06:35 Step 6/8 : WORKDIR /device-sdk-go 06:06:35 ---> Running in 7ad2d3ce20a6 06:06:35 Removing intermediate container 7ad2d3ce20a6 06:06:35 ---> 41286e108d8f 06:06:35 Step 7/8 : COPY . . 06:06:36 ---> cf5d8490aec6 06:06:36 Step 8/8 : RUN go mod download 06:06:36 ---> Running in f4d3021ddd30 06:06:38 go: finding github.com/BurntSushi/toml v0.3.1 06:06:38 go: finding github.com/OneOfOne/xxhash v1.2.6 06:06:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:06:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:06:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:06:38 go: finding github.com/bgentry/speakeasy v0.1.0 06:06:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:06:38 go: finding github.com/davecgh/go-spew v1.1.1 06:06:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:06:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:06:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:06:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:06:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:06:38 go: finding github.com/fatih/color v1.7.0 06:06:38 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:06:38 go: finding github.com/go-kit/kit v0.8.0 06:06:38 go: finding github.com/go-logfmt/logfmt v0.4.0 06:06:38 go: finding github.com/go-stack/stack v1.8.0 06:06:38 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:06:38 go: finding github.com/google/uuid v1.1.0 06:06:38 go: finding github.com/gorilla/mux v1.7.1 06:06:38 go: finding github.com/hashicorp/consul/api v1.1.0 06:06:38 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:06:38 go: finding github.com/hashicorp/errwrap v1.0.0 06:06:38 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:06:38 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:06:38 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:06:38 go: finding github.com/hashicorp/go-multierror v1.0.0 06:06:38 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:06:38 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:06:38 go: finding github.com/hashicorp/go-syslog v1.0.0 06:06:38 go: finding github.com/hashicorp/go-uuid v1.0.1 06:06:38 go: finding github.com/hashicorp/go.net v0.0.1 06:06:38 go: finding github.com/hashicorp/golang-lru v0.5.0 06:06:38 go: finding github.com/hashicorp/logutils v1.0.0 06:06:38 go: finding github.com/hashicorp/mdns v1.0.0 06:06:38 go: finding github.com/hashicorp/memberlist v0.1.3 06:06:38 go: finding github.com/hashicorp/serf v0.8.2 06:06:38 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:06:38 go: finding github.com/mattn/go-colorable v0.0.9 06:06:38 go: finding github.com/mattn/go-isatty v0.0.3 06:06:38 go: finding github.com/miekg/dns v1.0.14 06:06:38 go: finding github.com/mitchellh/cli v1.0.0 06:06:38 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:06:38 go: finding github.com/mitchellh/copystructure v1.0.0 06:06:38 go: finding github.com/mitchellh/go-homedir v1.0.0 06:06:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:06:39 go: finding github.com/mitchellh/gox v0.4.0 06:06:39 go: finding github.com/mitchellh/iochan v1.0.0 06:06:39 go: finding github.com/mitchellh/mapstructure v1.1.2 06:06:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:06:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:06:39 go: finding github.com/pelletier/go-toml v1.2.0 06:06:39 go: finding github.com/pkg/errors v0.8.1 06:06:39 go: finding github.com/pmezard/go-difflib v1.0.0 06:06:39 go: finding github.com/posener/complete v1.1.1 06:06:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:06:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:06:39 go: finding github.com/stretchr/objx v0.1.0 06:06:39 go: finding github.com/stretchr/testify v1.5.1 06:06:39 go: finding github.com/ugorji/go v1.1.4 06:06:39 go: finding github.com/x448/float16 v0.8.4 06:06:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:06:39 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:06:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:06:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:06:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:06:39 go: finding gopkg.in/yaml.v2 v2.2.8 06:06:42 Removing intermediate container f0668a45c5a9 06:06:42 ---> 55917cfd4f20 06:06:42 Successfully built 55917cfd4f20 06:06:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:06:43 + docker inspect -f . ci-base-image-arm64 06:06:43 . [Pipeline] withDockerContainer 06:06:43 prd-ubuntu18.04-docker-arm64-4c-16g-1113 does not seem to be running inside a container 06:06:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-arm64 cat 06:06:45 $ docker top 1737a1b46f53686b8890969dc9b623a7c3a89c45077b92725e21e9d150ac7534 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:46 + go version 06:06:46 go version go1.13.13 linux/arm64 [Pipeline] sh 06:06:47 Removing intermediate container f4d3021ddd30 06:06:47 ---> 4878a27fafbf 06:06:47 Successfully built 4878a27fafbf 06:06:47 Successfully tagged ci-base-image-x86_64:latest 06:06:47 + make test 06:06:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:06:48 + docker inspect -f . ci-base-image-x86_64 06:06:48 . [Pipeline] withDockerContainer 06:06:48 prd-centos7-docker-4c-2g-1114 does not seem to be running inside a container 06:06:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-x86_64 cat 06:06:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:06:49 $ docker top 659f3e5118c9bb45e2328163e41f8871169634b4d3a9b32222e3b48d3bfa232d -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:50 + go version 06:06:50 go version go1.13.13 linux/amd64 [Pipeline] sh 06:06:50 + make test 06:06:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:06:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:07:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:07:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:07:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:07:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.037s coverage: 21.6% of statements 06:07:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.045s coverage: 97.1% of statements 06:07:15 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:07:15 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:07:15 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:07:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.039s coverage: 21.6% of statements 06:07:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.200s coverage: 97.1% of statements 06:07:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.009s coverage: 10.8% of statements 06:07:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 06:07:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:07:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.035s coverage: 36.5% of statements 06:07:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:07:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.032s coverage: 65.6% of statements 06:07:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:07:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:07:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:07:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.008s coverage: 52.6% of statements 06:07:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 68.9% of statements 06:07:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:07:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:07:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:07:35 gofmt -l . 06:07:35 [ "`gofmt -l .`" = "" ] 06:07:35 ./bin/test-attribution-txt.sh 06:07:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:07:36 Stashed 1 file(s) [Pipeline] } 06:07:36 $ docker stop --time=1 659f3e5118c9bb45e2328163e41f8871169634b4d3a9b32222e3b48d3bfa232d 06:07:37 $ docker rm -f 659f3e5118c9bb45e2328163e41f8871169634b4d3a9b32222e3b48d3bfa232d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:40 + ls -al . 06:07:40 total 188 06:07:40 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 27 06:07 . 06:07:40 drwxrwxr-x. 4 jenkins jenkins 28 Jul 27 06:06 .. 06:07:40 drwxrwxr-x. 3 jenkins jenkins 20 Jul 27 06:06 api 06:07:40 drwxrwxr-x. 2 jenkins jenkins 64 Jul 27 06:06 bin 06:07:40 -rw-r--r--. 1 jenkins jenkins 111063 Jul 27 06:07 coverage.out 06:07:40 -rw-rw-r--. 1 jenkins jenkins 936 Jul 27 06:06 Dockerfile.build 06:07:40 -rw-rw-r--. 1 jenkins jenkins 140 Jul 27 06:06 .dockerignore 06:07:40 drwxrwxr-x. 4 jenkins jenkins 48 Jul 27 06:06 example 06:07:40 drwxrwxr-x. 8 jenkins jenkins 179 Jul 27 06:06 .git 06:07:40 drwxrwxr-x. 2 jenkins jenkins 38 Jul 27 06:06 .github 06:07:40 -rw-rw-r--. 1 jenkins jenkins 138 Jul 27 06:06 .gitignore 06:07:40 -rw-r--r--. 1 jenkins jenkins 446 Jul 27 06:07 go.mod 06:07:40 -rw-r--r--. 1 jenkins jenkins 12179 Jul 27 06:07 go.sum 06:07:40 drwxrwxr-x. 13 jenkins jenkins 184 Jul 27 06:06 internal 06:07:40 -rw-rw-r--. 1 jenkins jenkins 808 Jul 27 06:06 Jenkinsfile 06:07:40 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 27 06:06 LICENSE 06:07:40 -rw-rw-r--. 1 jenkins jenkins 892 Jul 27 06:06 Makefile 06:07:40 drwxrwxr-x. 5 jenkins jenkins 50 Jul 27 06:06 pkg 06:07:40 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 27 06:06 README.md 06:07:40 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 27 06:06 RELEASE-NOTES.txt 06:07:40 drwxrwxr-x. 3 jenkins jenkins 58 Jul 27 06:06 .semver 06:07:40 drwxrwxr-x. 4 jenkins jenkins 54 Jul 27 06:06 snap 06:07:40 -rw-rw-r--. 1 jenkins jenkins 5 Jul 27 06:03 VERSION 06:07:40 -rw-rw-r--. 1 jenkins jenkins 222 Jul 27 06:06 version.go [Pipeline] isUnix [Pipeline] sh 06:07:40 + 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=ba93c9a914aaa7b858178398bbd2d1342ca3a445 --label arch=amd64 --label version=0.0.0 . 06:07:41 Sending build context to Docker daemon 3.205MB 06:07:41 Step 1/23 : ARG BASE=golang:1.13-alpine 06:07:41 Step 2/23 : FROM ${BASE} AS builder 06:07:41 ---> 4878a27fafbf 06:07:41 Step 3/23 : ARG MAKE='make build' 06:07:41 ---> Running in d77e3113fd70 06:07:41 Removing intermediate container d77e3113fd70 06:07:41 ---> add498b07806 06:07:41 Step 4/23 : WORKDIR /device-sdk-go 06:07:41 ---> Running in 8466f964d77a 06:07:41 Removing intermediate container 8466f964d77a 06:07:41 ---> 63de761f6f18 06:07:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:41 ---> Running in 9a93005641d7 06:07:41 Removing intermediate container 9a93005641d7 06:07:41 ---> e96037bae88a 06:07:41 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:41 ---> Running in 97088e4e8b76 06:07:42 Removing intermediate container 97088e4e8b76 06:07:42 ---> bc624759a20d 06:07:42 Step 7/23 : RUN apk add --update --no-cache make git 06:07:42 ---> Running in 8a06f999374e 06:07:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:07:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:07:45 OK: 166 MiB in 39 packages 06:07:46 Removing intermediate container 8a06f999374e 06:07:46 ---> 83de02275034 06:07:46 Step 8/23 : COPY . . 06:07:47 ---> 25165a5817ff 06:07:47 Step 9/23 : RUN ${MAKE} 06:07:47 ---> Running in 42d821819be3 06:07:47 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 06:07:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 10.8% of statements 06:07:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.042s coverage: 21.7% of statements 06:07:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:07:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.082s coverage: 36.5% of statements 06:07:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:07:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.119s coverage: 65.6% of statements 06:07:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:07:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:07:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:07:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.038s coverage: 52.6% of statements 06:07:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.353s coverage: 68.9% of statements 06:07:53 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:07:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:07:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:07:55 gofmt -l . 06:07:55 [ "`gofmt -l .`" = "" ] 06:07:55 ./bin/test-attribution-txt.sh 06:07:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:07:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:07:56 Warning: overwriting stash ‘coverage-report’ 06:07:57 Stashed 1 file(s) [Pipeline] } 06:07:57 $ docker stop --time=1 1737a1b46f53686b8890969dc9b623a7c3a89c45077b92725e21e9d150ac7534 06:07:57 Removing intermediate container 42d821819be3 06:07:57 ---> fa5ea48aade2 06:07:57 Step 10/23 : FROM scratch 06:07:57 ---> 06:07:57 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:57 ---> Running in 5a21d16b4fd9 06:07:57 Removing intermediate container 5a21d16b4fd9 06:07:57 ---> 2fca61b3b91a 06:07:57 Step 12/23 : ENV APP_PORT=49990 06:07:58 ---> Running in 2558ede23b1d 06:07:58 Removing intermediate container 2558ede23b1d 06:07:58 ---> 083ac499791e 06:07:58 Step 13/23 : EXPOSE $APP_PORT 06:07:58 ---> Running in 078f98a40252 06:07:58 Removing intermediate container 078f98a40252 06:07:58 ---> 287e8aea006b 06:07:58 Step 14/23 : WORKDIR / 06:07:58 ---> Running in b7c55cf32b84 06:07:58 Removing intermediate container b7c55cf32b84 06:07:58 ---> e835085bc6a3 06:07:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:07:58 ---> f5b534790a9c 06:07:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:07:59 ---> c5cca92ec3a5 06:07:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:07:59 ---> 03af4228444e 06:07:59 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:07:59 ---> db759dc0924c 06:07:59 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:07:59 $ docker rm -f 1737a1b46f53686b8890969dc9b623a7c3a89c45077b92725e21e9d150ac7534 06:07:59 ---> 579474e5b7b6 06:07:59 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:07:59 ---> Running in 8bb9eecfef0b 06:07:59 Removing intermediate container 8bb9eecfef0b 06:07:59 ---> 112fdd45a734 06:07:59 Step 21/23 : LABEL arch=amd64 06:08:00 ---> Running in 66c3841c966a 06:08:00 Removing intermediate container 66c3841c966a 06:08:00 ---> 5332612d1fb1 06:08:00 Step 22/23 : LABEL git_sha=ba93c9a914aaa7b858178398bbd2d1342ca3a445 06:08:00 ---> Running in bc14e31a6999 [Pipeline] // withDockerContainer 06:08:00 Removing intermediate container bc14e31a6999 06:08:00 ---> cce35bf23c0b 06:08:00 Step 23/23 : LABEL version=0.0.0 06:08:00 ---> Running in ca20a07e0f91 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:08:00 Removing intermediate container ca20a07e0f91 06:08:00 ---> 459f922910f2 06:08:00 [Warning] One or more build-args [ARCH] were not consumed 06:08:00 Successfully built 459f922910f2 06:08:00 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] sh 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 06:08:01 + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 06:08:01 + ls -al . 06:08:01 total 228 06:08:01 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 06:07 . 06:08:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:05 .. 06:08:01 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 06:05 .dockerignore 06:08:01 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 06:05 .git 06:08:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 06:05 .github 06:08:01 -rw-rw-r-- 1 jenkins jenkins 138 Jul 27 06:05 .gitignore 06:08:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 06:05 .semver 06:08:01 -rw-rw-r-- 1 jenkins jenkins 936 Jul 27 06:05 Dockerfile.build 06:08:01 -rw-rw-r-- 1 jenkins jenkins 808 Jul 27 06:05 Jenkinsfile 06:08:01 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 06:05 LICENSE 06:08:01 -rw-rw-r-- 1 jenkins jenkins 892 Jul 27 06:05 Makefile 06:08:01 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 27 06:05 README.md 06:08:01 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 27 06:05 RELEASE-NOTES.txt 06:08:01 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 06:03 VERSION 06:08:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 06:05 api 06:08:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 06:05 bin 06:08:01 -rw-r--r-- 1 jenkins jenkins 111063 Jul 27 06:07 coverage.out 06:08:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:05 example 06:08:01 -rw-r--r-- 1 jenkins jenkins 446 Jul 27 06:07 go.mod 06:08:01 -rw-r--r-- 1 jenkins jenkins 12179 Jul 27 06:07 go.sum 06:08:01 drwxrwxr-x 13 jenkins jenkins 4096 Jul 27 06:05 internal 06:08:01 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 06:05 pkg 06:08:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:05 snap 06:08:01 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 06:05 version.go [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 06:08:02 + 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=ba93c9a914aaa7b858178398bbd2d1342ca3a445 --label arch=arm64 --label version=0.0.0 . 06:08:02 Sending build context to Docker daemon 3.205MB 06:08:02 Step 1/23 : ARG BASE=golang:1.13-alpine 06:08:02 Step 2/23 : FROM ${BASE} AS builder 06:08:02 ---> 55917cfd4f20 06:08:02 Step 3/23 : ARG MAKE='make build' 06:08:03 ---> Running in 20da6315e153 06:08:03 Removing intermediate container 20da6315e153 06:08:03 ---> 9df07f0c3659 06:08:03 Step 4/23 : WORKDIR /device-sdk-go 06:08:03 ---> Running in adbf3c230b85 06:08:04 Removing intermediate container adbf3c230b85 06:08:04 ---> 1a3ca0ad3b90 06:08:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:08:04 ---> Running in f7ca4c9b83d7 06:08:04 Removing intermediate container f7ca4c9b83d7 06:08:04 ---> dfe8931b1c37 06:08:04 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:04 ---> Running in 26f1db1353a5 06:08:07 Removing intermediate container 26f1db1353a5 06:08:07 ---> cea1b10eefa9 06:08:07 Step 7/23 : RUN apk add --update --no-cache make git 06:08:07 ---> Running in 169f16b9fdae 06:08:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:08:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:08:11 OK: 142 MiB in 39 packages 06:08:12 Removing intermediate container 169f16b9fdae 06:08:12 ---> 760bcc858f20 06:08:12 Step 8/23 : COPY . . 06:08:13 ---> be7760b9c32f 06:08:13 Step 9/23 : RUN ${MAKE} 06:08:13 ---> Running in 041b5f365928 06:08:14 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 06:08:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:08:39 Removing intermediate container 041b5f365928 06:08:39 ---> 5d08cf3df68f 06:08:39 Step 10/23 : FROM scratch 06:08:39 ---> 06:08:39 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:08:39 ---> Running in e24505797efa 06:08:40 Removing intermediate container e24505797efa 06:08:40 ---> fa4f7263c7f6 06:08:40 Step 12/23 : ENV APP_PORT=49990 06:08:40 ---> Running in 55fbcc0081a5 06:08:40 Removing intermediate container 55fbcc0081a5 06:08:40 ---> 887ded6f4c7a 06:08:40 Step 13/23 : EXPOSE $APP_PORT 06:08:40 ---> Running in 4516df33d603 06:08:41 Removing intermediate container 4516df33d603 06:08:41 ---> 6213d563e990 06:08:41 Step 14/23 : WORKDIR / 06:08:41 ---> Running in fac2b1704def 06:08:41 Removing intermediate container fac2b1704def 06:08:41 ---> e5643f187d0f 06:08:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:08:42 ---> 3180b2a3771e 06:08:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:08:43 ---> 1a41c1509918 06:08:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:08:44 ---> ee49f4083177 06:08:44 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:08:45 ---> abf4104f4c48 06:08:45 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:08:46 ---> ee3690d4dc3d 06:08:46 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:08:46 ---> Running in 2e3ba53c9519 06:08:46 Removing intermediate container 2e3ba53c9519 06:08:46 ---> ebda0daac1e5 06:08:46 Step 21/23 : LABEL arch=arm64 06:08:46 ---> Running in 0a0a2388057a 06:08:47 Removing intermediate container 0a0a2388057a 06:08:47 ---> 52db7e5434ba 06:08:47 Step 22/23 : LABEL git_sha=ba93c9a914aaa7b858178398bbd2d1342ca3a445 06:08:47 ---> Running in d34cc62034dc 06:08:47 Removing intermediate container d34cc62034dc 06:08:47 ---> f0d7302fe1df 06:08:47 Step 23/23 : LABEL version=0.0.0 06:08:48 ---> Running in 89227fec1639 06:08:48 Removing intermediate container 89227fec1639 06:08:48 ---> 328dab5d8262 06:08:48 [Warning] One or more build-args [ARCH] were not consumed 06:08:48 Successfully built 328dab5d8262 06:08:48 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 06:08:49 provisioning config files... 06:08:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config7032685287484076282tmp [Pipeline] { [Pipeline] sh 06:08:50 + curl -s https://codecov.io/bash 06:08:50 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config7032685287484076282tmp [Pipeline] } 06:08:50 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 06:08:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:52 ---> package-listing.sh 06:08:52 ++ facter osfamily 06:08:52 ++ tr '[:upper:]' '[:lower:]' 06:08:52 + OS_FAMILY=redhat 06:08:52 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 06:08:52 + START_PACKAGES=/tmp/packages_start.txt 06:08:52 + END_PACKAGES=/tmp/packages_end.txt 06:08:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:52 + PACKAGES=/tmp/packages_start.txt 06:08:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 06:08:52 + PACKAGES=/tmp/packages_end.txt 06:08:52 + case "${OS_FAMILY}" in 06:08:52 + rpm -qa 06:08:52 + sort 06:08:57 + '[' -f /tmp/packages_start.txt ']' 06:08:57 + '[' -f /tmp/packages_end.txt ']' 06:08:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 06:08:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ 06:08:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [Pipeline] isUnix [Pipeline] sh 06:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:57 06:08:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:08:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:57 alpine: Pulling from edgex-lftools-log-publisher 06:08:57 c9b1b535fdd9: Pulling fs layer 06:08:57 2cc5ad85d9ab: Pulling fs layer 06:08:57 756a868c4378: Pulling fs layer 06:08:57 444b2fc9a129: Pulling fs layer 06:08:57 ea15f1150254: Pulling fs layer 06:08:57 41b27a9f41bf: Pulling fs layer 06:08:57 28c525ee5125: Pulling fs layer 06:08:57 094b1ea09ed8: Pulling fs layer 06:08:57 138eaada9080: Pulling fs layer 06:08:57 0622d0fa9048: Pulling fs layer 06:08:57 ea15f1150254: Waiting 06:08:57 41b27a9f41bf: Waiting 06:08:57 28c525ee5125: Waiting 06:08:57 094b1ea09ed8: Waiting 06:08:57 138eaada9080: Waiting 06:08:57 0622d0fa9048: Waiting 06:08:57 444b2fc9a129: Waiting 06:08:57 2cc5ad85d9ab: Verifying Checksum 06:08:57 2cc5ad85d9ab: Download complete 06:08:57 444b2fc9a129: Verifying Checksum 06:08:57 444b2fc9a129: Download complete 06:08:57 c9b1b535fdd9: Verifying Checksum 06:08:58 ea15f1150254: Verifying Checksum 06:08:58 ea15f1150254: Download complete 06:08:58 28c525ee5125: Verifying Checksum 06:08:58 28c525ee5125: Download complete 06:08:58 c9b1b535fdd9: Pull complete 06:08:58 756a868c4378: Verifying Checksum 06:08:58 756a868c4378: Download complete 06:08:58 094b1ea09ed8: Verifying Checksum 06:08:58 094b1ea09ed8: Download complete 06:08:58 138eaada9080: Verifying Checksum 06:08:58 138eaada9080: Download complete 06:08:58 0622d0fa9048: Verifying Checksum 06:08:58 0622d0fa9048: Download complete 06:08:59 2cc5ad85d9ab: Pull complete 06:08:59 41b27a9f41bf: Verifying Checksum 06:08:59 41b27a9f41bf: Download complete 06:09:00 756a868c4378: Pull complete 06:09:00 444b2fc9a129: Pull complete 06:09:00 ea15f1150254: Pull complete 06:09:05 41b27a9f41bf: Pull complete 06:09:05 28c525ee5125: Pull complete 06:09:08 094b1ea09ed8: Pull complete 06:09:08 138eaada9080: Pull complete 06:09:08 0622d0fa9048: Pull complete 06:09:08 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:09:08 prd-centos7-docker-4c-2g-1111 does not seem to be running inside a container 06:09:08 $ 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-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:09:12 $ docker top 606bb681b2a0252cebad4d8c9f405a83cbc32fb740aad4a9a7712c1269a16370 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:12 provisioning config files... 06:09:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config4108124005122469421tmp [Pipeline] { [Pipeline] echo 06:09:12 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:09:12 ---> create-netrc.sh [Pipeline] echo 06:09:12 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:13 ---> logs-deploy.sh 06:09:13 + ARCHIVE_ARTIFACTS= 06:09:13 + LOGS_SERVER=https://logs.edgexfoundry.org 06:09:13 + '[' https://logs.edgexfoundry.org == None ']' 06:09:13 + NEXUS_URL=https://nexus.edgexfoundry.org 06:09:13 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/8 06:09:13 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/8/ 06:09:13 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/8 /w/workspace/dgexfoundry_device-sdk-go_PR-549 06:09:14 Archives upload complete. 06:09:14 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/8/