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 [2020-09-29T01:45:45.784Z] 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 [2020-09-29T01:45:46.102Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-29T01:45:46.210Z] ========================================================= [2020-09-29T01:45:46.210Z] EdgeX Global Pipelines Version Info [2020-09-29T01:45:46.210Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:45:47.659Z] ------------------- [2020-09-29T01:45:47.659Z] stable info: [2020-09-29T01:45:47.659Z] ------------------- [2020-09-29T01:45:47.659Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-29T01:45:47.659Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T01:45:47.659Z] Message: update stable to v1.0.131 [2020-09-29T01:45:48.607Z] ------------------- [2020-09-29T01:45:48.607Z] experimental info: [2020-09-29T01:45:48.607Z] ------------------- [2020-09-29T01:45:48.607Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-29T01:45:48.607Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T01:45:48.607Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-29T01:45:49.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-09-29T01:45:49.234Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-09-29T01:45:49.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-29T01:45:49.503Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-29T01:45:49.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-29T01:45:49.683Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-29T01:45:49.776Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-29T01:45:49.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-29T01:45:49.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-29T01:45:50.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-29T01:45:50.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-29T01:45:50.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-09-29T01:45:50.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-29T01:45:50.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-29T01:45:50.770Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T01:45:50.904Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T01:45:51.074Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T01:45:51.163Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T01:45:51.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-29T01:45:51.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-29T01:45:51.493Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-29T01:45:51.582Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-29T01:45:51.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-29T01:45:51.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-29T01:45:51.919Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-29T01:45:52.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo [2020-09-29T01:45:52.180Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo [2020-09-29T01:45:52.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo [2020-09-29T01:45:52.375Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae0f4ba367cf7977b21b697144a4cf0415115de2 [Pipeline] echo [2020-09-29T01:45:52.492Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae0f4ba [Pipeline] echo [2020-09-29T01:45:52.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T01:45:53.241Z] + git log --format=format:%s -1 ae0f4ba367cf7977b21b697144a4cf0415115de2 [Pipeline] echo [2020-09-29T01:45:53.305Z] GIT_COMMIT: ae0f4ba367cf7977b21b697144a4cf0415115de2, Commit Message: Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD [Pipeline] echo [2020-09-29T01:45:53.360Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:45:54.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T01:45:54.478Z] [2020-09-29T01:45:54.478Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:45:54.844Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T01:45:54.845Z] latest: Pulling from edgex-devops/git-semver [2020-09-29T01:45:54.845Z] 31603596830f: Pulling fs layer [2020-09-29T01:45:54.845Z] 2a8b12db71e7: Pulling fs layer [2020-09-29T01:45:54.845Z] 6ca5941a6612: Pulling fs layer [2020-09-29T01:45:54.845Z] ecc8261a40a4: Pulling fs layer [2020-09-29T01:45:54.845Z] ecc8261a40a4: Waiting [2020-09-29T01:45:54.845Z] 2a8b12db71e7: Verifying Checksum [2020-09-29T01:45:54.845Z] 2a8b12db71e7: Download complete [2020-09-29T01:45:55.111Z] 31603596830f: Verifying Checksum [2020-09-29T01:45:55.111Z] 31603596830f: Download complete [2020-09-29T01:45:55.111Z] 6ca5941a6612: Verifying Checksum [2020-09-29T01:45:55.111Z] 6ca5941a6612: Download complete [2020-09-29T01:45:55.111Z] ecc8261a40a4: Verifying Checksum [2020-09-29T01:45:55.111Z] ecc8261a40a4: Download complete [2020-09-29T01:45:55.400Z] 31603596830f: Pull complete [2020-09-29T01:45:55.400Z] 2a8b12db71e7: Pull complete [2020-09-29T01:45:56.364Z] 6ca5941a6612: Pull complete [2020-09-29T01:45:56.364Z] ecc8261a40a4: Pull complete [2020-09-29T01:45:56.627Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-29T01:45:56.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T01:45:56.627Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-29T01:45:56.732Z] prd-centos7-docker-4c-2g-1913 does not seem to be running inside a container [2020-09-29T01:45:56.781Z] $ 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 [2020-09-29T01:45:58.923Z] $ docker top 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-29T01:45:59.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T01:45:59.221Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T01:45:59.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T01:45:59.432Z] $ docker exec 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent [2020-09-29T01:45:59.587Z] SSH_AUTH_SOCK=/tmp/ssh-WehSunGq0xs6/agent.12 [2020-09-29T01:45:59.587Z] SSH_AGENT_PID=18 [2020-09-29T01:45:59.597Z] Running ssh-add (command line suppressed) [2020-09-29T01:45:59.712Z] 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) [2020-09-29T01:45:59.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T01:46:00.105Z] + git describe --exact-match --tags HEAD [2020-09-29T01:46:00.106Z] fatal: no tag exactly matches 'ae0f4ba367cf7977b21b697144a4cf0415115de2' [Pipeline] } [2020-09-29T01:46:00.127Z] $ docker exec --env ******** --env ******** 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent -k [2020-09-29T01:46:00.236Z] unset SSH_AUTH_SOCK; [2020-09-29T01:46:00.236Z] unset SSH_AGENT_PID; [2020-09-29T01:46:00.236Z] echo Agent pid 18 killed; [2020-09-29T01:46:00.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-29T01:46:00.435Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-29T01:46:00.435Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-29T01:46:00.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T01:46:00.555Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T01:46:00.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T01:46:00.715Z] $ docker exec 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent [2020-09-29T01:46:00.865Z] SSH_AUTH_SOCK=/tmp/ssh-l0zi9V3otxt2/agent.47 [2020-09-29T01:46:00.865Z] SSH_AGENT_PID=52 [2020-09-29T01:46:00.871Z] Running ssh-add (command line suppressed) [2020-09-29T01:46:00.983Z] 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) [2020-09-29T01:46:01.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T01:46:01.366Z] + git semver init [2020-09-29T01:46:01.366Z] # -> Open(): unable to determine branch for HEAD [2020-09-29T01:46:01.366Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.git [2020-09-29T01:46:01.366Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-133 [2020-09-29T01:46:01.366Z] # $SEMVER_REMOTE_NAME = origin [2020-09-29T01:46:01.366Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-29T01:46:01.366Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-29T01:46:01.366Z] # $SEMVER_BRANCH = PR-133 [2020-09-29T01:46:01.366Z] # $SEMVER_TEMP = /tmp/semver-695410060 [2020-09-29T01:46:01.366Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-09-29T01:46:01.951Z] # '/tmp/semver-695410060' -> '/w/workspace/foundry_device-virtual-go_PR-133/.semver' [2020-09-29T01:46:01.951Z] # -> Force: false [2020-09-29T01:46:01.951Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.semver [Pipeline] } [2020-09-29T01:46:01.966Z] $ docker exec --env ******** --env ******** 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 ssh-agent -k [2020-09-29T01:46:02.094Z] unset SSH_AUTH_SOCK; [2020-09-29T01:46:02.094Z] unset SSH_AGENT_PID; [2020-09-29T01:46:02.094Z] echo Agent pid 52 killed; [2020-09-29T01:46:02.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-29T01:46:02.608Z] + git semver [Pipeline] } [2020-09-29T01:46:02.628Z] $ docker stop --time=1 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 [2020-09-29T01:46:04.006Z] $ docker rm -f 5389e80a5f6f456f9f587d22ba0ee35aca21a98227ab5d7ac45361bf345393b8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-29T01:46:04.763Z] Stashed 30 file(s) [Pipeline] echo [2020-09-29T01:46:04.766Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-29T01:46:04.858Z] 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 [2020-09-29T01:46:20.304Z] Still waiting to schedule task [2020-09-29T01:46:20.305Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-29T01:46:20.307Z] Still waiting to schedule task [2020-09-29T01:46:20.307Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1912’ [2020-09-29T01:48:56.449Z] Running on prd-centos7-docker-4c-2g-1914 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws [2020-09-29T01:48:56.504Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2020-09-29T01:49:02.261Z] using credential edgex-jenkins-ssh [2020-09-29T01:49:02.363Z] Cloning the remote Git repository [2020-09-29T01:49:02.395Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:49:02.469Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2020-09-29T01:49:02.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:49:02.535Z] > git --version # timeout=10 [2020-09-29T01:49:02.544Z] > git --version # 'git version 2.16.5' [2020-09-29T01:49:02.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:49:02.589Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:49:03.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:49:03.293Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:49:03.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:49:03.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:49:03.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:49:03.347Z] > 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 [2020-09-29T01:49:04.545Z] Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 1f70e87a0f797992e895568ae98c815cf120608c [2020-09-29T01:49:04.930Z] Merge succeeded, producing 13a88a2c2af6a7fd52d789c37a4f5226b08ff0fb [2020-09-29T01:49:04.930Z] Checking out Revision 13a88a2c2af6a7fd52d789c37a4f5226b08ff0fb (PR-133) [2020-09-29T01:49:04.561Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:49:04.581Z] > git checkout -f 1f70e87a0f797992e895568ae98c815cf120608c # timeout=10 [2020-09-29T01:49:04.838Z] > git remote # timeout=10 [2020-09-29T01:49:04.849Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T01:49:04.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:49:04.894Z] > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 [2020-09-29T01:49:04.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T01:49:04.936Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:49:04.941Z] > git checkout -f 13a88a2c2af6a7fd52d789c37a4f5226b08ff0fb # timeout=10 [2020-09-29T01:49:09.551Z] Commit message: "Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD" [2020-09-29T01:49:09.567Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-29T01:49:09.558Z] > git rev-list --no-walk 91b6cffc5c456462fe53a11172bab6380debd0de # timeout=10 [Pipeline] echo [2020-09-29T01:49:10.496Z] ========================================================= [2020-09-29T01:49:10.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-29T01:49:10.496Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:49:11.360Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-29T01:49:11.994Z] Sending build context to Docker daemon 728.6kB [2020-09-29T01:49:11.994Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-29T01:49:11.994Z] Step 2/8 : FROM ${BASE} [2020-09-29T01:49:11.994Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-29T01:49:11.994Z] df20fa9351a1: Pulling fs layer [2020-09-29T01:49:11.994Z] ed8968b2872e: Pulling fs layer [2020-09-29T01:49:11.994Z] a92cc7c5fd73: Pulling fs layer [2020-09-29T01:49:11.994Z] e871e8e8d7a9: Pulling fs layer [2020-09-29T01:49:11.994Z] e73272ec9a57: Pulling fs layer [2020-09-29T01:49:11.994Z] 1e910a182e73: Pulling fs layer [2020-09-29T01:49:11.994Z] 4e634b169226: Pulling fs layer [2020-09-29T01:49:11.994Z] e73272ec9a57: Waiting [2020-09-29T01:49:11.994Z] 1e910a182e73: Waiting [2020-09-29T01:49:11.994Z] 4e634b169226: Waiting [2020-09-29T01:49:11.994Z] e871e8e8d7a9: Waiting [2020-09-29T01:49:11.994Z] a92cc7c5fd73: Verifying Checksum [2020-09-29T01:49:11.994Z] a92cc7c5fd73: Download complete [2020-09-29T01:49:11.994Z] ed8968b2872e: Verifying Checksum [2020-09-29T01:49:11.994Z] ed8968b2872e: Download complete [2020-09-29T01:49:11.994Z] e73272ec9a57: Verifying Checksum [2020-09-29T01:49:11.994Z] e73272ec9a57: Download complete [2020-09-29T01:49:11.994Z] 1e910a182e73: Verifying Checksum [2020-09-29T01:49:11.994Z] 1e910a182e73: Download complete [2020-09-29T01:49:12.265Z] df20fa9351a1: Verifying Checksum [2020-09-29T01:49:12.266Z] df20fa9351a1: Download complete [2020-09-29T01:49:12.529Z] df20fa9351a1: Pull complete [2020-09-29T01:49:12.795Z] ed8968b2872e: Pull complete [2020-09-29T01:49:13.060Z] a92cc7c5fd73: Pull complete [2020-09-29T01:49:15.666Z] 4e634b169226: Verifying Checksum [2020-09-29T01:49:15.666Z] 4e634b169226: Download complete [2020-09-29T01:49:16.258Z] e871e8e8d7a9: Verifying Checksum [2020-09-29T01:49:16.258Z] e871e8e8d7a9: Download complete [2020-09-29T01:49:24.554Z] e871e8e8d7a9: Pull complete [2020-09-29T01:49:24.554Z] e73272ec9a57: Pull complete [2020-09-29T01:49:24.554Z] 1e910a182e73: Pull complete [2020-09-29T01:49:30.067Z] 4e634b169226: Pull complete [2020-09-29T01:49:30.067Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-29T01:49:30.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-29T01:49:30.067Z] ---> f7629b54cfaa [2020-09-29T01:49:30.067Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-29T01:49:30.067Z] ---> Running in 496e23588ea1 [2020-09-29T01:49:30.067Z] Removing intermediate container 496e23588ea1 [2020-09-29T01:49:30.067Z] ---> 38f599fd4a7d [2020-09-29T01:49:30.067Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:49:30.067Z] ---> Running in f8b53675a886 [2020-09-29T01:49:31.516Z] Removing intermediate container f8b53675a886 [2020-09-29T01:49:31.516Z] ---> 12a294a2f621 [2020-09-29T01:49:31.516Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-29T01:49:31.516Z] ---> Running in aa90a2374632 [2020-09-29T01:49:32.502Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T01:49:33.468Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T01:49:34.881Z] (1/14) Installing libmagic (5.38-r0) [2020-09-29T01:49:35.840Z] (2/14) Installing file (5.38-r0) [2020-09-29T01:49:35.840Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-29T01:49:35.840Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-29T01:49:48.135Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-29T01:49:48.135Z] (6/14) Installing patch (2.7.6-r6) [2020-09-29T01:49:48.135Z] (7/14) Installing build-base (0.5-r2) [2020-09-29T01:49:48.135Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-29T01:49:48.135Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-29T01:49:48.135Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-29T01:49:48.135Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-29T01:49:48.135Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-29T01:49:48.135Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-29T01:49:48.136Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-29T01:49:48.136Z] Executing busybox-1.31.1-r16.trigger [2020-09-29T01:49:48.136Z] OK: 237 MiB in 53 packages [2020-09-29T01:49:52.435Z] Removing intermediate container aa90a2374632 [2020-09-29T01:49:52.435Z] ---> 62500e9749be [2020-09-29T01:49:52.435Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-29T01:49:52.435Z] ---> Running in 0bbe99a6c961 [2020-09-29T01:49:52.435Z] Removing intermediate container 0bbe99a6c961 [2020-09-29T01:49:52.435Z] ---> 0d31ef714b74 [2020-09-29T01:49:52.435Z] Step 7/8 : COPY . . [2020-09-29T01:49:52.711Z] ---> dead5208abbd [2020-09-29T01:49:52.711Z] Step 8/8 : RUN go mod download [2020-09-29T01:49:52.988Z] ---> Running in 4fd7eaee38cd [2020-09-29T01:50:11.355Z] Removing intermediate container 4fd7eaee38cd [2020-09-29T01:50:11.355Z] ---> bc49d02ef255 [2020-09-29T01:50:11.355Z] Successfully built bc49d02ef255 [2020-09-29T01:50:11.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:50:11.732Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T01:50:11.732Z] . [Pipeline] withDockerContainer [2020-09-29T01:50:12.257Z] prd-centos7-docker-4c-2g-1914 does not seem to be running inside a container [2020-09-29T01:50:12.381Z] $ 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 [2020-09-29T01:50:13.848Z] $ docker top 659d8885aaa9a4185eacf3360ea2fff4e34216f01646a981000718de05bd8609 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:50:14.477Z] + go version [2020-09-29T01:50:14.477Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-29T01:50:14.501Z] $ docker stop --time=1 659d8885aaa9a4185eacf3360ea2fff4e34216f01646a981000718de05bd8609 [2020-09-29T01:50:16.020Z] $ docker rm -f 659d8885aaa9a4185eacf3360ea2fff4e34216f01646a981000718de05bd8609 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:50:16.967Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T01:50:16.967Z] . [Pipeline] withDockerContainer [2020-09-29T01:50:17.081Z] prd-centos7-docker-4c-2g-1914 does not seem to be running inside a container [2020-09-29T01:50:17.141Z] $ 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 [2020-09-29T01:50:18.024Z] $ docker top 133d141e2de2d7e4d529f0f5dddb2e04bc1aed009a2ee1f48e946abccb19a690 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:50:18.647Z] + make test [2020-09-29T01:50:18.647Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-29T01:50:18.733Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1915 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws [2020-09-29T01:50:18.785Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2020-09-29T01:50:19.650Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-09-29T01:50:24.339Z] using credential edgex-jenkins-ssh [2020-09-29T01:50:24.399Z] Cloning the remote Git repository [2020-09-29T01:50:24.483Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:50:24.604Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2020-09-29T01:50:24.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:50:24.695Z] > git --version # timeout=10 [2020-09-29T01:50:24.725Z] > git --version # 'git version 2.17.1' [2020-09-29T01:50:24.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:50:24.782Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:50:25.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:50:25.904Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T01:50:25.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-29T01:50:25.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-29T01:50:25.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:50:25.983Z] > 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 [2020-09-29T01:50:26.548Z] Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 1f70e87a0f797992e895568ae98c815cf120608c [2020-09-29T01:50:26.949Z] Merge succeeded, producing 67d7c6fec4495b8b8f83d0d4e79cc6a5e767aa7c [2020-09-29T01:50:26.950Z] Checking out Revision 67d7c6fec4495b8b8f83d0d4e79cc6a5e767aa7c (PR-133) [2020-09-29T01:50:26.588Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:50:26.615Z] > git checkout -f 1f70e87a0f797992e895568ae98c815cf120608c # timeout=10 [2020-09-29T01:50:26.704Z] > git remote # timeout=10 [2020-09-29T01:50:26.779Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T01:50:26.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T01:50:26.837Z] > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 [2020-09-29T01:50:26.922Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T01:50:26.972Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T01:50:27.009Z] > git checkout -f 67d7c6fec4495b8b8f83d0d4e79cc6a5e767aa7c # timeout=10 [2020-09-29T01:50:31.305Z] Commit message: "Merge commit '8d31429af90f845313e1f83db91362442934a267' into HEAD" [2020-09-29T01:50:31.331Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-29T01:50:31.327Z] > git rev-list --no-walk 91b6cffc5c456462fe53a11172bab6380debd0de # timeout=10 [Pipeline] echo [2020-09-29T01:50:32.264Z] ========================================================= [2020-09-29T01:50:32.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-29T01:50:32.264Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:50:33.278Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-29T01:50:33.876Z] Sending build context to Docker daemon 728.6kB [2020-09-29T01:50:34.148Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-29T01:50:34.148Z] Step 2/8 : FROM ${BASE} [2020-09-29T01:50:34.422Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-29T01:50:34.422Z] b538f80385f9: Pulling fs layer [2020-09-29T01:50:34.422Z] 74f711af9a0d: Pulling fs layer [2020-09-29T01:50:34.422Z] 99f96fe45779: Pulling fs layer [2020-09-29T01:50:34.422Z] 8529a6b9a6be: Pulling fs layer [2020-09-29T01:50:34.422Z] 45590311c82a: Pulling fs layer [2020-09-29T01:50:34.422Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-29T01:50:34.422Z] 209524e5b208: Pulling fs layer [2020-09-29T01:50:34.422Z] 8529a6b9a6be: Waiting [2020-09-29T01:50:34.422Z] 45590311c82a: Waiting [2020-09-29T01:50:34.422Z] 69ca0ff8b7b3: Waiting [2020-09-29T01:50:34.422Z] 209524e5b208: Waiting [2020-09-29T01:50:34.422Z] 99f96fe45779: Verifying Checksum [2020-09-29T01:50:34.422Z] 99f96fe45779: Download complete [2020-09-29T01:50:34.422Z] 74f711af9a0d: Verifying Checksum [2020-09-29T01:50:34.422Z] 74f711af9a0d: Download complete [2020-09-29T01:50:34.422Z] 45590311c82a: Download complete [2020-09-29T01:50:34.422Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-29T01:50:34.422Z] 69ca0ff8b7b3: Download complete [2020-09-29T01:50:34.694Z] b538f80385f9: Download complete [2020-09-29T01:50:35.297Z] b538f80385f9: Pull complete [2020-09-29T01:50:35.931Z] 74f711af9a0d: Pull complete [2020-09-29T01:50:36.533Z] 99f96fe45779: Pull complete [2020-09-29T01:50:37.521Z] 209524e5b208: Download complete [2020-09-29T01:50:38.119Z] 8529a6b9a6be: Verifying Checksum [2020-09-29T01:50:38.119Z] 8529a6b9a6be: Download complete [2020-09-29T01:50:46.808Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-09-29T01:50:46.808Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.607s coverage: 64.4% of statements [2020-09-29T01:50:46.808Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T01:50:48.299Z] 8529a6b9a6be: Pull complete [2020-09-29T01:50:48.576Z] 45590311c82a: Pull complete [2020-09-29T01:50:49.175Z] 69ca0ff8b7b3: Pull complete [2020-09-29T01:50:51.230Z] gofmt -l . [2020-09-29T01:50:51.231Z] [ "`gofmt -l .`" = "" ] [2020-09-29T01:50:51.231Z] ./bin/test-attribution-txt.sh [2020-09-29T01:50:51.854Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-29T01:50:53.376Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T01:50:53.387Z] $ docker stop --time=1 133d141e2de2d7e4d529f0f5dddb2e04bc1aed009a2ee1f48e946abccb19a690 [2020-09-29T01:50:53.513Z] 209524e5b208: Pull complete [2020-09-29T01:50:53.513Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-29T01:50:53.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-29T01:50:53.513Z] ---> 5bddaf1c2fca [2020-09-29T01:50:53.513Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-29T01:50:55.489Z] ---> Running in bb83386549a9 [2020-09-29T01:50:55.760Z] Removing intermediate container bb83386549a9 [2020-09-29T01:50:55.760Z] ---> 37322a102aa3 [2020-09-29T01:50:55.761Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:50:56.034Z] ---> Running in 81942e7187a3 [2020-09-29T01:50:56.140Z] $ docker rm -f 133d141e2de2d7e4d529f0f5dddb2e04bc1aed009a2ee1f48e946abccb19a690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-09-29T01:50:58.701Z] Removing intermediate container 81942e7187a3 [2020-09-29T01:50:58.701Z] ---> d1958ca23f61 [2020-09-29T01:50:58.701Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-29T01:50:58.701Z] ---> Running in 69869843147b [Pipeline] sh [2020-09-29T01:50:59.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T01:50:59.821Z] + ls -al . [2020-09-29T01:50:59.821Z] total 124 [2020-09-29T01:50:59.821Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 29 01:50 . [2020-09-29T01:50:59.821Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 01:49 .. [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 6036 Sep 29 01:49 Attribution.txt [2020-09-29T01:50:59.821Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 01:49 bin [2020-09-29T01:50:59.821Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 01:49 cmd [2020-09-29T01:50:59.821Z] -rw-r--r--. 1 jenkins jenkins 47209 Sep 29 01:50 coverage.out [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 1834 Sep 29 01:49 Dockerfile [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 957 Sep 29 01:49 Dockerfile.build [2020-09-29T01:50:59.821Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 01:49 .git [2020-09-29T01:50:59.821Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 01:49 .github [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 258 Sep 29 01:49 .gitignore [2020-09-29T01:50:59.821Z] -rw-r--r--. 1 jenkins jenkins 862 Sep 29 01:50 go.mod [2020-09-29T01:50:59.821Z] -rw-r--r--. 1 jenkins jenkins 14908 Sep 29 01:50 go.sum [2020-09-29T01:50:59.821Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 29 01:49 internal [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 660 Sep 29 01:49 Jenkinsfile [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 01:49 LICENSE [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 873 Sep 29 01:49 Makefile [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 918 Sep 29 01:49 README.md [2020-09-29T01:50:59.821Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 01:49 .semver [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 01:46 VERSION [2020-09-29T01:50:59.821Z] -rw-rw-r--. 1 jenkins jenkins 235 Sep 29 01:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:51:00.159Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T01:51:00.211Z] + 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 . [2020-09-29T01:51:00.500Z] Sending build context to Docker daemon 792.6kB [2020-09-29T01:51:00.500Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-29T01:51:00.500Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-29T01:51:00.500Z] ---> bc49d02ef255 [2020-09-29T01:51:00.500Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-29T01:51:00.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T01:51:00.775Z] ---> Running in 7b1d9dd31223 [2020-09-29T01:51:01.048Z] Removing intermediate container 7b1d9dd31223 [2020-09-29T01:51:01.048Z] ---> 277cfbce31a5 [2020-09-29T01:51:01.048Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T01:51:01.048Z] ---> Running in ba1a476e4450 [2020-09-29T01:51:01.376Z] (1/14) Installing libmagic (5.38-r0) [2020-09-29T01:51:01.376Z] (2/14) Installing file (5.38-r0) [2020-09-29T01:51:01.652Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-29T01:51:01.652Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-29T01:51:01.656Z] Removing intermediate container ba1a476e4450 [2020-09-29T01:51:01.656Z] ---> 933d1236f9a5 [2020-09-29T01:51:01.656Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-29T01:51:01.656Z] ---> Running in 16df01aa80ca [2020-09-29T01:51:02.155Z] Removing intermediate container 16df01aa80ca [2020-09-29T01:51:02.155Z] ---> 56ed6f1c7603 [2020-09-29T01:51:02.155Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:51:02.155Z] ---> Running in 3f1b5d4a6b52 [2020-09-29T01:51:03.676Z] Removing intermediate container 3f1b5d4a6b52 [2020-09-29T01:51:03.676Z] ---> 96fa04fe1298 [2020-09-29T01:51:03.676Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T01:51:03.676Z] ---> Running in a958e808050b [2020-09-29T01:51:04.362Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-29T01:51:04.362Z] (6/14) Installing patch (2.7.6-r6) [2020-09-29T01:51:04.362Z] (7/14) Installing build-base (0.5-r2) [2020-09-29T01:51:04.362Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-29T01:51:04.362Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-29T01:51:04.362Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-29T01:51:04.640Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-29T01:51:04.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T01:51:04.924Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-29T01:51:04.924Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-29T01:51:05.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T01:51:05.528Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-29T01:51:05.970Z] OK: 237 MiB in 53 packages [2020-09-29T01:51:06.136Z] Executing busybox-1.31.1-r16.trigger [2020-09-29T01:51:06.137Z] OK: 221 MiB in 53 packages [2020-09-29T01:51:07.000Z] Removing intermediate container a958e808050b [2020-09-29T01:51:07.000Z] ---> 21c640badfec [2020-09-29T01:51:07.000Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-29T01:51:07.000Z] ---> Running in 5bbee75a03ae [2020-09-29T01:51:07.288Z] Removing intermediate container 5bbee75a03ae [2020-09-29T01:51:07.288Z] ---> 47924f573ec0 [2020-09-29T01:51:07.288Z] Step 9/22 : COPY . . [2020-09-29T01:51:09.370Z] ---> 4eb104e65a2c [2020-09-29T01:51:09.370Z] Step 10/22 : ARG MAKE='make build' [2020-09-29T01:51:09.370Z] ---> Running in 0d43f5c23a80 [2020-09-29T01:51:09.370Z] Removing intermediate container 0d43f5c23a80 [2020-09-29T01:51:09.370Z] ---> 771a4cb4fe36 [2020-09-29T01:51:09.370Z] Step 11/22 : RUN $MAKE [2020-09-29T01:51:09.370Z] ---> Running in 984962d7852d [2020-09-29T01:51:09.648Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-09-29T01:51:10.006Z] Removing intermediate container 69869843147b [2020-09-29T01:51:10.006Z] ---> c8c4d0d7ea79 [2020-09-29T01:51:10.006Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-29T01:51:10.282Z] ---> Running in f4b4486ddfbb [2020-09-29T01:51:10.880Z] Removing intermediate container f4b4486ddfbb [2020-09-29T01:51:10.880Z] ---> 638dd398a2ff [2020-09-29T01:51:10.880Z] Step 7/8 : COPY . . [2020-09-29T01:51:11.860Z] ---> a9fb883c0e18 [2020-09-29T01:51:11.860Z] Step 8/8 : RUN go mod download [2020-09-29T01:51:11.860Z] ---> Running in 3daecb878f04 [2020-09-29T01:51:27.022Z] Removing intermediate container 3daecb878f04 [2020-09-29T01:51:27.022Z] ---> 6288248a8b73 [2020-09-29T01:51:27.022Z] Successfully built 6288248a8b73 [2020-09-29T01:51:27.022Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:51:27.436Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T01:51:27.436Z] . [Pipeline] withDockerContainer [2020-09-29T01:51:27.678Z] prd-ubuntu18.04-docker-arm64-4c-16g-1915 does not seem to be running inside a container [2020-09-29T01:51:27.766Z] $ 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 [2020-09-29T01:51:28.532Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-29T01:51:29.612Z] $ docker top c562529f09a578ffb3873ebc2c58161a7ae81baa3cedf090babf940914bcb4b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:51:31.026Z] + go version [2020-09-29T01:51:31.026Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-29T01:51:31.055Z] $ docker stop --time=1 c562529f09a578ffb3873ebc2c58161a7ae81baa3cedf090babf940914bcb4b9 [2020-09-29T01:51:33.035Z] $ docker rm -f c562529f09a578ffb3873ebc2c58161a7ae81baa3cedf090babf940914bcb4b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:51:34.083Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T01:51:34.083Z] . [Pipeline] withDockerContainer [2020-09-29T01:51:34.351Z] prd-ubuntu18.04-docker-arm64-4c-16g-1915 does not seem to be running inside a container [2020-09-29T01:51:34.437Z] $ 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 [2020-09-29T01:51:35.371Z] Removing intermediate container 984962d7852d [2020-09-29T01:51:35.371Z] ---> dab5aace6d0f [2020-09-29T01:51:35.371Z] Step 12/22 : FROM alpine [2020-09-29T01:51:35.371Z] latest: Pulling from library/alpine [2020-09-29T01:51:35.371Z] df20fa9351a1: Already exists [2020-09-29T01:51:35.371Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T01:51:35.371Z] Status: Downloaded newer image for alpine:latest [2020-09-29T01:51:35.371Z] ---> a24bb4013296 [2020-09-29T01:51:35.371Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-29T01:51:35.371Z] ---> Running in f100e9c7323a [2020-09-29T01:51:35.371Z] Removing intermediate container f100e9c7323a [2020-09-29T01:51:35.371Z] ---> fa0b8e699e01 [2020-09-29T01:51:35.371Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-29T01:51:35.371Z] ---> Running in 8cd45deff08f [2020-09-29T01:51:35.643Z] Removing intermediate container 8cd45deff08f [2020-09-29T01:51:35.643Z] ---> 8e3c89f19391 [2020-09-29T01:51:35.643Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-29T01:51:36.216Z] $ docker top 9349cff59248ac2d386180f03a4d3ad1f61a553dc6029f6b310f17dabe9f0d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T01:51:36.621Z] ---> b671845b3b97 [2020-09-29T01:51:36.621Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-29T01:51:36.898Z] ---> 880f2b080087 [2020-09-29T01:51:36.898Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-29T01:51:37.174Z] ---> 0110445c442d [2020-09-29T01:51:37.174Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-29T01:51:37.444Z] ---> Running in b49f7494a920 [2020-09-29T01:51:37.444Z] Removing intermediate container b49f7494a920 [2020-09-29T01:51:37.444Z] ---> 7678a6aa33ee [2020-09-29T01:51:37.444Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-29T01:51:37.592Z] + make test [2020-09-29T01:51:37.592Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-29T01:51:37.713Z] ---> Running in 2d7cef5ef289 [2020-09-29T01:51:37.713Z] Removing intermediate container 2d7cef5ef289 [2020-09-29T01:51:37.713Z] ---> c05706804fa3 [2020-09-29T01:51:37.713Z] Step 20/22 : LABEL arch=amd64 [2020-09-29T01:51:37.979Z] ---> Running in 9f491e7d0dc7 [2020-09-29T01:51:38.254Z] Removing intermediate container 9f491e7d0dc7 [2020-09-29T01:51:38.254Z] ---> d8de623954db [2020-09-29T01:51:38.254Z] Step 21/22 : LABEL git_sha=ae0f4ba367cf7977b21b697144a4cf0415115de2 [2020-09-29T01:51:38.254Z] ---> Running in 00fb62995738 [2020-09-29T01:51:38.528Z] Removing intermediate container 00fb62995738 [2020-09-29T01:51:38.528Z] ---> 49c9ce390662 [2020-09-29T01:51:38.528Z] Step 22/22 : LABEL version=0.0.0 [2020-09-29T01:51:38.528Z] ---> Running in 26f983b6c019 [2020-09-29T01:51:38.582Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-09-29T01:51:38.812Z] Removing intermediate container 26f983b6c019 [2020-09-29T01:51:38.812Z] ---> fe9b4344cbd0 [2020-09-29T01:51:38.812Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T01:51:38.812Z] Successfully built fe9b4344cbd0 [2020-09-29T01:51:38.812Z] 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] } [2020-09-29T01:52:25.640Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-09-29T01:52:25.640Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.437s coverage: 64.4% of statements [2020-09-29T01:52:25.640Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T01:52:29.067Z] gofmt -l . [2020-09-29T01:52:29.067Z] [ "`gofmt -l .`" = "" ] [2020-09-29T01:52:29.067Z] ./bin/test-attribution-txt.sh [2020-09-29T01:52:30.046Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-29T01:52:30.673Z] Warning: overwriting stash ‘coverage-report’ [2020-09-29T01:52:31.480Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T01:52:31.491Z] $ docker stop --time=1 9349cff59248ac2d386180f03a4d3ad1f61a553dc6029f6b310f17dabe9f0d59 [2020-09-29T01:52:33.633Z] $ docker rm -f 9349cff59248ac2d386180f03a4d3ad1f61a553dc6029f6b310f17dabe9f0d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T01:52:34.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T01:52:36.166Z] + ls -al . [2020-09-29T01:52:36.166Z] total 152 [2020-09-29T01:52:36.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:52 . [2020-09-29T01:52:36.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 01:50 .. [2020-09-29T01:52:36.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:50 .git [2020-09-29T01:52:36.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:50 .github [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 258 Sep 29 01:50 .gitignore [2020-09-29T01:52:36.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:50 .semver [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 6036 Sep 29 01:50 Attribution.txt [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 1834 Sep 29 01:50 Dockerfile [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 957 Sep 29 01:50 Dockerfile.build [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 29 01:50 Jenkinsfile [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 01:50 LICENSE [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 873 Sep 29 01:50 Makefile [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 918 Sep 29 01:50 README.md [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 01:46 VERSION [2020-09-29T01:52:36.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:50 bin [2020-09-29T01:52:36.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:50 cmd [2020-09-29T01:52:36.166Z] -rw-r--r-- 1 jenkins jenkins 47209 Sep 29 01:52 coverage.out [2020-09-29T01:52:36.166Z] -rw-r--r-- 1 jenkins jenkins 862 Sep 29 01:52 go.mod [2020-09-29T01:52:36.166Z] -rw-r--r-- 1 jenkins jenkins 14908 Sep 29 01:52 go.sum [2020-09-29T01:52:36.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:50 internal [2020-09-29T01:52:36.166Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 29 01:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T01:52:36.516Z] + 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 . [2020-09-29T01:52:36.792Z] Sending build context to Docker daemon 792.6kB [2020-09-29T01:52:36.792Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-29T01:52:36.792Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-29T01:52:36.792Z] ---> 6288248a8b73 [2020-09-29T01:52:36.792Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-29T01:52:37.069Z] ---> Running in 2ab6c7e5f27a [2020-09-29T01:52:37.667Z] Removing intermediate container 2ab6c7e5f27a [2020-09-29T01:52:37.667Z] ---> 1bf63e208874 [2020-09-29T01:52:37.667Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T01:52:37.667Z] ---> Running in 34ee3ae7f5f1 [2020-09-29T01:52:38.266Z] Removing intermediate container 34ee3ae7f5f1 [2020-09-29T01:52:38.266Z] ---> 123db4f23fcb [2020-09-29T01:52:38.266Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-29T01:52:38.266Z] ---> Running in a6ae05f1b0f0 [2020-09-29T01:52:38.863Z] Removing intermediate container a6ae05f1b0f0 [2020-09-29T01:52:38.863Z] ---> 0ec1e4165da4 [2020-09-29T01:52:38.863Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T01:52:38.863Z] ---> Running in a79755ff96d7 [2020-09-29T01:52:41.488Z] Removing intermediate container a79755ff96d7 [2020-09-29T01:52:41.488Z] ---> c50409543646 [2020-09-29T01:52:41.488Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T01:52:41.488Z] ---> Running in f2034403ad65 [2020-09-29T01:52:42.938Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T01:52:46.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T01:52:56.467Z] OK: 221 MiB in 53 packages [2020-09-29T01:52:56.738Z] Removing intermediate container f2034403ad65 [2020-09-29T01:52:56.738Z] ---> dc30abf9fdf9 [2020-09-29T01:52:56.738Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-29T01:52:57.012Z] ---> Running in 7f380a7628e4 [2020-09-29T01:52:57.284Z] Removing intermediate container 7f380a7628e4 [2020-09-29T01:52:57.284Z] ---> ea78a4ffb53c [2020-09-29T01:52:57.284Z] Step 9/22 : COPY . . [2020-09-29T01:52:58.730Z] ---> a1519f30539d [2020-09-29T01:52:58.730Z] Step 10/22 : ARG MAKE='make build' [2020-09-29T01:52:58.730Z] ---> Running in 589b1ee7db20 [2020-09-29T01:52:59.002Z] Removing intermediate container 589b1ee7db20 [2020-09-29T01:52:59.002Z] ---> 290a4640aa96 [2020-09-29T01:52:59.002Z] Step 11/22 : RUN $MAKE [2020-09-29T01:52:59.278Z] ---> Running in 4b699a668b6d [2020-09-29T01:53:00.712Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-09-29T01:53:33.119Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-29T01:53:38.701Z] Removing intermediate container 4b699a668b6d [2020-09-29T01:53:38.701Z] ---> afbebe9cde6d [2020-09-29T01:53:38.701Z] Step 12/22 : FROM alpine [2020-09-29T01:53:38.701Z] latest: Pulling from library/alpine [2020-09-29T01:53:38.701Z] b538f80385f9: Already exists [2020-09-29T01:53:38.701Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T01:53:38.701Z] Status: Downloaded newer image for alpine:latest [2020-09-29T01:53:38.701Z] ---> 62ee0e9f8440 [2020-09-29T01:53:38.701Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-29T01:53:38.991Z] ---> Running in 4e0906f93d31 [2020-09-29T01:53:39.283Z] Removing intermediate container 4e0906f93d31 [2020-09-29T01:53:39.283Z] ---> 3392a0ffd3d5 [2020-09-29T01:53:39.283Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-29T01:53:39.579Z] ---> Running in 5d87d9235751 [2020-09-29T01:53:39.864Z] Removing intermediate container 5d87d9235751 [2020-09-29T01:53:39.864Z] ---> 060142031509 [2020-09-29T01:53:39.864Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-29T01:53:41.353Z] ---> b36687b9a77d [2020-09-29T01:53:41.353Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-29T01:53:41.955Z] ---> e024d5efc4ba [2020-09-29T01:53:41.955Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-29T01:53:42.942Z] ---> 0f5fb1c19bdd [2020-09-29T01:53:42.942Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-29T01:53:42.942Z] ---> Running in 9bd8f7d87e05 [2020-09-29T01:53:43.536Z] Removing intermediate container 9bd8f7d87e05 [2020-09-29T01:53:43.536Z] ---> 172f3cddd2a1 [2020-09-29T01:53:43.536Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-29T01:53:43.536Z] ---> Running in 2be12aa3644a [2020-09-29T01:53:44.132Z] Removing intermediate container 2be12aa3644a [2020-09-29T01:53:44.132Z] ---> c7384118c625 [2020-09-29T01:53:44.132Z] Step 20/22 : LABEL arch=arm64 [2020-09-29T01:53:44.132Z] ---> Running in fcaee2ef808c [2020-09-29T01:53:44.738Z] Removing intermediate container fcaee2ef808c [2020-09-29T01:53:44.738Z] ---> 2260fac706a5 [2020-09-29T01:53:44.738Z] Step 21/22 : LABEL git_sha=ae0f4ba367cf7977b21b697144a4cf0415115de2 [2020-09-29T01:53:44.738Z] ---> Running in bfb765f1705f [2020-09-29T01:53:45.013Z] Removing intermediate container bfb765f1705f [2020-09-29T01:53:45.013Z] ---> 3aabac25ad2a [2020-09-29T01:53:45.013Z] Step 22/22 : LABEL version=0.0.0 [2020-09-29T01:53:45.288Z] ---> Running in ce988bc6541b [2020-09-29T01:53:45.560Z] Removing intermediate container ce988bc6541b [2020-09-29T01:53:45.560Z] ---> 95cf29085fb8 [2020-09-29T01:53:45.560Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T01:53:45.832Z] Successfully built 95cf29085fb8 [2020-09-29T01:53:45.832Z] 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 [2020-09-29T01:53:47.921Z] provisioning config files... [2020-09-29T01:53:48.427Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config5981166220474702030tmp [Pipeline] { [Pipeline] sh [2020-09-29T01:53:49.450Z] + set +x [2020-09-29T01:53:49.450Z] + curl -s https://codecov.io/bash [2020-09-29T01:53:49.450Z] + bash -s -- [2020-09-29T01:53:49.450Z] [2020-09-29T01:53:49.450Z] _____ _ [2020-09-29T01:53:49.450Z] / ____| | | [2020-09-29T01:53:49.450Z] | | ___ __| | ___ ___ _____ __ [2020-09-29T01:53:49.450Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-29T01:53:49.450Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-29T01:53:49.450Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-29T01:53:49.450Z] Bash-20200917-4e8f14b [2020-09-29T01:53:49.450Z] [2020-09-29T01:53:49.450Z] [2020-09-29T01:53:49.450Z] ==> Jenkins CI detected. [2020-09-29T01:53:49.450Z] project root: . [2020-09-29T01:53:49.450Z] Fixing merge commit SHA [2020-09-29T01:53:49.450Z] --> token set from env [2020-09-29T01:53:49.450Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-29T01:53:49.450Z] ==> Running gcov in . (disable via -X gcov) [2020-09-29T01:53:49.450Z] ==> Python coveragepy not found [2020-09-29T01:53:49.450Z] ==> Searching for coverage reports in: [2020-09-29T01:53:49.450Z] + . [2020-09-29T01:53:49.450Z] -> Found 1 reports [2020-09-29T01:53:49.450Z] ==> Detecting git/mercurial file structure [2020-09-29T01:53:49.450Z] ==> Reading reports [2020-09-29T01:53:49.450Z] + ./coverage.out bytes=47209 [2020-09-29T01:53:49.450Z] ==> Appending adjustments [2020-09-29T01:53:49.450Z] https://docs.codecov.io/docs/fixing-reports [2020-09-29T01:53:49.951Z] + Found adjustments [2020-09-29T01:53:49.951Z] ==> Gzipping contents [2020-09-29T01:53:49.951Z] ==> Uploading reports [2020-09-29T01:53:49.952Z] url: https://codecov.io [2020-09-29T01:53:49.952Z] 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= [2020-09-29T01:53:49.952Z] -> Pinging Codecov [2020-09-29T01:53:49.952Z] 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= [2020-09-29T01:53:50.876Z] -> Uploading to [2020-09-29T01:53:50.876Z] 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 [2020-09-29T01:53:50.876Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-29T01:53:50.876Z] Dload Upload Total Spent Left Speed [2020-09-29T01:53:52.035Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5821 0 0 100 5821 0 10312 --:--:-- --:--:-- --:--:-- 10320 [2020-09-29T01:53:52.035Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8d31429af90f845313e1f83db91362442934a267 [Pipeline] } [2020-09-29T01:53:52.107Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:53:57.596Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:53:58.181Z] ---> package-listing.sh [2020-09-29T01:53:58.181Z] ++ facter osfamily [2020-09-29T01:53:58.181Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-29T01:53:58.181Z] + OS_FAMILY=redhat [2020-09-29T01:53:58.181Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-133 [2020-09-29T01:53:58.181Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-29T01:53:58.181Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-29T01:53:58.181Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-29T01:53:58.181Z] + PACKAGES=/tmp/packages_start.txt [2020-09-29T01:53:58.181Z] + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' [2020-09-29T01:53:58.181Z] + PACKAGES=/tmp/packages_end.txt [2020-09-29T01:53:58.181Z] + case "${OS_FAMILY}" in [2020-09-29T01:53:58.181Z] + rpm -qa [2020-09-29T01:53:58.181Z] + sort [2020-09-29T01:54:02.433Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-29T01:54:02.433Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-29T01:54:02.433Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-29T01:54:02.433Z] + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' [2020-09-29T01:54:02.433Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-133/archives/ [2020-09-29T01:54:02.433Z] + 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 [2020-09-29T01:54:02.724Z] provisioning config files... [2020-09-29T01:54:02.744Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config1557198400903073232tmp [Pipeline] { [Pipeline] echo [2020-09-29T01:54:02.826Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:54:03.144Z] ---> create-netrc.sh [Pipeline] } [2020-09-29T01:54:03.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-29T01:54:03.264Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:54:03.574Z] ---> python-tools-install.sh [2020-09-29T01:54:03.575Z] Generating Requirements File [2020-09-29T01:55:25.152Z] Python 3.6.8 [2020-09-29T01:55:25.152Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-29T01:55:25.152Z] aiohttp==3.6.2 [2020-09-29T01:55:25.152Z] appdirs==1.4.3 [2020-09-29T01:55:25.152Z] argcomplete==1.12.1 [2020-09-29T01:55:25.152Z] aspy.yaml==1.3.0 [2020-09-29T01:55:25.152Z] async-timeout==3.0.1 [2020-09-29T01:55:25.152Z] attrs==19.3.0 [2020-09-29T01:55:25.152Z] Babel==2.8.0 [2020-09-29T01:55:25.152Z] beautifulsoup4==4.8.2 [2020-09-29T01:55:25.152Z] boto3==1.11.6 [2020-09-29T01:55:25.152Z] botocore==1.14.6 [2020-09-29T01:55:25.152Z] bs4==0.0.1 [2020-09-29T01:55:25.152Z] cachetools==4.1.1 [2020-09-29T01:55:25.152Z] certifi==2019.11.28 [2020-09-29T01:55:25.152Z] cffi==1.14.3 [2020-09-29T01:55:25.152Z] cfgv==2.0.1 [2020-09-29T01:55:25.152Z] chardet==3.0.4 [2020-09-29T01:55:25.152Z] click==7.1 [2020-09-29T01:55:25.152Z] cliff==3.4.0 [2020-09-29T01:55:25.152Z] cmd2==1.3.10 [2020-09-29T01:55:25.152Z] colorama==0.4.3 [2020-09-29T01:55:25.152Z] cryptography==3.1.1 [2020-09-29T01:55:25.152Z] debtcollector==2.2.0 [2020-09-29T01:55:25.152Z] decorator==4.4.2 [2020-09-29T01:55:25.152Z] defusedxml==0.6.0 [2020-09-29T01:55:25.152Z] Deprecated==1.2.7 [2020-09-29T01:55:25.152Z] distlib==0.3.1 [2020-09-29T01:55:25.152Z] distro==1.2.0 [2020-09-29T01:55:25.152Z] dnspython==1.16.0 [2020-09-29T01:55:25.152Z] docker==4.2.0 [2020-09-29T01:55:25.152Z] docutils==0.15.2 [2020-09-29T01:55:25.152Z] dogpile.cache==1.0.2 [2020-09-29T01:55:25.152Z] email-validator==1.0.5 [2020-09-29T01:55:25.152Z] filelock==3.0.12 [2020-09-29T01:55:25.152Z] future==0.18.2 [2020-09-29T01:55:25.152Z] google-auth==1.22.0 [2020-09-29T01:55:25.152Z] httplib2==0.17.0 [2020-09-29T01:55:25.152Z] identify==1.4.11 [2020-09-29T01:55:25.152Z] idna==2.9 [2020-09-29T01:55:25.152Z] idna-ssl==1.1.0 [2020-09-29T01:55:25.152Z] importlib-metadata==1.7.0 [2020-09-29T01:55:25.152Z] importlib-resources==1.5.0 [2020-09-29T01:55:25.152Z] iso8601==0.1.13 [2020-09-29T01:55:25.152Z] Jinja2==2.11.1 [2020-09-29T01:55:25.152Z] jmespath==0.10.0 [2020-09-29T01:55:25.152Z] jsonpatch==1.26 [2020-09-29T01:55:25.152Z] jsonpointer==2.0 [2020-09-29T01:55:25.152Z] jsonschema==3.2.0 [2020-09-29T01:55:25.152Z] keystoneauth1==4.2.1 [2020-09-29T01:55:25.152Z] kubernetes==11.0.0 [2020-09-29T01:55:25.152Z] lftools==0.34.2 [2020-09-29T01:55:25.152Z] lxml==4.5.0 [2020-09-29T01:55:25.152Z] MarkupSafe==0.23 [2020-09-29T01:55:25.152Z] msgpack==1.0.0 [2020-09-29T01:55:25.152Z] multi-key-dict==2.0.3 [2020-09-29T01:55:25.152Z] multidict==4.7.6 [2020-09-29T01:55:25.152Z] munch==2.5.0 [2020-09-29T01:55:25.152Z] netaddr==0.8.0 [2020-09-29T01:55:25.152Z] netifaces==0.10.9 [2020-09-29T01:55:25.152Z] niet==1.4.2 [2020-09-29T01:55:25.152Z] nodeenv==1.3.5 [2020-09-29T01:55:25.152Z] oauth2client==4.1.3 [2020-09-29T01:55:25.152Z] oauthlib==3.1.0 [2020-09-29T01:55:25.152Z] openstacksdk==0.50.0 [2020-09-29T01:55:25.152Z] os-client-config==2.1.0 [2020-09-29T01:55:25.152Z] os-service-types==1.7.0 [2020-09-29T01:55:25.152Z] osc-lib==2.2.1 [2020-09-29T01:55:25.152Z] oslo.config==8.3.2 [2020-09-29T01:55:25.152Z] oslo.context==3.1.1 [2020-09-29T01:55:25.152Z] oslo.i18n==5.0.1 [2020-09-29T01:55:25.152Z] oslo.log==4.4.0 [2020-09-29T01:55:25.152Z] oslo.serialization==4.0.1 [2020-09-29T01:55:25.152Z] oslo.utils==4.6.0 [2020-09-29T01:55:25.152Z] packaging==20.4 [2020-09-29T01:55:25.152Z] pbr==5.4.4 [2020-09-29T01:55:25.152Z] pluggy==0.13.1 [2020-09-29T01:55:25.152Z] prettytable==0.7.2 [2020-09-29T01:55:25.152Z] py==1.9.0 [2020-09-29T01:55:25.152Z] pyasn1==0.4.8 [2020-09-29T01:55:25.152Z] pyasn1-modules==0.2.8 [2020-09-29T01:55:25.152Z] pycparser==2.20 [2020-09-29T01:55:25.152Z] pygerrit2==2.0.10 [2020-09-29T01:55:25.152Z] PyGithub==1.46 [2020-09-29T01:55:25.152Z] pyinotify==0.9.6 [2020-09-29T01:55:25.152Z] PyJWT==1.7.1 [2020-09-29T01:55:25.152Z] pyparsing==2.4.7 [2020-09-29T01:55:25.152Z] pyperclip==1.8.0 [2020-09-29T01:55:25.152Z] pyroute2==0.4.13 [2020-09-29T01:55:25.152Z] pyrsistent==0.15.7 [2020-09-29T01:55:25.152Z] PySocks==1.6.8 [2020-09-29T01:55:25.152Z] python-cinderclient==7.2.0 [2020-09-29T01:55:25.152Z] python-dateutil==2.8.1 [2020-09-29T01:55:25.152Z] python-heatclient==2.2.1 [2020-09-29T01:55:25.152Z] python-jenkins==1.7.0 [2020-09-29T01:55:25.152Z] python-keystoneclient==4.1.1 [2020-09-29T01:55:25.152Z] python-magnumclient==3.2.1 [2020-09-29T01:55:25.152Z] python-novaclient==17.2.1 [2020-09-29T01:55:25.152Z] python-openstackclient==5.3.1 [2020-09-29T01:55:25.152Z] python-swiftclient==3.10.1 [2020-09-29T01:55:25.152Z] pytz==2020.1 [2020-09-29T01:55:25.152Z] PyYAML==5.3 [2020-09-29T01:55:25.152Z] requests==2.23.0 [2020-09-29T01:55:25.152Z] requests-oauthlib==1.3.0 [2020-09-29T01:55:25.152Z] requestsexceptions==1.4.0 [2020-09-29T01:55:25.152Z] rfc3986==1.4.0 [2020-09-29T01:55:25.152Z] rpm==4.11.3 [2020-09-29T01:55:25.152Z] rsa==4.0 [2020-09-29T01:55:25.153Z] ruamel.yaml==0.16.10 [2020-09-29T01:55:25.153Z] ruamel.yaml.clib==0.2.0 [2020-09-29T01:55:25.153Z] s3transfer==0.3.3 [2020-09-29T01:55:25.153Z] shade==1.27.2 [2020-09-29T01:55:25.153Z] simplejson==3.17.2 [2020-09-29T01:55:25.153Z] six==1.14.0 [2020-09-29T01:55:25.153Z] soupsieve==2.0 [2020-09-29T01:55:25.153Z] stevedore==3.2.2 [2020-09-29T01:55:25.153Z] tabulate==0.8.6 [2020-09-29T01:55:25.153Z] toml==0.10.0 [2020-09-29T01:55:25.153Z] tox==3.20.0 [2020-09-29T01:55:25.153Z] tqdm==4.43.0 [2020-09-29T01:55:25.153Z] typing-extensions==3.7.4.3 [2020-09-29T01:55:25.153Z] urllib3==1.25.8 [2020-09-29T01:55:25.153Z] virtualenv==20.0.31 [2020-09-29T01:55:25.153Z] wcwidth==0.2.5 [2020-09-29T01:55:25.153Z] websocket-client==0.57.0 [2020-09-29T01:55:25.153Z] wrapt==1.12.1 [2020-09-29T01:55:25.153Z] xdg==3.0.2 [2020-09-29T01:55:25.153Z] xmltodict==0.12.0 [2020-09-29T01:55:25.153Z] yarl==1.6.0 [2020-09-29T01:55:25.153Z] yq==2.11.1 [2020-09-29T01:55:25.153Z] zipp==3.2.0 [2020-09-29T01:55:25.153Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:25.153Z] 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. [2020-09-29T01:55:25.153Z] Python 2.7.5 [2020-09-29T01:55:25.153Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-29T01:55:25.153Z] 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. [2020-09-29T01:55:25.153Z] ansible==2.9.7 [2020-09-29T01:55:25.153Z] Babel==0.9.6 [2020-09-29T01:55:25.153Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-29T01:55:25.153Z] beautifulsoup4==4.4.1 [2020-09-29T01:55:25.153Z] bodhi==2.11.0 [2020-09-29T01:55:25.153Z] bodhi-client==2.11.0 [2020-09-29T01:55:25.153Z] CCColUtils==1.4 [2020-09-29T01:55:25.153Z] cffi==1.6.0 [2020-09-29T01:55:25.153Z] chardet==2.2.1 [2020-09-29T01:55:25.153Z] click==6.7 [2020-09-29T01:55:25.153Z] cloud-init==18.5 [2020-09-29T01:55:25.153Z] configobj==4.7.2 [2020-09-29T01:55:25.153Z] cryptography==1.7.2 [2020-09-29T01:55:25.153Z] decorator==3.4.0 [2020-09-29T01:55:25.153Z] distro==1.2.0 [2020-09-29T01:55:25.153Z] enum34==1.0.4 [2020-09-29T01:55:25.153Z] fedpkg==1.38 [2020-09-29T01:55:25.153Z] futures==3.1.1 [2020-09-29T01:55:25.153Z] gitdb==0.6.4 [2020-09-29T01:55:25.153Z] GitPython==1.0.1 [2020-09-29T01:55:25.153Z] html5lib==0.999 [2020-09-29T01:55:25.153Z] httplib2==0.9.2 [2020-09-29T01:55:25.153Z] idna==2.4 [2020-09-29T01:55:25.153Z] iniparse==0.4 [2020-09-29T01:55:25.153Z] ipaddress==1.0.16 [2020-09-29T01:55:25.153Z] IPy==0.75 [2020-09-29T01:55:25.153Z] javapackages==1.0.0 [2020-09-29T01:55:25.153Z] Jinja2==2.7.2 [2020-09-29T01:55:25.153Z] jmespath==0.9.4 [2020-09-29T01:55:25.153Z] jsonpatch==1.2 [2020-09-29T01:55:25.153Z] jsonpointer==1.9 [2020-09-29T01:55:25.153Z] kerberos==1.1 [2020-09-29T01:55:25.153Z] kitchen==1.1.1 [2020-09-29T01:55:25.153Z] langtable==0.0.31 [2020-09-29T01:55:25.153Z] lockfile==0.9.1 [2020-09-29T01:55:25.153Z] lxml==3.2.1 [2020-09-29T01:55:25.153Z] MarkupSafe==0.11 [2020-09-29T01:55:25.153Z] munch==2.0.2 [2020-09-29T01:55:25.153Z] offtrac==0.1.0 [2020-09-29T01:55:25.153Z] openidc-client==0.6.0 [2020-09-29T01:55:25.153Z] packagedb-cli==2.14.1 [2020-09-29T01:55:25.153Z] paramiko==2.1.1 [2020-09-29T01:55:25.153Z] perf==0.1 [2020-09-29T01:55:25.153Z] ply==3.4 [2020-09-29T01:55:25.153Z] policycoreutils-default-encoding==0.1 [2020-09-29T01:55:25.153Z] prettytable==0.7.2 [2020-09-29T01:55:25.153Z] pyasn1==0.1.9 [2020-09-29T01:55:25.153Z] pycparser==2.14 [2020-09-29T01:55:25.153Z] pycurl==7.19.0 [2020-09-29T01:55:25.153Z] pygobject==3.22.0 [2020-09-29T01:55:25.153Z] pygpgme==0.3 [2020-09-29T01:55:25.153Z] pyliblzma==0.5.3 [2020-09-29T01:55:25.153Z] pyOpenSSL==0.13.1 [2020-09-29T01:55:25.153Z] pyparsing==1.5.6 [2020-09-29T01:55:25.153Z] pyserial==2.6 [2020-09-29T01:55:25.153Z] python-augeas==0.5.0 [2020-09-29T01:55:25.153Z] python-bugzilla==2.3.0 [2020-09-29T01:55:25.153Z] python-dateutil==1.5 [2020-09-29T01:55:25.153Z] python-fedora==0.10.0 [2020-09-29T01:55:25.153Z] python-linux-procfs==0.4.9 [2020-09-29T01:55:25.153Z] python-yubico==1.2.3 [2020-09-29T01:55:25.153Z] pyudev==0.15 [2020-09-29T01:55:25.153Z] pyusb==1.0.0b1 [2020-09-29T01:55:25.153Z] pyxattr==0.5.1 [2020-09-29T01:55:25.153Z] PyYAML==3.10 [2020-09-29T01:55:25.153Z] requests==2.6.0 [2020-09-29T01:55:25.153Z] requests-kerberos==0.7.0 [2020-09-29T01:55:25.153Z] rpkg==1.60 [2020-09-29T01:55:25.153Z] schedutils==0.4 [2020-09-29T01:55:25.153Z] seobject==0.1 [2020-09-29T01:55:25.153Z] sepolicy==1.1 [2020-09-29T01:55:25.153Z] six==1.9.0 [2020-09-29T01:55:25.153Z] smmap==0.9.0 [2020-09-29T01:55:25.153Z] urlgrabber==3.10 [2020-09-29T01:55:25.153Z] urllib3==1.10.2 [2020-09-29T01:55:25.153Z] virtualenv==15.1.0 [2020-09-29T01:55:25.153Z] yum-langpacks==0.4.2 [2020-09-29T01:55:25.153Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-29T01:55:25.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:55:25.486Z] ---> sudo-logs.sh [2020-09-29T01:55:25.486Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-29T01:55:26.890Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:55:27.193Z] ---> job-cost.sh [2020-09-29T01:55:27.194Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-09i6 [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.469Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.739Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.739Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:39.739Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:40.004Z] Cache entry deserialization failed, entry ignored [2020-09-29T01:55:42.560Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-29T01:56:09.200Z] 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. [2020-09-29T01:56:09.200Z] [2020-09-29T01:56:09.200Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-29T01:56:09.200Z] [2020-09-29T01:56:09.200Z] 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. [2020-09-29T01:56:09.200Z] lf-activate-venv(): INFO: Adding /tmp/venv-09i6/bin to PATH [2020-09-29T01:56:09.200Z] INFO: No Stack... [2020-09-29T01:56:09.786Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-29T01:56:10.366Z] INFO: Archiving Costs [Pipeline] echo [2020-09-29T01:56:10.380Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T01:56:10.680Z] ---> logs-deploy.sh [2020-09-29T01:56:10.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-133/4 [2020-09-29T01:56:10.680Z] INFO: archiving workspace using pattern(s): [2020-09-29T01:56:12.073Z] Archives upload complete. [2020-09-29T01:56:12.335Z] INFO: archiving logs to Nexus