Pull request #581 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 107732b5ec6c8d3faa6227352d358d3729135519+4000e27a9f725d20d01bd2b86b2182ef891199d8 (2d7a53609fcf505f9c50bff8a247a083d8055ebb) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-581/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1893’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1895 in /w/workspace/dgexfoundry_device-sdk-go_PR-581 [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-581 # 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/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 107732b5ec6c8d3faa6227352d358d3729135519 Merge succeeded, producing 107732b5ec6c8d3faa6227352d358d3729135519 Checking out Revision 107732b5ec6c8d3faa6227352d358d3729135519 (PR-581) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/581/head:refs/remotes/origin/PR-581 # 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/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # 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 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:33:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:33:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:33:42 ========================================================= 03:33:42 EdgeX Global Pipelines Version Info 03:33:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:33:44 ------------------- 03:33:44 stable info: 03:33:44 ------------------- 03:33:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:33:44 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 03:33:44 Message: update stable to v1.0.119 03:33:45 ------------------- 03:33:45 experimental info: 03:33:45 ------------------- 03:33:45 Commited By: **** collab-it+edgex@linuxfoundation.org 03:33:45 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 03:33:45 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:33:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:33:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:33:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:33:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:33:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 107732b5ec6c8d3faa6227352d358d3729135519 [Pipeline] echo 03:33:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 107732b [Pipeline] echo 03:33:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:49 + git log --format=format:%s -1 107732b5ec6c8d3faa6227352d358d3729135519 [Pipeline] echo 03:33:49 GIT_COMMIT: 107732b5ec6c8d3faa6227352d358d3729135519, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo 03:33:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:33:50 03:33:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:33:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:33:51 latest: Pulling from edgex-devops/git-semver 03:33:51 31603596830f: Pulling fs layer 03:33:51 2a8b12db71e7: Pulling fs layer 03:33:51 6ca5941a6612: Pulling fs layer 03:33:51 ecc8261a40a4: Pulling fs layer 03:33:51 ecc8261a40a4: Waiting 03:33:51 2a8b12db71e7: Verifying Checksum 03:33:51 2a8b12db71e7: Download complete 03:33:51 31603596830f: Download complete 03:33:51 6ca5941a6612: Verifying Checksum 03:33:51 6ca5941a6612: Download complete 03:33:51 ecc8261a40a4: Verifying Checksum 03:33:51 ecc8261a40a4: Download complete 03:33:51 31603596830f: Pull complete 03:33:51 2a8b12db71e7: Pull complete 03:33:52 6ca5941a6612: Pull complete 03:33:52 ecc8261a40a4: Pull complete 03:33:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:33:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:33:52 prd-centos7-docker-4c-2g-1895 does not seem to be running inside a container 03:33:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-581 -v /w/workspace/dgexfoundry_device-sdk-go_PR-581:/w/workspace/dgexfoundry_device-sdk-go_PR-581:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-581@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:33:55 $ docker top 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:33:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:55 [ssh-agent] Looking for ssh-agent implementation... 03:33:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:55 $ docker exec 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent 03:33:55 SSH_AUTH_SOCK=/tmp/ssh-E2IHRTmuC2kM/agent.13 03:33:55 SSH_AGENT_PID=18 03:33:55 Running ssh-add (command line suppressed) 03:33:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/private_key_7387739002208988103.key (/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/private_key_7387739002208988103.key) 03:33:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:56 + git describe --exact-match --tags HEAD 03:33:56 fatal: No names found, cannot describe anything. [Pipeline] } 03:33:56 $ docker exec --env ******** --env ******** 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent -k 03:33:56 unset SSH_AUTH_SOCK; 03:33:56 unset SSH_AGENT_PID; 03:33:56 echo Agent pid 18 killed; 03:33:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:33:56 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:33:56 This usually means this commit has not been tagged. [Pipeline] sshagent 03:33:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:57 [ssh-agent] Looking for ssh-agent implementation... 03:33:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:57 $ docker exec 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent 03:33:57 SSH_AUTH_SOCK=/tmp/ssh-EzBXsMqC5YuE/agent.47 03:33:57 SSH_AGENT_PID=52 03:33:57 Running ssh-add (command line suppressed) 03:33:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/private_key_1083943361993235964.key (/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/private_key_1083943361993235964.key) 03:33:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:57 + git semver init 03:33:57 # -> Open(): unable to determine branch for HEAD 03:33:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-581/.git 03:33:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-581 03:33:57 # $SEMVER_REMOTE_NAME = origin 03:33:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:33:57 # $SEMVER_USER_NAME = edgex-jenkins 03:33:57 # $SEMVER_BRANCH = PR-581 03:33:57 # $SEMVER_TEMP = /tmp/semver-618522356 03:33:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:33:58 # '/tmp/semver-618522356' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-581/.semver' 03:33:58 # -> Force: false 03:33:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-581/.semver [Pipeline] } 03:33:58 $ docker exec --env ******** --env ******** 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent -k 03:33:58 unset SSH_AUTH_SOCK; 03:33:58 unset SSH_AGENT_PID; 03:33:58 echo Agent pid 52 killed; 03:33:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:33:59 + git semver [Pipeline] } 03:33:59 $ docker stop --time=1 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 03:34:00 $ docker rm -f 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:34:01 Stashed 32 file(s) [Pipeline] echo 03:34:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 03:34:01 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 03:34:17 Still waiting to schedule task 03:34:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:34:17 Still waiting to schedule task 03:34:17 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1896’ is offline 03:36:22 Running on prd-centos7-docker-4c-2g-1905 in /w/workspace/dgexfoundry_device-sdk-go_PR-581 [Pipeline] { [Pipeline] ws 03:36:22 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:36:25 using credential edgex-jenkins-ssh 03:36:25 Cloning the remote Git repository 03:36:25 Cloning with configured refspecs honoured and without tags 03:36:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:36:25 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:36:26 Fetching without tags 03:36:27 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 107732b5ec6c8d3faa6227352d358d3729135519 03:36:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:36:26 > git --version # timeout=10 03:36:26 > git --version # 'git version 2.16.5' 03:36:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:36:26 > git config --add remote.origin.fetch +refs/pull/581/head:refs/remotes/origin/PR-581 # timeout=10 03:36:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:36:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:36:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:27 Merge succeeded, producing 107732b5ec6c8d3faa6227352d358d3729135519 03:36:27 Checking out Revision 107732b5ec6c8d3faa6227352d358d3729135519 (PR-581) 03:36:27 > git config core.sparsecheckout # timeout=10 03:36:27 > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 03:36:27 > git remote # timeout=10 03:36:27 > git config --get remote.origin.url # timeout=10 03:36:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:27 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 03:36:27 > git rev-parse HEAD^{commit} # timeout=10 03:36:27 > git config core.sparsecheckout # timeout=10 03:36:27 > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 03:36:31 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" 03:36:31 > git --version # timeout=10 03:36:31 > git --version # 'git version 2.16.5' 03:36:31 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:36:32 ========================================================= 03:36:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:36:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:36:33 + 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 . 03:36:33 Sending build context to Docker daemon 3.141MB 03:36:33 Step 1/8 : ARG BASE=golang:1.13-alpine 03:36:33 Step 2/8 : FROM ${BASE} 03:36:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:36:34 df20fa9351a1: Pulling fs layer 03:36:34 ed8968b2872e: Pulling fs layer 03:36:34 a92cc7c5fd73: Pulling fs layer 03:36:34 2dd03ba5bac4: Pulling fs layer 03:36:34 1e091d79d1de: Pulling fs layer 03:36:34 481702a1767f: Pulling fs layer 03:36:34 f64a6f60c768: Pulling fs layer 03:36:34 e78d2573fc39: Pulling fs layer 03:36:34 e876d2f968b6: Pulling fs layer 03:36:34 ce8a83651883: Pulling fs layer 03:36:34 07967f4d0e4b: Pulling fs layer 03:36:34 f64a6f60c768: Waiting 03:36:34 e78d2573fc39: Waiting 03:36:34 e876d2f968b6: Waiting 03:36:34 ce8a83651883: Waiting 03:36:34 07967f4d0e4b: Waiting 03:36:34 2dd03ba5bac4: Waiting 03:36:34 1e091d79d1de: Waiting 03:36:34 481702a1767f: Waiting 03:36:34 a92cc7c5fd73: Download complete 03:36:34 ed8968b2872e: Verifying Checksum 03:36:34 ed8968b2872e: Download complete 03:36:34 1e091d79d1de: Verifying Checksum 03:36:34 1e091d79d1de: Download complete 03:36:34 481702a1767f: Verifying Checksum 03:36:34 481702a1767f: Download complete 03:36:34 df20fa9351a1: Verifying Checksum 03:36:34 df20fa9351a1: Pull complete 03:36:34 ed8968b2872e: Pull complete 03:36:34 a92cc7c5fd73: Pull complete 03:36:40 f64a6f60c768: Verifying Checksum 03:36:40 f64a6f60c768: Download complete 03:36:40 e876d2f968b6: Verifying Checksum 03:36:40 e876d2f968b6: Download complete 03:36:42 2dd03ba5bac4: Verifying Checksum 03:36:42 2dd03ba5bac4: Download complete 03:36:42 e78d2573fc39: Verifying Checksum 03:36:42 e78d2573fc39: Download complete 03:36:42 07967f4d0e4b: Verifying Checksum 03:36:42 07967f4d0e4b: Download complete 03:36:42 ce8a83651883: Verifying Checksum 03:36:42 ce8a83651883: Download complete 03:36:48 2dd03ba5bac4: Pull complete 03:36:48 1e091d79d1de: Pull complete 03:36:48 481702a1767f: Pull complete 03:36:52 f64a6f60c768: Pull complete 03:36:55 e78d2573fc39: Pull complete 03:36:55 e876d2f968b6: Pull complete 03:36:56 ce8a83651883: Pull complete 03:36:57 07967f4d0e4b: Pull complete 03:36:57 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:36:57 ---> 5d7c900382c6 03:36:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:36:58 ---> Running in 5bed501e1164 03:36:58 Removing intermediate container 5bed501e1164 03:36:58 ---> 7ea6a77935bb 03:36:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:36:59 ---> Running in ab93e26c90d1 03:36:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1903 in /w/workspace/dgexfoundry_device-sdk-go_PR-581 [Pipeline] { [Pipeline] ws 03:36:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:37:00 Removing intermediate container ab93e26c90d1 03:37:00 ---> b54048ea965c 03:37:00 Step 5/8 : RUN apk add --no-cache make git 03:37:00 ---> Running in c8d3188283c7 03:37:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:37:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:37:02 OK: 166 MiB in 39 packages 03:37:02 Removing intermediate container c8d3188283c7 03:37:02 ---> ff698068eeb6 03:37:02 Step 6/8 : WORKDIR /device-sdk-go 03:37:02 ---> Running in 377f97fa4a90 03:37:02 Removing intermediate container 377f97fa4a90 03:37:02 ---> b77defc88cc8 03:37:02 Step 7/8 : COPY . . 03:37:04 ---> 51e9915a1f7e 03:37:04 Step 8/8 : RUN go mod download 03:37:04 ---> Running in 1a843d02ea0d 03:37:05 using credential edgex-jenkins-ssh 03:37:05 Cloning the remote Git repository 03:37:05 Cloning with configured refspecs honoured and without tags 03:37:06 go: finding github.com/BurntSushi/toml v0.3.1 03:37:06 go: finding github.com/OneOfOne/xxhash v1.2.6 03:37:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:37:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:37:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:37:06 go: finding github.com/bgentry/speakeasy v0.1.0 03:37:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:37:06 go: finding github.com/davecgh/go-spew v1.1.1 03:37:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 03:37:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:37:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:37:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 03:37:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:37:06 go: finding github.com/fatih/color v1.7.0 03:37:06 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:37:06 go: finding github.com/go-kit/kit v0.8.0 03:37:06 go: finding github.com/go-logfmt/logfmt v0.4.0 03:37:06 go: finding github.com/go-stack/stack v1.8.0 03:37:06 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:37:06 go: finding github.com/google/uuid v1.1.0 03:37:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:37:05 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:37:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:37:05 > git --version # timeout=10 03:37:05 > git --version # 'git version 2.17.1' 03:37:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:06 go: finding github.com/gorilla/mux v1.7.1 03:37:06 go: finding github.com/hashicorp/consul/api v1.1.0 03:37:06 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:37:06 go: finding github.com/hashicorp/errwrap v1.0.0 03:37:06 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:37:06 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:37:06 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:37:06 go: finding github.com/hashicorp/go-multierror v1.0.0 03:37:06 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:37:06 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:37:06 go: finding github.com/hashicorp/go-syslog v1.0.0 03:37:06 go: finding github.com/hashicorp/go-uuid v1.0.1 03:37:06 go: finding github.com/hashicorp/go.net v0.0.1 03:37:06 go: finding github.com/hashicorp/golang-lru v0.5.0 03:37:06 go: finding github.com/hashicorp/logutils v1.0.0 03:37:06 go: finding github.com/hashicorp/mdns v1.0.0 03:37:06 go: finding github.com/hashicorp/memberlist v0.1.3 03:37:06 go: finding github.com/hashicorp/serf v0.8.2 03:37:06 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:37:06 go: finding github.com/mattn/go-colorable v0.0.9 03:37:06 go: finding github.com/mattn/go-isatty v0.0.3 03:37:06 go: finding github.com/miekg/dns v1.0.14 03:37:06 go: finding github.com/mitchellh/cli v1.0.0 03:37:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:37:06 Fetching without tags 03:37:07 go: finding github.com/mitchellh/copystructure v1.0.0 03:37:07 go: finding github.com/mitchellh/go-homedir v1.0.0 03:37:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:37:07 go: finding github.com/mitchellh/gox v0.4.0 03:37:07 go: finding github.com/mitchellh/iochan v1.0.0 03:37:07 go: finding github.com/mitchellh/mapstructure v1.1.2 03:37:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:37:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:37:07 go: finding github.com/pelletier/go-toml v1.2.0 03:37:07 go: finding github.com/pkg/errors v0.8.1 03:37:07 go: finding github.com/pmezard/go-difflib v1.0.0 03:37:07 go: finding github.com/posener/complete v1.1.1 03:37:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:37:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:37:07 go: finding github.com/stretchr/objx v0.1.0 03:37:07 go: finding github.com/stretchr/testify v1.5.1 03:37:07 go: finding github.com/ugorji/go v1.1.4 03:37:07 go: finding github.com/x448/float16 v0.8.4 03:37:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:37:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:37:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:37:07 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 107732b5ec6c8d3faa6227352d358d3729135519 03:37:07 Merge succeeded, producing 107732b5ec6c8d3faa6227352d358d3729135519 03:37:07 Checking out Revision 107732b5ec6c8d3faa6227352d358d3729135519 (PR-581) 03:37:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:37:06 > git config --add remote.origin.fetch +refs/pull/581/head:refs/remotes/origin/PR-581 # timeout=10 03:37:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:37:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:37:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:07 > git config core.sparsecheckout # timeout=10 03:37:07 > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 03:37:07 > git remote # timeout=10 03:37:07 > git config --get remote.origin.url # timeout=10 03:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:07 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 03:37:07 > git rev-parse HEAD^{commit} # timeout=10 03:37:07 > git config core.sparsecheckout # timeout=10 03:37:07 > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 03:37:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:37:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:37:07 go: finding gopkg.in/yaml.v2 v2.2.8 03:37:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" 03:37:11 > git --version # timeout=10 03:37:11 > git --version # 'git version 2.17.1' 03:37:11 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:37:13 ========================================================= 03:37:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:37:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:37:14 + 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 . 03:37:15 Sending build context to Docker daemon 3.139MB 03:37:15 Step 1/8 : ARG BASE=golang:1.13-alpine 03:37:15 Step 2/8 : FROM ${BASE} 03:37:15 Removing intermediate container 1a843d02ea0d 03:37:15 ---> 363ab1a54f91 03:37:15 Successfully built 363ab1a54f91 03:37:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 03:37:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:37:15 b538f80385f9: Pulling fs layer 03:37:15 74f711af9a0d: Pulling fs layer 03:37:15 99f96fe45779: Pulling fs layer 03:37:15 fd7a069fd194: Pulling fs layer 03:37:15 66aa3694b03b: Pulling fs layer 03:37:15 170f70906a0f: Pulling fs layer 03:37:15 ad7c5574e4b9: Pulling fs layer 03:37:15 e772456be8f7: Pulling fs layer 03:37:15 c890913d741a: Pulling fs layer 03:37:15 2480fcc9aa5a: Pulling fs layer 03:37:15 09adf4765672: Pulling fs layer 03:37:15 66aa3694b03b: Waiting 03:37:15 170f70906a0f: Waiting 03:37:15 ad7c5574e4b9: Waiting 03:37:15 e772456be8f7: Waiting 03:37:15 c890913d741a: Waiting 03:37:15 2480fcc9aa5a: Waiting 03:37:15 09adf4765672: Waiting 03:37:15 fd7a069fd194: Waiting 03:37:15 99f96fe45779: Verifying Checksum 03:37:15 99f96fe45779: Download complete 03:37:15 74f711af9a0d: Verifying Checksum 03:37:15 74f711af9a0d: Download complete 03:37:15 66aa3694b03b: Download complete 03:37:15 170f70906a0f: Verifying Checksum 03:37:15 170f70906a0f: Download complete 03:37:15 b538f80385f9: Verifying Checksum [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:37:16 + docker inspect -f . ci-base-image-x86_64 03:37:16 . [Pipeline] withDockerContainer 03:37:16 prd-centos7-docker-4c-2g-1905 does not seem to be running inside a container 03:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 03:37:16 b538f80385f9: Pull complete 03:37:17 74f711af9a0d: Pull complete 03:37:18 $ docker top eb42358bfceb109b8b0784211246a4021a44c0394c45a36f73f6e14814a0945f -eo pid,comm 03:37:18 99f96fe45779: Pull complete [Pipeline] { [Pipeline] sh 03:37:18 + go version 03:37:18 go version go1.13.13 linux/amd64 [Pipeline] sh 03:37:18 ad7c5574e4b9: Download complete 03:37:18 + make test 03:37:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:37:19 c890913d741a: Verifying Checksum 03:37:19 c890913d741a: Download complete 03:37:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:37:22 2480fcc9aa5a: Verifying Checksum 03:37:22 2480fcc9aa5a: Download complete 03:37:22 09adf4765672: Verifying Checksum 03:37:22 09adf4765672: Download complete 03:37:22 e772456be8f7: Verifying Checksum 03:37:22 e772456be8f7: Download complete 03:37:22 fd7a069fd194: Verifying Checksum 03:37:22 fd7a069fd194: Download complete 03:37:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:37:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:37:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:37:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 21.0% of statements 03:37:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.7% of statements 03:37:35 fd7a069fd194: Pull complete 03:37:35 66aa3694b03b: Pull complete 03:37:35 170f70906a0f: Pull complete 03:37:38 ad7c5574e4b9: Pull complete 03:37:43 e772456be8f7: Pull complete 03:37:43 c890913d741a: Pull complete 03:37:46 2480fcc9aa5a: Pull complete 03:37:46 09adf4765672: Pull complete 03:37:46 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:37:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:37:46 ---> 2248a725d1cf 03:37:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:37:50 ---> Running in 09e2c0072a90 03:37:50 Removing intermediate container 09e2c0072a90 03:37:50 ---> 821dbe451508 03:37:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:37:50 ---> Running in c22acbbd15f0 03:37:53 Removing intermediate container c22acbbd15f0 03:37:53 ---> 40a772f29c62 03:37:53 Step 5/8 : RUN apk add --no-cache make git 03:37:53 ---> Running in 56531489d801 03:37:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:37:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:37:56 OK: 142 MiB in 39 packages 03:37:57 Removing intermediate container 56531489d801 03:37:57 ---> 0deed82adb8c 03:37:57 Step 6/8 : WORKDIR /device-sdk-go 03:37:58 ---> Running in fa74dd549b69 03:37:58 Removing intermediate container fa74dd549b69 03:37:58 ---> b26c38259dd2 03:37:58 Step 7/8 : COPY . . 03:38:00 ---> 7fcbc70da3df 03:38:00 Step 8/8 : RUN go mod download 03:38:00 ---> Running in 7bbf37cf88f8 03:38:02 go: finding github.com/BurntSushi/toml v0.3.1 03:38:02 go: finding github.com/OneOfOne/xxhash v1.2.6 03:38:02 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:38:02 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:38:02 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:38:02 go: finding github.com/bgentry/speakeasy v0.1.0 03:38:02 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:38:02 go: finding github.com/davecgh/go-spew v1.1.1 03:38:02 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 03:38:02 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:38:02 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:38:02 go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 03:38:03 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:38:03 go: finding github.com/fatih/color v1.7.0 03:38:03 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:38:03 go: finding github.com/go-kit/kit v0.8.0 03:38:03 go: finding github.com/go-logfmt/logfmt v0.4.0 03:38:03 go: finding github.com/go-stack/stack v1.8.0 03:38:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:38:03 go: finding github.com/google/uuid v1.1.0 03:38:03 go: finding github.com/gorilla/mux v1.7.1 03:38:03 go: finding github.com/hashicorp/consul/api v1.1.0 03:38:03 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:38:03 go: finding github.com/hashicorp/errwrap v1.0.0 03:38:03 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:38:03 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:38:03 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:38:03 go: finding github.com/hashicorp/go-multierror v1.0.0 03:38:03 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:38:03 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:38:03 go: finding github.com/hashicorp/go-syslog v1.0.0 03:38:03 go: finding github.com/hashicorp/go-uuid v1.0.1 03:38:03 go: finding github.com/hashicorp/go.net v0.0.1 03:38:03 go: finding github.com/hashicorp/golang-lru v0.5.0 03:38:03 go: finding github.com/hashicorp/logutils v1.0.0 03:38:03 go: finding github.com/hashicorp/mdns v1.0.0 03:38:03 go: finding github.com/hashicorp/memberlist v0.1.3 03:38:03 go: finding github.com/hashicorp/serf v0.8.2 03:38:03 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:38:03 go: finding github.com/mattn/go-colorable v0.0.9 03:38:03 go: finding github.com/mattn/go-isatty v0.0.3 03:38:03 go: finding github.com/miekg/dns v1.0.14 03:38:03 go: finding github.com/mitchellh/cli v1.0.0 03:38:03 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:38:03 go: finding github.com/mitchellh/copystructure v1.0.0 03:38:03 go: finding github.com/mitchellh/go-homedir v1.0.0 03:38:03 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:38:03 go: finding github.com/mitchellh/gox v0.4.0 03:38:03 go: finding github.com/mitchellh/iochan v1.0.0 03:38:03 go: finding github.com/mitchellh/mapstructure v1.1.2 03:38:03 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:38:03 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:38:03 go: finding github.com/pelletier/go-toml v1.2.0 03:38:03 go: finding github.com/pkg/errors v0.8.1 03:38:03 go: finding github.com/pmezard/go-difflib v1.0.0 03:38:03 go: finding github.com/posener/complete v1.1.1 03:38:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 8.6% of statements 03:38:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 21.7% of statements 03:38:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:38:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.023s coverage: 37.0% of statements 03:38:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:38:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.043s coverage: 65.4% of statements 03:38:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:38:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:38:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:38:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements 03:38:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.112s coverage: 68.9% of statements 03:38:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:38:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:38:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:38:04 gofmt -l . 03:38:04 [ "`gofmt -l .`" = "" ] 03:38:04 ./bin/test-attribution-txt.sh 03:38:04 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:38:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:38:04 go: finding github.com/stretchr/objx v0.1.0 03:38:04 go: finding github.com/stretchr/testify v1.5.1 03:38:04 go: finding github.com/ugorji/go v1.1.4 03:38:04 go: finding github.com/x448/float16 v0.8.4 03:38:04 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:38:04 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:38:04 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:38:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:38:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:38:04 go: finding gopkg.in/yaml.v2 v2.2.8 03:38:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:38:05 Stashed 1 file(s) [Pipeline] } 03:38:05 $ docker stop --time=1 eb42358bfceb109b8b0784211246a4021a44c0394c45a36f73f6e14814a0945f 03:38:07 $ docker rm -f eb42358bfceb109b8b0784211246a4021a44c0394c45a36f73f6e14814a0945f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:38:08 + ls -al . 03:38:08 total 188 03:38:08 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 03:38 . 03:38:08 drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 03:36 .. 03:38:08 drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 03:36 bin 03:38:08 -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 03:38 coverage.out 03:38:08 -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 03:36 Dockerfile.build 03:38:08 -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 03:36 .dockerignore 03:38:08 drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 03:36 example 03:38:08 drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 03:36 .git 03:38:08 drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 03:36 .github 03:38:08 -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 03:36 .gitignore 03:38:08 -rw-r--r--. 1 jenkins jenkins 446 Sep 9 03:38 go.mod 03:38:08 -rw-r--r--. 1 jenkins jenkins 12179 Sep 9 03:38 go.sum 03:38:08 drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 03:36 internal 03:38:08 -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 03:36 Jenkinsfile 03:38:08 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 03:36 LICENSE 03:38:08 -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 03:36 Makefile 03:38:08 drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 03:36 openapi 03:38:08 drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 03:36 pkg 03:38:08 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 03:36 README.md 03:38:08 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 03:36 RELEASE-NOTES.txt 03:38:08 drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 03:36 .semver 03:38:08 drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 03:36 snap 03:38:08 -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 03:34 VERSION 03:38:08 -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 03:36 version.go [Pipeline] isUnix [Pipeline] sh 03:38:09 + 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=107732b5ec6c8d3faa6227352d358d3729135519 --label arch=amd64 --label version=0.0.0 . 03:38:09 Sending build context to Docker daemon 3.255MB 03:38:09 Step 1/24 : ARG BASE=golang:1.13-alpine 03:38:09 Step 2/24 : FROM ${BASE} AS builder 03:38:09 ---> 363ab1a54f91 03:38:09 Step 3/24 : ARG MAKE='make build' 03:38:09 ---> Running in a7821b11e0fe 03:38:10 Removing intermediate container a7821b11e0fe 03:38:10 ---> 2ae54c8eb4f3 03:38:10 Step 4/24 : WORKDIR /device-sdk-go 03:38:10 ---> Running in 132df5267f80 03:38:10 Removing intermediate container 132df5267f80 03:38:10 ---> 8cb7c546bad9 03:38:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:38:10 ---> Running in 46f6dff9bb8f 03:38:10 Removing intermediate container 46f6dff9bb8f 03:38:10 ---> 4c37c091b742 03:38:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:10 ---> Running in 243dfa077d33 03:38:11 Removing intermediate container 243dfa077d33 03:38:11 ---> 2d8f578a5554 03:38:11 Step 7/24 : RUN apk add --update --no-cache make git 03:38:11 ---> Running in f5612b45ede8 03:38:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:38:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:38:14 Removing intermediate container 7bbf37cf88f8 03:38:14 ---> bc242d445c5c 03:38:14 Successfully built bc242d445c5c 03:38:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 03:38:15 OK: 166 MiB in 39 packages 03:38:15 Removing intermediate container f5612b45ede8 03:38:15 ---> 8c7c5d7246f4 03:38:15 Step 8/24 : COPY . . [Pipeline] sh 03:38:15 + docker inspect -f . ci-base-image-arm64 03:38:15 . [Pipeline] withDockerContainer 03:38:15 prd-ubuntu18.04-docker-arm64-4c-16g-1903 does not seem to be running inside a container 03:38:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 03:38:16 ---> 36c588cf9f66 03:38:16 Step 9/24 : RUN ${MAKE} 03:38:16 ---> Running in 41dab6891b4a 03:38:16 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 03:38:17 $ docker top 1f1d7f7347ef071a20f1e19c581c5ca3eef14bcbd29fe9692980b3aa886ee563 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:19 + go version 03:38:19 go version go1.13.13 linux/arm64 [Pipeline] sh 03:38:20 + make test 03:38:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:38:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:38:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:38:26 Removing intermediate container 41dab6891b4a 03:38:26 ---> 32d3b8eed744 03:38:26 Step 10/24 : FROM scratch 03:38:26 ---> 03:38:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:38:26 ---> Running in 3b34ae5667c4 03:38:26 Removing intermediate container 3b34ae5667c4 03:38:26 ---> bc28211b6274 03:38:26 Step 12/24 : ENV APP_PORT=49990 03:38:26 ---> Running in 9e46c51616ac 03:38:26 Removing intermediate container 9e46c51616ac 03:38:26 ---> 04d334d81c0d 03:38:26 Step 13/24 : EXPOSE $APP_PORT 03:38:26 ---> Running in e401c84ac386 03:38:26 Removing intermediate container e401c84ac386 03:38:26 ---> 00748b9fcdcb 03:38:26 Step 14/24 : WORKDIR / 03:38:26 ---> Running in 0eb6e19acca3 03:38:27 Removing intermediate container 0eb6e19acca3 03:38:27 ---> 2fa7a22c4967 03:38:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:38:27 ---> cf0eba2b80aa 03:38:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:38:27 ---> 81c9261752f7 03:38:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:38:28 ---> 83eb2fc9e696 03:38:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:38:28 ---> 5fd58980c089 03:38:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:38:28 ---> 708a485f208d 03:38:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:38:28 ---> Running in 0df0cfe9101e 03:38:28 Removing intermediate container 0df0cfe9101e 03:38:28 ---> 088a332ed32b 03:38:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:38:28 ---> Running in 97cb962c9e07 03:38:29 Removing intermediate container 97cb962c9e07 03:38:29 ---> 012e39e9340f 03:38:29 Step 22/24 : LABEL arch=amd64 03:38:29 ---> Running in 33f69cf4dc61 03:38:29 Removing intermediate container 33f69cf4dc61 03:38:29 ---> b9ee0c2df191 03:38:29 Step 23/24 : LABEL git_sha=107732b5ec6c8d3faa6227352d358d3729135519 03:38:29 ---> Running in fed7a28a2903 03:38:29 Removing intermediate container fed7a28a2903 03:38:29 ---> 39e649336f11 03:38:29 Step 24/24 : LABEL version=0.0.0 03:38:29 ---> Running in b7e6204cef24 03:38:29 Removing intermediate container b7e6204cef24 03:38:29 ---> 8c5ac7340a2c 03:38:29 [Warning] One or more build-args [ARCH] were not consumed 03:38:29 Successfully built 8c5ac7340a2c 03:38:29 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] } 03:38:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:38:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:38:53 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:38:53 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.0% of statements 03:38:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.240s coverage: 95.7% of statements 03:39:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 8.6% of statements 03:39:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 21.7% of statements 03:39:26 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:39:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.089s coverage: 37.0% of statements 03:39:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:39:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.137s coverage: 65.4% of statements 03:39:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:39:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:39:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:39:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 03:39:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.362s coverage: 68.9% of statements 03:39:26 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:39:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:39:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:39:29 gofmt -l . 03:39:29 [ "`gofmt -l .`" = "" ] 03:39:29 ./bin/test-attribution-txt.sh 03:39:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:39:31 Warning: overwriting stash ‘coverage-report’ 03:39:32 Stashed 1 file(s) [Pipeline] } 03:39:32 $ docker stop --time=1 1f1d7f7347ef071a20f1e19c581c5ca3eef14bcbd29fe9692980b3aa886ee563 03:39:34 $ docker rm -f 1f1d7f7347ef071a20f1e19c581c5ca3eef14bcbd29fe9692980b3aa886ee563 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:36 + ls -al . 03:39:36 total 228 03:39:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 03:39 . 03:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 .. 03:39:36 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 03:37 .dockerignore 03:39:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:37 .git 03:39:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 .github 03:39:36 -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 03:37 .gitignore 03:39:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:37 .semver 03:39:36 -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 03:37 Dockerfile.build 03:39:36 -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 03:37 Jenkinsfile 03:39:36 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 03:37 LICENSE 03:39:36 -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 03:37 Makefile 03:39:36 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 03:37 README.md 03:39:36 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 03:37 RELEASE-NOTES.txt 03:39:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 03:34 VERSION 03:39:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 bin 03:39:36 -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 03:39 coverage.out 03:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 example 03:39:36 -rw-r--r-- 1 jenkins jenkins 446 Sep 9 03:39 go.mod 03:39:36 -rw-r--r-- 1 jenkins jenkins 12179 Sep 9 03:39 go.sum 03:39:36 drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 03:37 internal 03:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 openapi 03:39:36 drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 03:37 pkg 03:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 snap 03:39:36 -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 03:37 version.go [Pipeline] isUnix [Pipeline] sh 03:39:36 + 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=107732b5ec6c8d3faa6227352d358d3729135519 --label arch=arm64 --label version=0.0.0 . 03:39:36 Sending build context to Docker daemon 3.253MB 03:39:37 Step 1/24 : ARG BASE=golang:1.13-alpine 03:39:37 Step 2/24 : FROM ${BASE} AS builder 03:39:37 ---> bc242d445c5c 03:39:37 Step 3/24 : ARG MAKE='make build' 03:39:37 ---> Running in b7f314bea38e 03:39:37 Removing intermediate container b7f314bea38e 03:39:37 ---> 75e49a7f213d 03:39:37 Step 4/24 : WORKDIR /device-sdk-go 03:39:37 ---> Running in 33408d38f145 03:39:38 Removing intermediate container 33408d38f145 03:39:38 ---> 2af6c1444fb8 03:39:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:38 ---> Running in 999dcdb94dac 03:39:38 Removing intermediate container 999dcdb94dac 03:39:38 ---> 90cdaed5ceab 03:39:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:38 ---> Running in 920f4311ae57 03:39:41 Removing intermediate container 920f4311ae57 03:39:41 ---> 1c6ab18fb933 03:39:41 Step 7/24 : RUN apk add --update --no-cache make git 03:39:41 ---> Running in 203da0832a13 03:39:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:39:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:39:44 OK: 142 MiB in 39 packages 03:39:45 Removing intermediate container 203da0832a13 03:39:45 ---> 10c631faeb6b 03:39:45 Step 8/24 : COPY . . 03:39:47 ---> db516992d77e 03:39:47 Step 9/24 : RUN ${MAKE} 03:39:47 ---> Running in 145182cb040a 03:39:48 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 03:40:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:40:15 Removing intermediate container 145182cb040a 03:40:15 ---> 967257c41fa5 03:40:15 Step 10/24 : FROM scratch 03:40:15 ---> 03:40:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:40:15 ---> Running in 8bc44a534ce7 03:40:15 Removing intermediate container 8bc44a534ce7 03:40:15 ---> cb43ed86d34f 03:40:15 Step 12/24 : ENV APP_PORT=49990 03:40:15 ---> Running in 22e48a969ec9 03:40:15 Removing intermediate container 22e48a969ec9 03:40:15 ---> ccf501010076 03:40:15 Step 13/24 : EXPOSE $APP_PORT 03:40:15 ---> Running in a9a45d5e018b 03:40:15 Removing intermediate container a9a45d5e018b 03:40:15 ---> 7cc5008ada0b 03:40:15 Step 14/24 : WORKDIR / 03:40:15 ---> Running in db8d773b1a79 03:40:16 Removing intermediate container db8d773b1a79 03:40:16 ---> b8e0c820840d 03:40:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:40:17 ---> f1081fb614b2 03:40:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:40:18 ---> e258ff75632e 03:40:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:40:18 ---> bf627a3b3ddd 03:40:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:40:19 ---> 8e63d8cd4eec 03:40:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:40:20 ---> 352a5ffd1b5d 03:40:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:40:20 ---> Running in f5279e713762 03:40:20 Removing intermediate container f5279e713762 03:40:20 ---> f9364c9c64d5 03:40:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:40:20 ---> Running in 09b26b05800c 03:40:21 Removing intermediate container 09b26b05800c 03:40:21 ---> 8c5bf0981ed0 03:40:21 Step 22/24 : LABEL arch=arm64 03:40:21 ---> Running in 53619df300e7 03:40:22 Removing intermediate container 53619df300e7 03:40:22 ---> 6e1947944eb2 03:40:22 Step 23/24 : LABEL git_sha=107732b5ec6c8d3faa6227352d358d3729135519 03:40:22 ---> Running in 5d58a83d347a 03:40:22 Removing intermediate container 5d58a83d347a 03:40:22 ---> 72b4c620ea03 03:40:22 Step 24/24 : LABEL version=0.0.0 03:40:22 ---> Running in c6931e913ecb 03:40:23 Removing intermediate container c6931e913ecb 03:40:23 ---> 1f694001c1f6 03:40:23 [Warning] One or more build-args [ARCH] were not consumed 03:40:23 Successfully built 1f694001c1f6 03:40:23 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 03:40:25 provisioning config files... 03:40:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/config1272847221548524946tmp [Pipeline] { [Pipeline] sh 03:40:26 + curl -s https://codecov.io/bash 03:40:26 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/config1272847221548524946tmp [Pipeline] } 03:40:26 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 03:40:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:40:29 ---> package-listing.sh 03:40:29 ++ facter osfamily 03:40:29 ++ tr '[:upper:]' '[:lower:]' 03:40:29 + OS_FAMILY=redhat 03:40:29 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-581 03:40:29 + START_PACKAGES=/tmp/packages_start.txt 03:40:29 + END_PACKAGES=/tmp/packages_end.txt 03:40:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:40:29 + PACKAGES=/tmp/packages_start.txt 03:40:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-581 ']' 03:40:29 + PACKAGES=/tmp/packages_end.txt 03:40:29 + case "${OS_FAMILY}" in 03:40:29 + rpm -qa 03:40:29 + sort 03:40:34 + '[' -f /tmp/packages_start.txt ']' 03:40:34 + '[' -f /tmp/packages_end.txt ']' 03:40:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:40:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-581 ']' 03:40:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-581/archives/ 03:40:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-581/archives/ [Pipeline] isUnix [Pipeline] sh 03:40:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:40:34 03:40:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:40:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:40:34 alpine: Pulling from edgex-lftools-log-publisher 03:40:34 df20fa9351a1: Pulling fs layer 03:40:34 36b3adc4ff6f: Pulling fs layer 03:40:34 8ad3a11d3b57: Pulling fs layer 03:40:34 46f8f816bc3b: Pulling fs layer 03:40:34 0dadc02b9964: Pulling fs layer 03:40:34 ce6a7cf60c04: Pulling fs layer 03:40:34 7a184a31f384: Pulling fs layer 03:40:34 0879bd2ef858: Pulling fs layer 03:40:34 0dadc02b9964: Waiting 03:40:34 ce6a7cf60c04: Waiting 03:40:34 7a184a31f384: Waiting 03:40:34 0879bd2ef858: Waiting 03:40:34 46f8f816bc3b: Waiting 03:40:34 36b3adc4ff6f: Verifying Checksum 03:40:34 36b3adc4ff6f: Download complete 03:40:34 46f8f816bc3b: Verifying Checksum 03:40:34 46f8f816bc3b: Download complete 03:40:34 df20fa9351a1: Download complete 03:40:34 ce6a7cf60c04: Verifying Checksum 03:40:34 ce6a7cf60c04: Download complete 03:40:34 0dadc02b9964: Verifying Checksum 03:40:34 0dadc02b9964: Download complete 03:40:34 7a184a31f384: Verifying Checksum 03:40:34 7a184a31f384: Download complete 03:40:35 8ad3a11d3b57: Verifying Checksum 03:40:35 8ad3a11d3b57: Download complete 03:40:35 df20fa9351a1: Pull complete 03:40:35 36b3adc4ff6f: Pull complete 03:40:35 0879bd2ef858: Verifying Checksum 03:40:35 0879bd2ef858: Download complete 03:40:36 8ad3a11d3b57: Pull complete 03:40:36 46f8f816bc3b: Pull complete 03:40:36 0dadc02b9964: Pull complete 03:40:36 ce6a7cf60c04: Pull complete 03:40:36 7a184a31f384: Pull complete 03:40:38 0879bd2ef858: Pull complete 03:40:38 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 03:40:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:40:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:40:39 prd-centos7-docker-4c-2g-1895 does not seem to be running inside a container 03:40:39 $ 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-581 -v /w/workspace/dgexfoundry_device-sdk-go_PR-581:/w/workspace/dgexfoundry_device-sdk-go_PR-581:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-581@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:40:43 $ docker top 573672b9d3d1e85f2b8105ce915b592ea5e22a19b3b75c1581c21c8cfeb790e6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:44 + mkdir -p /var/log/sa [Pipeline] sh 03:40:44 + ls /var/log/sa-host 03:40:44 + sadf -c /var/log/sa-host/sa05 03:40:44 file_magic: OK 03:40:44 HZ: Using current value: 100 03:40:44 file_header: OK 03:40:44 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 03:40:44 Statistics: 03:40:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:40:44 File successfully converted to sysstat format version 12.2.1 03:40:44 + sadf -c /var/log/sa-host/sa09 03:40:44 file_magic: OK 03:40:44 HZ: Using current value: 100 03:40:44 file_header: OK 03:40:44 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 03:40:44 Statistics: 03:40:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:40:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:44 provisioning config files... 03:40:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/config459679775629897540tmp [Pipeline] { [Pipeline] echo 03:40:45 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:40:45 ---> create-netrc.sh [Pipeline] echo 03:40:45 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:40:45 ---> logs-deploy.sh 03:40:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-581/1 03:40:45 INFO: archiving workspace using pattern(s): 03:40:47 Archives upload complete. 03:40:47 INFO: archiving logs to Nexus