Pull request #133 opened 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 cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16+5bf229cf24b8f9ed794e66431934aece6c25b156 (63d73cbface7f13818e39f897a29d60ec6a40960) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-133/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-133/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 Running on prd-centos7-docker-4c-2g-1798 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 Merging remotes/origin/master commit 5bf229cf24b8f9ed794e66431934aece6c25b156 into PR head commit cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 Merge succeeded, producing cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 Checking out Revision cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 (PR-133) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/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 cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 # 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 5bf229cf24b8f9ed794e66431934aece6c25b156 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 # timeout=10 Commit message: "feat: Support array value type" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:39:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:39:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:39:04 ========================================================= 18:39:04 EdgeX Global Pipelines Version Info 18:39:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:39:06 ------------------- 18:39:06 stable info: 18:39:06 ------------------- 18:39:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:39:06 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:39:06 Message: update stable to v1.0.131 18:39:07 ------------------- 18:39:07 experimental info: 18:39:07 ------------------- 18:39:07 Commited By: **** collab-it+edgex@linuxfoundation.org 18:39:07 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:39:07 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:39:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:39:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:39:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:39:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:39:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:39:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:39:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd52edb [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:13 + git log --format=format:%s -1 cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 [Pipeline] echo 18:39:13 GIT_COMMIT: cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16, Commit Message: feat: Support array value type [Pipeline] echo 18:39:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:39:14 18:39:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:39:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:39:15 latest: Pulling from edgex-devops/git-semver 18:39:15 31603596830f: Pulling fs layer 18:39:15 2a8b12db71e7: Pulling fs layer 18:39:15 6ca5941a6612: Pulling fs layer 18:39:15 ecc8261a40a4: Pulling fs layer 18:39:15 ecc8261a40a4: Waiting 18:39:15 2a8b12db71e7: Verifying Checksum 18:39:15 2a8b12db71e7: Download complete 18:39:15 31603596830f: Verifying Checksum 18:39:15 31603596830f: Download complete 18:39:15 ecc8261a40a4: Verifying Checksum 18:39:15 ecc8261a40a4: Download complete 18:39:15 6ca5941a6612: Verifying Checksum 18:39:15 6ca5941a6612: Download complete 18:39:15 31603596830f: Pull complete 18:39:16 2a8b12db71e7: Pull complete 18:39:16 6ca5941a6612: Pull complete 18:39:16 ecc8261a40a4: Pull complete 18:39:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:39:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:39:17 prd-centos7-docker-4c-2g-1798 does not seem to be running inside a container 18:39:17 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:39:19 $ docker top c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:19 [ssh-agent] Looking for ssh-agent implementation... 18:39:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:20 $ docker exec c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 ssh-agent 18:39:20 SSH_AUTH_SOCK=/tmp/ssh-uhXecErNIVnS/agent.11 18:39:20 SSH_AGENT_PID=16 18:39:20 Running ssh-add (command line suppressed) 18:39:20 Identity added: /w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_5646958684276268456.key (/w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_5646958684276268456.key) 18:39:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:20 + git describe --exact-match --tags HEAD 18:39:20 fatal: no tag exactly matches 'cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16' [Pipeline] } 18:39:21 $ docker exec --env ******** --env ******** c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 ssh-agent -k 18:39:21 unset SSH_AUTH_SOCK; 18:39:21 unset SSH_AGENT_PID; 18:39:21 echo Agent pid 16 killed; 18:39:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:39:21 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:39:21 This usually means this commit has not been tagged. [Pipeline] sshagent 18:39:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:21 [ssh-agent] Looking for ssh-agent implementation... 18:39:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:21 $ docker exec c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 ssh-agent 18:39:21 SSH_AUTH_SOCK=/tmp/ssh-MXjSBgOvdDRE/agent.46 18:39:21 SSH_AGENT_PID=51 18:39:21 Running ssh-add (command line suppressed) 18:39:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_8808885237597216404.key (/w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_8808885237597216404.key) 18:39:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:22 + git semver init 18:39:22 # -> Open(): unable to determine branch for HEAD 18:39:22 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.git 18:39:22 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-133 18:39:22 # $SEMVER_REMOTE_NAME = origin 18:39:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:39:22 # $SEMVER_USER_NAME = edgex-jenkins 18:39:22 # $SEMVER_BRANCH = PR-133 18:39:22 # $SEMVER_TEMP = /tmp/semver-688075954 18:39:22 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 18:39:23 # '/tmp/semver-688075954' -> '/w/workspace/foundry_device-virtual-go_PR-133/.semver' 18:39:23 # -> Force: false 18:39:23 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.semver [Pipeline] } 18:39:23 $ docker exec --env ******** --env ******** c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 ssh-agent -k 18:39:23 unset SSH_AUTH_SOCK; 18:39:23 unset SSH_AGENT_PID; 18:39:23 echo Agent pid 51 killed; 18:39:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:23 + git semver [Pipeline] } 18:39:23 $ docker stop --time=1 c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 18:39:25 $ docker rm -f c9e84bd79e122b2e0bcd252bd616aa66a2d57c9efd6b6b5d3763d90b550eda63 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:39:26 Stashed 29 file(s) [Pipeline] echo 18:39:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:39:26 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 18:39:42 Still waiting to schedule task 18:39:42 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1798’ 18:39:42 Still waiting to schedule task 18:39:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:41:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1799 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws 18:41:31 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:41:36 using credential edgex-jenkins-ssh 18:41:36 Cloning the remote Git repository 18:41:36 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:41:36 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:41:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:41:36 > git --version # timeout=10 18:41:36 > git --version # 'git version 2.17.1' 18:41:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:41:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:41:38 Merging remotes/origin/master commit 5bf229cf24b8f9ed794e66431934aece6c25b156 into PR head commit cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 18:41:38 Merge succeeded, producing cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 18:41:38 Checking out Revision cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 (PR-133) 18:41:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:41:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:37 > 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 18:41:38 > git config core.sparsecheckout # timeout=10 18:41:38 > git checkout -f cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 # timeout=10 18:41:38 > git remote # timeout=10 18:41:38 > git config --get remote.origin.url # timeout=10 18:41:38 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:38 > git merge 5bf229cf24b8f9ed794e66431934aece6c25b156 # timeout=10 18:41:38 > git rev-parse HEAD^{commit} # timeout=10 18:41:38 > git config core.sparsecheckout # timeout=10 18:41:38 > git checkout -f cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 # timeout=10 18:41:42 Commit message: "feat: Support array value type" 18:41:42 > git --version # timeout=10 18:41:42 > git --version # 'git version 2.17.1' 18:41:42 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:41:44 ========================================================= 18:41:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:41:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:41:45 + 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 . 18:41:46 Sending build context to Docker daemon 711.2kB 18:41:46 Step 1/8 : ARG BASE=golang:1.15-alpine 18:41:46 Step 2/8 : FROM ${BASE} 18:41:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:41:46 b538f80385f9: Pulling fs layer 18:41:46 74f711af9a0d: Pulling fs layer 18:41:46 99f96fe45779: Pulling fs layer 18:41:46 8529a6b9a6be: Pulling fs layer 18:41:46 45590311c82a: Pulling fs layer 18:41:46 69ca0ff8b7b3: Pulling fs layer 18:41:46 209524e5b208: Pulling fs layer 18:41:46 8529a6b9a6be: Waiting 18:41:46 45590311c82a: Waiting 18:41:46 69ca0ff8b7b3: Waiting 18:41:46 209524e5b208: Waiting 18:41:46 99f96fe45779: Download complete 18:41:46 74f711af9a0d: Verifying Checksum 18:41:46 74f711af9a0d: Download complete 18:41:46 45590311c82a: Verifying Checksum 18:41:46 45590311c82a: Download complete 18:41:46 69ca0ff8b7b3: Download complete 18:41:47 b538f80385f9: Verifying Checksum 18:41:47 b538f80385f9: Download complete 18:41:48 b538f80385f9: Pull complete 18:41:48 74f711af9a0d: Pull complete 18:41:48 99f96fe45779: Pull complete 18:41:49 209524e5b208: Download complete 18:41:50 8529a6b9a6be: Verifying Checksum 18:41:50 8529a6b9a6be: Download complete 18:42:01 8529a6b9a6be: Pull complete 18:42:01 45590311c82a: Pull complete 18:42:01 69ca0ff8b7b3: Pull complete 18:42:06 209524e5b208: Pull complete 18:42:06 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:42:06 ---> 5bddaf1c2fca 18:42:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 18:42:08 ---> Running in 75bbb161b09a 18:42:08 Removing intermediate container 75bbb161b09a 18:42:08 ---> e0c6fd7333d4 18:42:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:42:08 ---> Running in 3ef608904a3a 18:42:11 Removing intermediate container 3ef608904a3a 18:42:11 ---> 3aafce1f96fa 18:42:11 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 18:42:11 ---> Running in 3ce13d423432 18:42:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:42:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:42:15 (1/14) Installing libmagic (5.38-r0) 18:42:15 (2/14) Installing file (5.38-r0) 18:42:15 (3/14) Installing libc-dev (0.7.2-r3) 18:42:15 (4/14) Installing g++ (9.3.0-r2) 18:42:26 Running on prd-centos7-docker-4c-2g-1800 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws 18:42:26 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:42:28 (5/14) Installing fortify-headers (1.1-r0) 18:42:28 (6/14) Installing patch (2.7.6-r6) 18:42:28 (7/14) Installing build-base (0.5-r2) 18:42:28 (8/14) Installing openssh-keygen (8.3_p1-r0) 18:42:28 (9/14) Installing libedit (20191231.3.1-r0) 18:42:28 (10/14) Installing openssh-client (8.3_p1-r0) 18:42:28 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 18:42:28 (12/14) Installing openssh-server-common (8.3_p1-r0) 18:42:28 (13/14) Installing openssh-server (8.3_p1-r0) 18:42:28 (14/14) Installing openssh (8.3_p1-r0) 18:42:28 Executing busybox-1.31.1-r16.trigger 18:42:28 OK: 221 MiB in 53 packages 18:42:29 using credential edgex-jenkins-ssh 18:42:29 Cloning the remote Git repository 18:42:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:42:29 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:42:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:42:29 > git --version # timeout=10 18:42:29 > git --version # 'git version 2.16.5' 18:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:42:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:42:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:42:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:42:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:42:30 > 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 18:42:30 Merging remotes/origin/master commit 5bf229cf24b8f9ed794e66431934aece6c25b156 into PR head commit cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 18:42:30 Merge succeeded, producing cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 18:42:30 Checking out Revision cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 (PR-133) 18:42:30 > git config core.sparsecheckout # timeout=10 18:42:30 > git checkout -f cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 # timeout=10 18:42:30 > git remote # timeout=10 18:42:30 > git config --get remote.origin.url # timeout=10 18:42:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:42:30 > git merge 5bf229cf24b8f9ed794e66431934aece6c25b156 # timeout=10 18:42:30 > git rev-parse HEAD^{commit} # timeout=10 18:42:30 > git config core.sparsecheckout # timeout=10 18:42:30 > git checkout -f cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 # timeout=10 18:42:32 Removing intermediate container 3ce13d423432 18:42:32 ---> 91bc7fe6e7e7 18:42:32 Step 6/8 : WORKDIR /device-virtual-go 18:42:32 ---> Running in 5cef95f35e5d 18:42:32 Removing intermediate container 5cef95f35e5d 18:42:32 ---> fca778ce81af 18:42:32 Step 7/8 : COPY . . 18:42:33 ---> e0d355d4b2d2 18:42:33 Step 8/8 : RUN go mod download 18:42:33 ---> Running in 55bc5095d8c7 18:42:34 Commit message: "feat: Support array value type" 18:42:34 > git --version # timeout=10 18:42:34 > git --version # 'git version 2.16.5' 18:42:34 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:42:35 ========================================================= 18:42:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:42:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:42:36 + 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 . 18:42:37 Sending build context to Docker daemon 711.2kB 18:42:37 Step 1/8 : ARG BASE=golang:1.15-alpine 18:42:37 Step 2/8 : FROM ${BASE} 18:42:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:37 df20fa9351a1: Pulling fs layer 18:42:37 ed8968b2872e: Pulling fs layer 18:42:37 a92cc7c5fd73: Pulling fs layer 18:42:37 e871e8e8d7a9: Pulling fs layer 18:42:37 e73272ec9a57: Pulling fs layer 18:42:37 1e910a182e73: Pulling fs layer 18:42:37 4e634b169226: Pulling fs layer 18:42:37 e73272ec9a57: Waiting 18:42:37 1e910a182e73: Waiting 18:42:37 4e634b169226: Waiting 18:42:37 e871e8e8d7a9: Waiting 18:42:37 a92cc7c5fd73: Verifying Checksum 18:42:37 ed8968b2872e: Verifying Checksum 18:42:37 ed8968b2872e: Download complete 18:42:37 e73272ec9a57: Verifying Checksum 18:42:37 e73272ec9a57: Download complete 18:42:37 1e910a182e73: Verifying Checksum 18:42:37 1e910a182e73: Download complete 18:42:37 df20fa9351a1: Verifying Checksum 18:42:37 df20fa9351a1: Download complete 18:42:37 df20fa9351a1: Pull complete 18:42:37 ed8968b2872e: Pull complete 18:42:37 a92cc7c5fd73: Pull complete 18:42:39 4e634b169226: Verifying Checksum 18:42:39 4e634b169226: Download complete 18:42:40 e871e8e8d7a9: Verifying Checksum 18:42:40 e871e8e8d7a9: Download complete 18:42:45 e871e8e8d7a9: Pull complete 18:42:45 e73272ec9a57: Pull complete 18:42:45 1e910a182e73: Pull complete 18:42:48 Removing intermediate container 55bc5095d8c7 18:42:48 ---> aec8b4588bcb 18:42:48 Successfully built aec8b4588bcb 18:42:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:42:49 + docker inspect -f . ci-base-image-arm64 18:42:49 . [Pipeline] withDockerContainer 18:42:49 prd-ubuntu18.04-docker-arm64-4c-16g-1799 does not seem to be running inside a container 18:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:42:51 $ docker top b2ff6afc0df13db323ab1f28b03140d5ea723db5d296f7404dec52d7bda955c2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:52 4e634b169226: Pull complete 18:42:52 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:42:52 ---> f7629b54cfaa 18:42:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 18:42:52 ---> Running in e854d2428b70 18:42:52 Removing intermediate container e854d2428b70 18:42:52 ---> f494574b6f88 18:42:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:42:52 ---> Running in a6cac0ce956e 18:42:52 + go version 18:42:52 go version go1.15.2 linux/arm64 [Pipeline] } 18:42:52 $ docker stop --time=1 b2ff6afc0df13db323ab1f28b03140d5ea723db5d296f7404dec52d7bda955c2 18:42:53 Removing intermediate container a6cac0ce956e 18:42:53 ---> 510299acaf5a 18:42:53 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 18:42:53 ---> Running in f854f05c455e 18:42:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:42:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:42:54 $ docker rm -f b2ff6afc0df13db323ab1f28b03140d5ea723db5d296f7404dec52d7bda955c2 18:42:54 (1/14) Installing libmagic (5.38-r0) [Pipeline] // withDockerContainer [Pipeline] } 18:42:55 (2/14) Installing file (5.38-r0) 18:42:55 (3/14) Installing libc-dev (0.7.2-r3) [Pipeline] // script [Pipeline] } [Pipeline] // stage 18:42:55 (4/14) Installing g++ (9.3.0-r2) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:42:55 + docker inspect -f . ci-base-image-arm64 18:42:55 . [Pipeline] withDockerContainer 18:42:56 prd-ubuntu18.04-docker-arm64-4c-16g-1799 does not seem to be running inside a container 18:42:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:42:58 $ docker top 2d1030ffc4faeb1996b99493b7fad5c0e5cdc1dce4c2be05259c0502baf93ecf -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:59 + make test 18:42:59 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:43:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:43:01 (5/14) Installing fortify-headers (1.1-r0) 18:43:01 (6/14) Installing patch (2.7.6-r6) 18:43:01 (7/14) Installing build-base (0.5-r2) 18:43:01 (8/14) Installing openssh-keygen (8.3_p1-r0) 18:43:01 (9/14) Installing libedit (20191231.3.1-r0) 18:43:01 (10/14) Installing openssh-client (8.3_p1-r0) 18:43:02 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 18:43:02 (12/14) Installing openssh-server-common (8.3_p1-r0) 18:43:02 (13/14) Installing openssh-server (8.3_p1-r0) 18:43:02 (14/14) Installing openssh (8.3_p1-r0) 18:43:02 Executing busybox-1.31.1-r16.trigger 18:43:02 OK: 237 MiB in 53 packages 18:43:06 Removing intermediate container f854f05c455e 18:43:06 ---> c7ee3254fec2 18:43:06 Step 6/8 : WORKDIR /device-virtual-go 18:43:06 ---> Running in 987e7b69e985 18:43:06 Removing intermediate container 987e7b69e985 18:43:06 ---> 867ef2879c86 18:43:06 Step 7/8 : COPY . . 18:43:07 ---> a9164ff01628 18:43:07 Step 8/8 : RUN go mod download 18:43:07 ---> Running in c75c202621a3 18:43:22 Removing intermediate container c75c202621a3 18:43:22 ---> 79b2eed1c430 18:43:22 Successfully built 79b2eed1c430 18:43:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:43:22 + docker inspect -f . ci-base-image-x86_64 18:43:22 . [Pipeline] withDockerContainer 18:43:22 prd-centos7-docker-4c-2g-1800 does not seem to be running inside a container 18:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:24 $ docker top 9e8c7fbc9e61463053745e59b079747657b0750ce754e3d10cf9a1ba4c13cf87 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:24 + go version 18:43:24 go version go1.15.2 linux/amd64 [Pipeline] } 18:43:24 $ docker stop --time=1 9e8c7fbc9e61463053745e59b079747657b0750ce754e3d10cf9a1ba4c13cf87 18:43:26 $ docker rm -f 9e8c7fbc9e61463053745e59b079747657b0750ce754e3d10cf9a1ba4c13cf87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:43:27 + docker inspect -f . ci-base-image-x86_64 18:43:27 . [Pipeline] withDockerContainer 18:43:27 prd-centos7-docker-4c-2g-1800 does not seem to be running inside a container 18:43:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:28 $ docker top 89b47d43c0156e0399cebf9a4a890a4f16f54341609435457acef477377bd1c4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:29 + make test 18:43:29 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:43:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:43:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:43:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.567s coverage: 63.8% of statements 18:43:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:43:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:43:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.375s coverage: 63.8% of statements 18:43:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:43:46 gofmt -l . 18:43:46 [ "`gofmt -l .`" = "" ] 18:43:46 ./bin/test-attribution-txt.sh 18:43:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:43:47 Stashed 1 file(s) [Pipeline] } 18:43:47 $ docker stop --time=1 89b47d43c0156e0399cebf9a4a890a4f16f54341609435457acef477377bd1c4 18:43:50 $ docker rm -f 89b47d43c0156e0399cebf9a4a890a4f16f54341609435457acef477377bd1c4 18:43:50 gofmt -l . 18:43:50 [ "`gofmt -l .`" = "" ] [Pipeline] // withDockerContainer 18:43:50 ./bin/test-attribution-txt.sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:43:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:43:52 Warning: overwriting stash ‘coverage-report’ [Pipeline] sh 18:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:53 + ls -al . 18:43:53 total 124 18:43:53 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 28 18:43 . 18:43:53 drwxrwxr-x. 4 jenkins jenkins 28 Sep 28 18:42 .. 18:43:53 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 28 18:42 Attribution.txt 18:43:53 drwxrwxr-x. 2 jenkins jenkins 64 Sep 28 18:42 bin 18:43:53 drwxrwxr-x. 3 jenkins jenkins 32 Sep 28 18:42 cmd 18:43:53 -rw-r--r--. 1 jenkins jenkins 46919 Sep 28 18:43 coverage.out 18:43:53 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 28 18:42 Dockerfile 18:43:53 -rw-rw-r--. 1 jenkins jenkins 957 Sep 28 18:42 Dockerfile.build 18:43:53 drwxrwxr-x. 8 jenkins jenkins 179 Sep 28 18:42 .git 18:43:53 drwxrwxr-x. 2 jenkins jenkins 38 Sep 28 18:42 .github 18:43:53 -rw-rw-r--. 1 jenkins jenkins 258 Sep 28 18:42 .gitignore 18:43:53 -rw-r--r--. 1 jenkins jenkins 862 Sep 28 18:43 go.mod 18:43:53 -rw-r--r--. 1 jenkins jenkins 14908 Sep 28 18:43 go.sum 18:43:53 drwxrwxr-x. 3 jenkins jenkins 20 Sep 28 18:42 internal 18:43:53 -rw-rw-r--. 1 jenkins jenkins 660 Sep 28 18:42 Jenkinsfile 18:43:53 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 28 18:42 LICENSE 18:43:53 -rw-rw-r--. 1 jenkins jenkins 873 Sep 28 18:42 Makefile 18:43:53 -rw-rw-r--. 1 jenkins jenkins 918 Sep 28 18:42 README.md 18:43:53 drwxrwxr-x. 3 jenkins jenkins 58 Sep 28 18:42 .semver 18:43:53 -rw-rw-r--. 1 jenkins jenkins 5 Sep 28 18:39 VERSION 18:43:53 -rw-rw-r--. 1 jenkins jenkins 235 Sep 28 18:42 version.go [Pipeline] isUnix [Pipeline] sh 18:43:53 Stashed 1 file(s) [Pipeline] } 18:43:53 $ docker stop --time=1 2d1030ffc4faeb1996b99493b7fad5c0e5cdc1dce4c2be05259c0502baf93ecf 18:43:53 + 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=cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 --label arch=amd64 --label version=0.0.0 . 18:43:54 Sending build context to Docker daemon 774.7kB 18:43:54 Step 1/22 : ARG BASE=golang:1.15-alpine 18:43:54 Step 2/22 : FROM ${BASE} AS builder 18:43:54 ---> 79b2eed1c430 18:43:54 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 18:43:54 ---> Running in 684cde771e85 18:43:54 Removing intermediate container 684cde771e85 18:43:54 ---> f0b111af9246 18:43:54 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 18:43:54 ---> Running in 44ed79aca14b 18:43:55 Removing intermediate container 44ed79aca14b 18:43:55 ---> 27a70e1a04a7 18:43:55 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 18:43:55 ---> Running in 8311b10d932b 18:43:55 Removing intermediate container 8311b10d932b 18:43:55 ---> 972fb8b70b6f 18:43:55 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:43:55 ---> Running in 599575b528a1 18:43:56 $ docker rm -f 2d1030ffc4faeb1996b99493b7fad5c0e5cdc1dce4c2be05259c0502baf93ecf 18:43:56 Removing intermediate container 599575b528a1 18:43:56 ---> 6ce87021e6dc 18:43:56 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:56 ---> Running in 021bdf275a33 [Pipeline] // withDockerContainer [Pipeline] } 18:43:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:58 + ls -al . 18:43:58 total 152 18:43:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 18:43 . 18:43:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:41 .. 18:43:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 18:41 .git 18:43:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 18:41 .github 18:43:58 -rw-rw-r-- 1 jenkins jenkins 258 Sep 28 18:41 .gitignore 18:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:41 .semver 18:43:58 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 28 18:41 Attribution.txt 18:43:58 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 28 18:41 Dockerfile 18:43:58 -rw-rw-r-- 1 jenkins jenkins 957 Sep 28 18:41 Dockerfile.build 18:43:58 -rw-rw-r-- 1 jenkins jenkins 660 Sep 28 18:41 Jenkinsfile 18:43:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 18:41 LICENSE 18:43:58 -rw-rw-r-- 1 jenkins jenkins 873 Sep 28 18:41 Makefile 18:43:58 -rw-rw-r-- 1 jenkins jenkins 918 Sep 28 18:41 README.md 18:43:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 18:39 VERSION 18:43:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 18:41 bin 18:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:41 cmd 18:43:58 -rw-r--r-- 1 jenkins jenkins 46919 Sep 28 18:43 coverage.out 18:43:58 -rw-r--r-- 1 jenkins jenkins 862 Sep 28 18:43 go.mod 18:43:58 -rw-r--r-- 1 jenkins jenkins 14908 Sep 28 18:43 go.sum 18:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:41 internal 18:43:58 -rw-rw-r-- 1 jenkins jenkins 235 Sep 28 18:41 version.go [Pipeline] isUnix [Pipeline] sh 18:43:58 OK: 237 MiB in 53 packages 18:43:58 + 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=cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 --label arch=arm64 --label version=0.0.0 . 18:43:58 Removing intermediate container 021bdf275a33 18:43:58 ---> 88c4b012534f 18:43:58 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 18:43:58 ---> Running in 910e7e8000a5 18:43:58 Sending build context to Docker daemon 774.7kB 18:43:58 Removing intermediate container 910e7e8000a5 18:43:58 ---> 6fd8edb204be 18:43:58 Step 9/22 : COPY . . 18:43:59 Step 1/22 : ARG BASE=golang:1.15-alpine 18:43:59 Step 2/22 : FROM ${BASE} AS builder 18:43:59 ---> aec8b4588bcb 18:43:59 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 18:43:59 ---> Running in 1b29b6d256a4 18:43:59 Removing intermediate container 1b29b6d256a4 18:43:59 ---> 4e427adcaceb 18:43:59 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 18:43:59 ---> dc2810e3cd6a 18:43:59 Step 10/22 : ARG MAKE='make build' 18:43:59 ---> Running in 5c57e89135a9 18:43:59 Removing intermediate container 5c57e89135a9 18:43:59 ---> ad69727ab899 18:43:59 Step 11/22 : RUN $MAKE 18:43:59 ---> Running in 45eaf9f191d6 18:44:00 ---> Running in 41213dda3d1b 18:44:00 Removing intermediate container 45eaf9f191d6 18:44:00 ---> e903681494a0 18:44:00 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 18:44:00 ---> Running in 600f3d449a49 18:44: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 18:44:00 Removing intermediate container 600f3d449a49 18:44:00 ---> faf37161f7c1 18:44:00 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:01 ---> Running in 750a43f733ff 18:44:03 Removing intermediate container 750a43f733ff 18:44:03 ---> 771628a8fd44 18:44:03 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:44:03 ---> Running in df3598b515e9 18:44:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:44:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:44:06 OK: 221 MiB in 53 packages 18:44:08 Removing intermediate container df3598b515e9 18:44:08 ---> 879f230cd064 18:44:08 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 18:44:08 ---> Running in 5affb7d7c026 18:44:08 Removing intermediate container 5affb7d7c026 18:44:08 ---> 0d5f4da63d23 18:44:08 Step 9/22 : COPY . . 18:44:09 ---> 67623bb5fd8f 18:44:09 Step 10/22 : ARG MAKE='make build' 18:44:09 ---> Running in a60fd02c9aec 18:44:10 Removing intermediate container a60fd02c9aec 18:44:10 ---> 7161b038d145 18:44:10 Step 11/22 : RUN $MAKE 18:44:10 ---> Running in c1f80f9c1a5f 18:44:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:44:13 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:44:15 Removing intermediate container 41213dda3d1b 18:44:15 ---> d9f8512213da 18:44:15 Step 12/22 : FROM alpine 18:44:15 latest: Pulling from library/alpine 18:44:15 df20fa9351a1: Already exists 18:44:15 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:44:15 Status: Downloaded newer image for alpine:latest 18:44:15 ---> a24bb4013296 18:44:15 Step 13/22 : ENV APP_PORT=49990 18:44:15 ---> Running in 62d726a7a95e 18:44:15 Removing intermediate container 62d726a7a95e 18:44:15 ---> bb7d77834421 18:44:15 Step 14/22 : EXPOSE $APP_PORT 18:44:15 ---> Running in 58828cdad91f 18:44:15 Removing intermediate container 58828cdad91f 18:44:15 ---> 59d37a13b7d3 18:44:15 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 18:44:16 ---> f743f9d94f72 18:44:16 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 18:44:16 ---> 03e5d1390b8b 18:44:16 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 18:44:16 ---> 791defd71917 18:44:16 Step 18/22 : ENTRYPOINT ["/device-virtual"] 18:44:16 ---> Running in 5f89f53c91a5 18:44:16 Removing intermediate container 5f89f53c91a5 18:44:16 ---> fca62a62c9d5 18:44:16 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:44:17 ---> Running in 017c12c274e8 18:44:17 Removing intermediate container 017c12c274e8 18:44:17 ---> 26ff81427f10 18:44:17 Step 20/22 : LABEL arch=amd64 18:44:17 ---> Running in 53d56e30b49e 18:44:17 Removing intermediate container 53d56e30b49e 18:44:17 ---> 6eac39512c18 18:44:17 Step 21/22 : LABEL git_sha=cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 18:44:17 ---> Running in 0ad239e04bd5 18:44:17 Removing intermediate container 0ad239e04bd5 18:44:17 ---> fffef31e2438 18:44:17 Step 22/22 : LABEL version=0.0.0 18:44:17 ---> Running in c59f96824948 18:44:17 Removing intermediate container c59f96824948 18:44:17 ---> 955b9fb29aee 18:44:17 [Warning] One or more build-args [ARCH] were not consumed 18:44:17 Successfully built 955b9fb29aee 18:44:17 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] } 18:44:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:44:50 Removing intermediate container c1f80f9c1a5f 18:44:50 ---> f1163fa44895 18:44:50 Step 12/22 : FROM alpine 18:44:50 latest: Pulling from library/alpine 18:44:50 b538f80385f9: Already exists 18:44:50 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:44:50 Status: Downloaded newer image for alpine:latest 18:44:50 ---> 62ee0e9f8440 18:44:50 Step 13/22 : ENV APP_PORT=49990 18:44:50 ---> Running in 52e81144124a 18:44:50 Removing intermediate container 52e81144124a 18:44:50 ---> 8b8876ed31b2 18:44:50 Step 14/22 : EXPOSE $APP_PORT 18:44:51 ---> Running in 699aee50cb21 18:44:51 Removing intermediate container 699aee50cb21 18:44:51 ---> 55e84e0f4bd1 18:44:51 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 18:44:52 ---> 08893c9f0ca2 18:44:52 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 18:44:53 ---> 3b62e6329e04 18:44:53 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 18:44:54 ---> ae16cd4c8430 18:44:54 Step 18/22 : ENTRYPOINT ["/device-virtual"] 18:44:54 ---> Running in 02a510287f7d 18:44:54 Removing intermediate container 02a510287f7d 18:44:54 ---> 096265dc4ac6 18:44:54 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:44:54 ---> Running in 4c0858c8d973 18:44:55 Removing intermediate container 4c0858c8d973 18:44:55 ---> 00ae99af82e9 18:44:55 Step 20/22 : LABEL arch=arm64 18:44:55 ---> Running in 1af25778fb44 18:44:56 Removing intermediate container 1af25778fb44 18:44:56 ---> c0784da35131 18:44:56 Step 21/22 : LABEL git_sha=cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 18:44:56 ---> Running in 72b6514a3bbf 18:44:56 Removing intermediate container 72b6514a3bbf 18:44:56 ---> 7ea576c0fd09 18:44:56 Step 22/22 : LABEL version=0.0.0 18:44:56 ---> Running in b76b70561e30 18:44:57 Removing intermediate container b76b70561e30 18:44:57 ---> 8e8dbdd17dbd 18:44:57 [Warning] One or more build-args [ARCH] were not consumed 18:44:57 Successfully built 8e8dbdd17dbd 18:44:57 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 18:44:59 provisioning config files... 18:44:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config1088122831114386461tmp [Pipeline] { [Pipeline] sh 18:45:00 + set +x 18:45:00 + curl -s https://codecov.io/bash 18:45:00 + bash -s -- 18:45:00 18:45:00 _____ _ 18:45:00 / ____| | | 18:45:00 | | ___ __| | ___ ___ _____ __ 18:45:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:45:00 | |___| (_) | (_| | __/ (_| (_) \ V / 18:45:00 \_____\___/ \__,_|\___|\___\___/ \_/ 18:45:00 Bash-20200917-4e8f14b 18:45:00 18:45:00 18:45:00 ==> Jenkins CI detected. 18:45:00 project root: . 18:45:00 --> token set from env 18:45:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:45:00 ==> Running gcov in . (disable via -X gcov) 18:45:00 ==> Python coveragepy not found 18:45:00 ==> Searching for coverage reports in: 18:45:00 + . 18:45:00 -> Found 1 reports 18:45:00 ==> Detecting git/mercurial file structure 18:45:00 ==> Reading reports 18:45:00 + ./coverage.out bytes=46919 18:45:00 ==> Appending adjustments 18:45:00 https://docs.codecov.io/docs/fixing-reports 18:45:01 + Found adjustments 18:45:01 ==> Gzipping contents 18:45:01 ==> Uploading reports 18:45:01 url: https://codecov.io 18:45:01 query: branch=PR-133&commit=cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=133&job=&cmd_args= 18:45:01 -> Pinging Codecov 18:45:01 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-133&commit=cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=133&job=&cmd_args= 18:45:01 -> Uploading to 18:45:01 https://storage.googleapis.com/codecov/v4/raw/2020-09-28/5E52B4B073DB2E39498172D8E973AA87/cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16/018b33da-3003-4c46-b0f1-cd16be8f5575.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200928T184501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22fcf92cc50b3073f0145331fcf3ce270d8636391bce178b719c1682dca5dc65 18:45:01 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:01 Dload Upload Total Spent Left Speed 18:45:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5739 0 0 100 5739 0 14350 --:--:-- --:--:-- --:--:-- 14347 18:45:01 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cd52edbc054ab4d3c5d8b133ba8f0d9be77f4e16 [Pipeline] } 18:45:01 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 18:45:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:45:06 ---> package-listing.sh 18:45:06 ++ facter osfamily 18:45:06 ++ tr '[:upper:]' '[:lower:]' 18:45:06 + OS_FAMILY=redhat 18:45:06 + workspace=/w/workspace/foundry_device-virtual-go_PR-133 18:45:06 + START_PACKAGES=/tmp/packages_start.txt 18:45:06 + END_PACKAGES=/tmp/packages_end.txt 18:45:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:45:06 + PACKAGES=/tmp/packages_start.txt 18:45:06 + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' 18:45:06 + PACKAGES=/tmp/packages_end.txt 18:45:06 + case "${OS_FAMILY}" in 18:45:06 + rpm -qa 18:45:06 + sort 18:45:10 + '[' -f /tmp/packages_start.txt ']' 18:45:10 + '[' -f /tmp/packages_end.txt ']' 18:45:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:45:10 + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' 18:45:10 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-133/archives/ 18:45:10 + 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 18:45:11 provisioning config files... 18:45:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config2987079278491640338tmp [Pipeline] { [Pipeline] echo 18:45:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:45:11 ---> create-netrc.sh [Pipeline] } 18:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:45:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:45:12 ---> python-tools-install.sh 18:45:12 Generating Requirements File 18:46:33 Python 3.6.8 18:46:33 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 18:46:33 appdirs==1.4.3 18:46:33 argcomplete==1.12.1 18:46:33 aspy.yaml==1.3.0 18:46:33 attrs==19.3.0 18:46:33 Babel==2.8.0 18:46:33 beautifulsoup4==4.8.2 18:46:33 boto3==1.11.6 18:46:33 botocore==1.14.6 18:46:33 bs4==0.0.1 18:46:33 cachetools==4.1.1 18:46:33 certifi==2019.11.28 18:46:33 cffi==1.14.3 18:46:33 cfgv==2.0.1 18:46:33 chardet==3.0.4 18:46:33 click==7.1 18:46:33 cliff==3.4.0 18:46:33 cmd2==1.3.10 18:46:33 colorama==0.4.3 18:46:33 cryptography==3.1.1 18:46:33 debtcollector==2.2.0 18:46:33 decorator==4.4.2 18:46:33 defusedxml==0.6.0 18:46:33 Deprecated==1.2.7 18:46:33 distlib==0.3.1 18:46:33 distro==1.2.0 18:46:33 dnspython==1.16.0 18:46:33 docker==4.2.0 18:46:33 docutils==0.15.2 18:46:33 dogpile.cache==1.0.2 18:46:33 email-validator==1.0.5 18:46:33 filelock==3.0.12 18:46:33 future==0.18.2 18:46:33 google-auth==1.21.3 18:46:33 httplib2==0.17.0 18:46:33 identify==1.4.11 18:46:33 idna==2.9 18:46:33 importlib-metadata==1.7.0 18:46:33 importlib-resources==1.5.0 18:46:33 iso8601==0.1.13 18:46:33 Jinja2==2.11.1 18:46:33 jmespath==0.10.0 18:46:33 jsonpatch==1.26 18:46:33 jsonpointer==2.0 18:46:33 jsonschema==3.2.0 18:46:33 keystoneauth1==4.2.1 18:46:33 kubernetes==11.0.0 18:46:33 lftools==0.34.2 18:46:33 lxml==4.5.0 18:46:33 MarkupSafe==0.23 18:46:33 msgpack==1.0.0 18:46:33 multi-key-dict==2.0.3 18:46:33 munch==2.5.0 18:46:33 netaddr==0.8.0 18:46:33 netifaces==0.10.9 18:46:33 niet==1.4.2 18:46:33 nodeenv==1.3.5 18:46:33 oauth2client==4.1.3 18:46:33 oauthlib==3.1.0 18:46:33 openstacksdk==0.50.0 18:46:33 os-client-config==2.1.0 18:46:33 os-service-types==1.7.0 18:46:33 osc-lib==2.2.1 18:46:33 oslo.config==8.3.2 18:46:33 oslo.context==3.1.1 18:46:33 oslo.i18n==5.0.1 18:46:33 oslo.log==4.4.0 18:46:33 oslo.serialization==4.0.1 18:46:33 oslo.utils==4.6.0 18:46:33 packaging==20.4 18:46:33 pbr==5.4.4 18:46:33 pluggy==0.13.1 18:46:33 prettytable==0.7.2 18:46:33 py==1.9.0 18:46:33 pyasn1==0.4.8 18:46:33 pyasn1-modules==0.2.8 18:46:33 pycparser==2.20 18:46:33 pygerrit2==2.0.10 18:46:33 PyGithub==1.46 18:46:33 pyinotify==0.9.6 18:46:33 PyJWT==1.7.1 18:46:33 pyparsing==2.4.7 18:46:33 pyperclip==1.8.0 18:46:33 pyroute2==0.4.13 18:46:33 pyrsistent==0.15.7 18:46:33 PySocks==1.6.8 18:46:33 python-cinderclient==7.2.0 18:46:33 python-dateutil==2.8.1 18:46:33 python-heatclient==2.2.1 18:46:33 python-jenkins==1.7.0 18:46:33 python-keystoneclient==4.1.1 18:46:33 python-magnumclient==3.2.1 18:46:33 python-novaclient==17.2.1 18:46:33 python-openstackclient==5.3.1 18:46:33 python-swiftclient==3.10.1 18:46:33 pytz==2020.1 18:46:33 PyYAML==5.3 18:46:33 requests==2.23.0 18:46:33 requests-oauthlib==1.3.0 18:46:33 requestsexceptions==1.4.0 18:46:33 rfc3986==1.4.0 18:46:33 rpm==4.11.3 18:46:33 rsa==4.0 18:46:33 ruamel.yaml==0.16.10 18:46:33 ruamel.yaml.clib==0.2.0 18:46:33 s3transfer==0.3.3 18:46:33 shade==1.27.2 18:46:33 simplejson==3.17.2 18:46:33 six==1.14.0 18:46:33 soupsieve==2.0 18:46:33 stevedore==3.2.2 18:46:33 tabulate==0.8.6 18:46:33 toml==0.10.0 18:46:33 tox==3.20.0 18:46:33 tqdm==4.43.0 18:46:33 urllib3==1.25.8 18:46:33 virtualenv==20.0.31 18:46:33 wcwidth==0.2.5 18:46:33 websocket-client==0.57.0 18:46:33 wrapt==1.12.1 18:46:33 xdg==3.0.2 18:46:33 xmltodict==0.12.0 18:46:33 yq==2.11.1 18:46:33 zipp==3.2.0 18:46:33 Cache entry deserialization failed, entry ignored 18:46:33 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. 18:46:33 Python 2.7.5 18:46:33 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 18:46:33 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. 18:46:33 ansible==2.9.7 18:46:33 Babel==0.9.6 18:46:33 backports.ssl-match-hostname==3.5.0.1 18:46:33 beautifulsoup4==4.4.1 18:46:33 bodhi==2.11.0 18:46:33 bodhi-client==2.11.0 18:46:33 CCColUtils==1.4 18:46:33 cffi==1.6.0 18:46:33 chardet==2.2.1 18:46:33 click==6.7 18:46:33 cloud-init==18.5 18:46:33 configobj==4.7.2 18:46:33 cryptography==1.7.2 18:46:33 decorator==3.4.0 18:46:33 distro==1.2.0 18:46:33 enum34==1.0.4 18:46:33 fedpkg==1.38 18:46:33 futures==3.1.1 18:46:33 gitdb==0.6.4 18:46:33 GitPython==1.0.1 18:46:33 html5lib==0.999 18:46:33 httplib2==0.9.2 18:46:33 idna==2.4 18:46:33 iniparse==0.4 18:46:33 ipaddress==1.0.16 18:46:33 IPy==0.75 18:46:33 javapackages==1.0.0 18:46:33 Jinja2==2.7.2 18:46:33 jmespath==0.9.4 18:46:33 jsonpatch==1.2 18:46:33 jsonpointer==1.9 18:46:33 kerberos==1.1 18:46:33 kitchen==1.1.1 18:46:33 langtable==0.0.31 18:46:33 lockfile==0.9.1 18:46:33 lxml==3.2.1 18:46:33 MarkupSafe==0.11 18:46:33 munch==2.0.2 18:46:33 offtrac==0.1.0 18:46:33 openidc-client==0.6.0 18:46:33 packagedb-cli==2.14.1 18:46:33 paramiko==2.1.1 18:46:33 perf==0.1 18:46:33 ply==3.4 18:46:33 policycoreutils-default-encoding==0.1 18:46:33 prettytable==0.7.2 18:46:33 pyasn1==0.1.9 18:46:33 pycparser==2.14 18:46:33 pycurl==7.19.0 18:46:33 pygobject==3.22.0 18:46:33 pygpgme==0.3 18:46:33 pyliblzma==0.5.3 18:46:33 pyOpenSSL==0.13.1 18:46:33 pyparsing==1.5.6 18:46:33 pyserial==2.6 18:46:33 python-augeas==0.5.0 18:46:33 python-bugzilla==2.3.0 18:46:33 python-dateutil==1.5 18:46:33 python-fedora==0.10.0 18:46:33 python-linux-procfs==0.4.9 18:46:33 python-yubico==1.2.3 18:46:33 pyudev==0.15 18:46:33 pyusb==1.0.0b1 18:46:33 pyxattr==0.5.1 18:46:33 PyYAML==3.10 18:46:33 requests==2.6.0 18:46:33 requests-kerberos==0.7.0 18:46:33 rpkg==1.60 18:46:33 schedutils==0.4 18:46:33 seobject==0.1 18:46:33 sepolicy==1.1 18:46:33 six==1.9.0 18:46:33 smmap==0.9.0 18:46:33 urlgrabber==3.10 18:46:33 urllib3==1.10.2 18:46:33 virtualenv==15.1.0 18:46:33 yum-langpacks==0.4.2 18:46:33 yum-metadata-parser==1.1.4 [Pipeline] echo 18:46:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:46:34 ---> sudo-logs.sh 18:46:34 Archiving 'sudo' log.. [Pipeline] echo 18:46:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:46:34 ---> job-cost.sh 18:46:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V4yE 18:46:44 Cache entry deserialization failed, entry ignored 18:46:44 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:45 Cache entry deserialization failed, entry ignored 18:46:46 Cache entry deserialization failed, entry ignored 18:46:46 Cache entry deserialization failed, entry ignored 18:46:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:47:20 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. 18:47:20 18:47:20 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 18:47:20 18:47:20 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. 18:47:20 lf-activate-venv(): INFO: Adding /tmp/venv-V4yE/bin to PATH 18:47:20 INFO: No Stack... 18:47:20 INFO: Retrieving Pricing Info for: v1-standard-2 18:47:20 INFO: Archiving Costs [Pipeline] echo 18:47:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:47:21 ---> logs-deploy.sh 18:47:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-133/1 18:47:21 INFO: archiving workspace using pattern(s): 18:47:23 Archives upload complete. 18:47:23 INFO: archiving logs to Nexus