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 06:43:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:43:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:43:07 ========================================================= 06:43:07 EdgeX Global Pipelines Version Info 06:43:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:43:09 ------------------- 06:43:09 stable info: 06:43:09 ------------------- 06:43:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:09 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:43:09 Message: update stable to v1.0.152 06:43:10 ------------------- 06:43:10 experimental info: 06:43:10 ------------------- 06:43:10 Commited By: **** collab-it+edgex@linuxfoundation.org 06:43:10 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 06:43:10 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:43:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:43:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:43:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:43:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:43:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:43:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo 06:43:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo 06:43:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo 06:43:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e9cfc143a381fd03a181be6c6ca930955f09315 [Pipeline] echo 06:43:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e9cfc1 [Pipeline] echo 06:43:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:16 + git log --format=format:%s -1 1e9cfc143a381fd03a181be6c6ca930955f09315 [Pipeline] echo 06:43:16 GIT_COMMIT: 1e9cfc143a381fd03a181be6c6ca930955f09315, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:43:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:43:17 06:43:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:43:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:43:18 latest: Pulling from edgex-devops/git-semver 06:43:18 31603596830f: Pulling fs layer 06:43:18 2a8b12db71e7: Pulling fs layer 06:43:18 6ca5941a6612: Pulling fs layer 06:43:18 ecc8261a40a4: Pulling fs layer 06:43:18 ecc8261a40a4: Waiting 06:43:18 2a8b12db71e7: Verifying Checksum 06:43:18 2a8b12db71e7: Download complete 06:43:18 31603596830f: Verifying Checksum 06:43:18 31603596830f: Download complete 06:43:18 ecc8261a40a4: Verifying Checksum 06:43:18 ecc8261a40a4: Download complete 06:43:18 6ca5941a6612: Verifying Checksum 06:43:18 6ca5941a6612: Download complete 06:43:18 31603596830f: Pull complete 06:43:18 2a8b12db71e7: Pull complete 06:43:19 6ca5941a6612: Pull complete 06:43:19 ecc8261a40a4: Pull complete 06:43:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:43:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:43:20 prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container 06:43:20 $ 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 06:43:22 $ docker top 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:23 [ssh-agent] Looking for ssh-agent implementation... 06:43:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:23 $ docker exec 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent 06:43:23 SSH_AUTH_SOCK=/tmp/ssh-DpQCmTtfetJE/agent.11 06:43:23 SSH_AGENT_PID=16 06:43:23 Running ssh-add (command line suppressed) 06:43:23 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) 06:43:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:24 + git tag --points-at HEAD [Pipeline] } 06:43:24 $ docker exec --env ******** --env ******** 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent -k 06:43:24 unset SSH_AUTH_SOCK; 06:43:24 unset SSH_AGENT_PID; 06:43:24 echo Agent pid 16 killed; 06:43:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:43:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:24 [ssh-agent] Looking for ssh-agent implementation... 06:43:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:24 $ docker exec 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent 06:43:25 SSH_AUTH_SOCK=/tmp/ssh-TvsxqZijZHx7/agent.46 06:43:25 SSH_AGENT_PID=51 06:43:25 Running ssh-add (command line suppressed) 06:43:25 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) 06:43:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:25 + git semver init 06:43:25 # -> Open(): unable to determine branch for HEAD 06:43:25 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.git 06:43:25 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-55 06:43:25 # $SEMVER_REMOTE_NAME = origin 06:43:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:43:25 # $SEMVER_USER_NAME = edgex-jenkins 06:43:25 # $SEMVER_BRANCH = PR-55 06:43:25 # $SEMVER_TEMP = /tmp/semver-647751240 06:43:25 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:43:27 # '/tmp/semver-647751240' -> '/w/workspace/dgexfoundry_device-rest-go_PR-55/.semver' 06:43:27 # -> Force: false 06:43:27 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-55/.semver [Pipeline] } 06:43:27 $ docker exec --env ******** --env ******** 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 ssh-agent -k 06:43:27 unset SSH_AUTH_SOCK; 06:43:27 unset SSH_AGENT_PID; 06:43:27 echo Agent pid 51 killed; 06:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:27 + git semver [Pipeline] } 06:43:27 $ docker stop --time=1 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 06:43:29 $ docker rm -f 014e69bde66f19565cd4bfec2fd1bf1fbf1887bcd4038dfb69fa9f6b6530c594 [Pipeline] // withDockerContainer [Pipeline] sh 06:43:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:43:30 Stashed 1 file(s) [Pipeline] echo 06:43:30 [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 06:43:31 ========================================================= 06:43:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:43:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:43:32 + 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 . 06:43:32 Sending build context to Docker daemon 8.07MB 06:43:32 Step 1/10 : ARG BASE=golang:1.15-alpine 06:43:32 Step 2/10 : FROM ${BASE} 06:43:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:43:32 df20fa9351a1: Pulling fs layer 06:43:32 ed8968b2872e: Pulling fs layer 06:43:32 a92cc7c5fd73: Pulling fs layer 06:43:32 e871e8e8d7a9: Pulling fs layer 06:43:32 e73272ec9a57: Pulling fs layer 06:43:32 1e910a182e73: Pulling fs layer 06:43:32 4e634b169226: Pulling fs layer 06:43:32 e73272ec9a57: Waiting 06:43:32 4e634b169226: Waiting 06:43:32 1e910a182e73: Waiting 06:43:32 e871e8e8d7a9: Waiting 06:43:32 a92cc7c5fd73: Download complete 06:43:32 ed8968b2872e: Verifying Checksum 06:43:32 ed8968b2872e: Download complete 06:43:32 e73272ec9a57: Verifying Checksum 06:43:32 e73272ec9a57: Download complete 06:43:32 1e910a182e73: Verifying Checksum 06:43:32 1e910a182e73: Download complete 06:43:32 df20fa9351a1: Verifying Checksum 06:43:32 df20fa9351a1: Download complete 06:43:33 df20fa9351a1: Pull complete 06:43:33 ed8968b2872e: Pull complete 06:43:33 a92cc7c5fd73: Pull complete 06:43:35 4e634b169226: Verifying Checksum 06:43:35 4e634b169226: Download complete 06:43:36 e871e8e8d7a9: Verifying Checksum 06:43:36 e871e8e8d7a9: Download complete 06:43:42 e871e8e8d7a9: Pull complete 06:43:42 e73272ec9a57: Pull complete 06:43:42 1e910a182e73: Pull complete 06:43:46 Still waiting to schedule task 06:43:46 ‘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 06:43:50 4e634b169226: Pull complete 06:43:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:43:50 ---> f7629b54cfaa 06:43:50 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:43:50 ---> Running in 21e070f19840 06:43:50 Removing intermediate container 21e070f19840 06:43:50 ---> 06b595a06966 06:43:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:43:50 ---> Running in 66cf82b2140d 06:43:51 Removing intermediate container 66cf82b2140d 06:43:51 ---> a2dc927db834 06:43:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:43:51 ---> Running in fc34ba2f74af 06:43:51 Removing intermediate container fc34ba2f74af 06:43:51 ---> b212ebf15bc3 06:43:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:51 ---> Running in 2ed1c7801659 06:43:53 Removing intermediate container 2ed1c7801659 06:43:53 ---> 81de30ab94cd 06:43:53 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:43:53 ---> Running in 75fd9a11dc80 06:43:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:57 OK: 166 MiB in 39 packages 06:43:57 Removing intermediate container 75fd9a11dc80 06:43:57 ---> feb33fc6d817 06:43:57 Step 8/10 : WORKDIR /device-rest-go 06:43:57 ---> Running in 99f08e8c2a17 06:43:57 Removing intermediate container 99f08e8c2a17 06:43:57 ---> 6d8c02d32075 06:43:57 Step 9/10 : COPY . . 06:43:57 ---> 5066ffe464ac 06:43:57 Step 10/10 : RUN go mod download 06:43:58 ---> Running in d4105ecef7b2 06:44:20 Removing intermediate container d4105ecef7b2 06:44:20 ---> b56986cb9030 06:44:20 Successfully built b56986cb9030 06:44:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:44:20 + docker inspect -f . ci-base-image-x86_64 06:44:20 . [Pipeline] withDockerContainer 06:44:20 prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container 06:44:20 $ 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 06:44:21 $ docker top 7b52561df77d63ef81a22f37038fca4e4a4d3dca1cd2ec5d4720d1feecccc33f -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:22 + go version 06:44:22 go version go1.15.2 linux/amd64 [Pipeline] } 06:44:22 $ docker stop --time=1 7b52561df77d63ef81a22f37038fca4e4a4d3dca1cd2ec5d4720d1feecccc33f 06:44:23 $ docker rm -f 7b52561df77d63ef81a22f37038fca4e4a4d3dca1cd2ec5d4720d1feecccc33f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:24 + docker inspect -f . ci-base-image-x86_64 06:44:24 . [Pipeline] withDockerContainer 06:44:25 prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container 06:44:25 $ 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 06:44:25 $ docker top b6aef01a31a4ad9db9a064e06022891712fdd24b7976d00150e15157396299e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:26 + make test 06:44:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:44:27 ? github.com/edgexfoundry/device-rest-go [no test files] 06:44:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:44:42 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements 06:44:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:44 gofmt -l . 06:44:44 [ "`gofmt -l .`" = "" ] 06:44:44 ./bin/test-go-mod-tidy.sh 06:44:45 ./bin/test-attribution-txt.sh [Pipeline] } 06:44:45 $ docker stop --time=1 b6aef01a31a4ad9db9a064e06022891712fdd24b7976d00150e15157396299e9 06:44:48 $ docker rm -f b6aef01a31a4ad9db9a064e06022891712fdd24b7976d00150e15157396299e9 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:50 + ls -al . 06:44:50 total 96 06:44:50 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 2 06:44 . 06:44:50 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:42 .. 06:44:50 -rw-rw-r--. 1 jenkins jenkins 5294 Nov 2 06:43 Attribution.txt 06:44:50 drwxrwxr-x. 2 jenkins jenkins 64 Nov 2 06:43 bin 06:44:50 drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:43 cmd 06:44:50 -rw-r--r--. 1 jenkins jenkins 9369 Nov 2 06:44 coverage.out 06:44:50 -rw-rw-r--. 1 jenkins jenkins 1519 Nov 2 06:43 Dockerfile 06:44:50 -rw-rw-r--. 1 jenkins jenkins 989 Nov 2 06:43 Dockerfile.build 06:44:50 -rw-rw-r--. 1 jenkins jenkins 151 Nov 2 06:43 .dockerignore 06:44:50 drwxrwxr-x. 2 jenkins jenkins 93 Nov 2 06:44 driver 06:44:50 drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:43 .git 06:44:50 drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:43 .github 06:44:50 -rw-rw-r--. 1 jenkins jenkins 339 Nov 2 06:43 .gitignore 06:44:50 -rw-r--r--. 1 jenkins jenkins 274 Nov 2 06:44 go.mod 06:44:50 -rw-r--r--. 1 jenkins jenkins 13804 Nov 2 06:44 go.sum 06:44:50 -rw-rw-r--. 1 jenkins jenkins 680 Nov 2 06:43 Jenkinsfile 06:44:50 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:43 LICENSE 06:44:50 -rw-rw-r--. 1 jenkins jenkins 951 Nov 2 06:43 Makefile 06:44:50 -rw-rw-r--. 1 jenkins jenkins 5917 Nov 2 06:43 README.md 06:44:50 drwx------. 3 jenkins jenkins 45 Nov 2 06:43 .semver 06:44:50 drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:43 snap 06:44:50 -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:43 VERSION 06:44:50 -rw-rw-r--. 1 jenkins jenkins 713 Nov 2 06:43 version.go [Pipeline] isUnix [Pipeline] sh 06:44:50 + 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 . 06:44:51 Sending build context to Docker daemon 8.081MB 06:44:51 Step 1/25 : ARG BASE=golang:1.15-alpine 06:44:51 Step 2/25 : FROM ${BASE} AS builder 06:44:51 ---> b56986cb9030 06:44:51 Step 3/25 : ARG MAKE='make build' 06:44:51 ---> Running in 668c2f5b220c 06:44:51 Removing intermediate container 668c2f5b220c 06:44:51 ---> 4e19208838a3 06:44:51 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:44:51 ---> Running in 40e99fd580e9 06:44:51 Removing intermediate container 40e99fd580e9 06:44:51 ---> 371aae5cb91a 06:44:51 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:44:51 ---> Running in a54b8a688637 06:44:51 Removing intermediate container a54b8a688637 06:44:51 ---> f5ce770f233e 06:44:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:52 ---> Running in 86c157205d88 06:44:52 Removing intermediate container 86c157205d88 06:44:52 ---> 10fc96cc3007 06:44:52 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:52 ---> Running in 41a85ea9e3d8 06:44:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:44:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:44:55 OK: 166 MiB in 39 packages 06:44:55 Removing intermediate container 41a85ea9e3d8 06:44:55 ---> 04390ac8a207 06:44:55 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:44:55 ---> Running in e684ad4323c8 06:44:55 Removing intermediate container e684ad4323c8 06:44:55 ---> fb88f67d8c77 06:44:55 Step 9/25 : COPY go.mod . 06:44:55 ---> 94b3057f82dc 06:44:55 Step 10/25 : COPY Makefile . 06:44:56 ---> 67a8671c91db 06:44:56 Step 11/25 : RUN make update 06:44:56 ---> Running in 943db2fa52c8 06:44:56 CGO_ENABLED=0 GO111MODULE=on go mod download 06:44:57 Removing intermediate container 943db2fa52c8 06:44:57 ---> 3c799ce5f3d7 06:44:57 Step 12/25 : COPY . . 06:44:58 ---> b49a3651ba50 06:44:58 Step 13/25 : RUN $MAKE 06:44:58 ---> Running in ce5c37e06c5a 06:44:58 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 06:45:11 Removing intermediate container ce5c37e06c5a 06:45:11 ---> b6ed12424145 06:45:11 Step 14/25 : FROM alpine:latest 06:45:11 latest: Pulling from library/alpine 06:45:11 188c0c94c7c5: Pulling fs layer 06:45:11 188c0c94c7c5: Verifying Checksum 06:45:11 188c0c94c7c5: Download complete 06:45:11 188c0c94c7c5: Pull complete 06:45:11 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 06:45:11 Status: Downloaded newer image for alpine:latest 06:45:11 ---> d6e46aa2470d 06:45:11 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:45:11 ---> Running in e4bbf716f13b 06:45:11 Removing intermediate container e4bbf716f13b 06:45:11 ---> ace7733fead6 06:45:11 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 06:45:11 ---> Running in c3db3e06370a 06:45:12 Removing intermediate container c3db3e06370a 06:45:12 ---> a30c751629bb 06:45:12 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:45:12 ---> 56077ac136dc 06:45:12 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:45:12 ---> 1de573949ce2 06:45:12 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:45:13 ---> 10ff30bf4b36 06:45:13 Step 20/25 : EXPOSE 49986 06:45:13 ---> Running in 75a76f2643c3 06:45:13 Removing intermediate container 75a76f2643c3 06:45:13 ---> 2a6dc45b944e 06:45:13 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 06:45:13 ---> Running in a5584987306b 06:45:13 Removing intermediate container a5584987306b 06:45:13 ---> 3af3884027c9 06:45:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:45:13 ---> Running in e73ff8521142 06:45:13 Removing intermediate container e73ff8521142 06:45:13 ---> b5725d14d835 06:45:13 Step 23/25 : LABEL arch=amd64 06:45:13 ---> Running in c64b10d9986d 06:45:13 Removing intermediate container c64b10d9986d 06:45:13 ---> 6443d10442ec 06:45:13 Step 24/25 : LABEL git_sha=1e9cfc143a381fd03a181be6c6ca930955f09315 06:45:14 ---> Running in 36e92361b610 06:45:14 Removing intermediate container 36e92361b610 06:45:14 ---> 775bf77856ca 06:45:14 Step 25/25 : LABEL version=0.0.0 06:45:14 ---> Running in 07a0ca0bf491 06:45:14 Removing intermediate container 07a0ca0bf491 06:45:14 ---> 5c23eb0e231b 06:45:14 [Warning] One or more build-args [ARCH] were not consumed 06:45:14 Successfully built 5c23eb0e231b 06:45:14 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] } 06:46:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10079 in /w/workspace/dgexfoundry_device-rest-go_PR-55 [Pipeline] { [Pipeline] ws 06:46:36 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:46:42 using credential edgex-jenkins-ssh 06:46:42 Cloning the remote Git repository 06:46:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:46:42 > git init /w/workspace/device-rest-go/1 # timeout=10 06:46:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:46:42 > git --version # timeout=10 06:46:42 > git --version # 'git version 2.17.1' 06:46:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:46:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:46:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:46:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:47 > 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 06:46:47 Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 1e9cfc143a381fd03a181be6c6ca930955f09315 06:46:48 Merge succeeded, producing 1e9cfc143a381fd03a181be6c6ca930955f09315 06:46:48 Checking out Revision 1e9cfc143a381fd03a181be6c6ca930955f09315 (PR-55) 06:46:47 > git config core.sparsecheckout # timeout=10 06:46:47 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 06:46:47 > git remote # timeout=10 06:46:48 > git config --get remote.origin.url # timeout=10 06:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:48 > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 06:46:48 > git rev-parse HEAD^{commit} # timeout=10 06:46:48 > git config core.sparsecheckout # timeout=10 06:46:48 > git checkout -f 1e9cfc143a381fd03a181be6c6ca930955f09315 # timeout=10 06:46:52 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:46:52 > git --version # timeout=10 06:46:52 > git --version # 'git version 2.17.1' 06:46:52 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:46:54 ========================================================= 06:46:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:46:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:46:55 + 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 . 06:46:56 Sending build context to Docker daemon 79.87kB 06:46:56 Step 1/10 : ARG BASE=golang:1.15-alpine 06:46:56 Step 2/10 : FROM ${BASE} 06:46:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:46:56 b538f80385f9: Pulling fs layer 06:46:56 74f711af9a0d: Pulling fs layer 06:46:56 99f96fe45779: Pulling fs layer 06:46:56 8529a6b9a6be: Pulling fs layer 06:46:56 45590311c82a: Pulling fs layer 06:46:56 69ca0ff8b7b3: Pulling fs layer 06:46:56 209524e5b208: Pulling fs layer 06:46:56 45590311c82a: Waiting 06:46:56 69ca0ff8b7b3: Waiting 06:46:56 8529a6b9a6be: Waiting 06:46:56 209524e5b208: Waiting 06:46:56 99f96fe45779: Download complete 06:46:56 74f711af9a0d: Verifying Checksum 06:46:56 74f711af9a0d: Download complete 06:46:56 45590311c82a: Verifying Checksum 06:46:56 45590311c82a: Download complete 06:46:56 69ca0ff8b7b3: Verifying Checksum 06:46:56 69ca0ff8b7b3: Download complete 06:46:56 b538f80385f9: Download complete 06:46:57 b538f80385f9: Pull complete 06:46:58 74f711af9a0d: Pull complete 06:46:58 99f96fe45779: Pull complete 06:46:59 209524e5b208: Verifying Checksum 06:46:59 209524e5b208: Download complete 06:47:00 8529a6b9a6be: Verifying Checksum 06:47:00 8529a6b9a6be: Download complete 06:47:11 8529a6b9a6be: Pull complete 06:47:11 45590311c82a: Pull complete 06:47:11 69ca0ff8b7b3: Pull complete 06:47:16 209524e5b208: Pull complete 06:47:16 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:47:16 ---> 5bddaf1c2fca 06:47:16 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:47:18 ---> Running in 7f5bd01b72c2 06:47:18 Removing intermediate container 7f5bd01b72c2 06:47:18 ---> 5e759d860d34 06:47:18 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:47:19 ---> Running in ff46fad0c56e 06:47:19 Removing intermediate container ff46fad0c56e 06:47:19 ---> 90c3f1a9d63d 06:47:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:47:19 ---> Running in 96cc47d17775 06:47:20 Removing intermediate container 96cc47d17775 06:47:20 ---> 22a45756c797 06:47:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:47:20 ---> Running in 49af8301791a 06:47:23 Removing intermediate container 49af8301791a 06:47:23 ---> ad8927599288 06:47:23 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:47:23 ---> Running in 62bb9c385c8d 06:47:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:47:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:47:26 OK: 142 MiB in 39 packages 06:47:28 Removing intermediate container 62bb9c385c8d 06:47:28 ---> c4b8527168f8 06:47:28 Step 8/10 : WORKDIR /device-rest-go 06:47:28 ---> Running in c83dfe2682d5 06:47:28 Removing intermediate container c83dfe2682d5 06:47:28 ---> 108cbbe333f5 06:47:28 Step 9/10 : COPY . . 06:47:29 ---> 1be6b4cc3b19 06:47:29 Step 10/10 : RUN go mod download 06:47:29 ---> Running in be034e9ffb25 06:47:56 Removing intermediate container be034e9ffb25 06:47:56 ---> 555715cc343b 06:47:56 Successfully built 555715cc343b 06:47:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:47:57 + docker inspect -f . ci-base-image-arm64 06:47:57 . [Pipeline] withDockerContainer 06:47:57 prd-ubuntu18.04-docker-arm64-4c-16g-10079 does not seem to be running inside a container 06:47:57 $ 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 06:47:59 $ docker top 5f076f25fee43313814747a02a426198ee8318c3e2db5c8166d5f793762e68a7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:01 + go version 06:48:01 go version go1.15.2 linux/arm64 [Pipeline] } 06:48:01 $ docker stop --time=1 5f076f25fee43313814747a02a426198ee8318c3e2db5c8166d5f793762e68a7 06:48:03 $ docker rm -f 5f076f25fee43313814747a02a426198ee8318c3e2db5c8166d5f793762e68a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:48:04 + docker inspect -f . ci-base-image-arm64 06:48:04 . [Pipeline] withDockerContainer 06:48:05 prd-ubuntu18.04-docker-arm64-4c-16g-10079 does not seem to be running inside a container 06:48:05 $ 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 06:48:07 $ docker top 1d9abd78282652271645b883bf31344a479f6c0af7eaf6c76af827530b569067 -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:08 + make test 06:48:08 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:48:10 ? github.com/edgexfoundry/device-rest-go [no test files] 06:48:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:48:49 ok github.com/edgexfoundry/device-rest-go/driver 0.162s coverage: 56.3% of statements 06:48:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:48:54 gofmt -l . 06:48:54 [ "`gofmt -l .`" = "" ] 06:48:54 ./bin/test-go-mod-tidy.sh 06:48:54 ./bin/test-attribution-txt.sh [Pipeline] } 06:48:56 $ docker stop --time=1 1d9abd78282652271645b883bf31344a479f6c0af7eaf6c76af827530b569067 06:48:58 $ docker rm -f 1d9abd78282652271645b883bf31344a479f6c0af7eaf6c76af827530b569067 [Pipeline] // withDockerContainer [Pipeline] sh 06:48:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:48:59 Warning: overwriting stash ‘coverage-report’ 06:48:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:49:01 + ls -al . 06:49:01 total 124 06:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:48 . 06:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:46 .. 06:49:01 -rw-rw-r-- 1 jenkins jenkins 151 Nov 2 06:46 .dockerignore 06:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:46 .git 06:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 .github 06:49:01 -rw-rw-r-- 1 jenkins jenkins 339 Nov 2 06:46 .gitignore 06:49:01 -rw-rw-r-- 1 jenkins jenkins 5294 Nov 2 06:46 Attribution.txt 06:49:01 -rw-rw-r-- 1 jenkins jenkins 1519 Nov 2 06:46 Dockerfile 06:49:01 -rw-rw-r-- 1 jenkins jenkins 989 Nov 2 06:46 Dockerfile.build 06:49:01 -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 06:46 Jenkinsfile 06:49:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:46 LICENSE 06:49:01 -rw-rw-r-- 1 jenkins jenkins 951 Nov 2 06:46 Makefile 06:49:01 -rw-rw-r-- 1 jenkins jenkins 5917 Nov 2 06:46 README.md 06:49:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:43 VERSION 06:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 bin 06:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:46 cmd 06:49:01 -rw-r--r-- 1 jenkins jenkins 9369 Nov 2 06:48 coverage.out 06:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:48 driver 06:49:01 -rw-r--r-- 1 jenkins jenkins 274 Nov 2 06:48 go.mod 06:49:01 -rw-r--r-- 1 jenkins jenkins 13804 Nov 2 06:48 go.sum 06:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:46 snap 06:49:01 -rw-rw-r-- 1 jenkins jenkins 713 Nov 2 06:46 version.go [Pipeline] isUnix [Pipeline] sh 06:49:01 + 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 . 06:49:01 Sending build context to Docker daemon 91.65kB 06:49:02 Step 1/25 : ARG BASE=golang:1.15-alpine 06:49:02 Step 2/25 : FROM ${BASE} AS builder 06:49:02 ---> 555715cc343b 06:49:02 Step 3/25 : ARG MAKE='make build' 06:49:02 ---> Running in 34ccaddd28af 06:49:02 Removing intermediate container 34ccaddd28af 06:49:02 ---> 9b93618a51d7 06:49:02 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:49:03 ---> Running in f454b6c1eec7 06:49:03 Removing intermediate container f454b6c1eec7 06:49:03 ---> 3a436c1e18b9 06:49:03 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:49:03 ---> Running in 51cbf55dc0a4 06:49:03 Removing intermediate container 51cbf55dc0a4 06:49:03 ---> dc995b55b2bc 06:49:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:04 ---> Running in 228ffcc46041 06:49:06 Removing intermediate container 228ffcc46041 06:49:06 ---> c0db97000c79 06:49:06 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:49:06 ---> Running in f29ffb45bb9f 06:49:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:49:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:49:09 OK: 142 MiB in 39 packages 06:49:11 Removing intermediate container f29ffb45bb9f 06:49:11 ---> b43b14d63254 06:49:11 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:49:11 ---> Running in ce81e694ddf6 06:49:11 Removing intermediate container ce81e694ddf6 06:49:11 ---> 27e8fc5bf207 06:49:11 Step 9/25 : COPY go.mod . 06:49:12 ---> a2742fda4a6b 06:49:12 Step 10/25 : COPY Makefile . 06:49:13 ---> 822b15ceb976 06:49:13 Step 11/25 : RUN make update 06:49:13 ---> Running in 9055da5a7e09 06:49:14 CGO_ENABLED=0 GO111MODULE=on go mod download 06:49:15 Removing intermediate container 9055da5a7e09 06:49:15 ---> 0dbfb8f2f0f7 06:49:15 Step 12/25 : COPY . . 06:49:16 ---> b10c200f721d 06:49:16 Step 13/25 : RUN $MAKE 06:49:16 ---> Running in 079cf53e9b36 06:49:17 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 06:49:50 Removing intermediate container 079cf53e9b36 06:49:50 ---> 585d3bd6f25d 06:49:50 Step 14/25 : FROM alpine:latest 06:49:50 latest: Pulling from library/alpine 06:49:50 5f621e34cdf4: Pulling fs layer 06:49:50 5f621e34cdf4: Download complete 06:49:50 5f621e34cdf4: Pull complete 06:49:50 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 06:49:50 Status: Downloaded newer image for alpine:latest 06:49:50 ---> 2e77e061c27f 06:49:50 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:49:50 ---> Running in bf6f2191ad97 06:49:50 Removing intermediate container bf6f2191ad97 06:49:50 ---> 647217e7a277 06:49:50 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 06:49:50 ---> Running in 26397c927387 06:49:50 Removing intermediate container 26397c927387 06:49:50 ---> 1890f4f420a4 06:49:50 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:49:50 ---> 26d01778f468 06:49:50 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:49:50 ---> 31ec1019a280 06:49:50 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:49:50 ---> 52c1a1bdbfb0 06:49:50 Step 20/25 : EXPOSE 49986 06:49:50 ---> Running in f2d062e7946d 06:49:51 Removing intermediate container f2d062e7946d 06:49:51 ---> 86750f7321ec 06:49:51 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 06:49:51 ---> Running in f50205fa5321 06:49:52 Removing intermediate container f50205fa5321 06:49:52 ---> ca5c0d961bc1 06:49:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:49:52 ---> Running in 3c85b502c4f0 06:49:52 Removing intermediate container 3c85b502c4f0 06:49:52 ---> 9136f2e167d0 06:49:52 Step 23/25 : LABEL arch=arm64 06:49:52 ---> Running in 74e1598e2ec8 06:49:53 Removing intermediate container 74e1598e2ec8 06:49:53 ---> c5ad5ce7024a 06:49:53 Step 24/25 : LABEL git_sha=1e9cfc143a381fd03a181be6c6ca930955f09315 06:49:53 ---> Running in 10563362f396 06:49:53 Removing intermediate container 10563362f396 06:49:53 ---> 2185a947efeb 06:49:53 Step 25/25 : LABEL version=0.0.0 06:49:53 ---> Running in cec6889d0b88 06:49:54 Removing intermediate container cec6889d0b88 06:49:54 ---> 53f68157157d 06:49:54 [Warning] One or more build-args [ARCH] were not consumed 06:49:54 Successfully built 53f68157157d 06:49:54 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 06:49:56 provisioning config files... 06:49:56 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config7616417250789593907tmp [Pipeline] { [Pipeline] sh 06:49:57 + set +x 06:49:57 + curl -s https://codecov.io/bash 06:49:57 + bash -s -- 06:49:57 06:49:57 _____ _ 06:49:57 / ____| | | 06:49:57 | | ___ __| | ___ ___ _____ __ 06:49:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:49:57 | |___| (_) | (_| | __/ (_| (_) \ V / 06:49:57 \_____\___/ \__,_|\___|\___\___/ \_/ 06:49:57 Bash-20201009-048fee3 06:49:57 06:49:57 06:49:57 ==> Jenkins CI detected. 06:49:57 project root: . 06:49:57 --> token set from env 06:49:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:49:57 ==> Running gcov in . (disable via -X gcov) 06:49:57 ==> Python coveragepy not found 06:49:57 ==> Searching for coverage reports in: 06:49:57 + . 06:49:57 -> Found 1 reports 06:49:57 ==> Detecting git/mercurial file structure 06:49:57 ==> Reading reports 06:49:57 + ./coverage.out bytes=9369 06:49:57 ==> Appending adjustments 06:49:57 https://docs.codecov.io/docs/fixing-reports 06:49:57 + Found adjustments 06:49:57 ==> Gzipping contents 06:49:57 ==> Uploading reports 06:49:57 url: https://codecov.io 06:49:57 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= 06:49:57 -> Pinging Codecov 06:49:57 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= 06:49:57 -> Uploading to 06:49:57 06:49:57 % Total % Received % Xferd Average Speed Time Time Time Current 06:49:57 Dload Upload Total Spent Left Speed 06:49:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:49:57 X> Failed to upload 06:49:57 ==> Uploading to Codecov 06:49:57 % Total % Received % Xferd Average Speed Time Time Time Current 06:49:57 Dload Upload Total Spent Left Speed 06:49:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1817 100 111 100 1706 238 3664 --:--:-- --:--:-- --:--:-- 3668 06:49:58 View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1e9cfc143a381fd03a181be6c6ca930955f09315 [Pipeline] } 06:49:58 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 06:50:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:50:03 ---> package-listing.sh 06:50:03 ++ facter osfamily 06:50:03 ++ tr '[:upper:]' '[:lower:]' 06:50:03 + OS_FAMILY=redhat 06:50:03 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-55 06:50:03 + START_PACKAGES=/tmp/packages_start.txt 06:50:03 + END_PACKAGES=/tmp/packages_end.txt 06:50:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:50:03 + PACKAGES=/tmp/packages_start.txt 06:50:03 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' 06:50:03 + PACKAGES=/tmp/packages_end.txt 06:50:03 + case "${OS_FAMILY}" in 06:50:03 + rpm -qa 06:50:03 + sort 06:50:07 + '[' -f /tmp/packages_start.txt ']' 06:50:07 + '[' -f /tmp/packages_end.txt ']' 06:50:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:50:07 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-55 ']' 06:50:07 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-55/archives/ 06:50:07 + 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 06:50:07 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 06:50:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:50:08 06:50:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:50:08 alpine: Pulling from edgex-lftools-log-publisher 06:50:08 df20fa9351a1: Already exists 06:50:08 36b3adc4ff6f: Pulling fs layer 06:50:08 8ad3a11d3b57: Pulling fs layer 06:50:08 46f8f816bc3b: Pulling fs layer 06:50:08 93b61091891f: Pulling fs layer 06:50:08 93b9cdb0e59b: Pulling fs layer 06:50:08 5e14af77c1be: Pulling fs layer 06:50:08 01666e4c0597: Pulling fs layer 06:50:08 aa168da1d23b: Pulling fs layer 06:50:08 93b61091891f: Waiting 06:50:08 93b9cdb0e59b: Waiting 06:50:08 5e14af77c1be: Waiting 06:50:08 aa168da1d23b: Waiting 06:50:08 01666e4c0597: Waiting 06:50:08 46f8f816bc3b: Verifying Checksum 06:50:08 46f8f816bc3b: Download complete 06:50:08 36b3adc4ff6f: Verifying Checksum 06:50:08 36b3adc4ff6f: Download complete 06:50:08 93b9cdb0e59b: Verifying Checksum 06:50:08 93b9cdb0e59b: Download complete 06:50:08 5e14af77c1be: Verifying Checksum 06:50:08 5e14af77c1be: Download complete 06:50:08 01666e4c0597: Verifying Checksum 06:50:08 01666e4c0597: Download complete 06:50:08 93b61091891f: Verifying Checksum 06:50:08 93b61091891f: Download complete 06:50:08 8ad3a11d3b57: Verifying Checksum 06:50:08 8ad3a11d3b57: Download complete 06:50:09 36b3adc4ff6f: Pull complete 06:50:10 8ad3a11d3b57: Pull complete 06:50:10 46f8f816bc3b: Pull complete 06:50:10 93b61091891f: Pull complete 06:50:10 93b9cdb0e59b: Pull complete 06:50:10 5e14af77c1be: Pull complete 06:50:11 01666e4c0597: Pull complete 06:50:11 aa168da1d23b: Verifying Checksum 06:50:11 aa168da1d23b: Download complete 06:50:19 aa168da1d23b: Pull complete 06:50:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:50:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:50:20 prd-centos7-docker-4c-2g-10063 does not seem to be running inside a container 06:50:20 $ 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 06:50:24 $ docker top 1d14055b06c29a902c8f6c4df48c831978633b7164975f090beeca9addf3852c -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:24 + touch /tmp/pre-build-complete [Pipeline] sh 06:50:25 + mkdir -p /var/log/sa [Pipeline] sh 06:50:25 + ls /var/log/sa-host 06:50:25 + sadf -c /var/log/sa-host/sa02 06:50:25 file_magic: OK 06:50:25 HZ: Using current value: 100 06:50:25 file_header: OK 06:50:25 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 06:50:25 Statistics: 06:50:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:50:25 File successfully converted to sysstat format version 12.2.1 06:50:25 + sadf -c /var/log/sa-host/sa05 06:50:25 file_magic: OK 06:50:25 HZ: Using current value: 100 06:50:25 file_header: OK 06:50:25 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 06:50:25 Statistics: 06:50:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:50:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:50:25 provisioning config files... 06:50:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-55@tmp/config6662247162472649894tmp [Pipeline] { [Pipeline] echo 06:50:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:50:26 ---> create-netrc.sh [Pipeline] } 06:50:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:50:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:50:26 ---> python-tools-install.sh [Pipeline] echo 06:50:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:50:27 ---> sudo-logs.sh 06:50:27 Archiving 'sudo' log.. [Pipeline] echo 06:50:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:50:27 ---> job-cost.sh 06:50:27 lf-activate-venv: SKIPPING 06:50:27 INFO: No Stack... 06:50:28 INFO: Retrieving Pricing Info for: v1-standard-2 06:50:28 INFO: Archiving Costs [Pipeline] echo 06:50:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:50:29 ---> logs-deploy.sh 06:50:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-55/1 06:50:29 INFO: archiving workspace using pattern(s): 06:50:30 Archives upload complete. 06:50:30 INFO: archiving logs to Nexus