Pull request #627 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 497e2f194a1f22d65b0a6a02dce5da02c75df54e+d41dfb76324865f87a7aea80ddd0df968928e1d8 (fd2a897cd07c67ec437d3913c29e9cbb3ae09056) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5841 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-627 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d41dfb76324865f87a7aea80ddd0df968928e1d8 into PR head commit 497e2f194a1f22d65b0a6a02dce5da02c75df54e Merge succeeded, producing 497e2f194a1f22d65b0a6a02dce5da02c75df54e Checking out Revision 497e2f194a1f22d65b0a6a02dce5da02c75df54e (PR-627) > git config core.sparsecheckout # timeout=10 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # 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 d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T09:14:07.752Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 [Pipeline] withCredentials [2020-10-16T09:14:08.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T09:14:08.175Z] ========================================================= [2020-10-16T09:14:08.175Z] EdgeX Global Pipelines Version Info [2020-10-16T09:14:08.175Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:14:10.133Z] ------------------- [2020-10-16T09:14:10.133Z] stable info: [2020-10-16T09:14:10.133Z] ------------------- [2020-10-16T09:14:10.134Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:14:10.134Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:14:10.134Z] Message: update stable to v1.0.144 [2020-10-16T09:14:10.709Z] ------------------- [2020-10-16T09:14:10.709Z] experimental info: [2020-10-16T09:14:10.709Z] ------------------- [2020-10-16T09:14:10.709Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:14:10.709Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:14:10.709Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T09:14:11.070Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T09:14:11.161Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T09:14:11.307Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T09:14:11.461Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T09:14:11.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T09:14:11.664Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T09:14:11.773Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T09:14:11.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T09:14:11.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T09:14:12.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T09:14:12.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T09:14:12.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T09:14:12.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T09:14:12.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T09:14:12.527Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T09:14:12.617Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:14:12.765Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:14:12.935Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:14:13.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T09:14:13.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T09:14:13.232Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T09:14:13.373Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T09:14:13.480Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T09:14:13.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T09:14:13.685Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T09:14:13.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-627 [Pipeline] echo [2020-10-16T09:14:13.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-627 [Pipeline] echo [2020-10-16T09:14:14.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-627 [Pipeline] echo [2020-10-16T09:14:14.123Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 497e2f194a1f22d65b0a6a02dce5da02c75df54e [Pipeline] echo [2020-10-16T09:14:14.246Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 497e2f1 [Pipeline] echo [2020-10-16T09:14:14.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:14:15.006Z] + git log --format=format:%s -1 497e2f194a1f22d65b0a6a02dce5da02c75df54e [Pipeline] echo [2020-10-16T09:14:15.074Z] GIT_COMMIT: 497e2f194a1f22d65b0a6a02dce5da02c75df54e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-10-16T09:14:15.126Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:14:15.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:14:16.081Z] [2020-10-16T09:14:16.081Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:14:16.443Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:14:16.443Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T09:14:16.443Z] 31603596830f: Pulling fs layer [2020-10-16T09:14:16.443Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T09:14:16.443Z] 6ca5941a6612: Pulling fs layer [2020-10-16T09:14:16.443Z] ecc8261a40a4: Pulling fs layer [2020-10-16T09:14:16.443Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T09:14:16.443Z] 2a8b12db71e7: Download complete [2020-10-16T09:14:16.707Z] 31603596830f: Verifying Checksum [2020-10-16T09:14:16.707Z] 31603596830f: Download complete [2020-10-16T09:14:16.707Z] ecc8261a40a4: Verifying Checksum [2020-10-16T09:14:16.707Z] ecc8261a40a4: Download complete [2020-10-16T09:14:16.971Z] 6ca5941a6612: Verifying Checksum [2020-10-16T09:14:16.972Z] 6ca5941a6612: Download complete [2020-10-16T09:14:16.972Z] 31603596830f: Pull complete [2020-10-16T09:14:17.241Z] 2a8b12db71e7: Pull complete [2020-10-16T09:14:17.824Z] 6ca5941a6612: Pull complete [2020-10-16T09:14:18.088Z] ecc8261a40a4: Pull complete [2020-10-16T09:14:18.088Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T09:14:18.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:14:18.351Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T09:14:18.455Z] prd-centos7-docker-4c-2g-5841 does not seem to be running inside a container [2020-10-16T09:14:18.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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-10-16T09:14:20.764Z] $ docker top ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T09:14:21.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:14:21.100Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:14:21.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:14:21.313Z] $ docker exec ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent [2020-10-16T09:14:21.479Z] SSH_AUTH_SOCK=/tmp/ssh-4ByyQuWZfMCy/agent.11 [2020-10-16T09:14:21.479Z] SSH_AGENT_PID=16 [2020-10-16T09:14:21.490Z] Running ssh-add (command line suppressed) [2020-10-16T09:14:21.610Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_3224753423083072711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_3224753423083072711.key) [2020-10-16T09:14:21.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:14:22.016Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T09:14:22.035Z] $ docker exec --env ******** --env ******** ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent -k [2020-10-16T09:14:22.152Z] unset SSH_AUTH_SOCK; [2020-10-16T09:14:22.153Z] unset SSH_AGENT_PID; [2020-10-16T09:14:22.153Z] echo Agent pid 16 killed; [2020-10-16T09:14:22.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T09:14:22.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:14:22.341Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:14:22.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:14:22.512Z] $ docker exec ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent [2020-10-16T09:14:22.674Z] SSH_AUTH_SOCK=/tmp/ssh-SAGD04eMgPv6/agent.44 [2020-10-16T09:14:22.674Z] SSH_AGENT_PID=49 [2020-10-16T09:14:22.680Z] Running ssh-add (command line suppressed) [2020-10-16T09:14:22.800Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_22557923558235837.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_22557923558235837.key) [2020-10-16T09:14:22.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:14:23.222Z] + git semver init [2020-10-16T09:14:23.222Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T09:14:23.222Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.git [2020-10-16T09:14:23.222Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-627 [2020-10-16T09:14:23.222Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T09:14:23.222Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T09:14:23.222Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T09:14:23.222Z] # $SEMVER_BRANCH = PR-627 [2020-10-16T09:14:23.222Z] # $SEMVER_TEMP = /tmp/semver-116194951 [2020-10-16T09:14:23.222Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T09:14:23.800Z] # '/tmp/semver-116194951' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver' [2020-10-16T09:14:23.800Z] # -> Force: false [2020-10-16T09:14:23.800Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver [Pipeline] } [2020-10-16T09:14:23.810Z] $ docker exec --env ******** --env ******** ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent -k [2020-10-16T09:14:23.927Z] unset SSH_AUTH_SOCK; [2020-10-16T09:14:23.927Z] unset SSH_AGENT_PID; [2020-10-16T09:14:23.928Z] echo Agent pid 49 killed; [2020-10-16T09:14:23.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T09:14:24.485Z] + git semver [Pipeline] } [2020-10-16T09:14:24.499Z] $ docker stop --time=1 ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab [2020-10-16T09:14:25.854Z] $ docker rm -f ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T09:14:26.359Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T09:14:27.046Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T09:14:27.049Z] [edgeXSemver]: initialized semver on 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-10-16T09:14:42.735Z] Still waiting to schedule task [2020-10-16T09:14:42.735Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T09:14:42.740Z] Still waiting to schedule task [2020-10-16T09:14:42.740Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-16T09:17:03.145Z] Running on prd-centos7-docker-4c-2g-5842 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws [2020-10-16T09:17:03.204Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-16T09:17:05.879Z] using credential edgex-jenkins-ssh [2020-10-16T09:17:05.944Z] Cloning the remote Git repository [2020-10-16T09:17:05.969Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:17:06.033Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-16T09:17:06.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:17:06.083Z] > git --version # timeout=10 [2020-10-16T09:17:06.095Z] > git --version # 'git version 2.16.5' [2020-10-16T09:17:06.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:17:06.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:17:07.252Z] Merging remotes/origin/master commit d41dfb76324865f87a7aea80ddd0df968928e1d8 into PR head commit 497e2f194a1f22d65b0a6a02dce5da02c75df54e [2020-10-16T09:17:07.347Z] Merge succeeded, producing 497e2f194a1f22d65b0a6a02dce5da02c75df54e [2020-10-16T09:17:07.348Z] Checking out Revision 497e2f194a1f22d65b0a6a02dce5da02c75df54e (PR-627) [2020-10-16T09:17:06.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:17:06.857Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:17:06.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:17:06.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:17:06.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:17:06.887Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T09:17:07.261Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:17:07.267Z] > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 [2020-10-16T09:17:07.316Z] > git remote # timeout=10 [2020-10-16T09:17:07.322Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:17:07.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:17:07.331Z] > git merge d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 [2020-10-16T09:17:07.341Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:17:07.351Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:17:07.354Z] > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 [2020-10-16T09:17:10.987Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T09:17:12.023Z] ========================================================= [2020-10-16T09:17:12.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T09:17:12.023Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:17:12.620Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-16T09:17:12.883Z] Sending build context to Docker daemon 2.319MB [2020-10-16T09:17:12.883Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:17:12.883Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:17:13.146Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T09:17:13.146Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:17:13.146Z] ed8968b2872e: Pulling fs layer [2020-10-16T09:17:13.146Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T09:17:13.146Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T09:17:13.146Z] e73272ec9a57: Pulling fs layer [2020-10-16T09:17:13.146Z] 1e910a182e73: Pulling fs layer [2020-10-16T09:17:13.146Z] 4e634b169226: Pulling fs layer [2020-10-16T09:17:13.146Z] e73272ec9a57: Waiting [2020-10-16T09:17:13.146Z] 1e910a182e73: Waiting [2020-10-16T09:17:13.146Z] 4e634b169226: Waiting [2020-10-16T09:17:13.146Z] e871e8e8d7a9: Waiting [2020-10-16T09:17:13.146Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T09:17:13.146Z] a92cc7c5fd73: Download complete [2020-10-16T09:17:13.146Z] ed8968b2872e: Verifying Checksum [2020-10-16T09:17:13.146Z] ed8968b2872e: Download complete [2020-10-16T09:17:13.146Z] e73272ec9a57: Verifying Checksum [2020-10-16T09:17:13.146Z] e73272ec9a57: Download complete [2020-10-16T09:17:13.146Z] 1e910a182e73: Verifying Checksum [2020-10-16T09:17:13.146Z] 1e910a182e73: Download complete [2020-10-16T09:17:13.146Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:17:13.146Z] df20fa9351a1: Download complete [2020-10-16T09:17:13.409Z] df20fa9351a1: Pull complete [2020-10-16T09:17:13.671Z] ed8968b2872e: Pull complete [2020-10-16T09:17:13.671Z] a92cc7c5fd73: Pull complete [2020-10-16T09:17:15.609Z] 4e634b169226: Verifying Checksum [2020-10-16T09:17:15.609Z] 4e634b169226: Download complete [2020-10-16T09:17:16.189Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T09:17:16.189Z] e871e8e8d7a9: Download complete [2020-10-16T09:17:21.521Z] e871e8e8d7a9: Pull complete [2020-10-16T09:17:21.521Z] e73272ec9a57: Pull complete [2020-10-16T09:17:21.521Z] 1e910a182e73: Pull complete [2020-10-16T09:17:26.846Z] 4e634b169226: Pull complete [2020-10-16T09:17:26.846Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T09:17:26.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T09:17:26.846Z] ---> f7629b54cfaa [2020-10-16T09:17:26.846Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:17:26.846Z] ---> Running in 9e5ec912e101 [2020-10-16T09:17:26.846Z] Removing intermediate container 9e5ec912e101 [2020-10-16T09:17:26.846Z] ---> dfed04c35594 [2020-10-16T09:17:26.846Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:17:27.111Z] ---> Running in bfaf42b233f5 [2020-10-16T09:17:28.509Z] Removing intermediate container bfaf42b233f5 [2020-10-16T09:17:28.509Z] ---> c2057a27448b [2020-10-16T09:17:28.509Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T09:17:28.509Z] ---> Running in f69f7206ffc6 [2020-10-16T09:17:29.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:17:29.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:17:30.340Z] OK: 166 MiB in 39 packages [2020-10-16T09:17:30.950Z] Removing intermediate container f69f7206ffc6 [2020-10-16T09:17:30.950Z] ---> 021e6b24dfbb [2020-10-16T09:17:30.950Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T09:17:30.950Z] ---> Running in ea0bbe27d826 [2020-10-16T09:17:30.950Z] Removing intermediate container ea0bbe27d826 [2020-10-16T09:17:30.950Z] ---> 85a185475ca8 [2020-10-16T09:17:30.950Z] Step 7/8 : COPY . . [2020-10-16T09:17:32.350Z] ---> 1bb4b78dea36 [2020-10-16T09:17:32.350Z] Step 8/8 : RUN go mod download [2020-10-16T09:17:32.350Z] ---> Running in 076ae52e81d6 [2020-10-16T09:17:50.522Z] Removing intermediate container 076ae52e81d6 [2020-10-16T09:17:50.522Z] ---> a292c725cbb8 [2020-10-16T09:17:50.522Z] Successfully built a292c725cbb8 [2020-10-16T09:17:50.522Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:17:51.069Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:17:51.069Z] . [Pipeline] withDockerContainer [2020-10-16T09:17:51.186Z] prd-centos7-docker-4c-2g-5842 does not seem to be running inside a container [2020-10-16T09:17:51.239Z] $ 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-10-16T09:17:51.915Z] $ docker top 55e5cc3c7a549b446d6fd81283219cbb3568e9634610057e50c018ee221ca912 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:17:52.406Z] + go version [2020-10-16T09:17:52.406Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T09:17:52.424Z] $ docker stop --time=1 55e5cc3c7a549b446d6fd81283219cbb3568e9634610057e50c018ee221ca912 [2020-10-16T09:17:53.767Z] $ docker rm -f 55e5cc3c7a549b446d6fd81283219cbb3568e9634610057e50c018ee221ca912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:17:54.709Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:17:54.709Z] . [Pipeline] withDockerContainer [2020-10-16T09:17:54.805Z] prd-centos7-docker-4c-2g-5842 does not seem to be running inside a container [2020-10-16T09:17:54.972Z] $ 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-10-16T09:17:55.615Z] $ docker top 1139e6d346bf9a779408ffed86963c419d2688cb95494bcd5a187c7566bdc311 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:17:56.108Z] + make test [2020-10-16T09:17:56.108Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T09:18:02.739Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T09:18:17.773Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T09:18:17.773Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T09:18:17.773Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T09:18:17.773Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.049s coverage: 21.6% of statements [2020-10-16T09:18:17.773Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.419s coverage: 97.1% of statements [2020-10-16T09:18:36.398Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5843 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws [2020-10-16T09:18:36.455Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-16T09:18:41.889Z] using credential edgex-jenkins-ssh [2020-10-16T09:18:42.035Z] Cloning the remote Git repository [2020-10-16T09:18:42.120Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:18:42.230Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-16T09:18:42.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:18:42.310Z] > git --version # timeout=10 [2020-10-16T09:18:42.331Z] > git --version # 'git version 2.17.1' [2020-10-16T09:18:42.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:18:42.392Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:18:44.030Z] Merging remotes/origin/master commit d41dfb76324865f87a7aea80ddd0df968928e1d8 into PR head commit 497e2f194a1f22d65b0a6a02dce5da02c75df54e [2020-10-16T09:18:43.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:18:43.475Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:18:43.498Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:18:43.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:18:43.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:18:43.543Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T09:18:44.073Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:18:44.089Z] > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 [2020-10-16T09:18:44.203Z] > git remote # timeout=10 [2020-10-16T09:18:44.325Z] Merge succeeded, producing 497e2f194a1f22d65b0a6a02dce5da02c75df54e [2020-10-16T09:18:44.326Z] Checking out Revision 497e2f194a1f22d65b0a6a02dce5da02c75df54e (PR-627) [2020-10-16T09:18:44.221Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:18:44.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:18:44.253Z] > git merge d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 [2020-10-16T09:18:44.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:18:44.349Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:18:44.373Z] > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 [2020-10-16T09:18:48.735Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T09:18:49.782Z] ========================================================= [2020-10-16T09:18:49.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T09:18:49.782Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:18:49.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 9.4% of statements [2020-10-16T09:18:49.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T09:18:49.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 42.6% of statements [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T09:18:49.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.242s coverage: 68.9% of statements [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T09:18:49.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T09:18:49.951Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.518s coverage: 68.9% of statements [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T09:18:49.951Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T09:18:49.951Z] GO111MODULE=on go vet ./... [2020-10-16T09:18:50.922Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-16T09:18:51.930Z] Sending build context to Docker daemon 2.318MB [2020-10-16T09:18:51.930Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:18:51.930Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:18:52.202Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T09:18:52.202Z] b538f80385f9: Pulling fs layer [2020-10-16T09:18:52.202Z] 74f711af9a0d: Pulling fs layer [2020-10-16T09:18:52.202Z] 99f96fe45779: Pulling fs layer [2020-10-16T09:18:52.202Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T09:18:52.202Z] 45590311c82a: Pulling fs layer [2020-10-16T09:18:52.202Z] 8529a6b9a6be: Waiting [2020-10-16T09:18:52.203Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T09:18:52.203Z] 209524e5b208: Pulling fs layer [2020-10-16T09:18:52.203Z] 45590311c82a: Waiting [2020-10-16T09:18:52.203Z] 69ca0ff8b7b3: Waiting [2020-10-16T09:18:52.203Z] 209524e5b208: Waiting [2020-10-16T09:18:52.203Z] 99f96fe45779: Verifying Checksum [2020-10-16T09:18:52.203Z] 99f96fe45779: Download complete [2020-10-16T09:18:52.203Z] 74f711af9a0d: Verifying Checksum [2020-10-16T09:18:52.203Z] 74f711af9a0d: Download complete [2020-10-16T09:18:52.203Z] 45590311c82a: Download complete [2020-10-16T09:18:52.203Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T09:18:52.203Z] 69ca0ff8b7b3: Download complete [2020-10-16T09:18:52.477Z] b538f80385f9: Verifying Checksum [2020-10-16T09:18:52.477Z] b538f80385f9: Download complete [2020-10-16T09:18:53.079Z] b538f80385f9: Pull complete [2020-10-16T09:18:53.684Z] 74f711af9a0d: Pull complete [2020-10-16T09:18:54.294Z] 99f96fe45779: Pull complete [2020-10-16T09:18:55.291Z] 209524e5b208: Verifying Checksum [2020-10-16T09:18:55.292Z] 209524e5b208: Download complete [2020-10-16T09:18:56.278Z] 8529a6b9a6be: Download complete [2020-10-16T09:18:56.607Z] gofmt -l . [2020-10-16T09:18:56.607Z] [ "`gofmt -l .`" = "" ] [2020-10-16T09:18:56.607Z] ./bin/test-attribution-txt.sh [2020-10-16T09:18:56.871Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:18:57.427Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:18:57.435Z] $ docker stop --time=1 1139e6d346bf9a779408ffed86963c419d2688cb95494bcd5a187c7566bdc311 [2020-10-16T09:18:59.288Z] $ docker rm -f 1139e6d346bf9a779408ffed86963c419d2688cb95494bcd5a187c7566bdc311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T09:19:01.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:19:01.398Z] + ls -al . [2020-10-16T09:19:01.398Z] total 188 [2020-10-16T09:19:01.398Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 09:18 . [2020-10-16T09:19:01.398Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 09:17 .. [2020-10-16T09:19:01.398Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 09:17 bin [2020-10-16T09:19:01.398Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 09:18 coverage.out [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 09:17 Dockerfile.build [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:17 .dockerignore [2020-10-16T09:19:01.398Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 09:17 example [2020-10-16T09:19:01.398Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:17 .git [2020-10-16T09:19:01.398Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:17 .github [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 09:17 .gitignore [2020-10-16T09:19:01.398Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 09:18 go.mod [2020-10-16T09:19:01.398Z] -rw-r--r--. 1 jenkins jenkins 13658 Oct 16 09:18 go.sum [2020-10-16T09:19:01.398Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 09:17 internal [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 09:17 Jenkinsfile [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 09:17 LICENSE [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 09:17 Makefile [2020-10-16T09:19:01.398Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 09:17 openapi [2020-10-16T09:19:01.398Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 09:17 pkg [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 09:17 README.md [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 09:17 RELEASE-NOTES.txt [2020-10-16T09:19:01.398Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:17 snap [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:14 VERSION [2020-10-16T09:19:01.398Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 09:17 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:19:01.705Z] + 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=497e2f194a1f22d65b0a6a02dce5da02c75df54e --label arch=amd64 --label version=0.0.0 . [2020-10-16T09:19:01.705Z] Sending build context to Docker daemon 2.43MB [2020-10-16T09:19:01.705Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T09:19:01.705Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T09:19:01.705Z] ---> a292c725cbb8 [2020-10-16T09:19:01.705Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T09:19:02.279Z] ---> Running in f2b555bc1180 [2020-10-16T09:19:02.542Z] Removing intermediate container f2b555bc1180 [2020-10-16T09:19:02.542Z] ---> 53587f50dd49 [2020-10-16T09:19:02.542Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T09:19:02.542Z] ---> Running in 8d121d52b6c7 [2020-10-16T09:19:02.805Z] Removing intermediate container 8d121d52b6c7 [2020-10-16T09:19:02.805Z] ---> c39ec9c3ca01 [2020-10-16T09:19:02.805Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:19:02.805Z] ---> Running in c7a3b289cda0 [2020-10-16T09:19:03.066Z] Removing intermediate container c7a3b289cda0 [2020-10-16T09:19:03.066Z] ---> 5dfc8ff51173 [2020-10-16T09:19:03.066Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:19:03.066Z] ---> Running in d3c6f383a96b [2020-10-16T09:19:04.018Z] Removing intermediate container d3c6f383a96b [2020-10-16T09:19:04.018Z] ---> 8b96d5ba5607 [2020-10-16T09:19:04.018Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T09:19:04.018Z] ---> Running in 01aaf42888ef [2020-10-16T09:19:04.282Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:19:05.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:19:05.802Z] OK: 166 MiB in 39 packages [2020-10-16T09:19:06.387Z] Removing intermediate container 01aaf42888ef [2020-10-16T09:19:06.387Z] ---> b93f232b0438 [2020-10-16T09:19:06.387Z] Step 8/24 : COPY . . [2020-10-16T09:19:06.460Z] 8529a6b9a6be: Pull complete [2020-10-16T09:19:06.737Z] 45590311c82a: Pull complete [2020-10-16T09:19:07.016Z] 69ca0ff8b7b3: Pull complete [2020-10-16T09:19:07.353Z] ---> 9e17f0861c3f [2020-10-16T09:19:07.353Z] Step 9/24 : RUN ${MAKE} [2020-10-16T09:19:07.353Z] ---> Running in 4f0bab11e8b4 [2020-10-16T09:19:07.933Z] 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-10-16T09:19:11.370Z] 209524e5b208: Pull complete [2020-10-16T09:19:11.370Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T09:19:11.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T09:19:11.370Z] ---> 5bddaf1c2fca [2020-10-16T09:19:11.370Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:19:13.986Z] ---> Running in 03a4421cb3a8 [2020-10-16T09:19:13.986Z] Removing intermediate container 03a4421cb3a8 [2020-10-16T09:19:13.986Z] ---> 244151807b4d [2020-10-16T09:19:13.986Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:19:14.260Z] ---> Running in ae684d094ee6 [2020-10-16T09:19:16.204Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T09:19:16.778Z] Removing intermediate container 4f0bab11e8b4 [2020-10-16T09:19:16.778Z] ---> 7ee16485f3f5 [2020-10-16T09:19:16.778Z] Step 10/24 : FROM scratch [2020-10-16T09:19:16.778Z] ---> [2020-10-16T09:19:16.778Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:19:16.879Z] Removing intermediate container ae684d094ee6 [2020-10-16T09:19:16.879Z] ---> 418e35400776 [2020-10-16T09:19:16.879Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T09:19:16.879Z] ---> Running in 7ba2a0ae0e54 [2020-10-16T09:19:17.040Z] ---> Running in 8e7a7ad868f9 [2020-10-16T09:19:17.040Z] Removing intermediate container 8e7a7ad868f9 [2020-10-16T09:19:17.040Z] ---> f384255bf249 [2020-10-16T09:19:17.040Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T09:19:17.040Z] ---> Running in 42d01c35a812 [2020-10-16T09:19:17.301Z] Removing intermediate container 42d01c35a812 [2020-10-16T09:19:17.302Z] ---> 7a86be683271 [2020-10-16T09:19:17.302Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T09:19:17.302Z] ---> Running in ed47aa99c94e [2020-10-16T09:19:17.563Z] Removing intermediate container ed47aa99c94e [2020-10-16T09:19:17.563Z] ---> d6b25ce25207 [2020-10-16T09:19:17.563Z] Step 14/24 : WORKDIR / [2020-10-16T09:19:17.563Z] ---> Running in 7aa9d9a431c7 [2020-10-16T09:19:17.563Z] Removing intermediate container 7aa9d9a431c7 [2020-10-16T09:19:17.563Z] ---> 70951c10c7db [2020-10-16T09:19:17.563Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T09:19:17.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:19:18.136Z] ---> 67ff0053f6f8 [2020-10-16T09:19:18.136Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T09:19:18.398Z] ---> 416645ddfbe1 [2020-10-16T09:19:18.398Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T09:19:18.661Z] ---> 264f8044be8c [2020-10-16T09:19:18.661Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T09:19:19.959Z] ---> 844e9dce6847 [2020-10-16T09:19:19.959Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T09:19:19.959Z] ---> 3ccb0abae559 [2020-10-16T09:19:19.959Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T09:19:19.959Z] ---> Running in fc3485727fdb [2020-10-16T09:19:19.959Z] Removing intermediate container fc3485727fdb [2020-10-16T09:19:19.959Z] ---> ab0880b449c1 [2020-10-16T09:19:19.959Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:19:19.959Z] ---> Running in 04a3a070c2fc [2020-10-16T09:19:19.959Z] Removing intermediate container 04a3a070c2fc [2020-10-16T09:19:19.959Z] ---> ef5a13917de8 [2020-10-16T09:19:19.959Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T09:19:19.959Z] ---> Running in 54e19af4d13d [2020-10-16T09:19:19.959Z] Removing intermediate container 54e19af4d13d [2020-10-16T09:19:19.959Z] ---> ac009b09ded8 [2020-10-16T09:19:19.959Z] Step 23/24 : LABEL git_sha=497e2f194a1f22d65b0a6a02dce5da02c75df54e [2020-10-16T09:19:19.959Z] ---> Running in af60963f1a7d [2020-10-16T09:19:19.963Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:19:19.963Z] OK: 142 MiB in 39 packages [2020-10-16T09:19:20.221Z] Removing intermediate container af60963f1a7d [2020-10-16T09:19:20.221Z] ---> 88fc851a3b3b [2020-10-16T09:19:20.221Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T09:19:20.221Z] ---> Running in ce6402e86539 [2020-10-16T09:19:20.221Z] Removing intermediate container ce6402e86539 [2020-10-16T09:19:20.221Z] ---> 1fe4a242c4fe [2020-10-16T09:19:20.221Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:19:20.221Z] Successfully built 1fe4a242c4fe [2020-10-16T09:19:20.482Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2020-10-16T09:19:20.556Z] Removing intermediate container 7ba2a0ae0e54 [2020-10-16T09:19:20.556Z] ---> 458ab265ff19 [2020-10-16T09:19:20.556Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-10-16T09:19:20.833Z] ---> Running in e9097d25568a [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-16T09:19:21.111Z] Removing intermediate container e9097d25568a [2020-10-16T09:19:21.111Z] ---> eedc81280583 [2020-10-16T09:19:21.111Z] Step 7/8 : COPY . . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-10-16T09:19:22.558Z] ---> 4d1350877e87 [2020-10-16T09:19:22.558Z] Step 8/8 : RUN go mod download [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-16T09:19:22.835Z] ---> Running in b0fa04dbdf2c [2020-10-16T09:19:45.041Z] Removing intermediate container b0fa04dbdf2c [2020-10-16T09:19:45.041Z] ---> 786987880cd7 [2020-10-16T09:19:45.041Z] Successfully built 786987880cd7 [2020-10-16T09:19:45.041Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:19:45.476Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:19:45.476Z] . [Pipeline] withDockerContainer [2020-10-16T09:19:45.724Z] prd-ubuntu18.04-docker-arm64-4c-16g-5843 does not seem to be running inside a container [2020-10-16T09:19:45.853Z] $ 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-10-16T09:19:47.720Z] $ docker top 4b2365fadc876b2d2b7bd744c3a3a2e31619b7e0c7cab2f50972a058c69a5ad6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:19:49.135Z] + go version [2020-10-16T09:19:49.135Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T09:19:49.169Z] $ docker stop --time=1 4b2365fadc876b2d2b7bd744c3a3a2e31619b7e0c7cab2f50972a058c69a5ad6 [2020-10-16T09:19:51.089Z] $ docker rm -f 4b2365fadc876b2d2b7bd744c3a3a2e31619b7e0c7cab2f50972a058c69a5ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:19:52.173Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:19:52.173Z] . [Pipeline] withDockerContainer [2020-10-16T09:19:52.438Z] prd-ubuntu18.04-docker-arm64-4c-16g-5843 does not seem to be running inside a container [2020-10-16T09:19:52.531Z] $ 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-10-16T09:19:54.423Z] $ docker top b8233257054aed57ce1638c6f7ac59f2b7a560e9239208b223c75c4dabbb00be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:19:55.853Z] + make test [2020-10-16T09:19:55.854Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T09:20:18.072Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T09:20:57.190Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T09:20:57.190Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T09:20:57.190Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T09:20:57.190Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.158s coverage: 21.6% of statements [2020-10-16T09:20:59.833Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.136s coverage: 97.1% of statements [2020-10-16T09:21:32.185Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.161s coverage: 9.4% of statements [2020-10-16T09:21:32.185Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T09:21:32.185Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.589s coverage: 42.6% of statements [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T09:21:32.185Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.763s coverage: 68.9% of statements [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T09:21:32.185Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 52.6% of statements [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T09:21:32.185Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.838s coverage: 68.9% of statements [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T09:21:32.185Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T09:21:32.185Z] GO111MODULE=on go vet ./... [2020-10-16T09:21:59.037Z] gofmt -l . [2020-10-16T09:21:59.037Z] [ "`gofmt -l .`" = "" ] [2020-10-16T09:21:59.037Z] ./bin/test-attribution-txt.sh [2020-10-16T09:21:59.037Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:21:59.103Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T09:22:00.034Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:22:00.061Z] $ docker stop --time=1 b8233257054aed57ce1638c6f7ac59f2b7a560e9239208b223c75c4dabbb00be [2020-10-16T09:22:02.358Z] $ docker rm -f b8233257054aed57ce1638c6f7ac59f2b7a560e9239208b223c75c4dabbb00be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:22:03.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:22:04.425Z] + ls -al . [2020-10-16T09:22:04.426Z] total 224 [2020-10-16T09:22:04.426Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 09:21 . [2020-10-16T09:22:04.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 .. [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:18 .dockerignore [2020-10-16T09:22:04.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:18 .git [2020-10-16T09:22:04.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:18 .github [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 09:18 .gitignore [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 09:18 Dockerfile.build [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 09:18 Jenkinsfile [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 09:18 LICENSE [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 09:18 Makefile [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 09:18 README.md [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 09:18 RELEASE-NOTES.txt [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:14 VERSION [2020-10-16T09:22:04.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:18 bin [2020-10-16T09:22:04.426Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 09:21 coverage.out [2020-10-16T09:22:04.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 example [2020-10-16T09:22:04.426Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 09:21 go.mod [2020-10-16T09:22:04.426Z] -rw-r--r-- 1 jenkins jenkins 13658 Oct 16 09:21 go.sum [2020-10-16T09:22:04.426Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 09:18 internal [2020-10-16T09:22:04.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 openapi [2020-10-16T09:22:04.426Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 09:18 pkg [2020-10-16T09:22:04.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 snap [2020-10-16T09:22:04.426Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 09:18 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:22:04.824Z] + 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=497e2f194a1f22d65b0a6a02dce5da02c75df54e --label arch=arm64 --label version=0.0.0 . [2020-10-16T09:22:05.430Z] Sending build context to Docker daemon 2.429MB [2020-10-16T09:22:05.430Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T09:22:05.430Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T09:22:05.430Z] ---> 786987880cd7 [2020-10-16T09:22:05.430Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T09:22:05.710Z] ---> Running in 72a415139758 [2020-10-16T09:22:05.983Z] Removing intermediate container 72a415139758 [2020-10-16T09:22:05.983Z] ---> 144ae604b8e7 [2020-10-16T09:22:05.983Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T09:22:06.259Z] ---> Running in dc1488460702 [2020-10-16T09:22:06.859Z] Removing intermediate container dc1488460702 [2020-10-16T09:22:06.859Z] ---> cb228adea57d [2020-10-16T09:22:06.859Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:22:06.859Z] ---> Running in f61c9113bca6 [2020-10-16T09:22:07.136Z] Removing intermediate container f61c9113bca6 [2020-10-16T09:22:07.136Z] ---> 295d842b0597 [2020-10-16T09:22:07.136Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:22:07.415Z] ---> Running in 8d6fc436139c [2020-10-16T09:22:10.043Z] Removing intermediate container 8d6fc436139c [2020-10-16T09:22:10.043Z] ---> 8214178a4141 [2020-10-16T09:22:10.043Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T09:22:10.043Z] ---> Running in 607c98cd5686 [2020-10-16T09:22:11.478Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:22:12.071Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:22:13.045Z] OK: 142 MiB in 39 packages [2020-10-16T09:22:14.025Z] Removing intermediate container 607c98cd5686 [2020-10-16T09:22:14.025Z] ---> 1d9cd2884f94 [2020-10-16T09:22:14.025Z] Step 8/24 : COPY . . [2020-10-16T09:22:15.005Z] ---> 7a87e0989e71 [2020-10-16T09:22:15.005Z] Step 9/24 : RUN ${MAKE} [2020-10-16T09:22:15.288Z] ---> Running in 64955ac865d4 [2020-10-16T09:22:16.724Z] 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-10-16T09:22:43.567Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T09:22:43.567Z] Removing intermediate container 64955ac865d4 [2020-10-16T09:22:43.567Z] ---> 29242b50ff16 [2020-10-16T09:22:43.567Z] Step 10/24 : FROM scratch [2020-10-16T09:22:43.567Z] ---> [2020-10-16T09:22:43.567Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:22:43.567Z] ---> Running in 16f04ff892c0 [2020-10-16T09:22:43.567Z] Removing intermediate container 16f04ff892c0 [2020-10-16T09:22:43.567Z] ---> b7d16d87fac4 [2020-10-16T09:22:43.567Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T09:22:43.567Z] ---> Running in f8bbad96e3e5 [2020-10-16T09:22:43.842Z] Removing intermediate container f8bbad96e3e5 [2020-10-16T09:22:43.842Z] ---> 993125eedf9c [2020-10-16T09:22:43.842Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T09:22:43.842Z] ---> Running in cbc96ef4ad8a [2020-10-16T09:22:44.113Z] Removing intermediate container cbc96ef4ad8a [2020-10-16T09:22:44.113Z] ---> e0b1a043a153 [2020-10-16T09:22:44.113Z] Step 14/24 : WORKDIR / [2020-10-16T09:22:44.412Z] ---> Running in cb5b0b63f79b [2020-10-16T09:22:44.689Z] Removing intermediate container cb5b0b63f79b [2020-10-16T09:22:44.690Z] ---> cdbc5f83eab5 [2020-10-16T09:22:44.690Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T09:22:46.144Z] ---> c8e52656543a [2020-10-16T09:22:46.144Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T09:22:46.748Z] ---> 458a2e84e02a [2020-10-16T09:22:46.748Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T09:22:47.354Z] ---> f226f911dbce [2020-10-16T09:22:47.354Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T09:22:48.331Z] ---> 085470474589 [2020-10-16T09:22:48.331Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T09:22:48.934Z] ---> 3518319a6c89 [2020-10-16T09:22:48.934Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T09:22:48.934Z] ---> Running in c8d7e5d701c8 [2020-10-16T09:22:49.531Z] Removing intermediate container c8d7e5d701c8 [2020-10-16T09:22:49.531Z] ---> 95b46a08c2bb [2020-10-16T09:22:49.531Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:22:49.531Z] ---> Running in 4921f88c5d38 [2020-10-16T09:22:50.127Z] Removing intermediate container 4921f88c5d38 [2020-10-16T09:22:50.127Z] ---> 919c2aefbbfe [2020-10-16T09:22:50.127Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T09:22:50.127Z] ---> Running in 6b5cb7c0d3e0 [2020-10-16T09:22:50.725Z] Removing intermediate container 6b5cb7c0d3e0 [2020-10-16T09:22:50.725Z] ---> 83f71d65d3a2 [2020-10-16T09:22:50.725Z] Step 23/24 : LABEL git_sha=497e2f194a1f22d65b0a6a02dce5da02c75df54e [2020-10-16T09:22:50.726Z] ---> Running in aac1c14eb006 [2020-10-16T09:22:51.323Z] Removing intermediate container aac1c14eb006 [2020-10-16T09:22:51.323Z] ---> 53ddb00f3af4 [2020-10-16T09:22:51.323Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T09:22:51.323Z] ---> Running in 869ab3cb7588 [2020-10-16T09:22:51.599Z] Removing intermediate container 869ab3cb7588 [2020-10-16T09:22:51.599Z] ---> 1bcab7127c50 [2020-10-16T09:22:51.599Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:22:51.874Z] Successfully built 1bcab7127c50 [2020-10-16T09:22:51.874Z] 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-10-16T09:22:54.219Z] provisioning config files... [2020-10-16T09:22:54.238Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config1092053799546105602tmp [Pipeline] { [Pipeline] sh [2020-10-16T09:22:54.705Z] + set +x [2020-10-16T09:22:54.705Z] + curl -s https://codecov.io/bash [2020-10-16T09:22:54.705Z] + bash -s -- [2020-10-16T09:22:54.970Z] [2020-10-16T09:22:54.970Z] _____ _ [2020-10-16T09:22:54.970Z] / ____| | | [2020-10-16T09:22:54.970Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T09:22:54.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T09:22:54.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T09:22:54.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T09:22:54.970Z] Bash-20201009-048fee3 [2020-10-16T09:22:54.970Z] [2020-10-16T09:22:54.970Z] [2020-10-16T09:22:54.970Z] ==> Jenkins CI detected. [2020-10-16T09:22:54.970Z] project root: . [2020-10-16T09:22:54.970Z] --> token set from env [2020-10-16T09:22:54.971Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T09:22:54.971Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T09:22:54.971Z] ==> Python coveragepy not found [2020-10-16T09:22:54.971Z] ==> Searching for coverage reports in: [2020-10-16T09:22:54.971Z] + . [2020-10-16T09:22:54.971Z] -> Found 1 reports [2020-10-16T09:22:54.971Z] ==> Detecting git/mercurial file structure [2020-10-16T09:22:54.971Z] ==> Reading reports [2020-10-16T09:22:54.971Z] + ./coverage.out bytes=110398 [2020-10-16T09:22:54.971Z] ==> Appending adjustments [2020-10-16T09:22:54.971Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T09:22:55.547Z] + Found adjustments [2020-10-16T09:22:55.547Z] ==> Gzipping contents [2020-10-16T09:22:55.547Z] ==> Uploading reports [2020-10-16T09:22:55.547Z] url: https://codecov.io [2020-10-16T09:22:55.547Z] query: branch=PR-627&commit=497e2f194a1f22d65b0a6a02dce5da02c75df54e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2020-10-16T09:22:55.547Z] -> Pinging Codecov [2020-10-16T09:22:55.547Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-627&commit=497e2f194a1f22d65b0a6a02dce5da02c75df54e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2020-10-16T09:22:56.127Z] -> Uploading to [2020-10-16T09:22:56.127Z] [2020-10-16T09:22:56.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:22:56.127Z] Dload Upload Total Spent Left Speed [2020-10-16T09:22:56.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T09:22:56.127Z] X> Failed to upload [2020-10-16T09:22:56.127Z] ==> Uploading to Codecov [2020-10-16T09:22:56.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:22:56.127Z] Dload Upload Total Spent Left Speed [2020-10-16T09:22:56.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19198 100 110 100 19088 206 35912 --:--:-- --:--:-- --:--:-- 35947 [2020-10-16T09:22:56.703Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/497e2f194a1f22d65b0a6a02dce5da02c75df54e [Pipeline] } [2020-10-16T09:22:56.716Z] 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] { (Archive Prep) Stage "Archive Prep" 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-10-16T09:22:59.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:23:00.035Z] ---> package-listing.sh [2020-10-16T09:23:00.035Z] ++ facter osfamily [2020-10-16T09:23:00.035Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T09:23:00.035Z] + OS_FAMILY=redhat [2020-10-16T09:23:00.035Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-627 [2020-10-16T09:23:00.035Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T09:23:00.035Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T09:23:00.035Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T09:23:00.035Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T09:23:00.035Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' [2020-10-16T09:23:00.035Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T09:23:00.035Z] + case "${OS_FAMILY}" in [2020-10-16T09:23:00.035Z] + rpm -qa [2020-10-16T09:23:00.035Z] + sort [2020-10-16T09:23:04.289Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T09:23:04.289Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T09:23:04.289Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T09:23:04.289Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' [2020-10-16T09:23:04.289Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [2020-10-16T09:23:04.289Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [Pipeline] echo [2020-10-16T09:23:04.311Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T09:23:04.640Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:23:04.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:23:04.964Z] [2020-10-16T09:23:04.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:23:05.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:23:05.340Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T09:23:05.340Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:23:05.340Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T09:23:05.340Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T09:23:05.340Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T09:23:05.340Z] 93b61091891f: Pulling fs layer [2020-10-16T09:23:05.340Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T09:23:05.340Z] 5e14af77c1be: Pulling fs layer [2020-10-16T09:23:05.340Z] 01666e4c0597: Pulling fs layer [2020-10-16T09:23:05.340Z] aa168da1d23b: Pulling fs layer [2020-10-16T09:23:05.340Z] 93b9cdb0e59b: Waiting [2020-10-16T09:23:05.340Z] 5e14af77c1be: Waiting [2020-10-16T09:23:05.340Z] aa168da1d23b: Waiting [2020-10-16T09:23:05.340Z] 01666e4c0597: Waiting [2020-10-16T09:23:05.340Z] 93b61091891f: Waiting [2020-10-16T09:23:05.340Z] 46f8f816bc3b: Waiting [2020-10-16T09:23:05.340Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T09:23:05.340Z] 36b3adc4ff6f: Download complete [2020-10-16T09:23:05.340Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T09:23:05.340Z] 46f8f816bc3b: Download complete [2020-10-16T09:23:05.340Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:23:05.340Z] df20fa9351a1: Download complete [2020-10-16T09:23:05.340Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T09:23:05.340Z] 93b9cdb0e59b: Download complete [2020-10-16T09:23:05.611Z] 93b61091891f: Verifying Checksum [2020-10-16T09:23:05.611Z] 93b61091891f: Download complete [2020-10-16T09:23:05.612Z] 5e14af77c1be: Verifying Checksum [2020-10-16T09:23:05.612Z] 5e14af77c1be: Download complete [2020-10-16T09:23:05.612Z] 01666e4c0597: Verifying Checksum [2020-10-16T09:23:05.612Z] 01666e4c0597: Download complete [2020-10-16T09:23:05.881Z] df20fa9351a1: Pull complete [2020-10-16T09:23:06.146Z] 36b3adc4ff6f: Pull complete [2020-10-16T09:23:06.146Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T09:23:06.146Z] 8ad3a11d3b57: Download complete [2020-10-16T09:23:07.114Z] 8ad3a11d3b57: Pull complete [2020-10-16T09:23:07.114Z] 46f8f816bc3b: Pull complete [2020-10-16T09:23:07.695Z] 93b61091891f: Pull complete [2020-10-16T09:23:07.695Z] 93b9cdb0e59b: Pull complete [2020-10-16T09:23:07.976Z] 5e14af77c1be: Pull complete [2020-10-16T09:23:08.251Z] 01666e4c0597: Pull complete [2020-10-16T09:23:08.251Z] aa168da1d23b: Verifying Checksum [2020-10-16T09:23:08.251Z] aa168da1d23b: Download complete [2020-10-16T09:23:16.511Z] aa168da1d23b: Pull complete [2020-10-16T09:23:16.511Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T09:23:16.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:23:16.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T09:23:16.776Z] prd-centos7-docker-4c-2g-5841 does not seem to be running inside a container [2020-10-16T09:23:16.827Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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-10-16T09:23:20.086Z] $ docker top bf97179edfc0d566157316ff33798658ee09636e6d38d530c858e5b938f191eb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:23:20.778Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T09:23:21.181Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T09:23:21.518Z] + ls /var/log/sa-host [2020-10-16T09:23:21.518Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T09:23:21.518Z] file_magic: OK [2020-10-16T09:23:21.518Z] HZ: Using current value: 100 [2020-10-16T09:23:21.518Z] file_header: OK [2020-10-16T09:23:21.518Z] 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-10-16T09:23:21.518Z] Statistics: [2020-10-16T09:23:21.518Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:23:21.518Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T09:23:21.518Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T09:23:21.518Z] file_magic: OK [2020-10-16T09:23:21.518Z] HZ: Using current value: 100 [2020-10-16T09:23:21.518Z] file_header: OK [2020-10-16T09:23:21.518Z] 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-10-16T09:23:21.518Z] Statistics: [2020-10-16T09:23:21.518Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:23:21.518Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T09:23:22.215Z] provisioning config files... [2020-10-16T09:23:22.240Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config7870636006953937129tmp [Pipeline] { [Pipeline] echo [2020-10-16T09:23:22.349Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:23:22.706Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T09:23:22.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T09:23:22.899Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:23:23.254Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T09:23:23.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:23:23.632Z] ---> sudo-logs.sh [2020-10-16T09:23:23.632Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T09:23:23.674Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:23:24.007Z] ---> job-cost.sh [2020-10-16T09:23:24.007Z] lf-activate-venv: SKIPPING [2020-10-16T09:23:24.007Z] INFO: No Stack... [2020-10-16T09:23:25.489Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T09:23:26.113Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T09:23:26.132Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:23:26.493Z] ---> logs-deploy.sh [2020-10-16T09:23:26.494Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-627/6 [2020-10-16T09:23:26.494Z] INFO: archiving workspace using pattern(s): [2020-10-16T09:23:28.487Z] Archives upload complete. [2020-10-16T09:23:28.487Z] INFO: archiving logs to Nexus