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 af5de07fbca8008184ecf07d9ae563f724de5245+4000e27a9f725d20d01bd2b86b2182ef891199d8 (89bab0bab19709ac05d548822e37f459e014f8e2) 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-2083 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 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 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit af5de07fbca8008184ecf07d9ae563f724de5245 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # 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 Merge succeeded, producing af5de07fbca8008184ecf07d9ae563f724de5245 Checking out Revision af5de07fbca8008184ecf07d9ae563f724de5245 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" > git rev-list --no-walk 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:13:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:13:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:13:14 ========================================================= 09:13:14 EdgeX Global Pipelines Version Info 09:13:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:13:16 ------------------- 09:13:16 stable info: 09:13:16 ------------------- 09:13:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:13:16 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 09:13:16 Message: update stable to v1.0.119 09:13:17 ------------------- 09:13:17 experimental info: 09:13:17 ------------------- 09:13:17 Commited By: **** collab-it+edgex@linuxfoundation.org 09:13:17 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 09:13:17 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:13:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af5de07fbca8008184ecf07d9ae563f724de5245 [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af5de07 [Pipeline] echo 09:13:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:20 + git log --format=format:%s -1 af5de07fbca8008184ecf07d9ae563f724de5245 [Pipeline] echo 09:13:20 GIT_COMMIT: af5de07fbca8008184ecf07d9ae563f724de5245, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo 09:13:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:13:21 09:13:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:13:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:13:21 latest: Pulling from edgex-devops/git-semver 09:13:21 31603596830f: Pulling fs layer 09:13:21 2a8b12db71e7: Pulling fs layer 09:13:21 6ca5941a6612: Pulling fs layer 09:13:21 ecc8261a40a4: Pulling fs layer 09:13:21 ecc8261a40a4: Waiting 09:13:21 2a8b12db71e7: Verifying Checksum 09:13:21 2a8b12db71e7: Download complete 09:13:22 31603596830f: Verifying Checksum 09:13:22 31603596830f: Download complete 09:13:22 31603596830f: Pull complete 09:13:22 2a8b12db71e7: Pull complete 09:13:22 6ca5941a6612: Verifying Checksum 09:13:22 6ca5941a6612: Download complete 09:13:22 ecc8261a40a4: Verifying Checksum 09:13:22 ecc8261a40a4: Download complete 09:13:23 6ca5941a6612: Pull complete 09:13:23 ecc8261a40a4: Pull complete 09:13:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:13:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:13:23 prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container 09:13:23 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:13:25 $ docker top dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:13:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:26 [ssh-agent] Looking for ssh-agent implementation... 09:13:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:26 $ docker exec dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent 09:13:26 SSH_AUTH_SOCK=/tmp/ssh-Q3mXsUsSrmua/agent.11 09:13:26 SSH_AGENT_PID=17 09:13:26 Running ssh-add (command line suppressed) 09:13:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_244439156946070131.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_244439156946070131.key) 09:13:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:27 + git describe --exact-match --tags HEAD 09:13:27 fatal: No names found, cannot describe anything. [Pipeline] } 09:13:27 $ docker exec --env ******** --env ******** dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent -k 09:13:27 unset SSH_AUTH_SOCK; 09:13:27 unset SSH_AGENT_PID; 09:13:27 echo Agent pid 17 killed; 09:13:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:13:27 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:13:27 This usually means this commit has not been tagged. [Pipeline] sshagent 09:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:27 [ssh-agent] Looking for ssh-agent implementation... 09:13:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:27 $ docker exec dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent 09:13:27 SSH_AUTH_SOCK=/tmp/ssh-rKXCcUdjmfQE/agent.45 09:13:27 SSH_AGENT_PID=51 09:13:27 Running ssh-add (command line suppressed) 09:13:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7607311789747920101.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7607311789747920101.key) 09:13:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:28 + git semver init 09:13:28 # -> Open(): unable to determine branch for HEAD 09:13:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 09:13:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 09:13:28 # $SEMVER_REMOTE_NAME = origin 09:13:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:13:28 # $SEMVER_USER_NAME = edgex-jenkins 09:13:28 # $SEMVER_BRANCH = PR-571 09:13:28 # $SEMVER_TEMP = /tmp/semver-105762557 09:13:28 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:13:28 # '/tmp/semver-105762557' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 09:13:28 # -> Force: false 09:13:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 09:13:28 $ docker exec --env ******** --env ******** dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent -k 09:13:28 unset SSH_AUTH_SOCK; 09:13:28 unset SSH_AGENT_PID; 09:13:28 echo Agent pid 51 killed; 09:13:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:29 + git semver [Pipeline] } 09:13:29 $ docker stop --time=1 dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 09:13:30 $ docker rm -f dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:13:31 Stashed 33 file(s) [Pipeline] echo 09:13:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:13:31 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 09:13:47 Still waiting to schedule task 09:13:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:13:47 Still waiting to schedule task 09:13:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:15:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2084 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 09:15:41 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 09:15:46 using credential edgex-jenkins-ssh 09:15:46 Cloning the remote Git repository 09:15:46 Cloning with configured refspecs honoured and without tags 09:15:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:15:47 > git init /w/workspace/device-sdk-go/9 # timeout=10 09:15:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:15:47 > git --version # timeout=10 09:15:47 > git --version # 'git version 2.17.1' 09:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:47 > 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 09:15:48 Fetching without tags 09:15:48 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit af5de07fbca8008184ecf07d9ae563f724de5245 09:15:48 Merge succeeded, producing af5de07fbca8008184ecf07d9ae563f724de5245 09:15:48 Checking out Revision af5de07fbca8008184ecf07d9ae563f724de5245 (PR-571) 09:15:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:15:48 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 09:15:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:15:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:15:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:15:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:48 > 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 09:15:48 > git config core.sparsecheckout # timeout=10 09:15:48 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 09:15:48 > git remote # timeout=10 09:15:48 > git config --get remote.origin.url # timeout=10 09:15:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:48 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 09:15:48 > git rev-parse HEAD^{commit} # timeout=10 09:15:48 > git config core.sparsecheckout # timeout=10 09:15:49 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 09:15:53 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 09:15:54 ========================================================= 09:15:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:15:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:15:55 + 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 . 09:15:56 Sending build context to Docker daemon 3.14MB 09:15:56 Step 1/8 : ARG BASE=golang:1.13-alpine 09:15:56 Step 2/8 : FROM ${BASE} 09:15:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:15:56 b538f80385f9: Pulling fs layer 09:15:56 74f711af9a0d: Pulling fs layer 09:15:56 99f96fe45779: Pulling fs layer 09:15:56 fd7a069fd194: Pulling fs layer 09:15:56 66aa3694b03b: Pulling fs layer 09:15:56 170f70906a0f: Pulling fs layer 09:15:56 ad7c5574e4b9: Pulling fs layer 09:15:56 e772456be8f7: Pulling fs layer 09:15:56 fd7a069fd194: Waiting 09:15:56 c890913d741a: Pulling fs layer 09:15:56 66aa3694b03b: Waiting 09:15:56 2480fcc9aa5a: Pulling fs layer 09:15:56 09adf4765672: Pulling fs layer 09:15:56 c890913d741a: Waiting 09:15:56 2480fcc9aa5a: Waiting 09:15:56 09adf4765672: Waiting 09:15:56 170f70906a0f: Waiting 09:15:56 ad7c5574e4b9: Waiting 09:15:56 e772456be8f7: Waiting 09:15:56 99f96fe45779: Verifying Checksum 09:15:56 99f96fe45779: Download complete 09:15:56 74f711af9a0d: Verifying Checksum 09:15:56 74f711af9a0d: Download complete 09:15:56 66aa3694b03b: Download complete 09:15:56 170f70906a0f: Verifying Checksum 09:15:56 170f70906a0f: Download complete 09:15:57 b538f80385f9: Verifying Checksum 09:15:57 b538f80385f9: Download complete 09:15:58 b538f80385f9: Pull complete 09:15:58 74f711af9a0d: Pull complete 09:15:58 99f96fe45779: Pull complete 09:16:00 ad7c5574e4b9: Verifying Checksum 09:16:00 ad7c5574e4b9: Download complete 09:16:00 c890913d741a: Download complete 09:16:01 e772456be8f7: Verifying Checksum 09:16:01 e772456be8f7: Download complete 09:16:01 09adf4765672: Verifying Checksum 09:16:01 09adf4765672: Download complete 09:16:01 2480fcc9aa5a: Verifying Checksum 09:16:01 2480fcc9aa5a: Download complete 09:16:02 fd7a069fd194: Download complete 09:16:14 fd7a069fd194: Pull complete 09:16:14 66aa3694b03b: Pull complete 09:16:14 170f70906a0f: Pull complete 09:16:17 ad7c5574e4b9: Pull complete 09:16:21 e772456be8f7: Pull complete 09:16:22 c890913d741a: Pull complete 09:16:25 2480fcc9aa5a: Pull complete 09:16:25 09adf4765672: Pull complete 09:16:25 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 09:16:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:16:25 ---> 2248a725d1cf 09:16:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:16:29 ---> Running in 5dfbc9473bda 09:16:29 Removing intermediate container 5dfbc9473bda 09:16:29 ---> 2c213f7d3a8f 09:16:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:29 ---> Running in 37b62265d31f 09:16:32 Removing intermediate container 37b62265d31f 09:16:32 ---> d7105dafe927 09:16:32 Step 5/8 : RUN apk add --no-cache make git 09:16:32 ---> Running in 6ee327cbba6e 09:16:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:16:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:16:35 OK: 142 MiB in 39 packages 09:16:36 Running on prd-centos7-docker-4c-2g-2085 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 09:16:36 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 09:16:37 Removing intermediate container 6ee327cbba6e 09:16:37 ---> ae3f5b00aa81 09:16:37 Step 6/8 : WORKDIR /device-sdk-go 09:16:37 ---> Running in 21f1e4eba3c3 09:16:37 Removing intermediate container 21f1e4eba3c3 09:16:37 ---> 9c3aeda319aa 09:16:37 Step 7/8 : COPY . . 09:16:38 ---> 76aa7cfc56c1 09:16:38 Step 8/8 : RUN go mod download 09:16:38 ---> Running in bd551be7c62a 09:16:41 go: finding github.com/BurntSushi/toml v0.3.1 09:16:41 go: finding github.com/OneOfOne/xxhash v1.2.6 09:16:41 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:16:41 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:16:41 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:16:41 go: finding github.com/bgentry/speakeasy v0.1.0 09:16:41 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:16:41 go: finding github.com/davecgh/go-spew v1.1.1 09:16:41 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 09:16:41 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:16:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:16:41 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 09:16:41 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:16:41 go: finding github.com/fatih/color v1.7.0 09:16:41 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:16:41 go: finding github.com/go-kit/kit v0.8.0 09:16:41 go: finding github.com/go-logfmt/logfmt v0.4.0 09:16:41 go: finding github.com/go-stack/stack v1.8.0 09:16:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:16:41 go: finding github.com/google/uuid v1.1.0 09:16:41 go: finding github.com/gorilla/mux v1.7.1 09:16:41 go: finding github.com/hashicorp/consul/api v1.1.0 09:16:41 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:16:41 go: finding github.com/hashicorp/errwrap v1.0.0 09:16:42 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:16:42 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:16:42 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:16:42 go: finding github.com/hashicorp/go-multierror v1.0.0 09:16:42 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:16:42 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:16:42 go: finding github.com/hashicorp/go-syslog v1.0.0 09:16:42 go: finding github.com/hashicorp/go-uuid v1.0.1 09:16:42 go: finding github.com/hashicorp/go.net v0.0.1 09:16:42 go: finding github.com/hashicorp/golang-lru v0.5.0 09:16:42 go: finding github.com/hashicorp/logutils v1.0.0 09:16:42 go: finding github.com/hashicorp/mdns v1.0.0 09:16:42 go: finding github.com/hashicorp/memberlist v0.1.3 09:16:42 go: finding github.com/hashicorp/serf v0.8.2 09:16:42 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:16:42 go: finding github.com/mattn/go-colorable v0.0.9 09:16:42 go: finding github.com/mattn/go-isatty v0.0.3 09:16:42 go: finding github.com/miekg/dns v1.0.14 09:16:42 go: finding github.com/mitchellh/cli v1.0.0 09:16:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:16:42 go: finding github.com/mitchellh/copystructure v1.0.0 09:16:42 go: finding github.com/mitchellh/go-homedir v1.0.0 09:16:42 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:16:42 go: finding github.com/mitchellh/gox v0.4.0 09:16:42 go: finding github.com/mitchellh/iochan v1.0.0 09:16:42 go: finding github.com/mitchellh/mapstructure v1.1.2 09:16:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:16:42 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:16:42 go: finding github.com/pelletier/go-toml v1.2.0 09:16:42 go: finding github.com/pkg/errors v0.8.1 09:16:42 go: finding github.com/pmezard/go-difflib v1.0.0 09:16:42 go: finding github.com/posener/complete v1.1.1 09:16:42 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:16:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:16:43 go: finding github.com/stretchr/objx v0.1.0 09:16:43 go: finding github.com/stretchr/testify v1.5.1 09:16:43 go: finding github.com/ugorji/go v1.1.4 09:16:43 go: finding github.com/x448/float16 v0.8.4 09:16:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:16:43 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:16:43 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:16:43 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:16:43 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:16:43 go: finding gopkg.in/yaml.v2 v2.2.8 09:16:43 using credential edgex-jenkins-ssh 09:16:43 Cloning the remote Git repository 09:16:43 Cloning with configured refspecs honoured and without tags 09:16:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:16:43 > git init /w/workspace/device-sdk-go/9 # timeout=10 09:16:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:16:43 > git --version # timeout=10 09:16:43 > git --version # 'git version 2.16.5' 09:16:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:44 > 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 09:16:44 Fetching without tags 09:16:45 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit af5de07fbca8008184ecf07d9ae563f724de5245 09:16:45 Merge succeeded, producing af5de07fbca8008184ecf07d9ae563f724de5245 09:16:45 Checking out Revision af5de07fbca8008184ecf07d9ae563f724de5245 (PR-571) 09:16:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:16:44 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 09:16:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:16:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:16:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:16:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:44 > 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 09:16:45 > git config core.sparsecheckout # timeout=10 09:16:45 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 09:16:45 > git remote # timeout=10 09:16:45 > git config --get remote.origin.url # timeout=10 09:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:45 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 09:16:45 > git rev-parse HEAD^{commit} # timeout=10 09:16:45 > git config core.sparsecheckout # timeout=10 09:16:45 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 09:16:49 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 09:16:50 ========================================================= 09:16:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:16:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:16:51 Removing intermediate container bd551be7c62a 09:16:51 ---> c9fc444dc843 09:16:51 Successfully built c9fc444dc843 09:16:51 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 09:16:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:16:52 Sending build context to Docker daemon 3.138MB 09:16:52 Step 1/8 : ARG BASE=golang:1.13-alpine 09:16:52 Step 2/8 : FROM ${BASE} 09:16:52 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:16:52 df20fa9351a1: Pulling fs layer 09:16:52 ed8968b2872e: Pulling fs layer 09:16:52 a92cc7c5fd73: Pulling fs layer 09:16:52 2dd03ba5bac4: Pulling fs layer 09:16:52 1e091d79d1de: Pulling fs layer 09:16:52 481702a1767f: Pulling fs layer 09:16:52 f64a6f60c768: Pulling fs layer 09:16:52 e78d2573fc39: Pulling fs layer 09:16:52 e876d2f968b6: Pulling fs layer 09:16:52 ce8a83651883: Pulling fs layer 09:16:52 07967f4d0e4b: Pulling fs layer 09:16:52 e78d2573fc39: Waiting 09:16:52 e876d2f968b6: Waiting 09:16:52 ce8a83651883: Waiting 09:16:52 07967f4d0e4b: Waiting 09:16:52 2dd03ba5bac4: Waiting 09:16:52 1e091d79d1de: Waiting 09:16:52 481702a1767f: Waiting 09:16:52 f64a6f60c768: Waiting 09:16:52 a92cc7c5fd73: Verifying Checksum 09:16:52 a92cc7c5fd73: Download complete 09:16:52 ed8968b2872e: Verifying Checksum 09:16:52 ed8968b2872e: Download complete 09:16:52 1e091d79d1de: Verifying Checksum 09:16:52 1e091d79d1de: Download complete 09:16:52 481702a1767f: Verifying Checksum 09:16:52 481702a1767f: Download complete 09:16:52 + docker inspect -f . ci-base-image-arm64 09:16:52 . [Pipeline] withDockerContainer 09:16:52 prd-ubuntu18.04-docker-arm64-4c-16g-2084 does not seem to be running inside a container 09:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 09:16:53 df20fa9351a1: Verifying Checksum 09:16:53 df20fa9351a1: Download complete 09:16:53 df20fa9351a1: Pull complete 09:16:54 ed8968b2872e: Pull complete 09:16:54 a92cc7c5fd73: Pull complete 09:16:54 $ docker top 2e96bce14c4e40a37321091e048d1f0482bb04bc62eb02f6ad28c5a665d5c71f -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:56 + go version 09:16:56 go version go1.13.13 linux/arm64 [Pipeline] sh 09:16:56 f64a6f60c768: Verifying Checksum 09:16:56 f64a6f60c768: Download complete 09:16:56 e876d2f968b6: Verifying Checksum 09:16:56 e876d2f968b6: Download complete 09:16:57 + make test 09:16:57 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:16:58 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:16:59 ce8a83651883: Verifying Checksum 09:16:59 ce8a83651883: Download complete 09:17:00 07967f4d0e4b: Verifying Checksum 09:17:00 07967f4d0e4b: Download complete 09:17:02 e78d2573fc39: Verifying Checksum 09:17:02 e78d2573fc39: Download complete 09:17:02 2dd03ba5bac4: Verifying Checksum 09:17:02 2dd03ba5bac4: Download complete 09:17:13 2dd03ba5bac4: Pull complete 09:17:13 1e091d79d1de: Pull complete 09:17:13 481702a1767f: Pull complete 09:17:17 f64a6f60c768: Pull complete 09:17:22 e78d2573fc39: Pull complete 09:17:22 e876d2f968b6: Pull complete 09:17:23 ce8a83651883: Pull complete 09:17:24 07967f4d0e4b: Pull complete 09:17:24 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 09:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:17:24 ---> 5d7c900382c6 09:17:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:17:25 ---> Running in 509b164dd030 09:17:26 Removing intermediate container 509b164dd030 09:17:26 ---> 8b6d2dcd5e9d 09:17:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:26 ---> Running in 37c09a0f333e 09:17:28 Removing intermediate container 37c09a0f333e 09:17:28 ---> 2a3030791a4b 09:17:28 Step 5/8 : RUN apk add --no-cache make git 09:17:28 ---> Running in 4cc0f5a21801 09:17:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:17:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:17:30 OK: 166 MiB in 39 packages 09:17:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:17:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:17:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:17:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 20.8% of statements 09:17:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.139s coverage: 97.1% of statements 09:17:31 Removing intermediate container 4cc0f5a21801 09:17:31 ---> 016cba71feff 09:17:31 Step 6/8 : WORKDIR /device-sdk-go 09:17:31 ---> Running in 86e228da6670 09:17:31 Removing intermediate container 86e228da6670 09:17:31 ---> 40a59f9d034c 09:17:31 Step 7/8 : COPY . . 09:17:33 ---> 33f1d6c8169e 09:17:33 Step 8/8 : RUN go mod download 09:17:33 ---> Running in 80deecd44086 09:17:35 go: finding github.com/BurntSushi/toml v0.3.1 09:17:35 go: finding github.com/OneOfOne/xxhash v1.2.6 09:17:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:17:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:17:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:17:35 go: finding github.com/bgentry/speakeasy v0.1.0 09:17:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:17:35 go: finding github.com/davecgh/go-spew v1.1.1 09:17:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 09:17:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:17:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:17:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 09:17:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:17:35 go: finding github.com/fatih/color v1.7.0 09:17:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:17:35 go: finding github.com/go-kit/kit v0.8.0 09:17:35 go: finding github.com/go-logfmt/logfmt v0.4.0 09:17:35 go: finding github.com/go-stack/stack v1.8.0 09:17:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:17:35 go: finding github.com/google/uuid v1.1.0 09:17:35 go: finding github.com/gorilla/mux v1.7.1 09:17:35 go: finding github.com/hashicorp/consul/api v1.1.0 09:17:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:17:35 go: finding github.com/hashicorp/errwrap v1.0.0 09:17:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:17:36 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:17:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:17:36 go: finding github.com/hashicorp/go-multierror v1.0.0 09:17:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:17:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:17:36 go: finding github.com/hashicorp/go-syslog v1.0.0 09:17:36 go: finding github.com/hashicorp/go-uuid v1.0.1 09:17:36 go: finding github.com/hashicorp/go.net v0.0.1 09:17:36 go: finding github.com/hashicorp/golang-lru v0.5.0 09:17:36 go: finding github.com/hashicorp/logutils v1.0.0 09:17:36 go: finding github.com/hashicorp/mdns v1.0.0 09:17:36 go: finding github.com/hashicorp/memberlist v0.1.3 09:17:36 go: finding github.com/hashicorp/serf v0.8.2 09:17:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:17:36 go: finding github.com/mattn/go-colorable v0.0.9 09:17:36 go: finding github.com/mattn/go-isatty v0.0.3 09:17:36 go: finding github.com/miekg/dns v1.0.14 09:17:36 go: finding github.com/mitchellh/cli v1.0.0 09:17:36 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:17:36 go: finding github.com/mitchellh/copystructure v1.0.0 09:17:36 go: finding github.com/mitchellh/go-homedir v1.0.0 09:17:36 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:17:36 go: finding github.com/mitchellh/gox v0.4.0 09:17:36 go: finding github.com/mitchellh/iochan v1.0.0 09:17:36 go: finding github.com/mitchellh/mapstructure v1.1.2 09:17:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:17:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:17:36 go: finding github.com/pelletier/go-toml v1.2.0 09:17:36 go: finding github.com/pkg/errors v0.8.1 09:17:36 go: finding github.com/pmezard/go-difflib v1.0.0 09:17:36 go: finding github.com/posener/complete v1.1.1 09:17:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:17:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:17:36 go: finding github.com/stretchr/objx v0.1.0 09:17:36 go: finding github.com/stretchr/testify v1.5.1 09:17:36 go: finding github.com/ugorji/go v1.1.4 09:17:36 go: finding github.com/x448/float16 v0.8.4 09:17:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:17:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:17:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:17:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:17:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:17:37 go: finding gopkg.in/yaml.v2 v2.2.8 09:17:47 Removing intermediate container 80deecd44086 09:17:47 ---> 69d448b84220 09:17:47 Successfully built 69d448b84220 09:17:47 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 09:17:48 + docker inspect -f . ci-base-image-x86_64 09:17:48 . [Pipeline] withDockerContainer 09:17:48 prd-centos7-docker-4c-2g-2085 does not seem to be running inside a container 09:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:17:50 $ docker top 3e4aec96d225078f43b00c5a543dcc2e86ffeb1b6e44a60f5e4c4fd03046e038 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:50 + go version 09:17:50 go version go1.13.13 linux/amd64 [Pipeline] sh 09:17:51 + make test 09:17:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:17:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:18:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.026s coverage: 9.4% of statements 09:18:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.033s coverage: 21.9% of statements 09:18:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:18:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.093s coverage: 37.0% of statements 09:18:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:18:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.114s coverage: 65.4% of statements 09:18:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:18:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:18:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:18:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.060s coverage: 52.6% of statements 09:18:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 68.9% of statements 09:18:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:18:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:18:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:18:06 gofmt -l . 09:18:06 [ "`gofmt -l .`" = "" ] 09:18:06 ./bin/test-attribution-txt.sh 09:18:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:18:08 Stashed 1 file(s) [Pipeline] } 09:18:08 $ docker stop --time=1 2e96bce14c4e40a37321091e048d1f0482bb04bc62eb02f6ad28c5a665d5c71f 09:18:10 $ docker rm -f 2e96bce14c4e40a37321091e048d1f0482bb04bc62eb02f6ad28c5a665d5c71f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:18:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:18:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:18:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:18:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 20.8% of statements 09:18:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.125s coverage: 97.1% of statements [Pipeline] sh 09:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:18:14 + ls -al . 09:18:14 total 228 09:18:14 drwxrwxr-x 11 jenkins jenkins 4096 Sep 10 09:18 . 09:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 .. 09:18:14 -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 09:15 .dockerignore 09:18:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 09:15 .git 09:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 09:15 .github 09:18:14 -rw-rw-r-- 1 jenkins jenkins 138 Sep 10 09:15 .gitignore 09:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 09:15 .semver 09:18:14 -rw-rw-r-- 1 jenkins jenkins 936 Sep 10 09:15 Dockerfile.build 09:18:14 -rw-rw-r-- 1 jenkins jenkins 808 Sep 10 09:15 Jenkinsfile 09:18:14 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 09:15 LICENSE 09:18:14 -rw-rw-r-- 1 jenkins jenkins 892 Sep 10 09:15 Makefile 09:18:14 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 10 09:15 README.md 09:18:14 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 10 09:15 RELEASE-NOTES.txt 09:18:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 09:13 VERSION 09:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 09:15 bin 09:18:14 -rw-r--r-- 1 jenkins jenkins 110898 Sep 10 09:17 coverage.out 09:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 example 09:18:14 -rw-r--r-- 1 jenkins jenkins 446 Sep 10 09:18 go.mod 09:18:14 -rw-r--r-- 1 jenkins jenkins 12179 Sep 10 09:18 go.sum 09:18:14 drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 09:15 internal 09:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 openapi 09:18:14 drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 09:15 pkg 09:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 snap 09:18:14 -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 09:15 version.go [Pipeline] isUnix [Pipeline] sh 09:18:14 + 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=af5de07fbca8008184ecf07d9ae563f724de5245 --label arch=arm64 --label version=0.0.0 . 09:18:15 Sending build context to Docker daemon 3.252MB 09:18:15 Step 1/24 : ARG BASE=golang:1.13-alpine 09:18:15 Step 2/24 : FROM ${BASE} AS builder 09:18:15 ---> c9fc444dc843 09:18:15 Step 3/24 : ARG MAKE='make build' 09:18:15 ---> Running in b667b84c80aa 09:18:15 Removing intermediate container b667b84c80aa 09:18:15 ---> 73b0e4248b15 09:18:15 Step 4/24 : WORKDIR /device-sdk-go 09:18:16 ---> Running in 97cef4557f40 09:18:16 Removing intermediate container 97cef4557f40 09:18:16 ---> 5964694db620 09:18:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:18:16 ---> Running in 9fa7befc8060 09:18:16 Removing intermediate container 9fa7befc8060 09:18:16 ---> 143ab1547eb8 09:18:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:18:17 ---> Running in b63da5366a33 09:18:19 Removing intermediate container b63da5366a33 09:18:19 ---> 55c2ccca4517 09:18:19 Step 7/24 : RUN apk add --update --no-cache make git 09:18:19 ---> Running in aeb6e0665410 09:18:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:18:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:18:22 OK: 142 MiB in 39 packages 09:18:24 Removing intermediate container aeb6e0665410 09:18:24 ---> d29cbf32d1b9 09:18:24 Step 8/24 : COPY . . 09:18:25 ---> 097898d8f87d 09:18:25 Step 9/24 : RUN ${MAKE} 09:18:25 ---> Running in 933927048b77 09:18:26 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 09:18:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.006s coverage: 9.4% of statements 09:18:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.9% of statements 09:18:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:18:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.047s coverage: 37.0% of statements 09:18:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:18:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.081s coverage: 65.4% of statements 09:18:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:18:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:18:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:18:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements 09:18:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.114s coverage: 68.9% of statements 09:18:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:18:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:18:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:18:45 gofmt -l . 09:18:45 [ "`gofmt -l .`" = "" ] 09:18:45 ./bin/test-attribution-txt.sh 09:18:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:18:47 Warning: overwriting stash ‘coverage-report’ 09:18:47 Stashed 1 file(s) [Pipeline] } 09:18:47 $ docker stop --time=1 3e4aec96d225078f43b00c5a543dcc2e86ffeb1b6e44a60f5e4c4fd03046e038 09:18:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:18:49 $ docker rm -f 3e4aec96d225078f43b00c5a543dcc2e86ffeb1b6e44a60f5e4c4fd03046e038 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:18:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:18:50 + ls -al . 09:18:50 total 188 09:18:50 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 10 09:18 . 09:18:50 drwxrwxr-x. 4 jenkins jenkins 28 Sep 10 09:16 .. 09:18:50 drwxrwxr-x. 2 jenkins jenkins 64 Sep 10 09:16 bin 09:18:50 -rw-r--r--. 1 jenkins jenkins 110898 Sep 10 09:18 coverage.out 09:18:50 -rw-rw-r--. 1 jenkins jenkins 936 Sep 10 09:16 Dockerfile.build 09:18:50 -rw-rw-r--. 1 jenkins jenkins 140 Sep 10 09:16 .dockerignore 09:18:50 drwxrwxr-x. 4 jenkins jenkins 48 Sep 10 09:16 example 09:18:50 drwxrwxr-x. 8 jenkins jenkins 179 Sep 10 09:16 .git 09:18:50 drwxrwxr-x. 2 jenkins jenkins 60 Sep 10 09:16 .github 09:18:50 -rw-rw-r--. 1 jenkins jenkins 138 Sep 10 09:16 .gitignore 09:18:50 -rw-r--r--. 1 jenkins jenkins 446 Sep 10 09:18 go.mod 09:18:50 -rw-r--r--. 1 jenkins jenkins 12179 Sep 10 09:18 go.sum 09:18:50 drwxrwxr-x. 13 jenkins jenkins 184 Sep 10 09:16 internal 09:18:50 -rw-rw-r--. 1 jenkins jenkins 808 Sep 10 09:16 Jenkinsfile 09:18:50 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 10 09:16 LICENSE 09:18:50 -rw-rw-r--. 1 jenkins jenkins 892 Sep 10 09:16 Makefile 09:18:50 drwxrwxr-x. 4 jenkins jenkins 26 Sep 10 09:16 openapi 09:18:50 drwxrwxr-x. 5 jenkins jenkins 50 Sep 10 09:16 pkg 09:18:50 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 10 09:16 README.md 09:18:50 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 10 09:16 RELEASE-NOTES.txt 09:18:50 drwxrwxr-x. 3 jenkins jenkins 58 Sep 10 09:16 .semver 09:18:50 drwxrwxr-x. 4 jenkins jenkins 54 Sep 10 09:16 snap 09:18:50 -rw-rw-r--. 1 jenkins jenkins 5 Sep 10 09:13 VERSION 09:18:50 -rw-rw-r--. 1 jenkins jenkins 222 Sep 10 09:16 version.go [Pipeline] isUnix [Pipeline] sh 09:18:50 + 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=af5de07fbca8008184ecf07d9ae563f724de5245 --label arch=amd64 --label version=0.0.0 . 09:18:51 Sending build context to Docker daemon 3.25MB 09:18:51 Step 1/24 : ARG BASE=golang:1.13-alpine 09:18:51 Step 2/24 : FROM ${BASE} AS builder 09:18:51 ---> 69d448b84220 09:18:51 Step 3/24 : ARG MAKE='make build' 09:18:51 Removing intermediate container 933927048b77 09:18:51 ---> 0e2a63478f84 09:18:51 Step 10/24 : FROM scratch 09:18:51 ---> 09:18:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:18:51 ---> Running in 935c4f01a22a 09:18:51 ---> Running in 17667f3eded5 09:18:51 Removing intermediate container 935c4f01a22a 09:18:51 ---> 4e449ea55930 09:18:51 Step 4/24 : WORKDIR /device-sdk-go 09:18:51 ---> Running in 7de42fd66a03 09:18:52 Removing intermediate container 17667f3eded5 09:18:52 ---> 38ae2b13ad14 09:18:52 Step 12/24 : ENV APP_PORT=49990 09:18:52 Removing intermediate container 7de42fd66a03 09:18:52 ---> fec763c02127 09:18:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:18:52 ---> Running in 1ca780d2f281 09:18:52 ---> Running in df8c8fb86d2b 09:18:52 Removing intermediate container df8c8fb86d2b 09:18:52 ---> a085f0f69b81 09:18:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:18:52 Removing intermediate container 1ca780d2f281 09:18:52 ---> e9fea122f0e0 09:18:52 Step 13/24 : EXPOSE $APP_PORT 09:18:52 ---> Running in c64d21582e80 09:18:52 ---> Running in d73e1761d8d5 09:18:53 Removing intermediate container d73e1761d8d5 09:18:53 ---> f585d9e27306 09:18:53 Step 14/24 : WORKDIR / 09:18:53 ---> Running in 7e5a3dc583ad 09:18:53 Removing intermediate container 7e5a3dc583ad 09:18:53 ---> 77685dd2f3e3 09:18:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:18:54 Removing intermediate container c64d21582e80 09:18:54 ---> b0bacec5d7d9 09:18:54 Step 7/24 : RUN apk add --update --no-cache make git 09:18:54 ---> Running in 0a6cf283c1d1 09:18:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:18:55 ---> d69a454dd132 09:18:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:18:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:18:55 ---> 81a8b71c2033 09:18:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:18:55 OK: 166 MiB in 39 packages 09:18:56 Removing intermediate container 0a6cf283c1d1 09:18:56 ---> 613bfc1e5c83 09:18:56 Step 8/24 : COPY . . 09:18:56 ---> 7853d1702a03 09:18:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:18:57 ---> 5f46925f0da8 09:18:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:18:57 ---> 621970600e48 09:18:57 Step 9/24 : RUN ${MAKE} 09:18:57 ---> Running in 05c21dddb02c 09:18:57 ---> ca2b50771ab2 09:18:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:18:57 ---> Running in da1fec5ee5e5 09:18:58 Removing intermediate container da1fec5ee5e5 09:18:58 ---> d66de7feba84 09:18:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:18: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 09:18:58 ---> Running in d27190d4d4d5 09:18:58 Removing intermediate container d27190d4d4d5 09:18:58 ---> 18ebf1907967 09:18:58 Step 22/24 : LABEL arch=arm64 09:18:58 ---> Running in 73722fbce53b 09:18:59 Removing intermediate container 73722fbce53b 09:18:59 ---> 9b734e1f19fc 09:18:59 Step 23/24 : LABEL git_sha=af5de07fbca8008184ecf07d9ae563f724de5245 09:18:59 ---> Running in 40035b5ce5ce 09:18:59 Removing intermediate container 40035b5ce5ce 09:18:59 ---> 9d952965e748 09:18:59 Step 24/24 : LABEL version=0.0.0 09:19:00 ---> Running in 0f1902ca060c 09:19:00 Removing intermediate container 0f1902ca060c 09:19:00 ---> 1159fd2706e0 09:19:00 [Warning] One or more build-args [ARCH] were not consumed 09:19:00 Successfully built 1159fd2706e0 09:19:00 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] } 09:19:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:19:11 Removing intermediate container 05c21dddb02c 09:19:11 ---> a95b3f85b4c5 09:19:11 Step 10/24 : FROM scratch 09:19:11 ---> 09:19:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:11 ---> Running in d8d42f23c446 09:19:11 Removing intermediate container d8d42f23c446 09:19:11 ---> 9aad67dbd631 09:19:11 Step 12/24 : ENV APP_PORT=49990 09:19:11 ---> Running in 7405578e298a 09:19:11 Removing intermediate container 7405578e298a 09:19:11 ---> bd4ab07a8382 09:19:11 Step 13/24 : EXPOSE $APP_PORT 09:19:11 ---> Running in 66c3bdbdf3e4 09:19:12 Removing intermediate container 66c3bdbdf3e4 09:19:12 ---> 20d8a12c7e6d 09:19:12 Step 14/24 : WORKDIR / 09:19:12 ---> Running in a01796f5bd91 09:19:12 Removing intermediate container a01796f5bd91 09:19:12 ---> 0773cb25b161 09:19:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:19:13 ---> 472fa10f3155 09:19:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:19:13 ---> 5eec0dc82ae3 09:19:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:19:13 ---> 10bcc3a5f995 09:19:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:19:14 ---> b7b50e044e19 09:19:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:19:14 ---> d638f82cd5ab 09:19:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:19:14 ---> Running in 5c03606d51d2 09:19:15 Removing intermediate container 5c03606d51d2 09:19:15 ---> fbb5cb31c3f2 09:19:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:19:15 ---> Running in c7f00cec3d02 09:19:15 Removing intermediate container c7f00cec3d02 09:19:15 ---> b366b0a34d66 09:19:15 Step 22/24 : LABEL arch=amd64 09:19:15 ---> Running in 3ea662363fbd 09:19:16 Removing intermediate container 3ea662363fbd 09:19:16 ---> 6f5d36d7d409 09:19:16 Step 23/24 : LABEL git_sha=af5de07fbca8008184ecf07d9ae563f724de5245 09:19:16 ---> Running in 7ac363db1808 09:19:16 Removing intermediate container 7ac363db1808 09:19:16 ---> afa86d89880f 09:19:16 Step 24/24 : LABEL version=0.0.0 09:19:16 ---> Running in 53e7bf88e36b 09:19:16 Removing intermediate container 53e7bf88e36b 09:19:16 ---> e800d21988fc 09:19:16 [Warning] One or more build-args [ARCH] were not consumed 09:19:16 Successfully built e800d21988fc 09:19:16 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:19:18 provisioning config files... 09:19:18 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5866335389049067823tmp [Pipeline] { [Pipeline] sh 09:19:18 + curl -s https://codecov.io/bash 09:19:18 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5866335389049067823tmp [Pipeline] } 09:19:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:19:21 ---> package-listing.sh 09:19:21 ++ facter osfamily 09:19:21 ++ tr '[:upper:]' '[:lower:]' 09:19:21 + OS_FAMILY=redhat 09:19:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 09:19:21 + START_PACKAGES=/tmp/packages_start.txt 09:19:21 + END_PACKAGES=/tmp/packages_end.txt 09:19:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:19:21 + PACKAGES=/tmp/packages_start.txt 09:19:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 09:19:21 + PACKAGES=/tmp/packages_end.txt 09:19:21 + case "${OS_FAMILY}" in 09:19:21 + rpm -qa 09:19:21 + sort 09:19:25 + '[' -f /tmp/packages_start.txt ']' 09:19:25 + '[' -f /tmp/packages_end.txt ']' 09:19:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:19:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 09:19:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 09:19:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 09:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:19:26 09:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:19:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:19:26 alpine: Pulling from edgex-lftools-log-publisher 09:19:26 df20fa9351a1: Pulling fs layer 09:19:26 36b3adc4ff6f: Pulling fs layer 09:19:26 8ad3a11d3b57: Pulling fs layer 09:19:26 46f8f816bc3b: Pulling fs layer 09:19:26 0dadc02b9964: Pulling fs layer 09:19:26 ce6a7cf60c04: Pulling fs layer 09:19:26 7a184a31f384: Pulling fs layer 09:19:26 0879bd2ef858: Pulling fs layer 09:19:26 0dadc02b9964: Waiting 09:19:26 ce6a7cf60c04: Waiting 09:19:26 7a184a31f384: Waiting 09:19:26 0879bd2ef858: Waiting 09:19:26 46f8f816bc3b: Waiting 09:19:26 36b3adc4ff6f: Verifying Checksum 09:19:26 36b3adc4ff6f: Download complete 09:19:26 46f8f816bc3b: Verifying Checksum 09:19:26 46f8f816bc3b: Download complete 09:19:26 0dadc02b9964: Verifying Checksum 09:19:26 0dadc02b9964: Download complete 09:19:26 ce6a7cf60c04: Verifying Checksum 09:19:26 ce6a7cf60c04: Download complete 09:19:26 7a184a31f384: Download complete 09:19:26 df20fa9351a1: Verifying Checksum 09:19:26 df20fa9351a1: Download complete 09:19:26 8ad3a11d3b57: Verifying Checksum 09:19:26 8ad3a11d3b57: Download complete 09:19:27 df20fa9351a1: Pull complete 09:19:27 0879bd2ef858: Verifying Checksum 09:19:27 0879bd2ef858: Download complete 09:19:27 36b3adc4ff6f: Pull complete 09:19:27 8ad3a11d3b57: Pull complete 09:19:27 46f8f816bc3b: Pull complete 09:19:28 0dadc02b9964: Pull complete 09:19:28 ce6a7cf60c04: Pull complete 09:19:28 7a184a31f384: Pull complete 09:19:31 0879bd2ef858: Pull complete 09:19:31 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:19:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:19:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:19:31 prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container 09:19:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:19:37 $ docker top cfef98ea2e6258d1e61875ee17285dda42f143a8655ae8e6a3d07b97bda46811 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:37 + mkdir -p /var/log/sa [Pipeline] sh 09:19:37 + ls /var/log/sa-host 09:19:37 + sadf -c /var/log/sa-host/sa05 09:19:37 file_magic: OK 09:19:37 HZ: Using current value: 100 09:19:37 file_header: OK 09:19:37 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 09:19:37 Statistics: 09:19:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:19:37 File successfully converted to sysstat format version 12.2.1 09:19:37 + sadf -c /var/log/sa-host/sa10 09:19:37 file_magic: OK 09:19:37 HZ: Using current value: 100 09:19:37 file_header: OK 09:19:37 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 09:19:37 Statistics: 09:19:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:19:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:19:37 provisioning config files... 09:19:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config3939878091121418213tmp [Pipeline] { [Pipeline] echo 09:19:38 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:19:38 ---> create-netrc.sh [Pipeline] echo 09:19:38 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:19:38 ---> logs-deploy.sh 09:19:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/9 09:19:38 INFO: archiving workspace using pattern(s): 09:19:39 Archives upload complete. 09:19:39 INFO: archiving logs to Nexus