Pull request #136 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 32432350234859e57aa5f114883a5ba345eb8ad4+8d31429af90f845313e1f83db91362442934a267 (936b43616cab6dfa93b016b1c2670a81835c8be5) 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-136/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-136/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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1883 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-136 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 Merge succeeded, producing 32432350234859e57aa5f114883a5ba345eb8ad4 Checking out Revision 32432350234859e57aa5f114883a5ba345eb8ad4 (PR-136) > git config core.sparsecheckout # timeout=10 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" 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 01:01:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:01:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:01:13 ========================================================= 01:01:13 EdgeX Global Pipelines Version Info 01:01:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:01:18 ------------------- 01:01:18 stable info: 01:01:18 ------------------- 01:01:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:01:18 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 01:01:18 Message: update stable to v1.0.131 01:01:20 ------------------- 01:01:20 experimental info: 01:01:20 ------------------- 01:01:20 Commited By: **** collab-it+edgex@linuxfoundation.org 01:01:20 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 01:01:20 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:01:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:01:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:01:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:01:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:01:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:01:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:01:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 01:01:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:01:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:01:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:01:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:01:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:01:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:01:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:01:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo 01:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo 01:01:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo 01:01:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32432350234859e57aa5f114883a5ba345eb8ad4 [Pipeline] echo 01:01:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3243235 [Pipeline] echo 01:01:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:01:27 + git log --format=format:%s -1 32432350234859e57aa5f114883a5ba345eb8ad4 [Pipeline] echo 01:01:27 GIT_COMMIT: 32432350234859e57aa5f114883a5ba345eb8ad4, Commit Message: Bump modernc.org/ql from 1.0.0 to 1.1.0 [Pipeline] echo 01:01:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:01:29 01:01:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:01:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:01:30 latest: Pulling from edgex-devops/git-semver 01:01:30 31603596830f: Pulling fs layer 01:01:30 2a8b12db71e7: Pulling fs layer 01:01:30 6ca5941a6612: Pulling fs layer 01:01:30 ecc8261a40a4: Pulling fs layer 01:01:30 ecc8261a40a4: Waiting 01:01:30 2a8b12db71e7: Verifying Checksum 01:01:30 2a8b12db71e7: Download complete 01:01:31 31603596830f: Verifying Checksum 01:01:31 31603596830f: Download complete 01:01:31 ecc8261a40a4: Verifying Checksum 01:01:31 ecc8261a40a4: Download complete 01:01:31 6ca5941a6612: Verifying Checksum 01:01:31 6ca5941a6612: Download complete 01:01:32 31603596830f: Pull complete 01:01:32 2a8b12db71e7: Pull complete 01:01:35 6ca5941a6612: Pull complete 01:01:36 ecc8261a40a4: Pull complete 01:01:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:01:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:01:36 prd-centos7-docker-4c-2g-1883 does not seem to be running inside a container 01:01:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-136 -v /w/workspace/foundry_device-virtual-go_PR-136:/w/workspace/foundry_device-virtual-go_PR-136:rw,z -v /w/workspace/foundry_device-virtual-go_PR-136@tmp:/w/workspace/foundry_device-virtual-go_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:01:40 $ docker top 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:41 [ssh-agent] Looking for ssh-agent implementation... 01:01:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:42 $ docker exec 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent 01:01:42 SSH_AUTH_SOCK=/tmp/ssh-ADxYoZn3SnXx/agent.12 01:01:42 SSH_AGENT_PID=18 01:01:43 Running ssh-add (command line suppressed) 01:01:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_6293459383719810336.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_6293459383719810336.key) 01:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:44 + git describe --exact-match --tags HEAD 01:01:44 fatal: no tag exactly matches '32432350234859e57aa5f114883a5ba345eb8ad4' [Pipeline] } 01:01:44 $ docker exec --env ******** --env ******** 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent -k 01:01:44 unset SSH_AUTH_SOCK; 01:01:44 unset SSH_AGENT_PID; 01:01:44 echo Agent pid 18 killed; 01:01:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:01:44 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:01:44 This usually means this commit has not been tagged. [Pipeline] sshagent 01:01:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:45 [ssh-agent] Looking for ssh-agent implementation... 01:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:45 $ docker exec 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent 01:01:45 SSH_AUTH_SOCK=/tmp/ssh-b9qUdd1uYwo4/agent.47 01:01:45 SSH_AGENT_PID=52 01:01:45 Running ssh-add (command line suppressed) 01:01:46 Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_7036494213771381837.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_7036494213771381837.key) 01:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:46 + git semver init 01:01:47 # -> Open(): unable to determine branch for HEAD 01:01:47 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.git 01:01:47 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-136 01:01:47 # $SEMVER_REMOTE_NAME = origin 01:01:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:01:47 # $SEMVER_USER_NAME = edgex-jenkins 01:01:47 # $SEMVER_BRANCH = PR-136 01:01:47 # $SEMVER_TEMP = /tmp/semver-299051893 01:01:47 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 01:01:47 # '/tmp/semver-299051893' -> '/w/workspace/foundry_device-virtual-go_PR-136/.semver' 01:01:47 # -> Force: false 01:01:47 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.semver [Pipeline] } 01:01:48 $ docker exec --env ******** --env ******** 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 ssh-agent -k 01:01:48 unset SSH_AUTH_SOCK; 01:01:48 unset SSH_AGENT_PID; 01:01:48 echo Agent pid 52 killed; 01:01:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:50 + git semver [Pipeline] } 01:01:50 $ docker stop --time=1 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 01:01:51 $ docker rm -f 48842a065675920f8f4a50db3c004a001a1d3d553790d9c43b706b9eb945e6c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:01:53 Stashed 29 file(s) [Pipeline] echo 01:01:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:01:53 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 01:02:09 Still waiting to schedule task 01:02:09 ‘prd-centos7-docker-4c-2g-1866’ is offline; ‘prd-centos7-docker-4c-2g-1870’ is offline; ‘prd-centos7-docker-4c-2g-1874’ is offline; ‘prd-centos7-docker-4c-2g-1876’ is offline; ‘prd-centos7-docker-4c-2g-1881’ is offline; ‘prd-centos7-docker-4c-2g-1888’ is offline; ‘prd-centos7-docker-4c-2g-1894’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1868’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1877’ doesn’t have label ‘centos7-docker-4c-2g’ 01:02:09 Still waiting to schedule task 01:02:09 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:02:20 Running on prd-centos7-docker-4c-2g-1894 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws 01:02:20 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 01:02:23 using credential edgex-jenkins-ssh 01:02:23 Cloning the remote Git repository 01:02:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:02:23 > git init /w/workspace/device-virtual-go/1 # timeout=10 01:02:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:02:24 > git --version # timeout=10 01:02:24 > git --version # 'git version 2.16.5' 01:02:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:02:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:02:25 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 01:02:25 Merge succeeded, producing 32432350234859e57aa5f114883a5ba345eb8ad4 01:02:25 Checking out Revision 32432350234859e57aa5f114883a5ba345eb8ad4 (PR-136) 01:02:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:02:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:02:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:02:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:02:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:02:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:02:25 > git config core.sparsecheckout # timeout=10 01:02:25 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 01:02:25 > git remote # timeout=10 01:02:25 > git config --get remote.origin.url # timeout=10 01:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:02:25 > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 01:02:25 > git rev-parse HEAD^{commit} # timeout=10 01:02:25 > git config core.sparsecheckout # timeout=10 01:02:25 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 01:02:30 Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" 01:02:30 > git --version # timeout=10 01:02:30 > git --version # 'git version 2.16.5' 01:02:30 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:02:31 ========================================================= 01:02:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:02:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:02:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 01:02:32 Sending build context to Docker daemon 630.8kB 01:02:32 Step 1/8 : ARG BASE=golang:1.15-alpine 01:02:32 Step 2/8 : FROM ${BASE} 01:02:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:02:32 df20fa9351a1: Pulling fs layer 01:02:32 ed8968b2872e: Pulling fs layer 01:02:32 a92cc7c5fd73: Pulling fs layer 01:02:32 e871e8e8d7a9: Pulling fs layer 01:02:32 e73272ec9a57: Pulling fs layer 01:02:32 1e910a182e73: Pulling fs layer 01:02:32 4e634b169226: Pulling fs layer 01:02:32 4e634b169226: Waiting 01:02:32 e73272ec9a57: Waiting 01:02:32 e871e8e8d7a9: Waiting 01:02:32 1e910a182e73: Waiting 01:02:32 a92cc7c5fd73: Verifying Checksum 01:02:32 a92cc7c5fd73: Download complete 01:02:32 ed8968b2872e: Download complete 01:02:32 e73272ec9a57: Verifying Checksum 01:02:32 e73272ec9a57: Download complete 01:02:32 df20fa9351a1: Verifying Checksum 01:02:32 df20fa9351a1: Download complete 01:02:33 1e910a182e73: Download complete 01:02:33 df20fa9351a1: Pull complete 01:02:33 ed8968b2872e: Pull complete 01:02:33 a92cc7c5fd73: Pull complete 01:02:37 4e634b169226: Verifying Checksum 01:02:37 4e634b169226: Download complete 01:02:39 e871e8e8d7a9: Download complete 01:02:45 e871e8e8d7a9: Pull complete 01:02:45 e73272ec9a57: Pull complete 01:02:45 1e910a182e73: Pull complete 01:02:50 4e634b169226: Pull complete 01:02:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:02:50 ---> f7629b54cfaa 01:02:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:02:50 ---> Running in 09138cb3c2bb 01:02:50 Removing intermediate container 09138cb3c2bb 01:02:50 ---> 7d6be66159e9 01:02:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:02:50 ---> Running in 30c27fe85cd0 01:02:51 Removing intermediate container 30c27fe85cd0 01:02:51 ---> aa7a8ae82f3f 01:02:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:02:52 ---> Running in 0d418234df03 01:02:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:02:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:02:55 (1/14) Installing libmagic (5.38-r0) 01:02:55 (2/14) Installing file (5.38-r0) 01:02:55 (3/14) Installing libc-dev (0.7.2-r3) 01:02:55 (4/14) Installing g++ (9.3.0-r2) 01:03:08 (5/14) Installing fortify-headers (1.1-r0) 01:03:08 (6/14) Installing patch (2.7.6-r6) 01:03:08 (7/14) Installing build-base (0.5-r2) 01:03:08 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:03:08 (9/14) Installing libedit (20191231.3.1-r0) 01:03:08 (10/14) Installing openssh-client (8.3_p1-r0) 01:03:08 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:03:08 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:03:08 (13/14) Installing openssh-server (8.3_p1-r0) 01:03:08 (14/14) Installing openssh (8.3_p1-r0) 01:03:08 Executing busybox-1.31.1-r16.trigger 01:03:08 OK: 237 MiB in 53 packages 01:03:12 Removing intermediate container 0d418234df03 01:03:12 ---> ea74030da417 01:03:12 Step 6/8 : WORKDIR /device-virtual-go 01:03:12 ---> Running in b0cfcec33f6e 01:03:12 Removing intermediate container b0cfcec33f6e 01:03:12 ---> d0ebe438d62f 01:03:12 Step 7/8 : COPY . . 01:03:13 ---> 298dcff5f36a 01:03:13 Step 8/8 : RUN go mod download 01:03:13 ---> Running in d7c513a40649 01:03:35 Removing intermediate container d7c513a40649 01:03:35 ---> 48e5cafb811d 01:03:35 Successfully built 48e5cafb811d 01:03:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:03:35 + docker inspect -f . ci-base-image-x86_64 01:03:35 . [Pipeline] withDockerContainer 01:03:36 prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container 01:03:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:03:36 $ docker top 2eeae571b7ab634b48ba898cd94ebcac59af7ce998a81167e0460da7b99f6544 -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:37 + go version 01:03:37 go version go1.15.2 linux/amd64 [Pipeline] } 01:03:37 $ docker stop --time=1 2eeae571b7ab634b48ba898cd94ebcac59af7ce998a81167e0460da7b99f6544 01:03:39 $ docker rm -f 2eeae571b7ab634b48ba898cd94ebcac59af7ce998a81167e0460da7b99f6544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:03:40 + docker inspect -f . ci-base-image-x86_64 01:03:40 . [Pipeline] withDockerContainer 01:03:40 prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container 01:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:03:41 $ docker top 3e209653e25533fc88d7a6ae2ba4bddc0a0c1ab8e0a8100038017e9d9f442c4c -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:41 + make test 01:03:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:03:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:03:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:03:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 56.4% of statements 01:03:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:03:59 gofmt -l . 01:03:59 [ "`gofmt -l .`" = "" ] 01:03:59 ./bin/test-attribution-txt.sh 01:03:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:04:00 Stashed 1 file(s) [Pipeline] } 01:04:00 $ docker stop --time=1 3e209653e25533fc88d7a6ae2ba4bddc0a0c1ab8e0a8100038017e9d9f442c4c 01:04:02 $ docker rm -f 3e209653e25533fc88d7a6ae2ba4bddc0a0c1ab8e0a8100038017e9d9f442c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:04:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:04:04 + ls -al . 01:04:04 total 112 01:04:04 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 29 01:03 . 01:04:04 drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 01:02 .. 01:04:04 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 29 01:02 Attribution.txt 01:04:04 drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 01:02 bin 01:04:04 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 01:02 cmd 01:04:04 -rw-r--r--. 1 jenkins jenkins 29142 Sep 29 01:03 coverage.out 01:04:04 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 29 01:02 Dockerfile 01:04:04 -rw-rw-r--. 1 jenkins jenkins 957 Sep 29 01:02 Dockerfile.build 01:04:04 drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 01:02 .git 01:04:04 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 01:02 .github 01:04:04 -rw-rw-r--. 1 jenkins jenkins 258 Sep 29 01:02 .gitignore 01:04:04 -rw-r--r--. 1 jenkins jenkins 439 Sep 29 01:03 go.mod 01:04:04 -rw-r--r--. 1 jenkins jenkins 16621 Sep 29 01:03 go.sum 01:04:04 drwxrwxr-x. 3 jenkins jenkins 20 Sep 29 01:02 internal 01:04:04 -rw-rw-r--. 1 jenkins jenkins 660 Sep 29 01:02 Jenkinsfile 01:04:04 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 01:02 LICENSE 01:04:04 -rw-rw-r--. 1 jenkins jenkins 873 Sep 29 01:02 Makefile 01:04:04 -rw-rw-r--. 1 jenkins jenkins 918 Sep 29 01:02 README.md 01:04:04 drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 01:02 .semver 01:04:04 -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 01:01 VERSION 01:04:04 -rw-rw-r--. 1 jenkins jenkins 235 Sep 29 01:02 version.go [Pipeline] isUnix [Pipeline] sh 01:04:05 + 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=32432350234859e57aa5f114883a5ba345eb8ad4 --label arch=amd64 --label version=0.0.0 . 01:04:05 Sending build context to Docker daemon 677.9kB 01:04:05 Step 1/22 : ARG BASE=golang:1.15-alpine 01:04:05 Step 2/22 : FROM ${BASE} AS builder 01:04:05 ---> 48e5cafb811d 01:04:05 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 01:04:05 ---> Running in 7d7f1e19b8f4 01:04:05 Removing intermediate container 7d7f1e19b8f4 01:04:05 ---> defcb1351d0d 01:04:05 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 01:04:05 ---> Running in 84478ad54dc2 01:04:05 Removing intermediate container 84478ad54dc2 01:04:05 ---> 667ca28edf50 01:04:05 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 01:04:05 ---> Running in 738d3645ec1e 01:04:05 Removing intermediate container 738d3645ec1e 01:04:05 ---> c79a7471813a 01:04:05 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:04:06 ---> Running in d329a71ca1ca 01:04:07 Removing intermediate container d329a71ca1ca 01:04:07 ---> 8dcbb215091c 01:04:07 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:07 ---> Running in a9f4dff1ab45 01:04:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:04:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:04:08 OK: 237 MiB in 53 packages 01:04:09 Removing intermediate container a9f4dff1ab45 01:04:09 ---> 2efb569886c2 01:04:09 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 01:04:09 ---> Running in 2ac4038fe303 01:04:09 Removing intermediate container 2ac4038fe303 01:04:09 ---> 4512713ff60c 01:04:09 Step 9/22 : COPY . . 01:04:10 ---> fabb3aa31fde 01:04:10 Step 10/22 : ARG MAKE='make build' 01:04:10 ---> Running in 70bfabefe3ae 01:04:10 Removing intermediate container 70bfabefe3ae 01:04:10 ---> f8673e53ed84 01:04:10 Step 11/22 : RUN $MAKE 01:04:10 ---> Running in c4b39d0e5418 01:04:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:04:20 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:04:25 Removing intermediate container c4b39d0e5418 01:04:25 ---> 8a6809e6919d 01:04:25 Step 12/22 : FROM alpine 01:04:25 latest: Pulling from library/alpine 01:04:25 df20fa9351a1: Already exists 01:04:25 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:04:25 Status: Downloaded newer image for alpine:latest 01:04:25 ---> a24bb4013296 01:04:25 Step 13/22 : ENV APP_PORT=49990 01:04:25 ---> Running in 60969140f684 01:04:25 Removing intermediate container 60969140f684 01:04:25 ---> c231edf0c141 01:04:25 Step 14/22 : EXPOSE $APP_PORT 01:04:25 ---> Running in 5bd2fecaeee6 01:04:25 Removing intermediate container 5bd2fecaeee6 01:04:25 ---> 614c4b5dd105 01:04:25 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 01:04:26 ---> b22b52b1b0ed 01:04:26 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 01:04:26 ---> 217d4702ea49 01:04:26 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 01:04:27 ---> 5378a6c22a2c 01:04:27 Step 18/22 : ENTRYPOINT ["/device-virtual"] 01:04:27 ---> Running in a96f978fdaaa 01:04:27 Removing intermediate container a96f978fdaaa 01:04:27 ---> 60669d25c334 01:04:27 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:04:27 ---> Running in 6534731e4ac9 01:04:27 Removing intermediate container 6534731e4ac9 01:04:27 ---> c27085dddf27 01:04:27 Step 20/22 : LABEL arch=amd64 01:04:27 ---> Running in 3f1e2f5d57d7 01:04:27 Removing intermediate container 3f1e2f5d57d7 01:04:27 ---> 146ae38926c2 01:04:27 Step 21/22 : LABEL git_sha=32432350234859e57aa5f114883a5ba345eb8ad4 01:04:27 ---> Running in 2fe2b885d74e 01:04:27 Removing intermediate container 2fe2b885d74e 01:04:27 ---> 9ba166c005ab 01:04:27 Step 22/22 : LABEL version=0.0.0 01:04:27 ---> Running in c21339d46e03 01:04:28 Removing intermediate container c21339d46e03 01:04:28 ---> 36c8864ea209 01:04:28 [Warning] One or more build-args [ARCH] were not consumed 01:04:28 Successfully built 36c8864ea209 01:04:28 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:04:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1898 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws 01:04:31 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 01:04:37 using credential edgex-jenkins-ssh 01:04:37 Cloning the remote Git repository 01:04:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:04:37 > git init /w/workspace/device-virtual-go/1 # timeout=10 01:04:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:04:37 > git --version # timeout=10 01:04:37 > git --version # 'git version 2.17.1' 01:04:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:04:38 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 32432350234859e57aa5f114883a5ba345eb8ad4 01:04:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:04:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:04:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:04:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:04:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:04:38 > git config core.sparsecheckout # timeout=10 01:04:38 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 01:04:39 Merge succeeded, producing 32432350234859e57aa5f114883a5ba345eb8ad4 01:04:39 Checking out Revision 32432350234859e57aa5f114883a5ba345eb8ad4 (PR-136) 01:04:38 > git remote # timeout=10 01:04:39 > git config --get remote.origin.url # timeout=10 01:04:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:39 > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 01:04:39 > git rev-parse HEAD^{commit} # timeout=10 01:04:39 > git config core.sparsecheckout # timeout=10 01:04:39 > git checkout -f 32432350234859e57aa5f114883a5ba345eb8ad4 # timeout=10 01:04:43 Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" 01:04:43 > git --version # timeout=10 01:04:43 > git --version # 'git version 2.17.1' 01:04:43 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:04:44 ========================================================= 01:04:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:04:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:04: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 . 01:04:46 Sending build context to Docker daemon 630.8kB 01:04:46 Step 1/8 : ARG BASE=golang:1.15-alpine 01:04:46 Step 2/8 : FROM ${BASE} 01:04:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:04:47 b538f80385f9: Pulling fs layer 01:04:47 74f711af9a0d: Pulling fs layer 01:04:47 99f96fe45779: Pulling fs layer 01:04:47 8529a6b9a6be: Pulling fs layer 01:04:47 45590311c82a: Pulling fs layer 01:04:47 69ca0ff8b7b3: Pulling fs layer 01:04:47 209524e5b208: Pulling fs layer 01:04:47 8529a6b9a6be: Waiting 01:04:47 45590311c82a: Waiting 01:04:47 69ca0ff8b7b3: Waiting 01:04:47 209524e5b208: Waiting 01:04:47 99f96fe45779: Verifying Checksum 01:04:47 99f96fe45779: Download complete 01:04:47 74f711af9a0d: Verifying Checksum 01:04:47 74f711af9a0d: Download complete 01:04:47 45590311c82a: Verifying Checksum 01:04:47 45590311c82a: Download complete 01:04:47 69ca0ff8b7b3: Verifying Checksum 01:04:47 69ca0ff8b7b3: Download complete 01:04:47 b538f80385f9: Download complete 01:04:48 b538f80385f9: Pull complete 01:04:48 74f711af9a0d: Pull complete 01:04:49 99f96fe45779: Pull complete 01:04:49 209524e5b208: Verifying Checksum 01:04:49 209524e5b208: Download complete 01:04:50 8529a6b9a6be: Verifying Checksum 01:04:50 8529a6b9a6be: Download complete 01:05:00 8529a6b9a6be: Pull complete 01:05:01 45590311c82a: Pull complete 01:05:01 69ca0ff8b7b3: Pull complete 01:05:05 209524e5b208: Pull complete 01:05:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:05:05 ---> 5bddaf1c2fca 01:05:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:05:07 ---> Running in 06f754d24afe 01:05:08 Removing intermediate container 06f754d24afe 01:05:08 ---> bfd7d02e6f7a 01:05:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:05:08 ---> Running in 8b8ff494608a 01:05:10 Removing intermediate container 8b8ff494608a 01:05:10 ---> a3c341675ff2 01:05:10 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:05:10 ---> Running in 001d060184a7 01:05:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:05:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:05:13 (1/14) Installing libmagic (5.38-r0) 01:05:14 (2/14) Installing file (5.38-r0) 01:05:14 (3/14) Installing libc-dev (0.7.2-r3) 01:05:14 (4/14) Installing g++ (9.3.0-r2) 01:05:19 (5/14) Installing fortify-headers (1.1-r0) 01:05:19 (6/14) Installing patch (2.7.6-r6) 01:05:19 (7/14) Installing build-base (0.5-r2) 01:05:19 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:05:20 (9/14) Installing libedit (20191231.3.1-r0) 01:05:20 (10/14) Installing openssh-client (8.3_p1-r0) 01:05:20 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:05:20 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:05:20 (13/14) Installing openssh-server (8.3_p1-r0) 01:05:21 (14/14) Installing openssh (8.3_p1-r0) 01:05:21 Executing busybox-1.31.1-r16.trigger 01:05:21 OK: 221 MiB in 53 packages 01:05:25 Removing intermediate container 001d060184a7 01:05:25 ---> 38bc925e60e1 01:05:25 Step 6/8 : WORKDIR /device-virtual-go 01:05:25 ---> Running in c76ad8951471 01:05:25 Removing intermediate container c76ad8951471 01:05:25 ---> 5c2ba02ba1ea 01:05:25 Step 7/8 : COPY . . 01:05:26 ---> 70286faabbe1 01:05:26 Step 8/8 : RUN go mod download 01:05:26 ---> Running in f24e90069a54 01:05:53 Removing intermediate container f24e90069a54 01:05:53 ---> 811ee782c6fe 01:05:53 Successfully built 811ee782c6fe 01:05:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:05:54 + docker inspect -f . ci-base-image-arm64 01:05:54 . [Pipeline] withDockerContainer 01:05:54 prd-ubuntu18.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container 01:05:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:05:56 $ docker top 2b3833e8da9ee5acf279de6c2e4032ef08a59b722fab545f27058f92c8ce5972 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:58 + go version 01:05:58 go version go1.15.2 linux/arm64 [Pipeline] } 01:05:58 $ docker stop --time=1 2b3833e8da9ee5acf279de6c2e4032ef08a59b722fab545f27058f92c8ce5972 01:05:59 $ docker rm -f 2b3833e8da9ee5acf279de6c2e4032ef08a59b722fab545f27058f92c8ce5972 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:06:01 + docker inspect -f . ci-base-image-arm64 01:06:01 . [Pipeline] withDockerContainer 01:06:01 prd-ubuntu18.04-docker-arm64-4c-16g-1898 does not seem to be running inside a container 01:06:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:06:03 $ docker top 31d545324cbfa4e20c5b7d9c13d16c8d319825c36ae691db00e0784ef2699894 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:05 + make test 01:06:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:06:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:06:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:06:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.650s coverage: 56.4% of statements 01:06:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:06:54 gofmt -l . 01:06:54 [ "`gofmt -l .`" = "" ] 01:06:54 ./bin/test-attribution-txt.sh 01:06:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:06:55 Warning: overwriting stash ‘coverage-report’ 01:06:56 Stashed 1 file(s) [Pipeline] } 01:06:56 $ docker stop --time=1 31d545324cbfa4e20c5b7d9c13d16c8d319825c36ae691db00e0784ef2699894 01:06:58 $ docker rm -f 31d545324cbfa4e20c5b7d9c13d16c8d319825c36ae691db00e0784ef2699894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:00 + ls -al . 01:07:00 total 140 01:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:06 . 01:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 01:04 .. 01:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 01:04 .git 01:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:04 .github 01:07:00 -rw-rw-r-- 1 jenkins jenkins 258 Sep 29 01:04 .gitignore 01:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:04 .semver 01:07:00 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 29 01:04 Attribution.txt 01:07:00 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 29 01:04 Dockerfile 01:07:00 -rw-rw-r-- 1 jenkins jenkins 957 Sep 29 01:04 Dockerfile.build 01:07:00 -rw-rw-r-- 1 jenkins jenkins 660 Sep 29 01:04 Jenkinsfile 01:07:00 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 01:04 LICENSE 01:07:00 -rw-rw-r-- 1 jenkins jenkins 873 Sep 29 01:04 Makefile 01:07:00 -rw-rw-r-- 1 jenkins jenkins 918 Sep 29 01:04 README.md 01:07:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 01:01 VERSION 01:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 01:04 bin 01:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:04 cmd 01:07:00 -rw-r--r-- 1 jenkins jenkins 29142 Sep 29 01:06 coverage.out 01:07:00 -rw-r--r-- 1 jenkins jenkins 439 Sep 29 01:06 go.mod 01:07:00 -rw-r--r-- 1 jenkins jenkins 16621 Sep 29 01:06 go.sum 01:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 01:04 internal 01:07:00 -rw-rw-r-- 1 jenkins jenkins 235 Sep 29 01:04 version.go [Pipeline] isUnix [Pipeline] sh 01:07:00 + 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=32432350234859e57aa5f114883a5ba345eb8ad4 --label arch=arm64 --label version=0.0.0 . 01:07:01 Sending build context to Docker daemon 677.9kB 01:07:01 Step 1/22 : ARG BASE=golang:1.15-alpine 01:07:01 Step 2/22 : FROM ${BASE} AS builder 01:07:01 ---> 811ee782c6fe 01:07:01 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 01:07:01 ---> Running in 6c103969e831 01:07:01 Removing intermediate container 6c103969e831 01:07:01 ---> d56ca02bdd41 01:07:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 01:07:02 ---> Running in edae3eeb4631 01:07:02 Removing intermediate container edae3eeb4631 01:07:02 ---> d8c86bc218e6 01:07:02 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 01:07:02 ---> Running in 4494badd6ace 01:07:02 Removing intermediate container 4494badd6ace 01:07:02 ---> 3f96d320807e 01:07:02 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:03 ---> Running in dc867e83cea8 01:07:05 Removing intermediate container dc867e83cea8 01:07:05 ---> 83edae3777ac 01:07:05 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:05 ---> Running in 41e892b30c57 01:07:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:07:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:07:08 OK: 221 MiB in 53 packages 01:07:09 Removing intermediate container 41e892b30c57 01:07:09 ---> 7aa612004fdb 01:07:09 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 01:07:09 ---> Running in a606d5b5e0ae 01:07:09 Removing intermediate container a606d5b5e0ae 01:07:09 ---> ea62789235c3 01:07:09 Step 9/22 : COPY . . 01:07:10 ---> 75685fc6dc7f 01:07:10 Step 10/22 : ARG MAKE='make build' 01:07:11 ---> Running in 6d3295a9fda1 01:07:11 Removing intermediate container 6d3295a9fda1 01:07:11 ---> d633d9f7b496 01:07:11 Step 11/22 : RUN $MAKE 01:07:11 ---> Running in 96be190e4680 01:07:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:07:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:07:50 Removing intermediate container 96be190e4680 01:07:50 ---> f6806717a713 01:07:50 Step 12/22 : FROM alpine 01:07:51 latest: Pulling from library/alpine 01:07:51 b538f80385f9: Already exists 01:07:51 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:07:51 Status: Downloaded newer image for alpine:latest 01:07:51 ---> 62ee0e9f8440 01:07:51 Step 13/22 : ENV APP_PORT=49990 01:07:51 ---> Running in 8acf139b9e35 01:07:51 Removing intermediate container 8acf139b9e35 01:07:51 ---> a91476c1b4be 01:07:51 Step 14/22 : EXPOSE $APP_PORT 01:07:52 ---> Running in 5b55097d347f 01:07:52 Removing intermediate container 5b55097d347f 01:07:52 ---> 05844e380ee5 01:07:52 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 01:07:53 ---> 15e6af7c93e2 01:07:53 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 01:07:54 ---> d1254b092717 01:07:54 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 01:07:55 ---> e0924faf9888 01:07:55 Step 18/22 : ENTRYPOINT ["/device-virtual"] 01:07:55 ---> Running in 00a209956bd7 01:07:56 Removing intermediate container 00a209956bd7 01:07:56 ---> dbc791951558 01:07:56 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:07:56 ---> Running in b2d9d275fc8d 01:07:56 Removing intermediate container b2d9d275fc8d 01:07:56 ---> ddc684d7be01 01:07:56 Step 20/22 : LABEL arch=arm64 01:07:56 ---> Running in 203f2dce10a0 01:07:57 Removing intermediate container 203f2dce10a0 01:07:57 ---> d300bb153036 01:07:57 Step 21/22 : LABEL git_sha=32432350234859e57aa5f114883a5ba345eb8ad4 01:07:57 ---> Running in db3cb88c6671 01:07:57 Removing intermediate container db3cb88c6671 01:07:57 ---> 2671504cb0ac 01:07:57 Step 22/22 : LABEL version=0.0.0 01:07:57 ---> Running in d09be2e92a00 01:07:58 Removing intermediate container d09be2e92a00 01:07:58 ---> 92dd62662cb3 01:07:58 [Warning] One or more build-args [ARCH] were not consumed 01:07:58 Successfully built 92dd62662cb3 01:07:58 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 01:08:01 provisioning config files... 01:08:01 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config2246671808654592902tmp [Pipeline] { [Pipeline] sh 01:08:01 + set +x 01:08:01 + curl -s https://codecov.io/bash 01:08:01 + bash -s -- 01:08:01 01:08:01 _____ _ 01:08:01 / ____| | | 01:08:01 | | ___ __| | ___ ___ _____ __ 01:08:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:08:01 | |___| (_) | (_| | __/ (_| (_) \ V / 01:08:01 \_____\___/ \__,_|\___|\___\___/ \_/ 01:08:01 Bash-20200917-4e8f14b 01:08:01 01:08:01 01:08:01 ==> Jenkins CI detected. 01:08:01 project root: . 01:08:01 --> token set from env 01:08:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:08:01 ==> Running gcov in . (disable via -X gcov) 01:08:01 ==> Python coveragepy not found 01:08:01 ==> Searching for coverage reports in: 01:08:01 + . 01:08:01 -> Found 1 reports 01:08:01 ==> Detecting git/mercurial file structure 01:08:01 ==> Reading reports 01:08:01 + ./coverage.out bytes=29142 01:08:01 ==> Appending adjustments 01:08:01 https://docs.codecov.io/docs/fixing-reports 01:08:02 + Found adjustments 01:08:02 ==> Gzipping contents 01:08:02 ==> Uploading reports 01:08:02 url: https://codecov.io 01:08:02 query: branch=PR-136&commit=32432350234859e57aa5f114883a5ba345eb8ad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= 01:08:02 -> Pinging Codecov 01:08:02 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-136&commit=32432350234859e57aa5f114883a5ba345eb8ad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= 01:08:03 -> Uploading to 01:08:03 https://storage.googleapis.com/codecov/v4/raw/2020-09-29/5E52B4B073DB2E39498172D8E973AA87/32432350234859e57aa5f114883a5ba345eb8ad4/1f8418bb-6d81-4c4f-bcf9-a9f1b00de4d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T010802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f1869bc5e60ca6af5cf850dbc7e5e387c400aa4c7b014262a39a76ca05835d0 01:08:03 % Total % Received % Xferd Average Speed Time Time Time Current 01:08:03 Dload Upload Total Spent Left Speed 01:08:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3704 0 0 100 3704 0 8103 --:--:-- --:--:-- --:--:-- 8105 100 3704 0 0 100 3704 0 8098 --:--:-- --:--:-- --:--:-- 8087 01:08:03 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/32432350234859e57aa5f114883a5ba345eb8ad4 [Pipeline] } 01:08:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:08:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:08:08 ---> package-listing.sh 01:08:08 ++ facter osfamily 01:08:08 ++ tr '[:upper:]' '[:lower:]' 01:08:08 + OS_FAMILY=redhat 01:08:08 + workspace=/w/workspace/foundry_device-virtual-go_PR-136 01:08:08 + START_PACKAGES=/tmp/packages_start.txt 01:08:08 + END_PACKAGES=/tmp/packages_end.txt 01:08:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:08:08 + PACKAGES=/tmp/packages_start.txt 01:08:08 + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' 01:08:08 + PACKAGES=/tmp/packages_end.txt 01:08:08 + case "${OS_FAMILY}" in 01:08:08 + rpm -qa 01:08:08 + sort 01:08:11 + '[' -f /tmp/packages_start.txt ']' 01:08:11 + '[' -f /tmp/packages_end.txt ']' 01:08:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:08:11 + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' 01:08:11 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-136/archives/ 01:08:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-136/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:12 provisioning config files... 01:08:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config439505586383162371tmp [Pipeline] { [Pipeline] echo 01:08:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:08:12 ---> create-netrc.sh [Pipeline] } 01:08:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:08:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:08:13 ---> python-tools-install.sh 01:08:13 Generating Requirements File 01:09:50 Python 3.6.8 01:09:50 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 01:09:51 aiohttp==3.6.2 01:09:51 appdirs==1.4.3 01:09:51 argcomplete==1.12.1 01:09:51 aspy.yaml==1.3.0 01:09:51 async-timeout==3.0.1 01:09:51 attrs==19.3.0 01:09:51 Babel==2.8.0 01:09:51 beautifulsoup4==4.8.2 01:09:51 boto3==1.11.6 01:09:51 botocore==1.14.6 01:09:51 bs4==0.0.1 01:09:51 cachetools==4.1.1 01:09:51 certifi==2019.11.28 01:09:51 cffi==1.14.3 01:09:51 cfgv==2.0.1 01:09:51 chardet==3.0.4 01:09:51 click==7.1 01:09:51 cliff==3.4.0 01:09:51 cmd2==1.3.10 01:09:51 colorama==0.4.3 01:09:51 cryptography==3.1.1 01:09:51 debtcollector==2.2.0 01:09:51 decorator==4.4.2 01:09:51 defusedxml==0.6.0 01:09:51 Deprecated==1.2.7 01:09:51 distlib==0.3.1 01:09:51 distro==1.2.0 01:09:51 dnspython==1.16.0 01:09:51 docker==4.2.0 01:09:51 docutils==0.15.2 01:09:51 dogpile.cache==1.0.2 01:09:51 email-validator==1.0.5 01:09:51 filelock==3.0.12 01:09:51 future==0.18.2 01:09:51 google-auth==1.22.0 01:09:51 httplib2==0.17.0 01:09:51 identify==1.4.11 01:09:51 idna==2.9 01:09:51 idna-ssl==1.1.0 01:09:51 importlib-metadata==1.7.0 01:09:51 importlib-resources==1.5.0 01:09:51 iso8601==0.1.13 01:09:51 Jinja2==2.11.1 01:09:51 jmespath==0.10.0 01:09:51 jsonpatch==1.26 01:09:51 jsonpointer==2.0 01:09:51 jsonschema==3.2.0 01:09:51 keystoneauth1==4.2.1 01:09:51 kubernetes==11.0.0 01:09:51 lftools==0.34.2 01:09:51 lxml==4.5.0 01:09:51 MarkupSafe==0.23 01:09:51 msgpack==1.0.0 01:09:51 multi-key-dict==2.0.3 01:09:51 multidict==4.7.6 01:09:51 munch==2.5.0 01:09:51 netaddr==0.8.0 01:09:51 netifaces==0.10.9 01:09:51 niet==1.4.2 01:09:51 nodeenv==1.3.5 01:09:51 oauth2client==4.1.3 01:09:51 oauthlib==3.1.0 01:09:51 openstacksdk==0.50.0 01:09:51 os-client-config==2.1.0 01:09:51 os-service-types==1.7.0 01:09:51 osc-lib==2.2.1 01:09:51 oslo.config==8.3.2 01:09:51 oslo.context==3.1.1 01:09:51 oslo.i18n==5.0.1 01:09:51 oslo.log==4.4.0 01:09:51 oslo.serialization==4.0.1 01:09:51 oslo.utils==4.6.0 01:09:51 packaging==20.4 01:09:51 pbr==5.4.4 01:09:51 pluggy==0.13.1 01:09:51 prettytable==0.7.2 01:09:51 py==1.9.0 01:09:51 pyasn1==0.4.8 01:09:51 pyasn1-modules==0.2.8 01:09:51 pycparser==2.20 01:09:51 pygerrit2==2.0.10 01:09:51 PyGithub==1.46 01:09:51 pyinotify==0.9.6 01:09:51 PyJWT==1.7.1 01:09:51 pyparsing==2.4.7 01:09:51 pyperclip==1.8.0 01:09:51 pyroute2==0.4.13 01:09:51 pyrsistent==0.15.7 01:09:51 PySocks==1.6.8 01:09:51 python-cinderclient==7.2.0 01:09:51 python-dateutil==2.8.1 01:09:51 python-heatclient==2.2.1 01:09:51 python-jenkins==1.7.0 01:09:51 python-keystoneclient==4.1.1 01:09:51 python-magnumclient==3.2.1 01:09:51 python-novaclient==17.2.1 01:09:51 python-openstackclient==5.3.1 01:09:51 python-swiftclient==3.10.1 01:09:51 pytz==2020.1 01:09:51 PyYAML==5.3 01:09:51 requests==2.23.0 01:09:51 requests-oauthlib==1.3.0 01:09:51 requestsexceptions==1.4.0 01:09:51 rfc3986==1.4.0 01:09:51 rpm==4.11.3 01:09:51 rsa==4.0 01:09:51 ruamel.yaml==0.16.10 01:09:51 ruamel.yaml.clib==0.2.0 01:09:51 s3transfer==0.3.3 01:09:51 shade==1.27.2 01:09:51 simplejson==3.17.2 01:09:51 six==1.14.0 01:09:51 soupsieve==2.0 01:09:51 stevedore==3.2.2 01:09:51 tabulate==0.8.6 01:09:51 toml==0.10.0 01:09:51 tox==3.20.0 01:09:51 tqdm==4.43.0 01:09:51 typing-extensions==3.7.4.3 01:09:51 urllib3==1.25.8 01:09:51 virtualenv==20.0.31 01:09:51 wcwidth==0.2.5 01:09:51 websocket-client==0.57.0 01:09:51 wrapt==1.12.1 01:09:51 xdg==3.0.2 01:09:51 xmltodict==0.12.0 01:09:51 yarl==1.6.0 01:09:51 yq==2.11.1 01:09:51 zipp==3.2.0 01:09:53 Cache entry deserialization failed, entry ignored 01:09:56 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 01:10:00 Python 2.7.5 01:10:00 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 01:10:01 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 01:10:01 ansible==2.9.7 01:10:01 Babel==0.9.6 01:10:01 backports.ssl-match-hostname==3.5.0.1 01:10:01 beautifulsoup4==4.4.1 01:10:01 bodhi==2.11.0 01:10:01 bodhi-client==2.11.0 01:10:01 CCColUtils==1.4 01:10:01 cffi==1.6.0 01:10:01 chardet==2.2.1 01:10:01 click==6.7 01:10:01 cloud-init==18.5 01:10:01 configobj==4.7.2 01:10:01 cryptography==1.7.2 01:10:01 decorator==3.4.0 01:10:01 distro==1.2.0 01:10:01 enum34==1.0.4 01:10:01 fedpkg==1.38 01:10:01 futures==3.1.1 01:10:01 gitdb==0.6.4 01:10:01 GitPython==1.0.1 01:10:01 html5lib==0.999 01:10:01 httplib2==0.9.2 01:10:01 idna==2.4 01:10:01 iniparse==0.4 01:10:01 ipaddress==1.0.16 01:10:01 IPy==0.75 01:10:01 javapackages==1.0.0 01:10:01 Jinja2==2.7.2 01:10:01 jmespath==0.9.4 01:10:01 jsonpatch==1.2 01:10:01 jsonpointer==1.9 01:10:01 kerberos==1.1 01:10:01 kitchen==1.1.1 01:10:01 langtable==0.0.31 01:10:01 lockfile==0.9.1 01:10:01 lxml==3.2.1 01:10:01 MarkupSafe==0.11 01:10:01 munch==2.0.2 01:10:01 offtrac==0.1.0 01:10:01 openidc-client==0.6.0 01:10:01 packagedb-cli==2.14.1 01:10:01 paramiko==2.1.1 01:10:01 perf==0.1 01:10:01 ply==3.4 01:10:01 policycoreutils-default-encoding==0.1 01:10:01 prettytable==0.7.2 01:10:01 pyasn1==0.1.9 01:10:01 pycparser==2.14 01:10:01 pycurl==7.19.0 01:10:01 pygobject==3.22.0 01:10:01 pygpgme==0.3 01:10:01 pyliblzma==0.5.3 01:10:01 pyOpenSSL==0.13.1 01:10:01 pyparsing==1.5.6 01:10:01 pyserial==2.6 01:10:01 python-augeas==0.5.0 01:10:01 python-bugzilla==2.3.0 01:10:01 python-dateutil==1.5 01:10:01 python-fedora==0.10.0 01:10:01 python-linux-procfs==0.4.9 01:10:01 python-yubico==1.2.3 01:10:01 pyudev==0.15 01:10:01 pyusb==1.0.0b1 01:10:01 pyxattr==0.5.1 01:10:01 PyYAML==3.10 01:10:01 requests==2.6.0 01:10:01 requests-kerberos==0.7.0 01:10:01 rpkg==1.60 01:10:01 schedutils==0.4 01:10:01 seobject==0.1 01:10:01 sepolicy==1.1 01:10:01 six==1.9.0 01:10:01 smmap==0.9.0 01:10:01 urlgrabber==3.10 01:10:01 urllib3==1.10.2 01:10:01 virtualenv==15.1.0 01:10:01 yum-langpacks==0.4.2 01:10:01 yum-metadata-parser==1.1.4 [Pipeline] echo 01:10:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:10:01 ---> sudo-logs.sh 01:10:01 Archiving 'sudo' log.. [Pipeline] echo 01:10:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:10:02 ---> job-cost.sh 01:10:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qfdj 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:17 Cache entry deserialization failed, entry ignored 01:10:18 Cache entry deserialization failed, entry ignored 01:10:18 Cache entry deserialization failed, entry ignored 01:10:18 Cache entry deserialization failed, entry ignored 01:10:18 Cache entry deserialization failed, entry ignored 01:10:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:11:01 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 01:11:01 01:11:01 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 01:11:01 01:11:01 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 01:11:01 lf-activate-venv(): INFO: Adding /tmp/venv-qfdj/bin to PATH 01:11:01 INFO: No Stack... 01:11:01 INFO: Retrieving Pricing Info for: v1-standard-2 01:11:01 INFO: Archiving Costs [Pipeline] echo 01:11:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:11:02 ---> logs-deploy.sh 01:11:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-136/1 01:11:02 INFO: archiving workspace using pattern(s): 01:11:04 Archives upload complete. 01:11:04 INFO: archiving logs to Nexus