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 1b2bb57ab736822d33844b2e1f337cdce5a21e30+4000e27a9f725d20d01bd2b86b2182ef891199d8 (fc6ebb101fa662d9d15123c982c7064f87efbc75) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2071 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 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 1b2bb57ab736822d33844b2e1f337cdce5a21e30 Merge succeeded, producing 1b2bb57ab736822d33844b2e1f337cdce5a21e30 Checking out Revision 1b2bb57ab736822d33844b2e1f337cdce5a21e30 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # 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 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # 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 05:07:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:07:04 ========================================================= 05:07:04 EdgeX Global Pipelines Version Info 05:07:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 68750e4b68bd98029eaa65dc3b8c32172af6df85 # timeout=10 05:07:06 ------------------- 05:07:06 stable info: 05:07:06 ------------------- 05:07:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:06 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 05:07:06 Message: update stable to v1.0.119 05:07:06 ------------------- 05:07:06 experimental info: 05:07:06 ------------------- 05:07:06 Commited By: **** collab-it+edgex@linuxfoundation.org 05:07:06 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 05:07:06 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b2bb57 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:09 + git log --format=format:%s -1 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [Pipeline] echo 05:07:09 GIT_COMMIT: 1b2bb57ab736822d33844b2e1f337cdce5a21e30, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo 05:07:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:11 05:07:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:07:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:11 latest: Pulling from edgex-devops/git-semver 05:07:11 31603596830f: Pulling fs layer 05:07:11 2a8b12db71e7: Pulling fs layer 05:07:11 6ca5941a6612: Pulling fs layer 05:07:11 ecc8261a40a4: Pulling fs layer 05:07:11 ecc8261a40a4: Waiting 05:07:11 2a8b12db71e7: Download complete 05:07:11 31603596830f: Verifying Checksum 05:07:11 31603596830f: Download complete 05:07:11 6ca5941a6612: Verifying Checksum 05:07:11 6ca5941a6612: Download complete 05:07:12 31603596830f: Pull complete 05:07:12 2a8b12db71e7: Pull complete 05:07:12 ecc8261a40a4: Verifying Checksum 05:07:12 ecc8261a40a4: Download complete 05:07:12 6ca5941a6612: Pull complete 05:07:13 ecc8261a40a4: Pull complete 05:07:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:07:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:07:13 prd-centos7-docker-4c-2g-2071 does not seem to be running inside a container 05:07:13 $ 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 05:07:15 $ docker top 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:15 [ssh-agent] Looking for ssh-agent implementation... 05:07:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:16 $ docker exec 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent 05:07:16 SSH_AUTH_SOCK=/tmp/ssh-71mAZki4vW5E/agent.13 05:07:16 SSH_AGENT_PID=19 05:07:16 Running ssh-add (command line suppressed) 05:07:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1289425988025053937.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1289425988025053937.key) 05:07:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:16 + git describe --exact-match --tags HEAD 05:07:16 fatal: No names found, cannot describe anything. [Pipeline] } 05:07:16 $ docker exec --env ******** --env ******** 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent -k 05:07:16 unset SSH_AUTH_SOCK; 05:07:16 unset SSH_AGENT_PID; 05:07:16 echo Agent pid 19 killed; 05:07:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:07:16 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:07:16 This usually means this commit has not been tagged. [Pipeline] sshagent 05:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:17 [ssh-agent] Looking for ssh-agent implementation... 05:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:17 $ docker exec 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent 05:07:17 SSH_AUTH_SOCK=/tmp/ssh-SbR7y4fPbSRR/agent.49 05:07:17 SSH_AGENT_PID=55 05:07:17 Running ssh-add (command line suppressed) 05:07:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7546741306573858265.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7546741306573858265.key) 05:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:17 + git semver init 05:07:17 # -> Open(): unable to determine branch for HEAD 05:07:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 05:07:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 05:07:17 # $SEMVER_REMOTE_NAME = origin 05:07:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:07:17 # $SEMVER_USER_NAME = edgex-jenkins 05:07:17 # $SEMVER_BRANCH = PR-571 05:07:17 # $SEMVER_TEMP = /tmp/semver-542318411 05:07:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:07:18 # '/tmp/semver-542318411' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 05:07:18 # -> Force: false 05:07:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 05:07:18 $ docker exec --env ******** --env ******** 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent -k 05:07:18 unset SSH_AUTH_SOCK; 05:07:18 unset SSH_AGENT_PID; 05:07:18 echo Agent pid 55 killed; 05:07:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:19 + git semver [Pipeline] } 05:07:19 $ docker stop --time=1 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 05:07:20 $ docker rm -f 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:07:21 Stashed 33 file(s) [Pipeline] echo 05:07:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:07:21 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 05:07:37 Still waiting to schedule task 05:07:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:07:37 Still waiting to schedule task 05:07:37 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2069’ 05:10:12 Running on prd-centos7-docker-4c-2g-2072 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 05:10:12 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 05:10:15 using credential edgex-jenkins-ssh 05:10:15 Cloning the remote Git repository 05:10:15 Cloning with configured refspecs honoured and without tags 05:10:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:10:15 > git init /w/workspace/device-sdk-go/8 # timeout=10 05:10:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:10:15 > git --version # timeout=10 05:10:15 > git --version # 'git version 2.16.5' 05:10:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:15 > 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 05:10:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:10:16 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 05:10:16 Fetching without tags 05:10:16 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 1b2bb57ab736822d33844b2e1f337cdce5a21e30 05:10:16 Merge succeeded, producing 1b2bb57ab736822d33844b2e1f337cdce5a21e30 05:10:16 Checking out Revision 1b2bb57ab736822d33844b2e1f337cdce5a21e30 (PR-571) 05:10:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:10:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:10:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:16 > 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 05:10:16 > git config core.sparsecheckout # timeout=10 05:10:16 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 05:10:16 > git remote # timeout=10 05:10:16 > git config --get remote.origin.url # timeout=10 05:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:16 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 05:10:16 > git rev-parse HEAD^{commit} # timeout=10 05:10:16 > git config core.sparsecheckout # timeout=10 05:10:16 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 05:10:20 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 05:10:21 ========================================================= 05:10:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:10:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:10:22 + 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 . 05:10:22 Sending build context to Docker daemon 3.184MB 05:10:22 Step 1/8 : ARG BASE=golang:1.13-alpine 05:10:22 Step 2/8 : FROM ${BASE} 05:10:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:22 df20fa9351a1: Pulling fs layer 05:10:22 ed8968b2872e: Pulling fs layer 05:10:22 a92cc7c5fd73: Pulling fs layer 05:10:22 2dd03ba5bac4: Pulling fs layer 05:10:22 1e091d79d1de: Pulling fs layer 05:10:22 481702a1767f: Pulling fs layer 05:10:22 f64a6f60c768: Pulling fs layer 05:10:22 e78d2573fc39: Pulling fs layer 05:10:22 e876d2f968b6: Pulling fs layer 05:10:22 ce8a83651883: Pulling fs layer 05:10:22 07967f4d0e4b: Pulling fs layer 05:10:22 f64a6f60c768: Waiting 05:10:22 ce8a83651883: Waiting 05:10:22 e78d2573fc39: Waiting 05:10:22 07967f4d0e4b: Waiting 05:10:22 e876d2f968b6: Waiting 05:10:22 2dd03ba5bac4: Waiting 05:10:22 1e091d79d1de: Waiting 05:10:22 481702a1767f: Waiting 05:10:22 a92cc7c5fd73: Verifying Checksum 05:10:22 a92cc7c5fd73: Download complete 05:10:22 ed8968b2872e: Download complete 05:10:22 1e091d79d1de: Verifying Checksum 05:10:22 1e091d79d1de: Download complete 05:10:22 481702a1767f: Verifying Checksum 05:10:22 481702a1767f: Download complete 05:10:22 df20fa9351a1: Verifying Checksum 05:10:22 df20fa9351a1: Download complete 05:10:22 df20fa9351a1: Pull complete 05:10:23 ed8968b2872e: Pull complete 05:10:23 a92cc7c5fd73: Pull complete 05:10:25 f64a6f60c768: Verifying Checksum 05:10:25 f64a6f60c768: Download complete 05:10:25 e876d2f968b6: Verifying Checksum 05:10:25 e876d2f968b6: Download complete 05:10:25 ce8a83651883: Verifying Checksum 05:10:25 ce8a83651883: Download complete 05:10:25 07967f4d0e4b: Download complete 05:10:26 e78d2573fc39: Verifying Checksum 05:10:26 e78d2573fc39: Download complete 05:10:26 2dd03ba5bac4: Verifying Checksum 05:10:26 2dd03ba5bac4: Download complete 05:10:31 2dd03ba5bac4: Pull complete 05:10:31 1e091d79d1de: Pull complete 05:10:31 481702a1767f: Pull complete 05:10:37 f64a6f60c768: Pull complete 05:10:40 e78d2573fc39: Pull complete 05:10:40 e876d2f968b6: Pull complete 05:10:41 ce8a83651883: Pull complete 05:10:41 07967f4d0e4b: Pull complete 05:10:41 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 05:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:10:41 ---> 5d7c900382c6 05:10:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:10:42 ---> Running in 099496790b4e 05:10:42 Removing intermediate container 099496790b4e 05:10:42 ---> e6c1c680e791 05:10:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:42 ---> Running in ecb89903d6f6 05:10:44 Removing intermediate container ecb89903d6f6 05:10:44 ---> f9a04ba98825 05:10:44 Step 5/8 : RUN apk add --no-cache make git 05:10:44 ---> Running in eb3c8d98996e 05:10:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:10:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:10:46 OK: 166 MiB in 39 packages 05:10:46 Removing intermediate container eb3c8d98996e 05:10:46 ---> d00f81b644e3 05:10:46 Step 6/8 : WORKDIR /device-sdk-go 05:10:46 ---> Running in 02f0c163a9d1 05:10:46 Removing intermediate container 02f0c163a9d1 05:10:46 ---> 699567911021 05:10:46 Step 7/8 : COPY . . 05:10:48 ---> fbd4a5ce4af0 05:10:48 Step 8/8 : RUN go mod download 05:10:48 ---> Running in 6b685bc7137a 05:10:49 go: finding github.com/BurntSushi/toml v0.3.1 05:10:49 go: finding github.com/OneOfOne/xxhash v1.2.6 05:10:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:10:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:10:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:10:50 go: finding github.com/bgentry/speakeasy v0.1.0 05:10:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:10:50 go: finding github.com/davecgh/go-spew v1.1.1 05:10:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 05:10:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:10:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:10:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:10:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:10:50 go: finding github.com/fatih/color v1.7.0 05:10:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:10:50 go: finding github.com/go-kit/kit v0.8.0 05:10:50 go: finding github.com/go-logfmt/logfmt v0.4.0 05:10:50 go: finding github.com/go-stack/stack v1.8.0 05:10:50 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:10:50 go: finding github.com/google/uuid v1.1.0 05:10:50 go: finding github.com/gorilla/mux v1.7.1 05:10:50 go: finding github.com/hashicorp/consul/api v1.1.0 05:10:50 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:10:50 go: finding github.com/hashicorp/errwrap v1.0.0 05:10:50 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:10:50 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:10:50 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:10:50 go: finding github.com/hashicorp/go-multierror v1.0.0 05:10:50 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:10:50 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:10:50 go: finding github.com/hashicorp/go-syslog v1.0.0 05:10:50 go: finding github.com/hashicorp/go-uuid v1.0.1 05:10:50 go: finding github.com/hashicorp/go.net v0.0.1 05:10:50 go: finding github.com/hashicorp/golang-lru v0.5.0 05:10:50 go: finding github.com/hashicorp/logutils v1.0.0 05:10:50 go: finding github.com/hashicorp/mdns v1.0.0 05:10:50 go: finding github.com/hashicorp/memberlist v0.1.3 05:10:50 go: finding github.com/hashicorp/serf v0.8.2 05:10:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:10:50 go: finding github.com/mattn/go-colorable v0.0.9 05:10:50 go: finding github.com/mattn/go-isatty v0.0.3 05:10:50 go: finding github.com/miekg/dns v1.0.14 05:10:50 go: finding github.com/mitchellh/cli v1.0.0 05:10:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:10:50 go: finding github.com/mitchellh/copystructure v1.0.0 05:10:50 go: finding github.com/mitchellh/go-homedir v1.0.0 05:10:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:10:50 go: finding github.com/mitchellh/gox v0.4.0 05:10:50 go: finding github.com/mitchellh/iochan v1.0.0 05:10:51 go: finding github.com/mitchellh/mapstructure v1.1.2 05:10:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:10:51 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:10:51 go: finding github.com/pelletier/go-toml v1.2.0 05:10:51 go: finding github.com/pkg/errors v0.8.1 05:10:51 go: finding github.com/pmezard/go-difflib v1.0.0 05:10:51 go: finding github.com/posener/complete v1.1.1 05:10:51 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:10:51 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:10:51 go: finding github.com/stretchr/objx v0.1.0 05:10:51 go: finding github.com/stretchr/testify v1.5.1 05:10:51 go: finding github.com/ugorji/go v1.1.4 05:10:51 go: finding github.com/x448/float16 v0.8.4 05:10:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:10:51 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:10:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:10:51 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:10:51 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:10:51 go: finding gopkg.in/yaml.v2 v2.2.8 05:10:59 Removing intermediate container 6b685bc7137a 05:10:59 ---> 50d3c0d3a480 05:10:59 Successfully built 50d3c0d3a480 05:10:59 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 05:11:00 + docker inspect -f . ci-base-image-x86_64 05:11:00 . [Pipeline] withDockerContainer 05:11:00 prd-centos7-docker-4c-2g-2072 does not seem to be running inside a container 05:11:00 $ 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 ******** ci-base-image-x86_64 cat 05:11:01 $ docker top 4c02434641ea372f9f9a016db000fdda82b7a54c18127ed40def1840f21e108c -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:02 + go version 05:11:02 go version go1.13.13 linux/amd64 [Pipeline] sh 05:11:02 + make test 05:11:02 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:11:03 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:11:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:11:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:11:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:11:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 20.8% of statements 05:11:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 97.1% of statements 05:11:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2073 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 05:11:31 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 05:11:36 using credential edgex-jenkins-ssh 05:11:36 Cloning the remote Git repository 05:11:36 Cloning with configured refspecs honoured and without tags 05:11:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:11:36 > git init /w/workspace/device-sdk-go/8 # timeout=10 05:11:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:11:36 > git --version # timeout=10 05:11:36 > git --version # 'git version 2.17.1' 05:11:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:36 > 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 05:11:37 Fetching without tags 05:11:38 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 1b2bb57ab736822d33844b2e1f337cdce5a21e30 05:11:38 Merge succeeded, producing 1b2bb57ab736822d33844b2e1f337cdce5a21e30 05:11:38 Checking out Revision 1b2bb57ab736822d33844b2e1f337cdce5a21e30 (PR-571) 05:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:11:37 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 05:11:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:11:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:37 > 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 05:11:38 > git config core.sparsecheckout # timeout=10 05:11:38 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 05:11:38 > git remote # timeout=10 05:11:38 > git config --get remote.origin.url # timeout=10 05:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:38 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 05:11:38 > git rev-parse HEAD^{commit} # timeout=10 05:11:38 > git config core.sparsecheckout # timeout=10 05:11:38 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 05:11:42 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 05:11:44 ========================================================= 05:11:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:11:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:11:45 + 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 . 05:11:46 Sending build context to Docker daemon 3.184MB 05:11:46 Step 1/8 : ARG BASE=golang:1.13-alpine 05:11:46 Step 2/8 : FROM ${BASE} 05:11:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:11:46 b538f80385f9: Pulling fs layer 05:11:46 74f711af9a0d: Pulling fs layer 05:11:46 99f96fe45779: Pulling fs layer 05:11:46 fd7a069fd194: Pulling fs layer 05:11:46 66aa3694b03b: Pulling fs layer 05:11:46 170f70906a0f: Pulling fs layer 05:11:46 ad7c5574e4b9: Pulling fs layer 05:11:46 e772456be8f7: Pulling fs layer 05:11:46 c890913d741a: Pulling fs layer 05:11:46 2480fcc9aa5a: Pulling fs layer 05:11:46 09adf4765672: Pulling fs layer 05:11:46 170f70906a0f: Waiting 05:11:46 ad7c5574e4b9: Waiting 05:11:46 e772456be8f7: Waiting 05:11:46 c890913d741a: Waiting 05:11:46 09adf4765672: Waiting 05:11:46 2480fcc9aa5a: Waiting 05:11:46 fd7a069fd194: Waiting 05:11:46 66aa3694b03b: Waiting 05:11:46 99f96fe45779: Verifying Checksum 05:11:46 99f96fe45779: Download complete 05:11:46 74f711af9a0d: Verifying Checksum 05:11:46 74f711af9a0d: Download complete 05:11:46 66aa3694b03b: Download complete 05:11:46 170f70906a0f: Download complete 05:11:46 b538f80385f9: Verifying Checksum 05:11:46 b538f80385f9: Download complete 05:11:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 9.4% of statements 05:11:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.9% of statements 05:11:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:11:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.025s coverage: 37.0% of statements 05:11:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:11:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.030s coverage: 65.4% of statements 05:11:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:11:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:11:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:11:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.007s coverage: 52.6% of statements 05:11:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.096s coverage: 68.9% of statements 05:11:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:11:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:11:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:11:46 gofmt -l . 05:11:46 [ "`gofmt -l .`" = "" ] 05:11:46 ./bin/test-attribution-txt.sh 05:11:47 ./bin/test-go-mod-tidy.sh 05:11:47 b538f80385f9: Pull complete [Pipeline] stash 05:11:47 Stashed 1 file(s) [Pipeline] } 05:11:47 $ docker stop --time=1 4c02434641ea372f9f9a016db000fdda82b7a54c18127ed40def1840f21e108c 05:11:48 74f711af9a0d: Pull complete 05:11:48 99f96fe45779: Pull complete 05:11:49 ad7c5574e4b9: Verifying Checksum 05:11:49 ad7c5574e4b9: Download complete 05:11:49 c890913d741a: Verifying Checksum 05:11:49 c890913d741a: Download complete 05:11:49 $ docker rm -f 4c02434641ea372f9f9a016db000fdda82b7a54c18127ed40def1840f21e108c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 05:11:50 2480fcc9aa5a: Verifying Checksum 05:11:50 2480fcc9aa5a: Download complete 05:11:50 09adf4765672: Verifying Checksum 05:11:50 09adf4765672: Download complete 05:11:51 e772456be8f7: Verifying Checksum 05:11:51 e772456be8f7: Download complete 05:11:51 fd7a069fd194: Download complete [Pipeline] sh 05:11:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:52 + ls -al . 05:11:52 total 188 05:11:52 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 10 05:11 . 05:11:52 drwxrwxr-x. 4 jenkins jenkins 28 Sep 10 05:10 .. 05:11:52 drwxrwxr-x. 2 jenkins jenkins 64 Sep 10 05:10 bin 05:11:52 -rw-r--r--. 1 jenkins jenkins 110898 Sep 10 05:11 coverage.out 05:11:52 -rw-rw-r--. 1 jenkins jenkins 936 Sep 10 05:10 Dockerfile.build 05:11:52 -rw-rw-r--. 1 jenkins jenkins 140 Sep 10 05:10 .dockerignore 05:11:52 drwxrwxr-x. 4 jenkins jenkins 48 Sep 10 05:10 example 05:11:52 drwxrwxr-x. 8 jenkins jenkins 179 Sep 10 05:10 .git 05:11:52 drwxrwxr-x. 2 jenkins jenkins 60 Sep 10 05:10 .github 05:11:52 -rw-rw-r--. 1 jenkins jenkins 138 Sep 10 05:10 .gitignore 05:11:52 -rw-r--r--. 1 jenkins jenkins 446 Sep 10 05:11 go.mod 05:11:52 -rw-r--r--. 1 jenkins jenkins 12179 Sep 10 05:11 go.sum 05:11:52 drwxrwxr-x. 13 jenkins jenkins 184 Sep 10 05:10 internal 05:11:52 -rw-rw-r--. 1 jenkins jenkins 808 Sep 10 05:10 Jenkinsfile 05:11:52 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 10 05:10 LICENSE 05:11:52 -rw-rw-r--. 1 jenkins jenkins 892 Sep 10 05:10 Makefile 05:11:52 drwxrwxr-x. 4 jenkins jenkins 26 Sep 10 05:10 openapi 05:11:52 drwxrwxr-x. 5 jenkins jenkins 50 Sep 10 05:10 pkg 05:11:52 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 10 05:10 README.md 05:11:52 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 10 05:10 RELEASE-NOTES.txt 05:11:52 drwxrwxr-x. 3 jenkins jenkins 58 Sep 10 05:10 .semver 05:11:52 drwxrwxr-x. 4 jenkins jenkins 54 Sep 10 05:10 snap 05:11:52 -rw-rw-r--. 1 jenkins jenkins 5 Sep 10 05:07 VERSION 05:11:52 -rw-rw-r--. 1 jenkins jenkins 222 Sep 10 05:10 version.go [Pipeline] isUnix [Pipeline] sh 05:11:52 + 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=1b2bb57ab736822d33844b2e1f337cdce5a21e30 --label arch=amd64 --label version=0.0.0 . 05:11:52 Sending build context to Docker daemon 3.295MB 05:11:52 Step 1/24 : ARG BASE=golang:1.13-alpine 05:11:52 Step 2/24 : FROM ${BASE} AS builder 05:11:52 ---> 50d3c0d3a480 05:11:52 Step 3/24 : ARG MAKE='make build' 05:11:53 ---> Running in 8f3f890d79cc 05:11:53 Removing intermediate container 8f3f890d79cc 05:11:53 ---> fe97d13f5023 05:11:53 Step 4/24 : WORKDIR /device-sdk-go 05:11:53 ---> Running in caa908126d77 05:11:53 Removing intermediate container caa908126d77 05:11:53 ---> ed6916feaa4c 05:11:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:11:53 ---> Running in 415a44e42234 05:11:53 Removing intermediate container 415a44e42234 05:11:53 ---> acd960906bbe 05:11:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:53 ---> Running in 86178dec9d49 05:11:54 Removing intermediate container 86178dec9d49 05:11:54 ---> 6c2c502021c4 05:11:54 Step 7/24 : RUN apk add --update --no-cache make git 05:11:55 ---> Running in 42266fb630e1 05:11:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:11:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:11:56 OK: 166 MiB in 39 packages 05:11:56 Removing intermediate container 42266fb630e1 05:11:56 ---> 720c48f25c19 05:11:56 Step 8/24 : COPY . . 05:11:57 ---> ef306d167fa9 05:11:57 Step 9/24 : RUN ${MAKE} 05:11:58 ---> Running in e2f9c43ea65d 05:11:58 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 05:12:04 fd7a069fd194: Pull complete 05:12:04 66aa3694b03b: Pull complete 05:12:04 170f70906a0f: Pull complete 05:12:05 ad7c5574e4b9: Pull complete 05:12:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:12:08 Removing intermediate container e2f9c43ea65d 05:12:08 ---> 79c15e116bec 05:12:08 Step 10/24 : FROM scratch 05:12:08 ---> 05:12:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:12:08 ---> Running in f62f724de4b7 05:12:08 Removing intermediate container f62f724de4b7 05:12:08 ---> 561c43108e29 05:12:08 Step 12/24 : ENV APP_PORT=49990 05:12:08 ---> Running in 1d628ba89aac 05:12:08 Removing intermediate container 1d628ba89aac 05:12:08 ---> f87c5b428cd5 05:12:08 Step 13/24 : EXPOSE $APP_PORT 05:12:08 ---> Running in 9e181a38428a 05:12:08 Removing intermediate container 9e181a38428a 05:12:08 ---> 88d7470ef72d 05:12:08 Step 14/24 : WORKDIR / 05:12:08 ---> Running in cf70a237ce4f 05:12:09 Removing intermediate container cf70a237ce4f 05:12:09 ---> bb2640a8a6f2 05:12:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:12:09 ---> fe3fa003b336 05:12:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:12:09 ---> cab42b6b5715 05:12:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:12:09 ---> 9006c52f756f 05:12:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:12:10 ---> 76ffcabf54ee 05:12:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:12:10 ---> 6b6d9425b6f6 05:12:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:12:10 ---> Running in 6997d21c0087 05:12:10 Removing intermediate container 6997d21c0087 05:12:10 ---> 7044485ad78f 05:12:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:10 ---> Running in a777b2ecef7c 05:12:10 Removing intermediate container a777b2ecef7c 05:12:10 ---> ba3eaeb74675 05:12:10 Step 22/24 : LABEL arch=amd64 05:12:10 ---> Running in 5bb31fde39df 05:12:10 Removing intermediate container 5bb31fde39df 05:12:10 ---> d5ba4d52a26d 05:12:10 Step 23/24 : LABEL git_sha=1b2bb57ab736822d33844b2e1f337cdce5a21e30 05:12:11 ---> Running in 19acbab0974e 05:12:11 Removing intermediate container 19acbab0974e 05:12:11 ---> 327ceb23a402 05:12:11 Step 24/24 : LABEL version=0.0.0 05:12:11 e772456be8f7: Pull complete 05:12:11 c890913d741a: Pull complete 05:12:11 ---> Running in 7de8ad44d986 05:12:11 Removing intermediate container 7de8ad44d986 05:12:11 ---> e76b1d1b65fe 05:12:11 [Warning] One or more build-args [ARCH] were not consumed 05:12:11 Successfully built e76b1d1b65fe 05:12:11 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] } 05:12:13 2480fcc9aa5a: Pull complete 05:12:13 09adf4765672: Pull complete 05:12:13 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 05:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:12:13 ---> 2248a725d1cf 05:12:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:12:17 ---> Running in 940834f1c937 05:12:18 Removing intermediate container 940834f1c937 05:12:18 ---> 4641f373e289 05:12:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:18 ---> Running in 184c4d75fa4a 05:12:20 Removing intermediate container 184c4d75fa4a 05:12:20 ---> 527e26fcab3e 05:12:20 Step 5/8 : RUN apk add --no-cache make git 05:12:21 ---> Running in fa0cb80bd54a 05:12:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:12:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:12:24 OK: 142 MiB in 39 packages 05:12:25 Removing intermediate container fa0cb80bd54a 05:12:25 ---> 11997757c44f 05:12:25 Step 6/8 : WORKDIR /device-sdk-go 05:12:25 ---> Running in 1107e31a8784 05:12:26 Removing intermediate container 1107e31a8784 05:12:26 ---> 00c9f17b96a4 05:12:26 Step 7/8 : COPY . . 05:12:27 ---> aa7e91ad6fbf 05:12:27 Step 8/8 : RUN go mod download 05:12:27 ---> Running in ffc559c7f137 05:12:30 go: finding github.com/BurntSushi/toml v0.3.1 05:12:30 go: finding github.com/OneOfOne/xxhash v1.2.6 05:12:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:12:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:12:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:12:30 go: finding github.com/bgentry/speakeasy v0.1.0 05:12:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:12:30 go: finding github.com/davecgh/go-spew v1.1.1 05:12:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 05:12:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:12:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:12:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:12:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:12:30 go: finding github.com/fatih/color v1.7.0 05:12:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:12:30 go: finding github.com/go-kit/kit v0.8.0 05:12:30 go: finding github.com/go-logfmt/logfmt v0.4.0 05:12:30 go: finding github.com/go-stack/stack v1.8.0 05:12:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:12:30 go: finding github.com/google/uuid v1.1.0 05:12:30 go: finding github.com/gorilla/mux v1.7.1 05:12:30 go: finding github.com/hashicorp/consul/api v1.1.0 05:12:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:12:30 go: finding github.com/hashicorp/errwrap v1.0.0 05:12:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:12:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:12:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:12:30 go: finding github.com/hashicorp/go-multierror v1.0.0 05:12:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:12:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:12:30 go: finding github.com/hashicorp/go-syslog v1.0.0 05:12:30 go: finding github.com/hashicorp/go-uuid v1.0.1 05:12:30 go: finding github.com/hashicorp/go.net v0.0.1 05:12:31 go: finding github.com/hashicorp/golang-lru v0.5.0 05:12:31 go: finding github.com/hashicorp/logutils v1.0.0 05:12:31 go: finding github.com/hashicorp/mdns v1.0.0 05:12:31 go: finding github.com/hashicorp/memberlist v0.1.3 05:12:31 go: finding github.com/hashicorp/serf v0.8.2 05:12:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:12:31 go: finding github.com/mattn/go-colorable v0.0.9 05:12:31 go: finding github.com/mattn/go-isatty v0.0.3 05:12:31 go: finding github.com/miekg/dns v1.0.14 05:12:31 go: finding github.com/mitchellh/cli v1.0.0 05:12:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:12:31 go: finding github.com/mitchellh/copystructure v1.0.0 05:12:31 go: finding github.com/mitchellh/go-homedir v1.0.0 05:12:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:12:31 go: finding github.com/mitchellh/gox v0.4.0 05:12:31 go: finding github.com/mitchellh/iochan v1.0.0 05:12:31 go: finding github.com/mitchellh/mapstructure v1.1.2 05:12:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:12:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:12:31 go: finding github.com/pelletier/go-toml v1.2.0 05:12:31 go: finding github.com/pkg/errors v0.8.1 05:12:31 go: finding github.com/pmezard/go-difflib v1.0.0 05:12:31 go: finding github.com/posener/complete v1.1.1 05:12:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:12:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:12:31 go: finding github.com/stretchr/objx v0.1.0 05:12:31 go: finding github.com/stretchr/testify v1.5.1 05:12:31 go: finding github.com/ugorji/go v1.1.4 05:12:31 go: finding github.com/x448/float16 v0.8.4 05:12:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:12:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:12:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:12:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:12:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:12:31 go: finding gopkg.in/yaml.v2 v2.2.8 05:12:41 Removing intermediate container ffc559c7f137 05:12:41 ---> b38ebcb86d4d 05:12:41 Successfully built b38ebcb86d4d 05:12:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:12:42 + docker inspect -f . ci-base-image-arm64 05:12:42 . [Pipeline] withDockerContainer 05:12:42 prd-ubuntu18.04-docker-arm64-4c-16g-2073 does not seem to be running inside a container 05:12:42 $ 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 05:12:44 $ docker top 75539bd47b17182bb93026d89d833d905f1d92ae68f86aec102ecab266437f8d -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:46 + go version 05:12:46 go version go1.13.13 linux/arm64 [Pipeline] sh 05:12:47 + make test 05:12:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:12:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:13:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:13:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:13:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:13:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.078s coverage: 20.8% of statements 05:13:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.185s coverage: 97.1% of statements 05:13:52 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 9.4% of statements 05:13:52 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.9% of statements 05:13:52 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:13:52 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.116s coverage: 37.0% of statements 05:13:52 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:13:52 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.112s coverage: 65.4% of statements 05:13:52 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:13:52 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:13:52 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:13:52 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements 05:13:52 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 68.9% of statements 05:13:52 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:13:52 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:13:52 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:13:56 gofmt -l . 05:13:56 [ "`gofmt -l .`" = "" ] 05:13:56 ./bin/test-attribution-txt.sh 05:13:57 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:13:57 Warning: overwriting stash ‘coverage-report’ 05:13:58 Stashed 1 file(s) [Pipeline] } 05:13:58 $ docker stop --time=1 75539bd47b17182bb93026d89d833d905f1d92ae68f86aec102ecab266437f8d 05:14:00 $ docker rm -f 75539bd47b17182bb93026d89d833d905f1d92ae68f86aec102ecab266437f8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:02 + ls -al . 05:14:02 total 228 05:14:02 drwxrwxr-x 11 jenkins jenkins 4096 Sep 10 05:13 . 05:14:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 .. 05:14:02 -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 05:11 .dockerignore 05:14:02 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 05:11 .git 05:14:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 05:11 .github 05:14:02 -rw-rw-r-- 1 jenkins jenkins 138 Sep 10 05:11 .gitignore 05:14:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 05:11 .semver 05:14:02 -rw-rw-r-- 1 jenkins jenkins 936 Sep 10 05:11 Dockerfile.build 05:14:02 -rw-rw-r-- 1 jenkins jenkins 808 Sep 10 05:11 Jenkinsfile 05:14:02 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 05:11 LICENSE 05:14:02 -rw-rw-r-- 1 jenkins jenkins 892 Sep 10 05:11 Makefile 05:14:02 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 10 05:11 README.md 05:14:02 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 10 05:11 RELEASE-NOTES.txt 05:14:02 -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 05:07 VERSION 05:14:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 05:11 bin 05:14:02 -rw-r--r-- 1 jenkins jenkins 110898 Sep 10 05:13 coverage.out 05:14:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 example 05:14:02 -rw-r--r-- 1 jenkins jenkins 446 Sep 10 05:13 go.mod 05:14:02 -rw-r--r-- 1 jenkins jenkins 12179 Sep 10 05:13 go.sum 05:14:02 drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 05:11 internal 05:14:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 openapi 05:14:02 drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 05:11 pkg 05:14:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 snap 05:14:02 -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 05:11 version.go [Pipeline] isUnix [Pipeline] sh 05:14: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=1b2bb57ab736822d33844b2e1f337cdce5a21e30 --label arch=arm64 --label version=0.0.0 . 05:14:03 Sending build context to Docker daemon 3.295MB 05:14:03 Step 1/24 : ARG BASE=golang:1.13-alpine 05:14:03 Step 2/24 : FROM ${BASE} AS builder 05:14:03 ---> b38ebcb86d4d 05:14:03 Step 3/24 : ARG MAKE='make build' 05:14:03 ---> Running in b321ef973297 05:14:03 Removing intermediate container b321ef973297 05:14:03 ---> 78c46480f964 05:14:03 Step 4/24 : WORKDIR /device-sdk-go 05:14:03 ---> Running in 66cb5ea5fccb 05:14:04 Removing intermediate container 66cb5ea5fccb 05:14:04 ---> 98c77a950c2b 05:14:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:14:04 ---> Running in ae546bda03fb 05:14:05 Removing intermediate container ae546bda03fb 05:14:05 ---> da2fe4d2c9b0 05:14:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:14:05 ---> Running in 7362919ea6b0 05:14:07 Removing intermediate container 7362919ea6b0 05:14:07 ---> 7f93852850d5 05:14:07 Step 7/24 : RUN apk add --update --no-cache make git 05:14:07 ---> Running in b2f00339bd72 05:14:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:14:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:14:10 OK: 142 MiB in 39 packages 05:14:11 Removing intermediate container b2f00339bd72 05:14:11 ---> d00bb8f574fe 05:14:11 Step 8/24 : COPY . . 05:14:12 ---> e680b3382ed0 05:14:12 Step 9/24 : RUN ${MAKE} 05:14:13 ---> Running in 32be6700bb93 05:14: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 05:14:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:14:40 Removing intermediate container 32be6700bb93 05:14:40 ---> 831065789737 05:14:40 Step 10/24 : FROM scratch 05:14:40 ---> 05:14:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:14:40 ---> Running in 68f0d2e74e65 05:14:40 Removing intermediate container 68f0d2e74e65 05:14:40 ---> d362e90ec89b 05:14:40 Step 12/24 : ENV APP_PORT=49990 05:14:40 ---> Running in 1edaefdb64a0 05:14:40 Removing intermediate container 1edaefdb64a0 05:14:40 ---> 3336fc22b458 05:14:40 Step 13/24 : EXPOSE $APP_PORT 05:14:41 ---> Running in b48f812c2c6d 05:14:41 Removing intermediate container b48f812c2c6d 05:14:41 ---> d954615a26f9 05:14:41 Step 14/24 : WORKDIR / 05:14:41 ---> Running in 7121f5a8188c 05:14:42 Removing intermediate container 7121f5a8188c 05:14:42 ---> 2cf7558e1685 05:14:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:14:43 ---> 8a35278a6f85 05:14:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:14:44 ---> 87862124f87e 05:14:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:14:44 ---> 9c540f26967d 05:14:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:14:45 ---> d1b66690d020 05:14:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:14:46 ---> 47c58c54eeb4 05:14:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:14:46 ---> Running in 5ae9366d2bda 05:14:46 Removing intermediate container 5ae9366d2bda 05:14:46 ---> d776a43f255c 05:14:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:14:47 ---> Running in 673a1fcca4d0 05:14:47 Removing intermediate container 673a1fcca4d0 05:14:47 ---> 7bfc458b9baa 05:14:47 Step 22/24 : LABEL arch=arm64 05:14:47 ---> Running in 82d7c634a0ce 05:14:48 Removing intermediate container 82d7c634a0ce 05:14:48 ---> 2b363e5f7e44 05:14:48 Step 23/24 : LABEL git_sha=1b2bb57ab736822d33844b2e1f337cdce5a21e30 05:14:48 ---> Running in d31a594607d1 05:14:48 Removing intermediate container d31a594607d1 05:14:48 ---> 3226765273d1 05:14:48 Step 24/24 : LABEL version=0.0.0 05:14:48 ---> Running in 164fde53753c 05:14:49 Removing intermediate container 164fde53753c 05:14:49 ---> d1fc66b50246 05:14:49 [Warning] One or more build-args [ARCH] were not consumed 05:14:49 Successfully built d1fc66b50246 05:14:49 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 05:14:51 provisioning config files... 05:14:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config6516578030265485438tmp [Pipeline] { [Pipeline] sh 05:14:51 + curl -s https://codecov.io/bash 05:14:51 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config6516578030265485438tmp [Pipeline] } 05:14:51 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 05:14:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:54 ---> package-listing.sh 05:14:54 ++ facter osfamily 05:14:54 ++ tr '[:upper:]' '[:lower:]' 05:14:54 + OS_FAMILY=redhat 05:14:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 05:14:54 + START_PACKAGES=/tmp/packages_start.txt 05:14:54 + END_PACKAGES=/tmp/packages_end.txt 05:14:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:54 + PACKAGES=/tmp/packages_start.txt 05:14:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 05:14:54 + PACKAGES=/tmp/packages_end.txt 05:14:54 + case "${OS_FAMILY}" in 05:14:54 + rpm -qa 05:14:54 + sort 05:14:58 + '[' -f /tmp/packages_start.txt ']' 05:14:58 + '[' -f /tmp/packages_end.txt ']' 05:14:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 05:14:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 05:14:58 + 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 05:14:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:14:59 05:14:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:15:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:15:00 alpine: Pulling from edgex-lftools-log-publisher 05:15:00 df20fa9351a1: Pulling fs layer 05:15:00 36b3adc4ff6f: Pulling fs layer 05:15:00 8ad3a11d3b57: Pulling fs layer 05:15:00 46f8f816bc3b: Pulling fs layer 05:15:00 0dadc02b9964: Pulling fs layer 05:15:00 ce6a7cf60c04: Pulling fs layer 05:15:00 7a184a31f384: Pulling fs layer 05:15:00 0879bd2ef858: Pulling fs layer 05:15:00 46f8f816bc3b: Waiting 05:15:00 0dadc02b9964: Waiting 05:15:00 ce6a7cf60c04: Waiting 05:15:00 7a184a31f384: Waiting 05:15:00 0879bd2ef858: Waiting 05:15:00 36b3adc4ff6f: Verifying Checksum 05:15:00 36b3adc4ff6f: Download complete 05:15:00 46f8f816bc3b: Verifying Checksum 05:15:00 46f8f816bc3b: Download complete 05:15:00 df20fa9351a1: Verifying Checksum 05:15:00 df20fa9351a1: Download complete 05:15:00 ce6a7cf60c04: Verifying Checksum 05:15:00 ce6a7cf60c04: Download complete 05:15:00 7a184a31f384: Verifying Checksum 05:15:00 7a184a31f384: Download complete 05:15:00 8ad3a11d3b57: Verifying Checksum 05:15:00 8ad3a11d3b57: Download complete 05:15:00 0dadc02b9964: Verifying Checksum 05:15:00 0dadc02b9964: Download complete 05:15:00 df20fa9351a1: Pull complete 05:15:00 0879bd2ef858: Verifying Checksum 05:15:00 0879bd2ef858: Download complete 05:15:00 36b3adc4ff6f: Pull complete 05:15:01 8ad3a11d3b57: Pull complete 05:15:01 46f8f816bc3b: Pull complete 05:15:01 0dadc02b9964: Pull complete 05:15:01 ce6a7cf60c04: Pull complete 05:15:01 7a184a31f384: Pull complete 05:15:04 0879bd2ef858: Pull complete 05:15:04 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 05:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:15:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:15:04 prd-centos7-docker-4c-2g-2071 does not seem to be running inside a container 05:15:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -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 05:15:10 $ docker top aa2993b49c065a8b9acd1f6b0848ea10a6355e6532ced249665ca61f084d5338 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:11 + mkdir -p /var/log/sa [Pipeline] sh 05:15:11 + ls /var/log/sa-host 05:15:11 + sadf -c /var/log/sa-host/sa05 05:15:11 file_magic: OK 05:15:11 HZ: Using current value: 100 05:15:11 file_header: OK 05:15:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:15:11 Statistics: 05:15:11 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:15:11 File successfully converted to sysstat format version 12.2.1 05:15:11 + sadf -c /var/log/sa-host/sa10 05:15:11 file_magic: OK 05:15:11 HZ: Using current value: 100 05:15:11 file_header: OK 05:15:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:15:11 Statistics: 05:15:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:15:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:11 provisioning config files... 05:15:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5179816060137308285tmp [Pipeline] { [Pipeline] echo 05:15:11 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:11 ---> create-netrc.sh [Pipeline] echo 05:15:11 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:12 ---> logs-deploy.sh 05:15:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/8 05:15:12 INFO: archiving workspace using pattern(s): 05:15:13 Archives upload complete. 05:15:13 INFO: archiving logs to Nexus