Pull request #56 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 54a1ea0e5cf6d2965807bd64358c28297a664ac6+4f6fe4f9eeeb2b13b70d00045467dd3723511a77 (63f9aa6827be4f024f77da3948f1a55a120500cf) 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-rest-go/branches/PR-56/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > 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-rest-go/branches/PR-56/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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 ‘prd-centos7-docker-4c-2g-10056’ is offline; ‘prd-centos7-docker-8c-8g-10049’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9796’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10064 in /w/workspace/dgexfoundry_device-rest-go_PR-56 [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-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-56 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 54a1ea0e5cf6d2965807bd64358c28297a664ac6 Merge succeeded, producing 54a1ea0e5cf6d2965807bd64358c28297a664ac6 Checking out Revision 54a1ea0e5cf6d2965807bd64358c28297a664ac6 (PR-56) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54a1ea0e5cf6d2965807bd64358c28297a664ac6 # 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 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54a1ea0e5cf6d2965807bd64358c28297a664ac6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-02T06:43:09.994Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:43:10.384Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:43:10.554Z] ========================================================= [2020-11-02T06:43:10.554Z] EdgeX Global Pipelines Version Info [2020-11-02T06:43:10.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:43:12.115Z] ------------------- [2020-11-02T06:43:12.115Z] stable info: [2020-11-02T06:43:12.115Z] ------------------- [2020-11-02T06:43:12.115Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:43:12.115Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:43:12.115Z] Message: update stable to v1.0.152 [2020-11-02T06:43:13.075Z] ------------------- [2020-11-02T06:43:13.075Z] experimental info: [2020-11-02T06:43:13.075Z] ------------------- [2020-11-02T06:43:13.075Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:43:13.075Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:43:13.075Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:43:13.658Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-02T06:43:13.792Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-02T06:43:13.927Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:43:14.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:43:14.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:43:14.364Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:43:14.610Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:43:14.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:43:14.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:43:15.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:43:15.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:43:15.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-02T06:43:15.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:43:15.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:43:15.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:43:15.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:43:16.017Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:43:16.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:43:16.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:43:16.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-02T06:43:16.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:43:16.669Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:43:16.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:43:16.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:43:17.135Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:43:17.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo [2020-11-02T06:43:17.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo [2020-11-02T06:43:17.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo [2020-11-02T06:43:17.670Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54a1ea0e5cf6d2965807bd64358c28297a664ac6 [Pipeline] echo [2020-11-02T06:43:17.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54a1ea0 [Pipeline] echo [2020-11-02T06:43:17.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:43:18.739Z] + git log --format=format:%s -1 54a1ea0e5cf6d2965807bd64358c28297a664ac6 [Pipeline] echo [2020-11-02T06:43:18.843Z] GIT_COMMIT: 54a1ea0e5cf6d2965807bd64358c28297a664ac6, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-02T06:43:18.919Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:19.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:43:19.940Z] [2020-11-02T06:43:19.940Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:20.414Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:43:20.414Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:43:20.414Z] 31603596830f: Pulling fs layer [2020-11-02T06:43:20.414Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:43:20.414Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:43:20.414Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:43:20.414Z] ecc8261a40a4: Waiting [2020-11-02T06:43:20.414Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:43:20.414Z] 2a8b12db71e7: Download complete [2020-11-02T06:43:20.680Z] 31603596830f: Verifying Checksum [2020-11-02T06:43:20.680Z] 31603596830f: Download complete [2020-11-02T06:43:20.680Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:43:20.680Z] ecc8261a40a4: Download complete [2020-11-02T06:43:20.680Z] 6ca5941a6612: Verifying Checksum [2020-11-02T06:43:20.680Z] 6ca5941a6612: Download complete [2020-11-02T06:43:20.950Z] 31603596830f: Pull complete [2020-11-02T06:43:21.213Z] 2a8b12db71e7: Pull complete [2020-11-02T06:43:21.791Z] 6ca5941a6612: Pull complete [2020-11-02T06:43:22.054Z] ecc8261a40a4: Pull complete [2020-11-02T06:43:22.054Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:43:22.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:43:22.054Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:43:22.280Z] prd-centos7-docker-4c-2g-10064 does not seem to be running inside a container [2020-11-02T06:43:22.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-56 -v /w/workspace/dgexfoundry_device-rest-go_PR-56:/w/workspace/dgexfoundry_device-rest-go_PR-56:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-56@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-56@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-11-02T06:43:24.658Z] $ docker top c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:43:25.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:43:25.115Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:43:25.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:43:25.358Z] $ docker exec c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 ssh-agent [2020-11-02T06:43:25.534Z] SSH_AUTH_SOCK=/tmp/ssh-hUODLXtPF7V2/agent.12 [2020-11-02T06:43:25.534Z] SSH_AGENT_PID=17 [2020-11-02T06:43:25.553Z] Running ssh-add (command line suppressed) [2020-11-02T06:43:25.688Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-56@tmp/private_key_8398480212121855177.key (/w/workspace/dgexfoundry_device-rest-go_PR-56@tmp/private_key_8398480212121855177.key) [2020-11-02T06:43:25.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:43:26.143Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:43:26.178Z] $ docker exec --env ******** --env ******** c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 ssh-agent -k [2020-11-02T06:43:26.314Z] unset SSH_AUTH_SOCK; [2020-11-02T06:43:26.316Z] unset SSH_AGENT_PID; [2020-11-02T06:43:26.316Z] echo Agent pid 17 killed; [2020-11-02T06:43:26.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:43:26.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:43:26.605Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:43:26.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:43:26.792Z] $ docker exec c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 ssh-agent [2020-11-02T06:43:26.956Z] SSH_AUTH_SOCK=/tmp/ssh-MlCH7kqEE23M/agent.46 [2020-11-02T06:43:26.956Z] SSH_AGENT_PID=51 [2020-11-02T06:43:26.964Z] Running ssh-add (command line suppressed) [2020-11-02T06:43:27.105Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-56@tmp/private_key_5716457308886323578.key (/w/workspace/dgexfoundry_device-rest-go_PR-56@tmp/private_key_5716457308886323578.key) [2020-11-02T06:43:27.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:43:27.560Z] + git semver init [2020-11-02T06:43:27.560Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:43:27.560Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-56/.git [2020-11-02T06:43:27.560Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-56 [2020-11-02T06:43:27.560Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:43:27.560Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:43:27.560Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:43:27.560Z] # $SEMVER_BRANCH = PR-56 [2020-11-02T06:43:27.560Z] # $SEMVER_TEMP = /tmp/semver-856187445 [2020-11-02T06:43:27.560Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-02T06:43:28.510Z] # '/tmp/semver-856187445' -> '/w/workspace/dgexfoundry_device-rest-go_PR-56/.semver' [2020-11-02T06:43:28.510Z] # -> Force: false [2020-11-02T06:43:28.510Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-56/.semver [Pipeline] } [2020-11-02T06:43:28.537Z] $ docker exec --env ******** --env ******** c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 ssh-agent -k [2020-11-02T06:43:28.651Z] unset SSH_AUTH_SOCK; [2020-11-02T06:43:28.651Z] unset SSH_AGENT_PID; [2020-11-02T06:43:28.651Z] echo Agent pid 51 killed; [2020-11-02T06:43:28.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:43:29.296Z] + git semver [Pipeline] } [2020-11-02T06:43:29.351Z] $ docker stop --time=1 c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 [2020-11-02T06:43:30.754Z] $ docker rm -f c8d39f2d610236204e1794ccfd19b5e437a6f43f62b5bd06a1d367f562e5c0b9 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:43:31.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:43:31.916Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:43:31.940Z] [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:43:33.470Z] ========================================================= [2020-11-02T06:43:33.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:43:33.470Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:33.873Z] + 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-11-02T06:43:33.873Z] Sending build context to Docker daemon 8.07MB [2020-11-02T06:43:33.873Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-02T06:43:33.873Z] Step 2/10 : FROM ${BASE} [2020-11-02T06:43:34.141Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:43:34.141Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:43:34.141Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:43:34.141Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:43:34.141Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:43:34.141Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:43:34.141Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:43:34.141Z] 4e634b169226: Pulling fs layer [2020-11-02T06:43:34.141Z] e871e8e8d7a9: Waiting [2020-11-02T06:43:34.141Z] e73272ec9a57: Waiting [2020-11-02T06:43:34.141Z] 1e910a182e73: Waiting [2020-11-02T06:43:34.141Z] 4e634b169226: Waiting [2020-11-02T06:43:34.141Z] a92cc7c5fd73: Verifying Checksum [2020-11-02T06:43:34.141Z] a92cc7c5fd73: Download complete [2020-11-02T06:43:34.141Z] ed8968b2872e: Verifying Checksum [2020-11-02T06:43:34.141Z] ed8968b2872e: Download complete [2020-11-02T06:43:34.141Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:43:34.141Z] e73272ec9a57: Download complete [2020-11-02T06:43:34.141Z] 1e910a182e73: Verifying Checksum [2020-11-02T06:43:34.141Z] 1e910a182e73: Download complete [2020-11-02T06:43:34.403Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:43:34.403Z] df20fa9351a1: Download complete [2020-11-02T06:43:34.685Z] df20fa9351a1: Pull complete [2020-11-02T06:43:34.685Z] ed8968b2872e: Pull complete [2020-11-02T06:43:34.954Z] a92cc7c5fd73: Pull complete [2020-11-02T06:43:36.889Z] 4e634b169226: Verifying Checksum [2020-11-02T06:43:36.889Z] 4e634b169226: Download complete [2020-11-02T06:43:37.471Z] e871e8e8d7a9: Verifying Checksum [2020-11-02T06:43:37.471Z] e871e8e8d7a9: Download complete [2020-11-02T06:43:44.211Z] e871e8e8d7a9: Pull complete [2020-11-02T06:43:44.211Z] e73272ec9a57: Pull complete [2020-11-02T06:43:44.211Z] 1e910a182e73: Pull complete [2020-11-02T06:43:48.010Z] Still waiting to schedule task [2020-11-02T06:43:48.011Z] ‘prd-centos7-docker-4c-2g-10067’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10066’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9796’ is offline [2020-11-02T06:43:52.416Z] 4e634b169226: Pull complete [2020-11-02T06:43:52.681Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:43:52.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:43:52.681Z] ---> f7629b54cfaa [2020-11-02T06:43:52.681Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:43:52.945Z] ---> Running in fb7ab8d835cd [2020-11-02T06:43:53.212Z] Removing intermediate container fb7ab8d835cd [2020-11-02T06:43:53.212Z] ---> d465065f55b5 [2020-11-02T06:43:53.212Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:43:53.481Z] ---> Running in 29b7af512c92 [2020-11-02T06:43:53.481Z] Removing intermediate container 29b7af512c92 [2020-11-02T06:43:53.481Z] ---> 921b18bb63d6 [2020-11-02T06:43:53.481Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:43:53.481Z] ---> Running in 95261ff280b8 [2020-11-02T06:43:53.752Z] Removing intermediate container 95261ff280b8 [2020-11-02T06:43:53.752Z] ---> 9d8656c8a65c [2020-11-02T06:43:53.752Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:43:53.752Z] ---> Running in 0cd1c5ae6647 [2020-11-02T06:43:55.689Z] Removing intermediate container 0cd1c5ae6647 [2020-11-02T06:43:55.689Z] ---> a572273cc85e [2020-11-02T06:43:55.689Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:43:55.689Z] ---> Running in ad374f44e199 [2020-11-02T06:43:55.955Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:57.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:58.840Z] OK: 166 MiB in 39 packages [2020-11-02T06:43:59.104Z] Removing intermediate container ad374f44e199 [2020-11-02T06:43:59.104Z] ---> d81ea9b36087 [2020-11-02T06:43:59.104Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-02T06:43:59.427Z] ---> Running in d90e739112ce [2020-11-02T06:43:59.427Z] Removing intermediate container d90e739112ce [2020-11-02T06:43:59.427Z] ---> 9f14223a708a [2020-11-02T06:43:59.427Z] Step 9/10 : COPY . . [2020-11-02T06:44:00.024Z] ---> 320dad11943d [2020-11-02T06:44:00.024Z] Step 10/10 : RUN go mod download [2020-11-02T06:44:00.024Z] ---> Running in 90fcb681fe6a [2020-11-02T06:44:22.068Z] Removing intermediate container 90fcb681fe6a [2020-11-02T06:44:22.068Z] ---> 52f651275624 [2020-11-02T06:44:22.068Z] Successfully built 52f651275624 [2020-11-02T06:44:22.068Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:22.444Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:44:22.444Z] . [Pipeline] withDockerContainer [2020-11-02T06:44:22.605Z] prd-centos7-docker-4c-2g-10064 does not seem to be running inside a container [2020-11-02T06:44:22.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-rest-go_PR-56 -v /w/workspace/dgexfoundry_device-rest-go_PR-56:/w/workspace/dgexfoundry_device-rest-go_PR-56:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-56@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-56@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-x86_64 cat [2020-11-02T06:44:23.619Z] $ docker top 7a3f9b91fd6d0ccfc6ff3373057cdeada51517e95d6ec697135584d16dfc1f6a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:44:24.191Z] + go version [2020-11-02T06:44:24.191Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:44:24.232Z] $ docker stop --time=1 7a3f9b91fd6d0ccfc6ff3373057cdeada51517e95d6ec697135584d16dfc1f6a [2020-11-02T06:44:25.587Z] $ docker rm -f 7a3f9b91fd6d0ccfc6ff3373057cdeada51517e95d6ec697135584d16dfc1f6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:26.818Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:44:26.818Z] . [Pipeline] withDockerContainer [2020-11-02T06:44:27.079Z] prd-centos7-docker-4c-2g-10064 does not seem to be running inside a container [2020-11-02T06:44:27.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-rest-go_PR-56 -v /w/workspace/dgexfoundry_device-rest-go_PR-56:/w/workspace/dgexfoundry_device-rest-go_PR-56:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-56@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-56@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-x86_64 cat [2020-11-02T06:44:27.904Z] $ docker top 064153b9c8802e21bdaa2a1fd51a0e36b50ec017f192326dc0e71b9baa1b2ac0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:44:28.457Z] + make test [2020-11-02T06:44:28.457Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-02T06:44:29.438Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-02T06:44:44.618Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-02T06:44:44.618Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 56.3% of statements [2020-11-02T06:44:44.618Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:44:46.586Z] gofmt -l . [2020-11-02T06:44:46.586Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:44:46.586Z] ./bin/test-go-mod-tidy.sh [2020-11-02T06:44:46.851Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-02T06:44:47.158Z] $ docker stop --time=1 064153b9c8802e21bdaa2a1fd51a0e36b50ec017f192326dc0e71b9baa1b2ac0 [2020-11-02T06:44:50.263Z] $ docker rm -f 064153b9c8802e21bdaa2a1fd51a0e36b50ec017f192326dc0e71b9baa1b2ac0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:44:50.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:44:51.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:44:52.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:44:52.896Z] + ls -al . [2020-11-02T06:44:52.896Z] total 96 [2020-11-02T06:44:52.896Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 2 06:44 . [2020-11-02T06:44:52.896Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:43 .. [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 2 06:43 Attribution.txt [2020-11-02T06:44:52.897Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 2 06:43 bin [2020-11-02T06:44:52.897Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:43 cmd [2020-11-02T06:44:52.897Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 2 06:44 coverage.out [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 2 06:43 Dockerfile [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 2 06:43 Dockerfile.build [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 2 06:43 .dockerignore [2020-11-02T06:44:52.897Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 2 06:44 driver [2020-11-02T06:44:52.897Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:43 .git [2020-11-02T06:44:52.897Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:43 .github [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 2 06:43 .gitignore [2020-11-02T06:44:52.897Z] -rw-r--r--. 1 jenkins jenkins 274 Nov 2 06:44 go.mod [2020-11-02T06:44:52.897Z] -rw-r--r--. 1 jenkins jenkins 14216 Nov 2 06:44 go.sum [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 2 06:43 Jenkinsfile [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:43 LICENSE [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 2 06:43 Makefile [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 2 06:43 README.md [2020-11-02T06:44:52.897Z] drwx------. 3 jenkins jenkins 45 Nov 2 06:43 .semver [2020-11-02T06:44:52.897Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:43 snap [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:43 VERSION [2020-11-02T06:44:52.897Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 2 06:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:53.246Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=54a1ea0e5cf6d2965807bd64358c28297a664ac6 --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:44:53.511Z] Sending build context to Docker daemon 8.081MB [2020-11-02T06:44:53.511Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-02T06:44:53.511Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-02T06:44:53.511Z] ---> 52f651275624 [2020-11-02T06:44:53.511Z] Step 3/25 : ARG MAKE='make build' [2020-11-02T06:44:53.511Z] ---> Running in 00a30a7b02fe [2020-11-02T06:44:53.771Z] Removing intermediate container 00a30a7b02fe [2020-11-02T06:44:53.771Z] ---> 039f9de1cf03 [2020-11-02T06:44:53.771Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:44:53.771Z] ---> Running in 07ab0cba1f84 [2020-11-02T06:44:54.034Z] Removing intermediate container 07ab0cba1f84 [2020-11-02T06:44:54.034Z] ---> 953a2827b3ae [2020-11-02T06:44:54.034Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:44:54.034Z] ---> Running in 4ccaed2bd9bd [2020-11-02T06:44:54.297Z] Removing intermediate container 4ccaed2bd9bd [2020-11-02T06:44:54.297Z] ---> 15a9cbf47add [2020-11-02T06:44:54.297Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:44:54.297Z] ---> Running in 9f59e77a86c4 [2020-11-02T06:44:55.253Z] Removing intermediate container 9f59e77a86c4 [2020-11-02T06:44:55.253Z] ---> 18c05edef4cd [2020-11-02T06:44:55.253Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:44:55.253Z] ---> Running in c36e01830201 [2020-11-02T06:44:55.841Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:44:56.416Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:44:57.377Z] OK: 166 MiB in 39 packages [2020-11-02T06:44:58.094Z] Removing intermediate container c36e01830201 [2020-11-02T06:44:58.094Z] ---> 68957178a74d [2020-11-02T06:44:58.094Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-02T06:44:58.094Z] ---> Running in 00ddd86618d8 [2020-11-02T06:44:58.094Z] Removing intermediate container 00ddd86618d8 [2020-11-02T06:44:58.094Z] ---> 32510148baf6 [2020-11-02T06:44:58.094Z] Step 9/25 : COPY go.mod . [2020-11-02T06:44:58.379Z] ---> e14978a45750 [2020-11-02T06:44:58.379Z] Step 10/25 : COPY Makefile . [2020-11-02T06:44:58.656Z] ---> 1dde30f8f615 [2020-11-02T06:44:58.656Z] Step 11/25 : RUN make update [2020-11-02T06:44:58.656Z] ---> Running in 4838bf2ca968 [2020-11-02T06:44:59.256Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-02T06:44:59.895Z] Removing intermediate container 4838bf2ca968 [2020-11-02T06:44:59.895Z] ---> 062671649a09 [2020-11-02T06:44:59.895Z] Step 12/25 : COPY . . [2020-11-02T06:45:00.481Z] ---> 8322b9fd31d2 [2020-11-02T06:45:00.481Z] Step 13/25 : RUN $MAKE [2020-11-02T06:45:00.481Z] ---> Running in 87e7998a70d3 [2020-11-02T06:45:01.448Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-02T06:45:13.884Z] Removing intermediate container 87e7998a70d3 [2020-11-02T06:45:13.884Z] ---> 3c11b593df27 [2020-11-02T06:45:13.884Z] Step 14/25 : FROM alpine:latest [2020-11-02T06:45:13.884Z] latest: Pulling from library/alpine [2020-11-02T06:45:13.884Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:45:13.884Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T06:45:13.884Z] 188c0c94c7c5: Download complete [2020-11-02T06:45:13.884Z] 188c0c94c7c5: Pull complete [2020-11-02T06:45:13.884Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:45:13.884Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:45:13.884Z] ---> d6e46aa2470d [2020-11-02T06:45:13.884Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:45:14.159Z] ---> Running in 557ea129ff56 [2020-11-02T06:45:14.159Z] Removing intermediate container 557ea129ff56 [2020-11-02T06:45:14.159Z] ---> fbb14b92ecbe [2020-11-02T06:45:14.159Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-02T06:45:14.434Z] ---> Running in b6d83252d870 [2020-11-02T06:45:14.434Z] Removing intermediate container b6d83252d870 [2020-11-02T06:45:14.434Z] ---> a217606b2d56 [2020-11-02T06:45:14.434Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-02T06:45:14.746Z] ---> a6ff71f1a58c [2020-11-02T06:45:14.746Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-02T06:45:15.017Z] ---> 4f1e8f04fae4 [2020-11-02T06:45:15.017Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-02T06:45:15.647Z] ---> e6b5208d8a6c [2020-11-02T06:45:15.647Z] Step 20/25 : EXPOSE 49986 [2020-11-02T06:45:15.647Z] ---> Running in 91a29ea8ceae [2020-11-02T06:45:15.647Z] Removing intermediate container 91a29ea8ceae [2020-11-02T06:45:15.647Z] ---> 2e88bbac9b9e [2020-11-02T06:45:15.647Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-02T06:45:15.913Z] ---> Running in 0bafda110671 [2020-11-02T06:45:15.913Z] Removing intermediate container 0bafda110671 [2020-11-02T06:45:15.913Z] ---> ddf8cd9aa279 [2020-11-02T06:45:15.913Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-02T06:45:15.913Z] ---> Running in 1e5976699d67 [2020-11-02T06:45:16.178Z] Removing intermediate container 1e5976699d67 [2020-11-02T06:45:16.178Z] ---> a080969ddcf6 [2020-11-02T06:45:16.178Z] Step 23/25 : LABEL arch=amd64 [2020-11-02T06:45:16.178Z] ---> Running in f95c318e5547 [2020-11-02T06:45:16.444Z] Removing intermediate container f95c318e5547 [2020-11-02T06:45:16.444Z] ---> 1618afac2ed7 [2020-11-02T06:45:16.444Z] Step 24/25 : LABEL git_sha=54a1ea0e5cf6d2965807bd64358c28297a664ac6 [2020-11-02T06:45:16.444Z] ---> Running in 1b515fc4c95f [2020-11-02T06:45:16.707Z] Removing intermediate container 1b515fc4c95f [2020-11-02T06:45:16.707Z] ---> c8f7879fd556 [2020-11-02T06:45:16.707Z] Step 25/25 : LABEL version=0.0.0 [2020-11-02T06:45:16.707Z] ---> Running in e8c8d63db3d0 [2020-11-02T06:45:16.974Z] Removing intermediate container e8c8d63db3d0 [2020-11-02T06:45:16.974Z] ---> d46acae487f4 [2020-11-02T06:45:16.974Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:45:16.974Z] Successfully built d46acae487f4 [2020-11-02T06:45:16.974Z] Successfully tagged docker-device-rest-go: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] // stage [Pipeline] } [2020-11-02T06:55:39.969Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10277 in /w/workspace/dgexfoundry_device-rest-go_PR-56 [Pipeline] { [Pipeline] ws [2020-11-02T06:55:40.089Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:55:46.202Z] using credential edgex-jenkins-ssh [2020-11-02T06:55:46.294Z] Cloning the remote Git repository [2020-11-02T06:55:46.363Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-02T06:55:46.482Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-02T06:55:46.585Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-02T06:55:46.586Z] > git --version # timeout=10 [2020-11-02T06:55:46.610Z] > git --version # 'git version 2.17.1' [2020-11-02T06:55:46.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:55:46.664Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:55:51.887Z] Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 54a1ea0e5cf6d2965807bd64358c28297a664ac6 [2020-11-02T06:55:51.275Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-02T06:55:51.290Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:55:51.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-02T06:55:51.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-02T06:55:51.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:55:51.387Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:55:51.918Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:55:51.943Z] > git checkout -f 54a1ea0e5cf6d2965807bd64358c28297a664ac6 # timeout=10 [2020-11-02T06:55:52.059Z] > git remote # timeout=10 [2020-11-02T06:55:52.086Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:55:52.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:55:52.124Z] > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 [2020-11-02T06:55:52.220Z] Merge succeeded, producing 54a1ea0e5cf6d2965807bd64358c28297a664ac6 [2020-11-02T06:55:52.221Z] Checking out Revision 54a1ea0e5cf6d2965807bd64358c28297a664ac6 (PR-56) [2020-11-02T06:55:52.199Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:55:52.232Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:55:52.263Z] > git checkout -f 54a1ea0e5cf6d2965807bd64358c28297a664ac6 # timeout=10 [2020-11-02T06:55:56.786Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-02T06:55:56.863Z] > git --version # timeout=10 [2020-11-02T06:55:56.872Z] > git --version # 'git version 2.17.1' [2020-11-02T06:55:56.889Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:55:58.022Z] ========================================================= [2020-11-02T06:55:58.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:55:58.022Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:55:59.244Z] + 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-11-02T06:55:59.847Z] Sending build context to Docker daemon 79.87kB [2020-11-02T06:56:00.122Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-02T06:56:00.122Z] Step 2/10 : FROM ${BASE} [2020-11-02T06:56:00.409Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:56:00.409Z] b538f80385f9: Pulling fs layer [2020-11-02T06:56:00.409Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:56:00.409Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:56:00.409Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:56:00.409Z] 45590311c82a: Pulling fs layer [2020-11-02T06:56:00.409Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:56:00.409Z] 209524e5b208: Pulling fs layer [2020-11-02T06:56:00.409Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:56:00.409Z] 8529a6b9a6be: Waiting [2020-11-02T06:56:00.409Z] 45590311c82a: Waiting [2020-11-02T06:56:00.409Z] 99f96fe45779: Verifying Checksum [2020-11-02T06:56:00.409Z] 99f96fe45779: Download complete [2020-11-02T06:56:00.409Z] 74f711af9a0d: Verifying Checksum [2020-11-02T06:56:00.409Z] 74f711af9a0d: Download complete [2020-11-02T06:56:00.409Z] 45590311c82a: Verifying Checksum [2020-11-02T06:56:00.409Z] 45590311c82a: Download complete [2020-11-02T06:56:00.409Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-02T06:56:00.409Z] 69ca0ff8b7b3: Download complete [2020-11-02T06:56:00.685Z] b538f80385f9: Verifying Checksum [2020-11-02T06:56:00.685Z] b538f80385f9: Download complete [2020-11-02T06:56:01.315Z] b538f80385f9: Pull complete [2020-11-02T06:56:01.934Z] 74f711af9a0d: Pull complete [2020-11-02T06:56:02.541Z] 99f96fe45779: Pull complete [2020-11-02T06:56:05.951Z] 209524e5b208: Download complete [2020-11-02T06:56:09.363Z] 8529a6b9a6be: Verifying Checksum [2020-11-02T06:56:09.364Z] 8529a6b9a6be: Download complete [2020-11-02T06:56:19.598Z] 8529a6b9a6be: Pull complete [2020-11-02T06:56:19.598Z] 45590311c82a: Pull complete [2020-11-02T06:56:19.873Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:56:24.212Z] 209524e5b208: Pull complete [2020-11-02T06:56:24.212Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:56:24.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:56:24.212Z] ---> 5bddaf1c2fca [2020-11-02T06:56:24.212Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:56:26.852Z] ---> Running in 938446a85b59 [2020-11-02T06:56:26.852Z] Removing intermediate container 938446a85b59 [2020-11-02T06:56:26.852Z] ---> ed95bfeeb03d [2020-11-02T06:56:26.852Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:56:27.127Z] ---> Running in 6203cb437435 [2020-11-02T06:56:27.727Z] Removing intermediate container 6203cb437435 [2020-11-02T06:56:27.727Z] ---> 32b1e4cc6207 [2020-11-02T06:56:27.727Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:56:27.727Z] ---> Running in a501f7cfb121 [2020-11-02T06:56:28.328Z] Removing intermediate container a501f7cfb121 [2020-11-02T06:56:28.328Z] ---> 4d48997076f7 [2020-11-02T06:56:28.328Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:56:28.328Z] ---> Running in 77a5f1b06fe8 [2020-11-02T06:56:30.972Z] Removing intermediate container 77a5f1b06fe8 [2020-11-02T06:56:30.972Z] ---> ed94f984f757 [2020-11-02T06:56:30.972Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:56:31.251Z] ---> Running in 20d40f09d671 [2020-11-02T06:56:32.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:56:33.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:56:34.277Z] OK: 142 MiB in 39 packages [2020-11-02T06:56:35.735Z] Removing intermediate container 20d40f09d671 [2020-11-02T06:56:35.735Z] ---> d074ca6ba86a [2020-11-02T06:56:35.735Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-02T06:56:35.735Z] ---> Running in 999c9e6e0ff5 [2020-11-02T06:56:36.345Z] Removing intermediate container 999c9e6e0ff5 [2020-11-02T06:56:36.345Z] ---> a975571761af [2020-11-02T06:56:36.345Z] Step 9/10 : COPY . . [2020-11-02T06:56:37.331Z] ---> fca6b1127c5d [2020-11-02T06:56:37.331Z] Step 10/10 : RUN go mod download [2020-11-02T06:56:37.331Z] ---> Running in d5f635e20689 [2020-11-02T06:57:04.186Z] Removing intermediate container d5f635e20689 [2020-11-02T06:57:04.186Z] ---> f9524d5ec395 [2020-11-02T06:57:04.186Z] Successfully built f9524d5ec395 [2020-11-02T06:57:04.186Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:57:04.642Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:57:04.642Z] . [Pipeline] withDockerContainer [2020-11-02T06:57:04.964Z] prd-ubuntu18.04-docker-arm64-4c-16g-10277 does not seem to be running inside a container [2020-11-02T06:57:05.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-11-02T06:57:07.096Z] $ docker top edeac1be7cb8f8ed1a79eb87d9dca0a2504ba26b3d5b269da10746fdb8fa27a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:57:08.578Z] + go version [2020-11-02T06:57:08.578Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:57:08.618Z] $ docker stop --time=1 edeac1be7cb8f8ed1a79eb87d9dca0a2504ba26b3d5b269da10746fdb8fa27a1 [2020-11-02T06:57:10.667Z] $ docker rm -f edeac1be7cb8f8ed1a79eb87d9dca0a2504ba26b3d5b269da10746fdb8fa27a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:57:11.944Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:57:11.944Z] . [Pipeline] withDockerContainer [2020-11-02T06:57:12.267Z] prd-ubuntu18.04-docker-arm64-4c-16g-10277 does not seem to be running inside a container [2020-11-02T06:57:12.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-11-02T06:57:14.323Z] $ docker top 7344b23b97882770cfd1737a1b77a0e415bc8f1396e9920794c2029dafaa0b5d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:57:15.870Z] + make test [2020-11-02T06:57:15.870Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-02T06:57:16.866Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-02T06:57:49.254Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-02T06:57:51.228Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 56.3% of statements [2020-11-02T06:57:51.228Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:57:59.551Z] gofmt -l . [2020-11-02T06:57:59.551Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:57:59.551Z] ./bin/test-go-mod-tidy.sh [2020-11-02T06:57:59.551Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-02T06:58:00.191Z] $ docker stop --time=1 7344b23b97882770cfd1737a1b77a0e415bc8f1396e9920794c2029dafaa0b5d [2020-11-02T06:58:02.564Z] $ docker rm -f 7344b23b97882770cfd1737a1b77a0e415bc8f1396e9920794c2029dafaa0b5d [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:58:03.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:58:03.572Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:58:04.312Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:58:05.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:58:05.602Z] + ls -al . [2020-11-02T06:58:05.603Z] total 124 [2020-11-02T06:58:05.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:58 . [2020-11-02T06:58:05.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:55 .. [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 2 06:55 .dockerignore [2020-11-02T06:58:05.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:55 .git [2020-11-02T06:58:05.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:55 .github [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 2 06:55 .gitignore [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 2 06:55 Attribution.txt [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 2 06:55 Dockerfile [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 2 06:55 Dockerfile.build [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 06:55 Jenkinsfile [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:55 LICENSE [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 2 06:55 Makefile [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 2 06:55 README.md [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:43 VERSION [2020-11-02T06:58:05.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:55 bin [2020-11-02T06:58:05.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:55 cmd [2020-11-02T06:58:05.603Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 2 06:57 coverage.out [2020-11-02T06:58:05.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:57 driver [2020-11-02T06:58:05.603Z] -rw-r--r-- 1 jenkins jenkins 274 Nov 2 06:57 go.mod [2020-11-02T06:58:05.603Z] -rw-r--r-- 1 jenkins jenkins 14216 Nov 2 06:57 go.sum [2020-11-02T06:58:05.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:55 snap [2020-11-02T06:58:05.603Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 2 06:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:58:06.052Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=54a1ea0e5cf6d2965807bd64358c28297a664ac6 --label arch=arm64 --label version=0.0.0 . [2020-11-02T06:58:06.052Z] Sending build context to Docker daemon 91.65kB [2020-11-02T06:58:06.330Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-02T06:58:06.330Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-02T06:58:06.330Z] ---> f9524d5ec395 [2020-11-02T06:58:06.330Z] Step 3/25 : ARG MAKE='make build' [2020-11-02T06:58:06.628Z] ---> Running in e2486cf156bd [2020-11-02T06:58:07.230Z] Removing intermediate container e2486cf156bd [2020-11-02T06:58:07.230Z] ---> d330fcd5abb2 [2020-11-02T06:58:07.230Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:58:07.230Z] ---> Running in 33b81a7c7bfc [2020-11-02T06:58:07.823Z] Removing intermediate container 33b81a7c7bfc [2020-11-02T06:58:07.823Z] ---> 0670dbaae353 [2020-11-02T06:58:07.823Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:58:07.823Z] ---> Running in 877f71225264 [2020-11-02T06:58:08.097Z] Removing intermediate container 877f71225264 [2020-11-02T06:58:08.097Z] ---> 90db96ea6bf8 [2020-11-02T06:58:08.097Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:58:08.372Z] ---> Running in b5ec94edb26e [2020-11-02T06:58:10.994Z] Removing intermediate container b5ec94edb26e [2020-11-02T06:58:10.994Z] ---> 06a0e1bd3249 [2020-11-02T06:58:10.994Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:58:10.994Z] ---> Running in f45121a11f26 [2020-11-02T06:58:12.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:58:13.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:58:13.992Z] OK: 142 MiB in 39 packages [2020-11-02T06:58:14.969Z] Removing intermediate container f45121a11f26 [2020-11-02T06:58:14.969Z] ---> ebde713cb62d [2020-11-02T06:58:14.969Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-02T06:58:15.242Z] ---> Running in 36e978160a05 [2020-11-02T06:58:15.514Z] Removing intermediate container 36e978160a05 [2020-11-02T06:58:15.514Z] ---> 929a5cf625aa [2020-11-02T06:58:15.514Z] Step 9/25 : COPY go.mod . [2020-11-02T06:58:16.493Z] ---> 85419d6427a3 [2020-11-02T06:58:16.493Z] Step 10/25 : COPY Makefile . [2020-11-02T06:58:17.088Z] ---> 05f960146c97 [2020-11-02T06:58:17.088Z] Step 11/25 : RUN make update [2020-11-02T06:58:17.088Z] ---> Running in 21b8ee40882b [2020-11-02T06:58:18.520Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-02T06:58:19.957Z] Removing intermediate container 21b8ee40882b [2020-11-02T06:58:19.957Z] ---> 87ac62a58370 [2020-11-02T06:58:19.957Z] Step 12/25 : COPY . . [2020-11-02T06:58:20.562Z] ---> 680f34f10b31 [2020-11-02T06:58:20.562Z] Step 13/25 : RUN $MAKE [2020-11-02T06:58:20.562Z] ---> Running in 9477d416551c [2020-11-02T06:58:22.003Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-02T06:58:54.365Z] Removing intermediate container 9477d416551c [2020-11-02T06:58:54.365Z] ---> f3385e6cf19b [2020-11-02T06:58:54.365Z] Step 14/25 : FROM alpine:latest [2020-11-02T06:58:54.365Z] latest: Pulling from library/alpine [2020-11-02T06:58:54.365Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:58:54.365Z] 5f621e34cdf4: Verifying Checksum [2020-11-02T06:58:54.365Z] 5f621e34cdf4: Download complete [2020-11-02T06:58:54.365Z] 5f621e34cdf4: Pull complete [2020-11-02T06:58:54.365Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:58:54.365Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:58:54.365Z] ---> 2e77e061c27f [2020-11-02T06:58:54.365Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:58:54.365Z] ---> Running in 959dd0d02602 [2020-11-02T06:58:54.365Z] Removing intermediate container 959dd0d02602 [2020-11-02T06:58:54.365Z] ---> b4bd4e837b58 [2020-11-02T06:58:54.365Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-02T06:58:54.365Z] ---> Running in e3cab56047b6 [2020-11-02T06:58:54.365Z] Removing intermediate container e3cab56047b6 [2020-11-02T06:58:54.365Z] ---> de47d6196882 [2020-11-02T06:58:54.365Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-02T06:58:54.365Z] ---> c68073790178 [2020-11-02T06:58:54.365Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-02T06:58:54.365Z] ---> 24cb5603b0d9 [2020-11-02T06:58:54.365Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-02T06:58:54.642Z] ---> 9480d1455e8e [2020-11-02T06:58:54.642Z] Step 20/25 : EXPOSE 49986 [2020-11-02T06:58:54.916Z] ---> Running in e30602d77d51 [2020-11-02T06:58:55.188Z] Removing intermediate container e30602d77d51 [2020-11-02T06:58:55.188Z] ---> 06c93adab887 [2020-11-02T06:58:55.188Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-02T06:58:55.461Z] ---> Running in 00f2a3898f82 [2020-11-02T06:58:55.736Z] Removing intermediate container 00f2a3898f82 [2020-11-02T06:58:55.736Z] ---> 577909e4b89e [2020-11-02T06:58:55.736Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-02T06:58:56.012Z] ---> Running in 0e377553390f [2020-11-02T06:58:56.286Z] Removing intermediate container 0e377553390f [2020-11-02T06:58:56.286Z] ---> 5abd3dd38643 [2020-11-02T06:58:56.286Z] Step 23/25 : LABEL arch=arm64 [2020-11-02T06:58:56.560Z] ---> Running in 9cdfba89dab6 [2020-11-02T06:58:57.174Z] Removing intermediate container 9cdfba89dab6 [2020-11-02T06:58:57.174Z] ---> def950974022 [2020-11-02T06:58:57.174Z] Step 24/25 : LABEL git_sha=54a1ea0e5cf6d2965807bd64358c28297a664ac6 [2020-11-02T06:58:57.174Z] ---> Running in 0c08a371921c [2020-11-02T06:58:57.450Z] Removing intermediate container 0c08a371921c [2020-11-02T06:58:57.450Z] ---> 0d8e53e08abc [2020-11-02T06:58:57.450Z] Step 25/25 : LABEL version=0.0.0 [2020-11-02T06:58:57.724Z] ---> Running in 177c8b2167f4 [2020-11-02T06:58:58.002Z] Removing intermediate container 177c8b2167f4 [2020-11-02T06:58:58.002Z] ---> 9780cf4d8c64 [2020-11-02T06:58:58.002Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:58:58.276Z] Successfully built 9780cf4d8c64 [2020-11-02T06:58:58.276Z] Successfully tagged docker-device-rest-go-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-11-02T06:59:01.020Z] provisioning config files... [2020-11-02T06:59:01.039Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-56@tmp/config4319397421271205501tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:59:01.473Z] + set +x [2020-11-02T06:59:01.473Z] + curl -s https://codecov.io/bash [2020-11-02T06:59:01.473Z] + bash -s -- [2020-11-02T06:59:01.736Z] [2020-11-02T06:59:01.737Z] _____ _ [2020-11-02T06:59:01.737Z] / ____| | | [2020-11-02T06:59:01.737Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:59:01.737Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:59:01.737Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:59:01.737Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:59:01.737Z] Bash-20201009-048fee3 [2020-11-02T06:59:01.737Z] [2020-11-02T06:59:01.737Z] [2020-11-02T06:59:01.737Z] ==> Jenkins CI detected. [2020-11-02T06:59:01.737Z] project root: . [2020-11-02T06:59:01.737Z] --> token set from env [2020-11-02T06:59:01.737Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:59:01.737Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:59:01.737Z] ==> Python coveragepy not found [2020-11-02T06:59:01.737Z] ==> Searching for coverage reports in: [2020-11-02T06:59:01.737Z] + . [2020-11-02T06:59:01.737Z] -> Found 1 reports [2020-11-02T06:59:01.737Z] ==> Detecting git/mercurial file structure [2020-11-02T06:59:01.737Z] ==> Reading reports [2020-11-02T06:59:01.737Z] + ./coverage.out bytes=9369 [2020-11-02T06:59:01.737Z] ==> Appending adjustments [2020-11-02T06:59:01.737Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:59:01.737Z] + Found adjustments [2020-11-02T06:59:01.737Z] ==> Gzipping contents [2020-11-02T06:59:01.737Z] ==> Uploading reports [2020-11-02T06:59:01.737Z] url: https://codecov.io [2020-11-02T06:59:01.737Z] query: branch=PR-56&commit=54a1ea0e5cf6d2965807bd64358c28297a664ac6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-56%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=56&job=&cmd_args= [2020-11-02T06:59:01.737Z] -> Pinging Codecov [2020-11-02T06:59:01.737Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-56&commit=54a1ea0e5cf6d2965807bd64358c28297a664ac6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-56%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=56&job=&cmd_args= [2020-11-02T06:59:02.001Z] -> Uploading to [2020-11-02T06:59:02.001Z] [2020-11-02T06:59:02.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:59:02.001Z] Dload Upload Total Spent Left Speed [2020-11-02T06:59:02.001Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:59:02.001Z] X> Failed to upload [2020-11-02T06:59:02.001Z] ==> Uploading to Codecov [2020-11-02T06:59:02.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:59:02.001Z] Dload Upload Total Spent Left Speed [2020-11-02T06:59:02.579Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 1806 0 0 100 1695 0 3326 --:--:-- --:--:-- --:--:-- 3323 100 1806 100 111 100 1695 217 3324 --:--:-- --:--:-- --:--:-- 3323 [2020-11-02T06:59:02.579Z] View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/54a1ea0e5cf6d2965807bd64358c28297a664ac6 [Pipeline] } [2020-11-02T06:59:02.611Z] 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-11-02T06:59:06.451Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:59:07.065Z] ---> package-listing.sh [2020-11-02T06:59:07.065Z] ++ facter osfamily [2020-11-02T06:59:07.065Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:59:07.065Z] + OS_FAMILY=redhat [2020-11-02T06:59:07.065Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-56 [2020-11-02T06:59:07.065Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:59:07.065Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:59:07.065Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:59:07.065Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:59:07.065Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-56 ']' [2020-11-02T06:59:07.065Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:59:07.065Z] + case "${OS_FAMILY}" in [2020-11-02T06:59:07.065Z] + rpm -qa [2020-11-02T06:59:07.065Z] + sort [2020-11-02T06:59:11.287Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:59:11.287Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:59:11.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:59:11.287Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-56 ']' [2020-11-02T06:59:11.287Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-56/archives/ [2020-11-02T06:59:11.287Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-56/archives/ [Pipeline] echo [2020-11-02T06:59:11.320Z] 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-rest-go_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T06:59:11.635Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:59:11.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:59:11.971Z] [2020-11-02T06:59:11.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:59:12.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:59:12.381Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:59:12.381Z] df20fa9351a1: Already exists [2020-11-02T06:59:12.381Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:59:12.381Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:59:12.381Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:59:12.381Z] 93b61091891f: Pulling fs layer [2020-11-02T06:59:12.381Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:59:12.381Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:59:12.381Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:59:12.381Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:59:12.381Z] 5e14af77c1be: Waiting [2020-11-02T06:59:12.381Z] 01666e4c0597: Waiting [2020-11-02T06:59:12.381Z] aa168da1d23b: Waiting [2020-11-02T06:59:12.381Z] 93b61091891f: Waiting [2020-11-02T06:59:12.381Z] 93b9cdb0e59b: Waiting [2020-11-02T06:59:12.381Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T06:59:12.381Z] 46f8f816bc3b: Download complete [2020-11-02T06:59:12.381Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T06:59:12.381Z] 36b3adc4ff6f: Download complete [2020-11-02T06:59:12.381Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:59:12.381Z] 93b9cdb0e59b: Download complete [2020-11-02T06:59:12.644Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:59:12.644Z] 5e14af77c1be: Download complete [2020-11-02T06:59:12.644Z] 01666e4c0597: Download complete [2020-11-02T06:59:12.907Z] 93b61091891f: Verifying Checksum [2020-11-02T06:59:12.907Z] 93b61091891f: Download complete [2020-11-02T06:59:12.907Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:59:13.483Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:59:13.483Z] 8ad3a11d3b57: Download complete [2020-11-02T06:59:14.442Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:59:14.442Z] 46f8f816bc3b: Pull complete [2020-11-02T06:59:14.712Z] 93b61091891f: Pull complete [2020-11-02T06:59:15.666Z] aa168da1d23b: Verifying Checksum [2020-11-02T06:59:15.666Z] aa168da1d23b: Download complete [2020-11-02T06:59:16.243Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:59:16.507Z] 5e14af77c1be: Pull complete [2020-11-02T06:59:16.770Z] 01666e4c0597: Pull complete [2020-11-02T06:59:23.402Z] aa168da1d23b: Pull complete [2020-11-02T06:59:23.402Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:59:23.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:59:23.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:59:23.604Z] prd-centos7-docker-4c-2g-10064 does not seem to be running inside a container [2020-11-02T06:59:23.658Z] $ 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-rest-go_PR-56/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-rest-go_PR-56 -v /w/workspace/dgexfoundry_device-rest-go_PR-56:/w/workspace/dgexfoundry_device-rest-go_PR-56:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-56@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-56@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-11-02T06:59:27.206Z] $ docker top bcf27e702fe04fb5e684aa149491566043b218c858ae8944225196ee95854e42 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:59:27.748Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:59:28.089Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:59:28.432Z] + ls /var/log/sa-host [2020-11-02T06:59:28.432Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:59:28.432Z] file_magic: OK [2020-11-02T06:59:28.432Z] HZ: Using current value: 100 [2020-11-02T06:59:28.432Z] file_header: OK [2020-11-02T06:59:28.432Z] 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-11-02T06:59:28.432Z] Statistics: [2020-11-02T06:59:28.432Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:59:28.432Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:59:28.432Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:59:28.432Z] file_magic: OK [2020-11-02T06:59:28.432Z] HZ: Using current value: 100 [2020-11-02T06:59:28.432Z] file_header: OK [2020-11-02T06:59:28.432Z] 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-11-02T06:59:28.432Z] Statistics: [2020-11-02T06:59:28.432Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:59:28.432Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:59:28.720Z] provisioning config files... [2020-11-02T06:59:28.735Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-56@tmp/config5407239688855218295tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:59:28.882Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:59:29.259Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:59:29.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:59:29.451Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:59:29.802Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:59:29.835Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:59:30.174Z] ---> sudo-logs.sh [2020-11-02T06:59:30.174Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:59:30.206Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:59:30.553Z] ---> job-cost.sh [2020-11-02T06:59:30.553Z] lf-activate-venv: SKIPPING [2020-11-02T06:59:30.553Z] INFO: No Stack... [2020-11-02T06:59:31.501Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:59:31.769Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:59:31.806Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:59:32.159Z] ---> logs-deploy.sh [2020-11-02T06:59:32.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-56/1 [2020-11-02T06:59:32.159Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:59:33.550Z] Archives upload complete. [2020-11-02T06:59:33.550Z] INFO: archiving logs to Nexus