Pull request #645 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ee875456f6072c1d2ed9eb5d05418b5d5698d85a+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (6a32d60f11b85dbea5cd81c716f4b606ab20c929) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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-645/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-645/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 f3f382fce060f16c10d6f597981912fab355381a 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-9442 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [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-645 # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ee875456f6072c1d2ed9eb5d05418b5d5698d85a Merge succeeded, producing ee875456f6072c1d2ed9eb5d05418b5d5698d85a Checking out Revision ee875456f6072c1d2ed9eb5d05418b5d5698d85a (PR-645) > 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/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # 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 f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-28T06:32:27.477Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-28T06:32:27.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-28T06:32:28.065Z] ========================================================= [2020-10-28T06:32:28.065Z] EdgeX Global Pipelines Version Info [2020-10-28T06:32:28.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:32:29.627Z] ------------------- [2020-10-28T06:32:29.627Z] stable info: [2020-10-28T06:32:29.627Z] ------------------- [2020-10-28T06:32:29.627Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-28T06:32:29.627Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-28T06:32:29.627Z] Message: update stable to v1.0.148 [2020-10-28T06:32:30.577Z] ------------------- [2020-10-28T06:32:30.577Z] experimental info: [2020-10-28T06:32:30.577Z] ------------------- [2020-10-28T06:32:30.577Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-28T06:32:30.577Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-28T06:32:30.577Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-28T06:32:31.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-28T06:32:31.344Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-28T06:32:31.488Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-28T06:32:31.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-28T06:32:31.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-28T06:32:31.928Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-28T06:32:32.069Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-28T06:32:32.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-28T06:32:32.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-28T06:32:32.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-28T06:32:32.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-28T06:32:32.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-28T06:32:32.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-28T06:32:33.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-28T06:32:33.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T06:32:33.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T06:32:33.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T06:32:33.636Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T06:32:33.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-28T06:32:34.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-28T06:32:34.166Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-28T06:32:34.293Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-28T06:32:34.424Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-28T06:32:34.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-28T06:32:34.682Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-28T06:32:34.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-645 [Pipeline] echo [2020-10-28T06:32:34.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-645 [Pipeline] echo [2020-10-28T06:32:35.078Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-645 [Pipeline] echo [2020-10-28T06:32:35.214Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee875456f6072c1d2ed9eb5d05418b5d5698d85a [Pipeline] echo [2020-10-28T06:32:35.343Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee87545 [Pipeline] echo [2020-10-28T06:32:35.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T06:32:36.257Z] + git log --format=format:%s -1 ee875456f6072c1d2ed9eb5d05418b5d5698d85a [Pipeline] echo [2020-10-28T06:32:36.346Z] GIT_COMMIT: ee875456f6072c1d2ed9eb5d05418b5d5698d85a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-10-28T06:32:36.431Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:32:37.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T06:32:37.709Z] [2020-10-28T06:32:37.709Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:32:38.106Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T06:32:38.106Z] latest: Pulling from edgex-devops/git-semver [2020-10-28T06:32:38.106Z] 31603596830f: Pulling fs layer [2020-10-28T06:32:38.106Z] 2a8b12db71e7: Pulling fs layer [2020-10-28T06:32:38.106Z] 6ca5941a6612: Pulling fs layer [2020-10-28T06:32:38.106Z] ecc8261a40a4: Pulling fs layer [2020-10-28T06:32:38.106Z] ecc8261a40a4: Waiting [2020-10-28T06:32:38.106Z] 2a8b12db71e7: Verifying Checksum [2020-10-28T06:32:38.106Z] 2a8b12db71e7: Download complete [2020-10-28T06:32:38.380Z] 31603596830f: Verifying Checksum [2020-10-28T06:32:38.380Z] 31603596830f: Download complete [2020-10-28T06:32:38.380Z] ecc8261a40a4: Verifying Checksum [2020-10-28T06:32:38.380Z] ecc8261a40a4: Download complete [2020-10-28T06:32:38.646Z] 6ca5941a6612: Verifying Checksum [2020-10-28T06:32:38.646Z] 6ca5941a6612: Download complete [2020-10-28T06:32:38.911Z] 31603596830f: Pull complete [2020-10-28T06:32:38.911Z] 2a8b12db71e7: Pull complete [2020-10-28T06:32:39.862Z] 6ca5941a6612: Pull complete [2020-10-28T06:32:39.862Z] ecc8261a40a4: Pull complete [2020-10-28T06:32:40.124Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-28T06:32:40.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T06:32:40.124Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-28T06:32:40.262Z] prd-centos7-docker-4c-2g-9442 does not seem to be running inside a container [2020-10-28T06:32:40.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-645 -v /w/workspace/dgexfoundry_device-sdk-go_PR-645:/w/workspace/dgexfoundry_device-sdk-go_PR-645:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-645@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-28T06:32:42.558Z] $ docker top 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T06:32:42.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T06:32:42.976Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T06:32:43.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T06:32:43.270Z] $ docker exec 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent [2020-10-28T06:32:43.447Z] SSH_AUTH_SOCK=/tmp/ssh-l1HjX0sdJuio/agent.11 [2020-10-28T06:32:43.447Z] SSH_AGENT_PID=16 [2020-10-28T06:32:43.458Z] Running ssh-add (command line suppressed) [2020-10-28T06:32:43.586Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_5497429427144373915.key (/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_5497429427144373915.key) [2020-10-28T06:32:43.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T06:32:44.061Z] + git tag --points-at HEAD [Pipeline] } [2020-10-28T06:32:44.094Z] $ docker exec --env ******** --env ******** 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent -k [2020-10-28T06:32:44.209Z] unset SSH_AUTH_SOCK; [2020-10-28T06:32:44.210Z] unset SSH_AGENT_PID; [2020-10-28T06:32:44.210Z] echo Agent pid 16 killed; [2020-10-28T06:32:44.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-28T06:32:44.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T06:32:44.491Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T06:32:44.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T06:32:44.664Z] $ docker exec 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent [2020-10-28T06:32:44.835Z] SSH_AUTH_SOCK=/tmp/ssh-DSHozGZyYm4a/agent.45 [2020-10-28T06:32:44.835Z] SSH_AGENT_PID=51 [2020-10-28T06:32:44.847Z] Running ssh-add (command line suppressed) [2020-10-28T06:32:44.970Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_2917122561580310998.key (/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_2917122561580310998.key) [2020-10-28T06:32:45.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T06:32:45.412Z] + git semver init [2020-10-28T06:32:45.412Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T06:32:45.412Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-645/.git [2020-10-28T06:32:45.412Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-645 [2020-10-28T06:32:45.412Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T06:32:45.412Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T06:32:45.412Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T06:32:45.412Z] # $SEMVER_BRANCH = PR-645 [2020-10-28T06:32:45.412Z] # $SEMVER_TEMP = /tmp/semver-071447027 [2020-10-28T06:32:45.412Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-28T06:32:45.990Z] # '/tmp/semver-071447027' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-645/.semver' [2020-10-28T06:32:45.990Z] # -> Force: false [2020-10-28T06:32:45.990Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-645/.semver [Pipeline] } [2020-10-28T06:32:46.011Z] $ docker exec --env ******** --env ******** 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent -k [2020-10-28T06:32:46.125Z] unset SSH_AUTH_SOCK; [2020-10-28T06:32:46.125Z] unset SSH_AGENT_PID; [2020-10-28T06:32:46.125Z] echo Agent pid 51 killed; [2020-10-28T06:32:46.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T06:32:46.756Z] + git semver [Pipeline] } [2020-10-28T06:32:46.793Z] $ docker stop --time=1 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 [2020-10-28T06:32:48.541Z] $ docker rm -f 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T06:32:49.154Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-28T06:32:49.656Z] Stashed 1 file(s) [Pipeline] echo [2020-10-28T06:32:49.678Z] [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-28T06:33:05.493Z] Still waiting to schedule task [2020-10-28T06:33:05.493Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-28T06:33:05.522Z] Still waiting to schedule task [2020-10-28T06:33:05.522Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-28T06:34:57.439Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9443 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [Pipeline] { [Pipeline] ws [2020-10-28T06:34:57.543Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-28T06:35:02.250Z] using credential edgex-jenkins-ssh [2020-10-28T06:35:02.305Z] Cloning the remote Git repository [2020-10-28T06:35:02.363Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-28T06:35:02.471Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-28T06:35:02.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-28T06:35:02.555Z] > git --version # timeout=10 [2020-10-28T06:35:02.570Z] > git --version # 'git version 2.17.1' [2020-10-28T06:35:02.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T06:35:02.623Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T06:35:04.679Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ee875456f6072c1d2ed9eb5d05418b5d5698d85a [2020-10-28T06:35:04.906Z] Merge succeeded, producing ee875456f6072c1d2ed9eb5d05418b5d5698d85a [2020-10-28T06:35:04.907Z] Checking out Revision ee875456f6072c1d2ed9eb5d05418b5d5698d85a (PR-645) [2020-10-28T06:35:04.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-28T06:35:04.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T06:35:04.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-28T06:35:04.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-28T06:35:04.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T06:35:04.155Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T06:35:04.705Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T06:35:04.717Z] > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 [2020-10-28T06:35:04.825Z] > git remote # timeout=10 [2020-10-28T06:35:04.840Z] > git config --get remote.origin.url # timeout=10 [2020-10-28T06:35:04.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T06:35:04.865Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-28T06:35:04.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-28T06:35:04.920Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T06:35:04.939Z] > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 [2020-10-28T06:35:09.083Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-28T06:35:09.143Z] > git --version # timeout=10 [2020-10-28T06:35:09.153Z] > git --version # 'git version 2.17.1' [2020-10-28T06:35:09.172Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T06:35:10.334Z] ========================================================= [2020-10-28T06:35:10.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-28T06:35:10.334Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:35:11.497Z] + 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-28T06:35:12.484Z] Sending build context to Docker daemon 2.348MB [2020-10-28T06:35:12.484Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T06:35:12.484Z] Step 2/8 : FROM ${BASE} [2020-10-28T06:35:12.763Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-28T06:35:12.763Z] b538f80385f9: Pulling fs layer [2020-10-28T06:35:12.763Z] 74f711af9a0d: Pulling fs layer [2020-10-28T06:35:12.763Z] 99f96fe45779: Pulling fs layer [2020-10-28T06:35:12.763Z] 8529a6b9a6be: Pulling fs layer [2020-10-28T06:35:12.763Z] 45590311c82a: Pulling fs layer [2020-10-28T06:35:12.763Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-28T06:35:12.763Z] 209524e5b208: Pulling fs layer [2020-10-28T06:35:12.763Z] 8529a6b9a6be: Waiting [2020-10-28T06:35:12.763Z] 45590311c82a: Waiting [2020-10-28T06:35:12.763Z] 69ca0ff8b7b3: Waiting [2020-10-28T06:35:12.763Z] 209524e5b208: Waiting [2020-10-28T06:35:12.763Z] 99f96fe45779: Verifying Checksum [2020-10-28T06:35:12.763Z] 99f96fe45779: Download complete [2020-10-28T06:35:12.763Z] 74f711af9a0d: Download complete [2020-10-28T06:35:12.763Z] 45590311c82a: Verifying Checksum [2020-10-28T06:35:12.764Z] 45590311c82a: Download complete [2020-10-28T06:35:12.764Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-28T06:35:12.764Z] 69ca0ff8b7b3: Download complete [2020-10-28T06:35:12.764Z] b538f80385f9: Verifying Checksum [2020-10-28T06:35:12.764Z] b538f80385f9: Download complete [2020-10-28T06:35:13.747Z] b538f80385f9: Pull complete [2020-10-28T06:35:14.028Z] 74f711af9a0d: Pull complete [2020-10-28T06:35:14.631Z] 99f96fe45779: Pull complete [2020-10-28T06:35:15.230Z] 209524e5b208: Verifying Checksum [2020-10-28T06:35:15.230Z] 209524e5b208: Download complete [2020-10-28T06:35:16.661Z] 8529a6b9a6be: Verifying Checksum [2020-10-28T06:35:16.661Z] 8529a6b9a6be: Download complete [2020-10-28T06:35:26.840Z] 8529a6b9a6be: Pull complete [2020-10-28T06:35:27.435Z] 45590311c82a: Pull complete [2020-10-28T06:35:27.709Z] 69ca0ff8b7b3: Pull complete [2020-10-28T06:35:31.102Z] 209524e5b208: Pull complete [2020-10-28T06:35:31.376Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-28T06:35:31.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-28T06:35:31.376Z] ---> 5bddaf1c2fca [2020-10-28T06:35:31.376Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-28T06:35:34.749Z] ---> Running in 3ae58d1c91bc [2020-10-28T06:35:35.022Z] Removing intermediate container 3ae58d1c91bc [2020-10-28T06:35:35.022Z] ---> c83f8244ab0e [2020-10-28T06:35:35.022Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T06:35:35.623Z] ---> Running in 5430a2aba299 [2020-10-28T06:35:39.930Z] Removing intermediate container 5430a2aba299 [2020-10-28T06:35:39.930Z] ---> 21d653945e56 [2020-10-28T06:35:39.930Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-28T06:35:40.206Z] ---> Running in 7f8966e98664 [2020-10-28T06:35:41.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T06:35:42.619Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T06:35:43.209Z] OK: 142 MiB in 39 packages [2020-10-28T06:35:45.185Z] Removing intermediate container 7f8966e98664 [2020-10-28T06:35:45.185Z] ---> 1cd2b4586d50 [2020-10-28T06:35:45.185Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-28T06:35:46.171Z] ---> Running in dd879b5bc7c6 [2020-10-28T06:35:47.153Z] Removing intermediate container dd879b5bc7c6 [2020-10-28T06:35:47.153Z] ---> d9b7d1842241 [2020-10-28T06:35:47.153Z] Step 7/8 : COPY . . [2020-10-28T06:35:49.132Z] ---> 26c6d039833f [2020-10-28T06:35:49.132Z] Step 8/8 : RUN go mod download [2020-10-28T06:35:49.728Z] ---> Running in 6ccbe397655c [2020-10-28T06:35:52.746Z] Running on prd-centos7-docker-4c-2g-9444 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [Pipeline] { [Pipeline] ws [2020-10-28T06:35:52.839Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-28T06:35:56.192Z] using credential edgex-jenkins-ssh [2020-10-28T06:35:56.248Z] Cloning the remote Git repository [2020-10-28T06:35:56.276Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-28T06:35:56.345Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-28T06:35:56.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-28T06:35:56.401Z] > git --version # timeout=10 [2020-10-28T06:35:56.410Z] > git --version # 'git version 2.16.5' [2020-10-28T06:35:56.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T06:35:56.442Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T06:35:57.579Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ee875456f6072c1d2ed9eb5d05418b5d5698d85a [2020-10-28T06:35:57.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-28T06:35:57.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T06:35:57.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-28T06:35:57.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-28T06:35:57.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T06:35:57.154Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T06:35:57.588Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T06:35:57.594Z] > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 [2020-10-28T06:35:57.643Z] > git remote # timeout=10 [2020-10-28T06:35:57.647Z] > git config --get remote.origin.url # timeout=10 [2020-10-28T06:35:57.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T06:35:57.656Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-28T06:35:57.671Z] Merge succeeded, producing ee875456f6072c1d2ed9eb5d05418b5d5698d85a [2020-10-28T06:35:57.672Z] Checking out Revision ee875456f6072c1d2ed9eb5d05418b5d5698d85a (PR-645) [2020-10-28T06:35:57.666Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-28T06:35:57.675Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T06:35:57.679Z] > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 [2020-10-28T06:36:01.476Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-28T06:36:01.509Z] > git --version # timeout=10 [2020-10-28T06:36:01.514Z] > git --version # 'git version 2.16.5' [2020-10-28T06:36:01.521Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T06:36:02.496Z] ========================================================= [2020-10-28T06:36:02.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-28T06:36:02.496Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:36:03.187Z] + 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-28T06:36:03.773Z] Sending build context to Docker daemon 2.345MB [2020-10-28T06:36:03.773Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T06:36:03.773Z] Step 2/8 : FROM ${BASE} [2020-10-28T06:36:03.773Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-28T06:36:03.773Z] df20fa9351a1: Pulling fs layer [2020-10-28T06:36:03.773Z] ed8968b2872e: Pulling fs layer [2020-10-28T06:36:03.773Z] a92cc7c5fd73: Pulling fs layer [2020-10-28T06:36:03.773Z] e871e8e8d7a9: Pulling fs layer [2020-10-28T06:36:03.773Z] e73272ec9a57: Pulling fs layer [2020-10-28T06:36:03.773Z] 1e910a182e73: Pulling fs layer [2020-10-28T06:36:03.773Z] 4e634b169226: Pulling fs layer [2020-10-28T06:36:03.773Z] e73272ec9a57: Waiting [2020-10-28T06:36:03.773Z] 1e910a182e73: Waiting [2020-10-28T06:36:03.773Z] 4e634b169226: Waiting [2020-10-28T06:36:03.773Z] e871e8e8d7a9: Waiting [2020-10-28T06:36:03.773Z] a92cc7c5fd73: Verifying Checksum [2020-10-28T06:36:03.773Z] a92cc7c5fd73: Download complete [2020-10-28T06:36:03.773Z] ed8968b2872e: Verifying Checksum [2020-10-28T06:36:03.773Z] ed8968b2872e: Download complete [2020-10-28T06:36:03.773Z] e73272ec9a57: Verifying Checksum [2020-10-28T06:36:03.773Z] e73272ec9a57: Download complete [2020-10-28T06:36:03.773Z] 1e910a182e73: Verifying Checksum [2020-10-28T06:36:03.773Z] 1e910a182e73: Download complete [2020-10-28T06:36:03.773Z] df20fa9351a1: Verifying Checksum [2020-10-28T06:36:03.773Z] df20fa9351a1: Download complete [2020-10-28T06:36:04.044Z] df20fa9351a1: Pull complete [2020-10-28T06:36:04.310Z] ed8968b2872e: Pull complete [2020-10-28T06:36:04.574Z] a92cc7c5fd73: Pull complete [2020-10-28T06:36:05.975Z] 4e634b169226: Verifying Checksum [2020-10-28T06:36:05.975Z] 4e634b169226: Download complete [2020-10-28T06:36:06.238Z] e871e8e8d7a9: Verifying Checksum [2020-10-28T06:36:06.238Z] e871e8e8d7a9: Download complete [2020-10-28T06:36:11.577Z] e871e8e8d7a9: Pull complete [2020-10-28T06:36:11.577Z] e73272ec9a57: Pull complete [2020-10-28T06:36:11.577Z] 1e910a182e73: Pull complete [2020-10-28T06:36:16.571Z] Removing intermediate container 6ccbe397655c [2020-10-28T06:36:16.571Z] ---> ddf3d96994a1 [2020-10-28T06:36:16.571Z] Successfully built ddf3d96994a1 [2020-10-28T06:36:16.571Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:36:17.020Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T06:36:17.020Z] . [Pipeline] withDockerContainer [2020-10-28T06:36:17.321Z] prd-ubuntu18.04-docker-arm64-4c-16g-9443 does not seem to be running inside a container [2020-10-28T06:36:17.398Z] $ 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-arm64 cat [2020-10-28T06:36:19.752Z] 4e634b169226: Pull complete [2020-10-28T06:36:19.752Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-28T06:36:19.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-28T06:36:19.752Z] ---> f7629b54cfaa [2020-10-28T06:36:19.752Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-28T06:36:19.752Z] ---> Running in 71b73970842c [2020-10-28T06:36:19.752Z] Removing intermediate container 71b73970842c [2020-10-28T06:36:19.752Z] ---> a53ff16b116f [2020-10-28T06:36:19.752Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T06:36:19.752Z] ---> Running in 69ef9e241920 [2020-10-28T06:36:19.783Z] $ docker top 6739552c631bbda62182c05efa1a81a858c9a97a0911d53338c83fd635d49dd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T06:36:21.154Z] Removing intermediate container 69ef9e241920 [2020-10-28T06:36:21.154Z] ---> a325d50a29c8 [2020-10-28T06:36:21.154Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-28T06:36:21.154Z] ---> Running in bcd97d3a6373 [2020-10-28T06:36:21.317Z] + go version [2020-10-28T06:36:21.317Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-28T06:36:21.345Z] $ docker stop --time=1 6739552c631bbda62182c05efa1a81a858c9a97a0911d53338c83fd635d49dd0 [2020-10-28T06:36:21.735Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T06:36:22.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T06:36:22.894Z] OK: 166 MiB in 39 packages [2020-10-28T06:36:23.471Z] Removing intermediate container bcd97d3a6373 [2020-10-28T06:36:23.471Z] ---> 753fb880ab6a [2020-10-28T06:36:23.471Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-28T06:36:23.471Z] ---> Running in 5c0858e3b5e1 [2020-10-28T06:36:23.672Z] $ docker rm -f 6739552c631bbda62182c05efa1a81a858c9a97a0911d53338c83fd635d49dd0 [2020-10-28T06:36:23.734Z] Removing intermediate container 5c0858e3b5e1 [2020-10-28T06:36:23.734Z] ---> 905941668689 [2020-10-28T06:36:23.734Z] Step 7/8 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:36:25.082Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T06:36:25.082Z] . [Pipeline] withDockerContainer [2020-10-28T06:36:25.139Z] ---> 4fbd0555a01e [2020-10-28T06:36:25.139Z] Step 8/8 : RUN go mod download [2020-10-28T06:36:25.139Z] ---> Running in bcfd9bd8facd [2020-10-28T06:36:25.377Z] prd-ubuntu18.04-docker-arm64-4c-16g-9443 does not seem to be running inside a container [2020-10-28T06:36:25.448Z] $ 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-arm64 cat [2020-10-28T06:36:28.181Z] $ docker top 830e16b6c4527177b7c8b594d1d30e224adbeedd0829e05250b70e415c650e5b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T06:36:29.671Z] + make test [2020-10-28T06:36:29.671Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-28T06:36:43.322Z] Removing intermediate container bcfd9bd8facd [2020-10-28T06:36:43.323Z] ---> c2801762beff [2020-10-28T06:36:43.323Z] Successfully built c2801762beff [2020-10-28T06:36:43.323Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:36:43.848Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T06:36:43.848Z] . [Pipeline] withDockerContainer [2020-10-28T06:36:44.003Z] prd-centos7-docker-4c-2g-9444 does not seem to be running inside a container [2020-10-28T06:36:44.059Z] $ 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-28T06:36:44.884Z] $ docker top f1c518ab28c9b3df296b25f456d9487f82359d6580f49dedbf9f01fc01e4e2dc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T06:36:45.462Z] + go version [2020-10-28T06:36:45.462Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-28T06:36:45.494Z] $ docker stop --time=1 f1c518ab28c9b3df296b25f456d9487f82359d6580f49dedbf9f01fc01e4e2dc [2020-10-28T06:36:46.840Z] $ docker rm -f f1c518ab28c9b3df296b25f456d9487f82359d6580f49dedbf9f01fc01e4e2dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:36:47.947Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T06:36:47.947Z] . [Pipeline] withDockerContainer [2020-10-28T06:36:48.068Z] prd-centos7-docker-4c-2g-9444 does not seem to be running inside a container [2020-10-28T06:36:48.120Z] $ 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-28T06:36:49.170Z] $ docker top ea61022c4af94474addfdeaa1883fba5395aa868f7891bd494445c42d70e8f64 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T06:36:49.708Z] + make test [2020-10-28T06:36:49.708Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-28T06:36:51.850Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-28T06:36:56.363Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-28T06:37:11.410Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-28T06:37:11.410Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-28T06:37:11.410Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-28T06:37:11.410Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 21.4% of statements [2020-10-28T06:37:13.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.451s coverage: 97.1% of statements [2020-10-28T06:37:30.896Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-28T06:37:30.896Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-28T06:37:30.896Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-28T06:37:30.896Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.4% of statements [2020-10-28T06:37:33.540Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.200s coverage: 97.1% of statements [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.215s coverage: 42.6% of statements [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 68.9% of statements [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.474s coverage: 68.9% of statements [2020-10-28T06:37:45.559Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements [2020-10-28T06:37:45.559Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-28T06:37:45.559Z] GO111MODULE=on go vet ./... [2020-10-28T06:37:52.237Z] gofmt -l . [2020-10-28T06:37:52.237Z] [ "`gofmt -l .`" = "" ] [2020-10-28T06:37:52.237Z] ./bin/test-attribution-txt.sh [2020-10-28T06:37:52.506Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-28T06:37:53.112Z] Stashed 1 file(s) [Pipeline] } [2020-10-28T06:37:53.133Z] $ docker stop --time=1 ea61022c4af94474addfdeaa1883fba5395aa868f7891bd494445c42d70e8f64 [2020-10-28T06:37:55.033Z] $ docker rm -f ea61022c4af94474addfdeaa1883fba5395aa868f7891bd494445c42d70e8f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-28T06:37:58.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T06:37:58.536Z] + ls -al . [2020-10-28T06:37:58.536Z] total 208 [2020-10-28T06:37:58.536Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 06:37 . [2020-10-28T06:37:58.536Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 06:35 .. [2020-10-28T06:37:58.536Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 06:35 bin [2020-10-28T06:37:58.536Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 28 06:37 coverage.out [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 28 06:35 Dockerfile.build [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 06:35 .dockerignore [2020-10-28T06:37:58.536Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 28 06:35 example [2020-10-28T06:37:58.536Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 06:36 .git [2020-10-28T06:37:58.536Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 06:35 .github [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 28 06:35 .gitignore [2020-10-28T06:37:58.536Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 28 06:37 go.mod [2020-10-28T06:37:58.536Z] -rw-r--r--. 1 jenkins jenkins 13739 Oct 28 06:37 go.sum [2020-10-28T06:37:58.536Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 28 06:35 internal [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 28 06:35 Jenkinsfile [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 06:35 LICENSE [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 28 06:35 Makefile [2020-10-28T06:37:58.536Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 28 06:35 openapi [2020-10-28T06:37:58.536Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 06:35 pkg [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 28 06:35 README.md [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 28 06:35 RELEASE-NOTES.txt [2020-10-28T06:37:58.536Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 06:35 snap [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 06:32 VERSION [2020-10-28T06:37:58.536Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 06:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:37:58.887Z] + 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=ee875456f6072c1d2ed9eb5d05418b5d5698d85a --label arch=amd64 --label version=0.0.0 . [2020-10-28T06:37:59.151Z] Sending build context to Docker daemon 2.473MB [2020-10-28T06:37:59.152Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-28T06:37:59.152Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-28T06:37:59.152Z] ---> c2801762beff [2020-10-28T06:37:59.152Z] Step 3/24 : ARG MAKE='make build' [2020-10-28T06:37:59.732Z] ---> Running in 0f8a7e2e7649 [2020-10-28T06:37:59.732Z] Removing intermediate container 0f8a7e2e7649 [2020-10-28T06:37:59.732Z] ---> 126ecf037c48 [2020-10-28T06:37:59.732Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-28T06:37:59.996Z] ---> Running in d4f87c12b97b [2020-10-28T06:37:59.996Z] Removing intermediate container d4f87c12b97b [2020-10-28T06:37:59.996Z] ---> 7ead1583b877 [2020-10-28T06:37:59.996Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-28T06:38:00.261Z] ---> Running in 8b5adb339abe [2020-10-28T06:38:00.261Z] Removing intermediate container 8b5adb339abe [2020-10-28T06:38:00.261Z] ---> 691e99725cd8 [2020-10-28T06:38:00.261Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T06:38:00.261Z] ---> Running in c60c83c2ad02 [2020-10-28T06:38:01.210Z] Removing intermediate container c60c83c2ad02 [2020-10-28T06:38:01.210Z] ---> 8f3425928bfd [2020-10-28T06:38:01.210Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-28T06:38:01.210Z] ---> Running in b21cb44604b3 [2020-10-28T06:38:01.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T06:38:02.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T06:38:03.320Z] OK: 166 MiB in 39 packages [2020-10-28T06:38:03.582Z] Removing intermediate container b21cb44604b3 [2020-10-28T06:38:03.582Z] ---> 44afd1572265 [2020-10-28T06:38:03.582Z] Step 8/24 : COPY . . [2020-10-28T06:38:04.532Z] ---> e6c65c905d31 [2020-10-28T06:38:04.532Z] Step 9/24 : RUN ${MAKE} [2020-10-28T06:38:04.532Z] ---> Running in af086fd63bb4 [2020-10-28T06:38:05.114Z] 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-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements [2020-10-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.622s coverage: 42.6% of statements [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.755s coverage: 68.9% of statements [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.193s coverage: 52.6% of statements [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.903s coverage: 68.9% of statements [2020-10-28T06:38:05.929Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements [2020-10-28T06:38:05.929Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-28T06:38:05.929Z] GO111MODULE=on go vet ./... [2020-10-28T06:38:13.353Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-28T06:38:14.747Z] Removing intermediate container af086fd63bb4 [2020-10-28T06:38:14.747Z] ---> 522e1a65ab6c [2020-10-28T06:38:14.747Z] Step 10/24 : FROM scratch [2020-10-28T06:38:14.747Z] ---> [2020-10-28T06:38:14.747Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-28T06:38:15.012Z] ---> Running in 6b39c27fd3e4 [2020-10-28T06:38:15.012Z] Removing intermediate container 6b39c27fd3e4 [2020-10-28T06:38:15.012Z] ---> e1a18fa2ad0d [2020-10-28T06:38:15.012Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-28T06:38:15.012Z] ---> Running in 72045d9f7352 [2020-10-28T06:38:15.281Z] Removing intermediate container 72045d9f7352 [2020-10-28T06:38:15.281Z] ---> 667b364d5493 [2020-10-28T06:38:15.281Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-28T06:38:15.281Z] ---> Running in 3aa266479633 [2020-10-28T06:38:15.544Z] Removing intermediate container 3aa266479633 [2020-10-28T06:38:15.544Z] ---> 40e07fca2151 [2020-10-28T06:38:15.544Z] Step 14/24 : WORKDIR / [2020-10-28T06:38:15.544Z] ---> Running in cf079ee03843 [2020-10-28T06:38:15.819Z] Removing intermediate container cf079ee03843 [2020-10-28T06:38:15.819Z] ---> c81edc62d979 [2020-10-28T06:38:15.819Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-28T06:38:16.091Z] ---> a1c8d411b198 [2020-10-28T06:38:16.091Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-28T06:38:16.375Z] ---> 3350e815d7cf [2020-10-28T06:38:16.375Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-28T06:38:16.645Z] ---> 69641a74f755 [2020-10-28T06:38:16.645Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-28T06:38:16.909Z] ---> f77f1b886f1d [2020-10-28T06:38:16.909Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-28T06:38:17.181Z] ---> f58586a5c1f7 [2020-10-28T06:38:17.181Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-28T06:38:17.181Z] ---> Running in dd8c5e755aa0 [2020-10-28T06:38:17.458Z] Removing intermediate container dd8c5e755aa0 [2020-10-28T06:38:17.458Z] ---> 01271b253b5c [2020-10-28T06:38:17.458Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T06:38:17.458Z] ---> Running in 87aab5bedca8 [2020-10-28T06:38:17.748Z] Removing intermediate container 87aab5bedca8 [2020-10-28T06:38:17.748Z] ---> cab630541f88 [2020-10-28T06:38:17.748Z] Step 22/24 : LABEL arch=amd64 [2020-10-28T06:38:17.748Z] ---> Running in 9ae1a7174a02 [2020-10-28T06:38:17.748Z] Removing intermediate container 9ae1a7174a02 [2020-10-28T06:38:17.748Z] ---> 542ba7f83aaa [2020-10-28T06:38:17.748Z] Step 23/24 : LABEL git_sha=ee875456f6072c1d2ed9eb5d05418b5d5698d85a [2020-10-28T06:38:18.018Z] ---> Running in 0fd88244688d [2020-10-28T06:38:18.293Z] Removing intermediate container 0fd88244688d [2020-10-28T06:38:18.293Z] ---> 90742a795f3e [2020-10-28T06:38:18.293Z] Step 24/24 : LABEL version=0.0.0 [2020-10-28T06:38:18.293Z] ---> Running in 615aa134c526 [2020-10-28T06:38:18.573Z] Removing intermediate container 615aa134c526 [2020-10-28T06:38:18.573Z] ---> 0eec3269edab [2020-10-28T06:38:18.574Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T06:38:18.574Z] Successfully built 0eec3269edab [2020-10-28T06:38:18.574Z] 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-28T06:38:32.832Z] gofmt -l . [2020-10-28T06:38:32.832Z] [ "`gofmt -l .`" = "" ] [2020-10-28T06:38:33.478Z] ./bin/test-attribution-txt.sh [2020-10-28T06:38:34.091Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-28T06:38:34.777Z] Warning: overwriting stash ‘coverage-report’ [2020-10-28T06:38:35.771Z] Stashed 1 file(s) [Pipeline] } [2020-10-28T06:38:35.769Z] $ docker stop --time=1 830e16b6c4527177b7c8b594d1d30e224adbeedd0829e05250b70e415c650e5b [2020-10-28T06:38:37.884Z] $ docker rm -f 830e16b6c4527177b7c8b594d1d30e224adbeedd0829e05250b70e415c650e5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T06:38:39.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T06:38:40.065Z] + ls -al . [2020-10-28T06:38:40.065Z] total 244 [2020-10-28T06:38:40.065Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 06:38 . [2020-10-28T06:38:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 .. [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 06:35 .dockerignore [2020-10-28T06:38:40.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 06:35 .git [2020-10-28T06:38:40.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 06:35 .github [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 28 06:35 .gitignore [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 28 06:35 Dockerfile.build [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 28 06:35 Jenkinsfile [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 06:35 LICENSE [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 28 06:35 Makefile [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 28 06:35 README.md [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 28 06:35 RELEASE-NOTES.txt [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 06:32 VERSION [2020-10-28T06:38:40.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 06:35 bin [2020-10-28T06:38:40.065Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 28 06:38 coverage.out [2020-10-28T06:38:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 example [2020-10-28T06:38:40.065Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 28 06:38 go.mod [2020-10-28T06:38:40.065Z] -rw-r--r-- 1 jenkins jenkins 13739 Oct 28 06:38 go.sum [2020-10-28T06:38:40.065Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 06:35 internal [2020-10-28T06:38:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 openapi [2020-10-28T06:38:40.065Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 06:35 pkg [2020-10-28T06:38:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 snap [2020-10-28T06:38:40.065Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 06:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:38:40.478Z] + 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=ee875456f6072c1d2ed9eb5d05418b5d5698d85a --label arch=arm64 --label version=0.0.0 . [2020-10-28T06:38:41.092Z] Sending build context to Docker daemon 2.476MB [2020-10-28T06:38:41.092Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-28T06:38:41.093Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-28T06:38:41.093Z] ---> ddf3d96994a1 [2020-10-28T06:38:41.093Z] Step 3/24 : ARG MAKE='make build' [2020-10-28T06:38:41.372Z] ---> Running in 77c6e7770420 [2020-10-28T06:38:41.650Z] Removing intermediate container 77c6e7770420 [2020-10-28T06:38:41.650Z] ---> e02918f1ba30 [2020-10-28T06:38:41.650Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-28T06:38:41.931Z] ---> Running in e4a339801823 [2020-10-28T06:38:42.217Z] Removing intermediate container e4a339801823 [2020-10-28T06:38:42.217Z] ---> 51cb8e7fcd9a [2020-10-28T06:38:42.217Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-28T06:38:42.494Z] ---> Running in 957f060748e3 [2020-10-28T06:38:43.102Z] Removing intermediate container 957f060748e3 [2020-10-28T06:38:43.102Z] ---> b1be09be6b05 [2020-10-28T06:38:43.102Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T06:38:43.102Z] ---> Running in 581fbc2781c1 [2020-10-28T06:38:45.803Z] Removing intermediate container 581fbc2781c1 [2020-10-28T06:38:45.803Z] ---> 0d2fad1b963b [2020-10-28T06:38:45.803Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-28T06:38:45.803Z] ---> Running in 76ece60f5791 [2020-10-28T06:38:46.806Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T06:38:47.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T06:38:48.430Z] OK: 142 MiB in 39 packages [2020-10-28T06:38:49.419Z] Removing intermediate container 76ece60f5791 [2020-10-28T06:38:49.419Z] ---> 6b8855fe5a4f [2020-10-28T06:38:49.419Z] Step 8/24 : COPY . . [2020-10-28T06:38:50.901Z] ---> 7fa472d77fd2 [2020-10-28T06:38:50.901Z] Step 9/24 : RUN ${MAKE} [2020-10-28T06:38:50.901Z] ---> Running in d08c2e5a85cc [2020-10-28T06:38:52.353Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-28T06:39:19.200Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-28T06:39:19.476Z] Removing intermediate container d08c2e5a85cc [2020-10-28T06:39:19.476Z] ---> 45a56b0c6779 [2020-10-28T06:39:19.476Z] Step 10/24 : FROM scratch [2020-10-28T06:39:19.476Z] ---> [2020-10-28T06:39:19.476Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-28T06:39:19.476Z] ---> Running in cdc277b5f345 [2020-10-28T06:39:20.074Z] Removing intermediate container cdc277b5f345 [2020-10-28T06:39:20.074Z] ---> 86223daf213f [2020-10-28T06:39:20.074Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-28T06:39:20.074Z] ---> Running in 58b8888bba9c [2020-10-28T06:39:20.348Z] Removing intermediate container 58b8888bba9c [2020-10-28T06:39:20.348Z] ---> de1bd2a5e776 [2020-10-28T06:39:20.348Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-28T06:39:20.626Z] ---> Running in e14e6e53983f [2020-10-28T06:39:20.897Z] Removing intermediate container e14e6e53983f [2020-10-28T06:39:20.897Z] ---> c36172fe8b13 [2020-10-28T06:39:20.897Z] Step 14/24 : WORKDIR / [2020-10-28T06:39:21.170Z] ---> Running in 035d26fe5fc2 [2020-10-28T06:39:21.442Z] Removing intermediate container 035d26fe5fc2 [2020-10-28T06:39:21.442Z] ---> 3b4ff04dcdf6 [2020-10-28T06:39:21.442Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-28T06:39:22.873Z] ---> 244678d24da2 [2020-10-28T06:39:22.873Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-28T06:39:23.468Z] ---> 4bcee981e4e1 [2020-10-28T06:39:23.468Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-28T06:39:24.063Z] ---> c4c52dcaeec4 [2020-10-28T06:39:24.063Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-28T06:39:25.042Z] ---> 51d09d7068ac [2020-10-28T06:39:25.042Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-28T06:39:25.634Z] ---> 4d64ae4aea72 [2020-10-28T06:39:25.634Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-28T06:39:25.634Z] ---> Running in 1bd63c612758 [2020-10-28T06:39:26.230Z] Removing intermediate container 1bd63c612758 [2020-10-28T06:39:26.230Z] ---> f03f64bccb78 [2020-10-28T06:39:26.230Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T06:39:26.230Z] ---> Running in ba0ad53b714b [2020-10-28T06:39:26.824Z] Removing intermediate container ba0ad53b714b [2020-10-28T06:39:26.824Z] ---> cb1fbf9ff1d7 [2020-10-28T06:39:26.824Z] Step 22/24 : LABEL arch=arm64 [2020-10-28T06:39:26.824Z] ---> Running in ae178c78219a [2020-10-28T06:39:27.415Z] Removing intermediate container ae178c78219a [2020-10-28T06:39:27.415Z] ---> f501eceddfa4 [2020-10-28T06:39:27.415Z] Step 23/24 : LABEL git_sha=ee875456f6072c1d2ed9eb5d05418b5d5698d85a [2020-10-28T06:39:27.415Z] ---> Running in 6f3f2de7d9ef [2020-10-28T06:39:27.688Z] Removing intermediate container 6f3f2de7d9ef [2020-10-28T06:39:27.688Z] ---> c6a4e851381a [2020-10-28T06:39:27.688Z] Step 24/24 : LABEL version=0.0.0 [2020-10-28T06:39:27.960Z] ---> Running in 0313a9b131aa [2020-10-28T06:39:28.551Z] Removing intermediate container 0313a9b131aa [2020-10-28T06:39:28.551Z] ---> c51d93466ca8 [2020-10-28T06:39:28.551Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T06:39:28.551Z] Successfully built c51d93466ca8 [2020-10-28T06:39:28.551Z] 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-28T06:39:31.498Z] provisioning config files... [2020-10-28T06:39:31.512Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/config3770911235981055691tmp [Pipeline] { [Pipeline] sh [2020-10-28T06:39:31.979Z] + set +x [2020-10-28T06:39:31.979Z] + curl -s https://codecov.io/bash [2020-10-28T06:39:31.979Z] + bash -s -- [2020-10-28T06:39:32.552Z] [2020-10-28T06:39:32.552Z] _____ _ [2020-10-28T06:39:32.552Z] / ____| | | [2020-10-28T06:39:32.552Z] | | ___ __| | ___ ___ _____ __ [2020-10-28T06:39:32.552Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-28T06:39:32.552Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-28T06:39:32.552Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-28T06:39:32.552Z] Bash-20201009-048fee3 [2020-10-28T06:39:32.552Z] [2020-10-28T06:39:32.552Z] [2020-10-28T06:39:32.552Z] ==> Jenkins CI detected. [2020-10-28T06:39:32.552Z] project root: . [2020-10-28T06:39:32.552Z] --> token set from env [2020-10-28T06:39:32.552Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-28T06:39:32.552Z] ==> Running gcov in . (disable via -X gcov) [2020-10-28T06:39:32.552Z] ==> Python coveragepy not found [2020-10-28T06:39:32.552Z] ==> Searching for coverage reports in: [2020-10-28T06:39:32.552Z] + . [2020-10-28T06:39:32.552Z] -> Found 1 reports [2020-10-28T06:39:32.552Z] ==> Detecting git/mercurial file structure [2020-10-28T06:39:32.552Z] ==> Reading reports [2020-10-28T06:39:32.552Z] + ./coverage.out bytes=127611 [2020-10-28T06:39:32.552Z] ==> Appending adjustments [2020-10-28T06:39:32.552Z] https://docs.codecov.io/docs/fixing-reports [2020-10-28T06:39:33.126Z] + Found adjustments [2020-10-28T06:39:33.126Z] ==> Gzipping contents [2020-10-28T06:39:33.126Z] ==> Uploading reports [2020-10-28T06:39:33.126Z] url: https://codecov.io [2020-10-28T06:39:33.126Z] query: branch=PR-645&commit=ee875456f6072c1d2ed9eb5d05418b5d5698d85a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-645%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=645&job=&cmd_args= [2020-10-28T06:39:33.126Z] -> Pinging Codecov [2020-10-28T06:39:33.126Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-645&commit=ee875456f6072c1d2ed9eb5d05418b5d5698d85a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-645%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=645&job=&cmd_args= [2020-10-28T06:39:33.388Z] -> Uploading to [2020-10-28T06:39:33.388Z] [2020-10-28T06:39:33.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-28T06:39:33.388Z] Dload Upload Total Spent Left Speed [2020-10-28T06:39:33.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-28T06:39:33.388Z] X> Failed to upload [2020-10-28T06:39:33.388Z] ==> Uploading to Codecov [2020-10-28T06:39:33.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-28T06:39:33.388Z] Dload Upload Total Spent Left Speed [2020-10-28T06:39:33.961Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20949 100 110 100 20839 227 43114 --:--:-- --:--:-- --:--:-- 43144 [2020-10-28T06:39:33.961Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ee875456f6072c1d2ed9eb5d05418b5d5698d85a [Pipeline] } [2020-10-28T06:39:33.984Z] 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-28T06:39:38.011Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:39:38.611Z] ---> package-listing.sh [2020-10-28T06:39:38.611Z] ++ facter osfamily [2020-10-28T06:39:38.611Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-28T06:39:38.611Z] + OS_FAMILY=redhat [2020-10-28T06:39:38.611Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-645 [2020-10-28T06:39:38.611Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-28T06:39:38.611Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-28T06:39:38.611Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-28T06:39:38.611Z] + PACKAGES=/tmp/packages_start.txt [2020-10-28T06:39:38.611Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-645 ']' [2020-10-28T06:39:38.611Z] + PACKAGES=/tmp/packages_end.txt [2020-10-28T06:39:38.611Z] + case "${OS_FAMILY}" in [2020-10-28T06:39:38.611Z] + rpm -qa [2020-10-28T06:39:38.611Z] + sort [2020-10-28T06:39:42.858Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-28T06:39:42.858Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-28T06:39:42.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-28T06:39:42.858Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-645 ']' [2020-10-28T06:39:42.858Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-645/archives/ [2020-10-28T06:39:42.858Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-645/archives/ [Pipeline] echo [2020-10-28T06:39:42.888Z] 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-645/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-28T06:39:43.200Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:39:43.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T06:39:43.538Z] [2020-10-28T06:39:43.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-28T06:39:43.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T06:39:43.965Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-28T06:39:43.965Z] df20fa9351a1: Pulling fs layer [2020-10-28T06:39:43.965Z] 36b3adc4ff6f: Pulling fs layer [2020-10-28T06:39:43.965Z] 8ad3a11d3b57: Pulling fs layer [2020-10-28T06:39:43.965Z] 46f8f816bc3b: Pulling fs layer [2020-10-28T06:39:43.965Z] 93b61091891f: Pulling fs layer [2020-10-28T06:39:43.965Z] 93b9cdb0e59b: Pulling fs layer [2020-10-28T06:39:43.965Z] 5e14af77c1be: Pulling fs layer [2020-10-28T06:39:43.965Z] 01666e4c0597: Pulling fs layer [2020-10-28T06:39:43.965Z] aa168da1d23b: Pulling fs layer [2020-10-28T06:39:43.965Z] 46f8f816bc3b: Waiting [2020-10-28T06:39:43.965Z] 93b9cdb0e59b: Waiting [2020-10-28T06:39:43.965Z] 5e14af77c1be: Waiting [2020-10-28T06:39:43.965Z] 93b61091891f: Waiting [2020-10-28T06:39:43.965Z] 01666e4c0597: Waiting [2020-10-28T06:39:43.965Z] aa168da1d23b: Waiting [2020-10-28T06:39:43.965Z] 36b3adc4ff6f: Verifying Checksum [2020-10-28T06:39:43.965Z] 36b3adc4ff6f: Download complete [2020-10-28T06:39:43.965Z] 46f8f816bc3b: Verifying Checksum [2020-10-28T06:39:43.965Z] 46f8f816bc3b: Download complete [2020-10-28T06:39:43.965Z] df20fa9351a1: Verifying Checksum [2020-10-28T06:39:43.965Z] df20fa9351a1: Download complete [2020-10-28T06:39:44.227Z] 93b9cdb0e59b: Verifying Checksum [2020-10-28T06:39:44.227Z] 93b9cdb0e59b: Download complete [2020-10-28T06:39:44.227Z] 93b61091891f: Download complete [2020-10-28T06:39:44.227Z] 5e14af77c1be: Verifying Checksum [2020-10-28T06:39:44.227Z] 5e14af77c1be: Download complete [2020-10-28T06:39:44.227Z] 01666e4c0597: Verifying Checksum [2020-10-28T06:39:44.227Z] 01666e4c0597: Download complete [2020-10-28T06:39:44.489Z] 8ad3a11d3b57: Verifying Checksum [2020-10-28T06:39:44.489Z] 8ad3a11d3b57: Download complete [2020-10-28T06:39:44.489Z] df20fa9351a1: Pull complete [2020-10-28T06:39:44.752Z] 36b3adc4ff6f: Pull complete [2020-10-28T06:39:45.719Z] 8ad3a11d3b57: Pull complete [2020-10-28T06:39:45.719Z] 46f8f816bc3b: Pull complete [2020-10-28T06:39:45.982Z] 93b61091891f: Pull complete [2020-10-28T06:39:46.246Z] aa168da1d23b: Verifying Checksum [2020-10-28T06:39:46.246Z] aa168da1d23b: Download complete [2020-10-28T06:39:46.246Z] 93b9cdb0e59b: Pull complete [2020-10-28T06:39:46.246Z] 5e14af77c1be: Pull complete [2020-10-28T06:39:46.510Z] 01666e4c0597: Pull complete [2020-10-28T06:39:53.139Z] aa168da1d23b: Pull complete [2020-10-28T06:39:53.139Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-28T06:39:53.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T06:39:53.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-28T06:39:53.391Z] prd-centos7-docker-4c-2g-9442 does not seem to be running inside a container [2020-10-28T06:39:53.445Z] $ 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-645/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-645 -v /w/workspace/dgexfoundry_device-sdk-go_PR-645:/w/workspace/dgexfoundry_device-sdk-go_PR-645:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-645@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-28T06:40:00.912Z] $ docker top 723c30c93f91077c3aec7e8509b92360fd8bd5ca12ce4469dd8119cb23a65acb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T06:40:01.575Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-28T06:40:01.897Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-28T06:40:02.219Z] + ls /var/log/sa-host [2020-10-28T06:40:02.219Z] + sadf -c /var/log/sa-host/sa05 [2020-10-28T06:40:02.219Z] file_magic: OK [2020-10-28T06:40:02.219Z] HZ: Using current value: 100 [2020-10-28T06:40:02.219Z] file_header: OK [2020-10-28T06:40:02.220Z] 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-28T06:40:02.220Z] Statistics: [2020-10-28T06:40:02.220Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T06:40:02.220Z] File successfully converted to sysstat format version 12.2.1 [2020-10-28T06:40:02.220Z] + sadf -c /var/log/sa-host/sa28 [2020-10-28T06:40:02.220Z] file_magic: OK [2020-10-28T06:40:02.220Z] HZ: Using current value: 100 [2020-10-28T06:40:02.220Z] file_header: OK [2020-10-28T06:40:02.220Z] 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-28T06:40:02.220Z] Statistics: [2020-10-28T06:40:02.220Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T06:40:02.220Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-28T06:40:02.887Z] provisioning config files... [2020-10-28T06:40:02.904Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/config7916873063278733796tmp [Pipeline] { [Pipeline] echo [2020-10-28T06:40:03.033Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:40:03.364Z] ---> create-netrc.sh [Pipeline] } [2020-10-28T06:40:03.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-28T06:40:03.541Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:40:03.875Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-28T06:40:03.902Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:40:04.235Z] ---> sudo-logs.sh [2020-10-28T06:40:04.235Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-28T06:40:04.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:40:04.609Z] ---> job-cost.sh [2020-10-28T06:40:04.609Z] lf-activate-venv: SKIPPING [2020-10-28T06:40:04.609Z] INFO: No Stack... [2020-10-28T06:40:05.559Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-28T06:40:06.135Z] INFO: Archiving Costs [Pipeline] echo [2020-10-28T06:40:06.167Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T06:40:06.493Z] ---> logs-deploy.sh [2020-10-28T06:40:06.493Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-645/1 [2020-10-28T06:40:06.493Z] INFO: archiving workspace using pattern(s): [2020-10-28T06:40:09.046Z] Archives upload complete. [2020-10-28T06:40:09.046Z] INFO: archiving logs to Nexus [2020-10-28T06:40:09.992Z] ---> uname -a: [2020-10-28T06:40:09.992Z] Linux prd-centos7-docker-4c-2g-9442.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-10-28T06:40:09.992Z] [2020-10-28T06:40:09.992Z]