Pull request #133 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 56f7dc23c3325b967609fb8d4a44cb67c69fe60a+8d31429af90f845313e1f83db91362442934a267 (46f97269257e252ea4b7d0d002f9bc5e52d8700d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1938 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-133 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 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 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 56f7dc23c3325b967609fb8d4a44cb67c69fe60a Merge succeeded, producing 56f7dc23c3325b967609fb8d4a44cb67c69fe60a Checking out Revision 56f7dc23c3325b967609fb8d4a44cb67c69fe60a (PR-133) > git config core.sparsecheckout # timeout=10 > git checkout -f 56f7dc23c3325b967609fb8d4a44cb67c69fe60a # 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 56f7dc23c3325b967609fb8d4a44cb67c69fe60a # timeout=10 Commit message: "feat: Support array value type" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:54:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:34 ========================================================= 05:54:34 EdgeX Global Pipelines Version Info 05:54:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 14de97bef61c4a3ad4987893a50bfb286afdaff3 # timeout=10 05:54:35 ------------------- 05:54:35 stable info: 05:54:35 ------------------- 05:54:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:54:35 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:54:35 Message: update stable to v1.0.131 05:54:36 ------------------- 05:54:36 experimental info: 05:54:36 ------------------- 05:54:36 Commited By: **** collab-it+edgex@linuxfoundation.org 05:54:36 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 05:54:36 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56f7dc23c3325b967609fb8d4a44cb67c69fe60a [Pipeline] echo 05:54:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56f7dc2 [Pipeline] echo 05:54:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:40 + git log --format=format:%s -1 56f7dc23c3325b967609fb8d4a44cb67c69fe60a [Pipeline] echo 05:54:40 GIT_COMMIT: 56f7dc23c3325b967609fb8d4a44cb67c69fe60a, Commit Message: feat: Support array value type [Pipeline] echo 05:54:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:54:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:41 05:54:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:54:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:42 latest: Pulling from edgex-devops/git-semver 05:54:42 31603596830f: Pulling fs layer 05:54:42 2a8b12db71e7: Pulling fs layer 05:54:42 6ca5941a6612: Pulling fs layer 05:54:42 ecc8261a40a4: Pulling fs layer 05:54:42 ecc8261a40a4: Waiting 05:54:42 2a8b12db71e7: Verifying Checksum 05:54:42 2a8b12db71e7: Download complete 05:54:42 31603596830f: Download complete 05:54:42 ecc8261a40a4: Verifying Checksum 05:54:42 ecc8261a40a4: Download complete 05:54:42 6ca5941a6612: Verifying Checksum 05:54:42 6ca5941a6612: Download complete 05:54:42 31603596830f: Pull complete 05:54:42 2a8b12db71e7: Pull complete 05:54:43 6ca5941a6612: Pull complete 05:54:43 ecc8261a40a4: Pull complete 05:54:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:54:44 prd-centos7-docker-4c-2g-1938 does not seem to be running inside a container 05:54:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-133 -v /w/workspace/foundry_device-virtual-go_PR-133:/w/workspace/foundry_device-virtual-go_PR-133:rw,z -v /w/workspace/foundry_device-virtual-go_PR-133@tmp:/w/workspace/foundry_device-virtual-go_PR-133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:54:45 $ docker top 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:46 [ssh-agent] Looking for ssh-agent implementation... 05:54:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:46 $ docker exec 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a ssh-agent 05:54:46 SSH_AUTH_SOCK=/tmp/ssh-AQ2Q2DUKZ2ts/agent.13 05:54:46 SSH_AGENT_PID=18 05:54:46 Running ssh-add (command line suppressed) 05:54:46 Identity added: /w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_1432528546031444394.key (/w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_1432528546031444394.key) 05:54:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:47 + git describe --exact-match --tags HEAD 05:54:47 fatal: no tag exactly matches '56f7dc23c3325b967609fb8d4a44cb67c69fe60a' [Pipeline] } 05:54:47 $ docker exec --env ******** --env ******** 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a ssh-agent -k 05:54:47 unset SSH_AUTH_SOCK; 05:54:47 unset SSH_AGENT_PID; 05:54:47 echo Agent pid 18 killed; 05:54:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:54:47 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:54:47 This usually means this commit has not been tagged. [Pipeline] sshagent 05:54:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:47 [ssh-agent] Looking for ssh-agent implementation... 05:54:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:47 $ docker exec 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a ssh-agent 05:54:47 SSH_AUTH_SOCK=/tmp/ssh-lWrcBibO0lZO/agent.47 05:54:47 SSH_AGENT_PID=53 05:54:47 Running ssh-add (command line suppressed) 05:54:47 Identity added: /w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_843457980665117876.key (/w/workspace/foundry_device-virtual-go_PR-133@tmp/private_key_843457980665117876.key) 05:54:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:48 + git semver init 05:54:48 # -> Open(): unable to determine branch for HEAD 05:54:48 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.git 05:54:48 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-133 05:54:48 # $SEMVER_REMOTE_NAME = origin 05:54:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:54:48 # $SEMVER_USER_NAME = edgex-jenkins 05:54:48 # $SEMVER_BRANCH = PR-133 05:54:48 # $SEMVER_TEMP = /tmp/semver-182087206 05:54:48 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:54:48 # '/tmp/semver-182087206' -> '/w/workspace/foundry_device-virtual-go_PR-133/.semver' 05:54:48 # -> Force: false 05:54:48 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-133/.semver [Pipeline] } 05:54:48 $ docker exec --env ******** --env ******** 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a ssh-agent -k 05:54:48 unset SSH_AUTH_SOCK; 05:54:48 unset SSH_AGENT_PID; 05:54:48 echo Agent pid 53 killed; 05:54:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:49 + git semver [Pipeline] } 05:54:49 $ docker stop --time=1 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a 05:54:50 $ docker rm -f 7b053e5cdd49e5bec50241954529dcba2a778ada4d6d4d7e8a3d828e94e0c42a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:54:51 Stashed 30 file(s) [Pipeline] echo 05:54:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 05:54:51 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 05:55:07 Still waiting to schedule task 05:55:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:55:07 Still waiting to schedule task 05:55:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:57:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1939 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws 05:57:00 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 05:57:05 using credential edgex-jenkins-ssh 05:57:05 Cloning the remote Git repository 05:57:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:57:06 > git init /w/workspace/device-virtual-go/7 # timeout=10 05:57:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:57:06 > git --version # timeout=10 05:57:06 > git --version # 'git version 2.17.1' 05:57:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:57:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:57:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:07 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 56f7dc23c3325b967609fb8d4a44cb67c69fe60a 05:57:07 Merge succeeded, producing 56f7dc23c3325b967609fb8d4a44cb67c69fe60a 05:57:07 Checking out Revision 56f7dc23c3325b967609fb8d4a44cb67c69fe60a (PR-133) 05:57:07 > 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 05:57:07 > git config core.sparsecheckout # timeout=10 05:57:07 > git checkout -f 56f7dc23c3325b967609fb8d4a44cb67c69fe60a # timeout=10 05:57:07 > git remote # timeout=10 05:57:07 > git config --get remote.origin.url # timeout=10 05:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:07 > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 05:57:07 > git rev-parse HEAD^{commit} # timeout=10 05:57:07 > git config core.sparsecheckout # timeout=10 05:57:07 > git checkout -f 56f7dc23c3325b967609fb8d4a44cb67c69fe60a # timeout=10 05:57:12 Commit message: "feat: Support array value type" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:57:13 ========================================================= 05:57:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:57:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:57:14 + 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 . 05:57:15 Sending build context to Docker daemon 717.8kB 05:57:15 Step 1/8 : ARG BASE=golang:1.15-alpine 05:57:15 Step 2/8 : FROM ${BASE} 05:57:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:57:15 b538f80385f9: Pulling fs layer 05:57:15 74f711af9a0d: Pulling fs layer 05:57:15 99f96fe45779: Pulling fs layer 05:57:15 8529a6b9a6be: Pulling fs layer 05:57:15 45590311c82a: Pulling fs layer 05:57:15 69ca0ff8b7b3: Pulling fs layer 05:57:15 209524e5b208: Pulling fs layer 05:57:15 8529a6b9a6be: Waiting 05:57:15 45590311c82a: Waiting 05:57:15 69ca0ff8b7b3: Waiting 05:57:15 209524e5b208: Waiting 05:57:15 99f96fe45779: Verifying Checksum 05:57:15 99f96fe45779: Download complete 05:57:15 74f711af9a0d: Verifying Checksum 05:57:15 74f711af9a0d: Download complete 05:57:15 45590311c82a: Verifying Checksum 05:57:15 45590311c82a: Download complete 05:57:15 69ca0ff8b7b3: Verifying Checksum 05:57:15 69ca0ff8b7b3: Download complete 05:57:16 b538f80385f9: Verifying Checksum 05:57:16 b538f80385f9: Download complete 05:57:17 b538f80385f9: Pull complete 05:57:17 74f711af9a0d: Pull complete 05:57:18 99f96fe45779: Pull complete 05:57:18 209524e5b208: Verifying Checksum 05:57:18 209524e5b208: Download complete 05:57:19 8529a6b9a6be: Verifying Checksum 05:57:19 8529a6b9a6be: Download complete 05:57:29 Running on prd-centos7-docker-4c-2g-1941 in /w/workspace/foundry_device-virtual-go_PR-133 [Pipeline] { [Pipeline] ws 05:57:29 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 05:57:30 8529a6b9a6be: Pull complete 05:57:30 45590311c82a: Pull complete 05:57:31 69ca0ff8b7b3: Pull complete 05:57:32 using credential edgex-jenkins-ssh 05:57:32 Cloning the remote Git repository 05:57:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:57:32 > git init /w/workspace/device-virtual-go/7 # timeout=10 05:57:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:57:32 > git --version # timeout=10 05:57:32 > git --version # 'git version 2.16.5' 05:57:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:34 Merging remotes/origin/master commit 8d31429af90f845313e1f83db91362442934a267 into PR head commit 56f7dc23c3325b967609fb8d4a44cb67c69fe60a 05:57:34 Merge succeeded, producing 56f7dc23c3325b967609fb8d4a44cb67c69fe60a 05:57:34 Checking out Revision 56f7dc23c3325b967609fb8d4a44cb67c69fe60a (PR-133) 05:57:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:57:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:57:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:57:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:33 > 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 05:57:34 > git config core.sparsecheckout # timeout=10 05:57:34 > git checkout -f 56f7dc23c3325b967609fb8d4a44cb67c69fe60a # timeout=10 05:57:34 > git remote # timeout=10 05:57:34 > git config --get remote.origin.url # timeout=10 05:57:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:34 > git merge 8d31429af90f845313e1f83db91362442934a267 # timeout=10 05:57:34 > git rev-parse HEAD^{commit} # timeout=10 05:57:34 > git config core.sparsecheckout # timeout=10 05:57:34 > git checkout -f 56f7dc23c3325b967609fb8d4a44cb67c69fe60a # timeout=10 05:57:34 209524e5b208: Pull complete 05:57:34 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:57:34 ---> 5bddaf1c2fca 05:57:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:57:37 ---> Running in 72d5f72e9aba 05:57:37 Removing intermediate container 72d5f72e9aba 05:57:37 ---> 2aefc205646d 05:57:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:37 ---> Running in 1eeb9ff25449 05:57:38 Commit message: "feat: Support array value type" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:57:38 ========================================================= 05:57:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:57:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:57:39 + 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 . 05:57:39 Sending build context to Docker daemon 717.8kB 05:57:39 Step 1/8 : ARG BASE=golang:1.15-alpine 05:57:39 Step 2/8 : FROM ${BASE} 05:57:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:57:39 df20fa9351a1: Pulling fs layer 05:57:39 ed8968b2872e: Pulling fs layer 05:57:39 a92cc7c5fd73: Pulling fs layer 05:57:39 e871e8e8d7a9: Pulling fs layer 05:57:39 e73272ec9a57: Pulling fs layer 05:57:39 1e910a182e73: Pulling fs layer 05:57:39 4e634b169226: Pulling fs layer 05:57:39 e73272ec9a57: Waiting 05:57:39 1e910a182e73: Waiting 05:57:39 4e634b169226: Waiting 05:57:39 e871e8e8d7a9: Waiting 05:57:39 a92cc7c5fd73: Download complete 05:57:39 ed8968b2872e: Download complete 05:57:39 e73272ec9a57: Verifying Checksum 05:57:39 e73272ec9a57: Download complete 05:57:39 1e910a182e73: Download complete 05:57:39 df20fa9351a1: Verifying Checksum 05:57:39 df20fa9351a1: Download complete 05:57:40 df20fa9351a1: Pull complete 05:57:40 ed8968b2872e: Pull complete 05:57:40 Removing intermediate container 1eeb9ff25449 05:57:40 ---> f10ec9e2281b 05:57:40 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:57:40 ---> Running in 9c73b0568be9 05:57:40 a92cc7c5fd73: Pull complete 05:57:41 4e634b169226: Verifying Checksum 05:57:41 4e634b169226: Download complete 05:57:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:57:42 e871e8e8d7a9: Verifying Checksum 05:57:42 e871e8e8d7a9: Download complete 05:57:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:57:43 (1/14) Installing libmagic (5.38-r0) 05:57:44 (2/14) Installing file (5.38-r0) 05:57:44 (3/14) Installing libc-dev (0.7.2-r3) 05:57:44 (4/14) Installing g++ (9.3.0-r2) 05:57:47 e871e8e8d7a9: Pull complete 05:57:47 e73272ec9a57: Pull complete 05:57:47 1e910a182e73: Pull complete 05:57:48 (5/14) Installing fortify-headers (1.1-r0) 05:57:48 (6/14) Installing patch (2.7.6-r6) 05:57:48 (7/14) Installing build-base (0.5-r2) 05:57:48 (8/14) Installing openssh-keygen (8.3_p1-r0) 05:57:48 (9/14) Installing libedit (20191231.3.1-r0) 05:57:48 (10/14) Installing openssh-client (8.3_p1-r0) 05:57:48 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 05:57:48 (12/14) Installing openssh-server-common (8.3_p1-r0) 05:57:48 (13/14) Installing openssh-server (8.3_p1-r0) 05:57:49 (14/14) Installing openssh (8.3_p1-r0) 05:57:49 Executing busybox-1.31.1-r16.trigger 05:57:49 OK: 221 MiB in 53 packages 05:57:52 4e634b169226: Pull complete 05:57:52 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:57:52 ---> f7629b54cfaa 05:57:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:57:52 ---> Running in 165634565bfa 05:57:52 Removing intermediate container 165634565bfa 05:57:52 ---> f4e33ade38ec 05:57:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:52 ---> Running in b823a4917085 05:57:53 Removing intermediate container 9c73b0568be9 05:57:53 ---> 52553ab130f4 05:57:53 Step 6/8 : WORKDIR /device-virtual-go 05:57:53 ---> Running in 7b962c5ba715 05:57:53 Removing intermediate container 7b962c5ba715 05:57:53 ---> bf9cca6d3313 05:57:53 Step 7/8 : COPY . . 05:57:54 Removing intermediate container b823a4917085 05:57:54 ---> cc9b7e9eb853 05:57:54 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:57:54 ---> Running in ee31f48294ab 05:57:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:57:54 ---> 6e45e8d86e29 05:57:54 Step 8/8 : RUN go mod download 05:57:55 ---> Running in d4bb6e6494d9 05:57:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:57:55 (1/14) Installing libmagic (5.38-r0) 05:57:55 (2/14) Installing file (5.38-r0) 05:57:55 (3/14) Installing libc-dev (0.7.2-r3) 05:57:56 (4/14) Installing g++ (9.3.0-r2) 05:58:01 (5/14) Installing fortify-headers (1.1-r0) 05:58:01 (6/14) Installing patch (2.7.6-r6) 05:58:01 (7/14) Installing build-base (0.5-r2) 05:58:01 (8/14) Installing openssh-keygen (8.3_p1-r0) 05:58:01 (9/14) Installing libedit (20191231.3.1-r0) 05:58:01 (10/14) Installing openssh-client (8.3_p1-r0) 05:58:01 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 05:58:02 (12/14) Installing openssh-server-common (8.3_p1-r0) 05:58:02 (13/14) Installing openssh-server (8.3_p1-r0) 05:58:02 (14/14) Installing openssh (8.3_p1-r0) 05:58:02 Executing busybox-1.31.1-r16.trigger 05:58:02 OK: 237 MiB in 53 packages 05:58:05 Removing intermediate container ee31f48294ab 05:58:05 ---> ccab28b31148 05:58:05 Step 6/8 : WORKDIR /device-virtual-go 05:58:06 ---> Running in 3826076314e7 05:58:06 Removing intermediate container 3826076314e7 05:58:06 ---> eeac46262242 05:58:06 Step 7/8 : COPY . . 05:58:07 ---> 0bf7032bfe43 05:58:07 Step 8/8 : RUN go mod download 05:58:07 ---> Running in 64f144f930b4 05:58:10 Removing intermediate container d4bb6e6494d9 05:58:10 ---> 769957f73ec7 05:58:10 Successfully built 769957f73ec7 05:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:58:10 + docker inspect -f . ci-base-image-arm64 05:58:10 . [Pipeline] withDockerContainer 05:58:10 prd-ubuntu18.04-docker-arm64-4c-16g-1939 does not seem to be running inside a container 05:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:58:12 $ docker top e90131a3cc56bd7b294b903b39d4a5498265ee50db56810e0000be2af20818f7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:14 + go version 05:58:14 go version go1.15.2 linux/arm64 [Pipeline] } 05:58:14 $ docker stop --time=1 e90131a3cc56bd7b294b903b39d4a5498265ee50db56810e0000be2af20818f7 05:58:16 $ docker rm -f e90131a3cc56bd7b294b903b39d4a5498265ee50db56810e0000be2af20818f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:58:17 + docker inspect -f . ci-base-image-arm64 05:58:17 . [Pipeline] withDockerContainer 05:58:17 prd-ubuntu18.04-docker-arm64-4c-16g-1939 does not seem to be running inside a container 05:58:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:58:19 $ docker top 2daf5c0d9b210c244e3f67cb5f9e2fba9b1f372f3879f2f28ef6014b4eedd87c -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:20 + make test 05:58:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:58:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:58:22 Removing intermediate container 64f144f930b4 05:58:22 ---> bb7bfbc04a6c 05:58:22 Successfully built bb7bfbc04a6c 05:58:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:58:22 + docker inspect -f . ci-base-image-x86_64 05:58:22 . [Pipeline] withDockerContainer 05:58:22 prd-centos7-docker-4c-2g-1941 does not seem to be running inside a container 05:58:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:58:24 $ docker top c8eda0112a434519d8f57922df9b0c4a4d8740b003f4ab21cba955127e87a525 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:24 + go version 05:58:24 go version go1.15.2 linux/amd64 [Pipeline] } 05:58:24 $ docker stop --time=1 c8eda0112a434519d8f57922df9b0c4a4d8740b003f4ab21cba955127e87a525 05:58:26 $ docker rm -f c8eda0112a434519d8f57922df9b0c4a4d8740b003f4ab21cba955127e87a525 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:58:26 + docker inspect -f . ci-base-image-x86_64 05:58:26 . [Pipeline] withDockerContainer 05:58:27 prd-centos7-docker-4c-2g-1941 does not seem to be running inside a container 05:58:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:58:27 $ docker top 4e399f575b12fda527fa5242e93e2ef2a3a0b625bb3f7408a2d132f435f96e92 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:28 + make test 05:58:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:58:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:58:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:58:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.314s coverage: 64.4% of statements 05:58:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:58:44 gofmt -l . 05:58:44 [ "`gofmt -l .`" = "" ] 05:58:44 ./bin/test-attribution-txt.sh 05:58:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:58:45 Stashed 1 file(s) [Pipeline] } 05:58:45 $ docker stop --time=1 4e399f575b12fda527fa5242e93e2ef2a3a0b625bb3f7408a2d132f435f96e92 05:58:47 $ docker rm -f 4e399f575b12fda527fa5242e93e2ef2a3a0b625bb3f7408a2d132f435f96e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:53 + ls -al . 05:58:53 total 124 05:58:53 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 29 05:58 . 05:58:53 drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 05:57 .. 05:58:53 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 29 05:57 Attribution.txt 05:58:53 drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 05:57 bin 05:58:53 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 05:57 cmd 05:58:53 -rw-r--r--. 1 jenkins jenkins 47242 Sep 29 05:58 coverage.out 05:58:53 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 29 05:57 Dockerfile 05:58:53 -rw-rw-r--. 1 jenkins jenkins 957 Sep 29 05:57 Dockerfile.build 05:58:53 drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 05:57 .git 05:58:53 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 05:57 .github 05:58:53 -rw-rw-r--. 1 jenkins jenkins 258 Sep 29 05:57 .gitignore 05:58:53 -rw-r--r--. 1 jenkins jenkins 862 Sep 29 05:58 go.mod 05:58:53 -rw-r--r--. 1 jenkins jenkins 14908 Sep 29 05:58 go.sum 05:58:53 drwxrwxr-x. 3 jenkins jenkins 20 Sep 29 05:57 internal 05:58:53 -rw-rw-r--. 1 jenkins jenkins 660 Sep 29 05:57 Jenkinsfile 05:58:53 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 05:57 LICENSE 05:58:53 -rw-rw-r--. 1 jenkins jenkins 873 Sep 29 05:57 Makefile 05:58:53 -rw-rw-r--. 1 jenkins jenkins 918 Sep 29 05:57 README.md 05:58:53 drwxrwxr-x. 3 jenkins jenkins 58 Sep 29 05:57 .semver 05:58:53 -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 05:54 VERSION 05:58:53 -rw-rw-r--. 1 jenkins jenkins 235 Sep 29 05:57 version.go [Pipeline] isUnix [Pipeline] sh 05:58: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=56f7dc23c3325b967609fb8d4a44cb67c69fe60a --label arch=amd64 --label version=0.0.0 . 05:58:53 Sending build context to Docker daemon 781.8kB 05:58:53 Step 1/22 : ARG BASE=golang:1.15-alpine 05:58:53 Step 2/22 : FROM ${BASE} AS builder 05:58:53 ---> bb7bfbc04a6c 05:58:53 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:58:53 ---> Running in fd45dfa6596b 05:58:53 Removing intermediate container fd45dfa6596b 05:58:53 ---> a36b1c24e361 05:58:53 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 05:58:53 ---> Running in adf07246f76b 05:58:54 Removing intermediate container adf07246f76b 05:58:54 ---> e1ee1db6a0d6 05:58:54 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:58:54 ---> Running in 74f2b73ffa92 05:58:54 Removing intermediate container 74f2b73ffa92 05:58:54 ---> fc448131db50 05:58:54 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:54 ---> Running in 13a74bc20acb 05:58:55 Removing intermediate container 13a74bc20acb 05:58:55 ---> b623e703a6a2 05:58:55 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:58:55 ---> Running in feba1be6a9e1 05:58:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:58:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:58:56 OK: 237 MiB in 53 packages 05:58:57 Removing intermediate container feba1be6a9e1 05:58:57 ---> 979ce9f27217 05:58:57 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:58:57 ---> Running in afd35ddb7070 05:58:57 Removing intermediate container afd35ddb7070 05:58:57 ---> 36521deaee5a 05:58:57 Step 9/22 : COPY . . 05:58:58 ---> 0c3311248971 05:58:58 Step 10/22 : ARG MAKE='make build' 05:58:58 ---> Running in 53f504793b58 05:58:58 Removing intermediate container 53f504793b58 05:58:58 ---> a3cb65299c60 05:58:58 Step 11/22 : RUN $MAKE 05:58:58 ---> Running in c7326566168f 05:58:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 05:59:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:59:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.428s coverage: 64.4% of statements 05:59:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:59:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:59:11 gofmt -l . 05:59:11 [ "`gofmt -l .`" = "" ] 05:59:11 ./bin/test-attribution-txt.sh 05:59:12 Removing intermediate container c7326566168f 05:59:12 ---> 5e68e97b4e9a 05:59:12 Step 12/22 : FROM alpine 05:59:12 latest: Pulling from library/alpine 05:59:12 df20fa9351a1: Already exists 05:59:12 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:59:12 ./bin/test-go-mod-tidy.sh 05:59:12 Status: Downloaded newer image for alpine:latest 05:59:12 ---> a24bb4013296 05:59:12 Step 13/22 : ENV APP_PORT=49990 05:59:12 ---> Running in 376f59729c39 05:59:12 Removing intermediate container 376f59729c39 05:59:12 ---> 633c6d6ada74 05:59:12 Step 14/22 : EXPOSE $APP_PORT 05:59:12 ---> Running in d8bb0d8754e1 05:59:12 Removing intermediate container d8bb0d8754e1 05:59:12 ---> 5755d9710eed 05:59:12 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [Pipeline] stash 05:59:13 Warning: overwriting stash ‘coverage-report’ 05:59:13 ---> 5c7150083095 05:59:13 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 05:59:13 ---> 6fef1a11e16a 05:59:13 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 05:59:13 Stashed 1 file(s) [Pipeline] } 05:59:13 $ docker stop --time=1 2daf5c0d9b210c244e3f67cb5f9e2fba9b1f372f3879f2f28ef6014b4eedd87c 05:59:13 ---> d2195cbd79da 05:59:13 Step 18/22 : ENTRYPOINT ["/device-virtual"] 05:59:13 ---> Running in 083de9813791 05:59:14 Removing intermediate container 083de9813791 05:59:14 ---> 1122fc49e2b3 05:59:14 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:59:14 ---> Running in ef725a9f9393 05:59:14 Removing intermediate container ef725a9f9393 05:59:14 ---> 2949e23009f0 05:59:14 Step 20/22 : LABEL arch=amd64 05:59:14 ---> Running in 6f8fe64092e3 05:59:14 Removing intermediate container 6f8fe64092e3 05:59:14 ---> bc796e755857 05:59:14 Step 21/22 : LABEL git_sha=56f7dc23c3325b967609fb8d4a44cb67c69fe60a 05:59:14 ---> Running in d70f41be53d3 05:59:14 Removing intermediate container d70f41be53d3 05:59:14 ---> a3b329507119 05:59:14 Step 22/22 : LABEL version=0.0.0 05:59:15 ---> Running in 672fb0b3d29d 05:59:15 Removing intermediate container 672fb0b3d29d 05:59:15 ---> b08aaffdae7d 05:59:15 [Warning] One or more build-args [ARCH] were not consumed 05:59:15 Successfully built b08aaffdae7d 05:59:15 Successfully tagged docker-device-virtual-go:latest 05:59:16 $ docker rm -f 2daf5c0d9b210c244e3f67cb5f9e2fba9b1f372f3879f2f28ef6014b4eedd87c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 05:59:17 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 05:59:18 + ls -al . 05:59:18 total 152 05:59:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 05:59 . 05:59:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 05:57 .. 05:59:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 05:57 .git 05:59:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 05:57 .github 05:59:18 -rw-rw-r-- 1 jenkins jenkins 258 Sep 29 05:57 .gitignore 05:59:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 05:57 .semver 05:59:18 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 29 05:57 Attribution.txt 05:59:18 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 29 05:57 Dockerfile 05:59:18 -rw-rw-r-- 1 jenkins jenkins 957 Sep 29 05:57 Dockerfile.build 05:59:18 -rw-rw-r-- 1 jenkins jenkins 660 Sep 29 05:57 Jenkinsfile 05:59:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 05:57 LICENSE 05:59:18 -rw-rw-r-- 1 jenkins jenkins 873 Sep 29 05:57 Makefile 05:59:18 -rw-rw-r-- 1 jenkins jenkins 918 Sep 29 05:57 README.md 05:59:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 05:54 VERSION 05:59:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 05:57 bin 05:59:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 05:57 cmd 05:59:18 -rw-r--r-- 1 jenkins jenkins 47242 Sep 29 05:59 coverage.out 05:59:18 -rw-r--r-- 1 jenkins jenkins 862 Sep 29 05:59 go.mod 05:59:18 -rw-r--r-- 1 jenkins jenkins 14908 Sep 29 05:59 go.sum 05:59:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 05:57 internal 05:59:18 -rw-rw-r-- 1 jenkins jenkins 235 Sep 29 05:57 version.go [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 05:59:18 + 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=56f7dc23c3325b967609fb8d4a44cb67c69fe60a --label arch=arm64 --label version=0.0.0 . 05:59:18 Sending build context to Docker daemon 781.8kB 05:59:19 Step 1/22 : ARG BASE=golang:1.15-alpine 05:59:19 Step 2/22 : FROM ${BASE} AS builder 05:59:19 ---> 769957f73ec7 05:59:19 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:59:19 ---> Running in c7efd80fb980 05:59:19 Removing intermediate container c7efd80fb980 05:59:19 ---> 0cf460f0eeba 05:59:19 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 05:59:20 ---> Running in fd94861c0e5d 05:59:20 Removing intermediate container fd94861c0e5d 05:59:20 ---> 10fcd941c413 05:59:20 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:59:20 ---> Running in c0ba07c71802 05:59:20 Removing intermediate container c0ba07c71802 05:59:20 ---> 424f5f4e6a95 05:59:20 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:21 ---> Running in 239a1958641b 05:59:23 Removing intermediate container 239a1958641b 05:59:23 ---> fb8cc9e181e7 05:59:23 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:23 ---> Running in 95c3fedb47d9 05:59:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:26 OK: 221 MiB in 53 packages 05:59:27 Removing intermediate container 95c3fedb47d9 05:59:27 ---> 6d2ce974adaa 05:59:27 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:59:27 ---> Running in 7f882fc5d7a3 05:59:28 Removing intermediate container 7f882fc5d7a3 05:59:28 ---> aeccf05dde93 05:59:28 Step 9/22 : COPY . . 05:59:29 ---> d9a49dbf5dc0 05:59:29 Step 10/22 : ARG MAKE='make build' 05:59:29 ---> Running in 4dcf618666cd 05:59:29 Removing intermediate container 4dcf618666cd 05:59:29 ---> c67f02d69441 05:59:29 Step 11/22 : RUN $MAKE 05:59:29 ---> Running in a3568591d195 05:59:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:00:03 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:00:09 Removing intermediate container a3568591d195 06:00:09 ---> 9c1b3a97685d 06:00:09 Step 12/22 : FROM alpine 06:00:09 latest: Pulling from library/alpine 06:00:09 b538f80385f9: Already exists 06:00:09 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:00:09 Status: Downloaded newer image for alpine:latest 06:00:09 ---> 62ee0e9f8440 06:00:09 Step 13/22 : ENV APP_PORT=49990 06:00:09 ---> Running in f66387c98b1a 06:00:10 Removing intermediate container f66387c98b1a 06:00:10 ---> 00faea152caf 06:00:10 Step 14/22 : EXPOSE $APP_PORT 06:00:10 ---> Running in ffa546b6a11a 06:00:10 Removing intermediate container ffa546b6a11a 06:00:10 ---> 51945aba04cb 06:00:10 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:00:11 ---> ddfc324d9344 06:00:11 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:00:12 ---> 926697477ba0 06:00:12 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:00:13 ---> bde2b0f7ae11 06:00:13 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:00:13 ---> Running in bb7f7aa869a8 06:00:13 Removing intermediate container bb7f7aa869a8 06:00:13 ---> 9e78a982474d 06:00:13 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:13 ---> Running in 0ba6cd709ef2 06:00:14 Removing intermediate container 0ba6cd709ef2 06:00:14 ---> 93c571488f7d 06:00:14 Step 20/22 : LABEL arch=arm64 06:00:14 ---> Running in 874ad4e8579f 06:00:14 Removing intermediate container 874ad4e8579f 06:00:14 ---> 5c5835554888 06:00:14 Step 21/22 : LABEL git_sha=56f7dc23c3325b967609fb8d4a44cb67c69fe60a 06:00:15 ---> Running in f4f0d3a45843 06:00:15 Removing intermediate container f4f0d3a45843 06:00:15 ---> b198ec5f1a6d 06:00:15 Step 22/22 : LABEL version=0.0.0 06:00:15 ---> Running in cd3220a74a8b 06:00:16 Removing intermediate container cd3220a74a8b 06:00:16 ---> 61bd89298dce 06:00:16 [Warning] One or more build-args [ARCH] were not consumed 06:00:16 Successfully built 61bd89298dce 06:00:16 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 06:00:18 provisioning config files... 06:00:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config7649198426204864833tmp [Pipeline] { [Pipeline] sh 06:00:18 + set +x 06:00:18 + curl -s https://codecov.io/bash 06:00:18 + bash -s -- 06:00:18 06:00:18 _____ _ 06:00:18 / ____| | | 06:00:18 | | ___ __| | ___ ___ _____ __ 06:00:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:00:18 | |___| (_) | (_| | __/ (_| (_) \ V / 06:00:18 \_____\___/ \__,_|\___|\___\___/ \_/ 06:00:18 Bash-20200917-4e8f14b 06:00:18 06:00:18 06:00:18 ==> Jenkins CI detected. 06:00:18 project root: . 06:00:18 --> token set from env 06:00:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:00:18 ==> Running gcov in . (disable via -X gcov) 06:00:18 ==> Python coveragepy not found 06:00:18 ==> Searching for coverage reports in: 06:00:18 + . 06:00:18 -> Found 1 reports 06:00:18 ==> Detecting git/mercurial file structure 06:00:18 ==> Reading reports 06:00:18 + ./coverage.out bytes=47242 06:00:18 ==> Appending adjustments 06:00:18 https://docs.codecov.io/docs/fixing-reports 06:00:19 + Found adjustments 06:00:19 ==> Gzipping contents 06:00:19 ==> Uploading reports 06:00:19 url: https://codecov.io 06:00:19 query: branch=PR-133&commit=56f7dc23c3325b967609fb8d4a44cb67c69fe60a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-133%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=133&job=&cmd_args= 06:00:19 -> Pinging Codecov 06:00:19 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-133&commit=56f7dc23c3325b967609fb8d4a44cb67c69fe60a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-133%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=133&job=&cmd_args= 06:00:19 -> Uploading to 06:00:19 https://storage.googleapis.com/codecov/v4/raw/2020-09-29/5E52B4B073DB2E39498172D8E973AA87/56f7dc23c3325b967609fb8d4a44cb67c69fe60a/891f4d04-d52a-4fd7-9e97-6fe965069b3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T060019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b47b7bf01615b6cd60b77517c80cad8aaee41075dcf1b2463e5987100a021999 06:00:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:19 Dload Upload Total Spent Left Speed 06:00:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5780 0 0 100 5780 0 13846 --:--:-- --:--:-- --:--:-- 13827 100 5780 0 0 100 5780 0 13842 --:--:-- --:--:-- --:--:-- 13827 06:00:20 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/56f7dc23c3325b967609fb8d4a44cb67c69fe60a [Pipeline] } 06:00:20 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 06:00:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:23 ---> package-listing.sh 06:00:23 ++ facter osfamily 06:00:23 ++ tr '[:upper:]' '[:lower:]' 06:00:23 + OS_FAMILY=redhat 06:00:23 + workspace=/w/workspace/foundry_device-virtual-go_PR-133 06:00:23 + START_PACKAGES=/tmp/packages_start.txt 06:00:23 + END_PACKAGES=/tmp/packages_end.txt 06:00:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:23 + PACKAGES=/tmp/packages_start.txt 06:00:23 + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' 06:00:23 + PACKAGES=/tmp/packages_end.txt 06:00:23 + case "${OS_FAMILY}" in 06:00:23 + rpm -qa 06:00:23 + sort 06:00:27 + '[' -f /tmp/packages_start.txt ']' 06:00:27 + '[' -f /tmp/packages_end.txt ']' 06:00:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:00:27 + '[' /w/workspace/foundry_device-virtual-go_PR-133 ']' 06:00:27 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-133/archives/ 06:00:27 + 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 06:00:28 provisioning config files... 06:00:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-133@tmp/config4435618832975751841tmp [Pipeline] { [Pipeline] echo 06:00:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:00:28 ---> create-netrc.sh [Pipeline] } 06:00:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:00:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:00:28 ---> python-tools-install.sh 06:00:28 Generating Requirements File 06:01:50 Python 3.6.8 06:01:50 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:01:50 aiohttp==3.6.2 06:01:50 appdirs==1.4.3 06:01:50 argcomplete==1.12.1 06:01:50 aspy.yaml==1.3.0 06:01:50 async-timeout==3.0.1 06:01:50 attrs==19.3.0 06:01:50 Babel==2.8.0 06:01:50 beautifulsoup4==4.8.2 06:01:50 boto3==1.11.6 06:01:50 botocore==1.14.6 06:01:50 bs4==0.0.1 06:01:50 cachetools==4.1.1 06:01:50 certifi==2019.11.28 06:01:50 cffi==1.14.3 06:01:50 cfgv==2.0.1 06:01:50 chardet==3.0.4 06:01:50 click==7.1 06:01:50 cliff==3.4.0 06:01:50 cmd2==1.3.10 06:01:50 colorama==0.4.3 06:01:50 cryptography==3.1.1 06:01:50 debtcollector==2.2.0 06:01:50 decorator==4.4.2 06:01:50 defusedxml==0.6.0 06:01:50 Deprecated==1.2.7 06:01:50 distlib==0.3.1 06:01:50 distro==1.2.0 06:01:50 dnspython==1.16.0 06:01:50 docker==4.2.0 06:01:50 docutils==0.15.2 06:01:50 dogpile.cache==1.0.2 06:01:50 email-validator==1.0.5 06:01:50 filelock==3.0.12 06:01:50 future==0.18.2 06:01:50 google-auth==1.22.0 06:01:50 httplib2==0.17.0 06:01:50 identify==1.4.11 06:01:50 idna==2.9 06:01:50 idna-ssl==1.1.0 06:01:50 importlib-metadata==1.7.0 06:01:50 importlib-resources==1.5.0 06:01:50 iso8601==0.1.13 06:01:50 Jinja2==2.11.1 06:01:50 jmespath==0.10.0 06:01:50 jsonpatch==1.26 06:01:50 jsonpointer==2.0 06:01:50 jsonschema==3.2.0 06:01:50 keystoneauth1==4.2.1 06:01:50 kubernetes==11.0.0 06:01:50 lftools==0.34.2 06:01:50 lxml==4.5.0 06:01:50 MarkupSafe==0.23 06:01:50 msgpack==1.0.0 06:01:50 multi-key-dict==2.0.3 06:01:50 multidict==4.7.6 06:01:50 munch==2.5.0 06:01:50 netaddr==0.8.0 06:01:50 netifaces==0.10.9 06:01:50 niet==1.4.2 06:01:50 nodeenv==1.3.5 06:01:50 oauth2client==4.1.3 06:01:50 oauthlib==3.1.0 06:01:50 openstacksdk==0.50.0 06:01:50 os-client-config==2.1.0 06:01:50 os-service-types==1.7.0 06:01:50 osc-lib==2.2.1 06:01:50 oslo.config==8.3.2 06:01:50 oslo.context==3.1.1 06:01:50 oslo.i18n==5.0.1 06:01:50 oslo.log==4.4.0 06:01:50 oslo.serialization==4.0.1 06:01:50 oslo.utils==4.6.0 06:01:50 packaging==20.4 06:01:50 pbr==5.4.4 06:01:50 pluggy==0.13.1 06:01:50 prettytable==0.7.2 06:01:50 py==1.9.0 06:01:50 pyasn1==0.4.8 06:01:50 pyasn1-modules==0.2.8 06:01:50 pycparser==2.20 06:01:50 pygerrit2==2.0.10 06:01:50 PyGithub==1.46 06:01:50 pyinotify==0.9.6 06:01:50 PyJWT==1.7.1 06:01:50 pyparsing==2.4.7 06:01:50 pyperclip==1.8.0 06:01:50 pyroute2==0.4.13 06:01:50 pyrsistent==0.15.7 06:01:50 PySocks==1.6.8 06:01:50 python-cinderclient==7.2.0 06:01:50 python-dateutil==2.8.1 06:01:50 python-heatclient==2.2.1 06:01:50 python-jenkins==1.7.0 06:01:50 python-keystoneclient==4.1.1 06:01:50 python-magnumclient==3.2.1 06:01:50 python-novaclient==17.2.1 06:01:50 python-openstackclient==5.3.1 06:01:50 python-swiftclient==3.10.1 06:01:50 pytz==2020.1 06:01:50 PyYAML==5.3 06:01:50 requests==2.23.0 06:01:50 requests-oauthlib==1.3.0 06:01:50 requestsexceptions==1.4.0 06:01:50 rfc3986==1.4.0 06:01:50 rpm==4.11.3 06:01:50 rsa==4.0 06:01:50 ruamel.yaml==0.16.10 06:01:50 ruamel.yaml.clib==0.2.0 06:01:50 s3transfer==0.3.3 06:01:50 shade==1.27.2 06:01:50 simplejson==3.17.2 06:01:50 six==1.14.0 06:01:50 soupsieve==2.0 06:01:50 stevedore==3.2.2 06:01:50 tabulate==0.8.6 06:01:50 toml==0.10.0 06:01:50 tox==3.20.0 06:01:50 tqdm==4.43.0 06:01:50 typing-extensions==3.7.4.3 06:01:50 urllib3==1.25.8 06:01:50 virtualenv==20.0.31 06:01:50 wcwidth==0.2.5 06:01:50 websocket-client==0.57.0 06:01:50 wrapt==1.12.1 06:01:50 xdg==3.0.2 06:01:50 xmltodict==0.12.0 06:01:50 yarl==1.6.0 06:01:50 yq==2.11.1 06:01:50 zipp==3.2.0 06:01:50 Cache entry deserialization failed, entry ignored 06:01:50 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. 06:01:50 Python 2.7.5 06:01:50 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:01:50 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. 06:01:50 ansible==2.9.7 06:01:50 Babel==0.9.6 06:01:50 backports.ssl-match-hostname==3.5.0.1 06:01:50 beautifulsoup4==4.4.1 06:01:50 bodhi==2.11.0 06:01:50 bodhi-client==2.11.0 06:01:50 CCColUtils==1.4 06:01:50 cffi==1.6.0 06:01:50 chardet==2.2.1 06:01:50 click==6.7 06:01:50 cloud-init==18.5 06:01:50 configobj==4.7.2 06:01:50 cryptography==1.7.2 06:01:50 decorator==3.4.0 06:01:50 distro==1.2.0 06:01:50 enum34==1.0.4 06:01:50 fedpkg==1.38 06:01:50 futures==3.1.1 06:01:50 gitdb==0.6.4 06:01:50 GitPython==1.0.1 06:01:50 html5lib==0.999 06:01:50 httplib2==0.9.2 06:01:50 idna==2.4 06:01:50 iniparse==0.4 06:01:50 ipaddress==1.0.16 06:01:50 IPy==0.75 06:01:50 javapackages==1.0.0 06:01:50 Jinja2==2.7.2 06:01:50 jmespath==0.9.4 06:01:50 jsonpatch==1.2 06:01:50 jsonpointer==1.9 06:01:50 kerberos==1.1 06:01:50 kitchen==1.1.1 06:01:50 langtable==0.0.31 06:01:50 lockfile==0.9.1 06:01:50 lxml==3.2.1 06:01:50 MarkupSafe==0.11 06:01:50 munch==2.0.2 06:01:50 offtrac==0.1.0 06:01:50 openidc-client==0.6.0 06:01:50 packagedb-cli==2.14.1 06:01:50 paramiko==2.1.1 06:01:50 perf==0.1 06:01:50 ply==3.4 06:01:50 policycoreutils-default-encoding==0.1 06:01:50 prettytable==0.7.2 06:01:50 pyasn1==0.1.9 06:01:50 pycparser==2.14 06:01:50 pycurl==7.19.0 06:01:50 pygobject==3.22.0 06:01:50 pygpgme==0.3 06:01:50 pyliblzma==0.5.3 06:01:50 pyOpenSSL==0.13.1 06:01:50 pyparsing==1.5.6 06:01:50 pyserial==2.6 06:01:50 python-augeas==0.5.0 06:01:50 python-bugzilla==2.3.0 06:01:50 python-dateutil==1.5 06:01:50 python-fedora==0.10.0 06:01:50 python-linux-procfs==0.4.9 06:01:50 python-yubico==1.2.3 06:01:50 pyudev==0.15 06:01:50 pyusb==1.0.0b1 06:01:50 pyxattr==0.5.1 06:01:50 PyYAML==3.10 06:01:50 requests==2.6.0 06:01:50 requests-kerberos==0.7.0 06:01:50 rpkg==1.60 06:01:50 schedutils==0.4 06:01:50 seobject==0.1 06:01:50 sepolicy==1.1 06:01:50 six==1.9.0 06:01:50 smmap==0.9.0 06:01:50 urlgrabber==3.10 06:01:50 urllib3==1.10.2 06:01:50 virtualenv==15.1.0 06:01:50 yum-langpacks==0.4.2 06:01:50 yum-metadata-parser==1.1.4 [Pipeline] echo 06:01:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:01:51 ---> sudo-logs.sh 06:01:51 Archiving 'sudo' log.. [Pipeline] echo 06:01:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:01:51 ---> job-cost.sh 06:01:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-29DM 06:02:01 Cache entry deserialization failed, entry ignored 06:02:01 Cache entry deserialization failed, entry ignored 06:02:02 Cache entry deserialization failed, entry ignored 06:02:02 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:03 Cache entry deserialization failed, entry ignored 06:02:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:02:32 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. 06:02:32 06:02:32 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 06:02:32 06:02:32 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. 06:02:32 lf-activate-venv(): INFO: Adding /tmp/venv-29DM/bin to PATH 06:02:32 INFO: No Stack... 06:02:33 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:34 INFO: Archiving Costs [Pipeline] echo 06:02:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:35 ---> logs-deploy.sh 06:02:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-133/7 06:02:35 INFO: archiving workspace using pattern(s): 06:02:36 Archives upload complete. 06:02:36 INFO: archiving logs to Nexus