Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 32432350234859e57aa5f114883a5ba345eb8ad4+5333790cbfc620bb38957914a0d65453366236ce (7823ebd8bea7fb7e25ae4bd5bff975a825412c4b) Running in Durability level: PERFORMANCE_OPTIMIZED 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-3256’ is offline Running on prd-centos7-docker-4c-2g-3257 in /w/workspace/foundry_device-virtual-go_PR-136 [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-136 # 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/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 Merge succeeded, producing 7ce4282904e01369dc2784822bbc04622647acad Checking out Revision 7ce4282904e01369dc2784822bbc04622647acad (PR-136) > git config core.sparsecheckout # timeout=10 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # 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 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ce4282904e01369dc2784822bbc04622647acad # timeout=10 Commit message: "Merge commit '5333790cbfc620bb38957914a0d65453366236ce' into HEAD" > git rev-list --no-walk 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:48 ========================================================= 00:13:48 EdgeX Global Pipelines Version Info 00:13:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:50 ------------------- 00:13:50 stable info: 00:13:50 ------------------- 00:13:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:13:50 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:13:50 Message: update stable to v1.0.131 00:13:51 ------------------- 00:13:51 experimental info: 00:13:51 ------------------- 00:13:51 Commited By: **** collab-it+edgex@linuxfoundation.org 00:13:51 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 00:13:51 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:13:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:13:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:13:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ce4282904e01369dc2784822bbc04622647acad [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ce4282 [Pipeline] echo 00:13:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:55 + git log --format=format:%s -1 7ce4282904e01369dc2784822bbc04622647acad [Pipeline] echo 00:13:55 GIT_COMMIT: 7ce4282904e01369dc2784822bbc04622647acad, Commit Message: Merge commit '5333790cbfc620bb38957914a0d65453366236ce' into HEAD [Pipeline] echo 00:13:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:56 00:13:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:13:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:56 latest: Pulling from edgex-devops/git-semver 00:13:56 31603596830f: Pulling fs layer 00:13:56 2a8b12db71e7: Pulling fs layer 00:13:56 6ca5941a6612: Pulling fs layer 00:13:56 ecc8261a40a4: Pulling fs layer 00:13:56 ecc8261a40a4: Waiting 00:13:56 2a8b12db71e7: Download complete 00:13:56 31603596830f: Verifying Checksum 00:13:56 31603596830f: Download complete 00:13:56 ecc8261a40a4: Verifying Checksum 00:13:56 ecc8261a40a4: Download complete 00:13:56 6ca5941a6612: Verifying Checksum 00:13:56 6ca5941a6612: Download complete 00:13:56 31603596830f: Pull complete 00:13:57 2a8b12db71e7: Pull complete 00:13:58 6ca5941a6612: Pull complete 00:13:58 ecc8261a40a4: Pull complete 00:13:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:13:58 prd-centos7-docker-4c-2g-3257 does not seem to be running inside a container 00:13:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-136 -v /w/workspace/foundry_device-virtual-go_PR-136:/w/workspace/foundry_device-virtual-go_PR-136:rw,z -v /w/workspace/foundry_device-virtual-go_PR-136@tmp:/w/workspace/foundry_device-virtual-go_PR-136@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:10004/edgex-devops/git-semver:latest cat 00:14:00 $ docker top 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:00 [ssh-agent] Looking for ssh-agent implementation... 00:14:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:00 $ docker exec 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 ssh-agent 00:14:01 SSH_AUTH_SOCK=/tmp/ssh-MopVnouymiF6/agent.12 00:14:01 SSH_AGENT_PID=17 00:14:01 Running ssh-add (command line suppressed) 00:14:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_2753910139189218652.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_2753910139189218652.key) 00:14:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:01 + git describe --exact-match --tags HEAD 00:14:01 fatal: no tag exactly matches '7ce4282904e01369dc2784822bbc04622647acad' [Pipeline] } 00:14:01 $ docker exec --env ******** --env ******** 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 ssh-agent -k 00:14:01 unset SSH_AUTH_SOCK; 00:14:01 unset SSH_AGENT_PID; 00:14:01 echo Agent pid 17 killed; 00:14:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:14:01 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:14:01 This usually means this commit has not been tagged. [Pipeline] sshagent 00:14:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:02 [ssh-agent] Looking for ssh-agent implementation... 00:14:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:02 $ docker exec 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 ssh-agent 00:14:02 SSH_AUTH_SOCK=/tmp/ssh-MLeWJkhEIHXR/agent.45 00:14:02 SSH_AGENT_PID=51 00:14:02 Running ssh-add (command line suppressed) 00:14:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_5619872893153012448.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_5619872893153012448.key) 00:14:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:02 + git semver init 00:14:02 # -> Open(): unable to determine branch for HEAD 00:14:02 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.git 00:14:02 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-136 00:14:02 # $SEMVER_REMOTE_NAME = origin 00:14:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:14:02 # $SEMVER_USER_NAME = edgex-jenkins 00:14:02 # $SEMVER_BRANCH = PR-136 00:14:02 # $SEMVER_TEMP = /tmp/semver-354383119 00:14:02 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:14:03 # '/tmp/semver-354383119' -> '/w/workspace/foundry_device-virtual-go_PR-136/.semver' 00:14:03 # -> Force: false 00:14:03 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.semver [Pipeline] } 00:14:03 $ docker exec --env ******** --env ******** 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 ssh-agent -k 00:14:03 unset SSH_AUTH_SOCK; 00:14:03 unset SSH_AGENT_PID; 00:14:03 echo Agent pid 51 killed; 00:14:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:03 + git semver [Pipeline] } 00:14:03 $ docker stop --time=1 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 00:14:05 $ docker rm -f 52ee2b4c2912512f94a579c8c1ac4d28f00ff6639e304137a23ec1c2959a7515 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:14:05 Stashed 31 file(s) [Pipeline] echo 00:14:05 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 00:14:05 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 00:14:21 Still waiting to schedule task 00:14:21 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3257’ 00:14:21 Still waiting to schedule task 00:14:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:16:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3258 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws 00:16:55 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:59 using credential edgex-jenkins-ssh 00:17:00 Cloning the remote Git repository 00:17:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:17:00 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:17:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:17:00 > git --version # timeout=10 00:17:00 > git --version # 'git version 2.17.1' 00:17:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:17:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:17:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:17:01 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 00:17:02 Merge succeeded, producing b7d3470b9235369c8086e8b0240fc129508386bb 00:17:02 Checking out Revision b7d3470b9235369c8086e8b0240fc129508386bb (PR-136) 00:17:01 > git config core.sparsecheckout # timeout=10 00:17:01 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 00:17:01 > git remote # timeout=10 00:17:01 > git config --get remote.origin.url # timeout=10 00:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:01 > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 00:17:02 > git rev-parse HEAD^{commit} # timeout=10 00:17:02 > git config core.sparsecheckout # timeout=10 00:17:02 > git checkout -f b7d3470b9235369c8086e8b0240fc129508386bb # timeout=10 00:17:06 Commit message: "Merge commit '5333790cbfc620bb38957914a0d65453366236ce' into HEAD" 00:17:06 > git rev-list --no-walk 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:17:07 ========================================================= 00:17:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:17:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:17:08 + 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 . 00:17:09 Sending build context to Docker daemon 699.9kB 00:17:09 Step 1/8 : ARG BASE=golang:1.15-alpine 00:17:09 Step 2/8 : FROM ${BASE} 00:17:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:17:09 b538f80385f9: Pulling fs layer 00:17:09 74f711af9a0d: Pulling fs layer 00:17:09 99f96fe45779: Pulling fs layer 00:17:09 8529a6b9a6be: Pulling fs layer 00:17:09 45590311c82a: Pulling fs layer 00:17:09 69ca0ff8b7b3: Pulling fs layer 00:17:09 209524e5b208: Pulling fs layer 00:17:09 8529a6b9a6be: Waiting 00:17:09 45590311c82a: Waiting 00:17:09 69ca0ff8b7b3: Waiting 00:17:09 209524e5b208: Waiting 00:17:09 99f96fe45779: Verifying Checksum 00:17:09 99f96fe45779: Download complete 00:17:09 74f711af9a0d: Download complete 00:17:09 45590311c82a: Download complete 00:17:09 69ca0ff8b7b3: Verifying Checksum 00:17:09 69ca0ff8b7b3: Download complete 00:17:10 b538f80385f9: Verifying Checksum 00:17:10 b538f80385f9: Download complete 00:17:11 b538f80385f9: Pull complete 00:17:11 74f711af9a0d: Pull complete 00:17:12 99f96fe45779: Pull complete 00:17:12 209524e5b208: Verifying Checksum 00:17:12 209524e5b208: Download complete 00:17:13 8529a6b9a6be: Verifying Checksum 00:17:13 8529a6b9a6be: Download complete 00:17:26 8529a6b9a6be: Pull complete 00:17:26 45590311c82a: Pull complete 00:17:26 69ca0ff8b7b3: Pull complete 00:17:28 209524e5b208: Pull complete 00:17:28 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 00:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:17:28 ---> 5bddaf1c2fca 00:17:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:17:31 ---> Running in 986f4580ed44 00:17:31 Removing intermediate container 986f4580ed44 00:17:31 ---> 4323f9ccf60b 00:17:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:31 ---> Running in 71f7c778480c 00:17:34 Removing intermediate container 71f7c778480c 00:17:34 ---> 6f9d7469102e 00:17:34 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:17:34 ---> Running in 75567b6c1abc 00:17:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:17:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:17:37 (1/14) Installing libmagic (5.38-r0) 00:17:38 (2/14) Installing file (5.38-r0) 00:17:38 (3/14) Installing libc-dev (0.7.2-r3) 00:17:38 (4/14) Installing g++ (9.3.0-r2) 00:17:43 (5/14) Installing fortify-headers (1.1-r0) 00:17:43 (6/14) Installing patch (2.7.6-r6) 00:17:43 (7/14) Installing build-base (0.5-r2) 00:17:43 (8/14) Installing openssh-keygen (8.3_p1-r0) 00:17:43 (9/14) Installing libedit (20191231.3.1-r0) 00:17:43 (10/14) Installing openssh-client (8.3_p1-r0) 00:17:44 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 00:17:44 (12/14) Installing openssh-server-common (8.3_p1-r0) 00:17:44 (13/14) Installing openssh-server (8.3_p1-r0) 00:17:44 (14/14) Installing openssh (8.3_p1-r0) 00:17:44 Executing busybox-1.31.1-r16.trigger 00:17:44 OK: 221 MiB in 53 packages 00:17:49 Removing intermediate container 75567b6c1abc 00:17:49 ---> 6e415a7e38d5 00:17:49 Step 6/8 : WORKDIR /device-virtual-go 00:17:49 ---> Running in f9f7dea1993d 00:17:49 Removing intermediate container f9f7dea1993d 00:17:49 ---> 3f36bde9d8c6 00:17:49 Step 7/8 : COPY . . 00:17:50 ---> e94359753a54 00:17:50 Step 8/8 : RUN go mod download 00:17:50 ---> Running in b0d2433cf61d 00:17:55 Running on prd-centos7-docker-4c-2g-3259 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws 00:17:55 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:18:07 using credential edgex-jenkins-ssh 00:18:07 Cloning the remote Git repository 00:18:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:18:07 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:18:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:18:08 > git --version # timeout=10 00:18:08 > git --version # 'git version 2.16.5' 00:18:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:18:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:18:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:18:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:18:09 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 00:18:10 Merge succeeded, producing 461ef4031e1bd2ad2b14ea983c46b04b503b03c3 00:18:10 Checking out Revision 461ef4031e1bd2ad2b14ea983c46b04b503b03c3 (PR-136) 00:18:09 > git config core.sparsecheckout # timeout=10 00:18:09 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 00:18:09 > git remote # timeout=10 00:18:09 > git config --get remote.origin.url # timeout=10 00:18:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:10 > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 00:18:10 > git rev-parse HEAD^{commit} # timeout=10 00:18:10 > git config core.sparsecheckout # timeout=10 00:18:10 > git checkout -f 461ef4031e1bd2ad2b14ea983c46b04b503b03c3 # timeout=10 00:18:17 Commit message: "Merge commit '5333790cbfc620bb38957914a0d65453366236ce' into HEAD" 00:18:17 > git rev-list --no-walk 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 00:18:17 Removing intermediate container b0d2433cf61d 00:18:17 ---> 570e5cd01728 00:18:17 Successfully built 570e5cd01728 00:18:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { 00:18:18 + docker inspect -f . ci-base-image-arm64 00:18:18 . [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerContainer 00:18:18 prd-ubuntu18.04-docker-arm64-4c-16g-3258 does not seem to be running inside a container 00:18:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:20 $ docker top 7204fc1ff51ac9ffe12732f9bc77444f1cf88814a9f8347d960f534353f865cc -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 00:18:21 + go version 00:18:21 go version go1.15.2 linux/arm64 [Pipeline] } 00:18:22 $ docker stop --time=1 7204fc1ff51ac9ffe12732f9bc77444f1cf88814a9f8347d960f534353f865cc 00:18:24 $ docker rm -f 7204fc1ff51ac9ffe12732f9bc77444f1cf88814a9f8347d960f534353f865cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 00:18:24 ========================================================= 00:18:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:18:24 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:18:28 + docker inspect -f . ci-base-image-arm64 00:18:28 . [Pipeline] withDockerContainer 00:18:28 + 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 . 00:18:28 prd-ubuntu18.04-docker-arm64-4c-16g-3258 does not seem to be running inside a container 00:18:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:29 Sending build context to Docker daemon 699.9kB 00:18:29 Step 1/8 : ARG BASE=golang:1.15-alpine 00:18:29 Step 2/8 : FROM ${BASE} 00:18:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:18:29 df20fa9351a1: Pulling fs layer 00:18:29 ed8968b2872e: Pulling fs layer 00:18:29 a92cc7c5fd73: Pulling fs layer 00:18:29 e871e8e8d7a9: Pulling fs layer 00:18:29 e73272ec9a57: Pulling fs layer 00:18:29 1e910a182e73: Pulling fs layer 00:18:29 4e634b169226: Pulling fs layer 00:18:29 e73272ec9a57: Waiting 00:18:29 1e910a182e73: Waiting 00:18:29 4e634b169226: Waiting 00:18:29 e871e8e8d7a9: Waiting 00:18:29 a92cc7c5fd73: Download complete 00:18:29 ed8968b2872e: Download complete 00:18:29 e73272ec9a57: Verifying Checksum 00:18:29 e73272ec9a57: Download complete 00:18:29 1e910a182e73: Verifying Checksum 00:18:29 1e910a182e73: Download complete 00:18:30 df20fa9351a1: Verifying Checksum 00:18:30 df20fa9351a1: Download complete 00:18:30 $ docker top 12029064a0150ccedd1d6bfce4fcfffbba28fe366522063b353131b62f930cb8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:31 df20fa9351a1: Pull complete 00:18:31 + make test 00:18:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:18:32 ed8968b2872e: Pull complete 00:18:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:18:33 a92cc7c5fd73: Pull complete 00:18:38 4e634b169226: Verifying Checksum 00:18:38 4e634b169226: Download complete 00:18:41 e871e8e8d7a9: Verifying Checksum 00:18:41 e871e8e8d7a9: Download complete 00:19:04 e871e8e8d7a9: Pull complete 00:19:06 e73272ec9a57: Pull complete 00:19:07 1e910a182e73: Pull complete 00:19:14 4e634b169226: Pull complete 00:19:14 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 00:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:19:14 ---> f7629b54cfaa 00:19:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:19:14 ---> Running in 5554ec65624e 00:19:14 Removing intermediate container 5554ec65624e 00:19:14 ---> 655eff7c566b 00:19:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:14 ---> Running in 569c9c33dfe2 00:19:15 Removing intermediate container 569c9c33dfe2 00:19:15 ---> 76ae9ff2f0fe 00:19:15 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:19:16 ---> Running in 3caa14a4a783 00:19:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:19:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:19:18 (1/14) Installing libmagic (5.38-r0) 00:19:18 (2/14) Installing file (5.38-r0) 00:19:18 (3/14) Installing libc-dev (0.7.2-r3) 00:19:18 (4/14) Installing g++ (9.3.0-r2) 00:19:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:19:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.530s coverage: 64.4% of statements 00:19:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:19:24 (5/14) Installing fortify-headers (1.1-r0) 00:19:24 (6/14) Installing patch (2.7.6-r6) 00:19:24 (7/14) Installing build-base (0.5-r2) 00:19:24 (8/14) Installing openssh-keygen (8.3_p1-r0) 00:19:24 (9/14) Installing libedit (20191231.3.1-r0) 00:19:24 (10/14) Installing openssh-client (8.3_p1-r0) 00:19:24 gofmt -l . 00:19:24 [ "`gofmt -l .`" = "" ] 00:19:24 ./bin/test-attribution-txt.sh 00:19:24 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 00:19:24 (12/14) Installing openssh-server-common (8.3_p1-r0) 00:19:24 (13/14) Installing openssh-server (8.3_p1-r0) 00:19:24 ./bin/test-go-mod-tidy.sh 00:19:24 (14/14) Installing openssh (8.3_p1-r0) 00:19:24 Executing busybox-1.31.1-r16.trigger 00:19:25 OK: 237 MiB in 53 packages [Pipeline] stash 00:19:25 Stashed 1 file(s) [Pipeline] } 00:19:25 $ docker stop --time=1 12029064a0150ccedd1d6bfce4fcfffbba28fe366522063b353131b62f930cb8 00:19:28 $ docker rm -f 12029064a0150ccedd1d6bfce4fcfffbba28fe366522063b353131b62f930cb8 00:19:28 Removing intermediate container 3caa14a4a783 00:19:28 ---> 519a7eed8a54 00:19:28 Step 6/8 : WORKDIR /device-virtual-go 00:19:28 ---> Running in de016f91efa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 00:19:28 Removing intermediate container de016f91efa5 00:19:28 ---> 2f78005710f2 00:19:28 Step 7/8 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 00:19:29 ---> 167932a5cb9c 00:19:29 Step 8/8 : RUN go mod download 00:19:29 ---> Running in cac4b05414e9 [Pipeline] sh 00:19:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:19:32 + ls -al . 00:19:32 total 156 00:19:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 00:19 . 00:19:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 00:17 .. 00:19:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 00:17 .git 00:19:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 00:17 .github 00:19:32 -rw-rw-r-- 1 jenkins jenkins 258 Oct 4 00:17 .gitignore 00:19:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 00:17 .semver 00:19:32 -rw-rw-r-- 1 jenkins jenkins 6036 Oct 4 00:17 Attribution.txt 00:19:32 -rw-rw-r-- 1 jenkins jenkins 1834 Oct 4 00:17 Dockerfile 00:19:32 -rw-rw-r-- 1 jenkins jenkins 957 Oct 4 00:17 Dockerfile.build 00:19:32 -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 00:17 Jenkinsfile 00:19:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 00:17 LICENSE 00:19:32 -rw-rw-r-- 1 jenkins jenkins 873 Oct 4 00:17 Makefile 00:19:32 -rw-rw-r-- 1 jenkins jenkins 918 Oct 4 00:17 README.md 00:19:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 00:14 VERSION 00:19:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 00:17 bin 00:19:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 00:17 cmd 00:19:32 -rw-r--r-- 1 jenkins jenkins 47242 Oct 4 00:19 coverage.out 00:19:32 -rw-r--r-- 1 jenkins jenkins 439 Oct 4 00:19 go.mod 00:19:32 -rw-r--r-- 1 jenkins jenkins 16621 Oct 4 00:19 go.sum 00:19:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 00:17 internal 00:19:32 -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 00:17 version.go [Pipeline] isUnix [Pipeline] sh 00:19:32 + 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=7ce4282904e01369dc2784822bbc04622647acad --label arch=arm64 --label version=0.0.0 . 00:19:32 Sending build context to Docker daemon 765.4kB 00:19:33 Step 1/22 : ARG BASE=golang:1.15-alpine 00:19:33 Step 2/22 : FROM ${BASE} AS builder 00:19:33 ---> 570e5cd01728 00:19:33 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:19:33 ---> Running in 0301053a8f0a 00:19:33 Removing intermediate container 0301053a8f0a 00:19:33 ---> 8189823dc1ab 00:19:33 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:19:33 ---> Running in 56780bee70e9 00:19:34 Removing intermediate container 56780bee70e9 00:19:34 ---> 59b3f5bd8b26 00:19:34 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:19:34 ---> Running in c4e8395aabdb 00:19:35 Removing intermediate container c4e8395aabdb 00:19:35 ---> 1f91f8ee1df8 00:19:35 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:35 ---> Running in 3c4e45b2a111 00:19:37 Removing intermediate container 3c4e45b2a111 00:19:37 ---> 0d8a4466f6fa 00:19:37 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:37 ---> Running in 5d46b1c5638f 00:19:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:19:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:19:40 OK: 221 MiB in 53 packages 00:19:42 Removing intermediate container 5d46b1c5638f 00:19:42 ---> c304eaa7a4b4 00:19:42 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:19:42 ---> Running in e61fe54670de 00:19:42 Removing intermediate container e61fe54670de 00:19:42 ---> 4c7a3eb1ef0c 00:19:42 Step 9/22 : COPY . . 00:19:43 ---> 36d48f6f47f1 00:19:43 Step 10/22 : ARG MAKE='make build' 00:19:43 ---> Running in 23acdf482a49 00:19:44 Removing intermediate container 23acdf482a49 00:19:44 ---> a4bd99ad2289 00:19:44 Step 11/22 : RUN $MAKE 00:19:44 ---> Running in 1b0792ad7d96 00:19:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:19:56 Removing intermediate container cac4b05414e9 00:19:56 ---> fd9d3ef7e1cb 00:19:56 Successfully built fd9d3ef7e1cb 00:19:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:19:57 + docker inspect -f . ci-base-image-x86_64 00:19:57 . [Pipeline] withDockerContainer 00:19:57 prd-centos7-docker-4c-2g-3259 does not seem to be running inside a container 00:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:19:58 $ docker top 86f21329254e597f969dab0d0b16c253d12bb10178d215de3b9de76e38a4ab61 -eo pid,comm [Pipeline] { [Pipeline] sh 00:19:59 + go version 00:19:59 go version go1.15.2 linux/amd64 [Pipeline] } 00:19:59 $ docker stop --time=1 86f21329254e597f969dab0d0b16c253d12bb10178d215de3b9de76e38a4ab61 00:20:00 $ docker rm -f 86f21329254e597f969dab0d0b16c253d12bb10178d215de3b9de76e38a4ab61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:20:02 + docker inspect -f . ci-base-image-x86_64 00:20:02 . [Pipeline] withDockerContainer 00:20:02 prd-centos7-docker-4c-2g-3259 does not seem to be running inside a container 00:20:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:20:03 $ docker top b2828e52ac790c93be6f36e627d0a88fd2be7b31a4484237a9b03e6d1f54cb7e -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:04 + make test 00:20:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:20:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:20:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:20:24 Removing intermediate container 1b0792ad7d96 00:20:24 ---> eaeb8bd2309a 00:20:24 Step 12/22 : FROM alpine 00:20:24 latest: Pulling from library/alpine 00:20:24 b538f80385f9: Already exists 00:20:24 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 00:20:24 Status: Downloaded newer image for alpine:latest 00:20:24 ---> 62ee0e9f8440 00:20:24 Step 13/22 : ENV APP_PORT=49990 00:20:24 ---> Running in 56d28a400083 00:20:25 Removing intermediate container 56d28a400083 00:20:25 ---> 6fc1a30c1b0d 00:20:25 Step 14/22 : EXPOSE $APP_PORT 00:20:25 ---> Running in e628fea7be88 00:20:25 Removing intermediate container e628fea7be88 00:20:25 ---> da50e34bf081 00:20:25 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:20:27 ---> 48febca54bd8 00:20:27 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:20:27 ---> 6bbb03cfd550 00:20:27 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:20:28 ---> 699c8b34ff34 00:20:28 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:20:28 ---> Running in f16465c38946 00:20:29 Removing intermediate container f16465c38946 00:20:29 ---> 8ffd26634549 00:20:29 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:20:29 ---> Running in 40f25df63003 00:20:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:20:29 Removing intermediate container 40f25df63003 00:20:29 ---> 093a7380e499 00:20:29 Step 20/22 : LABEL arch=arm64 00:20:29 ---> Running in e4abda2f25d4 00:20:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.617s coverage: 64.4% of statements 00:20:30 Removing intermediate container e4abda2f25d4 00:20:30 ---> 0196579e3173 00:20:30 Step 21/22 : LABEL git_sha=7ce4282904e01369dc2784822bbc04622647acad 00:20:30 ---> Running in 02424a0ce1f7 00:20:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:20:31 Removing intermediate container 02424a0ce1f7 00:20:31 ---> af2ca31d78e6 00:20:31 Step 22/22 : LABEL version=0.0.0 00:20:31 ---> Running in 71ef186b8c96 00:20:31 Removing intermediate container 71ef186b8c96 00:20:31 ---> 0016ed116d35 00:20:31 [Warning] One or more build-args [ARCH] were not consumed 00:20:31 Successfully built 0016ed116d35 00:20: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] } 00:20:34 gofmt -l . 00:20:34 [ "`gofmt -l .`" = "" ] 00:20:34 ./bin/test-attribution-txt.sh 00:20:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:20:36 Warning: overwriting stash ‘coverage-report’ 00:20:37 Stashed 1 file(s) [Pipeline] } 00:20:37 $ docker stop --time=1 b2828e52ac790c93be6f36e627d0a88fd2be7b31a4484237a9b03e6d1f54cb7e 00:20:40 $ docker rm -f b2828e52ac790c93be6f36e627d0a88fd2be7b31a4484237a9b03e6d1f54cb7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:20:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:41 + ls -al . 00:20:41 total 128 00:20:41 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 4 00:20 . 00:20:41 drwxrwxr-x. 4 jenkins jenkins 28 Oct 4 00:18 .. 00:20:41 -rw-rw-r--. 1 jenkins jenkins 6036 Oct 4 00:18 Attribution.txt 00:20:41 drwxrwxr-x. 2 jenkins jenkins 64 Oct 4 00:18 bin 00:20:41 drwxrwxr-x. 3 jenkins jenkins 32 Oct 4 00:18 cmd 00:20:41 -rw-r--r--. 1 jenkins jenkins 47242 Oct 4 00:20 coverage.out 00:20:41 -rw-rw-r--. 1 jenkins jenkins 1834 Oct 4 00:18 Dockerfile 00:20:41 -rw-rw-r--. 1 jenkins jenkins 957 Oct 4 00:18 Dockerfile.build 00:20:41 drwxrwxr-x. 8 jenkins jenkins 179 Oct 4 00:18 .git 00:20:41 drwxrwxr-x. 2 jenkins jenkins 60 Oct 4 00:18 .github 00:20:41 -rw-rw-r--. 1 jenkins jenkins 258 Oct 4 00:18 .gitignore 00:20:41 -rw-r--r--. 1 jenkins jenkins 439 Oct 4 00:20 go.mod 00:20:41 -rw-r--r--. 1 jenkins jenkins 16621 Oct 4 00:20 go.sum 00:20:41 drwxrwxr-x. 3 jenkins jenkins 20 Oct 4 00:18 internal 00:20:41 -rw-rw-r--. 1 jenkins jenkins 660 Oct 4 00:18 Jenkinsfile 00:20:41 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 4 00:18 LICENSE 00:20:41 -rw-rw-r--. 1 jenkins jenkins 873 Oct 4 00:18 Makefile 00:20:41 -rw-rw-r--. 1 jenkins jenkins 918 Oct 4 00:18 README.md 00:20:41 drwxrwxr-x. 3 jenkins jenkins 58 Oct 4 00:18 .semver 00:20:41 -rw-rw-r--. 1 jenkins jenkins 5 Oct 4 00:14 VERSION 00:20:41 -rw-rw-r--. 1 jenkins jenkins 235 Oct 4 00:18 version.go [Pipeline] isUnix [Pipeline] sh 00:20:41 + 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=7ce4282904e01369dc2784822bbc04622647acad --label arch=amd64 --label version=0.0.0 . 00:20:41 Sending build context to Docker daemon 765.4kB 00:20:41 Step 1/22 : ARG BASE=golang:1.15-alpine 00:20:41 Step 2/22 : FROM ${BASE} AS builder 00:20:41 ---> fd9d3ef7e1cb 00:20:41 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:20:42 ---> Running in 6763b02bfb24 00:20:42 Removing intermediate container 6763b02bfb24 00:20:42 ---> b44acf538f8a 00:20:42 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:20:42 ---> Running in ce781af37951 00:20:43 Removing intermediate container ce781af37951 00:20:43 ---> a673b593f4e6 00:20:43 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:20:43 ---> Running in 95592b3f3527 00:20:43 Removing intermediate container 95592b3f3527 00:20:43 ---> c6b784e6f40c 00:20:43 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:20:43 ---> Running in aea42d4f6d6f 00:20:44 Removing intermediate container aea42d4f6d6f 00:20:44 ---> acd5804b7be0 00:20:44 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:44 ---> Running in 48e15824e78a 00:20:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:20:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:20:46 OK: 237 MiB in 53 packages 00:20:47 Removing intermediate container 48e15824e78a 00:20:47 ---> 376869242569 00:20:47 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:20:47 ---> Running in 822755416d5b 00:20:47 Removing intermediate container 822755416d5b 00:20:47 ---> ee6985b13965 00:20:47 Step 9/22 : COPY . . 00:20:48 ---> b7dd15aa8a55 00:20:48 Step 10/22 : ARG MAKE='make build' 00:20:48 ---> Running in a55b63db9468 00:20:49 Removing intermediate container a55b63db9468 00:20:49 ---> 5256c0f3f836 00:20:49 Step 11/22 : RUN $MAKE 00:20:49 ---> Running in d293da63c8a0 00:20:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:21:08 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:21:12 Removing intermediate container d293da63c8a0 00:21:12 ---> fdfb6c8156ee 00:21:12 Step 12/22 : FROM alpine 00:21:12 latest: Pulling from library/alpine 00:21:12 df20fa9351a1: Already exists 00:21:12 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 00:21:12 Status: Downloaded newer image for alpine:latest 00:21:12 ---> a24bb4013296 00:21:12 Step 13/22 : ENV APP_PORT=49990 00:21:12 ---> Running in 2eb365c52162 00:21:12 Removing intermediate container 2eb365c52162 00:21:12 ---> 93fda3c4fa8a 00:21:12 Step 14/22 : EXPOSE $APP_PORT 00:21:12 ---> Running in 5b341c0ea4ea 00:21:13 Removing intermediate container 5b341c0ea4ea 00:21:13 ---> 92225ba9f405 00:21:13 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:21:14 ---> c9f37e22d57a 00:21:14 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:21:14 ---> a9b8ae9158b1 00:21:14 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:21:14 ---> 0ce16199f1e7 00:21:14 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:21:14 ---> Running in 33940ef39c51 00:21:15 Removing intermediate container 33940ef39c51 00:21:15 ---> dbcca4275109 00:21:15 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:21:15 ---> Running in 1aa64af8566f 00:21:15 Removing intermediate container 1aa64af8566f 00:21:15 ---> b44c91e73dbe 00:21:15 Step 20/22 : LABEL arch=amd64 00:21:15 ---> Running in c2754cea3ec2 00:21:15 Removing intermediate container c2754cea3ec2 00:21:15 ---> 93644591d839 00:21:15 Step 21/22 : LABEL git_sha=7ce4282904e01369dc2784822bbc04622647acad 00:21:15 ---> Running in 7b1d960555ac 00:21:15 Removing intermediate container 7b1d960555ac 00:21:15 ---> 7ba0868a61f1 00:21:15 Step 22/22 : LABEL version=0.0.0 00:21:16 ---> Running in c7c86505cdd6 00:21:16 Removing intermediate container c7c86505cdd6 00:21:16 ---> 5a2134c0ad85 00:21:16 [Warning] One or more build-args [ARCH] were not consumed 00:21:16 Successfully built 5a2134c0ad85 00:21:16 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] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 00:21:18 provisioning config files... 00:21:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config3743932074429613435tmp [Pipeline] { [Pipeline] sh 00:21:18 + set +x 00:21:18 + curl -s https://codecov.io/bash 00:21:18 + bash -s -- 00:21:18 00:21:18 _____ _ 00:21:18 / ____| | | 00:21:18 | | ___ __| | ___ ___ _____ __ 00:21:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:21:18 | |___| (_) | (_| | __/ (_| (_) \ V / 00:21:18 \_____\___/ \__,_|\___|\___\___/ \_/ 00:21:18 Bash-20200917-4e8f14b 00:21:18 00:21:18 00:21:18 ==> Jenkins CI detected. 00:21:18 project root: . 00:21:18 Fixing merge commit SHA 00:21:18 --> token set from env 00:21:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:21:18 ==> Running gcov in . (disable via -X gcov) 00:21:18 ==> Python coveragepy not found 00:21:18 ==> Searching for coverage reports in: 00:21:18 + . 00:21:18 -> Found 1 reports 00:21:18 ==> Detecting git/mercurial file structure 00:21:18 ==> Reading reports 00:21:18 + ./coverage.out bytes=47242 00:21:18 ==> Appending adjustments 00:21:18 https://docs.codecov.io/docs/fixing-reports 00:21:19 + Found adjustments 00:21:19 ==> Gzipping contents 00:21:19 ==> Uploading reports 00:21:19 url: https://codecov.io 00:21:19 query: branch=PR-136&commit=5333790cbfc620bb38957914a0d65453366236ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= 00:21:19 -> Pinging Codecov 00:21:19 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-136&commit=5333790cbfc620bb38957914a0d65453366236ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= 00:21:19 -> Uploading to 00:21:19 https://storage.googleapis.com/codecov/v4/raw/2020-10-04/5E52B4B073DB2E39498172D8E973AA87/5333790cbfc620bb38957914a0d65453366236ce/6e19d7ea-69af-4e84-a199-5a5789130630.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201004T002119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2689c88b4ee2adb3e6297b0d76aeac9927ea271b8acf663aaa08d7f86bd9046a 00:21:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:21:19 Dload Upload Total Spent Left Speed 00:21:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5791 0 0 100 5791 0 13171 --:--:-- --:--:-- --:--:-- 13161 100 5791 0 0 100 5791 0 13166 --:--:-- --:--:-- --:--:-- 13161 00:21:19 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/5333790cbfc620bb38957914a0d65453366236ce [Pipeline] } 00:21:19 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 00:21:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:23 ---> package-listing.sh 00:21:23 ++ facter osfamily 00:21:23 ++ tr '[:upper:]' '[:lower:]' 00:21:23 + OS_FAMILY=redhat 00:21:23 + workspace=/w/workspace/foundry_device-virtual-go_PR-136 00:21:23 + START_PACKAGES=/tmp/packages_start.txt 00:21:23 + END_PACKAGES=/tmp/packages_end.txt 00:21:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:23 + PACKAGES=/tmp/packages_start.txt 00:21:23 + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' 00:21:23 + PACKAGES=/tmp/packages_end.txt 00:21:23 + case "${OS_FAMILY}" in 00:21:23 + rpm -qa 00:21:23 + sort 00:21:27 + '[' -f /tmp/packages_start.txt ']' 00:21:27 + '[' -f /tmp/packages_end.txt ']' 00:21:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:27 + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' 00:21:27 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-136/archives/ 00:21:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-136/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:27 provisioning config files... 00:21:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config7559649646712971852tmp [Pipeline] { [Pipeline] echo 00:21:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:28 ---> create-netrc.sh [Pipeline] } 00:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:21:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:21:28 ---> python-tools-install.sh 00:21:28 Generating Requirements File 00:22:36 Python 3.6.8 00:22:36 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 00:22:37 aiohttp==3.6.2 00:22:37 appdirs==1.4.3 00:22:37 argcomplete==1.12.1 00:22:37 aspy.yaml==1.3.0 00:22:37 async-timeout==3.0.1 00:22:37 attrs==19.3.0 00:22:37 Babel==2.8.0 00:22:37 beautifulsoup4==4.8.2 00:22:37 boto3==1.11.6 00:22:37 botocore==1.14.6 00:22:37 bs4==0.0.1 00:22:37 cachetools==4.1.1 00:22:37 certifi==2019.11.28 00:22:37 cffi==1.14.3 00:22:37 cfgv==2.0.1 00:22:37 chardet==3.0.4 00:22:37 click==7.1 00:22:37 cliff==3.4.0 00:22:37 cmd2==1.3.11 00:22:37 colorama==0.4.3 00:22:37 cryptography==3.1.1 00:22:37 debtcollector==2.2.0 00:22:37 decorator==4.4.2 00:22:37 defusedxml==0.6.0 00:22:37 Deprecated==1.2.7 00:22:37 distlib==0.3.1 00:22:37 distro==1.2.0 00:22:37 dnspython==1.16.0 00:22:37 docker==4.2.0 00:22:37 docutils==0.15.2 00:22:37 dogpile.cache==1.0.2 00:22:37 email-validator==1.0.5 00:22:37 filelock==3.0.12 00:22:37 future==0.18.2 00:22:37 google-auth==1.22.0 00:22:37 httplib2==0.17.0 00:22:37 identify==1.4.11 00:22:37 idna==2.9 00:22:37 idna-ssl==1.1.0 00:22:37 importlib-metadata==1.7.0 00:22:37 importlib-resources==1.5.0 00:22:37 iso8601==0.1.13 00:22:37 Jinja2==2.11.1 00:22:37 jmespath==0.10.0 00:22:37 jsonpatch==1.26 00:22:37 jsonpointer==2.0 00:22:37 jsonschema==3.2.0 00:22:37 keystoneauth1==4.2.1 00:22:37 kubernetes==11.0.0 00:22:37 lftools==0.34.2 00:22:37 lxml==4.5.0 00:22:37 MarkupSafe==0.23 00:22:37 msgpack==1.0.0 00:22:37 multi-key-dict==2.0.3 00:22:37 multidict==4.7.6 00:22:37 munch==2.5.0 00:22:37 netaddr==0.8.0 00:22:37 netifaces==0.10.9 00:22:37 niet==1.4.2 00:22:37 nodeenv==1.3.5 00:22:37 oauth2client==4.1.3 00:22:37 oauthlib==3.1.0 00:22:37 openstacksdk==0.50.0 00:22:37 os-client-config==2.1.0 00:22:37 os-service-types==1.7.0 00:22:37 osc-lib==2.2.1 00:22:37 oslo.config==8.3.2 00:22:37 oslo.context==3.1.1 00:22:37 oslo.i18n==5.0.1 00:22:37 oslo.log==4.4.0 00:22:37 oslo.serialization==4.0.1 00:22:37 oslo.utils==4.6.0 00:22:37 packaging==20.4 00:22:37 pbr==5.4.4 00:22:37 pluggy==0.13.1 00:22:37 prettytable==0.7.2 00:22:37 py==1.9.0 00:22:37 pyasn1==0.4.8 00:22:37 pyasn1-modules==0.2.8 00:22:37 pycparser==2.20 00:22:37 pygerrit2==2.0.10 00:22:37 PyGithub==1.46 00:22:37 pyinotify==0.9.6 00:22:37 PyJWT==1.7.1 00:22:37 pyparsing==2.4.7 00:22:37 pyperclip==1.8.0 00:22:37 pyroute2==0.4.13 00:22:37 pyrsistent==0.15.7 00:22:37 PySocks==1.6.8 00:22:37 python-cinderclient==7.2.0 00:22:37 python-dateutil==2.8.1 00:22:37 python-heatclient==2.2.1 00:22:37 python-jenkins==1.7.0 00:22:37 python-keystoneclient==4.1.1 00:22:37 python-magnumclient==3.2.1 00:22:37 python-novaclient==17.2.1 00:22:37 python-openstackclient==5.4.0 00:22:37 python-swiftclient==3.10.1 00:22:37 pytz==2020.1 00:22:37 PyYAML==5.3 00:22:37 requests==2.23.0 00:22:37 requests-oauthlib==1.3.0 00:22:37 requestsexceptions==1.4.0 00:22:37 rfc3986==1.4.0 00:22:37 rpm==4.11.3 00:22:37 rsa==4.0 00:22:37 ruamel.yaml==0.16.10 00:22:37 ruamel.yaml.clib==0.2.0 00:22:37 s3transfer==0.3.3 00:22:37 shade==1.27.2 00:22:37 simplejson==3.17.2 00:22:37 six==1.14.0 00:22:37 soupsieve==2.0 00:22:37 stevedore==3.2.2 00:22:37 tabulate==0.8.6 00:22:37 toml==0.10.0 00:22:37 tox==3.20.0 00:22:37 tqdm==4.43.0 00:22:37 typing-extensions==3.7.4.3 00:22:37 urllib3==1.25.8 00:22:37 virtualenv==20.0.32 00:22:37 wcwidth==0.2.5 00:22:37 websocket-client==0.57.0 00:22:37 wrapt==1.12.1 00:22:37 xdg==3.0.2 00:22:37 xmltodict==0.12.0 00:22:37 yarl==1.6.0 00:22:37 yq==2.11.1 00:22:37 zipp==3.3.0 00:22:38 Cache entry deserialization failed, entry ignored 00:22:40 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 00:22:43 Python 2.7.5 00:22:43 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 00:22:43 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 00:22:43 ansible==2.9.7 00:22:43 Babel==0.9.6 00:22:43 backports.ssl-match-hostname==3.5.0.1 00:22:43 beautifulsoup4==4.4.1 00:22:43 bodhi==2.11.0 00:22:43 bodhi-client==2.11.0 00:22:43 CCColUtils==1.4 00:22:43 cffi==1.6.0 00:22:43 chardet==2.2.1 00:22:43 click==6.7 00:22:43 cloud-init==18.5 00:22:43 configobj==4.7.2 00:22:43 cryptography==1.7.2 00:22:43 decorator==3.4.0 00:22:43 distro==1.2.0 00:22:43 enum34==1.0.4 00:22:43 fedpkg==1.38 00:22:43 futures==3.1.1 00:22:43 gitdb==0.6.4 00:22:43 GitPython==1.0.1 00:22:43 html5lib==0.999 00:22:43 httplib2==0.9.2 00:22:43 idna==2.4 00:22:43 iniparse==0.4 00:22:43 ipaddress==1.0.16 00:22:43 IPy==0.75 00:22:43 javapackages==1.0.0 00:22:43 Jinja2==2.7.2 00:22:43 jmespath==0.9.4 00:22:43 jsonpatch==1.2 00:22:43 jsonpointer==1.9 00:22:43 kerberos==1.1 00:22:43 kitchen==1.1.1 00:22:43 langtable==0.0.31 00:22:43 lockfile==0.9.1 00:22:43 lxml==3.2.1 00:22:43 MarkupSafe==0.11 00:22:43 munch==2.0.2 00:22:43 offtrac==0.1.0 00:22:43 openidc-client==0.6.0 00:22:43 packagedb-cli==2.14.1 00:22:43 paramiko==2.1.1 00:22:43 perf==0.1 00:22:43 ply==3.4 00:22:43 policycoreutils-default-encoding==0.1 00:22:43 prettytable==0.7.2 00:22:43 pyasn1==0.1.9 00:22:43 pycparser==2.14 00:22:43 pycurl==7.19.0 00:22:43 pygobject==3.22.0 00:22:43 pygpgme==0.3 00:22:43 pyliblzma==0.5.3 00:22:43 pyOpenSSL==0.13.1 00:22:43 pyparsing==1.5.6 00:22:43 pyserial==2.6 00:22:43 python-augeas==0.5.0 00:22:43 python-bugzilla==2.3.0 00:22:43 python-dateutil==1.5 00:22:43 python-fedora==0.10.0 00:22:43 python-linux-procfs==0.4.9 00:22:43 python-yubico==1.2.3 00:22:43 pyudev==0.15 00:22:43 pyusb==1.0.0b1 00:22:43 pyxattr==0.5.1 00:22:43 PyYAML==3.10 00:22:43 requests==2.6.0 00:22:43 requests-kerberos==0.7.0 00:22:43 rpkg==1.60 00:22:43 schedutils==0.4 00:22:43 seobject==0.1 00:22:43 sepolicy==1.1 00:22:43 six==1.9.0 00:22:43 smmap==0.9.0 00:22:43 urlgrabber==3.10 00:22:43 urllib3==1.10.2 00:22:43 virtualenv==15.1.0 00:22:43 yum-langpacks==0.4.2 00:22:43 yum-metadata-parser==1.1.4 [Pipeline] echo 00:22:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:22:44 ---> sudo-logs.sh 00:22:44 Archiving 'sudo' log.. [Pipeline] echo 00:22:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:22:44 ---> job-cost.sh 00:22:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o546 00:22:54 Cache entry deserialization failed, entry ignored 00:22:55 Cache entry deserialization failed, entry ignored 00:22:56 Cache entry deserialization failed, entry ignored 00:22:56 Cache entry deserialization failed, entry ignored 00:22:56 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:22:57 Cache entry deserialization failed, entry ignored 00:23:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:23:33 lf-activate-venv(): INFO: Adding /tmp/venv-o546/bin to PATH 00:23:33 INFO: No Stack... 00:23:33 INFO: Retrieving Pricing Info for: v1-standard-2 00:23:33 INFO: Archiving Costs [Pipeline] echo 00:23:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:23:33 ---> logs-deploy.sh 00:23:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-136/2 00:23:33 INFO: archiving workspace using pattern(s): 00:23:35 Archives upload complete. 00:23:35 INFO: archiving logs to Nexus