Pull request #600 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dc954164ebb5d503321f0d6678cc193a22677244+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (81def73369c4dca21c25b2fd89901df6a6393932) 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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-600/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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > 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-600/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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1473 in /w/workspace/dgexfoundry_device-sdk-go_PR-600 [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-600 # 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/600/head:refs/remotes/origin/PR-600 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit dc954164ebb5d503321f0d6678cc193a22677244 Merge succeeded, producing dc954164ebb5d503321f0d6678cc193a22677244 Checking out Revision dc954164ebb5d503321f0d6678cc193a22677244 (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f dc954164ebb5d503321f0d6678cc193a22677244 # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc954164ebb5d503321f0d6678cc193a22677244 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-25T06:30:13.393Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-25T06:30:13.733Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-25T06:30:13.946Z] ========================================================= [2020-09-25T06:30:13.946Z] EdgeX Global Pipelines Version Info [2020-09-25T06:30:13.946Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-25T06:30:15.473Z] ------------------- [2020-09-25T06:30:15.473Z] stable info: [2020-09-25T06:30:15.473Z] ------------------- [2020-09-25T06:30:15.473Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-25T06:30:15.473Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-25T06:30:15.473Z] Message: update stable to v1.0.128 [2020-09-25T06:30:16.416Z] ------------------- [2020-09-25T06:30:16.416Z] experimental info: [2020-09-25T06:30:16.417Z] ------------------- [2020-09-25T06:30:16.417Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-25T06:30:16.417Z] Commit SHA: db8a1d80b86ca0f96dca4d6027083ac3162e2a74 [2020-09-25T06:30:16.417Z] Message: update experimental to v1.0.129 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-25T06:30:16.930Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-25T06:30:17.067Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-25T06:30:17.200Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-25T06:30:17.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-25T06:30:17.492Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-25T06:30:17.621Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-25T06:30:17.752Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-25T06:30:17.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-25T06:30:18.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-25T06:30:18.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-25T06:30:18.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-25T06:30:18.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-25T06:30:18.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-25T06:30:18.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-25T06:30:18.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-25T06:30:18.947Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-25T06:30:19.068Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-25T06:30:19.194Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-25T06:30:19.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-25T06:30:19.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-25T06:30:19.637Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-25T06:30:19.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-25T06:30:19.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-25T06:30:20.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-25T06:30:20.214Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-25T06:30:20.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo [2020-09-25T06:30:20.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo [2020-09-25T06:30:20.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo [2020-09-25T06:30:20.909Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc954164ebb5d503321f0d6678cc193a22677244 [Pipeline] echo [2020-09-25T06:30:21.028Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc95416 [Pipeline] echo [2020-09-25T06:30:21.145Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-25T06:30:21.884Z] + git log --format=format:%s -1 dc954164ebb5d503321f0d6678cc193a22677244 [Pipeline] echo [2020-09-25T06:30:21.964Z] GIT_COMMIT: dc954164ebb5d503321f0d6678cc193a22677244, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo [2020-09-25T06:30:22.033Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:30:22.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-25T06:30:22.640Z] [2020-09-25T06:30:22.640Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:30:23.039Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-25T06:30:23.039Z] latest: Pulling from edgex-devops/git-semver [2020-09-25T06:30:23.039Z] 31603596830f: Pulling fs layer [2020-09-25T06:30:23.039Z] 2a8b12db71e7: Pulling fs layer [2020-09-25T06:30:23.039Z] 6ca5941a6612: Pulling fs layer [2020-09-25T06:30:23.039Z] ecc8261a40a4: Pulling fs layer [2020-09-25T06:30:23.039Z] ecc8261a40a4: Waiting [2020-09-25T06:30:23.039Z] 2a8b12db71e7: Verifying Checksum [2020-09-25T06:30:23.039Z] 2a8b12db71e7: Download complete [2020-09-25T06:30:23.301Z] 31603596830f: Verifying Checksum [2020-09-25T06:30:23.301Z] 31603596830f: Download complete [2020-09-25T06:30:23.301Z] 6ca5941a6612: Verifying Checksum [2020-09-25T06:30:23.301Z] 6ca5941a6612: Download complete [2020-09-25T06:30:23.301Z] ecc8261a40a4: Verifying Checksum [2020-09-25T06:30:23.301Z] ecc8261a40a4: Download complete [2020-09-25T06:30:23.561Z] 31603596830f: Pull complete [2020-09-25T06:30:23.561Z] 2a8b12db71e7: Pull complete [2020-09-25T06:30:24.504Z] 6ca5941a6612: Pull complete [2020-09-25T06:30:24.766Z] ecc8261a40a4: Pull complete [2020-09-25T06:30:24.766Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-25T06:30:24.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-25T06:30:24.766Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-25T06:30:24.922Z] prd-centos7-docker-4c-2g-1473 does not seem to be running inside a container [2020-09-25T06:30:24.966Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-600 -v /w/workspace/dgexfoundry_device-sdk-go_PR-600:/w/workspace/dgexfoundry_device-sdk-go_PR-600:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-600@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-09-25T06:30:26.264Z] $ docker top a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-25T06:30:26.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-25T06:30:26.684Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-25T06:30:26.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-25T06:30:26.870Z] $ docker exec a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 ssh-agent [2020-09-25T06:30:27.015Z] SSH_AUTH_SOCK=/tmp/ssh-JkQdP3pQgqqi/agent.12 [2020-09-25T06:30:27.015Z] SSH_AGENT_PID=18 [2020-09-25T06:30:27.026Z] Running ssh-add (command line suppressed) [2020-09-25T06:30:27.142Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_489259761552258204.key (/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_489259761552258204.key) [2020-09-25T06:30:27.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-25T06:30:27.568Z] + git describe --exact-match --tags HEAD [2020-09-25T06:30:27.568Z] fatal: no tag exactly matches 'dc954164ebb5d503321f0d6678cc193a22677244' [Pipeline] } [2020-09-25T06:30:27.619Z] $ docker exec --env ******** --env ******** a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 ssh-agent -k [2020-09-25T06:30:27.724Z] unset SSH_AUTH_SOCK; [2020-09-25T06:30:27.725Z] unset SSH_AGENT_PID; [2020-09-25T06:30:27.725Z] echo Agent pid 18 killed; [2020-09-25T06:30:27.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-25T06:30:27.921Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-25T06:30:27.921Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-25T06:30:28.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-25T06:30:28.039Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-25T06:30:28.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-25T06:30:28.193Z] $ docker exec a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 ssh-agent [2020-09-25T06:30:28.337Z] SSH_AUTH_SOCK=/tmp/ssh-k3HRtlWWRPnH/agent.47 [2020-09-25T06:30:28.337Z] SSH_AGENT_PID=53 [2020-09-25T06:30:28.344Z] Running ssh-add (command line suppressed) [2020-09-25T06:30:28.465Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_4553253296197748338.key (/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/private_key_4553253296197748338.key) [2020-09-25T06:30:28.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-25T06:30:28.884Z] + git semver init [2020-09-25T06:30:28.884Z] # -> Open(): unable to determine branch for HEAD [2020-09-25T06:30:28.884Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-600/.git [2020-09-25T06:30:28.884Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-600 [2020-09-25T06:30:28.884Z] # $SEMVER_REMOTE_NAME = origin [2020-09-25T06:30:28.884Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-25T06:30:28.884Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-25T06:30:28.884Z] # $SEMVER_BRANCH = PR-600 [2020-09-25T06:30:28.884Z] # $SEMVER_TEMP = /tmp/semver-909520486 [2020-09-25T06:30:28.884Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-25T06:30:29.456Z] # '/tmp/semver-909520486' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-600/.semver' [2020-09-25T06:30:29.456Z] # -> Force: false [2020-09-25T06:30:29.456Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-600/.semver [Pipeline] } [2020-09-25T06:30:29.480Z] $ docker exec --env ******** --env ******** a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 ssh-agent -k [2020-09-25T06:30:29.580Z] unset SSH_AUTH_SOCK; [2020-09-25T06:30:29.580Z] unset SSH_AGENT_PID; [2020-09-25T06:30:29.580Z] echo Agent pid 53 killed; [2020-09-25T06:30:29.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-25T06:30:30.171Z] + git semver [Pipeline] } [2020-09-25T06:30:30.247Z] $ docker stop --time=1 a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 [2020-09-25T06:30:31.650Z] $ docker rm -f a7b59318f114fd314c854ce0cf9fb38b0fe974cb9d4777b8f2753273ddad6930 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-25T06:30:32.541Z] Stashed 39 file(s) [Pipeline] echo [2020-09-25T06:30:32.566Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-25T06:30:32.711Z] Archived original 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-09-25T06:30:48.425Z] Still waiting to schedule task [2020-09-25T06:30:48.425Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-25T06:30:48.454Z] Still waiting to schedule task [2020-09-25T06:30:48.455Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-25T06:32:40.641Z] Running on prd-centos7-docker-4c-2g-1476 in /w/workspace/dgexfoundry_device-sdk-go_PR-600 [Pipeline] { [Pipeline] ws [2020-09-25T06:32:40.730Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-25T06:32:43.689Z] using credential edgex-jenkins-ssh [2020-09-25T06:32:43.740Z] Cloning the remote Git repository [2020-09-25T06:32:43.779Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-25T06:32:43.854Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-25T06:32:44.409Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-25T06:32:44.409Z] > git --version # timeout=10 [2020-09-25T06:32:44.419Z] > git --version # 'git version 2.16.5' [2020-09-25T06:32:44.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-25T06:32:44.457Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-25T06:32:45.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-25T06:32:45.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-25T06:32:45.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-25T06:32:45.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-25T06:32:45.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-25T06:32:45.253Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-25T06:32:45.631Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit dc954164ebb5d503321f0d6678cc193a22677244 [2020-09-25T06:32:45.720Z] Merge succeeded, producing dc954164ebb5d503321f0d6678cc193a22677244 [2020-09-25T06:32:45.721Z] Checking out Revision dc954164ebb5d503321f0d6678cc193a22677244 (PR-600) [2020-09-25T06:32:45.647Z] > git config core.sparsecheckout # timeout=10 [2020-09-25T06:32:45.652Z] > git checkout -f dc954164ebb5d503321f0d6678cc193a22677244 # timeout=10 [2020-09-25T06:32:45.697Z] > git remote # timeout=10 [2020-09-25T06:32:45.703Z] > git config --get remote.origin.url # timeout=10 [2020-09-25T06:32:45.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-25T06:32:45.712Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-25T06:32:45.721Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-25T06:32:45.731Z] > git config core.sparsecheckout # timeout=10 [2020-09-25T06:32:45.735Z] > git checkout -f dc954164ebb5d503321f0d6678cc193a22677244 # timeout=10 [2020-09-25T06:32:49.363Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [2020-09-25T06:32:49.397Z] > git --version # timeout=10 [2020-09-25T06:32:49.401Z] > git --version # 'git version 2.16.5' [2020-09-25T06:32:49.408Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-25T06:32:50.710Z] ========================================================= [2020-09-25T06:32:50.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-25T06:32:50.710Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:32:51.527Z] + 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-09-25T06:32:51.791Z] Sending build context to Docker daemon 3.363MB [2020-09-25T06:32:51.791Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-25T06:32:51.791Z] Step 2/8 : FROM ${BASE} [2020-09-25T06:32:52.061Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-25T06:32:52.061Z] df20fa9351a1: Pulling fs layer [2020-09-25T06:32:52.061Z] ed8968b2872e: Pulling fs layer [2020-09-25T06:32:52.061Z] a92cc7c5fd73: Pulling fs layer [2020-09-25T06:32:52.061Z] e871e8e8d7a9: Pulling fs layer [2020-09-25T06:32:52.061Z] e73272ec9a57: Pulling fs layer [2020-09-25T06:32:52.061Z] 1e910a182e73: Pulling fs layer [2020-09-25T06:32:52.061Z] 4e634b169226: Pulling fs layer [2020-09-25T06:32:52.061Z] e73272ec9a57: Waiting [2020-09-25T06:32:52.061Z] 1e910a182e73: Waiting [2020-09-25T06:32:52.061Z] 4e634b169226: Waiting [2020-09-25T06:32:52.061Z] e871e8e8d7a9: Waiting [2020-09-25T06:32:52.061Z] a92cc7c5fd73: Verifying Checksum [2020-09-25T06:32:52.061Z] a92cc7c5fd73: Download complete [2020-09-25T06:32:52.061Z] ed8968b2872e: Verifying Checksum [2020-09-25T06:32:52.061Z] ed8968b2872e: Download complete [2020-09-25T06:32:52.061Z] e73272ec9a57: Verifying Checksum [2020-09-25T06:32:52.061Z] e73272ec9a57: Download complete [2020-09-25T06:32:52.061Z] 1e910a182e73: Verifying Checksum [2020-09-25T06:32:52.061Z] 1e910a182e73: Download complete [2020-09-25T06:32:52.061Z] df20fa9351a1: Verifying Checksum [2020-09-25T06:32:52.061Z] df20fa9351a1: Download complete [2020-09-25T06:32:52.331Z] df20fa9351a1: Pull complete [2020-09-25T06:32:52.595Z] ed8968b2872e: Pull complete [2020-09-25T06:32:52.595Z] a92cc7c5fd73: Pull complete [2020-09-25T06:32:54.520Z] 4e634b169226: Verifying Checksum [2020-09-25T06:32:54.520Z] 4e634b169226: Download complete [2020-09-25T06:32:54.520Z] e871e8e8d7a9: Verifying Checksum [2020-09-25T06:32:54.520Z] e871e8e8d7a9: Download complete [2020-09-25T06:32:59.844Z] e871e8e8d7a9: Pull complete [2020-09-25T06:33:00.422Z] e73272ec9a57: Pull complete [2020-09-25T06:33:00.687Z] 1e910a182e73: Pull complete [2020-09-25T06:33:04.920Z] 4e634b169226: Pull complete [2020-09-25T06:33:04.920Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-25T06:33:04.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-25T06:33:04.920Z] ---> f7629b54cfaa [2020-09-25T06:33:04.920Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-25T06:33:04.920Z] ---> Running in 51f89e5fd572 [2020-09-25T06:33:04.920Z] Removing intermediate container 51f89e5fd572 [2020-09-25T06:33:04.920Z] ---> 7f76f8510895 [2020-09-25T06:33:04.920Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-25T06:33:04.921Z] ---> Running in 627ab809c664 [2020-09-25T06:33:06.859Z] Removing intermediate container 627ab809c664 [2020-09-25T06:33:06.859Z] ---> 6c624fa041ba [2020-09-25T06:33:06.859Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-25T06:33:06.859Z] ---> Running in 9c339113446d [2020-09-25T06:33:07.123Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-25T06:33:08.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-25T06:33:08.648Z] OK: 166 MiB in 39 packages [2020-09-25T06:33:08.910Z] Removing intermediate container 9c339113446d [2020-09-25T06:33:08.910Z] ---> 80315c869d1b [2020-09-25T06:33:08.910Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-25T06:33:09.192Z] ---> Running in 28e95fa79647 [2020-09-25T06:33:09.192Z] Removing intermediate container 28e95fa79647 [2020-09-25T06:33:09.192Z] ---> ef6fb8570ac4 [2020-09-25T06:33:09.192Z] Step 7/8 : COPY . . [2020-09-25T06:33:10.592Z] ---> 3a13440b5673 [2020-09-25T06:33:10.592Z] Step 8/8 : RUN go mod download [2020-09-25T06:33:10.592Z] ---> Running in 8fd67adafede [2020-09-25T06:33:22.918Z] Removing intermediate container 8fd67adafede [2020-09-25T06:33:22.918Z] ---> 0b21d6c0100e [2020-09-25T06:33:22.918Z] Successfully built 0b21d6c0100e [2020-09-25T06:33:22.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:33:23.328Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-25T06:33:23.328Z] . [Pipeline] withDockerContainer [2020-09-25T06:33:23.458Z] prd-centos7-docker-4c-2g-1476 does not seem to be running inside a container [2020-09-25T06:33:23.514Z] $ 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-09-25T06:33:24.773Z] $ docker top 85e7d750069be85444917155a51ec773f0e3d7ccd7a8fdc4f4488b7260f2e262 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-25T06:33:25.364Z] + go version [2020-09-25T06:33:25.364Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-25T06:33:25.403Z] $ docker stop --time=1 85e7d750069be85444917155a51ec773f0e3d7ccd7a8fdc4f4488b7260f2e262 [2020-09-25T06:33:26.764Z] $ docker rm -f 85e7d750069be85444917155a51ec773f0e3d7ccd7a8fdc4f4488b7260f2e262 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-25T06:33:27.371Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1477 in /w/workspace/dgexfoundry_device-sdk-go_PR-600 [Pipeline] stage [Pipeline] { (Test) [Pipeline] { [Pipeline] ws [2020-09-25T06:33:27.512Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:33:28.128Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-25T06:33:28.128Z] . [Pipeline] withDockerContainer [2020-09-25T06:33:28.247Z] prd-centos7-docker-4c-2g-1476 does not seem to be running inside a container [2020-09-25T06:33:28.301Z] $ 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-09-25T06:33:28.881Z] $ docker top c7b2309b9edc548c09e2d3cd6839308ac38ef2b03d8ee833ca66e469b6c29370 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-25T06:33:29.413Z] + make test [2020-09-25T06:33:29.413Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-25T06:33:32.610Z] using credential edgex-jenkins-ssh [2020-09-25T06:33:32.672Z] Cloning the remote Git repository [2020-09-25T06:33:32.710Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-25T06:33:32.824Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-25T06:33:32.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-25T06:33:32.904Z] > git --version # timeout=10 [2020-09-25T06:33:32.923Z] > git --version # 'git version 2.17.1' [2020-09-25T06:33:32.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-25T06:33:33.017Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-25T06:33:34.594Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit dc954164ebb5d503321f0d6678cc193a22677244 [2020-09-25T06:33:34.931Z] Merge succeeded, producing dc954164ebb5d503321f0d6678cc193a22677244 [2020-09-25T06:33:34.931Z] Checking out Revision dc954164ebb5d503321f0d6678cc193a22677244 (PR-600) [2020-09-25T06:33:34.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-25T06:33:34.028Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-25T06:33:34.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-25T06:33:34.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-25T06:33:34.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-25T06:33:34.131Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-25T06:33:34.601Z] > git config core.sparsecheckout # timeout=10 [2020-09-25T06:33:34.623Z] > git checkout -f dc954164ebb5d503321f0d6678cc193a22677244 # timeout=10 [2020-09-25T06:33:34.746Z] > git remote # timeout=10 [2020-09-25T06:33:34.764Z] > git config --get remote.origin.url # timeout=10 [2020-09-25T06:33:34.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-25T06:33:34.837Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-25T06:33:34.895Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-25T06:33:34.926Z] > git config core.sparsecheckout # timeout=10 [2020-09-25T06:33:34.945Z] > git checkout -f dc954164ebb5d503321f0d6678cc193a22677244 # timeout=10 [2020-09-25T06:33:36.050Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-25T06:33:39.434Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [2020-09-25T06:33:39.478Z] > git --version # timeout=10 [2020-09-25T06:33:39.489Z] > git --version # 'git version 2.17.1' [2020-09-25T06:33:39.502Z] fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-25T06:33:41.032Z] ========================================================= [2020-09-25T06:33:41.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-25T06:33:41.033Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:33:42.276Z] + 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-09-25T06:33:43.263Z] Sending build context to Docker daemon 3.365MB [2020-09-25T06:33:43.263Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-25T06:33:43.263Z] Step 2/8 : FROM ${BASE} [2020-09-25T06:33:43.540Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-25T06:33:43.540Z] b538f80385f9: Pulling fs layer [2020-09-25T06:33:43.540Z] 74f711af9a0d: Pulling fs layer [2020-09-25T06:33:43.540Z] 99f96fe45779: Pulling fs layer [2020-09-25T06:33:43.540Z] 8529a6b9a6be: Pulling fs layer [2020-09-25T06:33:43.540Z] 45590311c82a: Pulling fs layer [2020-09-25T06:33:43.540Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-25T06:33:43.540Z] 209524e5b208: Pulling fs layer [2020-09-25T06:33:43.540Z] 8529a6b9a6be: Waiting [2020-09-25T06:33:43.540Z] 45590311c82a: Waiting [2020-09-25T06:33:43.540Z] 69ca0ff8b7b3: Waiting [2020-09-25T06:33:43.540Z] 209524e5b208: Waiting [2020-09-25T06:33:43.540Z] 99f96fe45779: Verifying Checksum [2020-09-25T06:33:43.540Z] 99f96fe45779: Download complete [2020-09-25T06:33:43.540Z] 74f711af9a0d: Download complete [2020-09-25T06:33:43.540Z] 45590311c82a: Verifying Checksum [2020-09-25T06:33:43.540Z] 45590311c82a: Download complete [2020-09-25T06:33:43.540Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-25T06:33:43.540Z] 69ca0ff8b7b3: Download complete [2020-09-25T06:33:43.821Z] b538f80385f9: Verifying Checksum [2020-09-25T06:33:43.821Z] b538f80385f9: Download complete [2020-09-25T06:33:44.435Z] b538f80385f9: Pull complete [2020-09-25T06:33:45.037Z] 74f711af9a0d: Pull complete [2020-09-25T06:33:45.322Z] 99f96fe45779: Pull complete [2020-09-25T06:33:46.310Z] 209524e5b208: Verifying Checksum [2020-09-25T06:33:46.310Z] 209524e5b208: Download complete [2020-09-25T06:33:47.296Z] 8529a6b9a6be: Verifying Checksum [2020-09-25T06:33:47.296Z] 8529a6b9a6be: Download complete [2020-09-25T06:33:48.392Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-25T06:33:48.393Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-25T06:33:48.393Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-25T06:33:48.667Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.039s coverage: 21.9% of statements [2020-09-25T06:33:50.082Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.462s coverage: 95.7% of statements [2020-09-25T06:33:57.471Z] 8529a6b9a6be: Pull complete [2020-09-25T06:33:57.745Z] 45590311c82a: Pull complete [2020-09-25T06:33:58.020Z] 69ca0ff8b7b3: Pull complete [2020-09-25T06:34:02.341Z] 209524e5b208: Pull complete [2020-09-25T06:34:02.341Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-25T06:34:02.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-25T06:34:02.341Z] ---> 5bddaf1c2fca [2020-09-25T06:34:02.341Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-25T06:34:04.978Z] ---> Running in 9f44d7ec40f1 [2020-09-25T06:34:04.978Z] Removing intermediate container 9f44d7ec40f1 [2020-09-25T06:34:04.978Z] ---> 8509df7c6bba [2020-09-25T06:34:04.978Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-25T06:34:04.978Z] ---> Running in b3afebca57af [2020-09-25T06:34:07.598Z] Removing intermediate container b3afebca57af [2020-09-25T06:34:07.598Z] ---> b4ddc90968dc [2020-09-25T06:34:07.598Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-25T06:34:07.598Z] ---> Running in af2972de2067 [2020-09-25T06:34:09.033Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-25T06:34:09.625Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-25T06:34:10.603Z] OK: 142 MiB in 39 packages [2020-09-25T06:34:11.588Z] Removing intermediate container af2972de2067 [2020-09-25T06:34:11.588Z] ---> 886d41ef1006 [2020-09-25T06:34:11.588Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-25T06:34:11.588Z] ---> Running in 08e5158440e9 [2020-09-25T06:34:12.189Z] Removing intermediate container 08e5158440e9 [2020-09-25T06:34:12.189Z] ---> 6e2d26a51a18 [2020-09-25T06:34:12.189Z] Step 7/8 : COPY . . [2020-09-25T06:34:13.628Z] ---> 8afee21200ff [2020-09-25T06:34:13.628Z] Step 8/8 : RUN go mod download [2020-09-25T06:34:13.628Z] ---> Running in 5b6946d67b49 [2020-09-25T06:34:22.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.034s coverage: 8.6% of statements [2020-09-25T06:34:22.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.037s coverage: 21.7% of statements [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-25T06:34:22.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.181s coverage: 37.0% of statements [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-25T06:34:22.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.262s coverage: 65.4% of statements [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-25T06:34:22.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.081s coverage: 52.6% of statements [2020-09-25T06:34:22.235Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.240s coverage: 68.9% of statements [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-25T06:34:22.235Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-25T06:34:22.235Z] GO111MODULE=on go vet ./... [2020-09-25T06:34:27.606Z] gofmt -l . [2020-09-25T06:34:27.606Z] [ "`gofmt -l .`" = "" ] [2020-09-25T06:34:27.606Z] ./bin/test-attribution-txt.sh [2020-09-25T06:34:28.183Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-25T06:34:28.503Z] Stashed 1 file(s) [Pipeline] } [2020-09-25T06:34:28.533Z] $ docker stop --time=1 c7b2309b9edc548c09e2d3cd6839308ac38ef2b03d8ee833ca66e469b6c29370 [2020-09-25T06:34:28.737Z] Removing intermediate container 5b6946d67b49 [2020-09-25T06:34:28.738Z] ---> 7944e4783624 [2020-09-25T06:34:28.738Z] Successfully built 7944e4783624 [2020-09-25T06:34:28.738Z] Successfully tagged ci-base-image-arm64:latest [2020-09-25T06:34:31.387Z] $ docker rm -f c7b2309b9edc548c09e2d3cd6839308ac38ef2b03d8ee833ca66e469b6c29370 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:34:32.494Z] + docker inspect -f . ci-base-image-arm64 [2020-09-25T06:34:32.494Z] . [Pipeline] sh [Pipeline] withDockerContainer [2020-09-25T06:34:36.953Z] + sudo chown -R jenkins:jenkins . [2020-09-25T06:34:36.992Z] prd-ubuntu18.04-docker-arm64-4c-16g-1477 does not seem to be running inside a container [2020-09-25T06:34:37.083Z] $ 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-09-25T06:34:38.958Z] $ docker top 058abd527ba2793042354e9732dff373c7c3e2c578a3a05f5d99f52dc02bb594 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-09-25T06:34:39.720Z] + ls -al . [2020-09-25T06:34:39.720Z] total 188 [2020-09-25T06:34:39.720Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 25 06:34 . [2020-09-25T06:34:39.720Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 25 06:32 .. [2020-09-25T06:34:39.720Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 25 06:32 bin [2020-09-25T06:34:39.720Z] -rw-r--r--. 1 jenkins jenkins 111696 Sep 25 06:34 coverage.out [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 25 06:32 Dockerfile.build [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 25 06:32 .dockerignore [2020-09-25T06:34:39.720Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 25 06:32 example [2020-09-25T06:34:39.720Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 25 06:32 .git [2020-09-25T06:34:39.720Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 25 06:32 .github [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 25 06:32 .gitignore [2020-09-25T06:34:39.720Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 25 06:34 go.mod [2020-09-25T06:34:39.720Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 25 06:34 go.sum [2020-09-25T06:34:39.720Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 25 06:32 internal [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 25 06:32 Jenkinsfile [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 25 06:32 LICENSE [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 25 06:32 Makefile [2020-09-25T06:34:39.720Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 25 06:32 openapi [2020-09-25T06:34:39.720Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 25 06:32 pkg [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 25 06:32 README.md [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 25 06:32 RELEASE-NOTES.txt [2020-09-25T06:34:39.720Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 25 06:32 .semver [2020-09-25T06:34:39.720Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 25 06:32 snap [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 25 06:30 VERSION [2020-09-25T06:34:39.720Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 25 06:32 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:34:40.059Z] + 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=dc954164ebb5d503321f0d6678cc193a22677244 --label arch=amd64 --label version=0.0.0 . [2020-09-25T06:34:40.321Z] Sending build context to Docker daemon 3.477MB [2020-09-25T06:34:40.321Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-25T06:34:40.321Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-25T06:34:40.321Z] ---> 0b21d6c0100e [2020-09-25T06:34:40.321Z] Step 3/24 : ARG MAKE='make build' [2020-09-25T06:34:40.505Z] + go version [2020-09-25T06:34:40.505Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-25T06:34:40.545Z] $ docker stop --time=1 058abd527ba2793042354e9732dff373c7c3e2c578a3a05f5d99f52dc02bb594 [2020-09-25T06:34:40.894Z] ---> Running in eabcd1ee5dc8 [2020-09-25T06:34:40.894Z] Removing intermediate container eabcd1ee5dc8 [2020-09-25T06:34:40.894Z] ---> 1385e49c8a63 [2020-09-25T06:34:40.894Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-25T06:34:41.156Z] ---> Running in 74d460aeb120 [2020-09-25T06:34:41.156Z] Removing intermediate container 74d460aeb120 [2020-09-25T06:34:41.156Z] ---> 958fffce4f8c [2020-09-25T06:34:41.156Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-25T06:34:41.419Z] ---> Running in 840ee47d10c3 [2020-09-25T06:34:41.419Z] Removing intermediate container 840ee47d10c3 [2020-09-25T06:34:41.419Z] ---> f05f2ccc0663 [2020-09-25T06:34:41.419Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-25T06:34:41.686Z] ---> Running in 85a357fccf83 [2020-09-25T06:34:42.473Z] $ docker rm -f 058abd527ba2793042354e9732dff373c7c3e2c578a3a05f5d99f52dc02bb594 [2020-09-25T06:34:42.635Z] Removing intermediate container 85a357fccf83 [2020-09-25T06:34:42.635Z] ---> 68949fa7adb8 [2020-09-25T06:34:42.635Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-25T06:34:42.635Z] ---> Running in a03c352218b6 [Pipeline] // withDockerContainer [2020-09-25T06:34:42.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-09-25T06:34:43.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:34:43.831Z] + docker inspect -f . ci-base-image-arm64 [2020-09-25T06:34:43.831Z] . [Pipeline] withDockerContainer [2020-09-25T06:34:44.122Z] prd-ubuntu18.04-docker-arm64-4c-16g-1477 does not seem to be running inside a container [2020-09-25T06:34:44.213Z] $ 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-09-25T06:34:44.416Z] OK: 166 MiB in 39 packages [2020-09-25T06:34:44.678Z] Removing intermediate container a03c352218b6 [2020-09-25T06:34:44.678Z] ---> 65eaca4e2afe [2020-09-25T06:34:44.678Z] Step 8/24 : COPY . . [2020-09-25T06:34:45.624Z] ---> 7c55ad17f7f7 [2020-09-25T06:34:45.624Z] Step 9/24 : RUN ${MAKE} [2020-09-25T06:34:45.624Z] ---> Running in 90bf9fb9e356 [2020-09-25T06:34:46.122Z] $ docker top cc2e80010e493c9d1b35a1e425bab420855382d0b7179d639bc08db0fd1b3735 -eo pid,comm [2020-09-25T06:34:46.203Z] 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 [Pipeline] { [Pipeline] sh [2020-09-25T06:34:47.615Z] + make test [2020-09-25T06:34:47.615Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-25T06:34:52.926Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-25T06:34:55.492Z] Removing intermediate container 90bf9fb9e356 [2020-09-25T06:34:55.492Z] ---> 0c3c6d416207 [2020-09-25T06:34:55.492Z] Step 10/24 : FROM scratch [2020-09-25T06:34:55.492Z] ---> [2020-09-25T06:34:55.492Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-25T06:34:55.492Z] ---> Running in 4f03b52f6773 [2020-09-25T06:34:55.492Z] Removing intermediate container 4f03b52f6773 [2020-09-25T06:34:55.492Z] ---> cbbf03e3eed0 [2020-09-25T06:34:55.492Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-25T06:34:55.492Z] ---> Running in 56613fff34fa [2020-09-25T06:34:55.492Z] Removing intermediate container 56613fff34fa [2020-09-25T06:34:55.492Z] ---> 0cea7a261da2 [2020-09-25T06:34:55.492Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-25T06:34:55.756Z] ---> Running in 7ff11950dfb7 [2020-09-25T06:34:55.756Z] Removing intermediate container 7ff11950dfb7 [2020-09-25T06:34:55.756Z] ---> e4dc2fa729e7 [2020-09-25T06:34:55.756Z] Step 14/24 : WORKDIR / [2020-09-25T06:34:56.019Z] ---> Running in 5ee62904c146 [2020-09-25T06:34:56.019Z] Removing intermediate container 5ee62904c146 [2020-09-25T06:34:56.019Z] ---> 60492884b090 [2020-09-25T06:34:56.019Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-25T06:34:56.597Z] ---> d5a5ebd479bd [2020-09-25T06:34:56.597Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-25T06:34:56.860Z] ---> 9b919d8475c2 [2020-09-25T06:34:56.860Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-25T06:34:56.860Z] ---> a31b144fbdb4 [2020-09-25T06:34:56.860Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-25T06:34:57.124Z] ---> f782338b1944 [2020-09-25T06:34:57.124Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-25T06:34:57.388Z] ---> 476860744d2d [2020-09-25T06:34:57.388Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-25T06:34:57.388Z] ---> Running in bb5230dd7f41 [2020-09-25T06:34:57.658Z] Removing intermediate container bb5230dd7f41 [2020-09-25T06:34:57.658Z] ---> 7cd8314527f3 [2020-09-25T06:34:57.658Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-25T06:34:57.658Z] ---> Running in 6c5800427f8f [2020-09-25T06:34:57.921Z] Removing intermediate container 6c5800427f8f [2020-09-25T06:34:57.921Z] ---> f0db7ff3d48a [2020-09-25T06:34:57.921Z] Step 22/24 : LABEL arch=amd64 [2020-09-25T06:34:57.921Z] ---> Running in cd81dac01e28 [2020-09-25T06:34:58.183Z] Removing intermediate container cd81dac01e28 [2020-09-25T06:34:58.183Z] ---> 2bbc88c995c3 [2020-09-25T06:34:58.183Z] Step 23/24 : LABEL git_sha=dc954164ebb5d503321f0d6678cc193a22677244 [2020-09-25T06:34:58.183Z] ---> Running in 6f3d2d549e4a [2020-09-25T06:34:58.447Z] Removing intermediate container 6f3d2d549e4a [2020-09-25T06:34:58.447Z] ---> 9120309fb52a [2020-09-25T06:34:58.447Z] Step 24/24 : LABEL version=0.0.0 [2020-09-25T06:34:58.447Z] ---> Running in ccfb60a07cdb [2020-09-25T06:34:58.447Z] Removing intermediate container ccfb60a07cdb [2020-09-25T06:34:58.447Z] ---> f88975db3a95 [2020-09-25T06:34:58.447Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-25T06:34:58.447Z] Successfully built f88975db3a95 [2020-09-25T06:34:58.447Z] 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-09-25T06:35:09.807Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-25T06:35:48.885Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-25T06:35:48.885Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-25T06:35:48.885Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-25T06:35:48.885Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.9% of statements [2020-09-25T06:35:48.885Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.216s coverage: 95.7% of statements [2020-09-25T06:36:21.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 8.6% of statements [2020-09-25T06:36:21.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.082s coverage: 21.7% of statements [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-25T06:36:21.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.428s coverage: 37.0% of statements [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-25T06:36:21.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.690s coverage: 65.4% of statements [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-25T06:36:21.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.145s coverage: 52.6% of statements [2020-09-25T06:36:21.264Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.632s coverage: 68.9% of statements [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-25T06:36:21.264Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-25T06:36:21.264Z] GO111MODULE=on go vet ./... [2020-09-25T06:36:48.279Z] gofmt -l . [2020-09-25T06:36:48.279Z] [ "`gofmt -l .`" = "" ] [2020-09-25T06:36:48.279Z] ./bin/test-attribution-txt.sh [2020-09-25T06:36:48.279Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-25T06:36:48.322Z] Warning: overwriting stash ‘coverage-report’ [2020-09-25T06:36:49.062Z] Stashed 1 file(s) [Pipeline] } [2020-09-25T06:36:49.094Z] $ docker stop --time=1 cc2e80010e493c9d1b35a1e425bab420855382d0b7179d639bc08db0fd1b3735 [2020-09-25T06:36:51.312Z] $ docker rm -f cc2e80010e493c9d1b35a1e425bab420855382d0b7179d639bc08db0fd1b3735 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-25T06:36:53.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-25T06:36:53.579Z] + ls -al . [2020-09-25T06:36:53.579Z] total 228 [2020-09-25T06:36:53.579Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 06:36 . [2020-09-25T06:36:53.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:33 .. [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 06:33 .dockerignore [2020-09-25T06:36:53.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 06:33 .git [2020-09-25T06:36:53.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:33 .github [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 25 06:33 .gitignore [2020-09-25T06:36:53.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:33 .semver [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 25 06:33 Dockerfile.build [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 25 06:33 Jenkinsfile [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 25 06:33 LICENSE [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 25 06:33 Makefile [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 25 06:33 README.md [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 25 06:33 RELEASE-NOTES.txt [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 06:30 VERSION [2020-09-25T06:36:53.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:33 bin [2020-09-25T06:36:53.579Z] -rw-r--r-- 1 jenkins jenkins 111696 Sep 25 06:36 coverage.out [2020-09-25T06:36:53.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:33 example [2020-09-25T06:36:53.579Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 25 06:36 go.mod [2020-09-25T06:36:53.579Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 25 06:36 go.sum [2020-09-25T06:36:53.579Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 25 06:33 internal [2020-09-25T06:36:53.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:33 openapi [2020-09-25T06:36:53.579Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 25 06:33 pkg [2020-09-25T06:36:53.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:33 snap [2020-09-25T06:36:53.579Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 25 06:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:36:53.964Z] + 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=dc954164ebb5d503321f0d6678cc193a22677244 --label arch=arm64 --label version=0.0.0 . [2020-09-25T06:36:54.569Z] Sending build context to Docker daemon 3.479MB [2020-09-25T06:36:54.569Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-25T06:36:54.569Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-25T06:36:54.569Z] ---> 7944e4783624 [2020-09-25T06:36:54.569Z] Step 3/24 : ARG MAKE='make build' [2020-09-25T06:36:54.841Z] ---> Running in 4163260ff5d0 [2020-09-25T06:36:55.113Z] Removing intermediate container 4163260ff5d0 [2020-09-25T06:36:55.113Z] ---> 32edce6252d7 [2020-09-25T06:36:55.113Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-25T06:36:55.386Z] ---> Running in 841bd36cac61 [2020-09-25T06:36:55.659Z] Removing intermediate container 841bd36cac61 [2020-09-25T06:36:55.659Z] ---> 76a82aa63315 [2020-09-25T06:36:55.659Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-25T06:36:55.933Z] ---> Running in 2f28d961f0c5 [2020-09-25T06:36:56.529Z] Removing intermediate container 2f28d961f0c5 [2020-09-25T06:36:56.529Z] ---> a371583e1acb [2020-09-25T06:36:56.529Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-25T06:36:56.529Z] ---> Running in 761af6bd8d88 [2020-09-25T06:36:59.147Z] Removing intermediate container 761af6bd8d88 [2020-09-25T06:36:59.147Z] ---> 0c5ae1e79f47 [2020-09-25T06:36:59.147Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-25T06:36:59.147Z] ---> Running in 6f7180747884 [2020-09-25T06:37:00.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-25T06:37:01.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-25T06:37:02.158Z] OK: 142 MiB in 39 packages [2020-09-25T06:37:03.141Z] Removing intermediate container 6f7180747884 [2020-09-25T06:37:03.141Z] ---> 077864884c6b [2020-09-25T06:37:03.141Z] Step 8/24 : COPY . . [2020-09-25T06:37:04.579Z] ---> 611e2d1bddcc [2020-09-25T06:37:04.579Z] Step 9/24 : RUN ${MAKE} [2020-09-25T06:37:04.856Z] ---> Running in 3ef76055f90b [2020-09-25T06:37:06.295Z] 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-09-25T06:37:28.529Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-25T06:37:31.146Z] Removing intermediate container 3ef76055f90b [2020-09-25T06:37:31.146Z] ---> b773ab7e10ad [2020-09-25T06:37:31.146Z] Step 10/24 : FROM scratch [2020-09-25T06:37:31.146Z] ---> [2020-09-25T06:37:31.146Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-25T06:37:31.146Z] ---> Running in 6564fd6e7346 [2020-09-25T06:37:31.418Z] Removing intermediate container 6564fd6e7346 [2020-09-25T06:37:31.418Z] ---> dfd4525cfead [2020-09-25T06:37:31.418Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-25T06:37:31.419Z] ---> Running in bbdd7430f2a2 [2020-09-25T06:37:32.015Z] Removing intermediate container bbdd7430f2a2 [2020-09-25T06:37:32.015Z] ---> 4928e89886de [2020-09-25T06:37:32.015Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-25T06:37:32.015Z] ---> Running in e8555849f613 [2020-09-25T06:37:32.285Z] Removing intermediate container e8555849f613 [2020-09-25T06:37:32.285Z] ---> cdc0ab34b1a3 [2020-09-25T06:37:32.285Z] Step 14/24 : WORKDIR / [2020-09-25T06:37:32.555Z] ---> Running in 233b6f8d9b68 [2020-09-25T06:37:32.826Z] Removing intermediate container 233b6f8d9b68 [2020-09-25T06:37:32.826Z] ---> a628502ac49d [2020-09-25T06:37:32.826Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-25T06:37:33.798Z] ---> 759bc04d7ea3 [2020-09-25T06:37:33.798Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-25T06:37:34.395Z] ---> 5a8b4aad84df [2020-09-25T06:37:34.395Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-25T06:37:35.406Z] ---> e5de6bcef5d7 [2020-09-25T06:37:35.406Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-25T06:37:35.997Z] ---> 592c12ae5736 [2020-09-25T06:37:35.997Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-25T06:37:36.592Z] ---> 011074058ce8 [2020-09-25T06:37:36.592Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-25T06:37:36.863Z] ---> Running in fdea555cdaa5 [2020-09-25T06:37:37.135Z] Removing intermediate container fdea555cdaa5 [2020-09-25T06:37:37.135Z] ---> fe5bd8923e01 [2020-09-25T06:37:37.135Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-25T06:37:37.409Z] ---> Running in 0965b3121cfe [2020-09-25T06:37:37.681Z] Removing intermediate container 0965b3121cfe [2020-09-25T06:37:37.681Z] ---> f077f212610e [2020-09-25T06:37:37.681Z] Step 22/24 : LABEL arch=arm64 [2020-09-25T06:37:37.953Z] ---> Running in 0d5a4e86527c [2020-09-25T06:37:38.226Z] Removing intermediate container 0d5a4e86527c [2020-09-25T06:37:38.226Z] ---> 7c6a5e601e53 [2020-09-25T06:37:38.226Z] Step 23/24 : LABEL git_sha=dc954164ebb5d503321f0d6678cc193a22677244 [2020-09-25T06:37:38.500Z] ---> Running in 94976b3efc37 [2020-09-25T06:37:38.780Z] Removing intermediate container 94976b3efc37 [2020-09-25T06:37:38.780Z] ---> 4f9d6913cef7 [2020-09-25T06:37:38.780Z] Step 24/24 : LABEL version=0.0.0 [2020-09-25T06:37:39.057Z] ---> Running in 212ccce59b10 [2020-09-25T06:37:39.333Z] Removing intermediate container 212ccce59b10 [2020-09-25T06:37:39.333Z] ---> 5cf92fee2d73 [2020-09-25T06:37:39.333Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-25T06:37:39.604Z] Successfully built 5cf92fee2d73 [2020-09-25T06:37:39.604Z] 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-09-25T06:37:42.626Z] provisioning config files... [2020-09-25T06:37:42.638Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/config5341767487941661326tmp [Pipeline] { [Pipeline] sh [2020-09-25T06:37:43.091Z] + curl -s https://codecov.io/bash [2020-09-25T06:37:43.092Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/config5341767487941661326tmp [Pipeline] } [2020-09-25T06:37:43.376Z] 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-09-25T06:37:46.944Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-25T06:37:47.552Z] ---> package-listing.sh [2020-09-25T06:37:47.552Z] ++ facter osfamily [2020-09-25T06:37:47.552Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-25T06:37:47.552Z] + OS_FAMILY=redhat [2020-09-25T06:37:47.552Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-600 [2020-09-25T06:37:47.552Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-25T06:37:47.552Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-25T06:37:47.552Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-25T06:37:47.552Z] + PACKAGES=/tmp/packages_start.txt [2020-09-25T06:37:47.552Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-600 ']' [2020-09-25T06:37:47.552Z] + PACKAGES=/tmp/packages_end.txt [2020-09-25T06:37:47.552Z] + case "${OS_FAMILY}" in [2020-09-25T06:37:47.552Z] + rpm -qa [2020-09-25T06:37:47.552Z] + sort [2020-09-25T06:37:51.757Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-25T06:37:51.757Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-25T06:37:51.757Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-25T06:37:51.757Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-600 ']' [2020-09-25T06:37:51.757Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-600/archives/ [2020-09-25T06:37:51.757Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-600/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:37:52.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-25T06:37:52.324Z] [2020-09-25T06:37:52.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-25T06:37:52.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-25T06:37:52.731Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-25T06:37:52.731Z] df20fa9351a1: Pulling fs layer [2020-09-25T06:37:52.731Z] 36b3adc4ff6f: Pulling fs layer [2020-09-25T06:37:52.731Z] 8ad3a11d3b57: Pulling fs layer [2020-09-25T06:37:52.731Z] 46f8f816bc3b: Pulling fs layer [2020-09-25T06:37:52.731Z] 0dadc02b9964: Pulling fs layer [2020-09-25T06:37:52.731Z] ce6a7cf60c04: Pulling fs layer [2020-09-25T06:37:52.731Z] 7a184a31f384: Pulling fs layer [2020-09-25T06:37:52.731Z] 0879bd2ef858: Pulling fs layer [2020-09-25T06:37:52.731Z] 0dadc02b9964: Waiting [2020-09-25T06:37:52.731Z] ce6a7cf60c04: Waiting [2020-09-25T06:37:52.731Z] 7a184a31f384: Waiting [2020-09-25T06:37:52.731Z] 36b3adc4ff6f: Verifying Checksum [2020-09-25T06:37:52.731Z] 36b3adc4ff6f: Download complete [2020-09-25T06:37:52.731Z] 46f8f816bc3b: Verifying Checksum [2020-09-25T06:37:52.731Z] 46f8f816bc3b: Download complete [2020-09-25T06:37:52.997Z] df20fa9351a1: Verifying Checksum [2020-09-25T06:37:52.997Z] df20fa9351a1: Download complete [2020-09-25T06:37:52.997Z] ce6a7cf60c04: Verifying Checksum [2020-09-25T06:37:52.997Z] ce6a7cf60c04: Download complete [2020-09-25T06:37:52.997Z] 7a184a31f384: Download complete [2020-09-25T06:37:52.997Z] 0dadc02b9964: Verifying Checksum [2020-09-25T06:37:52.997Z] 0dadc02b9964: Download complete [2020-09-25T06:37:52.997Z] 8ad3a11d3b57: Verifying Checksum [2020-09-25T06:37:52.997Z] 8ad3a11d3b57: Download complete [2020-09-25T06:37:53.261Z] df20fa9351a1: Pull complete [2020-09-25T06:37:53.261Z] 36b3adc4ff6f: Pull complete [2020-09-25T06:37:53.526Z] 0879bd2ef858: Verifying Checksum [2020-09-25T06:37:53.526Z] 0879bd2ef858: Download complete [2020-09-25T06:37:53.791Z] 8ad3a11d3b57: Pull complete [2020-09-25T06:37:54.052Z] 46f8f816bc3b: Pull complete [2020-09-25T06:37:54.314Z] 0dadc02b9964: Pull complete [2020-09-25T06:37:54.314Z] ce6a7cf60c04: Pull complete [2020-09-25T06:37:54.574Z] 7a184a31f384: Pull complete [2020-09-25T06:37:56.501Z] 0879bd2ef858: Pull complete [2020-09-25T06:37:56.501Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-25T06:37:56.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-25T06:37:56.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-25T06:37:56.658Z] prd-centos7-docker-4c-2g-1473 does not seem to be running inside a container [2020-09-25T06:37:56.700Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-600 -v /w/workspace/dgexfoundry_device-sdk-go_PR-600:/w/workspace/dgexfoundry_device-sdk-go_PR-600:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-600@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-09-25T06:38:00.496Z] $ docker top f5a81ed1ec111c4cf22e6ccac4a08562066f3ca9ce56787ce1bd3ea3291ffb21 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-25T06:38:01.146Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-25T06:38:01.469Z] + ls /var/log/sa-host [2020-09-25T06:38:01.469Z] + sadf -c /var/log/sa-host/sa05 [2020-09-25T06:38:01.469Z] file_magic: OK [2020-09-25T06:38:01.469Z] HZ: Using current value: 100 [2020-09-25T06:38:01.469Z] file_header: OK [2020-09-25T06:38:01.470Z] 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-09-25T06:38:01.470Z] Statistics: [2020-09-25T06:38:01.470Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-25T06:38:01.470Z] File successfully converted to sysstat format version 12.2.1 [2020-09-25T06:38:01.470Z] + sadf -c /var/log/sa-host/sa25 [2020-09-25T06:38:01.470Z] file_magic: OK [2020-09-25T06:38:01.470Z] HZ: Using current value: 100 [2020-09-25T06:38:01.470Z] file_header: OK [2020-09-25T06:38:01.470Z] 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-09-25T06:38:01.470Z] Statistics: [2020-09-25T06:38:01.470Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-25T06:38:01.470Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-25T06:38:01.600Z] provisioning config files... [2020-09-25T06:38:01.619Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-600@tmp/config4109488911188945814tmp [Pipeline] { [Pipeline] echo [2020-09-25T06:38:01.769Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-25T06:38:02.117Z] ---> create-netrc.sh [Pipeline] echo [2020-09-25T06:38:02.155Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-25T06:38:02.504Z] ---> logs-deploy.sh [2020-09-25T06:38:02.504Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-600/1 [2020-09-25T06:38:02.504Z] INFO: archiving workspace using pattern(s): [2020-09-25T06:38:03.892Z] Archives upload complete. [2020-09-25T06:38:03.892Z] INFO: archiving logs to Nexus