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 [2020-09-09T03:33:42.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-09T03:33:42.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T03:33:42.949Z] ========================================================= [2020-09-09T03:33:42.950Z] EdgeX Global Pipelines Version Info [2020-09-09T03:33:42.950Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:33:44.340Z] ------------------- [2020-09-09T03:33:44.340Z] stable info: [2020-09-09T03:33:44.340Z] ------------------- [2020-09-09T03:33:44.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T03:33:44.340Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T03:33:44.340Z] Message: update stable to v1.0.119 [2020-09-09T03:33:45.286Z] ------------------- [2020-09-09T03:33:45.286Z] experimental info: [2020-09-09T03:33:45.286Z] ------------------- [2020-09-09T03:33:45.286Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T03:33:45.286Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T03:33:45.286Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T03:33:45.745Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-09T03:33:45.856Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-09T03:33:45.967Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T03:33:46.075Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T03:33:46.205Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T03:33:46.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T03:33:46.419Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T03:33:46.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T03:33:46.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-09T03:33:46.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T03:33:46.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T03:33:47.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-09T03:33:47.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T03:33:47.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T03:33:47.337Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-09T03:33:47.446Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:33:47.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:33:47.667Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:33:47.776Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T03:33:47.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T03:33:48.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-09T03:33:48.156Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-09T03:33:48.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo [2020-09-09T03:33:48.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo [2020-09-09T03:33:48.481Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo [2020-09-09T03:33:48.587Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 107732b5ec6c8d3faa6227352d358d3729135519 [Pipeline] echo [2020-09-09T03:33:48.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 107732b [Pipeline] echo [2020-09-09T03:33:49.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:33:49.803Z] + git log --format=format:%s -1 107732b5ec6c8d3faa6227352d358d3729135519 [Pipeline] echo [2020-09-09T03:33:49.874Z] GIT_COMMIT: 107732b5ec6c8d3faa6227352d358d3729135519, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo [2020-09-09T03:33:49.940Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:33:50.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:33:50.756Z] [2020-09-09T03:33:50.756Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:33:51.148Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:33:51.148Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T03:33:51.148Z] 31603596830f: Pulling fs layer [2020-09-09T03:33:51.148Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T03:33:51.148Z] 6ca5941a6612: Pulling fs layer [2020-09-09T03:33:51.148Z] ecc8261a40a4: Pulling fs layer [2020-09-09T03:33:51.148Z] ecc8261a40a4: Waiting [2020-09-09T03:33:51.148Z] 2a8b12db71e7: Verifying Checksum [2020-09-09T03:33:51.148Z] 2a8b12db71e7: Download complete [2020-09-09T03:33:51.148Z] 31603596830f: Download complete [2020-09-09T03:33:51.415Z] 6ca5941a6612: Verifying Checksum [2020-09-09T03:33:51.415Z] 6ca5941a6612: Download complete [2020-09-09T03:33:51.415Z] ecc8261a40a4: Verifying Checksum [2020-09-09T03:33:51.415Z] ecc8261a40a4: Download complete [2020-09-09T03:33:51.415Z] 31603596830f: Pull complete [2020-09-09T03:33:51.678Z] 2a8b12db71e7: Pull complete [2020-09-09T03:33:52.264Z] 6ca5941a6612: Pull complete [2020-09-09T03:33:52.526Z] ecc8261a40a4: Pull complete [2020-09-09T03:33:52.526Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T03:33:52.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:33:52.526Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T03:33:52.643Z] prd-centos7-docker-4c-2g-1895 does not seem to be running inside a container [2020-09-09T03:33:52.699Z] $ 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 [2020-09-09T03:33:55.067Z] $ docker top 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T03:33:55.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T03:33:55.471Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T03:33:55.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T03:33:55.697Z] $ docker exec 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent [2020-09-09T03:33:55.866Z] SSH_AUTH_SOCK=/tmp/ssh-E2IHRTmuC2kM/agent.13 [2020-09-09T03:33:55.866Z] SSH_AGENT_PID=18 [2020-09-09T03:33:55.879Z] Running ssh-add (command line suppressed) [2020-09-09T03:33:56.001Z] 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) [2020-09-09T03:33:56.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T03:33:56.411Z] + git describe --exact-match --tags HEAD [2020-09-09T03:33:56.411Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T03:33:56.451Z] $ docker exec --env ******** --env ******** 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent -k [2020-09-09T03:33:56.567Z] unset SSH_AUTH_SOCK; [2020-09-09T03:33:56.571Z] unset SSH_AGENT_PID; [2020-09-09T03:33:56.571Z] echo Agent pid 18 killed; [2020-09-09T03:33:56.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T03:33:56.852Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T03:33:56.852Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T03:33:57.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T03:33:57.035Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T03:33:57.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T03:33:57.234Z] $ docker exec 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent [2020-09-09T03:33:57.394Z] SSH_AUTH_SOCK=/tmp/ssh-EzBXsMqC5YuE/agent.47 [2020-09-09T03:33:57.394Z] SSH_AGENT_PID=52 [2020-09-09T03:33:57.400Z] Running ssh-add (command line suppressed) [2020-09-09T03:33:57.528Z] 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) [2020-09-09T03:33:57.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T03:33:57.962Z] + git semver init [2020-09-09T03:33:57.962Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T03:33:57.962Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-581/.git [2020-09-09T03:33:57.962Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-581 [2020-09-09T03:33:57.962Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T03:33:57.962Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T03:33:57.962Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T03:33:57.962Z] # $SEMVER_BRANCH = PR-581 [2020-09-09T03:33:57.962Z] # $SEMVER_TEMP = /tmp/semver-618522356 [2020-09-09T03:33:57.962Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-09T03:33:58.536Z] # '/tmp/semver-618522356' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-581/.semver' [2020-09-09T03:33:58.536Z] # -> Force: false [2020-09-09T03:33:58.536Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-581/.semver [Pipeline] } [2020-09-09T03:33:58.559Z] $ docker exec --env ******** --env ******** 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 ssh-agent -k [2020-09-09T03:33:58.675Z] unset SSH_AUTH_SOCK; [2020-09-09T03:33:58.675Z] unset SSH_AGENT_PID; [2020-09-09T03:33:58.675Z] echo Agent pid 52 killed; [2020-09-09T03:33:58.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T03:33:59.276Z] + git semver [Pipeline] } [2020-09-09T03:33:59.322Z] $ docker stop --time=1 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 [2020-09-09T03:34:00.660Z] $ docker rm -f 9a01cfca91118f41ab2c80238ea5fab6c1fc4b12961ae9c818d1dbf29ddd2b44 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T03:34:01.539Z] Stashed 32 file(s) [Pipeline] echo [2020-09-09T03:34:01.562Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T03:34:01.674Z] 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 [2020-09-09T03:34:17.378Z] Still waiting to schedule task [2020-09-09T03:34:17.379Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-09T03:34:17.412Z] Still waiting to schedule task [2020-09-09T03:34:17.412Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1896’ is offline [2020-09-09T03:36:22.101Z] Running on prd-centos7-docker-4c-2g-1905 in /w/workspace/dgexfoundry_device-sdk-go_PR-581 [Pipeline] { [Pipeline] ws [2020-09-09T03:36:22.260Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T03:36:25.781Z] using credential edgex-jenkins-ssh [2020-09-09T03:36:25.829Z] Cloning the remote Git repository [2020-09-09T03:36:25.829Z] Cloning with configured refspecs honoured and without tags [2020-09-09T03:36:25.889Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:25.999Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-09T03:36:26.753Z] Fetching without tags [2020-09-09T03:36:27.189Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 107732b5ec6c8d3faa6227352d358d3729135519 [2020-09-09T03:36:26.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:26.082Z] > git --version # timeout=10 [2020-09-09T03:36:26.094Z] > git --version # 'git version 2.16.5' [2020-09-09T03:36:26.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:26.122Z] > 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 [2020-09-09T03:36:26.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:26.729Z] > git config --add remote.origin.fetch +refs/pull/581/head:refs/remotes/origin/PR-581 # timeout=10 [2020-09-09T03:36:26.738Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:26.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:26.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:26.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:26.767Z] > 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 [2020-09-09T03:36:27.293Z] Merge succeeded, producing 107732b5ec6c8d3faa6227352d358d3729135519 [2020-09-09T03:36:27.294Z] Checking out Revision 107732b5ec6c8d3faa6227352d358d3729135519 (PR-581) [2020-09-09T03:36:27.202Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:27.211Z] > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 [2020-09-09T03:36:27.261Z] > git remote # timeout=10 [2020-09-09T03:36:27.266Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T03:36:27.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:27.277Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T03:36:27.290Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T03:36:27.301Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:27.312Z] > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 [2020-09-09T03:36:31.015Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [2020-09-09T03:36:31.053Z] > git --version # timeout=10 [2020-09-09T03:36:31.058Z] > git --version # 'git version 2.16.5' [2020-09-09T03:36:31.068Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T03:36:32.305Z] ========================================================= [2020-09-09T03:36:32.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T03:36:32.305Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:36:33.171Z] + 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 . [2020-09-09T03:36:33.761Z] Sending build context to Docker daemon 3.141MB [2020-09-09T03:36:33.761Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T03:36:33.762Z] Step 2/8 : FROM ${BASE} [2020-09-09T03:36:34.029Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T03:36:34.029Z] df20fa9351a1: Pulling fs layer [2020-09-09T03:36:34.029Z] ed8968b2872e: Pulling fs layer [2020-09-09T03:36:34.029Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T03:36:34.029Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T03:36:34.029Z] 1e091d79d1de: Pulling fs layer [2020-09-09T03:36:34.029Z] 481702a1767f: Pulling fs layer [2020-09-09T03:36:34.029Z] f64a6f60c768: Pulling fs layer [2020-09-09T03:36:34.029Z] e78d2573fc39: Pulling fs layer [2020-09-09T03:36:34.029Z] e876d2f968b6: Pulling fs layer [2020-09-09T03:36:34.029Z] ce8a83651883: Pulling fs layer [2020-09-09T03:36:34.029Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T03:36:34.029Z] f64a6f60c768: Waiting [2020-09-09T03:36:34.029Z] e78d2573fc39: Waiting [2020-09-09T03:36:34.029Z] e876d2f968b6: Waiting [2020-09-09T03:36:34.029Z] ce8a83651883: Waiting [2020-09-09T03:36:34.029Z] 07967f4d0e4b: Waiting [2020-09-09T03:36:34.029Z] 2dd03ba5bac4: Waiting [2020-09-09T03:36:34.029Z] 1e091d79d1de: Waiting [2020-09-09T03:36:34.029Z] 481702a1767f: Waiting [2020-09-09T03:36:34.029Z] a92cc7c5fd73: Download complete [2020-09-09T03:36:34.029Z] ed8968b2872e: Verifying Checksum [2020-09-09T03:36:34.029Z] ed8968b2872e: Download complete [2020-09-09T03:36:34.029Z] 1e091d79d1de: Verifying Checksum [2020-09-09T03:36:34.029Z] 1e091d79d1de: Download complete [2020-09-09T03:36:34.029Z] 481702a1767f: Verifying Checksum [2020-09-09T03:36:34.029Z] 481702a1767f: Download complete [2020-09-09T03:36:34.297Z] df20fa9351a1: Verifying Checksum [2020-09-09T03:36:34.575Z] df20fa9351a1: Pull complete [2020-09-09T03:36:34.839Z] ed8968b2872e: Pull complete [2020-09-09T03:36:34.839Z] a92cc7c5fd73: Pull complete [2020-09-09T03:36:40.170Z] f64a6f60c768: Verifying Checksum [2020-09-09T03:36:40.170Z] f64a6f60c768: Download complete [2020-09-09T03:36:40.170Z] e876d2f968b6: Verifying Checksum [2020-09-09T03:36:40.170Z] e876d2f968b6: Download complete [2020-09-09T03:36:42.104Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T03:36:42.104Z] 2dd03ba5bac4: Download complete [2020-09-09T03:36:42.104Z] e78d2573fc39: Verifying Checksum [2020-09-09T03:36:42.104Z] e78d2573fc39: Download complete [2020-09-09T03:36:42.104Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T03:36:42.104Z] 07967f4d0e4b: Download complete [2020-09-09T03:36:42.104Z] ce8a83651883: Verifying Checksum [2020-09-09T03:36:42.104Z] ce8a83651883: Download complete [2020-09-09T03:36:48.748Z] 2dd03ba5bac4: Pull complete [2020-09-09T03:36:48.748Z] 1e091d79d1de: Pull complete [2020-09-09T03:36:48.748Z] 481702a1767f: Pull complete [2020-09-09T03:36:52.989Z] f64a6f60c768: Pull complete [2020-09-09T03:36:55.567Z] e78d2573fc39: Pull complete [2020-09-09T03:36:55.832Z] e876d2f968b6: Pull complete [2020-09-09T03:36:56.789Z] ce8a83651883: Pull complete [2020-09-09T03:36:57.057Z] 07967f4d0e4b: Pull complete [2020-09-09T03:36:57.057Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T03:36:57.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T03:36:57.057Z] ---> 5d7c900382c6 [2020-09-09T03:36:57.057Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:36:58.984Z] ---> Running in 5bed501e1164 [2020-09-09T03:36:58.984Z] Removing intermediate container 5bed501e1164 [2020-09-09T03:36:58.984Z] ---> 7ea6a77935bb [2020-09-09T03:36:58.984Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:36:59.247Z] ---> Running in ab93e26c90d1 [2020-09-09T03:36:59.820Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1903 in /w/workspace/dgexfoundry_device-sdk-go_PR-581 [Pipeline] { [Pipeline] ws [2020-09-09T03:36:59.901Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T03:37:00.202Z] Removing intermediate container ab93e26c90d1 [2020-09-09T03:37:00.202Z] ---> b54048ea965c [2020-09-09T03:37:00.202Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T03:37:00.202Z] ---> Running in c8d3188283c7 [2020-09-09T03:37:01.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T03:37:01.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T03:37:02.319Z] OK: 166 MiB in 39 packages [2020-09-09T03:37:02.581Z] Removing intermediate container c8d3188283c7 [2020-09-09T03:37:02.581Z] ---> ff698068eeb6 [2020-09-09T03:37:02.581Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T03:37:02.581Z] ---> Running in 377f97fa4a90 [2020-09-09T03:37:02.847Z] Removing intermediate container 377f97fa4a90 [2020-09-09T03:37:02.847Z] ---> b77defc88cc8 [2020-09-09T03:37:02.847Z] Step 7/8 : COPY . . [2020-09-09T03:37:04.246Z] ---> 51e9915a1f7e [2020-09-09T03:37:04.246Z] Step 8/8 : RUN go mod download [2020-09-09T03:37:04.246Z] ---> Running in 1a843d02ea0d [2020-09-09T03:37:05.078Z] using credential edgex-jenkins-ssh [2020-09-09T03:37:05.148Z] Cloning the remote Git repository [2020-09-09T03:37:05.148Z] Cloning with configured refspecs honoured and without tags [2020-09-09T03:37:06.216Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T03:37:06.216Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T03:37:06.216Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T03:37:06.216Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T03:37:06.216Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T03:37:06.216Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T03:37:06.216Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T03:37:06.216Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T03:37:06.216Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T03:37:06.217Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T03:37:06.217Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T03:37:06.217Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 [2020-09-09T03:37:06.217Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T03:37:06.217Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T03:37:06.217Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T03:37:06.217Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T03:37:06.217Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T03:37:06.217Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T03:37:06.217Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T03:37:06.217Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T03:37:05.230Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:37:05.348Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-09T03:37:05.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:37:05.432Z] > git --version # timeout=10 [2020-09-09T03:37:05.455Z] > git --version # 'git version 2.17.1' [2020-09-09T03:37:05.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:37:05.542Z] > 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 [2020-09-09T03:37:06.516Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T03:37:06.516Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T03:37:06.778Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T03:37:06.778Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T03:37:06.778Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T03:37:06.778Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T03:37:06.778Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T03:37:06.778Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T03:37:06.778Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T03:37:06.778Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T03:37:06.778Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T03:37:06.778Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T03:37:06.778Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T03:37:06.784Z] Fetching without tags [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T03:37:07.039Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T03:37:07.039Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T03:37:07.039Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T03:37:07.039Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T03:37:07.039Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T03:37:07.301Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T03:37:07.301Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T03:37:07.301Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T03:37:07.301Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T03:37:07.301Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T03:37:07.301Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T03:37:07.301Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T03:37:07.301Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T03:37:07.301Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T03:37:07.301Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T03:37:07.307Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 107732b5ec6c8d3faa6227352d358d3729135519 [2020-09-09T03:37:07.530Z] Merge succeeded, producing 107732b5ec6c8d3faa6227352d358d3729135519 [2020-09-09T03:37:07.531Z] Checking out Revision 107732b5ec6c8d3faa6227352d358d3729135519 (PR-581) [2020-09-09T03:37:06.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:37:06.713Z] > git config --add remote.origin.fetch +refs/pull/581/head:refs/remotes/origin/PR-581 # timeout=10 [2020-09-09T03:37:06.729Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:37:06.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:37:06.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:37:06.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:37:06.827Z] > 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 [2020-09-09T03:37:07.336Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:37:07.356Z] > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 [2020-09-09T03:37:07.460Z] > git remote # timeout=10 [2020-09-09T03:37:07.477Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T03:37:07.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:37:07.504Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T03:37:07.524Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T03:37:07.546Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:37:07.557Z] > git checkout -f 107732b5ec6c8d3faa6227352d358d3729135519 # timeout=10 [2020-09-09T03:37:07.565Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T03:37:07.565Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T03:37:07.565Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T03:37:11.749Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [2020-09-09T03:37:11.816Z] > git --version # timeout=10 [2020-09-09T03:37:11.830Z] > git --version # 'git version 2.17.1' [2020-09-09T03:37:11.842Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T03:37:13.349Z] ========================================================= [2020-09-09T03:37:13.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T03:37:13.349Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:37:14.654Z] + 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 . [2020-09-09T03:37:15.634Z] Sending build context to Docker daemon 3.139MB [2020-09-09T03:37:15.634Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T03:37:15.634Z] Step 2/8 : FROM ${BASE} [2020-09-09T03:37:15.739Z] Removing intermediate container 1a843d02ea0d [2020-09-09T03:37:15.739Z] ---> 363ab1a54f91 [2020-09-09T03:37:15.739Z] Successfully built 363ab1a54f91 [2020-09-09T03:37:15.739Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2020-09-09T03:37:15.911Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T03:37:15.911Z] b538f80385f9: Pulling fs layer [2020-09-09T03:37:15.911Z] 74f711af9a0d: Pulling fs layer [2020-09-09T03:37:15.911Z] 99f96fe45779: Pulling fs layer [2020-09-09T03:37:15.911Z] fd7a069fd194: Pulling fs layer [2020-09-09T03:37:15.911Z] 66aa3694b03b: Pulling fs layer [2020-09-09T03:37:15.911Z] 170f70906a0f: Pulling fs layer [2020-09-09T03:37:15.911Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T03:37:15.911Z] e772456be8f7: Pulling fs layer [2020-09-09T03:37:15.911Z] c890913d741a: Pulling fs layer [2020-09-09T03:37:15.911Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T03:37:15.911Z] 09adf4765672: Pulling fs layer [2020-09-09T03:37:15.911Z] 66aa3694b03b: Waiting [2020-09-09T03:37:15.911Z] 170f70906a0f: Waiting [2020-09-09T03:37:15.911Z] ad7c5574e4b9: Waiting [2020-09-09T03:37:15.911Z] e772456be8f7: Waiting [2020-09-09T03:37:15.911Z] c890913d741a: Waiting [2020-09-09T03:37:15.911Z] 2480fcc9aa5a: Waiting [2020-09-09T03:37:15.911Z] 09adf4765672: Waiting [2020-09-09T03:37:15.911Z] fd7a069fd194: Waiting [2020-09-09T03:37:15.911Z] 99f96fe45779: Verifying Checksum [2020-09-09T03:37:15.911Z] 99f96fe45779: Download complete [2020-09-09T03:37:15.911Z] 74f711af9a0d: Verifying Checksum [2020-09-09T03:37:15.911Z] 74f711af9a0d: Download complete [2020-09-09T03:37:15.911Z] 66aa3694b03b: Download complete [2020-09-09T03:37:15.911Z] 170f70906a0f: Verifying Checksum [2020-09-09T03:37:15.911Z] 170f70906a0f: Download complete [2020-09-09T03:37:15.911Z] b538f80385f9: Verifying Checksum [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:37:16.630Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T03:37:16.630Z] . [Pipeline] withDockerContainer [2020-09-09T03:37:16.752Z] prd-centos7-docker-4c-2g-1905 does not seem to be running inside a container [2020-09-09T03:37:16.797Z] $ 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 [2020-09-09T03:37:16.918Z] b538f80385f9: Pull complete [2020-09-09T03:37:17.527Z] 74f711af9a0d: Pull complete [2020-09-09T03:37:18.025Z] $ docker top eb42358bfceb109b8b0784211246a4021a44c0394c45a36f73f6e14814a0945f -eo pid,comm [2020-09-09T03:37:18.133Z] 99f96fe45779: Pull complete [Pipeline] { [Pipeline] sh [2020-09-09T03:37:18.639Z] + go version [2020-09-09T03:37:18.639Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T03:37:18.736Z] ad7c5574e4b9: Download complete [2020-09-09T03:37:18.965Z] + make test [2020-09-09T03:37:18.965Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T03:37:19.012Z] c890913d741a: Verifying Checksum [2020-09-09T03:37:19.012Z] c890913d741a: Download complete [2020-09-09T03:37:19.944Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T03:37:22.416Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T03:37:22.416Z] 2480fcc9aa5a: Download complete [2020-09-09T03:37:22.416Z] 09adf4765672: Verifying Checksum [2020-09-09T03:37:22.416Z] 09adf4765672: Download complete [2020-09-09T03:37:22.687Z] e772456be8f7: Verifying Checksum [2020-09-09T03:37:22.687Z] e772456be8f7: Download complete [2020-09-09T03:37:22.959Z] fd7a069fd194: Verifying Checksum [2020-09-09T03:37:22.959Z] fd7a069fd194: Download complete [2020-09-09T03:37:30.094Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T03:37:30.094Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T03:37:30.094Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T03:37:30.094Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 21.0% of statements [2020-09-09T03:37:32.037Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.7% of statements [2020-09-09T03:37:35.370Z] fd7a069fd194: Pull complete [2020-09-09T03:37:35.370Z] 66aa3694b03b: Pull complete [2020-09-09T03:37:35.370Z] 170f70906a0f: Pull complete [2020-09-09T03:37:38.776Z] ad7c5574e4b9: Pull complete [2020-09-09T03:37:43.089Z] e772456be8f7: Pull complete [2020-09-09T03:37:43.371Z] c890913d741a: Pull complete [2020-09-09T03:37:46.011Z] 2480fcc9aa5a: Pull complete [2020-09-09T03:37:46.011Z] 09adf4765672: Pull complete [2020-09-09T03:37:46.011Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T03:37:46.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T03:37:46.011Z] ---> 2248a725d1cf [2020-09-09T03:37:46.011Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:37:50.333Z] ---> Running in 09e2c0072a90 [2020-09-09T03:37:50.932Z] Removing intermediate container 09e2c0072a90 [2020-09-09T03:37:50.932Z] ---> 821dbe451508 [2020-09-09T03:37:50.932Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:37:50.932Z] ---> Running in c22acbbd15f0 [2020-09-09T03:37:53.572Z] Removing intermediate container c22acbbd15f0 [2020-09-09T03:37:53.572Z] ---> 40a772f29c62 [2020-09-09T03:37:53.572Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T03:37:53.572Z] ---> Running in 56531489d801 [2020-09-09T03:37:55.014Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T03:37:55.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T03:37:56.955Z] OK: 142 MiB in 39 packages [2020-09-09T03:37:57.933Z] Removing intermediate container 56531489d801 [2020-09-09T03:37:57.933Z] ---> 0deed82adb8c [2020-09-09T03:37:57.933Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T03:37:58.205Z] ---> Running in fa74dd549b69 [2020-09-09T03:37:58.804Z] Removing intermediate container fa74dd549b69 [2020-09-09T03:37:58.804Z] ---> b26c38259dd2 [2020-09-09T03:37:58.804Z] Step 7/8 : COPY . . [2020-09-09T03:38:00.242Z] ---> 7fcbc70da3df [2020-09-09T03:38:00.242Z] Step 8/8 : RUN go mod download [2020-09-09T03:38:00.242Z] ---> Running in 7bbf37cf88f8 [2020-09-09T03:38:02.853Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T03:38:02.853Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T03:38:02.853Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T03:38:02.853Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T03:38:02.853Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T03:38:02.853Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T03:38:02.853Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T03:38:02.853Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T03:38:02.853Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T03:38:02.853Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T03:38:02.853Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T03:38:02.853Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.21 [2020-09-09T03:38:03.123Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T03:38:03.123Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T03:38:03.123Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T03:38:03.123Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T03:38:03.123Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T03:38:03.123Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T03:38:03.123Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T03:38:03.123Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T03:38:03.123Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T03:38:03.123Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T03:38:03.393Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T03:38:03.663Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T03:38:03.663Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T03:38:03.663Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T03:38:03.663Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T03:38:03.663Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T03:38:03.663Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T03:38:03.663Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T03:38:03.663Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T03:38:03.663Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T03:38:03.663Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T03:38:03.663Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T03:38:03.934Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T03:38:03.934Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T03:38:03.934Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T03:38:03.934Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T03:38:03.934Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T03:38:03.934Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T03:38:03.934Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T03:38:03.934Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T03:38:03.934Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T03:38:03.934Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T03:38:03.934Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T03:38:04.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 8.6% of statements [2020-09-09T03:38:04.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 21.7% of statements [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T03:38:04.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.023s coverage: 37.0% of statements [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T03:38:04.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.043s coverage: 65.4% of statements [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T03:38:04.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-09-09T03:38:04.196Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.112s coverage: 68.9% of statements [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T03:38:04.196Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T03:38:04.196Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T03:38:04.196Z] gofmt -l . [2020-09-09T03:38:04.196Z] [ "`gofmt -l .`" = "" ] [2020-09-09T03:38:04.196Z] ./bin/test-attribution-txt.sh [2020-09-09T03:38:04.209Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T03:38:04.209Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T03:38:04.209Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T03:38:04.209Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T03:38:04.209Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T03:38:04.209Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T03:38:04.209Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T03:38:04.209Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T03:38:04.209Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T03:38:04.209Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T03:38:04.209Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T03:38:04.481Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T03:38:04.768Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T03:38:05.409Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T03:38:05.430Z] $ docker stop --time=1 eb42358bfceb109b8b0784211246a4021a44c0394c45a36f73f6e14814a0945f [2020-09-09T03:38:07.012Z] $ docker rm -f eb42358bfceb109b8b0784211246a4021a44c0394c45a36f73f6e14814a0945f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:38:08.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T03:38:08.915Z] + ls -al . [2020-09-09T03:38:08.915Z] total 188 [2020-09-09T03:38:08.915Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 03:38 . [2020-09-09T03:38:08.915Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 03:36 .. [2020-09-09T03:38:08.915Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 03:36 bin [2020-09-09T03:38:08.915Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 03:38 coverage.out [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 03:36 Dockerfile.build [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 03:36 .dockerignore [2020-09-09T03:38:08.915Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 03:36 example [2020-09-09T03:38:08.915Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 03:36 .git [2020-09-09T03:38:08.915Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 03:36 .github [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 03:36 .gitignore [2020-09-09T03:38:08.915Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 9 03:38 go.mod [2020-09-09T03:38:08.915Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 9 03:38 go.sum [2020-09-09T03:38:08.915Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 03:36 internal [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 03:36 Jenkinsfile [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 03:36 LICENSE [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 03:36 Makefile [2020-09-09T03:38:08.915Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 03:36 openapi [2020-09-09T03:38:08.915Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 03:36 pkg [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 03:36 README.md [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 03:36 RELEASE-NOTES.txt [2020-09-09T03:38:08.915Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 03:36 .semver [2020-09-09T03:38:08.915Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 03:36 snap [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 03:34 VERSION [2020-09-09T03:38:08.915Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 03:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:38:09.264Z] + 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 . [2020-09-09T03:38:09.527Z] Sending build context to Docker daemon 3.255MB [2020-09-09T03:38:09.527Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T03:38:09.527Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T03:38:09.527Z] ---> 363ab1a54f91 [2020-09-09T03:38:09.527Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T03:38:09.790Z] ---> Running in a7821b11e0fe [2020-09-09T03:38:10.051Z] Removing intermediate container a7821b11e0fe [2020-09-09T03:38:10.051Z] ---> 2ae54c8eb4f3 [2020-09-09T03:38:10.051Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T03:38:10.051Z] ---> Running in 132df5267f80 [2020-09-09T03:38:10.051Z] Removing intermediate container 132df5267f80 [2020-09-09T03:38:10.051Z] ---> 8cb7c546bad9 [2020-09-09T03:38:10.051Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:38:10.315Z] ---> Running in 46f6dff9bb8f [2020-09-09T03:38:10.315Z] Removing intermediate container 46f6dff9bb8f [2020-09-09T03:38:10.315Z] ---> 4c37c091b742 [2020-09-09T03:38:10.315Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:38:10.589Z] ---> Running in 243dfa077d33 [2020-09-09T03:38:11.532Z] Removing intermediate container 243dfa077d33 [2020-09-09T03:38:11.532Z] ---> 2d8f578a5554 [2020-09-09T03:38:11.532Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T03:38:11.532Z] ---> Running in f5612b45ede8 [2020-09-09T03:38:12.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T03:38:12.680Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T03:38:14.645Z] Removing intermediate container 7bbf37cf88f8 [2020-09-09T03:38:14.645Z] ---> bc242d445c5c [2020-09-09T03:38:14.645Z] Successfully built bc242d445c5c [2020-09-09T03:38:14.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2020-09-09T03:38:15.232Z] OK: 166 MiB in 39 packages [2020-09-09T03:38:15.232Z] Removing intermediate container f5612b45ede8 [2020-09-09T03:38:15.232Z] ---> 8c7c5d7246f4 [2020-09-09T03:38:15.232Z] Step 8/24 : COPY . . [Pipeline] sh [2020-09-09T03:38:15.572Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T03:38:15.573Z] . [Pipeline] withDockerContainer [2020-09-09T03:38:15.878Z] prd-ubuntu18.04-docker-arm64-4c-16g-1903 does not seem to be running inside a container [2020-09-09T03:38:15.969Z] $ 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 [2020-09-09T03:38:16.180Z] ---> 36c588cf9f66 [2020-09-09T03:38:16.180Z] Step 9/24 : RUN ${MAKE} [2020-09-09T03:38:16.180Z] ---> Running in 41dab6891b4a [2020-09-09T03:38:16.758Z] 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 [2020-09-09T03:38:17.750Z] $ docker top 1f1d7f7347ef071a20f1e19c581c5ca3eef14bcbd29fe9692980b3aa886ee563 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:38:19.268Z] + go version [2020-09-09T03:38:19.268Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T03:38:20.346Z] + make test [2020-09-09T03:38:20.346Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T03:38:21.339Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T03:38:25.051Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T03:38:26.457Z] Removing intermediate container 41dab6891b4a [2020-09-09T03:38:26.457Z] ---> 32d3b8eed744 [2020-09-09T03:38:26.457Z] Step 10/24 : FROM scratch [2020-09-09T03:38:26.457Z] ---> [2020-09-09T03:38:26.457Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:38:26.457Z] ---> Running in 3b34ae5667c4 [2020-09-09T03:38:26.722Z] Removing intermediate container 3b34ae5667c4 [2020-09-09T03:38:26.722Z] ---> bc28211b6274 [2020-09-09T03:38:26.722Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T03:38:26.722Z] ---> Running in 9e46c51616ac [2020-09-09T03:38:26.722Z] Removing intermediate container 9e46c51616ac [2020-09-09T03:38:26.722Z] ---> 04d334d81c0d [2020-09-09T03:38:26.722Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T03:38:26.722Z] ---> Running in e401c84ac386 [2020-09-09T03:38:26.987Z] Removing intermediate container e401c84ac386 [2020-09-09T03:38:26.987Z] ---> 00748b9fcdcb [2020-09-09T03:38:26.987Z] Step 14/24 : WORKDIR / [2020-09-09T03:38:26.987Z] ---> Running in 0eb6e19acca3 [2020-09-09T03:38:27.250Z] Removing intermediate container 0eb6e19acca3 [2020-09-09T03:38:27.250Z] ---> 2fa7a22c4967 [2020-09-09T03:38:27.250Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T03:38:27.826Z] ---> cf0eba2b80aa [2020-09-09T03:38:27.826Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T03:38:27.826Z] ---> 81c9261752f7 [2020-09-09T03:38:27.826Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T03:38:28.089Z] ---> 83eb2fc9e696 [2020-09-09T03:38:28.089Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T03:38:28.353Z] ---> 5fd58980c089 [2020-09-09T03:38:28.353Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T03:38:28.618Z] ---> 708a485f208d [2020-09-09T03:38:28.618Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T03:38:28.880Z] ---> Running in 0df0cfe9101e [2020-09-09T03:38:28.881Z] Removing intermediate container 0df0cfe9101e [2020-09-09T03:38:28.881Z] ---> 088a332ed32b [2020-09-09T03:38:28.881Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T03:38:28.881Z] ---> Running in 97cb962c9e07 [2020-09-09T03:38:29.146Z] Removing intermediate container 97cb962c9e07 [2020-09-09T03:38:29.146Z] ---> 012e39e9340f [2020-09-09T03:38:29.146Z] Step 22/24 : LABEL arch=amd64 [2020-09-09T03:38:29.146Z] ---> Running in 33f69cf4dc61 [2020-09-09T03:38:29.410Z] Removing intermediate container 33f69cf4dc61 [2020-09-09T03:38:29.410Z] ---> b9ee0c2df191 [2020-09-09T03:38:29.410Z] Step 23/24 : LABEL git_sha=107732b5ec6c8d3faa6227352d358d3729135519 [2020-09-09T03:38:29.410Z] ---> Running in fed7a28a2903 [2020-09-09T03:38:29.673Z] Removing intermediate container fed7a28a2903 [2020-09-09T03:38:29.673Z] ---> 39e649336f11 [2020-09-09T03:38:29.673Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T03:38:29.673Z] ---> Running in b7e6204cef24 [2020-09-09T03:38:29.673Z] Removing intermediate container b7e6204cef24 [2020-09-09T03:38:29.673Z] ---> 8c5ac7340a2c [2020-09-09T03:38:29.673Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T03:38:29.673Z] Successfully built 8c5ac7340a2c [2020-09-09T03:38:29.938Z] 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] } [2020-09-09T03:38:53.737Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T03:38:53.737Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T03:38:53.737Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T03:38:53.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.0% of statements [2020-09-09T03:38:53.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.240s coverage: 95.7% of statements [2020-09-09T03:39:26.108Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 8.6% of statements [2020-09-09T03:39:26.108Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 21.7% of statements [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T03:39:26.108Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.089s coverage: 37.0% of statements [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T03:39:26.108Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.137s coverage: 65.4% of statements [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T03:39:26.108Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-09-09T03:39:26.108Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.362s coverage: 68.9% of statements [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T03:39:26.108Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T03:39:26.109Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T03:39:29.517Z] gofmt -l . [2020-09-09T03:39:29.517Z] [ "`gofmt -l .`" = "" ] [2020-09-09T03:39:29.792Z] ./bin/test-attribution-txt.sh [2020-09-09T03:39:30.771Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T03:39:31.089Z] Warning: overwriting stash ‘coverage-report’ [2020-09-09T03:39:32.059Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T03:39:32.082Z] $ docker stop --time=1 1f1d7f7347ef071a20f1e19c581c5ca3eef14bcbd29fe9692980b3aa886ee563 [2020-09-09T03:39:34.266Z] $ docker rm -f 1f1d7f7347ef071a20f1e19c581c5ca3eef14bcbd29fe9692980b3aa886ee563 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:39:35.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T03:39:36.122Z] + ls -al . [2020-09-09T03:39:36.122Z] total 228 [2020-09-09T03:39:36.122Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 03:39 . [2020-09-09T03:39:36.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 .. [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 03:37 .dockerignore [2020-09-09T03:39:36.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:37 .git [2020-09-09T03:39:36.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 .github [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 03:37 .gitignore [2020-09-09T03:39:36.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:37 .semver [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 03:37 Dockerfile.build [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 03:37 Jenkinsfile [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 03:37 LICENSE [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 03:37 Makefile [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 03:37 README.md [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 03:37 RELEASE-NOTES.txt [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 03:34 VERSION [2020-09-09T03:39:36.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 bin [2020-09-09T03:39:36.122Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 03:39 coverage.out [2020-09-09T03:39:36.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 example [2020-09-09T03:39:36.122Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 9 03:39 go.mod [2020-09-09T03:39:36.122Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 9 03:39 go.sum [2020-09-09T03:39:36.122Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 03:37 internal [2020-09-09T03:39:36.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 openapi [2020-09-09T03:39:36.122Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 03:37 pkg [2020-09-09T03:39:36.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 snap [2020-09-09T03:39:36.122Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 03:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:39:36.482Z] + 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 . [2020-09-09T03:39:36.753Z] Sending build context to Docker daemon 3.253MB [2020-09-09T03:39:37.030Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T03:39:37.030Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T03:39:37.030Z] ---> bc242d445c5c [2020-09-09T03:39:37.030Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T03:39:37.030Z] ---> Running in b7f314bea38e [2020-09-09T03:39:37.626Z] Removing intermediate container b7f314bea38e [2020-09-09T03:39:37.626Z] ---> 75e49a7f213d [2020-09-09T03:39:37.626Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T03:39:37.626Z] ---> Running in 33408d38f145 [2020-09-09T03:39:38.222Z] Removing intermediate container 33408d38f145 [2020-09-09T03:39:38.222Z] ---> 2af6c1444fb8 [2020-09-09T03:39:38.222Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:39:38.222Z] ---> Running in 999dcdb94dac [2020-09-09T03:39:38.816Z] Removing intermediate container 999dcdb94dac [2020-09-09T03:39:38.816Z] ---> 90cdaed5ceab [2020-09-09T03:39:38.816Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:39:38.816Z] ---> Running in 920f4311ae57 [2020-09-09T03:39:41.424Z] Removing intermediate container 920f4311ae57 [2020-09-09T03:39:41.424Z] ---> 1c6ab18fb933 [2020-09-09T03:39:41.424Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T03:39:41.700Z] ---> Running in 203da0832a13 [2020-09-09T03:39:43.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T03:39:43.723Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T03:39:44.701Z] OK: 142 MiB in 39 packages [2020-09-09T03:39:45.673Z] Removing intermediate container 203da0832a13 [2020-09-09T03:39:45.673Z] ---> 10c631faeb6b [2020-09-09T03:39:45.673Z] Step 8/24 : COPY . . [2020-09-09T03:39:47.105Z] ---> db516992d77e [2020-09-09T03:39:47.105Z] Step 9/24 : RUN ${MAKE} [2020-09-09T03:39:47.105Z] ---> Running in 145182cb040a [2020-09-09T03:39:48.540Z] 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 [2020-09-09T03:40:15.339Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T03:40:15.339Z] Removing intermediate container 145182cb040a [2020-09-09T03:40:15.339Z] ---> 967257c41fa5 [2020-09-09T03:40:15.339Z] Step 10/24 : FROM scratch [2020-09-09T03:40:15.339Z] ---> [2020-09-09T03:40:15.339Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:40:15.339Z] ---> Running in 8bc44a534ce7 [2020-09-09T03:40:15.339Z] Removing intermediate container 8bc44a534ce7 [2020-09-09T03:40:15.339Z] ---> cb43ed86d34f [2020-09-09T03:40:15.339Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T03:40:15.339Z] ---> Running in 22e48a969ec9 [2020-09-09T03:40:15.339Z] Removing intermediate container 22e48a969ec9 [2020-09-09T03:40:15.339Z] ---> ccf501010076 [2020-09-09T03:40:15.339Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T03:40:15.339Z] ---> Running in a9a45d5e018b [2020-09-09T03:40:15.610Z] Removing intermediate container a9a45d5e018b [2020-09-09T03:40:15.610Z] ---> 7cc5008ada0b [2020-09-09T03:40:15.610Z] Step 14/24 : WORKDIR / [2020-09-09T03:40:15.881Z] ---> Running in db8d773b1a79 [2020-09-09T03:40:16.153Z] Removing intermediate container db8d773b1a79 [2020-09-09T03:40:16.153Z] ---> b8e0c820840d [2020-09-09T03:40:16.153Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T03:40:17.589Z] ---> f1081fb614b2 [2020-09-09T03:40:17.589Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T03:40:18.181Z] ---> e258ff75632e [2020-09-09T03:40:18.181Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T03:40:18.774Z] ---> bf627a3b3ddd [2020-09-09T03:40:18.774Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T03:40:19.750Z] ---> 8e63d8cd4eec [2020-09-09T03:40:19.750Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T03:40:20.344Z] ---> 352a5ffd1b5d [2020-09-09T03:40:20.344Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T03:40:20.344Z] ---> Running in f5279e713762 [2020-09-09T03:40:20.938Z] Removing intermediate container f5279e713762 [2020-09-09T03:40:20.938Z] ---> f9364c9c64d5 [2020-09-09T03:40:20.938Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T03:40:20.938Z] ---> Running in 09b26b05800c [2020-09-09T03:40:21.537Z] Removing intermediate container 09b26b05800c [2020-09-09T03:40:21.537Z] ---> 8c5bf0981ed0 [2020-09-09T03:40:21.537Z] Step 22/24 : LABEL arch=arm64 [2020-09-09T03:40:21.537Z] ---> Running in 53619df300e7 [2020-09-09T03:40:22.132Z] Removing intermediate container 53619df300e7 [2020-09-09T03:40:22.132Z] ---> 6e1947944eb2 [2020-09-09T03:40:22.132Z] Step 23/24 : LABEL git_sha=107732b5ec6c8d3faa6227352d358d3729135519 [2020-09-09T03:40:22.132Z] ---> Running in 5d58a83d347a [2020-09-09T03:40:22.724Z] Removing intermediate container 5d58a83d347a [2020-09-09T03:40:22.724Z] ---> 72b4c620ea03 [2020-09-09T03:40:22.724Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T03:40:22.724Z] ---> Running in c6931e913ecb [2020-09-09T03:40:23.010Z] Removing intermediate container c6931e913ecb [2020-09-09T03:40:23.010Z] ---> 1f694001c1f6 [2020-09-09T03:40:23.010Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T03:40:23.010Z] Successfully built 1f694001c1f6 [2020-09-09T03:40:23.288Z] 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 [2020-09-09T03:40:25.705Z] provisioning config files... [2020-09-09T03:40:25.719Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/config1272847221548524946tmp [Pipeline] { [Pipeline] sh [2020-09-09T03:40:26.130Z] + curl -s https://codecov.io/bash [2020-09-09T03:40:26.130Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/config1272847221548524946tmp [Pipeline] } [2020-09-09T03:40:26.412Z] 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 [2020-09-09T03:40:29.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:40:29.882Z] ---> package-listing.sh [2020-09-09T03:40:29.882Z] ++ facter osfamily [2020-09-09T03:40:29.882Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T03:40:29.882Z] + OS_FAMILY=redhat [2020-09-09T03:40:29.882Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-581 [2020-09-09T03:40:29.882Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T03:40:29.882Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T03:40:29.882Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T03:40:29.882Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T03:40:29.882Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-581 ']' [2020-09-09T03:40:29.882Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T03:40:29.882Z] + case "${OS_FAMILY}" in [2020-09-09T03:40:29.882Z] + rpm -qa [2020-09-09T03:40:29.882Z] + sort [2020-09-09T03:40:34.094Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T03:40:34.094Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T03:40:34.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T03:40:34.094Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-581 ']' [2020-09-09T03:40:34.094Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-581/archives/ [2020-09-09T03:40:34.094Z] + 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 [2020-09-09T03:40:34.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:40:34.571Z] [2020-09-09T03:40:34.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:40:34.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:40:34.977Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T03:40:34.977Z] df20fa9351a1: Pulling fs layer [2020-09-09T03:40:34.977Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T03:40:34.977Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T03:40:34.977Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T03:40:34.977Z] 0dadc02b9964: Pulling fs layer [2020-09-09T03:40:34.977Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T03:40:34.977Z] 7a184a31f384: Pulling fs layer [2020-09-09T03:40:34.977Z] 0879bd2ef858: Pulling fs layer [2020-09-09T03:40:34.977Z] 0dadc02b9964: Waiting [2020-09-09T03:40:34.977Z] ce6a7cf60c04: Waiting [2020-09-09T03:40:34.977Z] 7a184a31f384: Waiting [2020-09-09T03:40:34.977Z] 0879bd2ef858: Waiting [2020-09-09T03:40:34.977Z] 46f8f816bc3b: Waiting [2020-09-09T03:40:34.977Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T03:40:34.977Z] 36b3adc4ff6f: Download complete [2020-09-09T03:40:34.977Z] 46f8f816bc3b: Verifying Checksum [2020-09-09T03:40:34.977Z] 46f8f816bc3b: Download complete [2020-09-09T03:40:34.977Z] df20fa9351a1: Download complete [2020-09-09T03:40:34.977Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T03:40:34.977Z] ce6a7cf60c04: Download complete [2020-09-09T03:40:34.977Z] 0dadc02b9964: Verifying Checksum [2020-09-09T03:40:34.977Z] 0dadc02b9964: Download complete [2020-09-09T03:40:34.977Z] 7a184a31f384: Verifying Checksum [2020-09-09T03:40:34.977Z] 7a184a31f384: Download complete [2020-09-09T03:40:35.239Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T03:40:35.239Z] 8ad3a11d3b57: Download complete [2020-09-09T03:40:35.500Z] df20fa9351a1: Pull complete [2020-09-09T03:40:35.500Z] 36b3adc4ff6f: Pull complete [2020-09-09T03:40:35.500Z] 0879bd2ef858: Verifying Checksum [2020-09-09T03:40:35.500Z] 0879bd2ef858: Download complete [2020-09-09T03:40:36.071Z] 8ad3a11d3b57: Pull complete [2020-09-09T03:40:36.331Z] 46f8f816bc3b: Pull complete [2020-09-09T03:40:36.595Z] 0dadc02b9964: Pull complete [2020-09-09T03:40:36.595Z] ce6a7cf60c04: Pull complete [2020-09-09T03:40:36.858Z] 7a184a31f384: Pull complete [2020-09-09T03:40:38.785Z] 0879bd2ef858: Pull complete [2020-09-09T03:40:38.785Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T03:40:39.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:40:39.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T03:40:39.180Z] prd-centos7-docker-4c-2g-1895 does not seem to be running inside a container [2020-09-09T03:40:39.219Z] $ 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 [2020-09-09T03:40:43.920Z] $ docker top 573672b9d3d1e85f2b8105ce915b592ea5e22a19b3b75c1581c21c8cfeb790e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:40:44.512Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T03:40:44.826Z] + ls /var/log/sa-host [2020-09-09T03:40:44.826Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T03:40:44.826Z] file_magic: OK [2020-09-09T03:40:44.826Z] HZ: Using current value: 100 [2020-09-09T03:40:44.826Z] file_header: OK [2020-09-09T03:40:44.826Z] 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 [2020-09-09T03:40:44.826Z] Statistics: [2020-09-09T03:40:44.826Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T03:40:44.826Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T03:40:44.826Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T03:40:44.826Z] file_magic: OK [2020-09-09T03:40:44.826Z] HZ: Using current value: 100 [2020-09-09T03:40:44.826Z] file_header: OK [2020-09-09T03:40:44.826Z] 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 [2020-09-09T03:40:44.826Z] Statistics: [2020-09-09T03:40:44.826Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T03:40:44.826Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T03:40:44.937Z] provisioning config files... [2020-09-09T03:40:44.950Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-581@tmp/config459679775629897540tmp [Pipeline] { [Pipeline] echo [2020-09-09T03:40:45.081Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:40:45.431Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T03:40:45.465Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:40:45.792Z] ---> logs-deploy.sh [2020-09-09T03:40:45.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-581/1 [2020-09-09T03:40:45.792Z] INFO: archiving workspace using pattern(s): [2020-09-09T03:40:47.177Z] Archives upload complete. [2020-09-09T03:40:47.177Z] INFO: archiving logs to Nexus