Pull request #55 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1e9cfc143a381fd03a181be6c6ca930955f09315+4f6fe4f9eeeb2b13b70d00045467dd3723511a77 (c008a803f557d3b685189a6830e6f2912a0ada6e) 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-55/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-55/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-10063 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [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-55 # 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 1e9cfc143a381fd03a181be6c6ca930955f09315 Merge succeeded, producing 1e9cfc143a381fd03a181be6c6ca930955f09315 Checking out Revision 1e9cfc143a381fd03a181be6c6ca930955f09315 (PR-55) > 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/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # 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 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 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:06.738Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:43:07.139Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:43:07.311Z] ========================================================= [2020-11-02T06:43:07.311Z] EdgeX Global Pipelines Version Info [2020-11-02T06:43:07.311Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:43:09.870Z] ------------------- [2020-11-02T06:43:09.870Z] stable info: [2020-11-02T06:43:09.870Z] ------------------- [2020-11-02T06:43:09.870Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:43:09.870Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:43:09.870Z] Message: update stable to v1.0.152 [2020-11-02T06:43:10.830Z] ------------------- [2020-11-02T06:43:10.830Z] experimental info: [2020-11-02T06:43:10.830Z] ------------------- [2020-11-02T06:43:10.830Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:43:10.830Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:43:10.830Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:43:11.344Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-02T06:43:11.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-02T06:43:11.615Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:43:11.757Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:43:11.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:43:12.046Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:43:12.171Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:43:12.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:43:12.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:43:12.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:43:12.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:43:12.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-02T06:43:13.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:43:13.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:43:13.310Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:43:13.436Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:43:13.572Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:43:13.701Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:43:13.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:43:13.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-02T06:43:14.087Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:43:14.228Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:43:14.369Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:43:14.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:43:14.755Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:43:14.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo [2020-11-02T06:43:15.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo [2020-11-02T06:43:15.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo [2020-11-02T06:43:15.337Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e9cfc143a381fd03a181be6c6ca930955f09315 [Pipeline] echo [2020-11-02T06:43:15.511Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e9cfc1 [Pipeline] echo [2020-11-02T06:43:15.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:43:16.683Z] + git log --format=format:%s -1 1e9cfc143a381fd03a181be6c6ca930955f09315 [Pipeline] echo [2020-11-02T06:43:16.779Z] GIT_COMMIT: 1e9cfc143a381fd03a181be6c6ca930955f09315, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo [2020-11-02T06:43:16.860Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:17.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:43:17.802Z] [2020-11-02T06:43:17.802Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:18.218Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:43:18.218Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:43:18.218Z] 31603596830f: Pulling fs layer [2020-11-02T06:43:18.218Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:43:18.218Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:43:18.218Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:43:18.218Z] ecc8261a40a4: Waiting [2020-11-02T06:43:18.218Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:43:18.218Z] 2a8b12db71e7: Download complete [2020-11-02T06:43:18.218Z] 31603596830f: Verifying Checksum [2020-11-02T06:43:18.218Z] 31603596830f: Download complete [2020-11-02T06:43:18.485Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:43:18.486Z] ecc8261a40a4: Download complete [2020-11-02T06:43:18.486Z] 6ca5941a6612: Verifying Checksum [2020-11-02T06:43:18.486Z] 6ca5941a6612: Download complete [2020-11-02T06:43:18.759Z] 31603596830f: Pull complete [2020-11-02T06:43:18.759Z] 2a8b12db71e7: Pull complete [2020-11-02T06:43:19.744Z] 6ca5941a6612: Pull complete [2020-11-02T06:43:19.744Z] ecc8261a40a4: Pull complete [2020-11-02T06:43:20.015Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:43:20.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:43:20.015Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:43:20.165Z] prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container [2020-11-02T06:43:20.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@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:22.619Z] $ docker top 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:43:23.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:43:23.114Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:43:23.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:43:23.356Z] $ docker exec 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent [2020-11-02T06:43:23.626Z] SSH_AUTH_SOCK=/tmp/ssh-DpQCmTtfetJE/agent.11 [2020-11-02T06:43:23.626Z] SSH_AGENT_PID=16 [2020-11-02T06:43:23.662Z] Running ssh-add (command line suppressed) [2020-11-02T06:43:23.820Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_2498209044997154651.key (/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_2498209044997154651.key) [2020-11-02T06:43:23.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:43:24.293Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:43:24.323Z] $ docker exec --env ******** --env ******** 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent -k [2020-11-02T06:43:24.448Z] unset SSH_AUTH_SOCK; [2020-11-02T06:43:24.449Z] unset SSH_AGENT_PID; [2020-11-02T06:43:24.449Z] echo Agent pid 16 killed; [2020-11-02T06:43:24.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:43:24.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:43:24.717Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:43:24.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:43:24.892Z] $ docker exec 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent [2020-11-02T06:43:25.064Z] SSH_AUTH_SOCK=/tmp/ssh-TvsxqZijZHx7/agent.46 [2020-11-02T06:43:25.064Z] SSH_AGENT_PID=51 [2020-11-02T06:43:25.070Z] Running ssh-add (command line suppressed) [2020-11-02T06:43:25.203Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_6021265705205108414.key (/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/private_key_6021265705205108414.key) [2020-11-02T06:43:25.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:43:25.678Z] + git semver init [2020-11-02T06:43:25.678Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:43:25.678Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.git [2020-11-02T06:43:25.678Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-55 [2020-11-02T06:43:25.678Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:43:25.678Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:43:25.678Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:43:25.678Z] # $SEMVER_BRANCH = PR-55 [2020-11-02T06:43:25.678Z] # $SEMVER_TEMP = /tmp/semver-647751240 [2020-11-02T06:43:25.678Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-02T06:43:27.102Z] # '/tmp/semver-647751240' -> '/w/workspace/dgexfoundry_device-rest-go_PR-55/.semver' [2020-11-02T06:43:27.102Z] # -> Force: false [2020-11-02T06:43:27.102Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.semver [Pipeline] } [2020-11-02T06:43:27.139Z] $ docker exec --env ******** --env ******** 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent -k [2020-11-02T06:43:27.263Z] unset SSH_AUTH_SOCK; [2020-11-02T06:43:27.264Z] unset SSH_AGENT_PID; [2020-11-02T06:43:27.264Z] echo Agent pid 51 killed; [2020-11-02T06:43:27.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:43:27.919Z] + git semver [Pipeline] } [2020-11-02T06:43:27.959Z] $ docker stop --time=1 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 [2020-11-02T06:43:29.393Z] $ docker rm -f 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:43:29.946Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:43:30.443Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:43:30.463Z] [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:31.988Z] ========================================================= [2020-11-02T06:43:31.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:43:31.988Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:32.395Z] + 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:32.395Z] Sending build context to Docker daemon 8.07MB [2020-11-02T06:43:32.395Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-02T06:43:32.395Z] Step 2/10 : FROM ${BASE} [2020-11-02T06:43:32.665Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:43:32.665Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:43:32.665Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:43:32.665Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:43:32.665Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:43:32.665Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:43:32.665Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:43:32.665Z] 4e634b169226: Pulling fs layer [2020-11-02T06:43:32.665Z] e73272ec9a57: Waiting [2020-11-02T06:43:32.665Z] 4e634b169226: Waiting [2020-11-02T06:43:32.665Z] 1e910a182e73: Waiting [2020-11-02T06:43:32.665Z] e871e8e8d7a9: Waiting [2020-11-02T06:43:32.665Z] a92cc7c5fd73: Download complete [2020-11-02T06:43:32.665Z] ed8968b2872e: Verifying Checksum [2020-11-02T06:43:32.665Z] ed8968b2872e: Download complete [2020-11-02T06:43:32.665Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:43:32.665Z] e73272ec9a57: Download complete [2020-11-02T06:43:32.665Z] 1e910a182e73: Verifying Checksum [2020-11-02T06:43:32.665Z] 1e910a182e73: Download complete [2020-11-02T06:43:32.665Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:43:32.665Z] df20fa9351a1: Download complete [2020-11-02T06:43:33.248Z] df20fa9351a1: Pull complete [2020-11-02T06:43:33.248Z] ed8968b2872e: Pull complete [2020-11-02T06:43:33.518Z] a92cc7c5fd73: Pull complete [2020-11-02T06:43:35.459Z] 4e634b169226: Verifying Checksum [2020-11-02T06:43:35.459Z] 4e634b169226: Download complete [2020-11-02T06:43:36.863Z] e871e8e8d7a9: Verifying Checksum [2020-11-02T06:43:36.863Z] e871e8e8d7a9: Download complete [2020-11-02T06:43:42.236Z] e871e8e8d7a9: Pull complete [2020-11-02T06:43:42.501Z] e73272ec9a57: Pull complete [2020-11-02T06:43:42.501Z] 1e910a182e73: Pull complete [2020-11-02T06:43:46.533Z] Still waiting to schedule task [2020-11-02T06:43:46.533Z] ‘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:50.727Z] 4e634b169226: Pull complete [2020-11-02T06:43:50.727Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:43:50.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:43:50.727Z] ---> f7629b54cfaa [2020-11-02T06:43:50.727Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:43:50.727Z] ---> Running in 21e070f19840 [2020-11-02T06:43:50.990Z] Removing intermediate container 21e070f19840 [2020-11-02T06:43:50.990Z] ---> 06b595a06966 [2020-11-02T06:43:50.990Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:43:50.990Z] ---> Running in 66cf82b2140d [2020-11-02T06:43:51.254Z] Removing intermediate container 66cf82b2140d [2020-11-02T06:43:51.254Z] ---> a2dc927db834 [2020-11-02T06:43:51.254Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:43:51.254Z] ---> Running in fc34ba2f74af [2020-11-02T06:43:51.519Z] Removing intermediate container fc34ba2f74af [2020-11-02T06:43:51.519Z] ---> b212ebf15bc3 [2020-11-02T06:43:51.519Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:43:51.519Z] ---> Running in 2ed1c7801659 [2020-11-02T06:43:53.465Z] Removing intermediate container 2ed1c7801659 [2020-11-02T06:43:53.465Z] ---> 81de30ab94cd [2020-11-02T06:43:53.465Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:43:53.465Z] ---> Running in 75fd9a11dc80 [2020-11-02T06:43:53.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:55.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:57.055Z] OK: 166 MiB in 39 packages [2020-11-02T06:43:57.056Z] Removing intermediate container 75fd9a11dc80 [2020-11-02T06:43:57.056Z] ---> feb33fc6d817 [2020-11-02T06:43:57.056Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-02T06:43:57.324Z] ---> Running in 99f08e8c2a17 [2020-11-02T06:43:57.324Z] Removing intermediate container 99f08e8c2a17 [2020-11-02T06:43:57.324Z] ---> 6d8c02d32075 [2020-11-02T06:43:57.324Z] Step 9/10 : COPY . . [2020-11-02T06:43:57.901Z] ---> 5066ffe464ac [2020-11-02T06:43:57.901Z] Step 10/10 : RUN go mod download [2020-11-02T06:43:58.169Z] ---> Running in d4105ecef7b2 [2020-11-02T06:44:20.242Z] Removing intermediate container d4105ecef7b2 [2020-11-02T06:44:20.242Z] ---> b56986cb9030 [2020-11-02T06:44:20.242Z] Successfully built b56986cb9030 [2020-11-02T06:44:20.242Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:20.623Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:44:20.623Z] . [Pipeline] withDockerContainer [2020-11-02T06:44:20.762Z] prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container [2020-11-02T06:44:20.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-rest-go_PR-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@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:21.811Z] $ docker top 7b52561df77d63ef81a22f37038fca4e4a4d3dca1cd2ec5d4720d1feecccc33f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:44:22.453Z] + go version [2020-11-02T06:44:22.453Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:44:22.491Z] $ docker stop --time=1 7b52561df77d63ef81a22f37038fca4e4a4d3dca1cd2ec5d4720d1feecccc33f [2020-11-02T06:44:23.874Z] $ docker rm -f 7b52561df77d63ef81a22f37038fca4e4a4d3dca1cd2ec5d4720d1feecccc33f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:24.968Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:44:24.968Z] . [Pipeline] withDockerContainer [2020-11-02T06:44:25.111Z] prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container [2020-11-02T06:44:25.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-rest-go_PR-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@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:25.823Z] $ docker top b6aef01a31a4ad9db9a064e06022891712fdd24b7976d00150e15157396299e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:44:26.464Z] + make test [2020-11-02T06:44:26.464Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-02T06:44:27.493Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-02T06:44:42.609Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-02T06:44:42.609Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements [2020-11-02T06:44:42.609Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:44:44.695Z] gofmt -l . [2020-11-02T06:44:44.967Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:44:44.967Z] ./bin/test-go-mod-tidy.sh [2020-11-02T06:44:45.251Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-02T06:44:45.865Z] $ docker stop --time=1 b6aef01a31a4ad9db9a064e06022891712fdd24b7976d00150e15157396299e9 [2020-11-02T06:44:48.277Z] $ docker rm -f b6aef01a31a4ad9db9a064e06022891712fdd24b7976d00150e15157396299e9 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:44:48.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:44:48.979Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:44:50.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:44:50.639Z] + ls -al . [2020-11-02T06:44:50.639Z] total 96 [2020-11-02T06:44:50.639Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 2 06:44 . [2020-11-02T06:44:50.639Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:42 .. [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 2 06:43 Attribution.txt [2020-11-02T06:44:50.639Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 2 06:43 bin [2020-11-02T06:44:50.639Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:43 cmd [2020-11-02T06:44:50.639Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 2 06:44 coverage.out [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 2 06:43 Dockerfile [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 2 06:43 Dockerfile.build [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 2 06:43 .dockerignore [2020-11-02T06:44:50.639Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 2 06:44 driver [2020-11-02T06:44:50.639Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:43 .git [2020-11-02T06:44:50.639Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:43 .github [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 2 06:43 .gitignore [2020-11-02T06:44:50.639Z] -rw-r--r--. 1 jenkins jenkins 274 Nov 2 06:44 go.mod [2020-11-02T06:44:50.639Z] -rw-r--r--. 1 jenkins jenkins 13804 Nov 2 06:44 go.sum [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 2 06:43 Jenkinsfile [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:43 LICENSE [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 2 06:43 Makefile [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 2 06:43 README.md [2020-11-02T06:44:50.639Z] drwx------. 3 jenkins jenkins 45 Nov 2 06:43 .semver [2020-11-02T06:44:50.639Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:43 snap [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:43 VERSION [2020-11-02T06:44:50.639Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 2 06:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:50.977Z] + 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=1e9cfc143a381fd03a181be6c6ca930955f09315 --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:44:51.242Z] Sending build context to Docker daemon 8.081MB [2020-11-02T06:44:51.242Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-02T06:44:51.242Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-02T06:44:51.242Z] ---> b56986cb9030 [2020-11-02T06:44:51.242Z] Step 3/25 : ARG MAKE='make build' [2020-11-02T06:44:51.242Z] ---> Running in 668c2f5b220c [2020-11-02T06:44:51.506Z] Removing intermediate container 668c2f5b220c [2020-11-02T06:44:51.506Z] ---> 4e19208838a3 [2020-11-02T06:44:51.506Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:44:51.506Z] ---> Running in 40e99fd580e9 [2020-11-02T06:44:51.768Z] Removing intermediate container 40e99fd580e9 [2020-11-02T06:44:51.768Z] ---> 371aae5cb91a [2020-11-02T06:44:51.768Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:44:51.768Z] ---> Running in a54b8a688637 [2020-11-02T06:44:51.768Z] Removing intermediate container a54b8a688637 [2020-11-02T06:44:51.768Z] ---> f5ce770f233e [2020-11-02T06:44:51.768Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:44:52.033Z] ---> Running in 86c157205d88 [2020-11-02T06:44:52.615Z] Removing intermediate container 86c157205d88 [2020-11-02T06:44:52.615Z] ---> 10fc96cc3007 [2020-11-02T06:44:52.615Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:44:52.888Z] ---> Running in 41a85ea9e3d8 [2020-11-02T06:44:53.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:44:54.412Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:44:55.013Z] OK: 166 MiB in 39 packages [2020-11-02T06:44:55.651Z] Removing intermediate container 41a85ea9e3d8 [2020-11-02T06:44:55.651Z] ---> 04390ac8a207 [2020-11-02T06:44:55.651Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-02T06:44:55.651Z] ---> Running in e684ad4323c8 [2020-11-02T06:44:55.651Z] Removing intermediate container e684ad4323c8 [2020-11-02T06:44:55.651Z] ---> fb88f67d8c77 [2020-11-02T06:44:55.651Z] Step 9/25 : COPY go.mod . [2020-11-02T06:44:55.932Z] ---> 94b3057f82dc [2020-11-02T06:44:55.932Z] Step 10/25 : COPY Makefile . [2020-11-02T06:44:56.229Z] ---> 67a8671c91db [2020-11-02T06:44:56.229Z] Step 11/25 : RUN make update [2020-11-02T06:44:56.229Z] ---> Running in 943db2fa52c8 [2020-11-02T06:44:56.877Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-02T06:44:57.483Z] Removing intermediate container 943db2fa52c8 [2020-11-02T06:44:57.483Z] ---> 3c799ce5f3d7 [2020-11-02T06:44:57.483Z] Step 12/25 : COPY . . [2020-11-02T06:44:58.078Z] ---> b49a3651ba50 [2020-11-02T06:44:58.078Z] Step 13/25 : RUN $MAKE [2020-11-02T06:44:58.078Z] ---> Running in ce5c37e06c5a [2020-11-02T06:44:58.684Z] 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:11.121Z] Removing intermediate container ce5c37e06c5a [2020-11-02T06:45:11.121Z] ---> b6ed12424145 [2020-11-02T06:45:11.121Z] Step 14/25 : FROM alpine:latest [2020-11-02T06:45:11.121Z] latest: Pulling from library/alpine [2020-11-02T06:45:11.121Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:45:11.386Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T06:45:11.386Z] 188c0c94c7c5: Download complete [2020-11-02T06:45:11.651Z] 188c0c94c7c5: Pull complete [2020-11-02T06:45:11.651Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:45:11.651Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:45:11.651Z] ---> d6e46aa2470d [2020-11-02T06:45:11.651Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:45:11.651Z] ---> Running in e4bbf716f13b [2020-11-02T06:45:11.915Z] Removing intermediate container e4bbf716f13b [2020-11-02T06:45:11.915Z] ---> ace7733fead6 [2020-11-02T06:45:11.915Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-02T06:45:11.915Z] ---> Running in c3db3e06370a [2020-11-02T06:45:12.186Z] Removing intermediate container c3db3e06370a [2020-11-02T06:45:12.186Z] ---> a30c751629bb [2020-11-02T06:45:12.186Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-02T06:45:12.451Z] ---> 56077ac136dc [2020-11-02T06:45:12.451Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-02T06:45:12.786Z] ---> 1de573949ce2 [2020-11-02T06:45:12.786Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-02T06:45:13.059Z] ---> 10ff30bf4b36 [2020-11-02T06:45:13.059Z] Step 20/25 : EXPOSE 49986 [2020-11-02T06:45:13.059Z] ---> Running in 75a76f2643c3 [2020-11-02T06:45:13.327Z] Removing intermediate container 75a76f2643c3 [2020-11-02T06:45:13.327Z] ---> 2a6dc45b944e [2020-11-02T06:45:13.327Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-02T06:45:13.327Z] ---> Running in a5584987306b [2020-11-02T06:45:13.593Z] Removing intermediate container a5584987306b [2020-11-02T06:45:13.593Z] ---> 3af3884027c9 [2020-11-02T06:45:13.593Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-02T06:45:13.593Z] ---> Running in e73ff8521142 [2020-11-02T06:45:13.860Z] Removing intermediate container e73ff8521142 [2020-11-02T06:45:13.860Z] ---> b5725d14d835 [2020-11-02T06:45:13.860Z] Step 23/25 : LABEL arch=amd64 [2020-11-02T06:45:13.860Z] ---> Running in c64b10d9986d [2020-11-02T06:45:13.860Z] Removing intermediate container c64b10d9986d [2020-11-02T06:45:13.860Z] ---> 6443d10442ec [2020-11-02T06:45:13.860Z] Step 24/25 : LABEL git_sha=1e9cfc143a381fd03a181be6c6ca930955f09315 [2020-11-02T06:45:14.161Z] ---> Running in 36e92361b610 [2020-11-02T06:45:14.161Z] Removing intermediate container 36e92361b610 [2020-11-02T06:45:14.161Z] ---> 775bf77856ca [2020-11-02T06:45:14.161Z] Step 25/25 : LABEL version=0.0.0 [2020-11-02T06:45:14.161Z] ---> Running in 07a0ca0bf491 [2020-11-02T06:45:14.495Z] Removing intermediate container 07a0ca0bf491 [2020-11-02T06:45:14.495Z] ---> 5c23eb0e231b [2020-11-02T06:45:14.495Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:45:14.495Z] Successfully built 5c23eb0e231b [2020-11-02T06:45:14.495Z] 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:46:36.808Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10079 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] ws [2020-11-02T06:46:36.940Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:46:42.335Z] using credential edgex-jenkins-ssh [2020-11-02T06:46:42.391Z] Cloning the remote Git repository [2020-11-02T06:46:42.449Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-02T06:46:42.570Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-02T06:46:42.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-02T06:46:42.655Z] > git --version # timeout=10 [2020-11-02T06:46:42.681Z] > git --version # 'git version 2.17.1' [2020-11-02T06:46:42.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:46:42.761Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:46:47.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-02T06:46:47.069Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:46:47.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-02T06:46:47.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-02T06:46:47.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:46:47.162Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:46:47.709Z] Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 [2020-11-02T06:46:48.190Z] Merge succeeded, producing 1e9cfc143a381fd03a181be6c6ca930955f09315 [2020-11-02T06:46:48.191Z] Checking out Revision 1e9cfc143a381fd03a181be6c6ca930955f09315 (PR-55) [2020-11-02T06:46:47.730Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:46:47.746Z] > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [2020-11-02T06:46:47.891Z] > git remote # timeout=10 [2020-11-02T06:46:48.011Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:46:48.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:46:48.116Z] > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 [2020-11-02T06:46:48.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:46:48.197Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:46:48.217Z] > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 [2020-11-02T06:46:52.777Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" [2020-11-02T06:46:52.852Z] > git --version # timeout=10 [2020-11-02T06:46:52.863Z] > git --version # 'git version 2.17.1' [2020-11-02T06:46:52.881Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:46:54.208Z] ========================================================= [2020-11-02T06:46:54.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:46:54.208Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:46:55.495Z] + 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:46:56.105Z] Sending build context to Docker daemon 79.87kB [2020-11-02T06:46:56.387Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-02T06:46:56.387Z] Step 2/10 : FROM ${BASE} [2020-11-02T06:46:56.994Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:46:56.994Z] b538f80385f9: Pulling fs layer [2020-11-02T06:46:56.994Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:46:56.994Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:46:56.994Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:46:56.994Z] 45590311c82a: Pulling fs layer [2020-11-02T06:46:56.994Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:46:56.994Z] 209524e5b208: Pulling fs layer [2020-11-02T06:46:56.994Z] 45590311c82a: Waiting [2020-11-02T06:46:56.994Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:46:56.994Z] 8529a6b9a6be: Waiting [2020-11-02T06:46:56.994Z] 209524e5b208: Waiting [2020-11-02T06:46:56.994Z] 99f96fe45779: Download complete [2020-11-02T06:46:56.994Z] 74f711af9a0d: Verifying Checksum [2020-11-02T06:46:56.994Z] 74f711af9a0d: Download complete [2020-11-02T06:46:56.994Z] 45590311c82a: Verifying Checksum [2020-11-02T06:46:56.994Z] 45590311c82a: Download complete [2020-11-02T06:46:56.994Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-02T06:46:56.994Z] 69ca0ff8b7b3: Download complete [2020-11-02T06:46:56.994Z] b538f80385f9: Download complete [2020-11-02T06:46:57.604Z] b538f80385f9: Pull complete [2020-11-02T06:46:58.634Z] 74f711af9a0d: Pull complete [2020-11-02T06:46:58.919Z] 99f96fe45779: Pull complete [2020-11-02T06:46:59.927Z] 209524e5b208: Verifying Checksum [2020-11-02T06:46:59.927Z] 209524e5b208: Download complete [2020-11-02T06:47:00.934Z] 8529a6b9a6be: Verifying Checksum [2020-11-02T06:47:00.934Z] 8529a6b9a6be: Download complete [2020-11-02T06:47:11.114Z] 8529a6b9a6be: Pull complete [2020-11-02T06:47:11.393Z] 45590311c82a: Pull complete [2020-11-02T06:47:11.673Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:47:16.030Z] 209524e5b208: Pull complete [2020-11-02T06:47:16.030Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:47:16.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:47:16.030Z] ---> 5bddaf1c2fca [2020-11-02T06:47:16.030Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:47:18.703Z] ---> Running in 7f5bd01b72c2 [2020-11-02T06:47:18.981Z] Removing intermediate container 7f5bd01b72c2 [2020-11-02T06:47:18.981Z] ---> 5e759d860d34 [2020-11-02T06:47:18.981Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:47:19.262Z] ---> Running in ff46fad0c56e [2020-11-02T06:47:19.539Z] Removing intermediate container ff46fad0c56e [2020-11-02T06:47:19.539Z] ---> 90c3f1a9d63d [2020-11-02T06:47:19.539Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:47:19.820Z] ---> Running in 96cc47d17775 [2020-11-02T06:47:20.426Z] Removing intermediate container 96cc47d17775 [2020-11-02T06:47:20.426Z] ---> 22a45756c797 [2020-11-02T06:47:20.426Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:47:20.426Z] ---> Running in 49af8301791a [2020-11-02T06:47:23.847Z] Removing intermediate container 49af8301791a [2020-11-02T06:47:23.847Z] ---> ad8927599288 [2020-11-02T06:47:23.847Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:47:23.847Z] ---> Running in 62bb9c385c8d [2020-11-02T06:47:25.290Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:25.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:26.878Z] OK: 142 MiB in 39 packages [2020-11-02T06:47:28.357Z] Removing intermediate container 62bb9c385c8d [2020-11-02T06:47:28.357Z] ---> c4b8527168f8 [2020-11-02T06:47:28.357Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-02T06:47:28.637Z] ---> Running in c83dfe2682d5 [2020-11-02T06:47:28.920Z] Removing intermediate container c83dfe2682d5 [2020-11-02T06:47:28.920Z] ---> 108cbbe333f5 [2020-11-02T06:47:28.920Z] Step 9/10 : COPY . . [2020-11-02T06:47:29.916Z] ---> 1be6b4cc3b19 [2020-11-02T06:47:29.916Z] Step 10/10 : RUN go mod download [2020-11-02T06:47:29.916Z] ---> Running in be034e9ffb25 [2020-11-02T06:47:56.739Z] Removing intermediate container be034e9ffb25 [2020-11-02T06:47:56.739Z] ---> 555715cc343b [2020-11-02T06:47:56.739Z] Successfully built 555715cc343b [2020-11-02T06:47:56.739Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:47:57.212Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:47:57.212Z] . [Pipeline] withDockerContainer [2020-11-02T06:47:57.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-10079 does not seem to be running inside a container [2020-11-02T06:47:57.653Z] $ 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:47:59.793Z] $ docker top 5f076f25fee43313814747a02a426198ee8318c3e2db5c8166d5f793762e68a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:48:01.331Z] + go version [2020-11-02T06:48:01.331Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:48:01.373Z] $ docker stop --time=1 5f076f25fee43313814747a02a426198ee8318c3e2db5c8166d5f793762e68a7 [2020-11-02T06:48:03.477Z] $ docker rm -f 5f076f25fee43313814747a02a426198ee8318c3e2db5c8166d5f793762e68a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:48:04.799Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:48:04.799Z] . [Pipeline] withDockerContainer [2020-11-02T06:48:05.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-10079 does not seem to be running inside a container [2020-11-02T06:48:05.203Z] $ 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:48:07.245Z] $ docker top 1d9abd78282652271645b883bf31344a479f6c0af7eaf6c76af827530b569067 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:48:08.818Z] + make test [2020-11-02T06:48:08.818Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-02T06:48:10.275Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-02T06:48:49.301Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-02T06:48:49.302Z] ok github.com/edgexfoundry/device-rest-go/driver 0.162s coverage: 56.3% of statements [2020-11-02T06:48:49.302Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:48:54.719Z] gofmt -l . [2020-11-02T06:48:54.719Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:48:54.719Z] ./bin/test-go-mod-tidy.sh [2020-11-02T06:48:54.994Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-02T06:48:56.014Z] $ docker stop --time=1 1d9abd78282652271645b883bf31344a479f6c0af7eaf6c76af827530b569067 [2020-11-02T06:48:58.258Z] $ docker rm -f 1d9abd78282652271645b883bf31344a479f6c0af7eaf6c76af827530b569067 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:48:59.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:48:59.223Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:48:59.965Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:49:00.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:49:01.400Z] + ls -al . [2020-11-02T06:49:01.400Z] total 124 [2020-11-02T06:49:01.400Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:48 . [2020-11-02T06:49:01.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:46 .. [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 2 06:46 .dockerignore [2020-11-02T06:49:01.400Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:46 .git [2020-11-02T06:49:01.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 .github [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 2 06:46 .gitignore [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 2 06:46 Attribution.txt [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 2 06:46 Dockerfile [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 2 06:46 Dockerfile.build [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 06:46 Jenkinsfile [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:46 LICENSE [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 2 06:46 Makefile [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 2 06:46 README.md [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:43 VERSION [2020-11-02T06:49:01.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 bin [2020-11-02T06:49:01.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:46 cmd [2020-11-02T06:49:01.400Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 2 06:48 coverage.out [2020-11-02T06:49:01.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:48 driver [2020-11-02T06:49:01.400Z] -rw-r--r-- 1 jenkins jenkins 274 Nov 2 06:48 go.mod [2020-11-02T06:49:01.400Z] -rw-r--r-- 1 jenkins jenkins 13804 Nov 2 06:48 go.sum [2020-11-02T06:49:01.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:46 snap [2020-11-02T06:49:01.400Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 2 06:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:49:01.861Z] + 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=1e9cfc143a381fd03a181be6c6ca930955f09315 --label arch=arm64 --label version=0.0.0 . [2020-11-02T06:49:01.861Z] Sending build context to Docker daemon 91.65kB [2020-11-02T06:49:02.137Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-02T06:49:02.137Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-02T06:49:02.137Z] ---> 555715cc343b [2020-11-02T06:49:02.137Z] Step 3/25 : ARG MAKE='make build' [2020-11-02T06:49:02.408Z] ---> Running in 34ccaddd28af [2020-11-02T06:49:02.756Z] Removing intermediate container 34ccaddd28af [2020-11-02T06:49:02.756Z] ---> 9b93618a51d7 [2020-11-02T06:49:02.756Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:49:03.027Z] ---> Running in f454b6c1eec7 [2020-11-02T06:49:03.298Z] Removing intermediate container f454b6c1eec7 [2020-11-02T06:49:03.298Z] ---> 3a436c1e18b9 [2020-11-02T06:49:03.298Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:49:03.568Z] ---> Running in 51cbf55dc0a4 [2020-11-02T06:49:03.839Z] Removing intermediate container 51cbf55dc0a4 [2020-11-02T06:49:03.839Z] ---> dc995b55b2bc [2020-11-02T06:49:03.839Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:49:04.125Z] ---> Running in 228ffcc46041 [2020-11-02T06:49:06.743Z] Removing intermediate container 228ffcc46041 [2020-11-02T06:49:06.743Z] ---> c0db97000c79 [2020-11-02T06:49:06.743Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:49:06.743Z] ---> Running in f29ffb45bb9f [2020-11-02T06:49:08.187Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:49:08.783Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:49:09.759Z] OK: 142 MiB in 39 packages [2020-11-02T06:49:11.201Z] Removing intermediate container f29ffb45bb9f [2020-11-02T06:49:11.201Z] ---> b43b14d63254 [2020-11-02T06:49:11.201Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-02T06:49:11.201Z] ---> Running in ce81e694ddf6 [2020-11-02T06:49:11.472Z] Removing intermediate container ce81e694ddf6 [2020-11-02T06:49:11.472Z] ---> 27e8fc5bf207 [2020-11-02T06:49:11.472Z] Step 9/25 : COPY go.mod . [2020-11-02T06:49:12.453Z] ---> a2742fda4a6b [2020-11-02T06:49:12.453Z] Step 10/25 : COPY Makefile . [2020-11-02T06:49:13.055Z] ---> 822b15ceb976 [2020-11-02T06:49:13.055Z] Step 11/25 : RUN make update [2020-11-02T06:49:13.055Z] ---> Running in 9055da5a7e09 [2020-11-02T06:49:14.491Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-02T06:49:15.934Z] Removing intermediate container 9055da5a7e09 [2020-11-02T06:49:15.934Z] ---> 0dbfb8f2f0f7 [2020-11-02T06:49:15.934Z] Step 12/25 : COPY . . [2020-11-02T06:49:16.528Z] ---> b10c200f721d [2020-11-02T06:49:16.528Z] Step 13/25 : RUN $MAKE [2020-11-02T06:49:16.528Z] ---> Running in 079cf53e9b36 [2020-11-02T06:49:17.966Z] 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:49:50.345Z] Removing intermediate container 079cf53e9b36 [2020-11-02T06:49:50.345Z] ---> 585d3bd6f25d [2020-11-02T06:49:50.345Z] Step 14/25 : FROM alpine:latest [2020-11-02T06:49:50.345Z] latest: Pulling from library/alpine [2020-11-02T06:49:50.345Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:49:50.345Z] 5f621e34cdf4: Download complete [2020-11-02T06:49:50.345Z] 5f621e34cdf4: Pull complete [2020-11-02T06:49:50.345Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:49:50.345Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:49:50.345Z] ---> 2e77e061c27f [2020-11-02T06:49:50.345Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T06:49:50.345Z] ---> Running in bf6f2191ad97 [2020-11-02T06:49:50.345Z] Removing intermediate container bf6f2191ad97 [2020-11-02T06:49:50.345Z] ---> 647217e7a277 [2020-11-02T06:49:50.345Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-02T06:49:50.345Z] ---> Running in 26397c927387 [2020-11-02T06:49:50.345Z] Removing intermediate container 26397c927387 [2020-11-02T06:49:50.345Z] ---> 1890f4f420a4 [2020-11-02T06:49:50.345Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-02T06:49:50.345Z] ---> 26d01778f468 [2020-11-02T06:49:50.345Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-02T06:49:50.345Z] ---> 31ec1019a280 [2020-11-02T06:49:50.345Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-02T06:49:50.941Z] ---> 52c1a1bdbfb0 [2020-11-02T06:49:50.942Z] Step 20/25 : EXPOSE 49986 [2020-11-02T06:49:50.942Z] ---> Running in f2d062e7946d [2020-11-02T06:49:51.533Z] Removing intermediate container f2d062e7946d [2020-11-02T06:49:51.533Z] ---> 86750f7321ec [2020-11-02T06:49:51.533Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-02T06:49:51.533Z] ---> Running in f50205fa5321 [2020-11-02T06:49:52.130Z] Removing intermediate container f50205fa5321 [2020-11-02T06:49:52.130Z] ---> ca5c0d961bc1 [2020-11-02T06:49:52.130Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-02T06:49:52.130Z] ---> Running in 3c85b502c4f0 [2020-11-02T06:49:52.733Z] Removing intermediate container 3c85b502c4f0 [2020-11-02T06:49:52.733Z] ---> 9136f2e167d0 [2020-11-02T06:49:52.733Z] Step 23/25 : LABEL arch=arm64 [2020-11-02T06:49:52.733Z] ---> Running in 74e1598e2ec8 [2020-11-02T06:49:53.020Z] Removing intermediate container 74e1598e2ec8 [2020-11-02T06:49:53.020Z] ---> c5ad5ce7024a [2020-11-02T06:49:53.020Z] Step 24/25 : LABEL git_sha=1e9cfc143a381fd03a181be6c6ca930955f09315 [2020-11-02T06:49:53.299Z] ---> Running in 10563362f396 [2020-11-02T06:49:53.580Z] Removing intermediate container 10563362f396 [2020-11-02T06:49:53.580Z] ---> 2185a947efeb [2020-11-02T06:49:53.580Z] Step 25/25 : LABEL version=0.0.0 [2020-11-02T06:49:53.853Z] ---> Running in cec6889d0b88 [2020-11-02T06:49:54.144Z] Removing intermediate container cec6889d0b88 [2020-11-02T06:49:54.144Z] ---> 53f68157157d [2020-11-02T06:49:54.144Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:49:54.144Z] Successfully built 53f68157157d [2020-11-02T06:49:54.144Z] 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:49:56.796Z] provisioning config files... [2020-11-02T06:49:56.813Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config7616417250789593907tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:49:57.278Z] + set +x [2020-11-02T06:49:57.278Z] + curl -s https://codecov.io/bash [2020-11-02T06:49:57.278Z] + bash -s -- [2020-11-02T06:49:57.547Z] [2020-11-02T06:49:57.547Z] _____ _ [2020-11-02T06:49:57.547Z] / ____| | | [2020-11-02T06:49:57.547Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:49:57.547Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:49:57.547Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:49:57.547Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:49:57.547Z] Bash-20201009-048fee3 [2020-11-02T06:49:57.547Z] [2020-11-02T06:49:57.547Z] [2020-11-02T06:49:57.547Z] ==> Jenkins CI detected. [2020-11-02T06:49:57.547Z] project root: . [2020-11-02T06:49:57.547Z] --> token set from env [2020-11-02T06:49:57.547Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:49:57.547Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:49:57.547Z] ==> Python coveragepy not found [2020-11-02T06:49:57.547Z] ==> Searching for coverage reports in: [2020-11-02T06:49:57.547Z] + . [2020-11-02T06:49:57.547Z] -> Found 1 reports [2020-11-02T06:49:57.547Z] ==> Detecting git/mercurial file structure [2020-11-02T06:49:57.547Z] ==> Reading reports [2020-11-02T06:49:57.547Z] + ./coverage.out bytes=9369 [2020-11-02T06:49:57.547Z] ==> Appending adjustments [2020-11-02T06:49:57.547Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:49:57.547Z] + Found adjustments [2020-11-02T06:49:57.547Z] ==> Gzipping contents [2020-11-02T06:49:57.547Z] ==> Uploading reports [2020-11-02T06:49:57.547Z] url: https://codecov.io [2020-11-02T06:49:57.547Z] query: branch=PR-55&commit=1e9cfc143a381fd03a181be6c6ca930955f09315&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=55&job=&cmd_args= [2020-11-02T06:49:57.547Z] -> Pinging Codecov [2020-11-02T06:49:57.547Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-55&commit=1e9cfc143a381fd03a181be6c6ca930955f09315&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=55&job=&cmd_args= [2020-11-02T06:49:57.816Z] -> Uploading to [2020-11-02T06:49:57.816Z] [2020-11-02T06:49:57.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:49:57.816Z] Dload Upload Total Spent Left Speed [2020-11-02T06:49:57.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:49:57.816Z] X> Failed to upload [2020-11-02T06:49:57.816Z] ==> Uploading to Codecov [2020-11-02T06:49:57.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:49:57.816Z] Dload Upload Total Spent Left Speed [2020-11-02T06:49:58.393Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1817 100 111 100 1706 238 3664 --:--:-- --:--:-- --:--:-- 3668 [2020-11-02T06:49:58.393Z] View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1e9cfc143a381fd03a181be6c6ca930955f09315 [Pipeline] } [2020-11-02T06:49:58.419Z] 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:50:02.525Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:03.145Z] ---> package-listing.sh [2020-11-02T06:50:03.145Z] ++ facter osfamily [2020-11-02T06:50:03.145Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:50:03.145Z] + OS_FAMILY=redhat [2020-11-02T06:50:03.145Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-55 [2020-11-02T06:50:03.145Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:50:03.145Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:50:03.145Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:50:03.145Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:50:03.145Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' [2020-11-02T06:50:03.145Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:50:03.145Z] + case "${OS_FAMILY}" in [2020-11-02T06:50:03.145Z] + rpm -qa [2020-11-02T06:50:03.145Z] + sort [2020-11-02T06:50:07.381Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:50:07.381Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:50:07.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:50:07.381Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' [2020-11-02T06:50:07.381Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ [2020-11-02T06:50:07.381Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ [Pipeline] echo [2020-11-02T06:50:07.415Z] 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-55/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:50:07.730Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:50:08.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:50:08.088Z] [2020-11-02T06:50:08.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:50:08.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:50:08.497Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:50:08.497Z] df20fa9351a1: Already exists [2020-11-02T06:50:08.497Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:50:08.497Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:50:08.497Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:50:08.497Z] 93b61091891f: Pulling fs layer [2020-11-02T06:50:08.497Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:50:08.497Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:50:08.497Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:50:08.497Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:50:08.497Z] 93b61091891f: Waiting [2020-11-02T06:50:08.497Z] 93b9cdb0e59b: Waiting [2020-11-02T06:50:08.497Z] 5e14af77c1be: Waiting [2020-11-02T06:50:08.497Z] aa168da1d23b: Waiting [2020-11-02T06:50:08.497Z] 01666e4c0597: Waiting [2020-11-02T06:50:08.497Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T06:50:08.497Z] 46f8f816bc3b: Download complete [2020-11-02T06:50:08.497Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T06:50:08.497Z] 36b3adc4ff6f: Download complete [2020-11-02T06:50:08.497Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:50:08.497Z] 93b9cdb0e59b: Download complete [2020-11-02T06:50:08.497Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:50:08.497Z] 5e14af77c1be: Download complete [2020-11-02T06:50:08.763Z] 01666e4c0597: Verifying Checksum [2020-11-02T06:50:08.764Z] 01666e4c0597: Download complete [2020-11-02T06:50:08.764Z] 93b61091891f: Verifying Checksum [2020-11-02T06:50:08.764Z] 93b61091891f: Download complete [2020-11-02T06:50:08.764Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:50:08.764Z] 8ad3a11d3b57: Download complete [2020-11-02T06:50:09.031Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:50:10.000Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:50:10.000Z] 46f8f816bc3b: Pull complete [2020-11-02T06:50:10.581Z] 93b61091891f: Pull complete [2020-11-02T06:50:10.844Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:50:10.844Z] 5e14af77c1be: Pull complete [2020-11-02T06:50:11.116Z] 01666e4c0597: Pull complete [2020-11-02T06:50:11.706Z] aa168da1d23b: Verifying Checksum [2020-11-02T06:50:11.706Z] aa168da1d23b: Download complete [2020-11-02T06:50:19.930Z] aa168da1d23b: Pull complete [2020-11-02T06:50:19.930Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:50:19.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:50:19.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:50:20.186Z] prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container [2020-11-02T06:50:20.248Z] $ 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-55/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-55 -v /w/workspace/dgexfoundry_device-rest-go_PR-55:/w/workspace/dgexfoundry_device-rest-go_PR-55:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-55@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-55@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:50:24.107Z] $ docker top 1d14055b06c29a902c8f6c4df48c831978633b7164975f090beeca9addf3852c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:50:24.673Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:50:25.007Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:50:25.338Z] + ls /var/log/sa-host [2020-11-02T06:50:25.338Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:50:25.338Z] file_magic: OK [2020-11-02T06:50:25.338Z] HZ: Using current value: 100 [2020-11-02T06:50:25.338Z] file_header: OK [2020-11-02T06:50:25.338Z] 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:50:25.338Z] Statistics: [2020-11-02T06:50:25.338Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:50:25.338Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:50:25.338Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:50:25.338Z] file_magic: OK [2020-11-02T06:50:25.338Z] HZ: Using current value: 100 [2020-11-02T06:50:25.338Z] file_header: OK [2020-11-02T06:50:25.338Z] 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:50:25.338Z] Statistics: [2020-11-02T06:50:25.338Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:50:25.338Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:50:25.617Z] provisioning config files... [2020-11-02T06:50:25.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config6662247162472649894tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:50:25.767Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:26.111Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:50:26.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:50:26.294Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:26.628Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:50:26.662Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:27.000Z] ---> sudo-logs.sh [2020-11-02T06:50:27.000Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:50:27.034Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:27.372Z] ---> job-cost.sh [2020-11-02T06:50:27.372Z] lf-activate-venv: SKIPPING [2020-11-02T06:50:27.372Z] INFO: No Stack... [2020-11-02T06:50:28.320Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:50:28.896Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:50:28.946Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:29.292Z] ---> logs-deploy.sh [2020-11-02T06:50:29.292Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-55/1 [2020-11-02T06:50:29.292Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:50:30.689Z] Archives upload complete. [2020-11-02T06:50:30.689Z] INFO: archiving logs to Nexus