Pull request #571 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1b2bb57ab736822d33844b2e1f337cdce5a21e30+4000e27a9f725d20d01bd2b86b2182ef891199d8 (fc6ebb101fa662d9d15123c982c7064f87efbc75) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2071 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 1b2bb57ab736822d33844b2e1f337cdce5a21e30 Merge succeeded, producing 1b2bb57ab736822d33844b2e1f337cdce5a21e30 Checking out Revision 1b2bb57ab736822d33844b2e1f337cdce5a21e30 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-10T05:07:04.008Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-10T05:07:04.259Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-10T05:07:04.347Z] ========================================================= [2020-09-10T05:07:04.347Z] EdgeX Global Pipelines Version Info [2020-09-10T05:07:04.347Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 68750e4b68bd98029eaa65dc3b8c32172af6df85 # timeout=10 [2020-09-10T05:07:06.180Z] ------------------- [2020-09-10T05:07:06.181Z] stable info: [2020-09-10T05:07:06.181Z] ------------------- [2020-09-10T05:07:06.181Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-10T05:07:06.181Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-10T05:07:06.181Z] Message: update stable to v1.0.119 [2020-09-10T05:07:06.753Z] ------------------- [2020-09-10T05:07:06.753Z] experimental info: [2020-09-10T05:07:06.753Z] ------------------- [2020-09-10T05:07:06.753Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-10T05:07:06.753Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-10T05:07:06.753Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-10T05:07:07.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-10T05:07:07.216Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-10T05:07:07.295Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-10T05:07:07.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-10T05:07:07.462Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-10T05:07:07.538Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-10T05:07:07.619Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-10T05:07:07.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-10T05:07:07.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-10T05:07:07.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-10T05:07:07.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-10T05:07:08.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-10T05:07:08.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-10T05:07:08.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-10T05:07:08.302Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-10T05:07:08.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T05:07:08.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T05:07:08.544Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T05:07:08.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-10T05:07:08.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-10T05:07:08.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-10T05:07:08.911Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-10T05:07:08.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-09-10T05:07:09.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-09-10T05:07:09.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-09-10T05:07:09.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [Pipeline] echo [2020-09-10T05:07:09.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b2bb57 [Pipeline] echo [2020-09-10T05:07:09.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T05:07:09.921Z] + git log --format=format:%s -1 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [Pipeline] echo [2020-09-10T05:07:09.977Z] GIT_COMMIT: 1b2bb57ab736822d33844b2e1f337cdce5a21e30, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo [2020-09-10T05:07:10.069Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:07:10.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T05:07:11.237Z] [2020-09-10T05:07:11.237Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:07:11.583Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T05:07:11.583Z] latest: Pulling from edgex-devops/git-semver [2020-09-10T05:07:11.583Z] 31603596830f: Pulling fs layer [2020-09-10T05:07:11.583Z] 2a8b12db71e7: Pulling fs layer [2020-09-10T05:07:11.583Z] 6ca5941a6612: Pulling fs layer [2020-09-10T05:07:11.583Z] ecc8261a40a4: Pulling fs layer [2020-09-10T05:07:11.583Z] ecc8261a40a4: Waiting [2020-09-10T05:07:11.583Z] 2a8b12db71e7: Download complete [2020-09-10T05:07:11.845Z] 31603596830f: Verifying Checksum [2020-09-10T05:07:11.845Z] 31603596830f: Download complete [2020-09-10T05:07:11.845Z] 6ca5941a6612: Verifying Checksum [2020-09-10T05:07:11.845Z] 6ca5941a6612: Download complete [2020-09-10T05:07:12.115Z] 31603596830f: Pull complete [2020-09-10T05:07:12.115Z] 2a8b12db71e7: Pull complete [2020-09-10T05:07:12.398Z] ecc8261a40a4: Verifying Checksum [2020-09-10T05:07:12.398Z] ecc8261a40a4: Download complete [2020-09-10T05:07:12.976Z] 6ca5941a6612: Pull complete [2020-09-10T05:07:13.242Z] ecc8261a40a4: Pull complete [2020-09-10T05:07:13.242Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-10T05:07:13.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T05:07:13.242Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-10T05:07:13.363Z] prd-centos7-docker-4c-2g-2071 does not seem to be running inside a container [2020-09-10T05:07:13.412Z] $ 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-10T05:07:15.522Z] $ docker top 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-10T05:07:15.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T05:07:15.827Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T05:07:16.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T05:07:16.039Z] $ docker exec 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent [2020-09-10T05:07:16.203Z] SSH_AUTH_SOCK=/tmp/ssh-71mAZki4vW5E/agent.13 [2020-09-10T05:07:16.203Z] SSH_AGENT_PID=19 [2020-09-10T05:07:16.215Z] Running ssh-add (command line suppressed) [2020-09-10T05:07:16.342Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1289425988025053937.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1289425988025053937.key) [2020-09-10T05:07:16.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T05:07:16.730Z] + git describe --exact-match --tags HEAD [2020-09-10T05:07:16.730Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-10T05:07:16.754Z] $ docker exec --env ******** --env ******** 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent -k [2020-09-10T05:07:16.870Z] unset SSH_AUTH_SOCK; [2020-09-10T05:07:16.870Z] unset SSH_AGENT_PID; [2020-09-10T05:07:16.870Z] echo Agent pid 19 killed; [2020-09-10T05:07:16.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-10T05:07:16.993Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-10T05:07:16.993Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-10T05:07:17.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T05:07:17.089Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T05:07:17.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T05:07:17.262Z] $ docker exec 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent [2020-09-10T05:07:17.426Z] SSH_AUTH_SOCK=/tmp/ssh-SbR7y4fPbSRR/agent.49 [2020-09-10T05:07:17.426Z] SSH_AGENT_PID=55 [2020-09-10T05:07:17.433Z] Running ssh-add (command line suppressed) [2020-09-10T05:07:17.560Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7546741306573858265.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7546741306573858265.key) [2020-09-10T05:07:17.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T05:07:17.938Z] + git semver init [2020-09-10T05:07:17.938Z] # -> Open(): unable to determine branch for HEAD [2020-09-10T05:07:17.938Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-09-10T05:07:17.938Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-10T05:07:17.938Z] # $SEMVER_REMOTE_NAME = origin [2020-09-10T05:07:17.938Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-10T05:07:17.938Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-10T05:07:17.938Z] # $SEMVER_BRANCH = PR-571 [2020-09-10T05:07:17.938Z] # $SEMVER_TEMP = /tmp/semver-542318411 [2020-09-10T05:07:17.938Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-10T05:07:18.511Z] # '/tmp/semver-542318411' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-09-10T05:07:18.511Z] # -> Force: false [2020-09-10T05:07:18.511Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-09-10T05:07:18.524Z] $ docker exec --env ******** --env ******** 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 ssh-agent -k [2020-09-10T05:07:18.648Z] unset SSH_AUTH_SOCK; [2020-09-10T05:07:18.648Z] unset SSH_AGENT_PID; [2020-09-10T05:07:18.649Z] echo Agent pid 55 killed; [2020-09-10T05:07:18.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-10T05:07:19.136Z] + git semver [Pipeline] } [2020-09-10T05:07:19.156Z] $ docker stop --time=1 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 [2020-09-10T05:07:20.532Z] $ docker rm -f 9c76bd7b85ba800fd6824e48480a4f8b29bdb0ec697b7ab87ff68049c369e3b1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-10T05:07:21.477Z] Stashed 33 file(s) [Pipeline] echo [2020-09-10T05:07:21.480Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-10T05:07:21.561Z] 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-10T05:07:37.230Z] Still waiting to schedule task [2020-09-10T05:07:37.230Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-10T05:07:37.232Z] Still waiting to schedule task [2020-09-10T05:07:37.232Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2069’ [2020-09-10T05:10:12.699Z] Running on prd-centos7-docker-4c-2g-2072 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-10T05:10:12.744Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-10T05:10:15.136Z] using credential edgex-jenkins-ssh [2020-09-10T05:10:15.184Z] Cloning the remote Git repository [2020-09-10T05:10:15.184Z] Cloning with configured refspecs honoured and without tags [2020-09-10T05:10:15.210Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:10:15.270Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-10T05:10:15.583Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:10:15.583Z] > git --version # timeout=10 [2020-09-10T05:10:15.590Z] > git --version # 'git version 2.16.5' [2020-09-10T05:10:15.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:10:15.613Z] > 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-10T05:10:16.315Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:10:16.322Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-10T05:10:16.347Z] Fetching without tags [2020-09-10T05:10:16.830Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [2020-09-10T05:10:16.928Z] Merge succeeded, producing 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [2020-09-10T05:10:16.928Z] Checking out Revision 1b2bb57ab736822d33844b2e1f337cdce5a21e30 (PR-571) [2020-09-10T05:10:16.330Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:10:16.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:10:16.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:10:16.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:10:16.360Z] > 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-10T05:10:16.839Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:10:16.845Z] > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 [2020-09-10T05:10:16.897Z] > git remote # timeout=10 [2020-09-10T05:10:16.903Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T05:10:16.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:10:16.912Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-10T05:10:16.925Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T05:10:16.933Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:10:16.941Z] > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 [2020-09-10T05:10:20.506Z] 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-10T05:10:21.428Z] ========================================================= [2020-09-10T05:10:21.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-10T05:10:21.429Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:10:22.047Z] + 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-10T05:10:22.621Z] Sending build context to Docker daemon 3.184MB [2020-09-10T05:10:22.621Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-10T05:10:22.621Z] Step 2/8 : FROM ${BASE} [2020-09-10T05:10:22.621Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-10T05:10:22.621Z] df20fa9351a1: Pulling fs layer [2020-09-10T05:10:22.621Z] ed8968b2872e: Pulling fs layer [2020-09-10T05:10:22.621Z] a92cc7c5fd73: Pulling fs layer [2020-09-10T05:10:22.621Z] 2dd03ba5bac4: Pulling fs layer [2020-09-10T05:10:22.621Z] 1e091d79d1de: Pulling fs layer [2020-09-10T05:10:22.621Z] 481702a1767f: Pulling fs layer [2020-09-10T05:10:22.621Z] f64a6f60c768: Pulling fs layer [2020-09-10T05:10:22.621Z] e78d2573fc39: Pulling fs layer [2020-09-10T05:10:22.621Z] e876d2f968b6: Pulling fs layer [2020-09-10T05:10:22.621Z] ce8a83651883: Pulling fs layer [2020-09-10T05:10:22.621Z] 07967f4d0e4b: Pulling fs layer [2020-09-10T05:10:22.621Z] f64a6f60c768: Waiting [2020-09-10T05:10:22.621Z] ce8a83651883: Waiting [2020-09-10T05:10:22.621Z] e78d2573fc39: Waiting [2020-09-10T05:10:22.621Z] 07967f4d0e4b: Waiting [2020-09-10T05:10:22.621Z] e876d2f968b6: Waiting [2020-09-10T05:10:22.621Z] 2dd03ba5bac4: Waiting [2020-09-10T05:10:22.622Z] 1e091d79d1de: Waiting [2020-09-10T05:10:22.622Z] 481702a1767f: Waiting [2020-09-10T05:10:22.622Z] a92cc7c5fd73: Verifying Checksum [2020-09-10T05:10:22.622Z] a92cc7c5fd73: Download complete [2020-09-10T05:10:22.622Z] ed8968b2872e: Download complete [2020-09-10T05:10:22.622Z] 1e091d79d1de: Verifying Checksum [2020-09-10T05:10:22.622Z] 1e091d79d1de: Download complete [2020-09-10T05:10:22.622Z] 481702a1767f: Verifying Checksum [2020-09-10T05:10:22.622Z] 481702a1767f: Download complete [2020-09-10T05:10:22.622Z] df20fa9351a1: Verifying Checksum [2020-09-10T05:10:22.622Z] df20fa9351a1: Download complete [2020-09-10T05:10:22.885Z] df20fa9351a1: Pull complete [2020-09-10T05:10:23.147Z] ed8968b2872e: Pull complete [2020-09-10T05:10:23.409Z] a92cc7c5fd73: Pull complete [2020-09-10T05:10:25.329Z] f64a6f60c768: Verifying Checksum [2020-09-10T05:10:25.330Z] f64a6f60c768: Download complete [2020-09-10T05:10:25.330Z] e876d2f968b6: Verifying Checksum [2020-09-10T05:10:25.330Z] e876d2f968b6: Download complete [2020-09-10T05:10:25.918Z] ce8a83651883: Verifying Checksum [2020-09-10T05:10:25.918Z] ce8a83651883: Download complete [2020-09-10T05:10:25.918Z] 07967f4d0e4b: Download complete [2020-09-10T05:10:26.179Z] e78d2573fc39: Verifying Checksum [2020-09-10T05:10:26.179Z] e78d2573fc39: Download complete [2020-09-10T05:10:26.440Z] 2dd03ba5bac4: Verifying Checksum [2020-09-10T05:10:26.440Z] 2dd03ba5bac4: Download complete [2020-09-10T05:10:31.784Z] 2dd03ba5bac4: Pull complete [2020-09-10T05:10:31.784Z] 1e091d79d1de: Pull complete [2020-09-10T05:10:31.784Z] 481702a1767f: Pull complete [2020-09-10T05:10:37.090Z] f64a6f60c768: Pull complete [2020-09-10T05:10:40.435Z] e78d2573fc39: Pull complete [2020-09-10T05:10:40.435Z] e876d2f968b6: Pull complete [2020-09-10T05:10:41.014Z] ce8a83651883: Pull complete [2020-09-10T05:10:41.276Z] 07967f4d0e4b: Pull complete [2020-09-10T05:10:41.276Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-10T05:10:41.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-10T05:10:41.276Z] ---> 5d7c900382c6 [2020-09-10T05:10:41.276Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:10:42.667Z] ---> Running in 099496790b4e [2020-09-10T05:10:42.667Z] Removing intermediate container 099496790b4e [2020-09-10T05:10:42.667Z] ---> e6c1c680e791 [2020-09-10T05:10:42.667Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T05:10:42.667Z] ---> Running in ecb89903d6f6 [2020-09-10T05:10:44.060Z] Removing intermediate container ecb89903d6f6 [2020-09-10T05:10:44.060Z] ---> f9a04ba98825 [2020-09-10T05:10:44.060Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-10T05:10:44.060Z] ---> Running in eb3c8d98996e [2020-09-10T05:10:44.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T05:10:45.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T05:10:46.152Z] OK: 166 MiB in 39 packages [2020-09-10T05:10:46.732Z] Removing intermediate container eb3c8d98996e [2020-09-10T05:10:46.732Z] ---> d00f81b644e3 [2020-09-10T05:10:46.732Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-10T05:10:46.732Z] ---> Running in 02f0c163a9d1 [2020-09-10T05:10:46.994Z] Removing intermediate container 02f0c163a9d1 [2020-09-10T05:10:46.994Z] ---> 699567911021 [2020-09-10T05:10:46.994Z] Step 7/8 : COPY . . [2020-09-10T05:10:48.382Z] ---> fbd4a5ce4af0 [2020-09-10T05:10:48.382Z] Step 8/8 : RUN go mod download [2020-09-10T05:10:48.382Z] ---> Running in 6b685bc7137a [2020-09-10T05:10:49.779Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-10T05:10:49.779Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-10T05:10:49.779Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-10T05:10:50.040Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-10T05:10:50.040Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-10T05:10:50.040Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-10T05:10:50.040Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-10T05:10:50.040Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-10T05:10:50.040Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-10T05:10:50.040Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-10T05:10:50.040Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-10T05:10:50.040Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-10T05:10:50.040Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-10T05:10:50.040Z] go: finding github.com/fatih/color v1.7.0 [2020-09-10T05:10:50.301Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-10T05:10:50.301Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-10T05:10:50.301Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-10T05:10:50.301Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-10T05:10:50.301Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-10T05:10:50.301Z] go: finding github.com/google/uuid v1.1.0 [2020-09-10T05:10:50.301Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-10T05:10:50.301Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-10T05:10:50.301Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-10T05:10:50.301Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-10T05:10:50.301Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-10T05:10:50.301Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-10T05:10:50.564Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-10T05:10:50.825Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-10T05:10:50.825Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-10T05:10:50.825Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-10T05:10:50.825Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-10T05:10:50.825Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-10T05:10:51.086Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-10T05:10:51.086Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-10T05:10:51.086Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-10T05:10:51.086Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-10T05:10:51.086Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-10T05:10:51.086Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-10T05:10:51.086Z] go: finding github.com/posener/complete v1.1.1 [2020-09-10T05:10:51.086Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-10T05:10:51.086Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-10T05:10:51.086Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-10T05:10:51.086Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-10T05:10:51.086Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-10T05:10:51.348Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-10T05:10:51.348Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-10T05:10:51.348Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-10T05:10:51.348Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-10T05:10:51.348Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-10T05:10:51.348Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-10T05:10:51.348Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-10T05:10:59.515Z] Removing intermediate container 6b685bc7137a [2020-09-10T05:10:59.515Z] ---> 50d3c0d3a480 [2020-09-10T05:10:59.515Z] Successfully built 50d3c0d3a480 [2020-09-10T05:10:59.515Z] 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-10T05:11:00.132Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-10T05:11:00.132Z] . [Pipeline] withDockerContainer [2020-09-10T05:11:00.299Z] prd-centos7-docker-4c-2g-2072 does not seem to be running inside a container [2020-09-10T05:11:00.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-10T05:11:01.619Z] $ docker top 4c02434641ea372f9f9a016db000fdda82b7a54c18127ed40def1840f21e108c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T05:11:02.110Z] + go version [2020-09-10T05:11:02.110Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-10T05:11:02.411Z] + make test [2020-09-10T05:11:02.412Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-10T05:11:03.369Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-10T05:11:13.538Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-10T05:11:13.539Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-10T05:11:13.539Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-10T05:11:13.539Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 20.8% of statements [2020-09-10T05:11:14.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 97.1% of statements [2020-09-10T05:11:31.176Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2073 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-10T05:11:31.279Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-10T05:11:36.425Z] using credential edgex-jenkins-ssh [2020-09-10T05:11:36.482Z] Cloning the remote Git repository [2020-09-10T05:11:36.482Z] Cloning with configured refspecs honoured and without tags [2020-09-10T05:11:36.556Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:11:36.663Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-10T05:11:36.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:11:36.725Z] > git --version # timeout=10 [2020-09-10T05:11:36.741Z] > git --version # 'git version 2.17.1' [2020-09-10T05:11:36.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:11:36.797Z] > 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-10T05:11:37.750Z] Fetching without tags [2020-09-10T05:11:38.325Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [2020-09-10T05:11:38.619Z] Merge succeeded, producing 1b2bb57ab736822d33844b2e1f337cdce5a21e30 [2020-09-10T05:11:38.619Z] Checking out Revision 1b2bb57ab736822d33844b2e1f337cdce5a21e30 (PR-571) [2020-09-10T05:11:37.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:11:37.693Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-10T05:11:37.708Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T05:11:37.735Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T05:11:37.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T05:11:37.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:11:37.787Z] > 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-10T05:11:38.359Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:11:38.375Z] > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 [2020-09-10T05:11:38.499Z] > git remote # timeout=10 [2020-09-10T05:11:38.516Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T05:11:38.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T05:11:38.538Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-10T05:11:38.566Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T05:11:38.644Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T05:11:38.678Z] > git checkout -f 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 [2020-09-10T05:11:42.837Z] 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-10T05:11:44.154Z] ========================================================= [2020-09-10T05:11:44.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-10T05:11:44.154Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:11:45.218Z] + 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-10T05:11:46.201Z] Sending build context to Docker daemon 3.184MB [2020-09-10T05:11:46.201Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-10T05:11:46.201Z] Step 2/8 : FROM ${BASE} [2020-09-10T05:11:46.474Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-10T05:11:46.474Z] b538f80385f9: Pulling fs layer [2020-09-10T05:11:46.474Z] 74f711af9a0d: Pulling fs layer [2020-09-10T05:11:46.474Z] 99f96fe45779: Pulling fs layer [2020-09-10T05:11:46.474Z] fd7a069fd194: Pulling fs layer [2020-09-10T05:11:46.474Z] 66aa3694b03b: Pulling fs layer [2020-09-10T05:11:46.474Z] 170f70906a0f: Pulling fs layer [2020-09-10T05:11:46.474Z] ad7c5574e4b9: Pulling fs layer [2020-09-10T05:11:46.474Z] e772456be8f7: Pulling fs layer [2020-09-10T05:11:46.474Z] c890913d741a: Pulling fs layer [2020-09-10T05:11:46.474Z] 2480fcc9aa5a: Pulling fs layer [2020-09-10T05:11:46.474Z] 09adf4765672: Pulling fs layer [2020-09-10T05:11:46.474Z] 170f70906a0f: Waiting [2020-09-10T05:11:46.474Z] ad7c5574e4b9: Waiting [2020-09-10T05:11:46.474Z] e772456be8f7: Waiting [2020-09-10T05:11:46.474Z] c890913d741a: Waiting [2020-09-10T05:11:46.474Z] 09adf4765672: Waiting [2020-09-10T05:11:46.474Z] 2480fcc9aa5a: Waiting [2020-09-10T05:11:46.474Z] fd7a069fd194: Waiting [2020-09-10T05:11:46.474Z] 66aa3694b03b: Waiting [2020-09-10T05:11:46.474Z] 99f96fe45779: Verifying Checksum [2020-09-10T05:11:46.474Z] 99f96fe45779: Download complete [2020-09-10T05:11:46.474Z] 74f711af9a0d: Verifying Checksum [2020-09-10T05:11:46.474Z] 74f711af9a0d: Download complete [2020-09-10T05:11:46.474Z] 66aa3694b03b: Download complete [2020-09-10T05:11:46.474Z] 170f70906a0f: Download complete [2020-09-10T05:11:46.474Z] b538f80385f9: Verifying Checksum [2020-09-10T05:11:46.474Z] b538f80385f9: Download complete [2020-09-10T05:11:46.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 9.4% of statements [2020-09-10T05:11:46.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.9% of statements [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-10T05:11:46.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.025s coverage: 37.0% of statements [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-10T05:11:46.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.030s coverage: 65.4% of statements [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-10T05:11:46.671Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.007s coverage: 52.6% of statements [2020-09-10T05:11:46.671Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.096s coverage: 68.9% of statements [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-10T05:11:46.671Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-10T05:11:46.671Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-10T05:11:46.671Z] gofmt -l . [2020-09-10T05:11:46.671Z] [ "`gofmt -l .`" = "" ] [2020-09-10T05:11:46.671Z] ./bin/test-attribution-txt.sh [2020-09-10T05:11:47.251Z] ./bin/test-go-mod-tidy.sh [2020-09-10T05:11:47.463Z] b538f80385f9: Pull complete [Pipeline] stash [2020-09-10T05:11:47.903Z] Stashed 1 file(s) [Pipeline] } [2020-09-10T05:11:47.911Z] $ docker stop --time=1 4c02434641ea372f9f9a016db000fdda82b7a54c18127ed40def1840f21e108c [2020-09-10T05:11:48.075Z] 74f711af9a0d: Pull complete [2020-09-10T05:11:48.700Z] 99f96fe45779: Pull complete [2020-09-10T05:11:49.308Z] ad7c5574e4b9: Verifying Checksum [2020-09-10T05:11:49.308Z] ad7c5574e4b9: Download complete [2020-09-10T05:11:49.308Z] c890913d741a: Verifying Checksum [2020-09-10T05:11:49.308Z] c890913d741a: Download complete [2020-09-10T05:11:49.412Z] $ docker rm -f 4c02434641ea372f9f9a016db000fdda82b7a54c18127ed40def1840f21e108c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-10T05:11:50.749Z] 2480fcc9aa5a: Verifying Checksum [2020-09-10T05:11:50.749Z] 2480fcc9aa5a: Download complete [2020-09-10T05:11:50.749Z] 09adf4765672: Verifying Checksum [2020-09-10T05:11:50.749Z] 09adf4765672: Download complete [2020-09-10T05:11:51.025Z] e772456be8f7: Verifying Checksum [2020-09-10T05:11:51.025Z] e772456be8f7: Download complete [2020-09-10T05:11:51.623Z] fd7a069fd194: Download complete [Pipeline] sh [2020-09-10T05:11:52.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-10T05:11:52.306Z] + ls -al . [2020-09-10T05:11:52.306Z] total 188 [2020-09-10T05:11:52.306Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 10 05:11 . [2020-09-10T05:11:52.306Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 10 05:10 .. [2020-09-10T05:11:52.306Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 10 05:10 bin [2020-09-10T05:11:52.306Z] -rw-r--r--. 1 jenkins jenkins 110898 Sep 10 05:11 coverage.out [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 10 05:10 Dockerfile.build [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 10 05:10 .dockerignore [2020-09-10T05:11:52.306Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 10 05:10 example [2020-09-10T05:11:52.306Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 10 05:10 .git [2020-09-10T05:11:52.306Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 10 05:10 .github [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 10 05:10 .gitignore [2020-09-10T05:11:52.306Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 10 05:11 go.mod [2020-09-10T05:11:52.306Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 10 05:11 go.sum [2020-09-10T05:11:52.306Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 10 05:10 internal [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 10 05:10 Jenkinsfile [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 10 05:10 LICENSE [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 10 05:10 Makefile [2020-09-10T05:11:52.306Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 10 05:10 openapi [2020-09-10T05:11:52.306Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 10 05:10 pkg [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 10 05:10 README.md [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 10 05:10 RELEASE-NOTES.txt [2020-09-10T05:11:52.306Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 10 05:10 .semver [2020-09-10T05:11:52.306Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 10 05:10 snap [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 10 05:07 VERSION [2020-09-10T05:11:52.306Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 10 05:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:11:52.605Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1b2bb57ab736822d33844b2e1f337cdce5a21e30 --label arch=amd64 --label version=0.0.0 . [2020-09-10T05:11:52.866Z] Sending build context to Docker daemon 3.295MB [2020-09-10T05:11:52.866Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-10T05:11:52.866Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-10T05:11:52.866Z] ---> 50d3c0d3a480 [2020-09-10T05:11:52.866Z] Step 3/24 : ARG MAKE='make build' [2020-09-10T05:11:53.438Z] ---> Running in 8f3f890d79cc [2020-09-10T05:11:53.438Z] Removing intermediate container 8f3f890d79cc [2020-09-10T05:11:53.438Z] ---> fe97d13f5023 [2020-09-10T05:11:53.438Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-10T05:11:53.438Z] ---> Running in caa908126d77 [2020-09-10T05:11:53.702Z] Removing intermediate container caa908126d77 [2020-09-10T05:11:53.702Z] ---> ed6916feaa4c [2020-09-10T05:11:53.702Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:11:53.702Z] ---> Running in 415a44e42234 [2020-09-10T05:11:53.966Z] Removing intermediate container 415a44e42234 [2020-09-10T05:11:53.966Z] ---> acd960906bbe [2020-09-10T05:11:53.966Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T05:11:53.966Z] ---> Running in 86178dec9d49 [2020-09-10T05:11:54.917Z] Removing intermediate container 86178dec9d49 [2020-09-10T05:11:54.917Z] ---> 6c2c502021c4 [2020-09-10T05:11:54.917Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-10T05:11:55.178Z] ---> Running in 42266fb630e1 [2020-09-10T05:11:55.441Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T05:11:56.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T05:11:56.647Z] OK: 166 MiB in 39 packages [2020-09-10T05:11:56.909Z] Removing intermediate container 42266fb630e1 [2020-09-10T05:11:56.909Z] ---> 720c48f25c19 [2020-09-10T05:11:56.909Z] Step 8/24 : COPY . . [2020-09-10T05:11:57.856Z] ---> ef306d167fa9 [2020-09-10T05:11:57.856Z] Step 9/24 : RUN ${MAKE} [2020-09-10T05:11:58.118Z] ---> Running in e2f9c43ea65d [2020-09-10T05:11:58.389Z] 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-10T05:12:04.008Z] fd7a069fd194: Pull complete [2020-09-10T05:12:04.008Z] 66aa3694b03b: Pull complete [2020-09-10T05:12:04.008Z] 170f70906a0f: Pull complete [2020-09-10T05:12:05.989Z] ad7c5574e4b9: Pull complete [2020-09-10T05:12:06.609Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-10T05:12:08.008Z] Removing intermediate container e2f9c43ea65d [2020-09-10T05:12:08.008Z] ---> 79c15e116bec [2020-09-10T05:12:08.008Z] Step 10/24 : FROM scratch [2020-09-10T05:12:08.008Z] ---> [2020-09-10T05:12:08.008Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:12:08.008Z] ---> Running in f62f724de4b7 [2020-09-10T05:12:08.269Z] Removing intermediate container f62f724de4b7 [2020-09-10T05:12:08.269Z] ---> 561c43108e29 [2020-09-10T05:12:08.269Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-10T05:12:08.269Z] ---> Running in 1d628ba89aac [2020-09-10T05:12:08.531Z] Removing intermediate container 1d628ba89aac [2020-09-10T05:12:08.531Z] ---> f87c5b428cd5 [2020-09-10T05:12:08.531Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-10T05:12:08.531Z] ---> Running in 9e181a38428a [2020-09-10T05:12:08.531Z] Removing intermediate container 9e181a38428a [2020-09-10T05:12:08.531Z] ---> 88d7470ef72d [2020-09-10T05:12:08.531Z] Step 14/24 : WORKDIR / [2020-09-10T05:12:08.792Z] ---> Running in cf70a237ce4f [2020-09-10T05:12:09.054Z] Removing intermediate container cf70a237ce4f [2020-09-10T05:12:09.054Z] ---> bb2640a8a6f2 [2020-09-10T05:12:09.054Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-10T05:12:09.315Z] ---> fe3fa003b336 [2020-09-10T05:12:09.315Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-10T05:12:09.578Z] ---> cab42b6b5715 [2020-09-10T05:12:09.578Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-10T05:12:09.839Z] ---> 9006c52f756f [2020-09-10T05:12:09.839Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-10T05:12:10.100Z] ---> 76ffcabf54ee [2020-09-10T05:12:10.100Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-10T05:12:10.362Z] ---> 6b6d9425b6f6 [2020-09-10T05:12:10.362Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-10T05:12:10.362Z] ---> Running in 6997d21c0087 [2020-09-10T05:12:10.623Z] Removing intermediate container 6997d21c0087 [2020-09-10T05:12:10.623Z] ---> 7044485ad78f [2020-09-10T05:12:10.623Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-10T05:12:10.623Z] ---> Running in a777b2ecef7c [2020-09-10T05:12:10.884Z] Removing intermediate container a777b2ecef7c [2020-09-10T05:12:10.884Z] ---> ba3eaeb74675 [2020-09-10T05:12:10.884Z] Step 22/24 : LABEL arch=amd64 [2020-09-10T05:12:10.884Z] ---> Running in 5bb31fde39df [2020-09-10T05:12:10.884Z] Removing intermediate container 5bb31fde39df [2020-09-10T05:12:10.884Z] ---> d5ba4d52a26d [2020-09-10T05:12:10.884Z] Step 23/24 : LABEL git_sha=1b2bb57ab736822d33844b2e1f337cdce5a21e30 [2020-09-10T05:12:11.146Z] ---> Running in 19acbab0974e [2020-09-10T05:12:11.146Z] Removing intermediate container 19acbab0974e [2020-09-10T05:12:11.146Z] ---> 327ceb23a402 [2020-09-10T05:12:11.146Z] Step 24/24 : LABEL version=0.0.0 [2020-09-10T05:12:11.374Z] e772456be8f7: Pull complete [2020-09-10T05:12:11.374Z] c890913d741a: Pull complete [2020-09-10T05:12:11.410Z] ---> Running in 7de8ad44d986 [2020-09-10T05:12:11.410Z] Removing intermediate container 7de8ad44d986 [2020-09-10T05:12:11.410Z] ---> e76b1d1b65fe [2020-09-10T05:12:11.410Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-10T05:12:11.410Z] Successfully built e76b1d1b65fe [2020-09-10T05:12:11.410Z] 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-10T05:12:13.363Z] 2480fcc9aa5a: Pull complete [2020-09-10T05:12:13.637Z] 09adf4765672: Pull complete [2020-09-10T05:12:13.637Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-10T05:12:13.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-10T05:12:13.637Z] ---> 2248a725d1cf [2020-09-10T05:12:13.637Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:12:17.966Z] ---> Running in 940834f1c937 [2020-09-10T05:12:18.246Z] Removing intermediate container 940834f1c937 [2020-09-10T05:12:18.246Z] ---> 4641f373e289 [2020-09-10T05:12:18.246Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T05:12:18.246Z] ---> Running in 184c4d75fa4a [2020-09-10T05:12:20.857Z] Removing intermediate container 184c4d75fa4a [2020-09-10T05:12:20.857Z] ---> 527e26fcab3e [2020-09-10T05:12:20.857Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-10T05:12:21.131Z] ---> Running in fa0cb80bd54a [2020-09-10T05:12:22.560Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T05:12:23.532Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T05:12:24.504Z] OK: 142 MiB in 39 packages [2020-09-10T05:12:25.936Z] Removing intermediate container fa0cb80bd54a [2020-09-10T05:12:25.936Z] ---> 11997757c44f [2020-09-10T05:12:25.936Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-10T05:12:25.936Z] ---> Running in 1107e31a8784 [2020-09-10T05:12:26.530Z] Removing intermediate container 1107e31a8784 [2020-09-10T05:12:26.530Z] ---> 00c9f17b96a4 [2020-09-10T05:12:26.530Z] Step 7/8 : COPY . . [2020-09-10T05:12:27.508Z] ---> aa7e91ad6fbf [2020-09-10T05:12:27.508Z] Step 8/8 : RUN go mod download [2020-09-10T05:12:27.780Z] ---> Running in ffc559c7f137 [2020-09-10T05:12:30.397Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-10T05:12:30.397Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-10T05:12:30.397Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-10T05:12:30.397Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-10T05:12:30.397Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-10T05:12:30.397Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-10T05:12:30.397Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-10T05:12:30.397Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-10T05:12:30.397Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-10T05:12:30.397Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-10T05:12:30.397Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-10T05:12:30.397Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-10T05:12:30.668Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-10T05:12:30.668Z] go: finding github.com/fatih/color v1.7.0 [2020-09-10T05:12:30.668Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-10T05:12:30.668Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-10T05:12:30.668Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-10T05:12:30.668Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-10T05:12:30.668Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-10T05:12:30.668Z] go: finding github.com/google/uuid v1.1.0 [2020-09-10T05:12:30.668Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-10T05:12:30.940Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-10T05:12:31.213Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-10T05:12:31.213Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-10T05:12:31.213Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-10T05:12:31.213Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-10T05:12:31.213Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-10T05:12:31.213Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-10T05:12:31.213Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-10T05:12:31.213Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-10T05:12:31.213Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-10T05:12:31.213Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-10T05:12:31.213Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-10T05:12:31.213Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-10T05:12:31.213Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-10T05:12:31.484Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-10T05:12:31.484Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-10T05:12:31.484Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-10T05:12:31.484Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-10T05:12:31.484Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-10T05:12:31.484Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-10T05:12:31.484Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-10T05:12:31.484Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-10T05:12:31.484Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-10T05:12:31.484Z] go: finding github.com/posener/complete v1.1.1 [2020-09-10T05:12:31.484Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-10T05:12:31.484Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-10T05:12:31.756Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-10T05:12:31.756Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-10T05:12:31.756Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-10T05:12:31.756Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-10T05:12:31.756Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-10T05:12:31.756Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-10T05:12:31.756Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-10T05:12:31.756Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-10T05:12:31.756Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-10T05:12:31.756Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-10T05:12:41.894Z] Removing intermediate container ffc559c7f137 [2020-09-10T05:12:41.894Z] ---> b38ebcb86d4d [2020-09-10T05:12:41.894Z] Successfully built b38ebcb86d4d [2020-09-10T05:12:41.894Z] 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-10T05:12:42.634Z] + docker inspect -f . ci-base-image-arm64 [2020-09-10T05:12:42.634Z] . [Pipeline] withDockerContainer [2020-09-10T05:12:42.905Z] prd-ubuntu18.04-docker-arm64-4c-16g-2073 does not seem to be running inside a container [2020-09-10T05:12:42.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-10T05:12:44.852Z] $ docker top 75539bd47b17182bb93026d89d833d905f1d92ae68f86aec102ecab266437f8d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T05:12:46.247Z] + go version [2020-09-10T05:12:46.247Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-10T05:12:47.297Z] + make test [2020-09-10T05:12:47.297Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-10T05:12:48.279Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-10T05:13:20.650Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-10T05:13:20.650Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-10T05:13:20.650Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-10T05:13:20.650Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.078s coverage: 20.8% of statements [2020-09-10T05:13:20.650Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.185s coverage: 97.1% of statements [2020-09-10T05:13:52.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 9.4% of statements [2020-09-10T05:13:52.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.9% of statements [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-10T05:13:52.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.116s coverage: 37.0% of statements [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-10T05:13:52.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.112s coverage: 65.4% of statements [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-10T05:13:52.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-09-10T05:13:52.980Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 68.9% of statements [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-10T05:13:52.980Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-10T05:13:52.980Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-10T05:13:56.378Z] gofmt -l . [2020-09-10T05:13:56.378Z] [ "`gofmt -l .`" = "" ] [2020-09-10T05:13:56.378Z] ./bin/test-attribution-txt.sh [2020-09-10T05:13:57.364Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-10T05:13:57.653Z] Warning: overwriting stash ‘coverage-report’ [2020-09-10T05:13:58.575Z] Stashed 1 file(s) [Pipeline] } [2020-09-10T05:13:58.588Z] $ docker stop --time=1 75539bd47b17182bb93026d89d833d905f1d92ae68f86aec102ecab266437f8d [2020-09-10T05:14:00.769Z] $ docker rm -f 75539bd47b17182bb93026d89d833d905f1d92ae68f86aec102ecab266437f8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T05:14:02.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-10T05:14:02.388Z] + ls -al . [2020-09-10T05:14:02.388Z] total 228 [2020-09-10T05:14:02.388Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 10 05:13 . [2020-09-10T05:14:02.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 .. [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 05:11 .dockerignore [2020-09-10T05:14:02.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 05:11 .git [2020-09-10T05:14:02.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 05:11 .github [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 10 05:11 .gitignore [2020-09-10T05:14:02.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 05:11 .semver [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 10 05:11 Dockerfile.build [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 10 05:11 Jenkinsfile [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 05:11 LICENSE [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 10 05:11 Makefile [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 10 05:11 README.md [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 10 05:11 RELEASE-NOTES.txt [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 05:07 VERSION [2020-09-10T05:14:02.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 05:11 bin [2020-09-10T05:14:02.388Z] -rw-r--r-- 1 jenkins jenkins 110898 Sep 10 05:13 coverage.out [2020-09-10T05:14:02.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 example [2020-09-10T05:14:02.388Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 10 05:13 go.mod [2020-09-10T05:14:02.388Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 10 05:13 go.sum [2020-09-10T05:14:02.388Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 05:11 internal [2020-09-10T05:14:02.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 openapi [2020-09-10T05:14:02.388Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 05:11 pkg [2020-09-10T05:14:02.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 05:11 snap [2020-09-10T05:14:02.388Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 05:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:14:02.754Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1b2bb57ab736822d33844b2e1f337cdce5a21e30 --label arch=arm64 --label version=0.0.0 . [2020-09-10T05:14:03.362Z] Sending build context to Docker daemon 3.295MB [2020-09-10T05:14:03.362Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-10T05:14:03.362Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-10T05:14:03.362Z] ---> b38ebcb86d4d [2020-09-10T05:14:03.362Z] Step 3/24 : ARG MAKE='make build' [2020-09-10T05:14:03.362Z] ---> Running in b321ef973297 [2020-09-10T05:14:03.959Z] Removing intermediate container b321ef973297 [2020-09-10T05:14:03.959Z] ---> 78c46480f964 [2020-09-10T05:14:03.959Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-10T05:14:03.959Z] ---> Running in 66cb5ea5fccb [2020-09-10T05:14:04.555Z] Removing intermediate container 66cb5ea5fccb [2020-09-10T05:14:04.555Z] ---> 98c77a950c2b [2020-09-10T05:14:04.555Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:14:04.555Z] ---> Running in ae546bda03fb [2020-09-10T05:14:05.151Z] Removing intermediate container ae546bda03fb [2020-09-10T05:14:05.151Z] ---> da2fe4d2c9b0 [2020-09-10T05:14:05.151Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T05:14:05.151Z] ---> Running in 7362919ea6b0 [2020-09-10T05:14:07.765Z] Removing intermediate container 7362919ea6b0 [2020-09-10T05:14:07.765Z] ---> 7f93852850d5 [2020-09-10T05:14:07.765Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-10T05:14:07.765Z] ---> Running in b2f00339bd72 [2020-09-10T05:14:09.196Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T05:14:10.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T05:14:10.437Z] OK: 142 MiB in 39 packages [2020-09-10T05:14:11.874Z] Removing intermediate container b2f00339bd72 [2020-09-10T05:14:11.875Z] ---> d00bb8f574fe [2020-09-10T05:14:11.875Z] Step 8/24 : COPY . . [2020-09-10T05:14:12.849Z] ---> e680b3382ed0 [2020-09-10T05:14:12.849Z] Step 9/24 : RUN ${MAKE} [2020-09-10T05:14:13.122Z] ---> Running in 32be6700bb93 [2020-09-10T05:14:14.549Z] 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-10T05:14:36.747Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-10T05:14:40.130Z] Removing intermediate container 32be6700bb93 [2020-09-10T05:14:40.130Z] ---> 831065789737 [2020-09-10T05:14:40.130Z] Step 10/24 : FROM scratch [2020-09-10T05:14:40.130Z] ---> [2020-09-10T05:14:40.130Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T05:14:40.130Z] ---> Running in 68f0d2e74e65 [2020-09-10T05:14:40.401Z] Removing intermediate container 68f0d2e74e65 [2020-09-10T05:14:40.401Z] ---> d362e90ec89b [2020-09-10T05:14:40.401Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-10T05:14:40.673Z] ---> Running in 1edaefdb64a0 [2020-09-10T05:14:40.945Z] Removing intermediate container 1edaefdb64a0 [2020-09-10T05:14:40.945Z] ---> 3336fc22b458 [2020-09-10T05:14:40.945Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-10T05:14:41.218Z] ---> Running in b48f812c2c6d [2020-09-10T05:14:41.490Z] Removing intermediate container b48f812c2c6d [2020-09-10T05:14:41.490Z] ---> d954615a26f9 [2020-09-10T05:14:41.490Z] Step 14/24 : WORKDIR / [2020-09-10T05:14:41.762Z] ---> Running in 7121f5a8188c [2020-09-10T05:14:42.035Z] Removing intermediate container 7121f5a8188c [2020-09-10T05:14:42.035Z] ---> 2cf7558e1685 [2020-09-10T05:14:42.035Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-10T05:14:43.463Z] ---> 8a35278a6f85 [2020-09-10T05:14:43.463Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-10T05:14:44.054Z] ---> 87862124f87e [2020-09-10T05:14:44.054Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-10T05:14:44.647Z] ---> 9c540f26967d [2020-09-10T05:14:44.647Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-10T05:14:45.621Z] ---> d1b66690d020 [2020-09-10T05:14:45.621Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-10T05:14:46.218Z] ---> 47c58c54eeb4 [2020-09-10T05:14:46.218Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-10T05:14:46.494Z] ---> Running in 5ae9366d2bda [2020-09-10T05:14:46.765Z] Removing intermediate container 5ae9366d2bda [2020-09-10T05:14:46.765Z] ---> d776a43f255c [2020-09-10T05:14:46.765Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-10T05:14:47.038Z] ---> Running in 673a1fcca4d0 [2020-09-10T05:14:47.631Z] Removing intermediate container 673a1fcca4d0 [2020-09-10T05:14:47.631Z] ---> 7bfc458b9baa [2020-09-10T05:14:47.631Z] Step 22/24 : LABEL arch=arm64 [2020-09-10T05:14:47.631Z] ---> Running in 82d7c634a0ce [2020-09-10T05:14:48.226Z] Removing intermediate container 82d7c634a0ce [2020-09-10T05:14:48.226Z] ---> 2b363e5f7e44 [2020-09-10T05:14:48.226Z] Step 23/24 : LABEL git_sha=1b2bb57ab736822d33844b2e1f337cdce5a21e30 [2020-09-10T05:14:48.226Z] ---> Running in d31a594607d1 [2020-09-10T05:14:48.498Z] Removing intermediate container d31a594607d1 [2020-09-10T05:14:48.498Z] ---> 3226765273d1 [2020-09-10T05:14:48.498Z] Step 24/24 : LABEL version=0.0.0 [2020-09-10T05:14:48.772Z] ---> Running in 164fde53753c [2020-09-10T05:14:49.042Z] Removing intermediate container 164fde53753c [2020-09-10T05:14:49.042Z] ---> d1fc66b50246 [2020-09-10T05:14:49.042Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-10T05:14:49.314Z] Successfully built d1fc66b50246 [2020-09-10T05:14:49.314Z] 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-10T05:14:51.168Z] provisioning config files... [2020-09-10T05:14:51.179Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config6516578030265485438tmp [Pipeline] { [Pipeline] sh [2020-09-10T05:14:51.573Z] + curl -s https://codecov.io/bash [2020-09-10T05:14:51.573Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config6516578030265485438tmp [Pipeline] } [2020-09-10T05:14:51.843Z] 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-10T05:14:53.898Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:14:54.472Z] ---> package-listing.sh [2020-09-10T05:14:54.472Z] ++ facter osfamily [2020-09-10T05:14:54.472Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-10T05:14:54.472Z] + OS_FAMILY=redhat [2020-09-10T05:14:54.472Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-10T05:14:54.472Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-10T05:14:54.472Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-10T05:14:54.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-10T05:14:54.472Z] + PACKAGES=/tmp/packages_start.txt [2020-09-10T05:14:54.472Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-10T05:14:54.472Z] + PACKAGES=/tmp/packages_end.txt [2020-09-10T05:14:54.472Z] + case "${OS_FAMILY}" in [2020-09-10T05:14:54.472Z] + rpm -qa [2020-09-10T05:14:54.472Z] + sort [2020-09-10T05:14:58.688Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-10T05:14:58.688Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-10T05:14:58.688Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-10T05:14:58.688Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-10T05:14:58.688Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-09-10T05:14:58.688Z] + 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-10T05:14:59.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T05:14:59.720Z] [2020-09-10T05:14:59.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-10T05:15:00.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T05:15:00.061Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-10T05:15:00.061Z] df20fa9351a1: Pulling fs layer [2020-09-10T05:15:00.061Z] 36b3adc4ff6f: Pulling fs layer [2020-09-10T05:15:00.061Z] 8ad3a11d3b57: Pulling fs layer [2020-09-10T05:15:00.061Z] 46f8f816bc3b: Pulling fs layer [2020-09-10T05:15:00.061Z] 0dadc02b9964: Pulling fs layer [2020-09-10T05:15:00.061Z] ce6a7cf60c04: Pulling fs layer [2020-09-10T05:15:00.061Z] 7a184a31f384: Pulling fs layer [2020-09-10T05:15:00.061Z] 0879bd2ef858: Pulling fs layer [2020-09-10T05:15:00.061Z] 46f8f816bc3b: Waiting [2020-09-10T05:15:00.061Z] 0dadc02b9964: Waiting [2020-09-10T05:15:00.061Z] ce6a7cf60c04: Waiting [2020-09-10T05:15:00.061Z] 7a184a31f384: Waiting [2020-09-10T05:15:00.061Z] 0879bd2ef858: Waiting [2020-09-10T05:15:00.061Z] 36b3adc4ff6f: Verifying Checksum [2020-09-10T05:15:00.061Z] 36b3adc4ff6f: Download complete [2020-09-10T05:15:00.061Z] 46f8f816bc3b: Verifying Checksum [2020-09-10T05:15:00.061Z] 46f8f816bc3b: Download complete [2020-09-10T05:15:00.061Z] df20fa9351a1: Verifying Checksum [2020-09-10T05:15:00.061Z] df20fa9351a1: Download complete [2020-09-10T05:15:00.061Z] ce6a7cf60c04: Verifying Checksum [2020-09-10T05:15:00.061Z] ce6a7cf60c04: Download complete [2020-09-10T05:15:00.061Z] 7a184a31f384: Verifying Checksum [2020-09-10T05:15:00.061Z] 7a184a31f384: Download complete [2020-09-10T05:15:00.330Z] 8ad3a11d3b57: Verifying Checksum [2020-09-10T05:15:00.331Z] 8ad3a11d3b57: Download complete [2020-09-10T05:15:00.331Z] 0dadc02b9964: Verifying Checksum [2020-09-10T05:15:00.331Z] 0dadc02b9964: Download complete [2020-09-10T05:15:00.594Z] df20fa9351a1: Pull complete [2020-09-10T05:15:00.594Z] 0879bd2ef858: Verifying Checksum [2020-09-10T05:15:00.594Z] 0879bd2ef858: Download complete [2020-09-10T05:15:00.594Z] 36b3adc4ff6f: Pull complete [2020-09-10T05:15:01.167Z] 8ad3a11d3b57: Pull complete [2020-09-10T05:15:01.431Z] 46f8f816bc3b: Pull complete [2020-09-10T05:15:01.692Z] 0dadc02b9964: Pull complete [2020-09-10T05:15:01.692Z] ce6a7cf60c04: Pull complete [2020-09-10T05:15:01.959Z] 7a184a31f384: Pull complete [2020-09-10T05:15:04.520Z] 0879bd2ef858: Pull complete [2020-09-10T05:15:04.520Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-10T05:15:04.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T05:15:04.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-10T05:15:04.727Z] prd-centos7-docker-4c-2g-2071 does not seem to be running inside a container [2020-09-10T05:15:04.773Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-10T05:15:10.656Z] $ docker top aa2993b49c065a8b9acd1f6b0848ea10a6355e6532ced249665ca61f084d5338 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T05:15:11.258Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-10T05:15:11.552Z] + ls /var/log/sa-host [2020-09-10T05:15:11.552Z] + sadf -c /var/log/sa-host/sa05 [2020-09-10T05:15:11.552Z] file_magic: OK [2020-09-10T05:15:11.552Z] HZ: Using current value: 100 [2020-09-10T05:15:11.552Z] file_header: OK [2020-09-10T05:15:11.552Z] 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-10T05:15:11.552Z] Statistics: [2020-09-10T05:15:11.552Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T05:15:11.552Z] File successfully converted to sysstat format version 12.2.1 [2020-09-10T05:15:11.552Z] + sadf -c /var/log/sa-host/sa10 [2020-09-10T05:15:11.552Z] file_magic: OK [2020-09-10T05:15:11.552Z] HZ: Using current value: 100 [2020-09-10T05:15:11.552Z] file_header: OK [2020-09-10T05:15:11.552Z] 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-10T05:15:11.552Z] Statistics: [2020-09-10T05:15:11.552Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T05:15:11.552Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-10T05:15:11.610Z] provisioning config files... [2020-09-10T05:15:11.628Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5179816060137308285tmp [Pipeline] { [Pipeline] echo [2020-09-10T05:15:11.696Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:15:11.989Z] ---> create-netrc.sh [Pipeline] echo [2020-09-10T05:15:11.999Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T05:15:12.291Z] ---> logs-deploy.sh [2020-09-10T05:15:12.291Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/8 [2020-09-10T05:15:12.291Z] INFO: archiving workspace using pattern(s): [2020-09-10T05:15:13.679Z] Archives upload complete. [2020-09-10T05:15:13.679Z] INFO: archiving logs to Nexus