Pull request #634 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dffcd411d75bb1b49b88adcef65a33257b8cfd7e+6cec193abf44cabffe02bbcaff9748adb3f719d5 (b3c24721ee717935f30df74990f8470273d462b6) 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-634/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-634/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6879 in /w/workspace/dgexfoundry_device-sdk-go_PR-634 [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-634 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit dffcd411d75bb1b49b88adcef65a33257b8cfd7e Merge succeeded, producing dffcd411d75bb1b49b88adcef65a33257b8cfd7e Checking out Revision dffcd411d75bb1b49b88adcef65a33257b8cfd7e (PR-634) > git config core.sparsecheckout # timeout=10 > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # 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 dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 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-20T05:46:24.087Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-20T05:46:24.431Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-20T05:46:24.666Z] ========================================================= [2020-10-20T05:46:24.667Z] EdgeX Global Pipelines Version Info [2020-10-20T05:46:24.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:46:26.173Z] ------------------- [2020-10-20T05:46:26.173Z] stable info: [2020-10-20T05:46:26.173Z] ------------------- [2020-10-20T05:46:26.173Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-20T05:46:26.173Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-20T05:46:26.173Z] Message: update stable to v1.0.144 [2020-10-20T05:46:27.120Z] ------------------- [2020-10-20T05:46:27.120Z] experimental info: [2020-10-20T05:46:27.120Z] ------------------- [2020-10-20T05:46:27.120Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-20T05:46:27.120Z] Commit SHA: c640cc8e0f176a0a86b153ebfcb15f3e2f33f7bd [2020-10-20T05:46:27.120Z] Message: update experimental to v1.0.145 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-20T05:46:27.608Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-20T05:46:27.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-20T05:46:27.885Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-20T05:46:28.025Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-20T05:46:28.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-20T05:46:28.282Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-20T05:46:28.426Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-20T05:46:28.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-20T05:46:28.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-20T05:46:28.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-20T05:46:28.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-20T05:46:29.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-20T05:46:29.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-20T05:46:29.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-20T05:46:29.452Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-20T05:46:29.617Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T05:46:29.743Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T05:46:29.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T05:46:29.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-20T05:46:30.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-20T05:46:30.231Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-20T05:46:30.367Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-20T05:46:30.492Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-20T05:46:30.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-20T05:46:30.740Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-20T05:46:30.883Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-634 [Pipeline] echo [2020-10-20T05:46:31.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-634 [Pipeline] echo [2020-10-20T05:46:31.190Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-634 [Pipeline] echo [2020-10-20T05:46:31.319Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dffcd411d75bb1b49b88adcef65a33257b8cfd7e [Pipeline] echo [2020-10-20T05:46:31.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dffcd41 [Pipeline] echo [2020-10-20T05:46:31.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-20T05:46:32.339Z] + git log --format=format:%s -1 dffcd411d75bb1b49b88adcef65a33257b8cfd7e [Pipeline] echo [2020-10-20T05:46:32.415Z] GIT_COMMIT: dffcd411d75bb1b49b88adcef65a33257b8cfd7e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-10-20T05:46:32.492Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:46:33.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T05:46:33.697Z] [2020-10-20T05:46:33.697Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:46:34.107Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T05:46:34.107Z] latest: Pulling from edgex-devops/git-semver [2020-10-20T05:46:34.107Z] 31603596830f: Pulling fs layer [2020-10-20T05:46:34.107Z] 2a8b12db71e7: Pulling fs layer [2020-10-20T05:46:34.107Z] 6ca5941a6612: Pulling fs layer [2020-10-20T05:46:34.107Z] ecc8261a40a4: Pulling fs layer [2020-10-20T05:46:34.107Z] ecc8261a40a4: Waiting [2020-10-20T05:46:34.107Z] 2a8b12db71e7: Verifying Checksum [2020-10-20T05:46:34.107Z] 2a8b12db71e7: Download complete [2020-10-20T05:46:34.371Z] 31603596830f: Verifying Checksum [2020-10-20T05:46:34.371Z] 31603596830f: Download complete [2020-10-20T05:46:34.371Z] ecc8261a40a4: Verifying Checksum [2020-10-20T05:46:34.371Z] ecc8261a40a4: Download complete [2020-10-20T05:46:34.371Z] 6ca5941a6612: Verifying Checksum [2020-10-20T05:46:34.371Z] 6ca5941a6612: Download complete [2020-10-20T05:46:34.634Z] 31603596830f: Pull complete [2020-10-20T05:46:34.634Z] 2a8b12db71e7: Pull complete [2020-10-20T05:46:35.596Z] 6ca5941a6612: Pull complete [2020-10-20T05:46:35.596Z] ecc8261a40a4: Pull complete [2020-10-20T05:46:35.596Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-20T05:46:35.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T05:46:35.596Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-20T05:46:35.712Z] prd-centos7-docker-4c-2g-6879 does not seem to be running inside a container [2020-10-20T05:46:35.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-634 -v /w/workspace/dgexfoundry_device-sdk-go_PR-634:/w/workspace/dgexfoundry_device-sdk-go_PR-634:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-634@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-20T05:46:38.379Z] $ docker top d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-20T05:46:38.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-20T05:46:38.815Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-20T05:46:39.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-20T05:46:39.042Z] $ docker exec d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent [2020-10-20T05:46:39.217Z] SSH_AUTH_SOCK=/tmp/ssh-YHHFaUVZQhDW/agent.12 [2020-10-20T05:46:39.217Z] SSH_AGENT_PID=17 [2020-10-20T05:46:39.231Z] Running ssh-add (command line suppressed) [2020-10-20T05:46:39.358Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_4290840400939725978.key (/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_4290840400939725978.key) [2020-10-20T05:46:39.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-20T05:46:39.782Z] + git tag --points-at HEAD [Pipeline] } [2020-10-20T05:46:39.877Z] $ docker exec --env ******** --env ******** d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent -k [2020-10-20T05:46:39.998Z] unset SSH_AUTH_SOCK; [2020-10-20T05:46:39.999Z] unset SSH_AGENT_PID; [2020-10-20T05:46:39.999Z] echo Agent pid 17 killed; [2020-10-20T05:46:40.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-20T05:46:40.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-20T05:46:40.321Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-20T05:46:40.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-20T05:46:40.482Z] $ docker exec d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent [2020-10-20T05:46:40.636Z] SSH_AUTH_SOCK=/tmp/ssh-uVmCVCwGyNxr/agent.46 [2020-10-20T05:46:40.637Z] SSH_AGENT_PID=51 [2020-10-20T05:46:40.644Z] Running ssh-add (command line suppressed) [2020-10-20T05:46:40.764Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_7348742923741972486.key (/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_7348742923741972486.key) [2020-10-20T05:46:40.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-20T05:46:41.192Z] + git semver init [2020-10-20T05:46:41.192Z] # -> Open(): unable to determine branch for HEAD [2020-10-20T05:46:41.192Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-634/.git [2020-10-20T05:46:41.192Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-634 [2020-10-20T05:46:41.192Z] # $SEMVER_REMOTE_NAME = origin [2020-10-20T05:46:41.192Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-20T05:46:41.192Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-20T05:46:41.192Z] # $SEMVER_BRANCH = PR-634 [2020-10-20T05:46:41.192Z] # $SEMVER_TEMP = /tmp/semver-552212125 [2020-10-20T05:46:41.192Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-20T05:46:42.139Z] # '/tmp/semver-552212125' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-634/.semver' [2020-10-20T05:46:42.139Z] # -> Force: false [2020-10-20T05:46:42.139Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-634/.semver [Pipeline] } [2020-10-20T05:46:42.165Z] $ docker exec --env ******** --env ******** d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent -k [2020-10-20T05:46:42.272Z] unset SSH_AUTH_SOCK; [2020-10-20T05:46:42.272Z] unset SSH_AGENT_PID; [2020-10-20T05:46:42.272Z] echo Agent pid 51 killed; [2020-10-20T05:46:42.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-20T05:46:42.874Z] + git semver [Pipeline] } [2020-10-20T05:46:42.903Z] $ docker stop --time=1 d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 [2020-10-20T05:46:44.378Z] $ docker rm -f d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-20T05:46:44.893Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-20T05:46:45.339Z] Stashed 1 file(s) [Pipeline] echo [2020-10-20T05:46:45.361Z] [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-20T05:47:01.328Z] Still waiting to schedule task [2020-10-20T05:47:01.328Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6873’ is offline; ‘prd-centos7-docker-4c-2g-6881’ is offline; ‘prd-centos7-docker-8c-8g-6877’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-20T05:47:01.354Z] Still waiting to schedule task [2020-10-20T05:47:01.355Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-20T05:49:35.961Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6882 in /w/workspace/dgexfoundry_device-sdk-go_PR-634 [Pipeline] { [Pipeline] ws [2020-10-20T05:49:36.119Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-20T05:49:41.143Z] using credential edgex-jenkins-ssh [2020-10-20T05:49:41.209Z] Cloning the remote Git repository [2020-10-20T05:49:41.269Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T05:49:41.386Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-20T05:49:41.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T05:49:41.455Z] > git --version # timeout=10 [2020-10-20T05:49:41.474Z] > git --version # 'git version 2.17.1' [2020-10-20T05:49:41.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T05:49:41.564Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T05:49:43.280Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit dffcd411d75bb1b49b88adcef65a33257b8cfd7e [2020-10-20T05:49:43.534Z] Merge succeeded, producing dffcd411d75bb1b49b88adcef65a33257b8cfd7e [2020-10-20T05:49:43.534Z] Checking out Revision dffcd411d75bb1b49b88adcef65a33257b8cfd7e (PR-634) [2020-10-20T05:49:42.669Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T05:49:42.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T05:49:42.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T05:49:42.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T05:49:42.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T05:49:42.770Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-20T05:49:43.305Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T05:49:43.326Z] > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 [2020-10-20T05:49:43.445Z] > git remote # timeout=10 [2020-10-20T05:49:43.466Z] > git config --get remote.origin.url # timeout=10 [2020-10-20T05:49:43.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T05:49:43.495Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-20T05:49:43.517Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-20T05:49:43.546Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T05:49:43.559Z] > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 [2020-10-20T05:49:47.963Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-20T05:49:48.020Z] > git --version # timeout=10 [2020-10-20T05:49:48.029Z] > git --version # 'git version 2.17.1' [2020-10-20T05:49:48.046Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-20T05:49:49.169Z] ========================================================= [2020-10-20T05:49:49.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-20T05:49:49.170Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:49:50.279Z] + 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-20T05:49:51.261Z] Sending build context to Docker daemon 2.32MB [2020-10-20T05:49:51.261Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-20T05:49:51.261Z] Step 2/8 : FROM ${BASE} [2020-10-20T05:49:51.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-20T05:49:51.536Z] b538f80385f9: Pulling fs layer [2020-10-20T05:49:51.536Z] 74f711af9a0d: Pulling fs layer [2020-10-20T05:49:51.536Z] 99f96fe45779: Pulling fs layer [2020-10-20T05:49:51.536Z] 8529a6b9a6be: Pulling fs layer [2020-10-20T05:49:51.536Z] 45590311c82a: Pulling fs layer [2020-10-20T05:49:51.536Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-20T05:49:51.536Z] 209524e5b208: Pulling fs layer [2020-10-20T05:49:51.536Z] 8529a6b9a6be: Waiting [2020-10-20T05:49:51.536Z] 69ca0ff8b7b3: Waiting [2020-10-20T05:49:51.536Z] 45590311c82a: Waiting [2020-10-20T05:49:51.536Z] 209524e5b208: Waiting [2020-10-20T05:49:51.536Z] 99f96fe45779: Verifying Checksum [2020-10-20T05:49:51.536Z] 99f96fe45779: Download complete [2020-10-20T05:49:51.536Z] 74f711af9a0d: Download complete [2020-10-20T05:49:51.536Z] 45590311c82a: Download complete [2020-10-20T05:49:51.536Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-20T05:49:51.536Z] 69ca0ff8b7b3: Download complete [2020-10-20T05:49:52.141Z] b538f80385f9: Verifying Checksum [2020-10-20T05:49:52.141Z] b538f80385f9: Download complete [2020-10-20T05:49:52.752Z] b538f80385f9: Pull complete [2020-10-20T05:49:53.377Z] 74f711af9a0d: Pull complete [2020-10-20T05:49:53.659Z] 99f96fe45779: Pull complete [2020-10-20T05:49:54.642Z] 209524e5b208: Verifying Checksum [2020-10-20T05:49:54.642Z] 209524e5b208: Download complete [2020-10-20T05:49:55.630Z] 8529a6b9a6be: Verifying Checksum [2020-10-20T05:49:55.630Z] 8529a6b9a6be: Download complete [2020-10-20T05:50:05.810Z] 8529a6b9a6be: Pull complete [2020-10-20T05:50:05.810Z] 45590311c82a: Pull complete [2020-10-20T05:50:06.083Z] 69ca0ff8b7b3: Pull complete [2020-10-20T05:50:10.408Z] 209524e5b208: Pull complete [2020-10-20T05:50:10.408Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-20T05:50:10.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-20T05:50:10.408Z] ---> 5bddaf1c2fca [2020-10-20T05:50:10.408Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T05:50:13.047Z] ---> Running in 3a29644b0b02 [2020-10-20T05:50:13.047Z] Removing intermediate container 3a29644b0b02 [2020-10-20T05:50:13.047Z] ---> 2db631e76699 [2020-10-20T05:50:13.047Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T05:50:13.047Z] ---> Running in c300eb133f8a [2020-10-20T05:50:15.673Z] Removing intermediate container c300eb133f8a [2020-10-20T05:50:15.673Z] ---> ade09a01dd7b [2020-10-20T05:50:15.673Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-20T05:50:15.946Z] ---> Running in b227ebace592 [2020-10-20T05:50:17.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-20T05:50:18.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-20T05:50:19.785Z] OK: 142 MiB in 39 packages [2020-10-20T05:50:20.770Z] Removing intermediate container b227ebace592 [2020-10-20T05:50:20.770Z] ---> 35bd7b4837b1 [2020-10-20T05:50:20.770Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-20T05:50:21.042Z] ---> Running in 5aa66365bc32 [2020-10-20T05:50:21.639Z] Removing intermediate container 5aa66365bc32 [2020-10-20T05:50:21.639Z] ---> 7158c1da391b [2020-10-20T05:50:21.639Z] Step 7/8 : COPY . . [2020-10-20T05:50:22.626Z] ---> ef34aae60b68 [2020-10-20T05:50:22.626Z] Step 8/8 : RUN go mod download [2020-10-20T05:50:22.901Z] ---> Running in 7af6a60beb85 [2020-10-20T05:50:44.591Z] Running on prd-centos7-docker-4c-2g-6883 in /w/workspace/dgexfoundry_device-sdk-go_PR-634 [Pipeline] { [Pipeline] ws [2020-10-20T05:50:44.693Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-20T05:50:47.238Z] using credential edgex-jenkins-ssh [2020-10-20T05:50:47.296Z] Cloning the remote Git repository [2020-10-20T05:50:47.246Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T05:50:47.322Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-20T05:50:47.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T05:50:47.382Z] > git --version # timeout=10 [2020-10-20T05:50:47.392Z] > git --version # 'git version 2.16.5' [2020-10-20T05:50:47.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T05:50:47.422Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T05:50:48.696Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit dffcd411d75bb1b49b88adcef65a33257b8cfd7e [2020-10-20T05:50:48.789Z] Merge succeeded, producing dffcd411d75bb1b49b88adcef65a33257b8cfd7e [2020-10-20T05:50:48.789Z] Checking out Revision dffcd411d75bb1b49b88adcef65a33257b8cfd7e (PR-634) [2020-10-20T05:50:48.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T05:50:48.262Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T05:50:48.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T05:50:48.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T05:50:48.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T05:50:48.297Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-20T05:50:48.706Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T05:50:48.711Z] > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 [2020-10-20T05:50:48.759Z] > git remote # timeout=10 [2020-10-20T05:50:48.766Z] > git config --get remote.origin.url # timeout=10 [2020-10-20T05:50:48.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T05:50:48.775Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-20T05:50:48.784Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-20T05:50:48.793Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T05:50:48.798Z] > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 [2020-10-20T05:50:52.388Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-20T05:50:52.413Z] > git --version # timeout=10 [2020-10-20T05:50:52.418Z] > git --version # 'git version 2.16.5' [2020-10-20T05:50:52.423Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-20T05:50:53.521Z] ========================================================= [2020-10-20T05:50:53.521Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-20T05:50:53.521Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:50:54.169Z] + 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-20T05:50:54.430Z] Sending build context to Docker daemon 2.319MB [2020-10-20T05:50:54.430Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-20T05:50:54.430Z] Step 2/8 : FROM ${BASE} [2020-10-20T05:50:54.692Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-20T05:50:54.692Z] df20fa9351a1: Pulling fs layer [2020-10-20T05:50:54.692Z] ed8968b2872e: Pulling fs layer [2020-10-20T05:50:54.692Z] a92cc7c5fd73: Pulling fs layer [2020-10-20T05:50:54.692Z] e871e8e8d7a9: Pulling fs layer [2020-10-20T05:50:54.692Z] e73272ec9a57: Pulling fs layer [2020-10-20T05:50:54.692Z] 1e910a182e73: Pulling fs layer [2020-10-20T05:50:54.692Z] 4e634b169226: Pulling fs layer [2020-10-20T05:50:54.692Z] e73272ec9a57: Waiting [2020-10-20T05:50:54.692Z] 1e910a182e73: Waiting [2020-10-20T05:50:54.692Z] 4e634b169226: Waiting [2020-10-20T05:50:54.692Z] e871e8e8d7a9: Waiting [2020-10-20T05:50:54.692Z] a92cc7c5fd73: Verifying Checksum [2020-10-20T05:50:54.692Z] a92cc7c5fd73: Download complete [2020-10-20T05:50:54.692Z] ed8968b2872e: Verifying Checksum [2020-10-20T05:50:54.692Z] ed8968b2872e: Download complete [2020-10-20T05:50:54.692Z] e73272ec9a57: Verifying Checksum [2020-10-20T05:50:54.692Z] e73272ec9a57: Download complete [2020-10-20T05:50:54.692Z] 1e910a182e73: Verifying Checksum [2020-10-20T05:50:54.692Z] 1e910a182e73: Download complete [2020-10-20T05:50:54.692Z] df20fa9351a1: Verifying Checksum [2020-10-20T05:50:54.692Z] df20fa9351a1: Download complete [2020-10-20T05:50:54.955Z] df20fa9351a1: Pull complete [2020-10-20T05:50:55.217Z] ed8968b2872e: Pull complete [2020-10-20T05:50:55.217Z] a92cc7c5fd73: Pull complete [2020-10-20T05:50:55.240Z] Removing intermediate container 7af6a60beb85 [2020-10-20T05:50:55.240Z] ---> 03b5dc793279 [2020-10-20T05:50:55.240Z] Successfully built 03b5dc793279 [2020-10-20T05:50:55.240Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:50:55.677Z] + docker inspect -f . ci-base-image-arm64 [2020-10-20T05:50:55.677Z] . [Pipeline] withDockerContainer [2020-10-20T05:50:55.970Z] prd-ubuntu18.04-docker-arm64-4c-16g-6882 does not seem to be running inside a container [2020-10-20T05:50:56.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-20T05:50:56.604Z] 4e634b169226: Download complete [2020-10-20T05:50:57.186Z] e871e8e8d7a9: Verifying Checksum [2020-10-20T05:50:57.186Z] e871e8e8d7a9: Download complete [2020-10-20T05:50:57.917Z] $ docker top 2dd686e80c141668083884bd995a12d86fbc5f07554443567d00b5f85dec33d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T05:50:59.436Z] + go version [2020-10-20T05:50:59.436Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-20T05:50:59.477Z] $ docker stop --time=1 2dd686e80c141668083884bd995a12d86fbc5f07554443567d00b5f85dec33d1 [2020-10-20T05:51:01.401Z] $ docker rm -f 2dd686e80c141668083884bd995a12d86fbc5f07554443567d00b5f85dec33d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:51:02.516Z] e871e8e8d7a9: Pull complete [2020-10-20T05:51:02.516Z] e73272ec9a57: Pull complete [2020-10-20T05:51:02.516Z] 1e910a182e73: Pull complete [2020-10-20T05:51:02.774Z] + docker inspect -f . ci-base-image-arm64 [2020-10-20T05:51:02.774Z] . [Pipeline] withDockerContainer [2020-10-20T05:51:03.046Z] prd-ubuntu18.04-docker-arm64-4c-16g-6882 does not seem to be running inside a container [2020-10-20T05:51:03.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-20T05:51:04.848Z] $ docker top b5c5f4f24b7d2e18eff123efcd3c0a09121d37680e92b855f2b0330d78d7e7e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T05:51:06.275Z] + make test [2020-10-20T05:51:06.275Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-20T05:51:10.685Z] 4e634b169226: Pull complete [2020-10-20T05:51:10.685Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-20T05:51:10.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-20T05:51:10.685Z] ---> f7629b54cfaa [2020-10-20T05:51:10.685Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T05:51:10.685Z] ---> Running in fbe186c9cd92 [2020-10-20T05:51:10.685Z] Removing intermediate container fbe186c9cd92 [2020-10-20T05:51:10.685Z] ---> 5fa033f9a724 [2020-10-20T05:51:10.685Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T05:51:10.948Z] ---> Running in ba111d574ef3 [2020-10-20T05:51:12.350Z] Removing intermediate container ba111d574ef3 [2020-10-20T05:51:12.350Z] ---> 08a9374d29f3 [2020-10-20T05:51:12.350Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-20T05:51:12.350Z] ---> Running in edb56a0c6e88 [2020-10-20T05:51:12.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-20T05:51:13.504Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-20T05:51:14.450Z] OK: 166 MiB in 39 packages [2020-10-20T05:51:14.714Z] Removing intermediate container edb56a0c6e88 [2020-10-20T05:51:14.714Z] ---> 9b0e4183c895 [2020-10-20T05:51:14.714Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-20T05:51:14.979Z] ---> Running in 0afa35496e9a [2020-10-20T05:51:14.979Z] Removing intermediate container 0afa35496e9a [2020-10-20T05:51:14.979Z] ---> 143c508091b3 [2020-10-20T05:51:14.979Z] Step 7/8 : COPY . . [2020-10-20T05:51:16.372Z] ---> 35aa4bbf21b0 [2020-10-20T05:51:16.372Z] Step 8/8 : RUN go mod download [2020-10-20T05:51:16.372Z] ---> Running in 7a510168ab48 [2020-10-20T05:51:28.463Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-20T05:51:38.384Z] Removing intermediate container 7a510168ab48 [2020-10-20T05:51:38.384Z] ---> 1131162689d9 [2020-10-20T05:51:38.384Z] Successfully built 1131162689d9 [2020-10-20T05:51:38.384Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:51:38.991Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-20T05:51:38.991Z] . [Pipeline] withDockerContainer [2020-10-20T05:51:39.126Z] prd-centos7-docker-4c-2g-6883 does not seem to be running inside a container [2020-10-20T05:51:39.174Z] $ 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-20T05:51:39.924Z] $ docker top 990bd943edb3b5d32bf5f42cac06087337b58ddca4033e3c18768d1e57a59ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T05:51:40.530Z] + go version [2020-10-20T05:51:40.530Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-20T05:51:40.561Z] $ docker stop --time=1 990bd943edb3b5d32bf5f42cac06087337b58ddca4033e3c18768d1e57a59ae0 [2020-10-20T05:51:41.894Z] $ docker rm -f 990bd943edb3b5d32bf5f42cac06087337b58ddca4033e3c18768d1e57a59ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:51:43.029Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-20T05:51:43.029Z] . [Pipeline] withDockerContainer [2020-10-20T05:51:43.145Z] prd-centos7-docker-4c-2g-6883 does not seem to be running inside a container [2020-10-20T05:51:43.191Z] $ 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-20T05:51:43.790Z] $ docker top f28863f0ba92a0864fc64aad15ba36f9de7b1058f15909a94ab1b209561f7acf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T05:51:44.385Z] + make test [2020-10-20T05:51:44.385Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-20T05:51:51.061Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-20T05:52:06.075Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-20T05:52:06.075Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-20T05:52:06.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-20T05:52:06.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.044s coverage: 21.6% of statements [2020-10-20T05:52:07.483Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.431s coverage: 97.1% of statements [2020-10-20T05:52:07.527Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-20T05:52:07.527Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-20T05:52:07.527Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-20T05:52:07.527Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.147s coverage: 21.6% of statements [2020-10-20T05:52:10.163Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.177s coverage: 97.1% of statements [2020-10-20T05:52:39.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 9.4% of statements [2020-10-20T05:52:39.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-20T05:52:39.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.235s coverage: 42.6% of statements [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-20T05:52:39.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.272s coverage: 68.9% of statements [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-20T05:52:39.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-20T05:52:39.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-20T05:52:39.665Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.256s coverage: 68.9% of statements [2020-10-20T05:52:39.665Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-20T05:52:39.665Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-20T05:52:39.665Z] GO111MODULE=on go vet ./... [2020-10-20T05:52:42.603Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements [2020-10-20T05:52:42.603Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-20T05:52:42.603Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.574s coverage: 42.6% of statements [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-20T05:52:42.603Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.757s coverage: 68.9% of statements [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-20T05:52:42.603Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.181s coverage: 52.6% of statements [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-20T05:52:42.603Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.657s coverage: 68.9% of statements [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-20T05:52:42.603Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-20T05:52:42.603Z] GO111MODULE=on go vet ./... [2020-10-20T05:52:46.368Z] gofmt -l . [2020-10-20T05:52:46.368Z] [ "`gofmt -l .`" = "" ] [2020-10-20T05:52:46.368Z] ./bin/test-attribution-txt.sh [2020-10-20T05:52:46.368Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-20T05:52:46.739Z] Stashed 1 file(s) [Pipeline] } [2020-10-20T05:52:46.759Z] $ docker stop --time=1 f28863f0ba92a0864fc64aad15ba36f9de7b1058f15909a94ab1b209561f7acf [2020-10-20T05:52:48.714Z] $ docker rm -f f28863f0ba92a0864fc64aad15ba36f9de7b1058f15909a94ab1b209561f7acf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-20T05:52:50.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-20T05:52:50.930Z] + ls -al . [2020-10-20T05:52:50.931Z] total 188 [2020-10-20T05:52:50.931Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 05:52 . [2020-10-20T05:52:50.931Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 05:50 .. [2020-10-20T05:52:50.931Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 20 05:50 bin [2020-10-20T05:52:50.931Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 20 05:52 coverage.out [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 20 05:50 Dockerfile.build [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 05:50 .dockerignore [2020-10-20T05:52:50.931Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 20 05:50 example [2020-10-20T05:52:50.931Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 05:50 .git [2020-10-20T05:52:50.931Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 20 05:50 .github [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 20 05:50 .gitignore [2020-10-20T05:52:50.931Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 20 05:52 go.mod [2020-10-20T05:52:50.931Z] -rw-r--r--. 1 jenkins jenkins 13545 Oct 20 05:52 go.sum [2020-10-20T05:52:50.931Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 20 05:50 internal [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 20 05:50 Jenkinsfile [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 05:50 LICENSE [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 20 05:50 Makefile [2020-10-20T05:52:50.931Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 20 05:50 openapi [2020-10-20T05:52:50.931Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 05:50 pkg [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 20 05:50 README.md [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 20 05:50 RELEASE-NOTES.txt [2020-10-20T05:52:50.931Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 05:50 snap [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 05:46 VERSION [2020-10-20T05:52:50.931Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 05:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:52:51.320Z] + 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=dffcd411d75bb1b49b88adcef65a33257b8cfd7e --label arch=amd64 --label version=0.0.0 . [2020-10-20T05:52:51.588Z] Sending build context to Docker daemon 2.43MB [2020-10-20T05:52:51.588Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-20T05:52:51.588Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-20T05:52:51.588Z] ---> 1131162689d9 [2020-10-20T05:52:51.588Z] Step 3/24 : ARG MAKE='make build' [2020-10-20T05:52:52.171Z] ---> Running in ea2c673f7ddc [2020-10-20T05:52:52.171Z] Removing intermediate container ea2c673f7ddc [2020-10-20T05:52:52.171Z] ---> a4f65a7c1c38 [2020-10-20T05:52:52.171Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-20T05:52:52.436Z] ---> Running in 4fb07a1d971a [2020-10-20T05:52:52.700Z] Removing intermediate container 4fb07a1d971a [2020-10-20T05:52:52.700Z] ---> 8c96728e0d0c [2020-10-20T05:52:52.700Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T05:52:52.700Z] ---> Running in 002ebac84342 [2020-10-20T05:52:52.700Z] Removing intermediate container 002ebac84342 [2020-10-20T05:52:52.700Z] ---> 69a20a2417d8 [2020-10-20T05:52:52.700Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T05:52:52.967Z] ---> Running in 1314aa03dd44 [2020-10-20T05:52:53.916Z] Removing intermediate container 1314aa03dd44 [2020-10-20T05:52:53.916Z] ---> 8db9bcb93192 [2020-10-20T05:52:53.916Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-20T05:52:53.916Z] ---> Running in 1bf6655d7a94 [2020-10-20T05:52:54.181Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-20T05:52:55.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-20T05:52:56.093Z] OK: 166 MiB in 39 packages [2020-10-20T05:52:56.358Z] Removing intermediate container 1bf6655d7a94 [2020-10-20T05:52:56.358Z] ---> e4d0f9bd0e60 [2020-10-20T05:52:56.358Z] Step 8/24 : COPY . . [2020-10-20T05:52:57.309Z] ---> d9fcd02ec937 [2020-10-20T05:52:57.309Z] Step 9/24 : RUN ${MAKE} [2020-10-20T05:52:57.578Z] ---> Running in 2cc732c3fdd8 [2020-10-20T05:52:57.844Z] 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-20T05:53:06.089Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-20T05:53:08.013Z] Removing intermediate container 2cc732c3fdd8 [2020-10-20T05:53:08.014Z] ---> 34c3e2ee18d8 [2020-10-20T05:53:08.014Z] Step 10/24 : FROM scratch [2020-10-20T05:53:08.014Z] ---> [2020-10-20T05:53:08.014Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T05:53:08.014Z] ---> Running in 0fc8e4c3b97c [2020-10-20T05:53:08.278Z] Removing intermediate container 0fc8e4c3b97c [2020-10-20T05:53:08.278Z] ---> 89fd8cd34948 [2020-10-20T05:53:08.278Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-20T05:53:08.278Z] ---> Running in 6be83b754a44 [2020-10-20T05:53:08.543Z] Removing intermediate container 6be83b754a44 [2020-10-20T05:53:08.543Z] ---> e2561bd7fa21 [2020-10-20T05:53:08.543Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-20T05:53:08.543Z] ---> Running in dfc9447993f4 [2020-10-20T05:53:08.543Z] Removing intermediate container dfc9447993f4 [2020-10-20T05:53:08.543Z] ---> 9c8100da3593 [2020-10-20T05:53:08.543Z] Step 14/24 : WORKDIR / [2020-10-20T05:53:08.805Z] ---> Running in 76a360d557b0 [2020-10-20T05:53:08.806Z] Removing intermediate container 76a360d557b0 [2020-10-20T05:53:08.806Z] ---> b3429eed4f71 [2020-10-20T05:53:08.806Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-20T05:53:09.381Z] ---> d8e6518c32d0 [2020-10-20T05:53:09.382Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-20T05:53:09.382Z] ---> 2ab06c1a6435 [2020-10-20T05:53:09.382Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-20T05:53:09.464Z] gofmt -l . [2020-10-20T05:53:09.464Z] [ "`gofmt -l .`" = "" ] [2020-10-20T05:53:09.464Z] ./bin/test-attribution-txt.sh [2020-10-20T05:53:09.464Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-20T05:53:09.516Z] Warning: overwriting stash ‘coverage-report’ [2020-10-20T05:53:09.656Z] ---> 4db4d0f55c84 [2020-10-20T05:53:09.657Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-20T05:53:09.924Z] ---> ce905b51fd54 [2020-10-20T05:53:09.924Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-20T05:53:10.185Z] ---> 56fd5a2b0a00 [2020-10-20T05:53:10.185Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-20T05:53:10.185Z] ---> Running in 0ff20a1ec3e1 [2020-10-20T05:53:10.360Z] Stashed 1 file(s) [Pipeline] } [2020-10-20T05:53:10.388Z] $ docker stop --time=1 b5c5f4f24b7d2e18eff123efcd3c0a09121d37680e92b855f2b0330d78d7e7e0 [2020-10-20T05:53:10.449Z] Removing intermediate container 0ff20a1ec3e1 [2020-10-20T05:53:10.449Z] ---> 499110c281d8 [2020-10-20T05:53:10.449Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-20T05:53:10.449Z] ---> Running in cc38494e0e2b [2020-10-20T05:53:10.711Z] Removing intermediate container cc38494e0e2b [2020-10-20T05:53:10.711Z] ---> 2694d99570d3 [2020-10-20T05:53:10.711Z] Step 22/24 : LABEL arch=amd64 [2020-10-20T05:53:10.711Z] ---> Running in 35981ead1071 [2020-10-20T05:53:10.980Z] Removing intermediate container 35981ead1071 [2020-10-20T05:53:10.980Z] ---> 5b662c61547d [2020-10-20T05:53:10.980Z] Step 23/24 : LABEL git_sha=dffcd411d75bb1b49b88adcef65a33257b8cfd7e [2020-10-20T05:53:10.980Z] ---> Running in a9f7ad5e851e [2020-10-20T05:53:11.243Z] Removing intermediate container a9f7ad5e851e [2020-10-20T05:53:11.243Z] ---> 957d433dc6d6 [2020-10-20T05:53:11.243Z] Step 24/24 : LABEL version=0.0.0 [2020-10-20T05:53:11.243Z] ---> Running in cdbd6b2a8195 [2020-10-20T05:53:11.243Z] Removing intermediate container cdbd6b2a8195 [2020-10-20T05:53:11.243Z] ---> f43d24464afd [2020-10-20T05:53:11.243Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-20T05:53:11.243Z] Successfully built f43d24464afd [2020-10-20T05:53:11.243Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-20T05:53:12.491Z] $ docker rm -f b5c5f4f24b7d2e18eff123efcd3c0a09121d37680e92b855f2b0330d78d7e7e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [2020-10-20T05:53:14.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [2020-10-20T05:53:15.299Z] + ls -al . [2020-10-20T05:53:15.300Z] total 224 [2020-10-20T05:53:15.300Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 05:53 . [2020-10-20T05:53:15.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 .. [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 05:49 .dockerignore [2020-10-20T05:53:15.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 05:49 .git [2020-10-20T05:53:15.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 05:49 .github [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 20 05:49 .gitignore [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 20 05:49 Dockerfile.build [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 20 05:49 Jenkinsfile [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 05:49 LICENSE [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 20 05:49 Makefile [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 20 05:49 README.md [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 20 05:49 RELEASE-NOTES.txt [2020-10-20T05:53:15.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 05:46 VERSION [2020-10-20T05:53:15.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 05:49 bin [2020-10-20T05:53:15.301Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 20 05:52 coverage.out [2020-10-20T05:53:15.301Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 example [2020-10-20T05:53:15.301Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 20 05:53 go.mod [2020-10-20T05:53:15.301Z] -rw-r--r-- 1 jenkins jenkins 13545 Oct 20 05:53 go.sum [2020-10-20T05:53:15.301Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 05:49 internal [2020-10-20T05:53:15.301Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 openapi [2020-10-20T05:53:15.301Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 05:49 pkg [2020-10-20T05:53:15.301Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 snap [2020-10-20T05:53:15.301Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 05:49 version.go [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } [2020-10-20T05:53:16.001Z] + 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=dffcd411d75bb1b49b88adcef65a33257b8cfd7e --label arch=arm64 --label version=0.0.0 . [2020-10-20T05:53:16.287Z] Sending build context to Docker daemon 2.431MB [2020-10-20T05:53:16.287Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-20T05:53:16.287Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-20T05:53:16.287Z] ---> 03b5dc793279 [2020-10-20T05:53:16.287Z] Step 3/24 : ARG MAKE='make build' [2020-10-20T05:53:16.880Z] ---> Running in 08dace0873cb [2020-10-20T05:53:17.165Z] Removing intermediate container 08dace0873cb [2020-10-20T05:53:17.165Z] ---> 503e5aafaa1e [2020-10-20T05:53:17.165Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-20T05:53:17.449Z] ---> Running in ef7f5c1b79af [2020-10-20T05:53:17.722Z] Removing intermediate container ef7f5c1b79af [2020-10-20T05:53:17.722Z] ---> 11868c5a8e85 [2020-10-20T05:53:17.722Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T05:53:17.996Z] ---> Running in 93d8eda74d60 [2020-10-20T05:53:18.269Z] Removing intermediate container 93d8eda74d60 [2020-10-20T05:53:18.269Z] ---> 97aca67939ab [2020-10-20T05:53:18.269Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T05:53:18.545Z] ---> Running in bdee7151593a [2020-10-20T05:53:21.180Z] Removing intermediate container bdee7151593a [2020-10-20T05:53:21.180Z] ---> 0f2019b8dfaa [2020-10-20T05:53:21.180Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-20T05:53:21.180Z] ---> Running in c8ec03b10ae8 [2020-10-20T05:53:22.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-20T05:53:23.200Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-20T05:53:24.175Z] OK: 142 MiB in 39 packages [2020-10-20T05:53:25.603Z] Removing intermediate container c8ec03b10ae8 [2020-10-20T05:53:25.603Z] ---> 4d0393c34c2c [2020-10-20T05:53:25.603Z] Step 8/24 : COPY . . [2020-10-20T05:53:26.579Z] ---> 3c2878aed0aa [2020-10-20T05:53:26.579Z] Step 9/24 : RUN ${MAKE} [2020-10-20T05:53:26.579Z] ---> Running in a767dd322195 [2020-10-20T05:53:28.011Z] 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-20T05:53:54.838Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-20T05:53:54.838Z] Removing intermediate container a767dd322195 [2020-10-20T05:53:54.838Z] ---> 36f901522d51 [2020-10-20T05:53:54.838Z] Step 10/24 : FROM scratch [2020-10-20T05:53:54.838Z] ---> [2020-10-20T05:53:54.838Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T05:53:54.838Z] ---> Running in 7eb8b3442a1c [2020-10-20T05:53:55.109Z] Removing intermediate container 7eb8b3442a1c [2020-10-20T05:53:55.109Z] ---> b607d8281b97 [2020-10-20T05:53:55.109Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-20T05:53:55.381Z] ---> Running in 4b0ca5370a59 [2020-10-20T05:53:55.656Z] Removing intermediate container 4b0ca5370a59 [2020-10-20T05:53:55.656Z] ---> 7f9aacbd6e51 [2020-10-20T05:53:55.657Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-20T05:53:55.657Z] ---> Running in f4bfd39fba21 [2020-10-20T05:53:56.255Z] Removing intermediate container f4bfd39fba21 [2020-10-20T05:53:56.255Z] ---> fae5e637cbb4 [2020-10-20T05:53:56.255Z] Step 14/24 : WORKDIR / [2020-10-20T05:53:56.255Z] ---> Running in e05cb1190d8e [2020-10-20T05:53:56.852Z] Removing intermediate container e05cb1190d8e [2020-10-20T05:53:56.852Z] ---> 6b33819e3c76 [2020-10-20T05:53:56.852Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-20T05:53:57.831Z] ---> 712a494650a9 [2020-10-20T05:53:57.831Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-20T05:53:58.815Z] ---> 8931967560df [2020-10-20T05:53:58.815Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-20T05:53:59.407Z] ---> e163d69a9bdd [2020-10-20T05:53:59.407Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-20T05:54:00.001Z] ---> 0b54fe2c4ec5 [2020-10-20T05:54:00.001Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-20T05:54:00.599Z] ---> 8470b0a3a9f4 [2020-10-20T05:54:00.599Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-20T05:54:00.870Z] ---> Running in 81d3ca06f671 [2020-10-20T05:54:01.146Z] Removing intermediate container 81d3ca06f671 [2020-10-20T05:54:01.146Z] ---> 4f6be58d3857 [2020-10-20T05:54:01.146Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-20T05:54:01.424Z] ---> Running in 70eada84d300 [2020-10-20T05:54:01.695Z] Removing intermediate container 70eada84d300 [2020-10-20T05:54:01.695Z] ---> 1b94d5fc2975 [2020-10-20T05:54:01.695Z] Step 22/24 : LABEL arch=arm64 [2020-10-20T05:54:01.695Z] ---> Running in 158ed7b03970 [2020-10-20T05:54:02.297Z] Removing intermediate container 158ed7b03970 [2020-10-20T05:54:02.297Z] ---> 976b1acb9fe2 [2020-10-20T05:54:02.297Z] Step 23/24 : LABEL git_sha=dffcd411d75bb1b49b88adcef65a33257b8cfd7e [2020-10-20T05:54:02.297Z] ---> Running in c1c3b8a03aa5 [2020-10-20T05:54:02.893Z] Removing intermediate container c1c3b8a03aa5 [2020-10-20T05:54:02.893Z] ---> b5a7cd4aed28 [2020-10-20T05:54:02.893Z] Step 24/24 : LABEL version=0.0.0 [2020-10-20T05:54:02.893Z] ---> Running in 70e37d1f3b7e [2020-10-20T05:54:03.168Z] Removing intermediate container 70e37d1f3b7e [2020-10-20T05:54:03.168Z] ---> 718a550a5b91 [2020-10-20T05:54:03.168Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-20T05:54:03.442Z] Successfully built 718a550a5b91 [2020-10-20T05:54:03.442Z] 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-20T05:54:06.183Z] provisioning config files... [2020-10-20T05:54:06.196Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/config2643166620638919036tmp [Pipeline] { [Pipeline] sh [2020-10-20T05:54:06.641Z] + set +x [2020-10-20T05:54:06.641Z] + curl -s https://codecov.io/bash [2020-10-20T05:54:06.641Z] + bash -s -- [2020-10-20T05:54:06.641Z] [2020-10-20T05:54:06.641Z] _____ _ [2020-10-20T05:54:06.641Z] / ____| | | [2020-10-20T05:54:06.641Z] | | ___ __| | ___ ___ _____ __ [2020-10-20T05:54:06.641Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-20T05:54:06.641Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-20T05:54:06.641Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-20T05:54:06.641Z] Bash-20201009-048fee3 [2020-10-20T05:54:06.641Z] [2020-10-20T05:54:06.641Z] [2020-10-20T05:54:06.641Z] ==> Jenkins CI detected. [2020-10-20T05:54:06.641Z] project root: . [2020-10-20T05:54:06.641Z] --> token set from env [2020-10-20T05:54:06.905Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-20T05:54:06.905Z] ==> Running gcov in . (disable via -X gcov) [2020-10-20T05:54:06.905Z] ==> Python coveragepy not found [2020-10-20T05:54:06.905Z] ==> Searching for coverage reports in: [2020-10-20T05:54:06.905Z] + . [2020-10-20T05:54:06.905Z] -> Found 1 reports [2020-10-20T05:54:06.905Z] ==> Detecting git/mercurial file structure [2020-10-20T05:54:06.905Z] ==> Reading reports [2020-10-20T05:54:06.905Z] + ./coverage.out bytes=110398 [2020-10-20T05:54:06.905Z] ==> Appending adjustments [2020-10-20T05:54:06.905Z] https://docs.codecov.io/docs/fixing-reports [2020-10-20T05:54:07.170Z] + Found adjustments [2020-10-20T05:54:07.170Z] ==> Gzipping contents [2020-10-20T05:54:07.170Z] ==> Uploading reports [2020-10-20T05:54:07.170Z] url: https://codecov.io [2020-10-20T05:54:07.170Z] query: branch=PR-634&commit=dffcd411d75bb1b49b88adcef65a33257b8cfd7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-634%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=634&job=&cmd_args= [2020-10-20T05:54:07.170Z] -> Pinging Codecov [2020-10-20T05:54:07.170Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-634&commit=dffcd411d75bb1b49b88adcef65a33257b8cfd7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-634%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=634&job=&cmd_args= [2020-10-20T05:54:07.438Z] -> Uploading to [2020-10-20T05:54:07.438Z] [2020-10-20T05:54:07.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-20T05:54:07.438Z] Dload Upload Total Spent Left Speed [2020-10-20T05:54:07.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-20T05:54:07.438Z] X> Failed to upload [2020-10-20T05:54:07.438Z] ==> Uploading to Codecov [2020-10-20T05:54:07.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-20T05:54:07.438Z] Dload Upload Total Spent Left Speed [2020-10-20T05:54:08.026Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19144 100 110 100 19034 230 39948 --:--:-- --:--:-- --:--:-- 39987 [2020-10-20T05:54:08.026Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dffcd411d75bb1b49b88adcef65a33257b8cfd7e [Pipeline] } [2020-10-20T05:54:08.056Z] 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-20T05:54:11.952Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:54:12.562Z] ---> package-listing.sh [2020-10-20T05:54:12.562Z] ++ facter osfamily [2020-10-20T05:54:12.562Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-20T05:54:12.562Z] + OS_FAMILY=redhat [2020-10-20T05:54:12.562Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-634 [2020-10-20T05:54:12.562Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-20T05:54:12.562Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-20T05:54:12.562Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-20T05:54:12.562Z] + PACKAGES=/tmp/packages_start.txt [2020-10-20T05:54:12.562Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-634 ']' [2020-10-20T05:54:12.562Z] + PACKAGES=/tmp/packages_end.txt [2020-10-20T05:54:12.562Z] + case "${OS_FAMILY}" in [2020-10-20T05:54:12.562Z] + rpm -qa [2020-10-20T05:54:12.562Z] + sort [2020-10-20T05:54:16.783Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-20T05:54:16.783Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-20T05:54:16.783Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-20T05:54:16.783Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-634 ']' [2020-10-20T05:54:16.783Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-634/archives/ [2020-10-20T05:54:16.783Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-634/archives/ [Pipeline] echo [2020-10-20T05:54:16.815Z] 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-634/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-20T05:54:17.129Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:54:17.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T05:54:17.477Z] [2020-10-20T05:54:17.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-20T05:54:17.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T05:54:17.872Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-20T05:54:17.872Z] df20fa9351a1: Pulling fs layer [2020-10-20T05:54:17.872Z] 36b3adc4ff6f: Pulling fs layer [2020-10-20T05:54:17.872Z] 8ad3a11d3b57: Pulling fs layer [2020-10-20T05:54:17.872Z] 46f8f816bc3b: Pulling fs layer [2020-10-20T05:54:17.872Z] 93b61091891f: Pulling fs layer [2020-10-20T05:54:17.872Z] 93b9cdb0e59b: Pulling fs layer [2020-10-20T05:54:17.872Z] 5e14af77c1be: Pulling fs layer [2020-10-20T05:54:17.872Z] 01666e4c0597: Pulling fs layer [2020-10-20T05:54:17.872Z] aa168da1d23b: Pulling fs layer [2020-10-20T05:54:17.872Z] 93b9cdb0e59b: Waiting [2020-10-20T05:54:17.872Z] 5e14af77c1be: Waiting [2020-10-20T05:54:17.872Z] 01666e4c0597: Waiting [2020-10-20T05:54:17.872Z] aa168da1d23b: Waiting [2020-10-20T05:54:17.872Z] 46f8f816bc3b: Waiting [2020-10-20T05:54:17.872Z] 93b61091891f: Waiting [2020-10-20T05:54:17.872Z] 36b3adc4ff6f: Verifying Checksum [2020-10-20T05:54:17.872Z] 36b3adc4ff6f: Download complete [2020-10-20T05:54:17.872Z] 46f8f816bc3b: Download complete [2020-10-20T05:54:17.872Z] df20fa9351a1: Download complete [2020-10-20T05:54:17.872Z] 93b9cdb0e59b: Verifying Checksum [2020-10-20T05:54:17.872Z] 93b9cdb0e59b: Download complete [2020-10-20T05:54:18.135Z] 93b61091891f: Verifying Checksum [2020-10-20T05:54:18.135Z] 93b61091891f: Download complete [2020-10-20T05:54:18.135Z] 5e14af77c1be: Verifying Checksum [2020-10-20T05:54:18.135Z] 5e14af77c1be: Download complete [2020-10-20T05:54:18.135Z] 01666e4c0597: Verifying Checksum [2020-10-20T05:54:18.135Z] 01666e4c0597: Download complete [2020-10-20T05:54:18.396Z] df20fa9351a1: Pull complete [2020-10-20T05:54:18.396Z] 36b3adc4ff6f: Pull complete [2020-10-20T05:54:18.670Z] 8ad3a11d3b57: Download complete [2020-10-20T05:54:19.252Z] 8ad3a11d3b57: Pull complete [2020-10-20T05:54:19.518Z] 46f8f816bc3b: Pull complete [2020-10-20T05:54:20.469Z] 93b61091891f: Pull complete [2020-10-20T05:54:20.469Z] aa168da1d23b: Verifying Checksum [2020-10-20T05:54:20.469Z] aa168da1d23b: Download complete [2020-10-20T05:54:20.469Z] 93b9cdb0e59b: Pull complete [2020-10-20T05:54:20.469Z] 5e14af77c1be: Pull complete [2020-10-20T05:54:20.732Z] 01666e4c0597: Pull complete [2020-10-20T05:54:27.355Z] aa168da1d23b: Pull complete [2020-10-20T05:54:27.355Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-20T05:54:27.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T05:54:27.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-20T05:54:27.514Z] prd-centos7-docker-4c-2g-6879 does not seem to be running inside a container [2020-10-20T05:54:27.561Z] $ 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-634/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-634 -v /w/workspace/dgexfoundry_device-sdk-go_PR-634:/w/workspace/dgexfoundry_device-sdk-go_PR-634:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-634@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-20T05:54:33.703Z] $ docker top 54e18d39bfa8c5a7a71a097c9675cd440eb6ca7b9faaff66af62bf7aa15a7c21 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T05:54:34.284Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-20T05:54:34.605Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-20T05:54:34.946Z] + ls /var/log/sa-host [2020-10-20T05:54:34.947Z] + sadf -c /var/log/sa-host/sa05 [2020-10-20T05:54:34.947Z] file_magic: OK [2020-10-20T05:54:34.947Z] HZ: Using current value: 100 [2020-10-20T05:54:34.947Z] file_header: OK [2020-10-20T05:54:34.947Z] 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-20T05:54:34.947Z] Statistics: [2020-10-20T05:54:34.947Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-20T05:54:34.947Z] File successfully converted to sysstat format version 12.2.1 [2020-10-20T05:54:34.947Z] + sadf -c /var/log/sa-host/sa20 [2020-10-20T05:54:34.947Z] file_magic: OK [2020-10-20T05:54:34.947Z] HZ: Using current value: 100 [2020-10-20T05:54:34.947Z] file_header: OK [2020-10-20T05:54:34.947Z] 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-20T05:54:34.947Z] Statistics: [2020-10-20T05:54:34.947Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-20T05:54:34.947Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-20T05:54:35.200Z] provisioning config files... [2020-10-20T05:54:35.217Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/config7383412105555170874tmp [Pipeline] { [Pipeline] echo [2020-10-20T05:54:35.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:54:35.675Z] ---> create-netrc.sh [Pipeline] } [2020-10-20T05:54:35.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-20T05:54:35.841Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:54:36.189Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-20T05:54:36.223Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:54:36.573Z] ---> sudo-logs.sh [2020-10-20T05:54:36.573Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-20T05:54:36.608Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:54:36.973Z] ---> job-cost.sh [2020-10-20T05:54:36.973Z] lf-activate-venv: SKIPPING [2020-10-20T05:54:36.973Z] INFO: No Stack... [2020-10-20T05:54:37.931Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-20T05:54:38.506Z] INFO: Archiving Costs [Pipeline] echo [2020-10-20T05:54:38.543Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T05:54:38.879Z] ---> logs-deploy.sh [2020-10-20T05:54:38.880Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-634/1 [2020-10-20T05:54:38.880Z] INFO: archiving workspace using pattern(s): [2020-10-20T05:54:40.801Z] Archives upload complete. [2020-10-20T05:54:40.801Z] INFO: archiving logs to Nexus