Pull request #637 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Jenkins-Imposed API Limiter: Current quota for Github API usage has 3578 remaining (165 under budget). Next quota of 5000 in 50 min Jenkins-Imposed API Limiter: Current quota for Github API usage has 3578 remaining (165 under budget). Next quota of 5000 in 50 min Jenkins-Imposed API Limiter: Current quota for Github API usage has 3577 remaining (165 under budget). Next quota of 5000 in 50 min Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ccff8c642bafe7521311748e85e7e23ba0ae787c+6cec193abf44cabffe02bbcaff9748adb3f719d5 (bcb8aacd2f16e87f58b64ed7bc7f1c15a5087e71) 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-637/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-637/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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-7400 in /w/workspace/dgexfoundry_device-sdk-go_PR-637 [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-637 # 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 ccff8c642bafe7521311748e85e7e23ba0ae787c Merge succeeded, producing ccff8c642bafe7521311748e85e7e23ba0ae787c Checking out Revision ccff8c642bafe7521311748e85e7e23ba0ae787c (PR-637) > 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/637/head:refs/remotes/origin/PR-637 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccff8c642bafe7521311748e85e7e23ba0ae787c # 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 ccff8c642bafe7521311748e85e7e23ba0ae787c # timeout=10 Commit message: "test/docs(sdk): update README and add unit tests" 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-21T03:11:24.515Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-21T03:11:24.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-21T03:11:25.232Z] ========================================================= [2020-10-21T03:11:25.233Z] EdgeX Global Pipelines Version Info [2020-10-21T03:11:25.233Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:11:27.035Z] ------------------- [2020-10-21T03:11:27.035Z] stable info: [2020-10-21T03:11:27.035Z] ------------------- [2020-10-21T03:11:27.035Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-21T03:11:27.035Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-21T03:11:27.035Z] Message: update stable to v1.0.144 [2020-10-21T03:11:28.039Z] ------------------- [2020-10-21T03:11:28.039Z] experimental info: [2020-10-21T03:11:28.039Z] ------------------- [2020-10-21T03:11:28.039Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-21T03:11:28.039Z] Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 [2020-10-21T03:11:28.039Z] Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-21T03:11:28.856Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-21T03:11:29.032Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-21T03:11:29.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-21T03:11:29.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-21T03:11:29.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-21T03:11:29.630Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-21T03:11:29.793Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-21T03:11:29.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-21T03:11:30.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-21T03:11:30.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-21T03:11:30.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-21T03:11:30.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-21T03:11:30.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-21T03:11:30.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-21T03:11:31.103Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-21T03:11:31.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T03:11:31.408Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T03:11:31.554Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T03:11:31.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-21T03:11:31.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-21T03:11:32.015Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-21T03:11:32.176Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-21T03:11:32.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-21T03:11:32.472Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-21T03:11:32.624Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-21T03:11:32.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-637 [Pipeline] echo [2020-10-21T03:11:32.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-637 [Pipeline] echo [2020-10-21T03:11:33.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-637 [Pipeline] echo [2020-10-21T03:11:33.263Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccff8c642bafe7521311748e85e7e23ba0ae787c [Pipeline] echo [2020-10-21T03:11:33.486Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccff8c6 [Pipeline] echo [2020-10-21T03:11:33.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T03:11:34.503Z] + git log --format=format:%s -1 ccff8c642bafe7521311748e85e7e23ba0ae787c [Pipeline] echo [2020-10-21T03:11:34.602Z] GIT_COMMIT: ccff8c642bafe7521311748e85e7e23ba0ae787c, Commit Message: test/docs(sdk): update README and add unit tests [Pipeline] echo [2020-10-21T03:11:34.718Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:11:35.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T03:11:35.878Z] [2020-10-21T03:11:35.878Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:11:36.306Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T03:11:36.306Z] latest: Pulling from edgex-devops/git-semver [2020-10-21T03:11:36.306Z] 31603596830f: Pulling fs layer [2020-10-21T03:11:36.307Z] 2a8b12db71e7: Pulling fs layer [2020-10-21T03:11:36.307Z] 6ca5941a6612: Pulling fs layer [2020-10-21T03:11:36.307Z] ecc8261a40a4: Pulling fs layer [2020-10-21T03:11:36.307Z] ecc8261a40a4: Waiting [2020-10-21T03:11:36.307Z] 2a8b12db71e7: Verifying Checksum [2020-10-21T03:11:36.307Z] 2a8b12db71e7: Download complete [2020-10-21T03:11:36.575Z] 31603596830f: Verifying Checksum [2020-10-21T03:11:36.575Z] 31603596830f: Download complete [2020-10-21T03:11:36.931Z] ecc8261a40a4: Verifying Checksum [2020-10-21T03:11:36.931Z] ecc8261a40a4: Download complete [2020-10-21T03:11:36.931Z] 6ca5941a6612: Verifying Checksum [2020-10-21T03:11:36.931Z] 6ca5941a6612: Download complete [2020-10-21T03:11:36.931Z] 31603596830f: Pull complete [2020-10-21T03:11:37.257Z] 2a8b12db71e7: Pull complete [2020-10-21T03:11:38.059Z] 6ca5941a6612: Pull complete [2020-10-21T03:11:38.059Z] ecc8261a40a4: Pull complete [2020-10-21T03:11:38.059Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-21T03:11:38.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T03:11:38.059Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-21T03:11:38.246Z] prd-centos7-docker-4c-2g-7400 does not seem to be running inside a container [2020-10-21T03:11:38.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-637 -v /w/workspace/dgexfoundry_device-sdk-go_PR-637:/w/workspace/dgexfoundry_device-sdk-go_PR-637:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-637@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:10004/edgex-devops/git-semver:latest cat [2020-10-21T03:11:40.835Z] $ docker top 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-21T03:11:41.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T03:11:41.385Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T03:11:41.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T03:11:41.639Z] $ docker exec 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 ssh-agent [2020-10-21T03:11:41.823Z] SSH_AUTH_SOCK=/tmp/ssh-QCCSck2R8XoE/agent.12 [2020-10-21T03:11:41.823Z] SSH_AGENT_PID=17 [2020-10-21T03:11:41.946Z] Running ssh-add (command line suppressed) [2020-10-21T03:11:42.076Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_1229723543243688411.key (/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_1229723543243688411.key) [2020-10-21T03:11:42.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T03:11:42.546Z] + git tag --points-at HEAD [Pipeline] } [2020-10-21T03:11:42.591Z] $ docker exec --env ******** --env ******** 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 ssh-agent -k [2020-10-21T03:11:42.712Z] unset SSH_AUTH_SOCK; [2020-10-21T03:11:42.712Z] unset SSH_AGENT_PID; [2020-10-21T03:11:42.712Z] echo Agent pid 17 killed; [2020-10-21T03:11:42.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-21T03:11:43.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T03:11:43.087Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T03:11:43.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T03:11:43.273Z] $ docker exec 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 ssh-agent [2020-10-21T03:11:43.434Z] SSH_AUTH_SOCK=/tmp/ssh-3JQ6656kCsLi/agent.45 [2020-10-21T03:11:43.434Z] SSH_AGENT_PID=51 [2020-10-21T03:11:43.445Z] Running ssh-add (command line suppressed) [2020-10-21T03:11:43.585Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_3620628713677171278.key (/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/private_key_3620628713677171278.key) [2020-10-21T03:11:43.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T03:11:44.053Z] + git semver init [2020-10-21T03:11:44.053Z] # -> Open(): unable to determine branch for HEAD [2020-10-21T03:11:44.053Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-637/.git [2020-10-21T03:11:44.053Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-637 [2020-10-21T03:11:44.053Z] # $SEMVER_REMOTE_NAME = origin [2020-10-21T03:11:44.053Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-21T03:11:44.053Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-21T03:11:44.053Z] # $SEMVER_BRANCH = PR-637 [2020-10-21T03:11:44.053Z] # $SEMVER_TEMP = /tmp/semver-406890371 [2020-10-21T03:11:44.053Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-21T03:11:44.638Z] # '/tmp/semver-406890371' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-637/.semver' [2020-10-21T03:11:44.638Z] # -> Force: false [2020-10-21T03:11:44.638Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-637/.semver [Pipeline] } [2020-10-21T03:11:44.665Z] $ docker exec --env ******** --env ******** 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 ssh-agent -k [2020-10-21T03:11:44.778Z] unset SSH_AUTH_SOCK; [2020-10-21T03:11:44.778Z] unset SSH_AGENT_PID; [2020-10-21T03:11:44.778Z] echo Agent pid 51 killed; [2020-10-21T03:11:44.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-21T03:11:45.430Z] + git semver [Pipeline] } [2020-10-21T03:11:45.524Z] $ docker stop --time=1 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 [2020-10-21T03:11:47.136Z] $ docker rm -f 999c5b3b512ef97fdb4ad2d7470456be3ecceb74b3f035f1947af1c5e7413e11 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-21T03:11:47.703Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-21T03:11:48.278Z] Stashed 1 file(s) [Pipeline] echo [2020-10-21T03:11:48.301Z] [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-21T03:12:04.293Z] Still waiting to schedule task [2020-10-21T03:12:04.294Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-21T03:12:04.329Z] Still waiting to schedule task [2020-10-21T03:12:04.330Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-21T03:13:59.721Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7401 in /w/workspace/dgexfoundry_device-sdk-go_PR-637 [Pipeline] { [Pipeline] ws [2020-10-21T03:13:59.839Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-21T03:14:04.838Z] using credential edgex-jenkins-ssh [2020-10-21T03:14:04.905Z] Cloning the remote Git repository [2020-10-21T03:14:04.987Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T03:14:05.118Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-21T03:14:05.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T03:14:05.199Z] > git --version # timeout=10 [2020-10-21T03:14:05.220Z] > git --version # 'git version 2.17.1' [2020-10-21T03:14:05.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T03:14:05.302Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T03:14:07.025Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit ccff8c642bafe7521311748e85e7e23ba0ae787c [2020-10-21T03:14:07.296Z] Merge succeeded, producing ccff8c642bafe7521311748e85e7e23ba0ae787c [2020-10-21T03:14:07.296Z] Checking out Revision ccff8c642bafe7521311748e85e7e23ba0ae787c (PR-637) [2020-10-21T03:14:06.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T03:14:06.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T03:14:06.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T03:14:06.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T03:14:06.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T03:14:06.460Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/637/head:refs/remotes/origin/PR-637 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T03:14:07.048Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T03:14:07.061Z] > git checkout -f ccff8c642bafe7521311748e85e7e23ba0ae787c # timeout=10 [2020-10-21T03:14:07.173Z] > git remote # timeout=10 [2020-10-21T03:14:07.192Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T03:14:07.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T03:14:07.222Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-21T03:14:07.244Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T03:14:07.309Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T03:14:07.331Z] > git checkout -f ccff8c642bafe7521311748e85e7e23ba0ae787c # timeout=10 [2020-10-21T03:14:11.784Z] Commit message: "test/docs(sdk): update README and add unit tests" [2020-10-21T03:14:11.858Z] > git --version # timeout=10 [2020-10-21T03:14:11.876Z] > git --version # 'git version 2.17.1' [2020-10-21T03:14:11.893Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T03:14:13.089Z] ========================================================= [2020-10-21T03:14:13.089Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-21T03:14:13.089Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:14:14.190Z] + 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-21T03:14:15.174Z] Sending build context to Docker daemon 2.337MB [2020-10-21T03:14:15.174Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T03:14:15.174Z] Step 2/8 : FROM ${BASE} [2020-10-21T03:14:15.450Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-21T03:14:15.450Z] b538f80385f9: Pulling fs layer [2020-10-21T03:14:15.450Z] 74f711af9a0d: Pulling fs layer [2020-10-21T03:14:15.450Z] 99f96fe45779: Pulling fs layer [2020-10-21T03:14:15.450Z] 8529a6b9a6be: Pulling fs layer [2020-10-21T03:14:15.450Z] 45590311c82a: Pulling fs layer [2020-10-21T03:14:15.450Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-21T03:14:15.450Z] 209524e5b208: Pulling fs layer [2020-10-21T03:14:15.450Z] 45590311c82a: Waiting [2020-10-21T03:14:15.450Z] 8529a6b9a6be: Waiting [2020-10-21T03:14:15.450Z] 69ca0ff8b7b3: Waiting [2020-10-21T03:14:15.450Z] 209524e5b208: Waiting [2020-10-21T03:14:15.450Z] 99f96fe45779: Verifying Checksum [2020-10-21T03:14:15.450Z] 99f96fe45779: Download complete [2020-10-21T03:14:15.450Z] 74f711af9a0d: Verifying Checksum [2020-10-21T03:14:15.450Z] 74f711af9a0d: Download complete [2020-10-21T03:14:15.450Z] 45590311c82a: Download complete [2020-10-21T03:14:16.438Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-21T03:14:16.438Z] 69ca0ff8b7b3: Download complete [2020-10-21T03:14:16.438Z] b538f80385f9: Verifying Checksum [2020-10-21T03:14:16.438Z] b538f80385f9: Download complete [2020-10-21T03:14:17.047Z] b538f80385f9: Pull complete [2020-10-21T03:14:17.667Z] 74f711af9a0d: Pull complete [2020-10-21T03:14:17.945Z] 99f96fe45779: Pull complete [2020-10-21T03:14:18.545Z] 209524e5b208: Download complete [2020-10-21T03:14:20.003Z] 8529a6b9a6be: Verifying Checksum [2020-10-21T03:14:20.003Z] 8529a6b9a6be: Download complete [2020-10-21T03:14:30.191Z] 8529a6b9a6be: Pull complete [2020-10-21T03:14:30.467Z] 45590311c82a: Pull complete [2020-10-21T03:14:30.743Z] 69ca0ff8b7b3: Pull complete [2020-10-21T03:14:34.141Z] 209524e5b208: Pull complete [2020-10-21T03:14:34.141Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-21T03:14:34.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-21T03:14:34.141Z] ---> 5bddaf1c2fca [2020-10-21T03:14:34.141Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T03:14:37.547Z] ---> Running in f7c5c8757769 [2020-10-21T03:14:37.547Z] Removing intermediate container f7c5c8757769 [2020-10-21T03:14:37.547Z] ---> ad2befb5f3db [2020-10-21T03:14:37.547Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T03:14:37.547Z] ---> Running in 6ea5cd1b725d [2020-10-21T03:14:40.267Z] Removing intermediate container 6ea5cd1b725d [2020-10-21T03:14:40.267Z] ---> 1c9318cccf7a [2020-10-21T03:14:40.267Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-21T03:14:40.267Z] ---> Running in 9c98b08168cc [2020-10-21T03:14:41.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T03:14:42.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T03:14:43.294Z] OK: 142 MiB in 39 packages [2020-10-21T03:14:44.278Z] Removing intermediate container 9c98b08168cc [2020-10-21T03:14:44.278Z] ---> 39381f086761 [2020-10-21T03:14:44.278Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-21T03:14:44.554Z] ---> Running in 0728d7e7502a [2020-10-21T03:14:44.830Z] Removing intermediate container 0728d7e7502a [2020-10-21T03:14:44.830Z] ---> bf5ba2f8d6b4 [2020-10-21T03:14:44.830Z] Step 7/8 : COPY . . [2020-10-21T03:14:46.272Z] ---> 69ffcbf4d8f1 [2020-10-21T03:14:46.272Z] Step 8/8 : RUN go mod download [2020-10-21T03:14:46.272Z] ---> Running in 623601a7be72 [2020-10-21T03:14:49.163Z] Running on prd-centos7-docker-4c-2g-7402 in /w/workspace/dgexfoundry_device-sdk-go_PR-637 [Pipeline] { [Pipeline] ws [2020-10-21T03:14:49.309Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-21T03:14:51.711Z] using credential edgex-jenkins-ssh [2020-10-21T03:14:51.768Z] Cloning the remote Git repository [2020-10-21T03:14:51.799Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T03:14:51.865Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-21T03:14:51.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T03:14:51.917Z] > git --version # timeout=10 [2020-10-21T03:14:51.923Z] > git --version # 'git version 2.16.5' [2020-10-21T03:14:51.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T03:14:51.949Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T03:14:52.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T03:14:52.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T03:14:52.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T03:14:52.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T03:14:52.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T03:14:52.685Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/637/head:refs/remotes/origin/PR-637 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T03:14:53.172Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit ccff8c642bafe7521311748e85e7e23ba0ae787c [2020-10-21T03:14:53.501Z] Merge succeeded, producing ccff8c642bafe7521311748e85e7e23ba0ae787c [2020-10-21T03:14:53.502Z] Checking out Revision ccff8c642bafe7521311748e85e7e23ba0ae787c (PR-637) [2020-10-21T03:14:53.185Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T03:14:53.189Z] > git checkout -f ccff8c642bafe7521311748e85e7e23ba0ae787c # timeout=10 [2020-10-21T03:14:53.364Z] > git remote # timeout=10 [2020-10-21T03:14:53.369Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T03:14:53.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T03:14:53.490Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-21T03:14:53.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T03:14:53.509Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T03:14:53.527Z] > git checkout -f ccff8c642bafe7521311748e85e7e23ba0ae787c # timeout=10 [2020-10-21T03:14:57.143Z] Commit message: "test/docs(sdk): update README and add unit tests" [2020-10-21T03:14:57.172Z] > git --version # timeout=10 [2020-10-21T03:14:57.176Z] > git --version # 'git version 2.16.5' [2020-10-21T03:14:57.180Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T03:14:58.110Z] ========================================================= [2020-10-21T03:14:58.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-21T03:14:58.110Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:14:58.871Z] + 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-21T03:14:59.136Z] Sending build context to Docker daemon 2.337MB [2020-10-21T03:14:59.136Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T03:14:59.136Z] Step 2/8 : FROM ${BASE} [2020-10-21T03:14:59.136Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-21T03:14:59.136Z] df20fa9351a1: Pulling fs layer [2020-10-21T03:14:59.136Z] ed8968b2872e: Pulling fs layer [2020-10-21T03:14:59.136Z] a92cc7c5fd73: Pulling fs layer [2020-10-21T03:14:59.136Z] e871e8e8d7a9: Pulling fs layer [2020-10-21T03:14:59.136Z] e73272ec9a57: Pulling fs layer [2020-10-21T03:14:59.136Z] 1e910a182e73: Pulling fs layer [2020-10-21T03:14:59.136Z] 4e634b169226: Pulling fs layer [2020-10-21T03:14:59.136Z] e871e8e8d7a9: Waiting [2020-10-21T03:14:59.136Z] e73272ec9a57: Waiting [2020-10-21T03:14:59.136Z] 1e910a182e73: Waiting [2020-10-21T03:14:59.136Z] 4e634b169226: Waiting [2020-10-21T03:14:59.136Z] a92cc7c5fd73: Verifying Checksum [2020-10-21T03:14:59.136Z] a92cc7c5fd73: Download complete [2020-10-21T03:14:59.136Z] ed8968b2872e: Verifying Checksum [2020-10-21T03:14:59.136Z] ed8968b2872e: Download complete [2020-10-21T03:14:59.136Z] e73272ec9a57: Verifying Checksum [2020-10-21T03:14:59.136Z] e73272ec9a57: Download complete [2020-10-21T03:14:59.136Z] 1e910a182e73: Verifying Checksum [2020-10-21T03:14:59.136Z] 1e910a182e73: Download complete [2020-10-21T03:14:59.399Z] df20fa9351a1: Verifying Checksum [2020-10-21T03:14:59.399Z] df20fa9351a1: Download complete [2020-10-21T03:14:59.399Z] df20fa9351a1: Pull complete [2020-10-21T03:14:59.661Z] ed8968b2872e: Pull complete [2020-10-21T03:14:59.923Z] a92cc7c5fd73: Pull complete [2020-10-21T03:15:01.313Z] 4e634b169226: Download complete [2020-10-21T03:15:02.823Z] e871e8e8d7a9: Verifying Checksum [2020-10-21T03:15:02.823Z] e871e8e8d7a9: Download complete [2020-10-21T03:15:08.164Z] e871e8e8d7a9: Pull complete [2020-10-21T03:15:08.164Z] e73272ec9a57: Pull complete [2020-10-21T03:15:08.164Z] 1e910a182e73: Pull complete [2020-10-21T03:15:08.473Z] Removing intermediate container 623601a7be72 [2020-10-21T03:15:08.474Z] ---> c96c1856f147 [2020-10-21T03:15:08.474Z] Successfully built c96c1856f147 [2020-10-21T03:15:08.474Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:15:08.904Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T03:15:08.904Z] . [Pipeline] withDockerContainer [2020-10-21T03:15:09.168Z] prd-ubuntu18.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container [2020-10-21T03:15:09.246Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-21T03:15:11.068Z] $ docker top e13eefa91954fba89cfbc3cf4d55537ca2448a48f4e4ef20a62660ad5f875266 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T03:15:11.504Z] 4e634b169226: Pull complete [2020-10-21T03:15:11.504Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-21T03:15:11.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-21T03:15:11.504Z] ---> f7629b54cfaa [2020-10-21T03:15:11.504Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T03:15:11.786Z] ---> Running in 4541f9f492d7 [2020-10-21T03:15:12.050Z] Removing intermediate container 4541f9f492d7 [2020-10-21T03:15:12.050Z] ---> 5a0ab134ca56 [2020-10-21T03:15:12.050Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T03:15:12.050Z] ---> Running in 28b5fafd67c9 [2020-10-21T03:15:12.502Z] + go version [2020-10-21T03:15:12.502Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-21T03:15:12.535Z] $ docker stop --time=1 e13eefa91954fba89cfbc3cf4d55537ca2448a48f4e4ef20a62660ad5f875266 [2020-10-21T03:15:12.998Z] Removing intermediate container 28b5fafd67c9 [2020-10-21T03:15:12.999Z] ---> 5fb0b7f1c46e [2020-10-21T03:15:12.999Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-21T03:15:12.999Z] ---> Running in 530ed0682980 [2020-10-21T03:15:13.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T03:15:14.440Z] $ docker rm -f e13eefa91954fba89cfbc3cf4d55537ca2448a48f4e4ef20a62660ad5f875266 [Pipeline] // withDockerContainer [Pipeline] } [2020-10-21T03:15:14.903Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:15:15.848Z] OK: 166 MiB in 39 packages [2020-10-21T03:15:15.851Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T03:15:15.851Z] . [Pipeline] withDockerContainer [2020-10-21T03:15:16.112Z] Removing intermediate container 530ed0682980 [2020-10-21T03:15:16.112Z] ---> 20d56a44a9fd [2020-10-21T03:15:16.112Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-21T03:15:16.112Z] ---> Running in 8b1f71ac0aa1 [2020-10-21T03:15:16.147Z] prd-ubuntu18.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container [2020-10-21T03:15:16.238Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-21T03:15:16.376Z] Removing intermediate container 8b1f71ac0aa1 [2020-10-21T03:15:16.377Z] ---> 901c4bca8008 [2020-10-21T03:15:16.377Z] Step 7/8 : COPY . . [2020-10-21T03:15:17.327Z] ---> 5a8772842244 [2020-10-21T03:15:17.327Z] Step 8/8 : RUN go mod download [2020-10-21T03:15:17.595Z] ---> Running in 9a990d2ee337 [2020-10-21T03:15:18.102Z] $ docker top e8ad903f6cc622d37f3c65471f0e5a61fc3d8150b291805ff3756cf61c08f64b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T03:15:19.625Z] + make test [2020-10-21T03:15:19.625Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-21T03:15:39.597Z] Removing intermediate container 9a990d2ee337 [2020-10-21T03:15:39.597Z] ---> 565ceef28ee4 [2020-10-21T03:15:39.597Z] Successfully built 565ceef28ee4 [2020-10-21T03:15:39.597Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:15:40.076Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T03:15:40.076Z] . [Pipeline] withDockerContainer [2020-10-21T03:15:40.197Z] prd-centos7-docker-4c-2g-7402 does not seem to be running inside a container [2020-10-21T03:15:40.257Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-21T03:15:40.846Z] $ docker top c4e7b97313f636f2158980581a87640e33d5fbd3ce27c1bc59d7726411a48372 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T03:15:41.394Z] + go version [2020-10-21T03:15:41.394Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-21T03:15:41.430Z] $ docker stop --time=1 c4e7b97313f636f2158980581a87640e33d5fbd3ce27c1bc59d7726411a48372 [2020-10-21T03:15:41.850Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-21T03:15:42.754Z] $ docker rm -f c4e7b97313f636f2158980581a87640e33d5fbd3ce27c1bc59d7726411a48372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:15:43.987Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T03:15:43.987Z] . [Pipeline] withDockerContainer [2020-10-21T03:15:44.103Z] prd-centos7-docker-4c-2g-7402 does not seem to be running inside a container [2020-10-21T03:15:44.154Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-21T03:15:44.707Z] $ docker top 6e39974e4087d9697e4176592295ae54116839d28ed2652869b384d8eb6ff25e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T03:15:45.235Z] + make test [2020-10-21T03:15:45.235Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-21T03:15:51.856Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-21T03:16:06.872Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-21T03:16:06.872Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-21T03:16:06.872Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-21T03:16:06.872Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 21.6% of statements [2020-10-21T03:16:07.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.429s coverage: 97.1% of statements [2020-10-21T03:16:21.056Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-21T03:16:21.056Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-21T03:16:21.056Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-21T03:16:21.057Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.171s coverage: 21.6% of statements [2020-10-21T03:16:26.531Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.181s coverage: 97.1% of statements [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.232s coverage: 42.6% of statements [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.263s coverage: 68.9% of statements [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.217s coverage: 68.9% of statements [2020-10-21T03:16:39.800Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements [2020-10-21T03:16:39.800Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-21T03:16:39.800Z] GO111MODULE=on go vet ./... [2020-10-21T03:16:45.219Z] gofmt -l . [2020-10-21T03:16:45.219Z] [ "`gofmt -l .`" = "" ] [2020-10-21T03:16:45.219Z] ./bin/test-attribution-txt.sh [2020-10-21T03:16:45.801Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T03:16:46.401Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T03:16:46.427Z] $ docker stop --time=1 6e39974e4087d9697e4176592295ae54116839d28ed2652869b384d8eb6ff25e [2020-10-21T03:16:48.243Z] $ docker rm -f 6e39974e4087d9697e4176592295ae54116839d28ed2652869b384d8eb6ff25e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-21T03:16:51.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T03:16:52.248Z] + ls -al . [2020-10-21T03:16:52.248Z] total 208 [2020-10-21T03:16:52.248Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 21 03:16 . [2020-10-21T03:16:52.248Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 21 03:14 .. [2020-10-21T03:16:52.248Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 21 03:14 bin [2020-10-21T03:16:52.248Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 21 03:16 coverage.out [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 21 03:14 Dockerfile.build [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 21 03:14 .dockerignore [2020-10-21T03:16:52.248Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 21 03:14 example [2020-10-21T03:16:52.248Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 03:14 .git [2020-10-21T03:16:52.248Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 21 03:14 .github [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 21 03:14 .gitignore [2020-10-21T03:16:52.248Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 21 03:16 go.mod [2020-10-21T03:16:52.248Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 21 03:16 go.sum [2020-10-21T03:16:52.248Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 21 03:14 internal [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 21 03:14 Jenkinsfile [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 21 03:14 LICENSE [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 21 03:14 Makefile [2020-10-21T03:16:52.248Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 21 03:14 openapi [2020-10-21T03:16:52.248Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 21 03:14 pkg [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 21 03:14 README.md [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 21 03:14 RELEASE-NOTES.txt [2020-10-21T03:16:52.248Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 21 03:14 snap [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 21 03:11 VERSION [2020-10-21T03:16:52.248Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 21 03:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:16:52.639Z] + 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=ccff8c642bafe7521311748e85e7e23ba0ae787c --label arch=amd64 --label version=0.0.0 . [2020-10-21T03:16:52.639Z] Sending build context to Docker daemon 2.465MB [2020-10-21T03:16:52.639Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-21T03:16:52.639Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-21T03:16:52.639Z] ---> 565ceef28ee4 [2020-10-21T03:16:52.639Z] Step 3/24 : ARG MAKE='make build' [2020-10-21T03:16:53.217Z] ---> Running in 4791eef9526f [2020-10-21T03:16:53.410Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.147s coverage: 9.4% of statements [2020-10-21T03:16:53.410Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.140s coverage: 21.9% of statements [2020-10-21T03:16:53.410Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-21T03:16:53.410Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.558s coverage: 42.6% of statements [2020-10-21T03:16:53.410Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-21T03:16:53.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.769s coverage: 68.9% of statements [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-21T03:16:53.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.201s coverage: 52.6% of statements [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-21T03:16:53.411Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.954s coverage: 68.9% of statements [2020-10-21T03:16:53.411Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.7% of statements [2020-10-21T03:16:53.411Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-21T03:16:53.411Z] GO111MODULE=on go vet ./... [2020-10-21T03:16:53.479Z] Removing intermediate container 4791eef9526f [2020-10-21T03:16:53.479Z] ---> 8d97d6c5ede5 [2020-10-21T03:16:53.479Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-21T03:16:53.479Z] ---> Running in 0eab19bb6ab7 [2020-10-21T03:16:53.741Z] Removing intermediate container 0eab19bb6ab7 [2020-10-21T03:16:53.741Z] ---> b61e2025a578 [2020-10-21T03:16:53.741Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T03:16:53.741Z] ---> Running in a43cda69fe13 [2020-10-21T03:16:54.004Z] Removing intermediate container a43cda69fe13 [2020-10-21T03:16:54.005Z] ---> ecc910a02283 [2020-10-21T03:16:54.005Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T03:16:54.005Z] ---> Running in 1e64078327a3 [2020-10-21T03:16:54.953Z] Removing intermediate container 1e64078327a3 [2020-10-21T03:16:54.953Z] ---> 8a1aa98dd6fc [2020-10-21T03:16:54.953Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-21T03:16:54.953Z] ---> Running in b9f49723669e [2020-10-21T03:16:55.214Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T03:16:56.164Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T03:16:58.085Z] OK: 166 MiB in 39 packages [2020-10-21T03:16:58.353Z] Removing intermediate container b9f49723669e [2020-10-21T03:16:58.353Z] ---> d4be097e54e1 [2020-10-21T03:16:58.353Z] Step 8/24 : COPY . . [2020-10-21T03:16:59.306Z] ---> 90f06e1eb1b4 [2020-10-21T03:16:59.306Z] Step 9/24 : RUN ${MAKE} [2020-10-21T03:16:59.306Z] ---> Running in 2989bbde77c7 [2020-10-21T03:16:59.568Z] 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-21T03:17:07.832Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-21T03:17:09.224Z] Removing intermediate container 2989bbde77c7 [2020-10-21T03:17:09.224Z] ---> cc6b1fb7a8a7 [2020-10-21T03:17:09.224Z] Step 10/24 : FROM scratch [2020-10-21T03:17:09.224Z] ---> [2020-10-21T03:17:09.224Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T03:17:09.488Z] ---> Running in 8ba93ff3af83 [2020-10-21T03:17:09.488Z] Removing intermediate container 8ba93ff3af83 [2020-10-21T03:17:09.488Z] ---> ad059e21c02e [2020-10-21T03:17:09.488Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-21T03:17:09.488Z] ---> Running in 462bd00c4d4e [2020-10-21T03:17:09.749Z] Removing intermediate container 462bd00c4d4e [2020-10-21T03:17:09.749Z] ---> 0949190d9b61 [2020-10-21T03:17:09.749Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-21T03:17:09.749Z] ---> Running in e4763bb60300 [2020-10-21T03:17:10.010Z] Removing intermediate container e4763bb60300 [2020-10-21T03:17:10.010Z] ---> 49496833bff9 [2020-10-21T03:17:10.010Z] Step 14/24 : WORKDIR / [2020-10-21T03:17:10.010Z] ---> Running in 9367e0a19f84 [2020-10-21T03:17:10.277Z] Removing intermediate container 9367e0a19f84 [2020-10-21T03:17:10.277Z] ---> af0f5c53cbb8 [2020-10-21T03:17:10.277Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-21T03:17:10.539Z] ---> dcc6d0ad154d [2020-10-21T03:17:10.539Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-21T03:17:10.801Z] ---> 717591244122 [2020-10-21T03:17:10.801Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-21T03:17:11.063Z] ---> 93e1df7263f6 [2020-10-21T03:17:11.063Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-21T03:17:11.326Z] ---> 2ef55e4aa0ae [2020-10-21T03:17:11.326Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-21T03:17:11.587Z] ---> 3ce0b578e336 [2020-10-21T03:17:11.587Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-21T03:17:11.587Z] ---> Running in af9208430c33 [2020-10-21T03:17:11.852Z] Removing intermediate container af9208430c33 [2020-10-21T03:17:11.852Z] ---> e9adb0119022 [2020-10-21T03:17:11.852Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-21T03:17:11.852Z] ---> Running in 9bfb5654b682 [2020-10-21T03:17:12.114Z] Removing intermediate container 9bfb5654b682 [2020-10-21T03:17:12.114Z] ---> c24df128c94d [2020-10-21T03:17:12.114Z] Step 22/24 : LABEL arch=amd64 [2020-10-21T03:17:12.114Z] ---> Running in ab0ada8381c7 [2020-10-21T03:17:12.378Z] Removing intermediate container ab0ada8381c7 [2020-10-21T03:17:12.378Z] ---> 60bf75c815a8 [2020-10-21T03:17:12.378Z] Step 23/24 : LABEL git_sha=ccff8c642bafe7521311748e85e7e23ba0ae787c [2020-10-21T03:17:12.378Z] ---> Running in 8940cc586158 [2020-10-21T03:17:12.378Z] Removing intermediate container 8940cc586158 [2020-10-21T03:17:12.378Z] ---> d49581d44cd7 [2020-10-21T03:17:12.378Z] Step 24/24 : LABEL version=0.0.0 [2020-10-21T03:17:12.643Z] ---> Running in af61914e37b1 [2020-10-21T03:17:12.643Z] Removing intermediate container af61914e37b1 [2020-10-21T03:17:12.643Z] ---> beeb315f614b [2020-10-21T03:17:12.643Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T03:17:12.643Z] Successfully built beeb315f614b [2020-10-21T03:17:12.906Z] 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-21T03:17:25.798Z] gofmt -l . [2020-10-21T03:17:25.799Z] [ "`gofmt -l .`" = "" ] [2020-10-21T03:17:25.799Z] ./bin/test-attribution-txt.sh [2020-10-21T03:17:25.799Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T03:17:25.840Z] Warning: overwriting stash ‘coverage-report’ [2020-10-21T03:17:26.787Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T03:17:26.807Z] $ docker stop --time=1 e8ad903f6cc622d37f3c65471f0e5a61fc3d8150b291805ff3756cf61c08f64b [2020-10-21T03:17:28.916Z] $ docker rm -f e8ad903f6cc622d37f3c65471f0e5a61fc3d8150b291805ff3756cf61c08f64b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T03:17:30.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T03:17:31.235Z] + ls -al . [2020-10-21T03:17:31.235Z] total 244 [2020-10-21T03:17:31.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 03:17 . [2020-10-21T03:17:31.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 03:14 .. [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 03:14 .dockerignore [2020-10-21T03:17:31.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 03:14 .git [2020-10-21T03:17:31.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 03:14 .github [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 21 03:14 .gitignore [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 21 03:14 Dockerfile.build [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 21 03:14 Jenkinsfile [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 03:14 LICENSE [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 21 03:14 Makefile [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 21 03:14 README.md [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 21 03:14 RELEASE-NOTES.txt [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 03:11 VERSION [2020-10-21T03:17:31.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 03:14 bin [2020-10-21T03:17:31.235Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 21 03:16 coverage.out [2020-10-21T03:17:31.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 03:14 example [2020-10-21T03:17:31.235Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 21 03:17 go.mod [2020-10-21T03:17:31.235Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 21 03:17 go.sum [2020-10-21T03:17:31.235Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 21 03:14 internal [2020-10-21T03:17:31.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 03:14 openapi [2020-10-21T03:17:31.235Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 03:14 pkg [2020-10-21T03:17:31.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 03:14 snap [2020-10-21T03:17:31.235Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 03:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:17:31.650Z] + 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=ccff8c642bafe7521311748e85e7e23ba0ae787c --label arch=arm64 --label version=0.0.0 . [2020-10-21T03:17:32.282Z] Sending build context to Docker daemon 2.465MB [2020-10-21T03:17:32.282Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-21T03:17:32.282Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-21T03:17:32.282Z] ---> c96c1856f147 [2020-10-21T03:17:32.282Z] Step 3/24 : ARG MAKE='make build' [2020-10-21T03:17:32.561Z] ---> Running in c18ba0a0445b [2020-10-21T03:17:32.836Z] Removing intermediate container c18ba0a0445b [2020-10-21T03:17:32.836Z] ---> c60ff6667fbc [2020-10-21T03:17:32.836Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-21T03:17:33.110Z] ---> Running in 6430f4ff4f72 [2020-10-21T03:17:33.384Z] Removing intermediate container 6430f4ff4f72 [2020-10-21T03:17:33.384Z] ---> e3d76fad7754 [2020-10-21T03:17:33.384Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T03:17:33.656Z] ---> Running in 6892e8044270 [2020-10-21T03:17:34.255Z] Removing intermediate container 6892e8044270 [2020-10-21T03:17:34.255Z] ---> ac7778a8782d [2020-10-21T03:17:34.255Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T03:17:34.255Z] ---> Running in 1e6bbd84a72a [2020-10-21T03:17:36.884Z] Removing intermediate container 1e6bbd84a72a [2020-10-21T03:17:36.884Z] ---> dc5dffbd7d27 [2020-10-21T03:17:36.884Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-21T03:17:36.884Z] ---> Running in ad3a7499b189 [2020-10-21T03:17:38.328Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T03:17:39.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T03:17:40.736Z] OK: 142 MiB in 39 packages [2020-10-21T03:17:41.716Z] Removing intermediate container ad3a7499b189 [2020-10-21T03:17:41.716Z] ---> 344b36be2b6f [2020-10-21T03:17:41.716Z] Step 8/24 : COPY . . [2020-10-21T03:17:43.163Z] ---> 98a318359764 [2020-10-21T03:17:43.163Z] Step 9/24 : RUN ${MAKE} [2020-10-21T03:17:43.163Z] ---> Running in d6db183a9a58 [2020-10-21T03:17:44.600Z] 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-21T03:18:11.475Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-21T03:18:11.475Z] Removing intermediate container d6db183a9a58 [2020-10-21T03:18:11.475Z] ---> 356aa0a542da [2020-10-21T03:18:11.475Z] Step 10/24 : FROM scratch [2020-10-21T03:18:11.475Z] ---> [2020-10-21T03:18:11.475Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T03:18:11.475Z] ---> Running in 7c9f7ecae596 [2020-10-21T03:18:11.475Z] Removing intermediate container 7c9f7ecae596 [2020-10-21T03:18:11.475Z] ---> d9510f65b52b [2020-10-21T03:18:11.475Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-21T03:18:11.475Z] ---> Running in ada3d3b996a1 [2020-10-21T03:18:12.077Z] Removing intermediate container ada3d3b996a1 [2020-10-21T03:18:12.077Z] ---> 3a445eca4a84 [2020-10-21T03:18:12.077Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-21T03:18:12.077Z] ---> Running in 0f5a307db902 [2020-10-21T03:18:12.678Z] Removing intermediate container 0f5a307db902 [2020-10-21T03:18:12.678Z] ---> 2d40272e364d [2020-10-21T03:18:12.678Z] Step 14/24 : WORKDIR / [2020-10-21T03:18:12.678Z] ---> Running in a9eba9dfdb7b [2020-10-21T03:18:13.280Z] Removing intermediate container a9eba9dfdb7b [2020-10-21T03:18:13.280Z] ---> 464a79ec9a29 [2020-10-21T03:18:13.280Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-21T03:18:14.267Z] ---> 2648f1da3ffc [2020-10-21T03:18:14.267Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-21T03:18:14.868Z] ---> 149662284762 [2020-10-21T03:18:14.868Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-21T03:18:15.863Z] ---> ab5dc9ae6326 [2020-10-21T03:18:15.863Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-21T03:18:16.465Z] ---> e74dee6f8b95 [2020-10-21T03:18:16.465Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-21T03:18:17.067Z] ---> 8c44f9a4bc32 [2020-10-21T03:18:17.067Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-21T03:18:17.344Z] ---> Running in b4525676e074 [2020-10-21T03:18:17.617Z] Removing intermediate container b4525676e074 [2020-10-21T03:18:17.617Z] ---> 1d62d13c766f [2020-10-21T03:18:17.617Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-21T03:18:17.903Z] ---> Running in 7be9dba5f9a3 [2020-10-21T03:18:18.177Z] Removing intermediate container 7be9dba5f9a3 [2020-10-21T03:18:18.177Z] ---> a7e842d566e7 [2020-10-21T03:18:18.177Z] Step 22/24 : LABEL arch=arm64 [2020-10-21T03:18:18.453Z] ---> Running in 7f797ff2532d [2020-10-21T03:18:18.733Z] Removing intermediate container 7f797ff2532d [2020-10-21T03:18:18.733Z] ---> 6e9e46ed6492 [2020-10-21T03:18:18.733Z] Step 23/24 : LABEL git_sha=ccff8c642bafe7521311748e85e7e23ba0ae787c [2020-10-21T03:18:19.005Z] ---> Running in 18a5fefa0430 [2020-10-21T03:18:19.277Z] Removing intermediate container 18a5fefa0430 [2020-10-21T03:18:19.277Z] ---> 40f48860d687 [2020-10-21T03:18:19.277Z] Step 24/24 : LABEL version=0.0.0 [2020-10-21T03:18:19.550Z] ---> Running in ae922d6aee15 [2020-10-21T03:18:19.822Z] Removing intermediate container ae922d6aee15 [2020-10-21T03:18:19.822Z] ---> a534a4d8bf04 [2020-10-21T03:18:19.822Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T03:18:19.822Z] Successfully built a534a4d8bf04 [2020-10-21T03:18:20.097Z] 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-21T03:18:25.528Z] provisioning config files... [2020-10-21T03:18:25.542Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/config2242808724071115769tmp [Pipeline] { [Pipeline] sh [2020-10-21T03:18:25.989Z] + set +x [2020-10-21T03:18:25.989Z] + curl -s https://codecov.io/bash [2020-10-21T03:18:25.989Z] + bash -s -- [2020-10-21T03:18:26.252Z] [2020-10-21T03:18:26.252Z] _____ _ [2020-10-21T03:18:26.252Z] / ____| | | [2020-10-21T03:18:26.252Z] | | ___ __| | ___ ___ _____ __ [2020-10-21T03:18:26.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-21T03:18:26.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-21T03:18:26.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-21T03:18:26.252Z] Bash-20201009-048fee3 [2020-10-21T03:18:26.252Z] [2020-10-21T03:18:26.252Z] [2020-10-21T03:18:26.252Z] ==> Jenkins CI detected. [2020-10-21T03:18:26.252Z] project root: . [2020-10-21T03:18:26.252Z] --> token set from env [2020-10-21T03:18:26.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-21T03:18:26.252Z] ==> Running gcov in . (disable via -X gcov) [2020-10-21T03:18:26.252Z] ==> Python coveragepy not found [2020-10-21T03:18:26.252Z] ==> Searching for coverage reports in: [2020-10-21T03:18:26.252Z] + . [2020-10-21T03:18:26.252Z] -> Found 1 reports [2020-10-21T03:18:26.252Z] ==> Detecting git/mercurial file structure [2020-10-21T03:18:26.514Z] ==> Reading reports [2020-10-21T03:18:26.514Z] + ./coverage.out bytes=127611 [2020-10-21T03:18:26.514Z] ==> Appending adjustments [2020-10-21T03:18:26.514Z] https://docs.codecov.io/docs/fixing-reports [2020-10-21T03:18:26.778Z] + Found adjustments [2020-10-21T03:18:26.778Z] ==> Gzipping contents [2020-10-21T03:18:26.778Z] ==> Uploading reports [2020-10-21T03:18:26.778Z] url: https://codecov.io [2020-10-21T03:18:26.778Z] query: branch=PR-637&commit=ccff8c642bafe7521311748e85e7e23ba0ae787c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-637%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=637&job=&cmd_args= [2020-10-21T03:18:26.778Z] -> Pinging Codecov [2020-10-21T03:18:26.778Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-637&commit=ccff8c642bafe7521311748e85e7e23ba0ae787c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-637%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=637&job=&cmd_args= [2020-10-21T03:18:27.041Z] -> Uploading to [2020-10-21T03:18:27.041Z] [2020-10-21T03:18:27.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-21T03:18:27.041Z] Dload Upload Total Spent Left Speed [2020-10-21T03:18:27.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-21T03:18:27.041Z] X> Failed to upload [2020-10-21T03:18:27.041Z] ==> Uploading to Codecov [2020-10-21T03:18:27.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-21T03:18:27.041Z] Dload Upload Total Spent Left Speed [2020-10-21T03:18:27.616Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20977 100 110 100 20867 177 33765 --:--:-- --:--:-- --:--:-- 33820 [2020-10-21T03:18:27.616Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ccff8c642bafe7521311748e85e7e23ba0ae787c [Pipeline] } [2020-10-21T03:18:27.646Z] 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-21T03:18:31.824Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:18:32.470Z] ---> package-listing.sh [2020-10-21T03:18:32.470Z] ++ facter osfamily [2020-10-21T03:18:32.470Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-21T03:18:32.470Z] + OS_FAMILY=redhat [2020-10-21T03:18:32.470Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-637 [2020-10-21T03:18:32.470Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-21T03:18:32.470Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-21T03:18:32.470Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-21T03:18:32.470Z] + PACKAGES=/tmp/packages_start.txt [2020-10-21T03:18:32.470Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-637 ']' [2020-10-21T03:18:32.470Z] + PACKAGES=/tmp/packages_end.txt [2020-10-21T03:18:32.470Z] + case "${OS_FAMILY}" in [2020-10-21T03:18:32.470Z] + rpm -qa [2020-10-21T03:18:32.470Z] + sort [2020-10-21T03:18:36.702Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-21T03:18:36.702Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-21T03:18:36.702Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-21T03:18:36.702Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-637 ']' [2020-10-21T03:18:36.702Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-637/archives/ [2020-10-21T03:18:36.702Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-637/archives/ [Pipeline] echo [2020-10-21T03:18:36.742Z] 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-637/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-21T03:18:37.056Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:18:37.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T03:18:37.406Z] [2020-10-21T03:18:37.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-21T03:18:37.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T03:18:37.804Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-21T03:18:37.804Z] df20fa9351a1: Pulling fs layer [2020-10-21T03:18:37.804Z] 36b3adc4ff6f: Pulling fs layer [2020-10-21T03:18:37.804Z] 8ad3a11d3b57: Pulling fs layer [2020-10-21T03:18:37.804Z] 46f8f816bc3b: Pulling fs layer [2020-10-21T03:18:37.804Z] 93b61091891f: Pulling fs layer [2020-10-21T03:18:37.804Z] 93b9cdb0e59b: Pulling fs layer [2020-10-21T03:18:37.804Z] 5e14af77c1be: Pulling fs layer [2020-10-21T03:18:37.804Z] 01666e4c0597: Pulling fs layer [2020-10-21T03:18:37.804Z] aa168da1d23b: Pulling fs layer [2020-10-21T03:18:37.804Z] 5e14af77c1be: Waiting [2020-10-21T03:18:37.804Z] 46f8f816bc3b: Waiting [2020-10-21T03:18:37.804Z] 01666e4c0597: Waiting [2020-10-21T03:18:37.804Z] 93b61091891f: Waiting [2020-10-21T03:18:37.804Z] aa168da1d23b: Waiting [2020-10-21T03:18:37.804Z] 93b9cdb0e59b: Waiting [2020-10-21T03:18:37.804Z] 36b3adc4ff6f: Verifying Checksum [2020-10-21T03:18:37.804Z] 36b3adc4ff6f: Download complete [2020-10-21T03:18:37.804Z] 46f8f816bc3b: Verifying Checksum [2020-10-21T03:18:37.804Z] 46f8f816bc3b: Download complete [2020-10-21T03:18:38.073Z] df20fa9351a1: Verifying Checksum [2020-10-21T03:18:38.073Z] 93b9cdb0e59b: Verifying Checksum [2020-10-21T03:18:38.073Z] 93b9cdb0e59b: Download complete [2020-10-21T03:18:38.073Z] 5e14af77c1be: Verifying Checksum [2020-10-21T03:18:38.073Z] 5e14af77c1be: Download complete [2020-10-21T03:18:38.073Z] 01666e4c0597: Verifying Checksum [2020-10-21T03:18:38.073Z] 01666e4c0597: Download complete [2020-10-21T03:18:38.073Z] 93b61091891f: Verifying Checksum [2020-10-21T03:18:38.073Z] 93b61091891f: Download complete [2020-10-21T03:18:38.339Z] df20fa9351a1: Pull complete [2020-10-21T03:18:38.602Z] 36b3adc4ff6f: Pull complete [2020-10-21T03:18:38.867Z] 8ad3a11d3b57: Verifying Checksum [2020-10-21T03:18:38.867Z] 8ad3a11d3b57: Download complete [2020-10-21T03:18:39.825Z] 8ad3a11d3b57: Pull complete [2020-10-21T03:18:39.825Z] 46f8f816bc3b: Pull complete [2020-10-21T03:18:40.094Z] 93b61091891f: Pull complete [2020-10-21T03:18:40.362Z] 93b9cdb0e59b: Pull complete [2020-10-21T03:18:40.362Z] 5e14af77c1be: Pull complete [2020-10-21T03:18:40.625Z] aa168da1d23b: Download complete [2020-10-21T03:18:40.625Z] 01666e4c0597: Pull complete [2020-10-21T03:18:47.260Z] aa168da1d23b: Pull complete [2020-10-21T03:18:47.260Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-21T03:18:47.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T03:18:47.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-21T03:18:47.486Z] prd-centos7-docker-4c-2g-7400 does not seem to be running inside a container [2020-10-21T03:18:47.539Z] $ 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-637/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-637 -v /w/workspace/dgexfoundry_device-sdk-go_PR-637:/w/workspace/dgexfoundry_device-sdk-go_PR-637:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-637@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-21T03:18:54.285Z] $ docker top c8188ccb32709a0245edc13d903fc42a5c0cba85a0fb68ffe7a9398edcde4321 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T03:18:54.870Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-21T03:18:55.192Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-21T03:18:55.514Z] + ls /var/log/sa-host [2020-10-21T03:18:55.514Z] + sadf -c /var/log/sa-host/sa05 [2020-10-21T03:18:55.514Z] file_magic: OK [2020-10-21T03:18:55.514Z] HZ: Using current value: 100 [2020-10-21T03:18:55.514Z] file_header: OK [2020-10-21T03:18:55.514Z] 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-21T03:18:55.514Z] Statistics: [2020-10-21T03:18:55.514Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T03:18:55.514Z] File successfully converted to sysstat format version 12.2.1 [2020-10-21T03:18:55.514Z] + sadf -c /var/log/sa-host/sa21 [2020-10-21T03:18:55.514Z] file_magic: OK [2020-10-21T03:18:55.514Z] HZ: Using current value: 100 [2020-10-21T03:18:55.514Z] file_header: OK [2020-10-21T03:18:55.514Z] 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-21T03:18:55.514Z] Statistics: [2020-10-21T03:18:55.514Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T03:18:55.514Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-21T03:18:56.174Z] provisioning config files... [2020-10-21T03:18:56.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-637@tmp/config5898184706015667841tmp [Pipeline] { [Pipeline] echo [2020-10-21T03:18:56.318Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:18:56.655Z] ---> create-netrc.sh [Pipeline] } [2020-10-21T03:18:56.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-21T03:18:56.856Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:18:57.200Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-21T03:18:57.234Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:18:57.590Z] ---> sudo-logs.sh [2020-10-21T03:18:57.591Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-21T03:18:57.626Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:18:57.969Z] ---> job-cost.sh [2020-10-21T03:18:57.969Z] lf-activate-venv: SKIPPING [2020-10-21T03:18:57.969Z] INFO: No Stack... [2020-10-21T03:18:59.363Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-21T03:18:59.938Z] INFO: Archiving Costs [Pipeline] echo [2020-10-21T03:18:59.973Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T03:19:00.311Z] ---> logs-deploy.sh [2020-10-21T03:19:00.312Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-637/1 [2020-10-21T03:19:00.312Z] INFO: archiving workspace using pattern(s): [2020-10-21T03:19:02.234Z] Archives upload complete. [2020-10-21T03:19:02.235Z] INFO: archiving logs to Nexus