Pull request #571 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 143b14416392d16fa7a8408427205f784dd11e5f+7ebf8157bed3f29606eb8346b104e57a74818c1e (d7c81a020b089724d32d6d874ac543f865e498cd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-959 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching without tags Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f Merge succeeded, producing 143b14416392d16fa7a8408427205f784dd11e5f Checking out Revision 143b14416392d16fa7a8408427205f784dd11e5f (PR-571) Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # 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 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. > git rev-list --no-walk 1f0fdcd0db69a365fe11bc4799141d9561aa0deb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-01T01:24:43.675Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-01T01:24:43.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-01T01:24:43.942Z] ========================================================= [2020-09-01T01:24:43.942Z] EdgeX Global Pipelines Version Info [2020-09-01T01:24:43.942Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:24:45.332Z] ------------------- [2020-09-01T01:24:45.332Z] stable info: [2020-09-01T01:24:45.332Z] ------------------- [2020-09-01T01:24:45.332Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-01T01:24:45.332Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T01:24:45.332Z] Message: update stable to v1.0.115 [2020-09-01T01:24:46.276Z] ------------------- [2020-09-01T01:24:46.276Z] experimental info: [2020-09-01T01:24:46.276Z] ------------------- [2020-09-01T01:24:46.276Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-01T01:24:46.276Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T01:24:46.276Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-01T01:24:46.660Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-01T01:24:46.737Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-01T01:24:46.809Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-01T01:24:46.880Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-01T01:24:46.955Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-01T01:24:47.030Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-01T01:24:47.103Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-01T01:24:47.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-01T01:24:47.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-01T01:24:47.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-01T01:24:47.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-01T01:24:47.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-01T01:24:47.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-01T01:24:47.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-01T01:24:47.762Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T01:24:47.832Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T01:24:47.904Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T01:24:47.976Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T01:24:48.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-01T01:24:48.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-01T01:24:48.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-01T01:24:48.345Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-01T01:24:48.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-09-01T01:24:48.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-09-01T01:24:48.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-09-01T01:24:48.786Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 143b14416392d16fa7a8408427205f784dd11e5f [Pipeline] echo [2020-09-01T01:24:48.858Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 143b144 [Pipeline] echo [2020-09-01T01:24:48.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T01:24:49.456Z] + git log --format=format:%s -1 143b14416392d16fa7a8408427205f784dd11e5f [Pipeline] echo [2020-09-01T01:24:49.517Z] GIT_COMMIT: 143b14416392d16fa7a8408427205f784dd11e5f, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo [2020-09-01T01:24:49.554Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:24:50.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T01:24:50.623Z] [2020-09-01T01:24:50.623Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:24:50.967Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T01:24:50.967Z] latest: Pulling from edgex-devops/git-semver [2020-09-01T01:24:50.967Z] 31603596830f: Pulling fs layer [2020-09-01T01:24:50.967Z] 2a8b12db71e7: Pulling fs layer [2020-09-01T01:24:50.967Z] 6ca5941a6612: Pulling fs layer [2020-09-01T01:24:50.967Z] ecc8261a40a4: Pulling fs layer [2020-09-01T01:24:50.967Z] ecc8261a40a4: Waiting [2020-09-01T01:24:50.967Z] 2a8b12db71e7: Verifying Checksum [2020-09-01T01:24:50.967Z] 2a8b12db71e7: Download complete [2020-09-01T01:24:51.228Z] 31603596830f: Verifying Checksum [2020-09-01T01:24:51.228Z] 31603596830f: Download complete [2020-09-01T01:24:51.228Z] 6ca5941a6612: Verifying Checksum [2020-09-01T01:24:51.228Z] 6ca5941a6612: Download complete [2020-09-01T01:24:51.228Z] ecc8261a40a4: Verifying Checksum [2020-09-01T01:24:51.228Z] ecc8261a40a4: Download complete [2020-09-01T01:24:51.491Z] 31603596830f: Pull complete [2020-09-01T01:24:51.491Z] 2a8b12db71e7: Pull complete [2020-09-01T01:24:52.438Z] 6ca5941a6612: Pull complete [2020-09-01T01:24:52.438Z] ecc8261a40a4: Pull complete [2020-09-01T01:24:52.699Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-01T01:24:52.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T01:24:52.699Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-01T01:24:52.803Z] prd-centos7-docker-4c-2g-959 does not seem to be running inside a container [2020-09-01T01:24:52.855Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-01T01:24:55.484Z] $ docker top 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-01T01:24:55.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T01:24:55.816Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T01:24:56.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T01:24:56.033Z] $ docker exec 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent [2020-09-01T01:24:56.188Z] SSH_AUTH_SOCK=/tmp/ssh-5oyZFmglBy3x/agent.12 [2020-09-01T01:24:56.188Z] SSH_AGENT_PID=17 [2020-09-01T01:24:56.200Z] Running ssh-add (command line suppressed) [2020-09-01T01:24:56.323Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7007354425649953868.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7007354425649953868.key) [2020-09-01T01:24:56.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T01:24:56.699Z] + git describe --exact-match --tags HEAD [2020-09-01T01:24:56.699Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-01T01:24:56.727Z] $ docker exec --env ******** --env ******** 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent -k [2020-09-01T01:24:56.841Z] unset SSH_AUTH_SOCK; [2020-09-01T01:24:56.841Z] unset SSH_AGENT_PID; [2020-09-01T01:24:56.841Z] echo Agent pid 17 killed; [2020-09-01T01:24:56.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-01T01:24:56.980Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-01T01:24:56.980Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-01T01:24:57.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T01:24:57.058Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T01:24:57.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T01:24:57.232Z] $ docker exec 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent [2020-09-01T01:24:57.386Z] SSH_AUTH_SOCK=/tmp/ssh-idRWmWDsr70m/agent.47 [2020-09-01T01:24:57.386Z] SSH_AGENT_PID=52 [2020-09-01T01:24:57.393Z] Running ssh-add (command line suppressed) [2020-09-01T01:24:57.516Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7040072312087685939.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7040072312087685939.key) [2020-09-01T01:24:57.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T01:24:57.881Z] + git semver init [2020-09-01T01:24:57.881Z] # -> Open(): unable to determine branch for HEAD [2020-09-01T01:24:57.881Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-09-01T01:24:57.881Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-01T01:24:57.881Z] # $SEMVER_REMOTE_NAME = origin [2020-09-01T01:24:57.881Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-01T01:24:57.881Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-01T01:24:57.881Z] # $SEMVER_BRANCH = PR-571 [2020-09-01T01:24:57.881Z] # $SEMVER_TEMP = /tmp/semver-882292803 [2020-09-01T01:24:57.881Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-01T01:24:58.455Z] # '/tmp/semver-882292803' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-09-01T01:24:58.455Z] # -> Force: false [2020-09-01T01:24:58.455Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-09-01T01:24:58.473Z] $ docker exec --env ******** --env ******** 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 ssh-agent -k [2020-09-01T01:24:58.603Z] unset SSH_AUTH_SOCK; [2020-09-01T01:24:58.604Z] unset SSH_AGENT_PID; [2020-09-01T01:24:58.604Z] echo Agent pid 52 killed; [2020-09-01T01:24:58.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-01T01:24:59.074Z] + git semver [Pipeline] } [2020-09-01T01:24:59.096Z] $ docker stop --time=1 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 [2020-09-01T01:25:00.424Z] $ docker rm -f 9887c87073dd71840711f4671d71e19c3c9435755ccd5f2dd8fc2f78b99f94a6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-01T01:25:01.338Z] Stashed 32 file(s) [Pipeline] echo [2020-09-01T01:25:01.340Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-01T01:25:01.422Z] 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-01T01:25:16.961Z] Still waiting to schedule task [2020-09-01T01:25:16.961Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-01T01:25:16.963Z] Still waiting to schedule task [2020-09-01T01:25:16.963Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-01T01:26:59.578Z] Running on prd-centos7-docker-4c-2g-961 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-01T01:26:59.625Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-09-01T01:27:03.831Z] using credential edgex-jenkins-ssh [2020-09-01T01:27:03.876Z] Cloning the remote Git repository [2020-09-01T01:27:03.876Z] Cloning with configured refspecs honoured and without tags [2020-09-01T01:27:03.924Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T01:27:03.994Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-09-01T01:27:04.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T01:27:04.064Z] > git --version # timeout=10 [2020-09-01T01:27:04.082Z] > git --version # 'git version 2.16.5' [2020-09-01T01:27:04.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:27:04.114Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:27:04.945Z] Fetching without tags [2020-09-01T01:27:05.466Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f [2020-09-01T01:27:05.657Z] Merge succeeded, producing 143b14416392d16fa7a8408427205f784dd11e5f [2020-09-01T01:27:05.657Z] Checking out Revision 143b14416392d16fa7a8408427205f784dd11e5f (PR-571) [2020-09-01T01:27:04.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T01:27:04.913Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-01T01:27:04.928Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:27:04.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T01:27:04.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T01:27:04.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:27:04.959Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:27:05.477Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:27:05.496Z] > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-01T01:27:05.570Z] > git remote # timeout=10 [2020-09-01T01:27:05.605Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T01:27:05.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:27:05.636Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-01T01:27:05.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T01:27:05.662Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:27:05.674Z] > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-01T01:27:09.445Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T01:27:10.601Z] ========================================================= [2020-09-01T01:27:10.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-01T01:27:10.601Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:27:12.090Z] + 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-01T01:27:12.821Z] Sending build context to Docker daemon 3.178MB [2020-09-01T01:27:12.821Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T01:27:12.821Z] Step 2/8 : FROM ${BASE} [2020-09-01T01:27:12.821Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-01T01:27:12.821Z] df20fa9351a1: Pulling fs layer [2020-09-01T01:27:12.821Z] ed8968b2872e: Pulling fs layer [2020-09-01T01:27:12.821Z] a92cc7c5fd73: Pulling fs layer [2020-09-01T01:27:12.821Z] 2dd03ba5bac4: Pulling fs layer [2020-09-01T01:27:12.821Z] 1e091d79d1de: Pulling fs layer [2020-09-01T01:27:12.821Z] 481702a1767f: Pulling fs layer [2020-09-01T01:27:12.821Z] f64a6f60c768: Pulling fs layer [2020-09-01T01:27:12.821Z] e78d2573fc39: Pulling fs layer [2020-09-01T01:27:12.822Z] e876d2f968b6: Pulling fs layer [2020-09-01T01:27:12.822Z] ce8a83651883: Pulling fs layer [2020-09-01T01:27:12.822Z] 07967f4d0e4b: Pulling fs layer [2020-09-01T01:27:12.822Z] 1e091d79d1de: Waiting [2020-09-01T01:27:12.822Z] 481702a1767f: Waiting [2020-09-01T01:27:12.822Z] f64a6f60c768: Waiting [2020-09-01T01:27:12.822Z] e78d2573fc39: Waiting [2020-09-01T01:27:12.822Z] e876d2f968b6: Waiting [2020-09-01T01:27:12.822Z] ce8a83651883: Waiting [2020-09-01T01:27:12.822Z] 07967f4d0e4b: Waiting [2020-09-01T01:27:12.822Z] 2dd03ba5bac4: Waiting [2020-09-01T01:27:12.822Z] a92cc7c5fd73: Verifying Checksum [2020-09-01T01:27:12.822Z] a92cc7c5fd73: Download complete [2020-09-01T01:27:12.822Z] ed8968b2872e: Download complete [2020-09-01T01:27:13.165Z] df20fa9351a1: Verifying Checksum [2020-09-01T01:27:13.165Z] df20fa9351a1: Download complete [2020-09-01T01:27:13.165Z] 1e091d79d1de: Verifying Checksum [2020-09-01T01:27:13.165Z] 1e091d79d1de: Download complete [2020-09-01T01:27:13.165Z] 481702a1767f: Verifying Checksum [2020-09-01T01:27:13.165Z] 481702a1767f: Download complete [2020-09-01T01:27:13.511Z] df20fa9351a1: Pull complete [2020-09-01T01:27:13.511Z] ed8968b2872e: Pull complete [2020-09-01T01:27:13.833Z] a92cc7c5fd73: Pull complete [2020-09-01T01:27:15.380Z] f64a6f60c768: Verifying Checksum [2020-09-01T01:27:15.381Z] f64a6f60c768: Download complete [2020-09-01T01:27:15.381Z] e876d2f968b6: Verifying Checksum [2020-09-01T01:27:15.381Z] e876d2f968b6: Download complete [2020-09-01T01:27:16.090Z] ce8a83651883: Verifying Checksum [2020-09-01T01:27:16.090Z] ce8a83651883: Download complete [2020-09-01T01:27:16.090Z] 2dd03ba5bac4: Verifying Checksum [2020-09-01T01:27:16.090Z] 2dd03ba5bac4: Download complete [2020-09-01T01:27:16.357Z] 07967f4d0e4b: Verifying Checksum [2020-09-01T01:27:16.357Z] 07967f4d0e4b: Download complete [2020-09-01T01:27:16.357Z] e78d2573fc39: Verifying Checksum [2020-09-01T01:27:16.357Z] e78d2573fc39: Download complete [2020-09-01T01:27:20.262Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-960 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-01T01:27:20.326Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-09-01T01:27:23.224Z] 2dd03ba5bac4: Pull complete [2020-09-01T01:27:23.499Z] 1e091d79d1de: Pull complete [2020-09-01T01:27:23.777Z] 481702a1767f: Pull complete [2020-09-01T01:27:25.562Z] using credential edgex-jenkins-ssh [2020-09-01T01:27:25.616Z] Cloning the remote Git repository [2020-09-01T01:27:25.616Z] Cloning with configured refspecs honoured and without tags [2020-09-01T01:27:25.693Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T01:27:25.802Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-09-01T01:27:25.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T01:27:25.870Z] > git --version # timeout=10 [2020-09-01T01:27:25.898Z] > git --version # 'git version 2.17.1' [2020-09-01T01:27:25.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:27:25.989Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:27:27.133Z] Fetching without tags [2020-09-01T01:27:27.687Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f [2020-09-01T01:27:27.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T01:27:27.068Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-01T01:27:27.083Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:27:27.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T01:27:27.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T01:27:27.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:27:27.166Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:27:27.715Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:27:27.739Z] > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-01T01:27:28.087Z] Merge succeeded, producing 143b14416392d16fa7a8408427205f784dd11e5f [2020-09-01T01:27:28.088Z] Checking out Revision 143b14416392d16fa7a8408427205f784dd11e5f (PR-571) [2020-09-01T01:27:27.874Z] > git remote # timeout=10 [2020-09-01T01:27:27.919Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T01:27:27.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:27:27.995Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-01T01:27:28.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T01:27:28.101Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:27:28.113Z] > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-01T01:27:32.021Z] f64a6f60c768: Pull complete [2020-09-01T01:27:32.325Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T01:27:33.620Z] ========================================================= [2020-09-01T01:27:33.620Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-01T01:27:33.620Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:27:34.650Z] + 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-01T01:27:35.406Z] e78d2573fc39: Pull complete [2020-09-01T01:27:35.406Z] e876d2f968b6: Pull complete [2020-09-01T01:27:35.643Z] Sending build context to Docker daemon 3.178MB [2020-09-01T01:27:35.643Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T01:27:35.643Z] Step 2/8 : FROM ${BASE} [2020-09-01T01:27:35.917Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-01T01:27:35.917Z] b538f80385f9: Pulling fs layer [2020-09-01T01:27:35.917Z] 74f711af9a0d: Pulling fs layer [2020-09-01T01:27:35.917Z] 99f96fe45779: Pulling fs layer [2020-09-01T01:27:35.917Z] fd7a069fd194: Pulling fs layer [2020-09-01T01:27:35.917Z] 66aa3694b03b: Pulling fs layer [2020-09-01T01:27:35.917Z] 170f70906a0f: Pulling fs layer [2020-09-01T01:27:35.917Z] ad7c5574e4b9: Pulling fs layer [2020-09-01T01:27:35.917Z] e772456be8f7: Pulling fs layer [2020-09-01T01:27:35.917Z] c890913d741a: Pulling fs layer [2020-09-01T01:27:35.917Z] 2480fcc9aa5a: Pulling fs layer [2020-09-01T01:27:35.917Z] 09adf4765672: Pulling fs layer [2020-09-01T01:27:35.917Z] fd7a069fd194: Waiting [2020-09-01T01:27:35.917Z] 66aa3694b03b: Waiting [2020-09-01T01:27:35.917Z] 170f70906a0f: Waiting [2020-09-01T01:27:35.917Z] ad7c5574e4b9: Waiting [2020-09-01T01:27:35.917Z] e772456be8f7: Waiting [2020-09-01T01:27:35.917Z] c890913d741a: Waiting [2020-09-01T01:27:35.917Z] 2480fcc9aa5a: Waiting [2020-09-01T01:27:35.917Z] 09adf4765672: Waiting [2020-09-01T01:27:35.917Z] 99f96fe45779: Download complete [2020-09-01T01:27:35.917Z] 74f711af9a0d: Verifying Checksum [2020-09-01T01:27:35.917Z] 74f711af9a0d: Download complete [2020-09-01T01:27:35.917Z] 66aa3694b03b: Verifying Checksum [2020-09-01T01:27:35.917Z] 66aa3694b03b: Download complete [2020-09-01T01:27:36.192Z] 170f70906a0f: Verifying Checksum [2020-09-01T01:27:36.192Z] 170f70906a0f: Download complete [2020-09-01T01:27:36.192Z] b538f80385f9: Download complete [2020-09-01T01:27:36.825Z] ce8a83651883: Pull complete [2020-09-01T01:27:36.825Z] 07967f4d0e4b: Pull complete [2020-09-01T01:27:36.825Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-01T01:27:36.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-01T01:27:36.825Z] ---> 5d7c900382c6 [2020-09-01T01:27:36.825Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T01:27:37.191Z] b538f80385f9: Pull complete [2020-09-01T01:27:37.797Z] 74f711af9a0d: Pull complete [2020-09-01T01:27:38.073Z] 99f96fe45779: Pull complete [2020-09-01T01:27:38.236Z] ---> Running in da2e13d5f155 [2020-09-01T01:27:38.236Z] Removing intermediate container da2e13d5f155 [2020-09-01T01:27:38.236Z] ---> 077cd559a00b [2020-09-01T01:27:38.236Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:27:38.236Z] ---> Running in 137e969e6983 [2020-09-01T01:27:40.182Z] Removing intermediate container 137e969e6983 [2020-09-01T01:27:40.182Z] ---> 5088518ce30d [2020-09-01T01:27:40.182Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-01T01:27:40.182Z] ---> Running in 7069f6c9cbba [2020-09-01T01:27:40.712Z] ad7c5574e4b9: Verifying Checksum [2020-09-01T01:27:40.712Z] ad7c5574e4b9: Download complete [2020-09-01T01:27:40.712Z] c890913d741a: Download complete [2020-09-01T01:27:40.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T01:27:42.164Z] 2480fcc9aa5a: Verifying Checksum [2020-09-01T01:27:42.164Z] 2480fcc9aa5a: Download complete [2020-09-01T01:27:42.164Z] 09adf4765672: Verifying Checksum [2020-09-01T01:27:42.164Z] 09adf4765672: Download complete [2020-09-01T01:27:42.436Z] e772456be8f7: Verifying Checksum [2020-09-01T01:27:42.436Z] e772456be8f7: Download complete [2020-09-01T01:27:42.681Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T01:27:42.709Z] fd7a069fd194: Verifying Checksum [2020-09-01T01:27:42.709Z] fd7a069fd194: Download complete [2020-09-01T01:27:44.097Z] OK: 166 MiB in 39 packages [2020-09-01T01:27:44.369Z] Removing intermediate container 7069f6c9cbba [2020-09-01T01:27:44.369Z] ---> 5c5dd42a8596 [2020-09-01T01:27:44.369Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-01T01:27:44.369Z] ---> Running in bcaea6f5caba [2020-09-01T01:27:44.640Z] Removing intermediate container bcaea6f5caba [2020-09-01T01:27:44.641Z] ---> c0bdadd76298 [2020-09-01T01:27:44.641Z] Step 7/8 : COPY . . [2020-09-01T01:27:46.039Z] ---> 087377af69e2 [2020-09-01T01:27:46.039Z] Step 8/8 : RUN go mod download [2020-09-01T01:27:46.039Z] ---> Running in d63ffe81caed [2020-09-01T01:27:48.613Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:27:48.613Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:27:48.613Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T01:27:48.613Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:27:48.613Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T01:27:48.613Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T01:27:48.613Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:27:48.879Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T01:27:48.879Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-01T01:27:48.879Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:27:48.880Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:27:48.880Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:27:48.880Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:27:48.880Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T01:27:48.880Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:27:49.141Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T01:27:49.141Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:27:49.141Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T01:27:49.141Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T01:27:49.141Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T01:27:49.141Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T01:27:49.141Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:27:49.404Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T01:27:49.404Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T01:27:49.404Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:27:49.404Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:27:49.404Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T01:27:49.404Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T01:27:49.668Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T01:27:49.959Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T01:27:49.959Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T01:27:49.959Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T01:27:49.959Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T01:27:49.959Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T01:27:49.959Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T01:27:49.959Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T01:27:50.223Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T01:27:50.223Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:27:50.223Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:27:50.223Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T01:27:50.223Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T01:27:50.223Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T01:27:50.488Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T01:27:50.488Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:27:50.488Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:27:50.488Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T01:27:50.488Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:27:50.488Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T01:27:50.488Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T01:27:50.765Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T01:27:50.765Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T01:27:50.765Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T01:27:50.765Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T01:27:50.765Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T01:27:50.765Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T01:27:50.765Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T01:27:51.049Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T01:27:51.049Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T01:27:51.049Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T01:27:51.049Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T01:27:51.049Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T01:27:51.049Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:27:55.104Z] fd7a069fd194: Pull complete [2020-09-01T01:27:55.104Z] 66aa3694b03b: Pull complete [2020-09-01T01:27:55.104Z] 170f70906a0f: Pull complete [2020-09-01T01:27:58.529Z] ad7c5574e4b9: Pull complete [2020-09-01T01:27:59.249Z] Removing intermediate container d63ffe81caed [2020-09-01T01:27:59.249Z] ---> 655364affdcb [2020-09-01T01:27:59.249Z] Successfully built 655364affdcb [2020-09-01T01:27:59.249Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:27:59.993Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-01T01:27:59.993Z] . [Pipeline] withDockerContainer [2020-09-01T01:28:00.328Z] prd-centos7-docker-4c-2g-961 does not seem to be running inside a container [2020-09-01T01:28:00.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-01T01:28:01.858Z] $ docker top 3dbf9e005e29b3f87574e7a3c15da5897760255ed5cca07e31080eb4eac47da1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T01:28:02.394Z] + go version [2020-09-01T01:28:02.395Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-01T01:28:02.732Z] + make test [2020-09-01T01:28:02.733Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-01T01:28:02.858Z] e772456be8f7: Pull complete [2020-09-01T01:28:03.132Z] c890913d741a: Pull complete [2020-09-01T01:28:04.192Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-01T01:28:05.512Z] 2480fcc9aa5a: Pull complete [2020-09-01T01:28:05.783Z] 09adf4765672: Pull complete [2020-09-01T01:28:05.783Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-01T01:28:06.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-01T01:28:06.057Z] ---> 2248a725d1cf [2020-09-01T01:28:06.057Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T01:28:10.410Z] ---> Running in 6dd97cab793c [2020-09-01T01:28:10.410Z] Removing intermediate container 6dd97cab793c [2020-09-01T01:28:10.410Z] ---> 19dd81b61290 [2020-09-01T01:28:10.410Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:28:10.682Z] ---> Running in 3f7c6dbbeb17 [2020-09-01T01:28:13.301Z] Removing intermediate container 3f7c6dbbeb17 [2020-09-01T01:28:13.301Z] ---> c5232a83405e [2020-09-01T01:28:13.301Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-01T01:28:13.301Z] ---> Running in 62ab9dfb065a [2020-09-01T01:28:14.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T01:28:15.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T01:28:16.650Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-01T01:28:16.650Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-01T01:28:16.650Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-01T01:28:16.943Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 20.8% of statements [2020-09-01T01:28:17.674Z] OK: 142 MiB in 39 packages [2020-09-01T01:28:18.263Z] Removing intermediate container 62ab9dfb065a [2020-09-01T01:28:18.263Z] ---> 0cae9de5ff89 [2020-09-01T01:28:18.263Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-01T01:28:18.536Z] ---> Running in f891009d5215 [2020-09-01T01:28:18.893Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 97.1% of statements [2020-09-01T01:28:19.130Z] Removing intermediate container f891009d5215 [2020-09-01T01:28:19.130Z] ---> 50877b7c8275 [2020-09-01T01:28:19.130Z] Step 7/8 : COPY . . [2020-09-01T01:28:20.104Z] ---> a15d3e1892c6 [2020-09-01T01:28:20.104Z] Step 8/8 : RUN go mod download [2020-09-01T01:28:20.377Z] ---> Running in 77334fb2e3a7 [2020-09-01T01:28:23.752Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:28:23.752Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:28:23.752Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T01:28:23.752Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:28:23.752Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T01:28:23.752Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T01:28:23.752Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:28:23.752Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T01:28:23.752Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-01T01:28:23.752Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:28:23.752Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:28:23.752Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:28:23.752Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:28:23.752Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T01:28:23.752Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:28:23.752Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T01:28:23.752Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:28:23.752Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T01:28:23.752Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T01:28:23.752Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T01:28:24.020Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T01:28:24.020Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:28:24.020Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T01:28:24.020Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T01:28:24.020Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:28:24.020Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:28:24.020Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T01:28:24.288Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T01:28:24.556Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T01:28:24.556Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T01:28:24.556Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T01:28:24.556Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T01:28:24.556Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T01:28:24.556Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T01:28:24.556Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T01:28:24.825Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T01:28:24.825Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T01:28:24.825Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:28:24.825Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:28:24.825Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T01:28:24.825Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T01:28:24.825Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T01:28:25.096Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T01:28:25.096Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:28:25.096Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:28:25.096Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T01:28:25.096Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:28:25.096Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T01:28:25.096Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T01:28:25.367Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T01:28:25.367Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T01:28:25.367Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T01:28:25.367Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T01:28:25.367Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T01:28:25.367Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T01:28:25.367Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T01:28:25.636Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T01:28:25.636Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T01:28:25.636Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T01:28:25.636Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T01:28:25.636Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T01:28:25.636Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:28:35.794Z] Removing intermediate container 77334fb2e3a7 [2020-09-01T01:28:35.794Z] ---> 6cb39ff1d095 [2020-09-01T01:28:35.794Z] Successfully built 6cb39ff1d095 [2020-09-01T01:28:35.794Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:28:36.514Z] + docker inspect -f . ci-base-image-arm64 [2020-09-01T01:28:36.514Z] . [Pipeline] withDockerContainer [2020-09-01T01:28:36.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-960 does not seem to be running inside a container [2020-09-01T01:28:36.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-01T01:28:38.515Z] $ docker top 08489bb783e6508c010a34bf5c021efca678e9a788e0f0be1f3e072c98b20b1b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T01:28:39.862Z] + go version [2020-09-01T01:28:39.862Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-01T01:28:40.899Z] + make test [2020-09-01T01:28:40.899Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-01T01:28:41.883Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-01T01:28:51.183Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 9.4% of statements [2020-09-01T01:28:51.183Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 21.9% of statements [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-01T01:28:51.183Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.028s coverage: 37.0% of statements [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-01T01:28:51.183Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.061s coverage: 65.4% of statements [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-01T01:28:51.183Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.054s coverage: 52.6% of statements [2020-09-01T01:28:51.183Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 68.9% of statements [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-01T01:28:51.183Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-01T01:28:51.183Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T01:28:52.656Z] gofmt -l . [2020-09-01T01:28:52.656Z] [ "`gofmt -l .`" = "" ] [2020-09-01T01:28:52.932Z] ./bin/test-attribution-txt.sh [2020-09-01T01:28:53.520Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T01:28:54.624Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T01:28:54.634Z] $ docker stop --time=1 3dbf9e005e29b3f87574e7a3c15da5897760255ed5cca07e31080eb4eac47da1 [2020-09-01T01:28:56.420Z] $ docker rm -f 3dbf9e005e29b3f87574e7a3c15da5897760255ed5cca07e31080eb4eac47da1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T01:28:59.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T01:28:59.548Z] + ls -al . [2020-09-01T01:28:59.548Z] total 188 [2020-09-01T01:28:59.548Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 1 01:28 . [2020-09-01T01:28:59.548Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 01:27 .. [2020-09-01T01:28:59.548Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 1 01:27 bin [2020-09-01T01:28:59.548Z] -rw-r--r--. 1 jenkins jenkins 110898 Sep 1 01:28 coverage.out [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 1 01:27 Dockerfile.build [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 01:27 .dockerignore [2020-09-01T01:28:59.548Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 1 01:27 example [2020-09-01T01:28:59.548Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 01:27 .git [2020-09-01T01:28:59.548Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 01:27 .github [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 1 01:27 .gitignore [2020-09-01T01:28:59.548Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 1 01:28 go.mod [2020-09-01T01:28:59.548Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 1 01:28 go.sum [2020-09-01T01:28:59.548Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 1 01:27 internal [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 1 01:27 Jenkinsfile [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 1 01:27 LICENSE [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 1 01:27 Makefile [2020-09-01T01:28:59.548Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 1 01:27 openapi [2020-09-01T01:28:59.548Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 1 01:27 pkg [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 1 01:27 README.md [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 1 01:27 RELEASE-NOTES.txt [2020-09-01T01:28:59.548Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 01:27 .semver [2020-09-01T01:28:59.548Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 01:27 snap [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 01:25 VERSION [2020-09-01T01:28:59.548Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 1 01:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:28:59.927Z] + 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=143b14416392d16fa7a8408427205f784dd11e5f --label arch=amd64 --label version=0.0.0 . [2020-09-01T01:29:00.196Z] Sending build context to Docker daemon 3.29MB [2020-09-01T01:29:00.196Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-01T01:29:00.196Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-01T01:29:00.196Z] ---> 655364affdcb [2020-09-01T01:29:00.196Z] Step 3/24 : ARG MAKE='make build' [2020-09-01T01:29:00.790Z] ---> Running in 98b1edc537b7 [2020-09-01T01:29:01.063Z] Removing intermediate container 98b1edc537b7 [2020-09-01T01:29:01.063Z] ---> fedccef0e472 [2020-09-01T01:29:01.063Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-01T01:29:01.063Z] ---> Running in 6a5d92ecf549 [2020-09-01T01:29:01.353Z] Removing intermediate container 6a5d92ecf549 [2020-09-01T01:29:01.353Z] ---> 4db9752bd163 [2020-09-01T01:29:01.353Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T01:29:01.353Z] ---> Running in c3cc2275fd58 [2020-09-01T01:29:01.624Z] Removing intermediate container c3cc2275fd58 [2020-09-01T01:29:01.624Z] ---> de17e8cdab66 [2020-09-01T01:29:01.624Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:29:01.899Z] ---> Running in b1e95c62d3f9 [2020-09-01T01:29:03.043Z] Removing intermediate container b1e95c62d3f9 [2020-09-01T01:29:03.043Z] ---> d02f16d5e467 [2020-09-01T01:29:03.043Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-01T01:29:03.314Z] ---> Running in 8c07a1a277ea [2020-09-01T01:29:03.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T01:29:04.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T01:29:05.919Z] OK: 166 MiB in 39 packages [2020-09-01T01:29:06.520Z] Removing intermediate container 8c07a1a277ea [2020-09-01T01:29:06.520Z] ---> 291bca45b5ac [2020-09-01T01:29:06.520Z] Step 8/24 : COPY . . [2020-09-01T01:29:07.492Z] ---> 930cfbb211d9 [2020-09-01T01:29:07.492Z] Step 9/24 : RUN ${MAKE} [2020-09-01T01:29:07.756Z] ---> Running in 99ba95539b71 [2020-09-01T01:29:08.353Z] 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-01T01:29:14.255Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-01T01:29:14.255Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-01T01:29:14.255Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-01T01:29:14.255Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.8% of statements [2020-09-01T01:29:14.255Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.223s coverage: 97.1% of statements [2020-09-01T01:29:18.537Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-01T01:29:20.489Z] Removing intermediate container 99ba95539b71 [2020-09-01T01:29:20.489Z] ---> 7970bb50eb37 [2020-09-01T01:29:20.489Z] Step 10/24 : FROM scratch [2020-09-01T01:29:20.489Z] ---> [2020-09-01T01:29:20.489Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T01:29:20.489Z] ---> Running in e1ea07af30f9 [2020-09-01T01:29:20.489Z] Removing intermediate container e1ea07af30f9 [2020-09-01T01:29:20.489Z] ---> 7254c483b7dd [2020-09-01T01:29:20.489Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-01T01:29:20.756Z] ---> Running in 2bd32335b87f [2020-09-01T01:29:20.756Z] Removing intermediate container 2bd32335b87f [2020-09-01T01:29:20.756Z] ---> cdeb386bedf6 [2020-09-01T01:29:20.756Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-01T01:29:20.756Z] ---> Running in a9d03d5f7c67 [2020-09-01T01:29:21.022Z] Removing intermediate container a9d03d5f7c67 [2020-09-01T01:29:21.023Z] ---> 87e2e4911e17 [2020-09-01T01:29:21.023Z] Step 14/24 : WORKDIR / [2020-09-01T01:29:21.023Z] ---> Running in 03e1738c7c84 [2020-09-01T01:29:21.288Z] Removing intermediate container 03e1738c7c84 [2020-09-01T01:29:21.288Z] ---> 12de092a9758 [2020-09-01T01:29:21.288Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-01T01:29:22.249Z] ---> 839c02a2c5e8 [2020-09-01T01:29:22.249Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-01T01:29:22.249Z] ---> 1d86c58d42ee [2020-09-01T01:29:22.249Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-01T01:29:22.826Z] ---> 610098114cb9 [2020-09-01T01:29:22.826Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-01T01:29:23.088Z] ---> 8dce4afba440 [2020-09-01T01:29:23.088Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-01T01:29:23.349Z] ---> 1f9f48855eca [2020-09-01T01:29:23.349Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-01T01:29:23.349Z] ---> Running in f63d65dc71da [2020-09-01T01:29:23.611Z] Removing intermediate container f63d65dc71da [2020-09-01T01:29:23.611Z] ---> 7e2942051d10 [2020-09-01T01:29:23.611Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T01:29:23.611Z] ---> Running in 67155fc0959b [2020-09-01T01:29:23.873Z] Removing intermediate container 67155fc0959b [2020-09-01T01:29:23.873Z] ---> fb77cb93a3a8 [2020-09-01T01:29:23.873Z] Step 22/24 : LABEL arch=amd64 [2020-09-01T01:29:23.873Z] ---> Running in efcf8afc6cee [2020-09-01T01:29:24.134Z] Removing intermediate container efcf8afc6cee [2020-09-01T01:29:24.134Z] ---> 9a02e81e607d [2020-09-01T01:29:24.134Z] Step 23/24 : LABEL git_sha=143b14416392d16fa7a8408427205f784dd11e5f [2020-09-01T01:29:24.134Z] ---> Running in 3d5160ce11de [2020-09-01T01:29:24.396Z] Removing intermediate container 3d5160ce11de [2020-09-01T01:29:24.396Z] ---> d90f00a5bf92 [2020-09-01T01:29:24.396Z] Step 24/24 : LABEL version=0.0.0 [2020-09-01T01:29:24.396Z] ---> Running in 1c807f6e0103 [2020-09-01T01:29:24.658Z] Removing intermediate container 1c807f6e0103 [2020-09-01T01:29:24.658Z] ---> 44057b6e4886 [2020-09-01T01:29:24.658Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T01:29:24.658Z] Successfully built 44057b6e4886 [2020-09-01T01:29:24.658Z] 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-01T01:29:46.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 9.4% of statements [2020-09-01T01:29:46.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.9% of statements [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-01T01:29:46.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.092s coverage: 37.0% of statements [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-01T01:29:46.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.127s coverage: 65.4% of statements [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-01T01:29:46.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.033s coverage: 52.6% of statements [2020-09-01T01:29:46.586Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 68.9% of statements [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-01T01:29:46.586Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-01T01:29:46.586Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T01:29:50.906Z] gofmt -l . [2020-09-01T01:29:50.906Z] [ "`gofmt -l .`" = "" ] [2020-09-01T01:29:50.906Z] ./bin/test-attribution-txt.sh [2020-09-01T01:29:51.885Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T01:29:52.172Z] Warning: overwriting stash ‘coverage-report’ [2020-09-01T01:29:52.993Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T01:29:53.001Z] $ docker stop --time=1 08489bb783e6508c010a34bf5c021efca678e9a788e0f0be1f3e072c98b20b1b [2020-09-01T01:29:55.084Z] $ docker rm -f 08489bb783e6508c010a34bf5c021efca678e9a788e0f0be1f3e072c98b20b1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T01:29:56.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T01:29:56.665Z] + ls -al . [2020-09-01T01:29:56.665Z] total 228 [2020-09-01T01:29:56.665Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 01:29 . [2020-09-01T01:29:56.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 .. [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 01:27 .dockerignore [2020-09-01T01:29:56.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:27 .git [2020-09-01T01:29:56.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:27 .github [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 1 01:27 .gitignore [2020-09-01T01:29:56.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:27 .semver [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 1 01:27 Dockerfile.build [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 1 01:27 Jenkinsfile [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 1 01:27 LICENSE [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 1 01:27 Makefile [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 1 01:27 README.md [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 1 01:27 RELEASE-NOTES.txt [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:25 VERSION [2020-09-01T01:29:56.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:27 bin [2020-09-01T01:29:56.665Z] -rw-r--r-- 1 jenkins jenkins 110898 Sep 1 01:29 coverage.out [2020-09-01T01:29:56.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 example [2020-09-01T01:29:56.665Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 1 01:29 go.mod [2020-09-01T01:29:56.665Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 1 01:29 go.sum [2020-09-01T01:29:56.665Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 1 01:27 internal [2020-09-01T01:29:56.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 openapi [2020-09-01T01:29:56.665Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 1 01:27 pkg [2020-09-01T01:29:56.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:27 snap [2020-09-01T01:29:56.665Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 1 01:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:29:57.021Z] + 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=143b14416392d16fa7a8408427205f784dd11e5f --label arch=arm64 --label version=0.0.0 . [2020-09-01T01:29:57.628Z] Sending build context to Docker daemon 3.29MB [2020-09-01T01:29:57.628Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-01T01:29:57.628Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-01T01:29:57.628Z] ---> 6cb39ff1d095 [2020-09-01T01:29:57.628Z] Step 3/24 : ARG MAKE='make build' [2020-09-01T01:29:57.628Z] ---> Running in c44f0691b0f1 [2020-09-01T01:29:58.218Z] Removing intermediate container c44f0691b0f1 [2020-09-01T01:29:58.218Z] ---> 4783e73f3fde [2020-09-01T01:29:58.218Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-01T01:29:58.218Z] ---> Running in 4c3594ecc7c0 [2020-09-01T01:29:58.810Z] Removing intermediate container 4c3594ecc7c0 [2020-09-01T01:29:58.810Z] ---> e53b95ad5a93 [2020-09-01T01:29:58.810Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T01:29:58.810Z] ---> Running in 78369500d51a [2020-09-01T01:29:59.406Z] Removing intermediate container 78369500d51a [2020-09-01T01:29:59.406Z] ---> 851111063d9c [2020-09-01T01:29:59.406Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:29:59.406Z] ---> Running in 5682ad93cdc2 [2020-09-01T01:30:02.032Z] Removing intermediate container 5682ad93cdc2 [2020-09-01T01:30:02.032Z] ---> 428dede1cb2d [2020-09-01T01:30:02.032Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-01T01:30:02.032Z] ---> Running in 15b97501516f [2020-09-01T01:30:03.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T01:30:04.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T01:30:05.391Z] OK: 142 MiB in 39 packages [2020-09-01T01:30:06.370Z] Removing intermediate container 15b97501516f [2020-09-01T01:30:06.370Z] ---> b1e31635a534 [2020-09-01T01:30:06.370Z] Step 8/24 : COPY . . [2020-09-01T01:30:07.342Z] ---> 951a5d8f9c87 [2020-09-01T01:30:07.342Z] Step 9/24 : RUN ${MAKE} [2020-09-01T01:30:07.617Z] ---> Running in 42d22e54e614 [2020-09-01T01:30:09.041Z] 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-01T01:30:31.208Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-01T01:30:34.588Z] Removing intermediate container 42d22e54e614 [2020-09-01T01:30:34.588Z] ---> 12a1959c356c [2020-09-01T01:30:34.588Z] Step 10/24 : FROM scratch [2020-09-01T01:30:34.588Z] ---> [2020-09-01T01:30:34.588Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T01:30:34.588Z] ---> Running in 798d853643d9 [2020-09-01T01:30:34.588Z] Removing intermediate container 798d853643d9 [2020-09-01T01:30:34.588Z] ---> 58a1681a3f84 [2020-09-01T01:30:34.588Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-01T01:30:34.588Z] ---> Running in 80696e6474e8 [2020-09-01T01:30:35.182Z] Removing intermediate container 80696e6474e8 [2020-09-01T01:30:35.182Z] ---> 4ea43980ce55 [2020-09-01T01:30:35.182Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-01T01:30:35.182Z] ---> Running in 64914ff142cb [2020-09-01T01:30:35.774Z] Removing intermediate container 64914ff142cb [2020-09-01T01:30:35.774Z] ---> fdea0404199e [2020-09-01T01:30:35.774Z] Step 14/24 : WORKDIR / [2020-09-01T01:30:35.774Z] ---> Running in 0b4a7d14c639 [2020-09-01T01:30:36.046Z] Removing intermediate container 0b4a7d14c639 [2020-09-01T01:30:36.046Z] ---> 964c1bf98946 [2020-09-01T01:30:36.046Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-01T01:30:37.481Z] ---> 07e6705f9721 [2020-09-01T01:30:37.481Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-01T01:30:38.074Z] ---> 4db4efdab968 [2020-09-01T01:30:38.074Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-01T01:30:38.668Z] ---> 9ac6a65d4f4d [2020-09-01T01:30:38.669Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-01T01:30:39.642Z] ---> f721a6214e89 [2020-09-01T01:30:39.642Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-01T01:30:40.234Z] ---> 8bf48b9c1cb4 [2020-09-01T01:30:40.234Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-01T01:30:40.234Z] ---> Running in 68a768b4d343 [2020-09-01T01:30:40.831Z] Removing intermediate container 68a768b4d343 [2020-09-01T01:30:40.831Z] ---> 83b49828c50b [2020-09-01T01:30:40.831Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T01:30:40.831Z] ---> Running in 343eea40e614 [2020-09-01T01:30:41.424Z] Removing intermediate container 343eea40e614 [2020-09-01T01:30:41.424Z] ---> f7a64a52e66b [2020-09-01T01:30:41.424Z] Step 22/24 : LABEL arch=arm64 [2020-09-01T01:30:41.424Z] ---> Running in 50598f805bcf [2020-09-01T01:30:42.020Z] Removing intermediate container 50598f805bcf [2020-09-01T01:30:42.020Z] ---> f7e3f9892c54 [2020-09-01T01:30:42.020Z] Step 23/24 : LABEL git_sha=143b14416392d16fa7a8408427205f784dd11e5f [2020-09-01T01:30:42.020Z] ---> Running in 7160e771c2d1 [2020-09-01T01:30:42.617Z] Removing intermediate container 7160e771c2d1 [2020-09-01T01:30:42.617Z] ---> 58142bcac3be [2020-09-01T01:30:42.617Z] Step 24/24 : LABEL version=0.0.0 [2020-09-01T01:30:42.617Z] ---> Running in 4072482c14d2 [2020-09-01T01:30:43.210Z] Removing intermediate container 4072482c14d2 [2020-09-01T01:30:43.210Z] ---> 9485a70a8346 [2020-09-01T01:30:43.210Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T01:30:43.210Z] Successfully built 9485a70a8346 [2020-09-01T01:30:43.210Z] 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-01T01:30:44.824Z] provisioning config files... [2020-09-01T01:30:44.836Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config1094423603573300093tmp [Pipeline] { [Pipeline] sh [2020-09-01T01:30:45.209Z] + curl -s https://codecov.io/bash [2020-09-01T01:30:45.209Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config1094423603573300093tmp [Pipeline] } [2020-09-01T01:30:45.478Z] 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-01T01:30:47.423Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:30:47.987Z] ---> package-listing.sh [2020-09-01T01:30:47.987Z] ++ facter osfamily [2020-09-01T01:30:47.987Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-01T01:30:47.987Z] + OS_FAMILY=redhat [2020-09-01T01:30:47.987Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-01T01:30:47.987Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-01T01:30:47.987Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-01T01:30:47.987Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-01T01:30:47.987Z] + PACKAGES=/tmp/packages_start.txt [2020-09-01T01:30:47.987Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-01T01:30:47.987Z] + PACKAGES=/tmp/packages_end.txt [2020-09-01T01:30:47.987Z] + case "${OS_FAMILY}" in [2020-09-01T01:30:47.987Z] + rpm -qa [2020-09-01T01:30:47.987Z] + sort [2020-09-01T01:30:52.202Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-01T01:30:52.202Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-01T01:30:52.202Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-01T01:30:52.202Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-01T01:30:52.202Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-09-01T01:30:52.202Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:30:53.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T01:30:53.105Z] [2020-09-01T01:30:53.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:30:53.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T01:30:53.452Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-01T01:30:53.452Z] c9b1b535fdd9: Pulling fs layer [2020-09-01T01:30:53.452Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-01T01:30:53.452Z] 756a868c4378: Pulling fs layer [2020-09-01T01:30:53.452Z] 444b2fc9a129: Pulling fs layer [2020-09-01T01:30:53.452Z] ea15f1150254: Pulling fs layer [2020-09-01T01:30:53.452Z] 41b27a9f41bf: Pulling fs layer [2020-09-01T01:30:53.452Z] 28c525ee5125: Pulling fs layer [2020-09-01T01:30:53.452Z] 094b1ea09ed8: Pulling fs layer [2020-09-01T01:30:53.452Z] 138eaada9080: Pulling fs layer [2020-09-01T01:30:53.452Z] 0622d0fa9048: Pulling fs layer [2020-09-01T01:30:53.452Z] 444b2fc9a129: Waiting [2020-09-01T01:30:53.452Z] ea15f1150254: Waiting [2020-09-01T01:30:53.452Z] 41b27a9f41bf: Waiting [2020-09-01T01:30:53.452Z] 28c525ee5125: Waiting [2020-09-01T01:30:53.452Z] 094b1ea09ed8: Waiting [2020-09-01T01:30:53.452Z] 138eaada9080: Waiting [2020-09-01T01:30:53.452Z] 0622d0fa9048: Waiting [2020-09-01T01:30:53.452Z] 2cc5ad85d9ab: Download complete [2020-09-01T01:30:53.452Z] 444b2fc9a129: Verifying Checksum [2020-09-01T01:30:53.452Z] 444b2fc9a129: Download complete [2020-09-01T01:30:53.452Z] c9b1b535fdd9: Verifying Checksum [2020-09-01T01:30:53.452Z] c9b1b535fdd9: Download complete [2020-09-01T01:30:53.452Z] ea15f1150254: Verifying Checksum [2020-09-01T01:30:53.452Z] ea15f1150254: Download complete [2020-09-01T01:30:53.734Z] 28c525ee5125: Verifying Checksum [2020-09-01T01:30:53.734Z] 28c525ee5125: Download complete [2020-09-01T01:30:54.002Z] 756a868c4378: Verifying Checksum [2020-09-01T01:30:54.002Z] 756a868c4378: Download complete [2020-09-01T01:30:54.002Z] c9b1b535fdd9: Pull complete [2020-09-01T01:30:54.002Z] 138eaada9080: Verifying Checksum [2020-09-01T01:30:54.002Z] 138eaada9080: Download complete [2020-09-01T01:30:54.002Z] 0622d0fa9048: Verifying Checksum [2020-09-01T01:30:54.002Z] 0622d0fa9048: Download complete [2020-09-01T01:30:54.276Z] 094b1ea09ed8: Verifying Checksum [2020-09-01T01:30:54.276Z] 094b1ea09ed8: Download complete [2020-09-01T01:30:54.546Z] 2cc5ad85d9ab: Pull complete [2020-09-01T01:30:54.546Z] 41b27a9f41bf: Verifying Checksum [2020-09-01T01:30:54.546Z] 41b27a9f41bf: Download complete [2020-09-01T01:30:55.954Z] 756a868c4378: Pull complete [2020-09-01T01:30:55.954Z] 444b2fc9a129: Pull complete [2020-09-01T01:30:56.220Z] ea15f1150254: Pull complete [2020-09-01T01:31:00.453Z] 41b27a9f41bf: Pull complete [2020-09-01T01:31:00.453Z] 28c525ee5125: Pull complete [2020-09-01T01:31:03.012Z] 094b1ea09ed8: Pull complete [2020-09-01T01:31:03.012Z] 138eaada9080: Pull complete [2020-09-01T01:31:03.012Z] 0622d0fa9048: Pull complete [2020-09-01T01:31:03.272Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-01T01:31:03.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T01:31:03.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-01T01:31:03.446Z] prd-centos7-docker-4c-2g-959 does not seem to be running inside a container [2020-09-01T01:31:03.494Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-01T01:31:06.958Z] $ docker top 66b14fb5144cd7b1016af3c02fc13a66fa3fff6e727c50fa8092f07e4ff550f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T01:31:07.192Z] provisioning config files... [2020-09-01T01:31:07.208Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4851481325658216845tmp [Pipeline] { [Pipeline] echo [2020-09-01T01:31:07.288Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:31:07.579Z] ---> create-netrc.sh [Pipeline] echo [2020-09-01T01:31:07.590Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:31:07.898Z] ---> logs-deploy.sh [2020-09-01T01:31:07.898Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/6 [2020-09-01T01:31:07.898Z] INFO: archiving workspace using pattern(s): [2020-09-01T01:31:09.284Z] Archives upload complete. [2020-09-01T01:31:09.284Z] INFO: archiving logs to Nexus