Pull request #144 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a+c9d1bc531ce8d239853a83473b53448fb6f2334c (4c827db997419b42d0fb5ed16f3de6e3e63f26e9) 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-virtual-go/branches/PR-144/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-virtual-go/branches/PR-144/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-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual-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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10053 in /w/workspace/foundry_device-virtual-go_PR-144 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-144 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a Merge succeeded, producing 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a Checking out Revision 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a (PR-144) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # 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 c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # timeout=10 Commit message: "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:40:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:40:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:40:42 ========================================================= 06:40:42 EdgeX Global Pipelines Version Info 06:40:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:40:43 ------------------- 06:40:43 stable info: 06:40:43 ------------------- 06:40:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:40:43 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:40:43 Message: update stable to v1.0.152 06:40:44 ------------------- 06:40:44 experimental info: 06:40:44 ------------------- 06:40:44 Commited By: **** collab-it+edgex@linuxfoundation.org 06:40:44 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 06:40:44 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:40:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:40:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:40:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:40:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:40:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:40:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:40:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-144 [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-144 [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-144 [Pipeline] echo 06:40:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [Pipeline] echo 06:40:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d7cc70 [Pipeline] echo 06:40:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:50 + git log --format=format:%s -1 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [Pipeline] echo 06:40:50 GIT_COMMIT: 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a, Commit Message: Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:40:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:40:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:51 06:40:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:40:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:51 latest: Pulling from edgex-devops/git-semver 06:40:51 31603596830f: Pulling fs layer 06:40:51 2a8b12db71e7: Pulling fs layer 06:40:51 6ca5941a6612: Pulling fs layer 06:40:51 ecc8261a40a4: Pulling fs layer 06:40:51 ecc8261a40a4: Waiting 06:40:51 2a8b12db71e7: Verifying Checksum 06:40:51 2a8b12db71e7: Download complete 06:40:51 31603596830f: Verifying Checksum 06:40:51 31603596830f: Download complete 06:40:51 ecc8261a40a4: Verifying Checksum 06:40:51 ecc8261a40a4: Download complete 06:40:51 6ca5941a6612: Verifying Checksum 06:40:51 6ca5941a6612: Download complete 06:40:52 31603596830f: Pull complete 06:40:52 2a8b12db71e7: Pull complete 06:40:52 6ca5941a6612: Pull complete 06:40:53 ecc8261a40a4: Pull complete 06:40:53 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:40:53 prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container 06:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:40:55 $ docker top 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:56 [ssh-agent] Looking for ssh-agent implementation... 06:40:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:56 $ docker exec 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent 06:40:56 SSH_AUTH_SOCK=/tmp/ssh-NQNuWP4MJh9S/agent.11 06:40:56 SSH_AGENT_PID=16 06:40:56 Running ssh-add (command line suppressed) 06:40:56 Identity added: /w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_7399772484517369530.key (/w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_7399772484517369530.key) 06:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:57 + git tag --points-at HEAD [Pipeline] } 06:40:57 $ docker exec --env ******** --env ******** 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent -k 06:40:57 unset SSH_AUTH_SOCK; 06:40:57 unset SSH_AGENT_PID; 06:40:57 echo Agent pid 16 killed; 06:40:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:40:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:57 [ssh-agent] Looking for ssh-agent implementation... 06:40:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:58 $ docker exec 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent 06:40:58 SSH_AUTH_SOCK=/tmp/ssh-1RH8rq4ehFnN/agent.45 06:40:58 SSH_AGENT_PID=51 06:40:58 Running ssh-add (command line suppressed) 06:40:58 Identity added: /w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_8078962204847760864.key (/w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_8078962204847760864.key) 06:40:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:58 + git semver init 06:40:58 # -> Open(): unable to determine branch for HEAD 06:40:58 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-144/.git 06:40:58 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-144 06:40:58 # $SEMVER_REMOTE_NAME = origin 06:40:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:40:58 # $SEMVER_USER_NAME = edgex-jenkins 06:40:58 # $SEMVER_BRANCH = PR-144 06:40:58 # $SEMVER_TEMP = /tmp/semver-264873543 06:40:58 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:40:59 # '/tmp/semver-264873543' -> '/w/workspace/foundry_device-virtual-go_PR-144/.semver' 06:40:59 # -> Force: false 06:40:59 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-144/.semver [Pipeline] } 06:40:59 $ docker exec --env ******** --env ******** 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent -k 06:40:59 unset SSH_AUTH_SOCK; 06:40:59 unset SSH_AGENT_PID; 06:40:59 echo Agent pid 51 killed; 06:40:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:00 + git semver [Pipeline] } 06:41:00 $ docker stop --time=1 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 06:41:01 $ docker rm -f 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:41:02 Stashed 1 file(s) [Pipeline] echo 06:41:03 [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:41:04 ========================================================= 06:41:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:41:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:41:04 + 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:41:04 Sending build context to Docker daemon 718.8kB 06:41:04 Step 1/8 : ARG BASE=golang:1.15-alpine 06:41:04 Step 2/8 : FROM ${BASE} 06:41:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:41:04 df20fa9351a1: Pulling fs layer 06:41:04 ed8968b2872e: Pulling fs layer 06:41:04 a92cc7c5fd73: Pulling fs layer 06:41:04 e871e8e8d7a9: Pulling fs layer 06:41:04 e73272ec9a57: Pulling fs layer 06:41:04 1e910a182e73: Pulling fs layer 06:41:04 4e634b169226: Pulling fs layer 06:41:04 e73272ec9a57: Waiting 06:41:04 1e910a182e73: Waiting 06:41:04 4e634b169226: Waiting 06:41:04 e871e8e8d7a9: Waiting 06:41:04 a92cc7c5fd73: Verifying Checksum 06:41:04 a92cc7c5fd73: Download complete 06:41:05 ed8968b2872e: Verifying Checksum 06:41:05 ed8968b2872e: Download complete 06:41:05 e73272ec9a57: Verifying Checksum 06:41:05 e73272ec9a57: Download complete 06:41:05 1e910a182e73: Verifying Checksum 06:41:05 1e910a182e73: Download complete 06:41:05 df20fa9351a1: Verifying Checksum 06:41:05 df20fa9351a1: Download complete 06:41:05 df20fa9351a1: Pull complete 06:41:05 ed8968b2872e: Pull complete 06:41:05 a92cc7c5fd73: Pull complete 06:41:09 4e634b169226: Verifying Checksum 06:41:09 4e634b169226: Download complete 06:41:09 e871e8e8d7a9: Verifying Checksum 06:41:09 e871e8e8d7a9: Download complete 06:41:14 e871e8e8d7a9: Pull complete 06:41:14 e73272ec9a57: Pull complete 06:41:14 1e910a182e73: Pull complete 06:41:18 Still waiting to schedule task 06:41:18 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:41:22 4e634b169226: Pull complete 06:41:22 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:41:22 ---> f7629b54cfaa 06:41:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:41:22 ---> Running in 98d99f493df3 06:41:22 Removing intermediate container 98d99f493df3 06:41:22 ---> c65a31c77e52 06:41:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:22 ---> Running in 90ea9e8cc326 06:41:24 Removing intermediate container 90ea9e8cc326 06:41:24 ---> 839ce86d0ee3 06:41:24 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:41:24 ---> Running in 177d1ad87547 06:41:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:41:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:41:26 (1/14) Installing libmagic (5.38-r0) 06:41:27 (2/14) Installing file (5.38-r0) 06:41:27 (3/14) Installing libc-dev (0.7.2-r3) 06:41:27 (4/14) Installing g++ (9.3.0-r2) 06:41:45 (5/14) Installing fortify-headers (1.1-r0) 06:41:45 (6/14) Installing patch (2.7.6-r6) 06:41:45 (7/14) Installing build-base (0.5-r2) 06:41:45 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:41:45 (9/14) Installing libedit (20191231.3.1-r0) 06:41:45 (10/14) Installing openssh-client (8.3_p1-r0) 06:41:45 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:41:45 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:41:45 (13/14) Installing openssh-server (8.3_p1-r0) 06:41:45 (14/14) Installing openssh (8.3_p1-r0) 06:41:45 Executing busybox-1.31.1-r16.trigger 06:41:45 OK: 237 MiB in 53 packages 06:41:49 Removing intermediate container 177d1ad87547 06:41:49 ---> 60a368a8f2a1 06:41:49 Step 6/8 : WORKDIR /device-virtual-go 06:41:49 ---> Running in 48be22d5e56a 06:41:49 Removing intermediate container 48be22d5e56a 06:41:49 ---> 1cd9f250cf3a 06:41:49 Step 7/8 : COPY . . 06:41:50 ---> 891afa25195e 06:41:50 Step 8/8 : RUN go mod download 06:41:50 ---> Running in 39f57d52b5b1 06:42:12 Removing intermediate container 39f57d52b5b1 06:42:12 ---> 7b3ea7c82520 06:42:12 Successfully built 7b3ea7c82520 06:42:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:42:12 + docker inspect -f . ci-base-image-x86_64 06:42:12 . [Pipeline] withDockerContainer 06:42:12 prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container 06:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:13 $ docker top 9fc768c924fc6e7992e7b86aea02b189476d408b7216eb863fe14be1e5da1bc8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:14 + go version 06:42:14 go version go1.15.2 linux/amd64 [Pipeline] } 06:42:14 $ docker stop --time=1 9fc768c924fc6e7992e7b86aea02b189476d408b7216eb863fe14be1e5da1bc8 06:42:15 $ docker rm -f 9fc768c924fc6e7992e7b86aea02b189476d408b7216eb863fe14be1e5da1bc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:42:16 + docker inspect -f . ci-base-image-x86_64 06:42:16 . [Pipeline] withDockerContainer 06:42:17 prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container 06:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:17 $ docker top f18a6664b571a6e70646db01de3d3002b4b75cec80ee1b5d58ad96d61ab8ff7d -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:18 + make test 06:42:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:42:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:42:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:42:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.342s coverage: 64.4% of statements 06:42:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:42:38 gofmt -l . 06:42:38 [ "`gofmt -l .`" = "" ] 06:42:38 ./bin/test-attribution-txt.sh 06:42:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:42:39 $ docker stop --time=1 f18a6664b571a6e70646db01de3d3002b4b75cec80ee1b5d58ad96d61ab8ff7d 06:42:41 $ docker rm -f f18a6664b571a6e70646db01de3d3002b4b75cec80ee1b5d58ad96d61ab8ff7d [Pipeline] // withDockerContainer [Pipeline] sh 06:42:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:42:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:44 + ls -al . 06:42:44 total 124 06:42:44 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 2 06:42 . 06:42:44 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:40 .. 06:42:44 -rw-rw-r--. 1 jenkins jenkins 6713 Nov 2 06:40 Attribution.txt 06:42:44 drwxrwxr-x. 2 jenkins jenkins 64 Nov 2 06:40 bin 06:42:44 drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:40 cmd 06:42:44 -rw-r--r--. 1 jenkins jenkins 47242 Nov 2 06:42 coverage.out 06:42:44 -rw-rw-r--. 1 jenkins jenkins 1834 Nov 2 06:40 Dockerfile 06:42:44 -rw-rw-r--. 1 jenkins jenkins 957 Nov 2 06:40 Dockerfile.build 06:42:44 drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:40 .git 06:42:44 drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:40 .github 06:42:44 -rw-rw-r--. 1 jenkins jenkins 258 Nov 2 06:40 .gitignore 06:42:44 -rw-r--r--. 1 jenkins jenkins 863 Nov 2 06:42 go.mod 06:42:44 -rw-r--r--. 1 jenkins jenkins 16165 Nov 2 06:42 go.sum 06:42:44 drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:40 internal 06:42:44 -rw-rw-r--. 1 jenkins jenkins 660 Nov 2 06:40 Jenkinsfile 06:42:44 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:40 LICENSE 06:42:44 -rw-rw-r--. 1 jenkins jenkins 873 Nov 2 06:40 Makefile 06:42:44 -rw-rw-r--. 1 jenkins jenkins 918 Nov 2 06:40 README.md 06:42:44 drwx------. 3 jenkins jenkins 58 Nov 2 06:40 .semver 06:42:44 -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:41 VERSION 06:42:44 -rw-rw-r--. 1 jenkins jenkins 235 Nov 2 06:40 version.go [Pipeline] isUnix [Pipeline] sh 06:42:44 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a --label arch=amd64 --label version=0.0.0 . 06:42:44 Sending build context to Docker daemon 783.9kB 06:42:44 Step 1/22 : ARG BASE=golang:1.15-alpine 06:42:44 Step 2/22 : FROM ${BASE} AS builder 06:42:44 ---> 7b3ea7c82520 06:42:44 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:42:45 ---> Running in 82cd10a2b95d 06:42:45 Removing intermediate container 82cd10a2b95d 06:42:45 ---> 24f503dad22d 06:42:45 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:42:45 ---> Running in 802d69b5e3d3 06:42:45 Removing intermediate container 802d69b5e3d3 06:42:45 ---> 2668fdb1da02 06:42:45 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:42:45 ---> Running in 2c045f0970e8 06:42:45 Removing intermediate container 2c045f0970e8 06:42:45 ---> 83a7c0e2a247 06:42:45 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:45 ---> Running in 4bfd0ad32638 06:42:46 Removing intermediate container 4bfd0ad32638 06:42:46 ---> 7bd7d7c9ebcb 06:42:46 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:42:47 ---> Running in 3e2e73db3b59 06:42:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:42:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:42:50 OK: 237 MiB in 53 packages 06:42:50 Removing intermediate container 3e2e73db3b59 06:42:50 ---> 659f05840091 06:42:50 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:42:50 ---> Running in 693ae8c172c1 06:42:51 Removing intermediate container 693ae8c172c1 06:42:51 ---> b4f655c2fe87 06:42:51 Step 9/22 : COPY . . 06:42:51 ---> 63caf34efadd 06:42:51 Step 10/22 : ARG MAKE='make build' 06:42:51 ---> Running in 8698a602d571 06:42:52 Removing intermediate container 8698a602d571 06:42:52 ---> d9d71369fd50 06:42:52 Step 11/22 : RUN $MAKE 06:42:52 ---> Running in ab912039dcb6 06:42:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:43:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:43:08 Removing intermediate container ab912039dcb6 06:43:08 ---> 3428d7c457f0 06:43:08 Step 12/22 : FROM alpine 06:43:08 latest: Pulling from library/alpine 06:43:08 188c0c94c7c5: Pulling fs layer 06:43:09 188c0c94c7c5: Download complete 06:43:09 188c0c94c7c5: Pull complete 06:43:09 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 06:43:09 Status: Downloaded newer image for alpine:latest 06:43:09 ---> d6e46aa2470d 06:43:09 Step 13/22 : ENV APP_PORT=49990 06:43:09 ---> Running in f6dbc105c8f8 06:43:09 Removing intermediate container f6dbc105c8f8 06:43:09 ---> 90a1f33c56c9 06:43:09 Step 14/22 : EXPOSE $APP_PORT 06:43:09 ---> Running in 6f2b8ca4000e 06:43:09 Removing intermediate container 6f2b8ca4000e 06:43:09 ---> 605fab174bbb 06:43:09 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:43:10 ---> b7f9fd4bc90f 06:43:10 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:43:10 ---> 80b2eb1fce9d 06:43:10 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:43:10 ---> 03c080cdb451 06:43:10 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:43:10 ---> Running in a3f0df6b0387 06:43:11 Removing intermediate container a3f0df6b0387 06:43:11 ---> cc8c4b997fc6 06:43:11 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:11 ---> Running in 72a3d8259c6b 06:43:11 Removing intermediate container 72a3d8259c6b 06:43:11 ---> 19b06734e68b 06:43:11 Step 20/22 : LABEL arch=amd64 06:43:11 ---> Running in b27281e36455 06:43:11 Removing intermediate container b27281e36455 06:43:11 ---> 05ee4bb206ea 06:43:11 Step 21/22 : LABEL git_sha=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a 06:43:11 ---> Running in c65f9a143e98 06:43:11 Removing intermediate container c65f9a143e98 06:43:11 ---> df683a387a06 06:43:11 Step 22/22 : LABEL version=0.0.0 06:43:12 ---> Running in dc4cffa692b8 06:43:12 Removing intermediate container dc4cffa692b8 06:43:12 ---> 282eec9ffd34 06:43:12 [Warning] One or more build-args [ARCH] were not consumed 06:43:12 Successfully built 282eec9ffd34 06:43:12 Successfully tagged docker-device-virtual-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:44:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10070 in /w/workspace/foundry_device-virtual-go_PR-144 [Pipeline] { [Pipeline] ws 06:44:42 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:44:48 using credential edgex-jenkins-ssh 06:44:48 Cloning the remote Git repository 06:44:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:44:49 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:44:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:44:49 > git --version # timeout=10 06:44:49 > git --version # 'git version 2.17.1' 06:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:44:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:44:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:44:50 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a 06:44:51 Merge succeeded, producing 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a 06:44:51 Checking out Revision 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a (PR-144) 06:44:50 > git config core.sparsecheckout # timeout=10 06:44:50 > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # timeout=10 06:44:50 > git remote # timeout=10 06:44:50 > git config --get remote.origin.url # timeout=10 06:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:50 > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 06:44:51 > git rev-parse HEAD^{commit} # timeout=10 06:44:51 > git config core.sparsecheckout # timeout=10 06:44:51 > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # timeout=10 06:44:55 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" 06:44:55 > git --version # timeout=10 06:44:55 > git --version # 'git version 2.17.1' 06:44:55 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:44:56 ========================================================= 06:44:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:44:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:44:57 + 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:44:58 Sending build context to Docker daemon 471.6kB 06:44:58 Step 1/8 : ARG BASE=golang:1.15-alpine 06:44:58 Step 2/8 : FROM ${BASE} 06:44:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:44:58 b538f80385f9: Pulling fs layer 06:44:58 74f711af9a0d: Pulling fs layer 06:44:58 99f96fe45779: Pulling fs layer 06:44:58 8529a6b9a6be: Pulling fs layer 06:44:58 45590311c82a: Pulling fs layer 06:44:58 69ca0ff8b7b3: Pulling fs layer 06:44:58 209524e5b208: Pulling fs layer 06:44:58 8529a6b9a6be: Waiting 06:44:58 45590311c82a: Waiting 06:44:58 69ca0ff8b7b3: Waiting 06:44:58 209524e5b208: Waiting 06:44:58 99f96fe45779: Verifying Checksum 06:44:58 99f96fe45779: Download complete 06:44:58 74f711af9a0d: Verifying Checksum 06:44:58 74f711af9a0d: Download complete 06:44:58 45590311c82a: Download complete 06:44:58 69ca0ff8b7b3: Download complete 06:44:58 b538f80385f9: Verifying Checksum 06:44:58 b538f80385f9: Download complete 06:44:59 b538f80385f9: Pull complete 06:45:00 74f711af9a0d: Pull complete 06:45:00 99f96fe45779: Pull complete 06:45:01 209524e5b208: Verifying Checksum 06:45:01 209524e5b208: Download complete 06:45:02 8529a6b9a6be: Verifying Checksum 06:45:02 8529a6b9a6be: Download complete 06:45:13 8529a6b9a6be: Pull complete 06:45:13 45590311c82a: Pull complete 06:45:13 69ca0ff8b7b3: Pull complete 06:45:18 209524e5b208: Pull complete 06:45:18 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:45:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:45:18 ---> 5bddaf1c2fca 06:45:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:45:19 ---> Running in 606cb9b7a951 06:45:20 Removing intermediate container 606cb9b7a951 06:45:20 ---> e4c2f5bfcef4 06:45:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:20 ---> Running in 51f59b3a2972 06:45:24 Removing intermediate container 51f59b3a2972 06:45:24 ---> 72ea03b9f35f 06:45:24 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:45:24 ---> Running in 0bbae68c1a49 06:45:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:45:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:45:27 (1/14) Installing libmagic (5.38-r0) 06:45:28 (2/14) Installing file (5.38-r0) 06:45:28 (3/14) Installing libc-dev (0.7.2-r3) 06:45:28 (4/14) Installing g++ (9.3.0-r2) 06:45:43 (5/14) Installing fortify-headers (1.1-r0) 06:45:43 (6/14) Installing patch (2.7.6-r6) 06:45:43 (7/14) Installing build-base (0.5-r2) 06:45:43 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:45:43 (9/14) Installing libedit (20191231.3.1-r0) 06:45:43 (10/14) Installing openssh-client (8.3_p1-r0) 06:45:43 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:45:43 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:45:43 (13/14) Installing openssh-server (8.3_p1-r0) 06:45:43 (14/14) Installing openssh (8.3_p1-r0) 06:45:43 Executing busybox-1.31.1-r16.trigger 06:45:43 OK: 221 MiB in 53 packages 06:45:47 Removing intermediate container 0bbae68c1a49 06:45:47 ---> d71438ce1ede 06:45:47 Step 6/8 : WORKDIR /device-virtual-go 06:45:47 ---> Running in 06ea994f1a75 06:45:48 Removing intermediate container 06ea994f1a75 06:45:48 ---> 93a021011116 06:45:48 Step 7/8 : COPY . . 06:45:49 ---> e3a09cd0cd78 06:45:49 Step 8/8 : RUN go mod download 06:45:49 ---> Running in 94b05b626fb9 06:46:16 Removing intermediate container 94b05b626fb9 06:46:16 ---> ba571ba3c6ba 06:46:16 Successfully built ba571ba3c6ba 06:46:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:46:16 + docker inspect -f . ci-base-image-arm64 06:46:16 . [Pipeline] withDockerContainer 06:46:17 prd-ubuntu18.04-docker-arm64-4c-16g-10070 does not seem to be running inside a container 06:46:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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:46:18 $ docker top 139c66a3b45cf81eb977bdbdefd075cc920b167da331714a29c38ab642ec14e5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:20 + go version 06:46:20 go version go1.15.2 linux/arm64 [Pipeline] } 06:46:20 $ docker stop --time=1 139c66a3b45cf81eb977bdbdefd075cc920b167da331714a29c38ab642ec14e5 06:46:22 $ docker rm -f 139c66a3b45cf81eb977bdbdefd075cc920b167da331714a29c38ab642ec14e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:46:23 + docker inspect -f . ci-base-image-arm64 06:46:23 . [Pipeline] withDockerContainer 06:46:24 prd-ubuntu18.04-docker-arm64-4c-16g-10070 does not seem to be running inside a container 06:46:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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:46:26 $ docker top dbbbed49f2d947b5df0bde65844c958cd0e4008a0b0c7346c442592a66c42faf -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:27 + make test 06:46:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:46:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:47:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:47:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.463s coverage: 64.4% of statements 06:47:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:47:22 gofmt -l . 06:47:22 [ "`gofmt -l .`" = "" ] 06:47:22 ./bin/test-attribution-txt.sh 06:47:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:47:23 $ docker stop --time=1 dbbbed49f2d947b5df0bde65844c958cd0e4008a0b0c7346c442592a66c42faf 06:47:26 $ docker rm -f dbbbed49f2d947b5df0bde65844c958cd0e4008a0b0c7346c442592a66c42faf [Pipeline] // withDockerContainer [Pipeline] sh 06:47:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:47:27 Warning: overwriting stash ‘coverage-report’ 06:47:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:47:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:47:29 + ls -al . 06:47:29 total 148 06:47:29 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 06:47 . 06:47:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:44 .. 06:47:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:44 .git 06:47:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:44 .github 06:47:29 -rw-rw-r-- 1 jenkins jenkins 258 Nov 2 06:44 .gitignore 06:47:29 -rw-rw-r-- 1 jenkins jenkins 6713 Nov 2 06:44 Attribution.txt 06:47:29 -rw-rw-r-- 1 jenkins jenkins 1834 Nov 2 06:44 Dockerfile 06:47:29 -rw-rw-r-- 1 jenkins jenkins 957 Nov 2 06:44 Dockerfile.build 06:47:29 -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 06:44 Jenkinsfile 06:47:29 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:44 LICENSE 06:47:29 -rw-rw-r-- 1 jenkins jenkins 873 Nov 2 06:44 Makefile 06:47:29 -rw-rw-r-- 1 jenkins jenkins 918 Nov 2 06:44 README.md 06:47:29 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:41 VERSION 06:47:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:44 bin 06:47:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:44 cmd 06:47:29 -rw-r--r-- 1 jenkins jenkins 47242 Nov 2 06:47 coverage.out 06:47:29 -rw-r--r-- 1 jenkins jenkins 863 Nov 2 06:47 go.mod 06:47:29 -rw-r--r-- 1 jenkins jenkins 16165 Nov 2 06:47 go.sum 06:47:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:44 internal 06:47:29 -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 06:44 version.go [Pipeline] isUnix [Pipeline] sh 06:47:29 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a --label arch=arm64 --label version=0.0.0 . 06:47:29 Sending build context to Docker daemon 536.6kB 06:47:30 Step 1/22 : ARG BASE=golang:1.15-alpine 06:47:30 Step 2/22 : FROM ${BASE} AS builder 06:47:30 ---> ba571ba3c6ba 06:47:30 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:47:30 ---> Running in f06676de081f 06:47:30 Removing intermediate container f06676de081f 06:47:30 ---> 258601f0ae9d 06:47:30 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:47:31 ---> Running in be570a826965 06:47:31 Removing intermediate container be570a826965 06:47:31 ---> 21c11e7c4003 06:47:31 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:47:31 ---> Running in 75c0b7e4cd3b 06:47:31 Removing intermediate container 75c0b7e4cd3b 06:47:31 ---> 0e16bdef22f6 06:47:31 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:47:32 ---> Running in 4b1fec800f53 06:47:34 Removing intermediate container 4b1fec800f53 06:47:34 ---> b152ab4148a2 06:47:34 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:47:34 ---> Running in b4104e29da44 06:47:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:47:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:47:38 OK: 221 MiB in 53 packages 06:47:39 Removing intermediate container b4104e29da44 06:47:39 ---> 23a519c32805 06:47:39 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:47:39 ---> Running in 955daf71a680 06:47:39 Removing intermediate container 955daf71a680 06:47:39 ---> 0f0f65639c36 06:47:39 Step 9/22 : COPY . . 06:47:40 ---> 2a654c4c143a 06:47:40 Step 10/22 : ARG MAKE='make build' 06:47:40 ---> Running in 61ff19868553 06:47:41 Removing intermediate container 61ff19868553 06:47:41 ---> 935a4d8a4ce9 06:47:41 Step 11/22 : RUN $MAKE 06:47:41 ---> Running in 0670f2dfa98d 06:47:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:48:15 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:48:23 Removing intermediate container 0670f2dfa98d 06:48:23 ---> 53f53c2b3605 06:48:23 Step 12/22 : FROM alpine 06:48:23 latest: Pulling from library/alpine 06:48:23 5f621e34cdf4: Pulling fs layer 06:48:23 5f621e34cdf4: Download complete 06:48:24 5f621e34cdf4: Pull complete 06:48:24 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 06:48:24 Status: Downloaded newer image for alpine:latest 06:48:24 ---> 2e77e061c27f 06:48:24 Step 13/22 : ENV APP_PORT=49990 06:48:24 ---> Running in 4588f721d220 06:48:24 Removing intermediate container 4588f721d220 06:48:24 ---> 235a06073c2a 06:48:24 Step 14/22 : EXPOSE $APP_PORT 06:48:24 ---> Running in 4136ea329f28 06:48:25 Removing intermediate container 4136ea329f28 06:48:25 ---> f8ab438fb499 06:48:25 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:48:26 ---> e4e93b8b5b6e 06:48:26 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:48:27 ---> b8ec5c505bda 06:48:27 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:48:28 ---> 737acb989550 06:48:28 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:48:28 ---> Running in 9a48d6f7c867 06:48:29 Removing intermediate container 9a48d6f7c867 06:48:29 ---> 571b2bcf9fdc 06:48:29 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:48:29 ---> Running in f07dc46d06e5 06:48:29 Removing intermediate container f07dc46d06e5 06:48:29 ---> f4f44f5f15f2 06:48:29 Step 20/22 : LABEL arch=arm64 06:48:29 ---> Running in 3c8f803fd3c1 06:48:30 Removing intermediate container 3c8f803fd3c1 06:48:30 ---> 595de99cf6f5 06:48:30 Step 21/22 : LABEL git_sha=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a 06:48:30 ---> Running in f83696b6e9e0 06:48:30 Removing intermediate container f83696b6e9e0 06:48:30 ---> eee64dd2e061 06:48:30 Step 22/22 : LABEL version=0.0.0 06:48:30 ---> Running in a0ad2d89fc68 06:48:31 Removing intermediate container a0ad2d89fc68 06:48:31 ---> 9b4318802a08 06:48:31 [Warning] One or more build-args [ARCH] were not consumed 06:48:31 Successfully built 9b4318802a08 06:48:31 Successfully tagged docker-device-virtual-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:48:34 provisioning config files... 06:48:34 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-144@tmp/config1269939345763772744tmp [Pipeline] { [Pipeline] sh 06:48:34 + set +x 06:48:34 + curl -s https://codecov.io/bash 06:48:34 + bash -s -- 06:48:35 06:48:35 _____ _ 06:48:35 / ____| | | 06:48:35 | | ___ __| | ___ ___ _____ __ 06:48:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:48:35 | |___| (_) | (_| | __/ (_| (_) \ V / 06:48:35 \_____\___/ \__,_|\___|\___\___/ \_/ 06:48:35 Bash-20201009-048fee3 06:48:35 06:48:35 06:48:35 ==> Jenkins CI detected. 06:48:35 project root: . 06:48:35 --> token set from env 06:48:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:48:35 ==> Running gcov in . (disable via -X gcov) 06:48:35 ==> Python coveragepy not found 06:48:35 ==> Searching for coverage reports in: 06:48:35 + . 06:48:35 -> Found 1 reports 06:48:35 ==> Detecting git/mercurial file structure 06:48:35 ==> Reading reports 06:48:35 + ./coverage.out bytes=47242 06:48:35 ==> Appending adjustments 06:48:35 https://docs.codecov.io/docs/fixing-reports 06:48:35 + Found adjustments 06:48:35 ==> Gzipping contents 06:48:35 ==> Uploading reports 06:48:35 url: https://codecov.io 06:48:35 query: branch=PR-144&commit=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=144&job=&cmd_args= 06:48:35 -> Pinging Codecov 06:48:35 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-144&commit=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=144&job=&cmd_args= 06:48:35 -> Uploading to 06:48:35 06:48:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:48:35 Dload Upload Total Spent Left Speed 06:48:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:48:35 X> Failed to upload 06:48:35 ==> Uploading to Codecov 06:48:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:48:35 Dload Upload Total Spent Left Speed 06:48:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 98 5929 0 0 100 5815 0 12235 --:--:-- --:--:-- --:--:-- 12216 100 5929 100 114 100 5815 239 12229 --:--:-- --:--:-- --:--:-- 12216 06:48:35 View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [Pipeline] } 06:48:35 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:48:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:48:40 ---> package-listing.sh 06:48:40 ++ facter osfamily 06:48:40 ++ tr '[:upper:]' '[:lower:]' 06:48:40 + OS_FAMILY=redhat 06:48:40 + workspace=/w/workspace/foundry_device-virtual-go_PR-144 06:48:40 + START_PACKAGES=/tmp/packages_start.txt 06:48:40 + END_PACKAGES=/tmp/packages_end.txt 06:48:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:48:40 + PACKAGES=/tmp/packages_start.txt 06:48:40 + '[' /w/workspace/foundry_device-virtual-go_PR-144 ']' 06:48:40 + PACKAGES=/tmp/packages_end.txt 06:48:40 + case "${OS_FAMILY}" in 06:48:40 + rpm -qa 06:48:40 + sort 06:48:44 + '[' -f /tmp/packages_start.txt ']' 06:48:44 + '[' -f /tmp/packages_end.txt ']' 06:48:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:48:44 + '[' /w/workspace/foundry_device-virtual-go_PR-144 ']' 06:48:44 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-144/archives/ 06:48:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-144/archives/ [Pipeline] echo 06:48:44 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/foundry_device-virtual-go_PR-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:48:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:48:45 06:48:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:48:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:48:45 alpine: Pulling from edgex-lftools-log-publisher 06:48:45 df20fa9351a1: Already exists 06:48:45 36b3adc4ff6f: Pulling fs layer 06:48:45 8ad3a11d3b57: Pulling fs layer 06:48:45 46f8f816bc3b: Pulling fs layer 06:48:45 93b61091891f: Pulling fs layer 06:48:45 93b9cdb0e59b: Pulling fs layer 06:48:45 5e14af77c1be: Pulling fs layer 06:48:45 01666e4c0597: Pulling fs layer 06:48:45 aa168da1d23b: Pulling fs layer 06:48:45 93b9cdb0e59b: Waiting 06:48:45 5e14af77c1be: Waiting 06:48:45 01666e4c0597: Waiting 06:48:45 aa168da1d23b: Waiting 06:48:45 93b61091891f: Waiting 06:48:46 46f8f816bc3b: Download complete 06:48:46 36b3adc4ff6f: Download complete 06:48:46 93b9cdb0e59b: Verifying Checksum 06:48:46 93b9cdb0e59b: Download complete 06:48:46 5e14af77c1be: Verifying Checksum 06:48:46 5e14af77c1be: Download complete 06:48:46 01666e4c0597: Verifying Checksum 06:48:46 01666e4c0597: Download complete 06:48:46 93b61091891f: Verifying Checksum 06:48:46 93b61091891f: Download complete 06:48:46 36b3adc4ff6f: Pull complete 06:48:46 8ad3a11d3b57: Verifying Checksum 06:48:46 8ad3a11d3b57: Download complete 06:48:47 8ad3a11d3b57: Pull complete 06:48:47 46f8f816bc3b: Pull complete 06:48:48 aa168da1d23b: Verifying Checksum 06:48:48 aa168da1d23b: Download complete 06:48:49 93b61091891f: Pull complete 06:48:50 93b9cdb0e59b: Pull complete 06:48:50 5e14af77c1be: Pull complete 06:48:50 01666e4c0597: Pull complete 06:48:57 aa168da1d23b: Pull complete 06:48:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:48:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:48:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:48:57 prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container 06:48:57 $ 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/foundry_device-virtual-go_PR-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:49:01 $ docker top ac1025405d8352bc791dcf91144f2b4dd012cddf452510df381e2217df60ce21 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:01 + touch /tmp/pre-build-complete [Pipeline] sh 06:49:02 + mkdir -p /var/log/sa [Pipeline] sh 06:49:02 + ls /var/log/sa-host 06:49:02 + sadf -c /var/log/sa-host/sa02 06:49:02 file_magic: OK 06:49:02 HZ: Using current value: 100 06:49:02 file_header: OK 06:49:02 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:49:02 Statistics: 06:49:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:49:02 File successfully converted to sysstat format version 12.2.1 06:49:02 + sadf -c /var/log/sa-host/sa05 06:49:02 file_magic: OK 06:49:02 HZ: Using current value: 100 06:49:02 file_header: OK 06:49:02 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:49:02 Statistics: 06:49:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:49:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:49:02 provisioning config files... 06:49:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-144@tmp/config4518531962437908424tmp [Pipeline] { [Pipeline] echo 06:49:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:49:03 ---> create-netrc.sh [Pipeline] } 06:49:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:49:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:49:03 ---> python-tools-install.sh [Pipeline] echo 06:49:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:49:04 ---> sudo-logs.sh 06:49:04 Archiving 'sudo' log.. [Pipeline] echo 06:49:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:49:04 ---> job-cost.sh 06:49:04 lf-activate-venv: SKIPPING 06:49:04 INFO: No Stack... 06:49:05 INFO: Retrieving Pricing Info for: v1-standard-2 06:49:06 INFO: Archiving Costs [Pipeline] echo 06:49:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:49:06 ---> logs-deploy.sh 06:49:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-144/1 06:49:06 INFO: archiving workspace using pattern(s): 06:49:07 Archives upload complete. 06:49:08 INFO: archiving logs to Nexus