Pull request #632 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf2ca9639e94ace87c4e52fa9af7157d3d98188f+6cec193abf44cabffe02bbcaff9748adb3f719d5 (2d9d80ed9885c153275b3aecd86f8b0aa588cea6) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-632/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-632/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-6253 in /w/workspace/dgexfoundry_device-sdk-go_PR-632 [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-632 # 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 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit cf2ca9639e94ace87c4e52fa9af7157d3d98188f Merge succeeded, producing cf2ca9639e94ace87c4e52fa9af7157d3d98188f Checking out Revision cf2ca9639e94ace87c4e52fa9af7157d3d98188f (PR-632) > 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/632/head:refs/remotes/origin/PR-632 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T08:42:47.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T08:42:47.621Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T08:42:47.838Z] ========================================================= [2020-10-19T08:42:47.838Z] EdgeX Global Pipelines Version Info [2020-10-19T08:42:47.838Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:42:49.440Z] ------------------- [2020-10-19T08:42:49.440Z] stable info: [2020-10-19T08:42:49.440Z] ------------------- [2020-10-19T08:42:49.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T08:42:49.440Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T08:42:49.440Z] Message: update stable to v1.0.144 [2020-10-19T08:42:50.387Z] ------------------- [2020-10-19T08:42:50.387Z] experimental info: [2020-10-19T08:42:50.387Z] ------------------- [2020-10-19T08:42:50.387Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T08:42:50.387Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T08:42:50.387Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T08:42:50.929Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T08:42:51.108Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T08:42:51.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T08:42:51.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T08:42:51.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T08:42:51.721Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T08:42:51.915Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T08:42:52.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T08:42:52.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T08:42:52.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T08:42:52.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T08:42:52.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T08:42:52.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T08:42:52.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T08:42:53.042Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T08:42:53.170Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T08:42:53.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T08:42:53.449Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T08:42:53.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T08:42:53.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T08:42:53.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T08:42:54.038Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T08:42:54.179Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T08:42:54.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T08:42:54.445Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T08:42:54.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-632 [Pipeline] echo [2020-10-19T08:42:54.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-632 [Pipeline] echo [2020-10-19T08:42:54.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-632 [Pipeline] echo [2020-10-19T08:42:55.021Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf2ca9639e94ace87c4e52fa9af7157d3d98188f [Pipeline] echo [2020-10-19T08:42:55.160Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf2ca96 [Pipeline] echo [2020-10-19T08:42:55.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T08:42:56.052Z] + git log --format=format:%s -1 cf2ca9639e94ace87c4e52fa9af7157d3d98188f [Pipeline] echo [2020-10-19T08:42:56.137Z] GIT_COMMIT: cf2ca9639e94ace87c4e52fa9af7157d3d98188f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-10-19T08:42:56.212Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:42:57.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T08:42:57.509Z] [2020-10-19T08:42:57.509Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:42:57.902Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T08:42:57.902Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T08:42:57.902Z] 31603596830f: Pulling fs layer [2020-10-19T08:42:57.902Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T08:42:57.902Z] 6ca5941a6612: Pulling fs layer [2020-10-19T08:42:57.902Z] ecc8261a40a4: Pulling fs layer [2020-10-19T08:42:57.902Z] ecc8261a40a4: Waiting [2020-10-19T08:42:57.902Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T08:42:57.902Z] 2a8b12db71e7: Download complete [2020-10-19T08:42:58.171Z] 31603596830f: Verifying Checksum [2020-10-19T08:42:58.171Z] 31603596830f: Download complete [2020-10-19T08:42:58.171Z] ecc8261a40a4: Verifying Checksum [2020-10-19T08:42:58.171Z] ecc8261a40a4: Download complete [2020-10-19T08:42:58.171Z] 6ca5941a6612: Verifying Checksum [2020-10-19T08:42:58.171Z] 6ca5941a6612: Download complete [2020-10-19T08:42:58.434Z] 31603596830f: Pull complete [2020-10-19T08:42:58.434Z] 2a8b12db71e7: Pull complete [2020-10-19T08:42:59.381Z] 6ca5941a6612: Pull complete [2020-10-19T08:42:59.644Z] ecc8261a40a4: Pull complete [2020-10-19T08:42:59.644Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T08:42:59.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T08:42:59.644Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T08:42:59.768Z] prd-centos7-docker-4c-2g-6253 does not seem to be running inside a container [2020-10-19T08:42:59.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-632 -v /w/workspace/dgexfoundry_device-sdk-go_PR-632:/w/workspace/dgexfoundry_device-sdk-go_PR-632:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-632@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-19T08:43:02.315Z] $ docker top 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T08:43:02.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T08:43:02.781Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T08:43:03.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T08:43:03.030Z] $ docker exec 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent [2020-10-19T08:43:03.199Z] SSH_AUTH_SOCK=/tmp/ssh-vavyMlCxd7mt/agent.13 [2020-10-19T08:43:03.200Z] SSH_AGENT_PID=18 [2020-10-19T08:43:03.213Z] Running ssh-add (command line suppressed) [2020-10-19T08:43:03.333Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2715512720724335929.key (/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2715512720724335929.key) [2020-10-19T08:43:03.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T08:43:03.765Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T08:43:03.796Z] $ docker exec --env ******** --env ******** 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent -k [2020-10-19T08:43:03.913Z] unset SSH_AUTH_SOCK; [2020-10-19T08:43:03.914Z] unset SSH_AGENT_PID; [2020-10-19T08:43:03.914Z] echo Agent pid 18 killed; [2020-10-19T08:43:03.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T08:43:04.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T08:43:04.185Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T08:43:04.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T08:43:04.353Z] $ docker exec 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent [2020-10-19T08:43:04.515Z] SSH_AUTH_SOCK=/tmp/ssh-xXuu3yDaifLX/agent.49 [2020-10-19T08:43:04.515Z] SSH_AGENT_PID=55 [2020-10-19T08:43:04.522Z] Running ssh-add (command line suppressed) [2020-10-19T08:43:04.653Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2676260228295106542.key (/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2676260228295106542.key) [2020-10-19T08:43:04.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T08:43:05.088Z] + git semver init [2020-10-19T08:43:05.088Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T08:43:05.088Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-632/.git [2020-10-19T08:43:05.088Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-632 [2020-10-19T08:43:05.088Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T08:43:05.088Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T08:43:05.088Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T08:43:05.088Z] # $SEMVER_BRANCH = PR-632 [2020-10-19T08:43:05.088Z] # $SEMVER_TEMP = /tmp/semver-401532546 [2020-10-19T08:43:05.088Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T08:43:06.041Z] # '/tmp/semver-401532546' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-632/.semver' [2020-10-19T08:43:06.041Z] # -> Force: false [2020-10-19T08:43:06.041Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-632/.semver [Pipeline] } [2020-10-19T08:43:06.073Z] $ docker exec --env ******** --env ******** 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent -k [2020-10-19T08:43:06.193Z] unset SSH_AUTH_SOCK; [2020-10-19T08:43:06.193Z] unset SSH_AGENT_PID; [2020-10-19T08:43:06.193Z] echo Agent pid 55 killed; [2020-10-19T08:43:06.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T08:43:06.820Z] + git semver [Pipeline] } [2020-10-19T08:43:06.850Z] $ docker stop --time=1 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f [2020-10-19T08:43:08.353Z] $ docker rm -f 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T08:43:08.876Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T08:43:09.334Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T08:43:09.354Z] [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-19T08:43:25.292Z] Still waiting to schedule task [2020-10-19T08:43:25.292Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6254’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-19T08:43:25.318Z] Still waiting to schedule task [2020-10-19T08:43:25.319Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-19T08:45:04.576Z] Running on prd-centos7-docker-4c-2g-6255 in /w/workspace/dgexfoundry_device-sdk-go_PR-632 [Pipeline] { [Pipeline] ws [2020-10-19T08:45:04.705Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-19T08:45:07.444Z] using credential edgex-jenkins-ssh [2020-10-19T08:45:07.579Z] Cloning the remote Git repository [2020-10-19T08:45:07.612Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T08:45:07.680Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-19T08:45:07.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T08:45:07.740Z] > git --version # timeout=10 [2020-10-19T08:45:07.751Z] > git --version # 'git version 2.16.5' [2020-10-19T08:45:07.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T08:45:07.781Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T08:45:09.018Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit cf2ca9639e94ace87c4e52fa9af7157d3d98188f [2020-10-19T08:45:09.135Z] Merge succeeded, producing cf2ca9639e94ace87c4e52fa9af7157d3d98188f [2020-10-19T08:45:09.135Z] Checking out Revision cf2ca9639e94ace87c4e52fa9af7157d3d98188f (PR-632) [2020-10-19T08:45:08.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T08:45:08.547Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T08:45:08.560Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T08:45:08.573Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T08:45:08.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T08:45:08.578Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/632/head:refs/remotes/origin/PR-632 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T08:45:09.034Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T08:45:09.039Z] > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 [2020-10-19T08:45:09.107Z] > git remote # timeout=10 [2020-10-19T08:45:09.113Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T08:45:09.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T08:45:09.124Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-19T08:45:09.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T08:45:09.142Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T08:45:09.146Z] > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 [2020-10-19T08:45:12.829Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-19T08:45:12.865Z] > git --version # timeout=10 [2020-10-19T08:45:12.870Z] > git --version # 'git version 2.16.5' [2020-10-19T08:45:12.877Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T08:45:14.077Z] ========================================================= [2020-10-19T08:45:14.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T08:45:14.078Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:45:14.774Z] + 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-19T08:45:15.038Z] Sending build context to Docker daemon 2.317MB [2020-10-19T08:45:15.038Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T08:45:15.038Z] Step 2/8 : FROM ${BASE} [2020-10-19T08:45:15.303Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T08:45:15.303Z] df20fa9351a1: Pulling fs layer [2020-10-19T08:45:15.303Z] ed8968b2872e: Pulling fs layer [2020-10-19T08:45:15.303Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T08:45:15.303Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T08:45:15.303Z] e73272ec9a57: Pulling fs layer [2020-10-19T08:45:15.303Z] 1e910a182e73: Pulling fs layer [2020-10-19T08:45:15.303Z] 4e634b169226: Pulling fs layer [2020-10-19T08:45:15.303Z] e871e8e8d7a9: Waiting [2020-10-19T08:45:15.303Z] e73272ec9a57: Waiting [2020-10-19T08:45:15.303Z] 1e910a182e73: Waiting [2020-10-19T08:45:15.303Z] 4e634b169226: Waiting [2020-10-19T08:45:15.303Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T08:45:15.303Z] a92cc7c5fd73: Download complete [2020-10-19T08:45:15.303Z] ed8968b2872e: Verifying Checksum [2020-10-19T08:45:15.303Z] ed8968b2872e: Download complete [2020-10-19T08:45:15.303Z] e73272ec9a57: Verifying Checksum [2020-10-19T08:45:15.303Z] e73272ec9a57: Download complete [2020-10-19T08:45:15.303Z] 1e910a182e73: Verifying Checksum [2020-10-19T08:45:15.303Z] 1e910a182e73: Download complete [2020-10-19T08:45:15.303Z] df20fa9351a1: Verifying Checksum [2020-10-19T08:45:15.303Z] df20fa9351a1: Download complete [2020-10-19T08:45:15.566Z] df20fa9351a1: Pull complete [2020-10-19T08:45:15.828Z] ed8968b2872e: Pull complete [2020-10-19T08:45:15.828Z] a92cc7c5fd73: Pull complete [2020-10-19T08:45:17.764Z] 4e634b169226: Verifying Checksum [2020-10-19T08:45:17.764Z] 4e634b169226: Download complete [2020-10-19T08:45:18.350Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T08:45:18.350Z] e871e8e8d7a9: Download complete [2020-10-19T08:45:23.686Z] e871e8e8d7a9: Pull complete [2020-10-19T08:45:23.686Z] e73272ec9a57: Pull complete [2020-10-19T08:45:23.686Z] 1e910a182e73: Pull complete [2020-10-19T08:45:29.014Z] 4e634b169226: Pull complete [2020-10-19T08:45:29.014Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T08:45:29.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T08:45:29.014Z] ---> f7629b54cfaa [2020-10-19T08:45:29.014Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T08:45:29.014Z] ---> Running in c7cf52182c99 [2020-10-19T08:45:29.014Z] Removing intermediate container c7cf52182c99 [2020-10-19T08:45:29.014Z] ---> 82e877da537a [2020-10-19T08:45:29.014Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T08:45:29.014Z] ---> Running in b793dd53ce34 [2020-10-19T08:45:30.415Z] Removing intermediate container b793dd53ce34 [2020-10-19T08:45:30.415Z] ---> d1dff39b55f2 [2020-10-19T08:45:30.415Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T08:45:30.415Z] ---> Running in 4ae08318c2bf [2020-10-19T08:45:30.997Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T08:45:31.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T08:45:32.154Z] OK: 166 MiB in 39 packages [2020-10-19T08:45:32.735Z] Removing intermediate container 4ae08318c2bf [2020-10-19T08:45:32.735Z] ---> 5b1a9b99dda0 [2020-10-19T08:45:32.735Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T08:45:32.735Z] ---> Running in 1126453c70ca [2020-10-19T08:45:32.735Z] Removing intermediate container 1126453c70ca [2020-10-19T08:45:32.735Z] ---> 9af1b416a45e [2020-10-19T08:45:32.735Z] Step 7/8 : COPY . . [2020-10-19T08:45:34.138Z] ---> ea5481a5ac30 [2020-10-19T08:45:34.138Z] Step 8/8 : RUN go mod download [2020-10-19T08:45:34.138Z] ---> Running in a089d52a3042 [2020-10-19T08:45:52.306Z] Removing intermediate container a089d52a3042 [2020-10-19T08:45:52.306Z] ---> b06d7d087994 [2020-10-19T08:45:52.306Z] Successfully built b06d7d087994 [2020-10-19T08:45:52.306Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:45:52.795Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T08:45:53.062Z] . [Pipeline] withDockerContainer [2020-10-19T08:45:53.182Z] prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container [2020-10-19T08:45:53.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T08:45:53.965Z] $ docker top 942d1c5a73ac61bae56aa501a372b3bb0a67389034fd7f083d9b943038cd832a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T08:45:54.496Z] + go version [2020-10-19T08:45:54.496Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T08:45:54.527Z] $ docker stop --time=1 942d1c5a73ac61bae56aa501a372b3bb0a67389034fd7f083d9b943038cd832a [2020-10-19T08:45:55.871Z] $ docker rm -f 942d1c5a73ac61bae56aa501a372b3bb0a67389034fd7f083d9b943038cd832a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:45:56.958Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T08:45:56.958Z] . [Pipeline] withDockerContainer [2020-10-19T08:45:57.075Z] prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container [2020-10-19T08:45:57.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T08:45:57.752Z] $ docker top 248cc613e63e377afe6cca2de7c10bc9ec92ea3bda62b2ac3550d1fa9cdd1301 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T08:45:58.315Z] + make test [2020-10-19T08:45:58.315Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T08:46:04.955Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T08:46:20.045Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T08:46:20.045Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T08:46:20.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T08:46:20.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.6% of statements [2020-10-19T08:46:22.015Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.434s coverage: 97.1% of statements [2020-10-19T08:46:32.356Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6257 in /w/workspace/dgexfoundry_device-sdk-go_PR-632 [Pipeline] { [Pipeline] ws [2020-10-19T08:46:32.465Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-19T08:46:39.026Z] using credential edgex-jenkins-ssh [2020-10-19T08:46:39.146Z] Cloning the remote Git repository [2020-10-19T08:46:39.214Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T08:46:39.343Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-19T08:46:39.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T08:46:39.446Z] > git --version # timeout=10 [2020-10-19T08:46:39.471Z] > git --version # 'git version 2.17.1' [2020-10-19T08:46:39.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T08:46:39.580Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T08:46:41.351Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit cf2ca9639e94ace87c4e52fa9af7157d3d98188f [2020-10-19T08:46:41.640Z] Merge succeeded, producing cf2ca9639e94ace87c4e52fa9af7157d3d98188f [2020-10-19T08:46:41.641Z] Checking out Revision cf2ca9639e94ace87c4e52fa9af7157d3d98188f (PR-632) [2020-10-19T08:46:40.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T08:46:40.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T08:46:40.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T08:46:40.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T08:46:40.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T08:46:40.849Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/632/head:refs/remotes/origin/PR-632 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T08:46:41.375Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T08:46:41.396Z] > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 [2020-10-19T08:46:41.534Z] > git remote # timeout=10 [2020-10-19T08:46:41.556Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T08:46:41.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T08:46:41.587Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-19T08:46:41.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T08:46:41.651Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T08:46:41.664Z] > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 [2020-10-19T08:46:46.434Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-19T08:46:46.498Z] > git --version # timeout=10 [2020-10-19T08:46:46.509Z] > git --version # 'git version 2.17.1' [2020-10-19T08:46:46.529Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T08:46:47.995Z] ========================================================= [2020-10-19T08:46:47.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T08:46:47.995Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:46:49.108Z] + 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-19T08:46:50.110Z] Sending build context to Docker daemon 2.315MB [2020-10-19T08:46:50.110Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T08:46:50.110Z] Step 2/8 : FROM ${BASE} [2020-10-19T08:46:50.390Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T08:46:50.390Z] b538f80385f9: Pulling fs layer [2020-10-19T08:46:50.390Z] 74f711af9a0d: Pulling fs layer [2020-10-19T08:46:50.390Z] 99f96fe45779: Pulling fs layer [2020-10-19T08:46:50.390Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T08:46:50.390Z] 45590311c82a: Pulling fs layer [2020-10-19T08:46:50.390Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T08:46:50.390Z] 209524e5b208: Pulling fs layer [2020-10-19T08:46:50.390Z] 8529a6b9a6be: Waiting [2020-10-19T08:46:50.390Z] 45590311c82a: Waiting [2020-10-19T08:46:50.390Z] 69ca0ff8b7b3: Waiting [2020-10-19T08:46:50.390Z] 209524e5b208: Waiting [2020-10-19T08:46:50.678Z] 99f96fe45779: Verifying Checksum [2020-10-19T08:46:50.678Z] 99f96fe45779: Download complete [2020-10-19T08:46:50.678Z] 74f711af9a0d: Verifying Checksum [2020-10-19T08:46:50.678Z] 74f711af9a0d: Download complete [2020-10-19T08:46:50.678Z] 45590311c82a: Download complete [2020-10-19T08:46:50.678Z] 69ca0ff8b7b3: Download complete [2020-10-19T08:46:50.678Z] b538f80385f9: Download complete [2020-10-19T08:46:51.290Z] b538f80385f9: Pull complete [2020-10-19T08:46:51.971Z] 74f711af9a0d: Pull complete [2020-10-19T08:46:52.601Z] 99f96fe45779: Pull complete [2020-10-19T08:46:53.203Z] 209524e5b208: Verifying Checksum [2020-10-19T08:46:54.420Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-10-19T08:46:54.420Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements [2020-10-19T08:46:54.420Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T08:46:54.420Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.6% of statements [2020-10-19T08:46:54.420Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T08:46:54.420Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 68.9% of statements [2020-10-19T08:46:54.420Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T08:46:54.420Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T08:46:54.420Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T08:46:54.420Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T08:46:54.420Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-10-19T08:46:54.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T08:46:54.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T08:46:54.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T08:46:54.421Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.359s coverage: 68.9% of statements [2020-10-19T08:46:54.421Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T08:46:54.421Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T08:46:54.421Z] GO111MODULE=on go vet ./... [2020-10-19T08:46:54.653Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T08:46:54.653Z] 8529a6b9a6be: Download complete [2020-10-19T08:46:58.703Z] gofmt -l . [2020-10-19T08:46:58.703Z] [ "`gofmt -l .`" = "" ] [2020-10-19T08:46:58.966Z] ./bin/test-attribution-txt.sh [2020-10-19T08:46:59.543Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T08:47:00.174Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T08:47:00.196Z] $ docker stop --time=1 248cc613e63e377afe6cca2de7c10bc9ec92ea3bda62b2ac3550d1fa9cdd1301 [2020-10-19T08:47:02.112Z] $ docker rm -f 248cc613e63e377afe6cca2de7c10bc9ec92ea3bda62b2ac3550d1fa9cdd1301 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T08:47:05.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T08:47:05.706Z] + ls -al . [2020-10-19T08:47:05.707Z] total 188 [2020-10-19T08:47:05.707Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 08:46 . [2020-10-19T08:47:05.707Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 08:45 .. [2020-10-19T08:47:05.707Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 08:45 bin [2020-10-19T08:47:05.707Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 08:46 coverage.out [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 08:45 Dockerfile.build [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 08:45 .dockerignore [2020-10-19T08:47:05.707Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 08:45 example [2020-10-19T08:47:05.707Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 08:45 .git [2020-10-19T08:47:05.707Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 08:45 .github [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 08:45 .gitignore [2020-10-19T08:47:05.707Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 19 08:46 go.mod [2020-10-19T08:47:05.707Z] -rw-r--r--. 1 jenkins jenkins 13739 Oct 19 08:46 go.sum [2020-10-19T08:47:05.707Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 08:45 internal [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 08:45 Jenkinsfile [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 08:45 LICENSE [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 08:45 Makefile [2020-10-19T08:47:05.707Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 08:45 openapi [2020-10-19T08:47:05.707Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 08:45 pkg [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 08:45 README.md [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 08:45 RELEASE-NOTES.txt [2020-10-19T08:47:05.707Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 08:45 snap [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 08:43 VERSION [2020-10-19T08:47:05.707Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 08:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:47:06.054Z] + 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=cf2ca9639e94ace87c4e52fa9af7157d3d98188f --label arch=amd64 --label version=0.0.0 . [2020-10-19T08:47:06.316Z] Sending build context to Docker daemon 2.428MB [2020-10-19T08:47:06.316Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T08:47:06.316Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T08:47:06.316Z] ---> b06d7d087994 [2020-10-19T08:47:06.316Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T08:47:06.888Z] ---> Running in e7d337940f59 [2020-10-19T08:47:06.888Z] Removing intermediate container e7d337940f59 [2020-10-19T08:47:06.888Z] ---> 4c13494b90b0 [2020-10-19T08:47:06.888Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T08:47:07.112Z] 8529a6b9a6be: Pull complete [2020-10-19T08:47:07.112Z] 45590311c82a: Pull complete [2020-10-19T08:47:07.112Z] 69ca0ff8b7b3: Pull complete [2020-10-19T08:47:07.150Z] ---> Running in b86814cc55fe [2020-10-19T08:47:07.150Z] Removing intermediate container b86814cc55fe [2020-10-19T08:47:07.150Z] ---> 0b71e2fbadb8 [2020-10-19T08:47:07.150Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T08:47:07.413Z] ---> Running in 319fc10608fb [2020-10-19T08:47:07.413Z] Removing intermediate container 319fc10608fb [2020-10-19T08:47:07.413Z] ---> b0e943812c8f [2020-10-19T08:47:07.413Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T08:47:07.413Z] ---> Running in d363ccad51c8 [2020-10-19T08:47:08.382Z] Removing intermediate container d363ccad51c8 [2020-10-19T08:47:08.382Z] ---> 1aa9c301b394 [2020-10-19T08:47:08.382Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T08:47:08.382Z] ---> Running in 4ccbbc0f787c [2020-10-19T08:47:08.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T08:47:09.749Z] 209524e5b208: Pull complete [2020-10-19T08:47:09.749Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T08:47:09.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T08:47:09.749Z] ---> 5bddaf1c2fca [2020-10-19T08:47:09.749Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T08:47:10.360Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T08:47:12.289Z] OK: 166 MiB in 39 packages [2020-10-19T08:47:12.551Z] Removing intermediate container 4ccbbc0f787c [2020-10-19T08:47:12.551Z] ---> aa3b8538e35e [2020-10-19T08:47:12.551Z] Step 8/24 : COPY . . [2020-10-19T08:47:13.157Z] ---> Running in 1cb5b42efbc4 [2020-10-19T08:47:13.157Z] Removing intermediate container 1cb5b42efbc4 [2020-10-19T08:47:13.157Z] ---> 3e3ce4c448aa [2020-10-19T08:47:13.157Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T08:47:13.157Z] ---> Running in 6ebc7428ba80 [2020-10-19T08:47:13.502Z] ---> 6bf1b76a095e [2020-10-19T08:47:13.502Z] Step 9/24 : RUN ${MAKE} [2020-10-19T08:47:13.502Z] ---> Running in d40bf52a3dc5 [2020-10-19T08:47:14.084Z] 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-19T08:47:16.589Z] Removing intermediate container 6ebc7428ba80 [2020-10-19T08:47:16.589Z] ---> 226eb8ccf6c5 [2020-10-19T08:47:16.589Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T08:47:16.589Z] ---> Running in f93f294ce1ee [2020-10-19T08:47:17.574Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T08:47:19.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T08:47:20.457Z] OK: 142 MiB in 39 packages [2020-10-19T08:47:21.450Z] Removing intermediate container f93f294ce1ee [2020-10-19T08:47:21.450Z] ---> 2517a2e38320 [2020-10-19T08:47:21.450Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T08:47:21.450Z] ---> Running in a5e4689be7b6 [2020-10-19T08:47:22.049Z] Removing intermediate container a5e4689be7b6 [2020-10-19T08:47:22.049Z] ---> ce53d4bd4208 [2020-10-19T08:47:22.049Z] Step 7/8 : COPY . . [2020-10-19T08:47:22.357Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T08:47:23.514Z] ---> 7b75a17f10f0 [2020-10-19T08:47:23.514Z] Step 8/8 : RUN go mod download [2020-10-19T08:47:23.514Z] ---> Running in 112a86d378ce [2020-10-19T08:47:24.283Z] Removing intermediate container d40bf52a3dc5 [2020-10-19T08:47:24.283Z] ---> 5705614f3c8d [2020-10-19T08:47:24.283Z] Step 10/24 : FROM scratch [2020-10-19T08:47:24.283Z] ---> [2020-10-19T08:47:24.283Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T08:47:24.546Z] ---> Running in 6a45878be929 [2020-10-19T08:47:24.546Z] Removing intermediate container 6a45878be929 [2020-10-19T08:47:24.546Z] ---> ac913bccefd3 [2020-10-19T08:47:24.546Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T08:47:24.810Z] ---> Running in 8357f4e9e522 [2020-10-19T08:47:24.810Z] Removing intermediate container 8357f4e9e522 [2020-10-19T08:47:24.810Z] ---> 82f0c2afa6bb [2020-10-19T08:47:24.810Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T08:47:24.810Z] ---> Running in d31689c8686d [2020-10-19T08:47:25.072Z] Removing intermediate container d31689c8686d [2020-10-19T08:47:25.072Z] ---> 8bb75829af0b [2020-10-19T08:47:25.072Z] Step 14/24 : WORKDIR / [2020-10-19T08:47:25.072Z] ---> Running in 06dc244e6fb2 [2020-10-19T08:47:25.333Z] Removing intermediate container 06dc244e6fb2 [2020-10-19T08:47:25.333Z] ---> 63965c9d3c7d [2020-10-19T08:47:25.333Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T08:47:25.596Z] ---> ade6238bea52 [2020-10-19T08:47:25.596Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T08:47:25.867Z] ---> c19fb7996a3b [2020-10-19T08:47:25.867Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T08:47:26.129Z] ---> 9a747f3bf2ee [2020-10-19T08:47:26.130Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T08:47:26.392Z] ---> aff93bb35ff5 [2020-10-19T08:47:26.392Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T08:47:26.653Z] ---> a1632ecbc4d3 [2020-10-19T08:47:26.653Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T08:47:26.653Z] ---> Running in 01aec8255683 [2020-10-19T08:47:26.916Z] Removing intermediate container 01aec8255683 [2020-10-19T08:47:26.916Z] ---> c2bd8ca2ac38 [2020-10-19T08:47:26.916Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T08:47:26.916Z] ---> Running in 76658e041b06 [2020-10-19T08:47:27.178Z] Removing intermediate container 76658e041b06 [2020-10-19T08:47:27.178Z] ---> ef55e42a7563 [2020-10-19T08:47:27.178Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T08:47:27.178Z] ---> Running in b0bcc6a5bd7d [2020-10-19T08:47:27.441Z] Removing intermediate container b0bcc6a5bd7d [2020-10-19T08:47:27.441Z] ---> 98e48d89495b [2020-10-19T08:47:27.441Z] Step 23/24 : LABEL git_sha=cf2ca9639e94ace87c4e52fa9af7157d3d98188f [2020-10-19T08:47:27.441Z] ---> Running in 9d5691d56894 [2020-10-19T08:47:27.441Z] Removing intermediate container 9d5691d56894 [2020-10-19T08:47:27.441Z] ---> 931dc7645328 [2020-10-19T08:47:27.441Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T08:47:27.707Z] ---> Running in 53d57c3b48d5 [2020-10-19T08:47:27.707Z] Removing intermediate container 53d57c3b48d5 [2020-10-19T08:47:27.707Z] ---> 81e6efb07730 [2020-10-19T08:47:27.707Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T08:47:27.707Z] Successfully built 81e6efb07730 [2020-10-19T08:47:27.976Z] Successfully tagged docker-device-sdk-simple:latest [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-10-19T08:47:45.693Z] Removing intermediate container 112a86d378ce [2020-10-19T08:47:45.693Z] ---> 539463a32c7f [2020-10-19T08:47:45.693Z] Successfully built 539463a32c7f [2020-10-19T08:47:45.693Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:47:46.144Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T08:47:46.144Z] . [Pipeline] withDockerContainer [2020-10-19T08:47:46.421Z] prd-ubuntu18.04-docker-arm64-4c-16g-6257 does not seem to be running inside a container [2020-10-19T08:47:46.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-19T08:47:48.353Z] $ docker top 9c7fe77471608d7473e098092965c92e3d11591d723748cba39b0421ffe96e9e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T08:47:49.857Z] + go version [2020-10-19T08:47:49.857Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T08:47:49.896Z] $ docker stop --time=1 9c7fe77471608d7473e098092965c92e3d11591d723748cba39b0421ffe96e9e [2020-10-19T08:47:51.805Z] $ docker rm -f 9c7fe77471608d7473e098092965c92e3d11591d723748cba39b0421ffe96e9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:47:53.135Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T08:47:53.135Z] . [Pipeline] withDockerContainer [2020-10-19T08:47:53.401Z] prd-ubuntu18.04-docker-arm64-4c-16g-6257 does not seem to be running inside a container [2020-10-19T08:47:53.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-19T08:47:55.414Z] $ docker top 0615029b3f919aa6d1f1f58c835138b496dbd5c12a25b58c7b170a595009c8a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T08:47:56.858Z] + make test [2020-10-19T08:47:56.858Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T08:48:19.096Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T08:49:06.159Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T08:49:06.159Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T08:49:06.159Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T08:49:06.159Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.113s coverage: 21.6% of statements [2020-10-19T08:49:09.621Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements [2020-10-19T08:49:36.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements [2020-10-19T08:49:36.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.150s coverage: 21.9% of statements [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T08:49:36.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.603s coverage: 42.6% of statements [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T08:49:36.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.723s coverage: 68.9% of statements [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T08:49:36.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.170s coverage: 52.6% of statements [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T08:49:36.451Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.671s coverage: 68.9% of statements [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T08:49:36.451Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T08:49:36.741Z] GO111MODULE=on go vet ./... [2020-10-19T08:50:09.793Z] gofmt -l . [2020-10-19T08:50:09.793Z] [ "`gofmt -l .`" = "" ] [2020-10-19T08:50:09.793Z] ./bin/test-attribution-txt.sh [2020-10-19T08:50:09.793Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T08:50:09.834Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T08:50:10.744Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T08:50:10.762Z] $ docker stop --time=1 0615029b3f919aa6d1f1f58c835138b496dbd5c12a25b58c7b170a595009c8a1 [2020-10-19T08:50:12.734Z] $ docker rm -f 0615029b3f919aa6d1f1f58c835138b496dbd5c12a25b58c7b170a595009c8a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T08:50:14.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T08:50:15.135Z] + ls -al . [2020-10-19T08:50:15.135Z] total 224 [2020-10-19T08:50:15.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 08:50 . [2020-10-19T08:50:15.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 .. [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 08:46 .dockerignore [2020-10-19T08:50:15.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 08:46 .git [2020-10-19T08:50:15.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 08:46 .github [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 08:46 .gitignore [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 08:46 Dockerfile.build [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 08:46 Jenkinsfile [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 08:46 LICENSE [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 08:46 Makefile [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 08:46 README.md [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 08:46 RELEASE-NOTES.txt [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 08:43 VERSION [2020-10-19T08:50:15.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 08:46 bin [2020-10-19T08:50:15.135Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 08:49 coverage.out [2020-10-19T08:50:15.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 example [2020-10-19T08:50:15.135Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 19 08:50 go.mod [2020-10-19T08:50:15.135Z] -rw-r--r-- 1 jenkins jenkins 13739 Oct 19 08:50 go.sum [2020-10-19T08:50:15.135Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 08:46 internal [2020-10-19T08:50:15.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 openapi [2020-10-19T08:50:15.135Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 08:46 pkg [2020-10-19T08:50:15.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 snap [2020-10-19T08:50:15.135Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:50:15.539Z] + 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=cf2ca9639e94ace87c4e52fa9af7157d3d98188f --label arch=arm64 --label version=0.0.0 . [2020-10-19T08:50:16.148Z] Sending build context to Docker daemon 2.426MB [2020-10-19T08:50:16.148Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T08:50:16.148Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T08:50:16.148Z] ---> 539463a32c7f [2020-10-19T08:50:16.148Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T08:50:16.423Z] ---> Running in 915b4cdc2c30 [2020-10-19T08:50:16.699Z] Removing intermediate container 915b4cdc2c30 [2020-10-19T08:50:16.699Z] ---> ce5b77277641 [2020-10-19T08:50:16.699Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T08:50:16.979Z] ---> Running in a27ca142f16e [2020-10-19T08:50:17.253Z] Removing intermediate container a27ca142f16e [2020-10-19T08:50:17.254Z] ---> e78aac5e45a3 [2020-10-19T08:50:17.254Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T08:50:17.532Z] ---> Running in 3f83f4410200 [2020-10-19T08:50:18.126Z] Removing intermediate container 3f83f4410200 [2020-10-19T08:50:18.126Z] ---> 3895a8de7c56 [2020-10-19T08:50:18.126Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T08:50:18.126Z] ---> Running in 78321b57fbf1 [2020-10-19T08:50:20.760Z] Removing intermediate container 78321b57fbf1 [2020-10-19T08:50:20.760Z] ---> a09d5875dae3 [2020-10-19T08:50:20.760Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T08:50:20.760Z] ---> Running in df79bb302589 [2020-10-19T08:50:22.203Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T08:50:22.825Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T08:50:23.808Z] OK: 142 MiB in 39 packages [2020-10-19T08:50:25.268Z] Removing intermediate container df79bb302589 [2020-10-19T08:50:25.269Z] ---> 22379440b179 [2020-10-19T08:50:25.269Z] Step 8/24 : COPY . . [2020-10-19T08:50:26.248Z] ---> c6503110064a [2020-10-19T08:50:26.249Z] Step 9/24 : RUN ${MAKE} [2020-10-19T08:50:26.525Z] ---> Running in 76db1777892a [2020-10-19T08:50:27.968Z] 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-19T08:50:54.805Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T08:50:54.805Z] Removing intermediate container 76db1777892a [2020-10-19T08:50:54.805Z] ---> 926dbd1e7b12 [2020-10-19T08:50:54.805Z] Step 10/24 : FROM scratch [2020-10-19T08:50:54.805Z] ---> [2020-10-19T08:50:54.805Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T08:50:54.805Z] ---> Running in 691617d5e0fc [2020-10-19T08:50:55.402Z] Removing intermediate container 691617d5e0fc [2020-10-19T08:50:55.402Z] ---> e6fd915907e2 [2020-10-19T08:50:55.402Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T08:50:55.402Z] ---> Running in 3c22b3ffb727 [2020-10-19T08:50:55.999Z] Removing intermediate container 3c22b3ffb727 [2020-10-19T08:50:55.999Z] ---> 197149d455fb [2020-10-19T08:50:55.999Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T08:50:55.999Z] ---> Running in cbaffe935447 [2020-10-19T08:50:56.272Z] Removing intermediate container cbaffe935447 [2020-10-19T08:50:56.272Z] ---> 5bd61c4ce247 [2020-10-19T08:50:56.272Z] Step 14/24 : WORKDIR / [2020-10-19T08:50:56.544Z] ---> Running in eff201a80287 [2020-10-19T08:50:56.828Z] Removing intermediate container eff201a80287 [2020-10-19T08:50:56.828Z] ---> bed4e2c48fb5 [2020-10-19T08:50:56.828Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T08:50:58.259Z] ---> 110a10601ea5 [2020-10-19T08:50:58.260Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T08:50:58.853Z] ---> 5d3fe9f57726 [2020-10-19T08:50:58.853Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T08:50:59.448Z] ---> 902180c834fb [2020-10-19T08:50:59.448Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T08:51:00.048Z] ---> 3ef298959900 [2020-10-19T08:51:00.048Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T08:51:01.032Z] ---> 048b1e653909 [2020-10-19T08:51:01.032Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T08:51:01.032Z] ---> Running in fec2dcc99788 [2020-10-19T08:51:01.303Z] Removing intermediate container fec2dcc99788 [2020-10-19T08:51:01.303Z] ---> 0e29c4412171 [2020-10-19T08:51:01.303Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T08:51:01.576Z] ---> Running in bb0d9d7f4db9 [2020-10-19T08:51:01.850Z] Removing intermediate container bb0d9d7f4db9 [2020-10-19T08:51:01.850Z] ---> 0181579d2d66 [2020-10-19T08:51:01.850Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T08:51:02.122Z] ---> Running in 2764d6be25c1 [2020-10-19T08:51:02.400Z] Removing intermediate container 2764d6be25c1 [2020-10-19T08:51:02.400Z] ---> efd2ae39a923 [2020-10-19T08:51:02.400Z] Step 23/24 : LABEL git_sha=cf2ca9639e94ace87c4e52fa9af7157d3d98188f [2020-10-19T08:51:02.674Z] ---> Running in de85416edda6 [2020-10-19T08:51:02.946Z] Removing intermediate container de85416edda6 [2020-10-19T08:51:02.946Z] ---> 0059e1dbc701 [2020-10-19T08:51:02.946Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T08:51:03.221Z] ---> Running in e1dcc4247038 [2020-10-19T08:51:03.493Z] Removing intermediate container e1dcc4247038 [2020-10-19T08:51:03.493Z] ---> a42736a8b4de [2020-10-19T08:51:03.493Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T08:51:03.493Z] Successfully built a42736a8b4de [2020-10-19T08:51:03.780Z] 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-19T08:51:06.497Z] provisioning config files... [2020-10-19T08:51:06.512Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/config6842955173275490752tmp [Pipeline] { [Pipeline] sh [2020-10-19T08:51:06.958Z] + set +x [2020-10-19T08:51:06.958Z] + curl -s https://codecov.io/bash [2020-10-19T08:51:06.958Z] + bash -s -- [2020-10-19T08:51:07.223Z] [2020-10-19T08:51:07.223Z] _____ _ [2020-10-19T08:51:07.223Z] / ____| | | [2020-10-19T08:51:07.223Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T08:51:07.223Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T08:51:07.223Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T08:51:07.223Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T08:51:07.223Z] Bash-20201009-048fee3 [2020-10-19T08:51:07.223Z] [2020-10-19T08:51:07.223Z] [2020-10-19T08:51:07.223Z] ==> Jenkins CI detected. [2020-10-19T08:51:07.223Z] project root: . [2020-10-19T08:51:07.223Z] --> token set from env [2020-10-19T08:51:07.223Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T08:51:07.223Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T08:51:07.223Z] ==> Python coveragepy not found [2020-10-19T08:51:07.223Z] ==> Searching for coverage reports in: [2020-10-19T08:51:07.223Z] + . [2020-10-19T08:51:07.223Z] -> Found 1 reports [2020-10-19T08:51:07.223Z] ==> Detecting git/mercurial file structure [2020-10-19T08:51:07.223Z] ==> Reading reports [2020-10-19T08:51:07.223Z] + ./coverage.out bytes=110398 [2020-10-19T08:51:07.223Z] ==> Appending adjustments [2020-10-19T08:51:07.223Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T08:51:07.803Z] + Found adjustments [2020-10-19T08:51:07.803Z] ==> Gzipping contents [2020-10-19T08:51:07.803Z] ==> Uploading reports [2020-10-19T08:51:07.803Z] url: https://codecov.io [2020-10-19T08:51:07.803Z] query: branch=PR-632&commit=cf2ca9639e94ace87c4e52fa9af7157d3d98188f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=632&job=&cmd_args= [2020-10-19T08:51:07.803Z] -> Pinging Codecov [2020-10-19T08:51:07.803Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-632&commit=cf2ca9639e94ace87c4e52fa9af7157d3d98188f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=632&job=&cmd_args= [2020-10-19T08:51:07.803Z] -> Uploading to [2020-10-19T08:51:07.803Z] [2020-10-19T08:51:07.803Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T08:51:07.803Z] Dload Upload Total Spent Left Speed [2020-10-19T08:51:08.066Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T08:51:08.067Z] X> Failed to upload [2020-10-19T08:51:08.067Z] ==> Uploading to Codecov [2020-10-19T08:51:08.067Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T08:51:08.067Z] Dload Upload Total Spent Left Speed [2020-10-19T08:51:08.641Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19126 100 110 100 19016 182 31527 --:--:-- --:--:-- --:--:-- 31535 [2020-10-19T08:51:08.641Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf2ca9639e94ace87c4e52fa9af7157d3d98188f [Pipeline] } [2020-10-19T08:51:08.665Z] 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-19T08:51:12.764Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:51:13.373Z] ---> package-listing.sh [2020-10-19T08:51:13.373Z] ++ facter osfamily [2020-10-19T08:51:13.373Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T08:51:13.373Z] + OS_FAMILY=redhat [2020-10-19T08:51:13.373Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-632 [2020-10-19T08:51:13.373Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T08:51:13.373Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T08:51:13.373Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T08:51:13.373Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T08:51:13.373Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-632 ']' [2020-10-19T08:51:13.373Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T08:51:13.373Z] + case "${OS_FAMILY}" in [2020-10-19T08:51:13.373Z] + rpm -qa [2020-10-19T08:51:13.373Z] + sort [2020-10-19T08:51:17.613Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T08:51:17.613Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T08:51:17.613Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T08:51:17.613Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-632 ']' [2020-10-19T08:51:17.613Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-632/archives/ [2020-10-19T08:51:17.613Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-632/archives/ [Pipeline] echo [2020-10-19T08:51:17.645Z] 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-632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-19T08:51:17.958Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:51:18.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T08:51:18.297Z] [2020-10-19T08:51:18.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T08:51:18.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T08:51:19.642Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T08:51:19.642Z] df20fa9351a1: Pulling fs layer [2020-10-19T08:51:19.642Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T08:51:19.642Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T08:51:19.642Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T08:51:19.642Z] 93b61091891f: Pulling fs layer [2020-10-19T08:51:19.642Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T08:51:19.642Z] 5e14af77c1be: Pulling fs layer [2020-10-19T08:51:19.642Z] 01666e4c0597: Pulling fs layer [2020-10-19T08:51:19.642Z] aa168da1d23b: Pulling fs layer [2020-10-19T08:51:19.642Z] 46f8f816bc3b: Waiting [2020-10-19T08:51:19.642Z] 93b61091891f: Waiting [2020-10-19T08:51:19.642Z] 93b9cdb0e59b: Waiting [2020-10-19T08:51:19.642Z] 5e14af77c1be: Waiting [2020-10-19T08:51:19.642Z] 01666e4c0597: Waiting [2020-10-19T08:51:19.642Z] aa168da1d23b: Waiting [2020-10-19T08:51:19.642Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T08:51:19.642Z] 36b3adc4ff6f: Download complete [2020-10-19T08:51:19.642Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T08:51:19.642Z] 46f8f816bc3b: Download complete [2020-10-19T08:51:19.905Z] 93b61091891f: Download complete [2020-10-19T08:51:19.905Z] df20fa9351a1: Verifying Checksum [2020-10-19T08:51:19.905Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T08:51:19.905Z] 93b9cdb0e59b: Download complete [2020-10-19T08:51:19.905Z] 5e14af77c1be: Download complete [2020-10-19T08:51:19.905Z] 01666e4c0597: Verifying Checksum [2020-10-19T08:51:19.905Z] 01666e4c0597: Download complete [2020-10-19T08:51:20.169Z] df20fa9351a1: Pull complete [2020-10-19T08:51:20.431Z] 36b3adc4ff6f: Pull complete [2020-10-19T08:51:21.009Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T08:51:21.009Z] 8ad3a11d3b57: Download complete [2020-10-19T08:51:21.587Z] 8ad3a11d3b57: Pull complete [2020-10-19T08:51:21.587Z] 46f8f816bc3b: Pull complete [2020-10-19T08:51:21.851Z] 93b61091891f: Pull complete [2020-10-19T08:51:22.115Z] 93b9cdb0e59b: Pull complete [2020-10-19T08:51:22.383Z] 5e14af77c1be: Pull complete [2020-10-19T08:51:22.650Z] 01666e4c0597: Pull complete [2020-10-19T08:51:23.603Z] aa168da1d23b: Verifying Checksum [2020-10-19T08:51:23.603Z] aa168da1d23b: Download complete [2020-10-19T08:51:30.222Z] aa168da1d23b: Pull complete [2020-10-19T08:51:30.222Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T08:51:30.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T08:51:30.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T08:51:30.413Z] prd-centos7-docker-4c-2g-6253 does not seem to be running inside a container [2020-10-19T08:51:30.467Z] $ 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-632/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-632 -v /w/workspace/dgexfoundry_device-sdk-go_PR-632:/w/workspace/dgexfoundry_device-sdk-go_PR-632:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-632@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-19T08:51:36.473Z] $ docker top d85b71fbd6a907c6e50f690230529ac0bd5a68a351add86798f6f92923bdae20 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T08:51:37.100Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T08:51:37.423Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T08:51:37.743Z] + ls /var/log/sa-host [2020-10-19T08:51:37.743Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T08:51:37.743Z] file_magic: OK [2020-10-19T08:51:37.743Z] HZ: Using current value: 100 [2020-10-19T08:51:37.743Z] file_header: OK [2020-10-19T08:51:37.743Z] 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-19T08:51:37.743Z] Statistics: [2020-10-19T08:51:37.743Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T08:51:37.743Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T08:51:37.743Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T08:51:37.743Z] file_magic: OK [2020-10-19T08:51:37.743Z] HZ: Using current value: 100 [2020-10-19T08:51:37.743Z] file_header: OK [2020-10-19T08:51:37.743Z] 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-19T08:51:37.743Z] Statistics: [2020-10-19T08:51:37.743Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T08:51:37.743Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T08:51:38.014Z] provisioning config files... [2020-10-19T08:51:38.033Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/config2915787060594257146tmp [Pipeline] { [Pipeline] echo [2020-10-19T08:51:38.163Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:51:38.498Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T08:51:38.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T08:51:38.666Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:51:38.995Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T08:51:39.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:51:39.385Z] ---> sudo-logs.sh [2020-10-19T08:51:39.385Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T08:51:39.414Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:51:39.759Z] ---> job-cost.sh [2020-10-19T08:51:39.759Z] lf-activate-venv: SKIPPING [2020-10-19T08:51:39.759Z] INFO: No Stack... [2020-10-19T08:51:41.148Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T08:51:41.411Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T08:51:41.442Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T08:51:41.780Z] ---> logs-deploy.sh [2020-10-19T08:51:41.780Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-632/1 [2020-10-19T08:51:41.780Z] INFO: archiving workspace using pattern(s): [2020-10-19T08:51:43.705Z] Archives upload complete. [2020-10-19T08:51:43.706Z] INFO: archiving logs to Nexus