Pull request #133 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 1f70e87a0f797992e895568ae98c815cf120608c+8d31429af90f845313e1f83db91362442934a267 (0236cf2f90afb4ea5dbea17a133d5d3b5055261b) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1913 in /w/workspace/foundry_device-virtual-go_PR-133 [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-133 # 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 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 1f70e87a0f797992e895568ae98c815cf120608c Merge succeeded, producing ae0f4ba367cf7977b21b697144a4cf0415115de2 Checking out Revision ae0f4ba367cf7977b21b697144a4cf0415115de2 (PR-133) 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/133/head:refs/remotes/origin/PR-133 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f70e87a0f797992e895568ae98c815cf120608c # 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 8d31429af90f845313e1f83db91362442934a267 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae0f4ba367cf7977b21b697144a4cf0415115de2 # timeout=10 Commit message: "Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:45:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 91b6cffc5c456462fe53a11172bab6380debd0de # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:45:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:45:46 ========================================================= 01:45:46 EdgeX Global Pipelines Version Info 01:45:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:45:47 ------------------- 01:45:47 stable info: 01:45:47 ------------------- 01:45:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:45:47 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 01:45:47 Message: update stable to v1.0.131 01:45:48 ------------------- 01:45:48 experimental info: 01:45:48 ------------------- 01:45:48 Commited By: **** collab-it+edgex@linuxfoundation.org 01:45:48 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 01:45:48 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:45:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:45:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo 01:45:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo 01:45:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo 01:45:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae0f4ba367cf7977b21b697144a4cf0415115de2 [Pipeline] echo 01:45:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae0f4ba [Pipeline] echo 01:45:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:53 + git log --format=format:%s -1 ae0f4ba367cf7977b21b697144a4cf0415115de2 [Pipeline] echo 01:45:53 GIT_COMMIT: ae0f4ba367cf7977b21b697144a4cf0415115de2, Commit Message: Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD [Pipeline] echo 01:45:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:54 01:45:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:45:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:54 latest: Pulling from edgex-devops/git-semver 01:45:54 31603596830f: Pulling fs layer 01:45:54 2a8b12db71e7: Pulling fs layer 01:45:54 6ca5941a6612: Pulling fs layer 01:45:54 ecc8261a40a4: Pulling fs layer 01:45:54 ecc8261a40a4: Waiting 01:45:54 2a8b12db71e7: Verifying Checksum 01:45:54 2a8b12db71e7: Download complete 01:45:55 31603596830f: Verifying Checksum 01:45:55 31603596830f: Download complete 01:45:55 6ca5941a6612: Verifying Checksum 01:45:55 6ca5941a6612: Download complete 01:45:55 ecc8261a40a4: Verifying Checksum 01:45:55 ecc8261a40a4: Download complete 01:45:55 31603596830f: Pull complete 01:45:55 2a8b12db71e7: Pull complete 01:45:56 6ca5941a6612: Pull complete 01:45:56 ecc8261a40a4: Pull complete 01:45:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:45:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:45:56 prd-centos7-docker-4c-2g-1913 does not seem to be running inside a container 01:45:56 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-133 -v /w/workspace/foundry_device-virtual-go_PR-133:/w/workspace/foundry_device-virtual-go_PR-133:rw,z -v /w/workspace/foundry_device-virtual-go_PR-133@tmp:/w/workspace/foundry_device-virtual-go_PR-133@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:45:58 $ docker top 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:59 [ssh-agent] Looking for ssh-agent implementation... 01:45:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:59 $ docker exec 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent 01:45:59 SSH_AUTH_SOCK=/tmp/ssh-WehSunGq0xs6/agent.12 01:45:59 SSH_AGENT_PID=18 01:45:59 Running ssh-add (command line suppressed) 01:45:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_8446349417984274393.key (/w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_8446349417984274393.key) 01:45:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:00 + git describe --exact-match --tags HEAD 01:46:00 fatal: no tag exactly matches 'ae0f4ba367cf7977b21b697144a4cf0415115de2' [Pipeline] } 01:46:00 $ docker exec --env ******** --env ******** 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent -k 01:46:00 unset SSH_AUTH_SOCK; 01:46:00 unset SSH_AGENT_PID; 01:46:00 echo Agent pid 18 killed; 01:46:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:46:00 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:46:00 This usually means this commit has not been tagged. [Pipeline] sshagent 01:46:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:00 [ssh-agent] Looking for ssh-agent implementation... 01:46:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:00 $ docker exec 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent 01:46:00 SSH_AUTH_SOCK=/tmp/ssh-l0zi9V3otxt2/agent.47 01:46:00 SSH_AGENT_PID=52 01:46:00 Running ssh-add (command line suppressed) 01:46:00 Identity added: /w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_5446812079511606353.key (/w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_5446812079511606353.key) 01:46:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:01 + git semver init 01:46:01 # -> Open(): unable to determine branch for HEAD 01:46:01 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.git 01:46:01 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-133 01:46:01 # $SEMVER_REMOTE_NAME = origin 01:46:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:46:01 # $SEMVER_USER_NAME = edgex-jenkins 01:46:01 # $SEMVER_BRANCH = PR-133 01:46:01 # $SEMVER_TEMP = /tmp/semver-695410060 01:46:01 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 01:46:01 # '/tmp/semver-695410060' -> '/w/workspace/foundry_device-virtual-go_PR-133/.semver' 01:46:01 # -> Force: false 01:46:01 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.semver [Pipeline] } 01:46:01 $ docker exec --env ******** --env ******** 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent -k 01:46:02 unset SSH_AUTH_SOCK; 01:46:02 unset SSH_AGENT_PID; 01:46:02 echo Agent pid 52 killed; 01:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:46:02 + git semver [Pipeline] } 01:46:02 $ docker stop --time=1 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 01:46:04 $ docker rm -f 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:46:04 Stashed 30 file(s) [Pipeline] echo 01:46:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:46:04 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 01:46:20 Still waiting to schedule task 01:46:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:46:20 Still waiting to schedule task 01:46:20 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1912’ 01:48:56 Running on prd-centos7-docker-4c-2g-1914 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws 01:48:56 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 01:49:02 using credential edgex-jenkins-ssh 01:49:02 Cloning the remote Git repository 01:49:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:49:02 > git init /w/workspace/device-virtual-go/4 # timeout=10 01:49:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:49:02 > git --version # timeout=10 01:49:02 > git --version # 'git version 2.16.5' 01:49:02 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:49:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:49:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:49:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:49:04 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 1f70e87a0f797992e895568ae98c815cf120608c 01:49:04 Merge succeeded, producing 13a88a2c2af6a7fd52d789c37a4f5226b08ff0fb 01:49:04 Checking out Revision 13a88a2c2af6a7fd52d789c37a4f5226b08ff0fb (PR-133) 01:49:04 > git config core.sparsecheckout # timeout=10 01:49:04 > git checkout -f 1f70e87a0f797992e895568ae98c815cf120608c # timeout=10 01:49:04 > git remote # timeout=10 01:49:04 > git config --get remote.origin.url # timeout=10 01:49:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:04 > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 01:49:04 > git rev-parse HEAD^{commit} # timeout=10 01:49:04 > git config core.sparsecheckout # timeout=10 01:49:04 > git checkout -f 13a88a2c2af6a7fd52d789c37a4f5226b08ff0fb # timeout=10 01:49:09 Commit message: "Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD" 01:49:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 01:49:09 > git rev-list --no-walk 91b6cffc5c456462fe53a11172bab6380debd0de # timeout=10 [Pipeline] echo 01:49:10 ========================================================= 01:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:49:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:49:11 + 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 . 01:49:11 Sending build context to Docker daemon 728.6kB 01:49:11 Step 1/8 : ARG BASE=golang:1.15-alpine 01:49:11 Step 2/8 : FROM ${BASE} 01:49:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:49:11 df20fa9351a1: Pulling fs layer 01:49:11 ed8968b2872e: Pulling fs layer 01:49:11 a92cc7c5fd73: Pulling fs layer 01:49:11 e871e8e8d7a9: Pulling fs layer 01:49:11 e73272ec9a57: Pulling fs layer 01:49:11 1e910a182e73: Pulling fs layer 01:49:11 4e634b169226: Pulling fs layer 01:49:11 e73272ec9a57: Waiting 01:49:11 1e910a182e73: Waiting 01:49:11 4e634b169226: Waiting 01:49:11 e871e8e8d7a9: Waiting 01:49:11 a92cc7c5fd73: Verifying Checksum 01:49:11 a92cc7c5fd73: Download complete 01:49:11 ed8968b2872e: Verifying Checksum 01:49:11 ed8968b2872e: Download complete 01:49:11 e73272ec9a57: Verifying Checksum 01:49:11 e73272ec9a57: Download complete 01:49:11 1e910a182e73: Verifying Checksum 01:49:11 1e910a182e73: Download complete 01:49:12 df20fa9351a1: Verifying Checksum 01:49:12 df20fa9351a1: Download complete 01:49:12 df20fa9351a1: Pull complete 01:49:12 ed8968b2872e: Pull complete 01:49:13 a92cc7c5fd73: Pull complete 01:49:15 4e634b169226: Verifying Checksum 01:49:15 4e634b169226: Download complete 01:49:16 e871e8e8d7a9: Verifying Checksum 01:49:16 e871e8e8d7a9: Download complete 01:49:24 e871e8e8d7a9: Pull complete 01:49:24 e73272ec9a57: Pull complete 01:49:24 1e910a182e73: Pull complete 01:49:30 4e634b169226: Pull complete 01:49:30 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:49:30 ---> f7629b54cfaa 01:49:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:49:30 ---> Running in 496e23588ea1 01:49:30 Removing intermediate container 496e23588ea1 01:49:30 ---> 38f599fd4a7d 01:49:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:30 ---> Running in f8b53675a886 01:49:31 Removing intermediate container f8b53675a886 01:49:31 ---> 12a294a2f621 01:49:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:49:31 ---> Running in aa90a2374632 01:49:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:49:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:49:34 (1/14) Installing libmagic (5.38-r0) 01:49:35 (2/14) Installing file (5.38-r0) 01:49:35 (3/14) Installing libc-dev (0.7.2-r3) 01:49:35 (4/14) Installing g++ (9.3.0-r2) 01:49:48 (5/14) Installing fortify-headers (1.1-r0) 01:49:48 (6/14) Installing patch (2.7.6-r6) 01:49:48 (7/14) Installing build-base (0.5-r2) 01:49:48 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:49:48 (9/14) Installing libedit (20191231.3.1-r0) 01:49:48 (10/14) Installing openssh-client (8.3_p1-r0) 01:49:48 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:49:48 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:49:48 (13/14) Installing openssh-server (8.3_p1-r0) 01:49:48 (14/14) Installing openssh (8.3_p1-r0) 01:49:48 Executing busybox-1.31.1-r16.trigger 01:49:48 OK: 237 MiB in 53 packages 01:49:52 Removing intermediate container aa90a2374632 01:49:52 ---> 62500e9749be 01:49:52 Step 6/8 : WORKDIR /device-virtual-go 01:49:52 ---> Running in 0bbe99a6c961 01:49:52 Removing intermediate container 0bbe99a6c961 01:49:52 ---> 0d31ef714b74 01:49:52 Step 7/8 : COPY . . 01:49:52 ---> dead5208abbd 01:49:52 Step 8/8 : RUN go mod download 01:49:52 ---> Running in 4fd7eaee38cd 01:50:11 Removing intermediate container 4fd7eaee38cd 01:50:11 ---> bc49d02ef255 01:50:11 Successfully built bc49d02ef255 01:50:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:50:11 + docker inspect -f . ci-base-image-x86_64 01:50:11 . [Pipeline] withDockerContainer 01:50:12 prd-centos7-docker-4c-2g-1914 does not seem to be running inside a container 01:50:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** ci-base-image-x86_64 cat 01:50:13 $ docker top 659d8885aaa9a4185eacf3360ea2fff4e34216f01646a981000718de05bd8609 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:14 + go version 01:50:14 go version go1.15.2 linux/amd64 [Pipeline] } 01:50:14 $ docker stop --time=1 659d8885aaa9a4185eacf3360ea2fff4e34216f01646a981000718de05bd8609 01:50:16 $ docker rm -f 659d8885aaa9a4185eacf3360ea2fff4e34216f01646a981000718de05bd8609 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:50:16 + docker inspect -f . ci-base-image-x86_64 01:50:16 . [Pipeline] withDockerContainer 01:50:17 prd-centos7-docker-4c-2g-1914 does not seem to be running inside a container 01:50:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** ci-base-image-x86_64 cat 01:50:18 $ docker top 133d141e2de2d7e4d529f0f5dddb2e04bc1aed009a2ee1f48e946abccb19a690 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:18 + make test 01:50:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:50:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1915 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws 01:50:18 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 01:50:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:50:24 using credential edgex-jenkins-ssh 01:50:24 Cloning the remote Git repository 01:50:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:50:24 > git init /w/workspace/device-virtual-go/4 # timeout=10 01:50:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:50:24 > git --version # timeout=10 01:50:24 > git --version # 'git version 2.17.1' 01:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:50:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:50:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:50:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:50:26 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 1f70e87a0f797992e895568ae98c815cf120608c 01:50:26 Merge succeeded, producing 67d7c6fec4495b8b8f83d0d4e79cc6a5e767aa7c 01:50:26 Checking out Revision 67d7c6fec4495b8b8f83d0d4e79cc6a5e767aa7c (PR-133) 01:50:26 > git config core.sparsecheckout # timeout=10 01:50:26 > git checkout -f 1f70e87a0f797992e895568ae98c815cf120608c # timeout=10 01:50:26 > git remote # timeout=10 01:50:26 > git config --get remote.origin.url # timeout=10 01:50:26 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:26 > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 01:50:26 > git rev-parse HEAD^{commit} # timeout=10 01:50:26 > git config core.sparsecheckout # timeout=10 01:50:27 > git checkout -f 67d7c6fec4495b8b8f83d0d4e79cc6a5e767aa7c # timeout=10 01:50:31 Commit message: "Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD" 01:50:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 01:50:31 > git rev-list --no-walk 91b6cffc5c456462fe53a11172bab6380debd0de # timeout=10 [Pipeline] echo 01:50:32 ========================================================= 01:50:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:50:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:50:33 + 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 . 01:50:33 Sending build context to Docker daemon 728.6kB 01:50:34 Step 1/8 : ARG BASE=golang:1.15-alpine 01:50:34 Step 2/8 : FROM ${BASE} 01:50:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:50:34 b538f80385f9: Pulling fs layer 01:50:34 74f711af9a0d: Pulling fs layer 01:50:34 99f96fe45779: Pulling fs layer 01:50:34 8529a6b9a6be: Pulling fs layer 01:50:34 45590311c82a: Pulling fs layer 01:50:34 69ca0ff8b7b3: Pulling fs layer 01:50:34 209524e5b208: Pulling fs layer 01:50:34 8529a6b9a6be: Waiting 01:50:34 45590311c82a: Waiting 01:50:34 69ca0ff8b7b3: Waiting 01:50:34 209524e5b208: Waiting 01:50:34 99f96fe45779: Verifying Checksum 01:50:34 99f96fe45779: Download complete 01:50:34 74f711af9a0d: Verifying Checksum 01:50:34 74f711af9a0d: Download complete 01:50:34 45590311c82a: Download complete 01:50:34 69ca0ff8b7b3: Verifying Checksum 01:50:34 69ca0ff8b7b3: Download complete 01:50:34 b538f80385f9: Download complete 01:50:35 b538f80385f9: Pull complete 01:50:35 74f711af9a0d: Pull complete 01:50:36 99f96fe45779: Pull complete 01:50:37 209524e5b208: Download complete 01:50:38 8529a6b9a6be: Verifying Checksum 01:50:38 8529a6b9a6be: Download complete 01:50:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:50:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.607s coverage: 64.4% of statements 01:50:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:50:48 8529a6b9a6be: Pull complete 01:50:48 45590311c82a: Pull complete 01:50:49 69ca0ff8b7b3: Pull complete 01:50:51 gofmt -l . 01:50:51 [ "`gofmt -l .`" = "" ] 01:50:51 ./bin/test-attribution-txt.sh 01:50:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:50:53 Stashed 1 file(s) [Pipeline] } 01:50:53 $ docker stop --time=1 133d141e2de2d7e4d529f0f5dddb2e04bc1aed009a2ee1f48e946abccb19a690 01:50:53 209524e5b208: Pull complete 01:50:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:50:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:50:53 ---> 5bddaf1c2fca 01:50:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:50:55 ---> Running in bb83386549a9 01:50:55 Removing intermediate container bb83386549a9 01:50:55 ---> 37322a102aa3 01:50:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:56 ---> Running in 81942e7187a3 01:50:56 $ docker rm -f 133d141e2de2d7e4d529f0f5dddb2e04bc1aed009a2ee1f48e946abccb19a690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 01:50:58 Removing intermediate container 81942e7187a3 01:50:58 ---> d1958ca23f61 01:50:58 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:50:58 ---> Running in 69869843147b [Pipeline] sh 01:50:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:59 + ls -al . 01:50:59 total 124 01:50:59 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 29 01:50 . 01:50:59 drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 01:49 .. 01:50:59 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 29 01:49 Attribution.txt 01:50:59 drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 01:49 bin 01:50:59 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 01:49 cmd 01:50:59 -rw-r--r--. 1 jenkins jenkins 47209 Sep 29 01:50 coverage.out 01:50:59 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 29 01:49 Dockerfile 01:50:59 -rw-rw-r--. 1 jenkins jenkins 957 Sep 29 01:49 Dockerfile.build 01:50:59 drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 01:49 .git 01:50:59 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 01:49 .github 01:50:59 -rw-rw-r--. 1 jenkins jenkins 258 Sep 29 01:49 .gitignore 01:50:59 -rw-r--r--. 1 jenkins jenkins 862 Sep 29 01:50 go.mod 01:50:59 -rw-r--r--. 1 jenkins jenkins 14908 Sep 29 01:50 go.sum 01:50:59 drwxrwxr-x. 3 jenkins jenkins 20 Sep 29 01:49 internal 01:50:59 -rw-rw-r--. 1 jenkins jenkins 660 Sep 29 01:49 Jenkinsfile 01:50:59 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 01:49 LICENSE 01:50:59 -rw-rw-r--. 1 jenkins jenkins 873 Sep 29 01:49 Makefile 01:50:59 -rw-rw-r--. 1 jenkins jenkins 918 Sep 29 01:49 README.md 01:50:59 drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 01:49 .semver 01:50:59 -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 01:46 VERSION 01:50:59 -rw-rw-r--. 1 jenkins jenkins 235 Sep 29 01:49 version.go [Pipeline] isUnix [Pipeline] sh 01:51:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:51:00 + 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=ae0f4ba367cf7977b21b697144a4cf0415115de2 --label arch=amd64 --label version=0.0.0 . 01:51:00 Sending build context to Docker daemon 792.6kB 01:51:00 Step 1/22 : ARG BASE=golang:1.15-alpine 01:51:00 Step 2/22 : FROM ${BASE} AS builder 01:51:00 ---> bc49d02ef255 01:51:00 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 01:51:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:51:00 ---> Running in 7b1d9dd31223 01:51:01 Removing intermediate container 7b1d9dd31223 01:51:01 ---> 277cfbce31a5 01:51:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 01:51:01 ---> Running in ba1a476e4450 01:51:01 (1/14) Installing libmagic (5.38-r0) 01:51:01 (2/14) Installing file (5.38-r0) 01:51:01 (3/14) Installing libc-dev (0.7.2-r3) 01:51:01 (4/14) Installing g++ (9.3.0-r2) 01:51:01 Removing intermediate container ba1a476e4450 01:51:01 ---> 933d1236f9a5 01:51:01 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 01:51:01 ---> Running in 16df01aa80ca 01:51:02 Removing intermediate container 16df01aa80ca 01:51:02 ---> 56ed6f1c7603 01:51:02 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:51:02 ---> Running in 3f1b5d4a6b52 01:51:03 Removing intermediate container 3f1b5d4a6b52 01:51:03 ---> 96fa04fe1298 01:51:03 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:03 ---> Running in a958e808050b 01:51:04 (5/14) Installing fortify-headers (1.1-r0) 01:51:04 (6/14) Installing patch (2.7.6-r6) 01:51:04 (7/14) Installing build-base (0.5-r2) 01:51:04 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:51:04 (9/14) Installing libedit (20191231.3.1-r0) 01:51:04 (10/14) Installing openssh-client (8.3_p1-r0) 01:51:04 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:51:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:51:04 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:51:04 (13/14) Installing openssh-server (8.3_p1-r0) 01:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:51:05 (14/14) Installing openssh (8.3_p1-r0) 01:51:05 OK: 237 MiB in 53 packages 01:51:06 Executing busybox-1.31.1-r16.trigger 01:51:06 OK: 221 MiB in 53 packages 01:51:07 Removing intermediate container a958e808050b 01:51:07 ---> 21c640badfec 01:51:07 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 01:51:07 ---> Running in 5bbee75a03ae 01:51:07 Removing intermediate container 5bbee75a03ae 01:51:07 ---> 47924f573ec0 01:51:07 Step 9/22 : COPY . . 01:51:09 ---> 4eb104e65a2c 01:51:09 Step 10/22 : ARG MAKE='make build' 01:51:09 ---> Running in 0d43f5c23a80 01:51:09 Removing intermediate container 0d43f5c23a80 01:51:09 ---> 771a4cb4fe36 01:51:09 Step 11/22 : RUN $MAKE 01:51:09 ---> Running in 984962d7852d 01:51:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:51:10 Removing intermediate container 69869843147b 01:51:10 ---> c8c4d0d7ea79 01:51:10 Step 6/8 : WORKDIR /device-virtual-go 01:51:10 ---> Running in f4b4486ddfbb 01:51:10 Removing intermediate container f4b4486ddfbb 01:51:10 ---> 638dd398a2ff 01:51:10 Step 7/8 : COPY . . 01:51:11 ---> a9fb883c0e18 01:51:11 Step 8/8 : RUN go mod download 01:51:11 ---> Running in 3daecb878f04 01:51:27 Removing intermediate container 3daecb878f04 01:51:27 ---> 6288248a8b73 01:51:27 Successfully built 6288248a8b73 01:51:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:51:27 + docker inspect -f . ci-base-image-arm64 01:51:27 . [Pipeline] withDockerContainer 01:51:27 prd-ubuntu18.04-docker-arm64-4c-16g-1915 does not seem to be running inside a container 01:51:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:51:28 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:51:29 $ docker top c562529f09a578ffb3873ebc2c58161a7ae81baa3cedf090babf940914bcb4b9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:31 + go version 01:51:31 go version go1.15.2 linux/arm64 [Pipeline] } 01:51:31 $ docker stop --time=1 c562529f09a578ffb3873ebc2c58161a7ae81baa3cedf090babf940914bcb4b9 01:51:33 $ docker rm -f c562529f09a578ffb3873ebc2c58161a7ae81baa3cedf090babf940914bcb4b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:51:34 + docker inspect -f . ci-base-image-arm64 01:51:34 . [Pipeline] withDockerContainer 01:51:34 prd-ubuntu18.04-docker-arm64-4c-16g-1915 does not seem to be running inside a container 01:51:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:51:35 Removing intermediate container 984962d7852d 01:51:35 ---> dab5aace6d0f 01:51:35 Step 12/22 : FROM alpine 01:51:35 latest: Pulling from library/alpine 01:51:35 df20fa9351a1: Already exists 01:51:35 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:51:35 Status: Downloaded newer image for alpine:latest 01:51:35 ---> a24bb4013296 01:51:35 Step 13/22 : ENV APP_PORT=49990 01:51:35 ---> Running in f100e9c7323a 01:51:35 Removing intermediate container f100e9c7323a 01:51:35 ---> fa0b8e699e01 01:51:35 Step 14/22 : EXPOSE $APP_PORT 01:51:35 ---> Running in 8cd45deff08f 01:51:35 Removing intermediate container 8cd45deff08f 01:51:35 ---> 8e3c89f19391 01:51:35 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 01:51:36 $ docker top 9349cff59248ac2d386180f03a4d3ad1f61a553dc6029f6b310f17dabe9f0d59 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:36 ---> b671845b3b97 01:51:36 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 01:51:36 ---> 880f2b080087 01:51:36 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 01:51:37 ---> 0110445c442d 01:51:37 Step 18/22 : ENTRYPOINT ["/device-virtual"] 01:51:37 ---> Running in b49f7494a920 01:51:37 Removing intermediate container b49f7494a920 01:51:37 ---> 7678a6aa33ee 01:51:37 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:51:37 + make test 01:51:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:51:37 ---> Running in 2d7cef5ef289 01:51:37 Removing intermediate container 2d7cef5ef289 01:51:37 ---> c05706804fa3 01:51:37 Step 20/22 : LABEL arch=amd64 01:51:37 ---> Running in 9f491e7d0dc7 01:51:38 Removing intermediate container 9f491e7d0dc7 01:51:38 ---> d8de623954db 01:51:38 Step 21/22 : LABEL git_sha=ae0f4ba367cf7977b21b697144a4cf0415115de2 01:51:38 ---> Running in 00fb62995738 01:51:38 Removing intermediate container 00fb62995738 01:51:38 ---> 49c9ce390662 01:51:38 Step 22/22 : LABEL version=0.0.0 01:51:38 ---> Running in 26f983b6c019 01:51:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:51:38 Removing intermediate container 26f983b6c019 01:51:38 ---> fe9b4344cbd0 01:51:38 [Warning] One or more build-args [ARCH] were not consumed 01:51:38 Successfully built fe9b4344cbd0 01:51:38 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] } 01:52:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:52:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.437s coverage: 64.4% of statements 01:52:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:52:29 gofmt -l . 01:52:29 [ "`gofmt -l .`" = "" ] 01:52:29 ./bin/test-attribution-txt.sh 01:52:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:52:30 Warning: overwriting stash ‘coverage-report’ 01:52:31 Stashed 1 file(s) [Pipeline] } 01:52:31 $ docker stop --time=1 9349cff59248ac2d386180f03a4d3ad1f61a553dc6029f6b310f17dabe9f0d59 01:52:33 $ docker rm -f 9349cff59248ac2d386180f03a4d3ad1f61a553dc6029f6b310f17dabe9f0d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:52:36 + ls -al . 01:52:36 total 152 01:52:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:52 . 01:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 01:50 .. 01:52:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:50 .git 01:52:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:50 .github 01:52:36 -rw-rw-r-- 1 jenkins jenkins 258 Sep 29 01:50 .gitignore 01:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:50 .semver 01:52:36 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 29 01:50 Attribution.txt 01:52:36 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 29 01:50 Dockerfile 01:52:36 -rw-rw-r-- 1 jenkins jenkins 957 Sep 29 01:50 Dockerfile.build 01:52:36 -rw-rw-r-- 1 jenkins jenkins 660 Sep 29 01:50 Jenkinsfile 01:52:36 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 01:50 LICENSE 01:52:36 -rw-rw-r-- 1 jenkins jenkins 873 Sep 29 01:50 Makefile 01:52:36 -rw-rw-r-- 1 jenkins jenkins 918 Sep 29 01:50 README.md 01:52:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 01:46 VERSION 01:52:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:50 bin 01:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:50 cmd 01:52:36 -rw-r--r-- 1 jenkins jenkins 47209 Sep 29 01:52 coverage.out 01:52:36 -rw-r--r-- 1 jenkins jenkins 862 Sep 29 01:52 go.mod 01:52:36 -rw-r--r-- 1 jenkins jenkins 14908 Sep 29 01:52 go.sum 01:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:50 internal 01:52:36 -rw-rw-r-- 1 jenkins jenkins 235 Sep 29 01:50 version.go [Pipeline] isUnix [Pipeline] sh 01:52:36 + 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=ae0f4ba367cf7977b21b697144a4cf0415115de2 --label arch=arm64 --label version=0.0.0 . 01:52:36 Sending build context to Docker daemon 792.6kB 01:52:36 Step 1/22 : ARG BASE=golang:1.15-alpine 01:52:36 Step 2/22 : FROM ${BASE} AS builder 01:52:36 ---> 6288248a8b73 01:52:36 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 01:52:37 ---> Running in 2ab6c7e5f27a 01:52:37 Removing intermediate container 2ab6c7e5f27a 01:52:37 ---> 1bf63e208874 01:52:37 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 01:52:37 ---> Running in 34ee3ae7f5f1 01:52:38 Removing intermediate container 34ee3ae7f5f1 01:52:38 ---> 123db4f23fcb 01:52:38 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 01:52:38 ---> Running in a6ae05f1b0f0 01:52:38 Removing intermediate container a6ae05f1b0f0 01:52:38 ---> 0ec1e4165da4 01:52:38 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:38 ---> Running in a79755ff96d7 01:52:41 Removing intermediate container a79755ff96d7 01:52:41 ---> c50409543646 01:52:41 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:41 ---> Running in f2034403ad65 01:52:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:52:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:52:56 OK: 221 MiB in 53 packages 01:52:56 Removing intermediate container f2034403ad65 01:52:56 ---> dc30abf9fdf9 01:52:56 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 01:52:57 ---> Running in 7f380a7628e4 01:52:57 Removing intermediate container 7f380a7628e4 01:52:57 ---> ea78a4ffb53c 01:52:57 Step 9/22 : COPY . . 01:52:58 ---> a1519f30539d 01:52:58 Step 10/22 : ARG MAKE='make build' 01:52:58 ---> Running in 589b1ee7db20 01:52:59 Removing intermediate container 589b1ee7db20 01:52:59 ---> 290a4640aa96 01:52:59 Step 11/22 : RUN $MAKE 01:52:59 ---> Running in 4b699a668b6d 01:53:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:53:33 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:53:38 Removing intermediate container 4b699a668b6d 01:53:38 ---> afbebe9cde6d 01:53:38 Step 12/22 : FROM alpine 01:53:38 latest: Pulling from library/alpine 01:53:38 b538f80385f9: Already exists 01:53:38 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:53:38 Status: Downloaded newer image for alpine:latest 01:53:38 ---> 62ee0e9f8440 01:53:38 Step 13/22 : ENV APP_PORT=49990 01:53:38 ---> Running in 4e0906f93d31 01:53:39 Removing intermediate container 4e0906f93d31 01:53:39 ---> 3392a0ffd3d5 01:53:39 Step 14/22 : EXPOSE $APP_PORT 01:53:39 ---> Running in 5d87d9235751 01:53:39 Removing intermediate container 5d87d9235751 01:53:39 ---> 060142031509 01:53:39 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 01:53:41 ---> b36687b9a77d 01:53:41 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 01:53:41 ---> e024d5efc4ba 01:53:41 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 01:53:42 ---> 0f5fb1c19bdd 01:53:42 Step 18/22 : ENTRYPOINT ["/device-virtual"] 01:53:42 ---> Running in 9bd8f7d87e05 01:53:43 Removing intermediate container 9bd8f7d87e05 01:53:43 ---> 172f3cddd2a1 01:53:43 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:53:43 ---> Running in 2be12aa3644a 01:53:44 Removing intermediate container 2be12aa3644a 01:53:44 ---> c7384118c625 01:53:44 Step 20/22 : LABEL arch=arm64 01:53:44 ---> Running in fcaee2ef808c 01:53:44 Removing intermediate container fcaee2ef808c 01:53:44 ---> 2260fac706a5 01:53:44 Step 21/22 : LABEL git_sha=ae0f4ba367cf7977b21b697144a4cf0415115de2 01:53:44 ---> Running in bfb765f1705f 01:53:45 Removing intermediate container bfb765f1705f 01:53:45 ---> 3aabac25ad2a 01:53:45 Step 22/22 : LABEL version=0.0.0 01:53:45 ---> Running in ce988bc6541b 01:53:45 Removing intermediate container ce988bc6541b 01:53:45 ---> 95cf29085fb8 01:53:45 [Warning] One or more build-args [ARCH] were not consumed 01:53:45 Successfully built 95cf29085fb8 01:53:45 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 01:53:47 provisioning config files... 01:53:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config5981166220474702030tmp [Pipeline] { [Pipeline] sh 01:53:49 + set +x 01:53:49 + curl -s https://codecov.io/bash 01:53:49 + bash -s -- 01:53:49 01:53:49 _____ _ 01:53:49 / ____| | | 01:53:49 | | ___ __| | ___ ___ _____ __ 01:53:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:53:49 | |___| (_) | (_| | __/ (_| (_) \ V / 01:53:49 \_____\___/ \__,_|\___|\___\___/ \_/ 01:53:49 Bash-20200917-4e8f14b 01:53:49 01:53:49 01:53:49 ==> Jenkins CI detected. 01:53:49 project root: . 01:53:49 Fixing merge commit SHA 01:53:49 --> token set from env 01:53:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:53:49 ==> Running gcov in . (disable via -X gcov) 01:53:49 ==> Python coveragepy not found 01:53:49 ==> Searching for coverage reports in: 01:53:49 + . 01:53:49 -> Found 1 reports 01:53:49 ==> Detecting git/mercurial file structure 01:53:49 ==> Reading reports 01:53:49 + ./coverage.out bytes=47209 01:53:49 ==> Appending adjustments 01:53:49 https://docs.codecov.io/docs/fixing-reports 01:53:49 + Found adjustments 01:53:49 ==> Gzipping contents 01:53:49 ==> Uploading reports 01:53:49 url: https://codecov.io 01:53:49 query: branch=PR-133&commit=8d31429af90f845313e1f83db91362442934a267&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-133%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=133&job=&cmd_args= 01:53:49 -> Pinging Codecov 01:53:49 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-133&commit=8d31429af90f845313e1f83db91362442934a267&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-133%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=133&job=&cmd_args= 01:53:50 -> Uploading to 01:53:50 https://storage.googleapis.com/codecov/v4/raw/2020-09-29/5E52B4B073DB2E39498172D8E973AA87/8d31429af90f845313e1f83db91362442934a267/362df8d2-732a-47b8-ac14-3beaef11906e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T015350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa2ae34d47050f685a860a6b97550c77e44d8525f690c707dd5dcab7869d46a6 01:53:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:50 Dload Upload Total Spent Left Speed 01:53:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5821 0 0 100 5821 0 10312 --:--:-- --:--:-- --:--:-- 10320 01:53:52 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8d31429af90f845313e1f83db91362442934a267 [Pipeline] } 01:53:52 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 01:53:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:53:58 ---> package-listing.sh 01:53:58 ++ facter osfamily 01:53:58 ++ tr '[:upper:]' '[:lower:]' 01:53:58 + OS_FAMILY=redhat 01:53:58 + workspace=/w/workspace/foundry_device-virtual-go_PR-133 01:53:58 + START_PACKAGES=/tmp/packages_start.txt 01:53:58 + END_PACKAGES=/tmp/packages_end.txt 01:53:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:53:58 + PACKAGES=/tmp/packages_start.txt 01:53:58 + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' 01:53:58 + PACKAGES=/tmp/packages_end.txt 01:53:58 + case "${OS_FAMILY}" in 01:53:58 + rpm -qa 01:53:58 + sort 01:54:02 + '[' -f /tmp/packages_start.txt ']' 01:54:02 + '[' -f /tmp/packages_end.txt ']' 01:54:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:54:02 + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' 01:54:02 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-133/archives/ 01:54:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-133/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:02 provisioning config files... 01:54:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config1557198400903073232tmp [Pipeline] { [Pipeline] echo 01:54:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:54:03 ---> create-netrc.sh [Pipeline] } 01:54:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:54:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:54:03 ---> python-tools-install.sh 01:54:03 Generating Requirements File 01:55:25 Python 3.6.8 01:55:25 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 01:55:25 aiohttp==3.6.2 01:55:25 appdirs==1.4.3 01:55:25 argcomplete==1.12.1 01:55:25 aspy.yaml==1.3.0 01:55:25 async-timeout==3.0.1 01:55:25 attrs==19.3.0 01:55:25 Babel==2.8.0 01:55:25 beautifulsoup4==4.8.2 01:55:25 boto3==1.11.6 01:55:25 botocore==1.14.6 01:55:25 bs4==0.0.1 01:55:25 cachetools==4.1.1 01:55:25 certifi==2019.11.28 01:55:25 cffi==1.14.3 01:55:25 cfgv==2.0.1 01:55:25 chardet==3.0.4 01:55:25 click==7.1 01:55:25 cliff==3.4.0 01:55:25 cmd2==1.3.10 01:55:25 colorama==0.4.3 01:55:25 cryptography==3.1.1 01:55:25 debtcollector==2.2.0 01:55:25 decorator==4.4.2 01:55:25 defusedxml==0.6.0 01:55:25 Deprecated==1.2.7 01:55:25 distlib==0.3.1 01:55:25 distro==1.2.0 01:55:25 dnspython==1.16.0 01:55:25 docker==4.2.0 01:55:25 docutils==0.15.2 01:55:25 dogpile.cache==1.0.2 01:55:25 email-validator==1.0.5 01:55:25 filelock==3.0.12 01:55:25 future==0.18.2 01:55:25 google-auth==1.22.0 01:55:25 httplib2==0.17.0 01:55:25 identify==1.4.11 01:55:25 idna==2.9 01:55:25 idna-ssl==1.1.0 01:55:25 importlib-metadata==1.7.0 01:55:25 importlib-resources==1.5.0 01:55:25 iso8601==0.1.13 01:55:25 Jinja2==2.11.1 01:55:25 jmespath==0.10.0 01:55:25 jsonpatch==1.26 01:55:25 jsonpointer==2.0 01:55:25 jsonschema==3.2.0 01:55:25 keystoneauth1==4.2.1 01:55:25 kubernetes==11.0.0 01:55:25 lftools==0.34.2 01:55:25 lxml==4.5.0 01:55:25 MarkupSafe==0.23 01:55:25 msgpack==1.0.0 01:55:25 multi-key-dict==2.0.3 01:55:25 multidict==4.7.6 01:55:25 munch==2.5.0 01:55:25 netaddr==0.8.0 01:55:25 netifaces==0.10.9 01:55:25 niet==1.4.2 01:55:25 nodeenv==1.3.5 01:55:25 oauth2client==4.1.3 01:55:25 oauthlib==3.1.0 01:55:25 openstacksdk==0.50.0 01:55:25 os-client-config==2.1.0 01:55:25 os-service-types==1.7.0 01:55:25 osc-lib==2.2.1 01:55:25 oslo.config==8.3.2 01:55:25 oslo.context==3.1.1 01:55:25 oslo.i18n==5.0.1 01:55:25 oslo.log==4.4.0 01:55:25 oslo.serialization==4.0.1 01:55:25 oslo.utils==4.6.0 01:55:25 packaging==20.4 01:55:25 pbr==5.4.4 01:55:25 pluggy==0.13.1 01:55:25 prettytable==0.7.2 01:55:25 py==1.9.0 01:55:25 pyasn1==0.4.8 01:55:25 pyasn1-modules==0.2.8 01:55:25 pycparser==2.20 01:55:25 pygerrit2==2.0.10 01:55:25 PyGithub==1.46 01:55:25 pyinotify==0.9.6 01:55:25 PyJWT==1.7.1 01:55:25 pyparsing==2.4.7 01:55:25 pyperclip==1.8.0 01:55:25 pyroute2==0.4.13 01:55:25 pyrsistent==0.15.7 01:55:25 PySocks==1.6.8 01:55:25 python-cinderclient==7.2.0 01:55:25 python-dateutil==2.8.1 01:55:25 python-heatclient==2.2.1 01:55:25 python-jenkins==1.7.0 01:55:25 python-keystoneclient==4.1.1 01:55:25 python-magnumclient==3.2.1 01:55:25 python-novaclient==17.2.1 01:55:25 python-openstackclient==5.3.1 01:55:25 python-swiftclient==3.10.1 01:55:25 pytz==2020.1 01:55:25 PyYAML==5.3 01:55:25 requests==2.23.0 01:55:25 requests-oauthlib==1.3.0 01:55:25 requestsexceptions==1.4.0 01:55:25 rfc3986==1.4.0 01:55:25 rpm==4.11.3 01:55:25 rsa==4.0 01:55:25 ruamel.yaml==0.16.10 01:55:25 ruamel.yaml.clib==0.2.0 01:55:25 s3transfer==0.3.3 01:55:25 shade==1.27.2 01:55:25 simplejson==3.17.2 01:55:25 six==1.14.0 01:55:25 soupsieve==2.0 01:55:25 stevedore==3.2.2 01:55:25 tabulate==0.8.6 01:55:25 toml==0.10.0 01:55:25 tox==3.20.0 01:55:25 tqdm==4.43.0 01:55:25 typing-extensions==3.7.4.3 01:55:25 urllib3==1.25.8 01:55:25 virtualenv==20.0.31 01:55:25 wcwidth==0.2.5 01:55:25 websocket-client==0.57.0 01:55:25 wrapt==1.12.1 01:55:25 xdg==3.0.2 01:55:25 xmltodict==0.12.0 01:55:25 yarl==1.6.0 01:55:25 yq==2.11.1 01:55:25 zipp==3.2.0 01:55:25 Cache entry deserialization failed, entry ignored 01:55:25 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. 01:55:25 Python 2.7.5 01:55:25 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 01:55:25 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. 01:55:25 ansible==2.9.7 01:55:25 Babel==0.9.6 01:55:25 backports.ssl-match-hostname==3.5.0.1 01:55:25 beautifulsoup4==4.4.1 01:55:25 bodhi==2.11.0 01:55:25 bodhi-client==2.11.0 01:55:25 CCColUtils==1.4 01:55:25 cffi==1.6.0 01:55:25 chardet==2.2.1 01:55:25 click==6.7 01:55:25 cloud-init==18.5 01:55:25 configobj==4.7.2 01:55:25 cryptography==1.7.2 01:55:25 decorator==3.4.0 01:55:25 distro==1.2.0 01:55:25 enum34==1.0.4 01:55:25 fedpkg==1.38 01:55:25 futures==3.1.1 01:55:25 gitdb==0.6.4 01:55:25 GitPython==1.0.1 01:55:25 html5lib==0.999 01:55:25 httplib2==0.9.2 01:55:25 idna==2.4 01:55:25 iniparse==0.4 01:55:25 ipaddress==1.0.16 01:55:25 IPy==0.75 01:55:25 javapackages==1.0.0 01:55:25 Jinja2==2.7.2 01:55:25 jmespath==0.9.4 01:55:25 jsonpatch==1.2 01:55:25 jsonpointer==1.9 01:55:25 kerberos==1.1 01:55:25 kitchen==1.1.1 01:55:25 langtable==0.0.31 01:55:25 lockfile==0.9.1 01:55:25 lxml==3.2.1 01:55:25 MarkupSafe==0.11 01:55:25 munch==2.0.2 01:55:25 offtrac==0.1.0 01:55:25 openidc-client==0.6.0 01:55:25 packagedb-cli==2.14.1 01:55:25 paramiko==2.1.1 01:55:25 perf==0.1 01:55:25 ply==3.4 01:55:25 policycoreutils-default-encoding==0.1 01:55:25 prettytable==0.7.2 01:55:25 pyasn1==0.1.9 01:55:25 pycparser==2.14 01:55:25 pycurl==7.19.0 01:55:25 pygobject==3.22.0 01:55:25 pygpgme==0.3 01:55:25 pyliblzma==0.5.3 01:55:25 pyOpenSSL==0.13.1 01:55:25 pyparsing==1.5.6 01:55:25 pyserial==2.6 01:55:25 python-augeas==0.5.0 01:55:25 python-bugzilla==2.3.0 01:55:25 python-dateutil==1.5 01:55:25 python-fedora==0.10.0 01:55:25 python-linux-procfs==0.4.9 01:55:25 python-yubico==1.2.3 01:55:25 pyudev==0.15 01:55:25 pyusb==1.0.0b1 01:55:25 pyxattr==0.5.1 01:55:25 PyYAML==3.10 01:55:25 requests==2.6.0 01:55:25 requests-kerberos==0.7.0 01:55:25 rpkg==1.60 01:55:25 schedutils==0.4 01:55:25 seobject==0.1 01:55:25 sepolicy==1.1 01:55:25 six==1.9.0 01:55:25 smmap==0.9.0 01:55:25 urlgrabber==3.10 01:55:25 urllib3==1.10.2 01:55:25 virtualenv==15.1.0 01:55:25 yum-langpacks==0.4.2 01:55:25 yum-metadata-parser==1.1.4 [Pipeline] echo 01:55:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:55:25 ---> sudo-logs.sh 01:55:25 Archiving 'sudo' log.. [Pipeline] echo 01:55:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:55:27 ---> job-cost.sh 01:55:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-09i6 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:39 Cache entry deserialization failed, entry ignored 01:55:40 Cache entry deserialization failed, entry ignored 01:55:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:56:09 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 01:56:09 01:56:09 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 01:56:09 01:56:09 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 01:56:09 lf-activate-venv(): INFO: Adding /tmp/venv-09i6/bin to PATH 01:56:09 INFO: No Stack... 01:56:09 INFO: Retrieving Pricing Info for: v1-standard-2 01:56:10 INFO: Archiving Costs [Pipeline] echo 01:56:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:10 ---> logs-deploy.sh 01:56:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-133/4 01:56:10 INFO: archiving workspace using pattern(s): 01:56:12 Archives upload complete. 01:56:12 INFO: archiving logs to Nexus