Pull request #143 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 5333790cbfc620bb38957914a0d65453366236ce rather than 1077bc0d486aaaea129445cc6271f3400f62c692 Obtained Jenkinsfile from 5333790cbfc620bb38957914a0d65453366236ce 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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-143/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-143/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 f3f382fce060f16c10d6f597981912fab355381a 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-9365 in /w/workspace/foundry_device-virtual-go_PR-143 [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-143 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 1077bc0d486aaaea129445cc6271f3400f62c692 Merge succeeded, producing 1077bc0d486aaaea129445cc6271f3400f62c692 Checking out Revision 1077bc0d486aaaea129445cc6271f3400f62c692 (PR-143) > 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/143/head:refs/remotes/origin/PR-143 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # 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 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:17:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:17:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:17:31 ========================================================= 02:17:31 EdgeX Global Pipelines Version Info 02:17:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:17:33 ------------------- 02:17:33 stable info: 02:17:33 ------------------- 02:17:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:17:33 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 02:17:33 Message: update stable to v1.0.148 02:17:34 ------------------- 02:17:34 experimental info: 02:17:34 ------------------- 02:17:34 Commited By: **** collab-it+edgex@linuxfoundation.org 02:17:34 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 02:17:34 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:17:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:17:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:17:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:17:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:17:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:17:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:17:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo 02:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo 02:17:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo 02:17:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1077bc0d486aaaea129445cc6271f3400f62c692 [Pipeline] echo 02:17:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1077bc0 [Pipeline] echo 02:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:17:40 + git log --format=format:%s -1 1077bc0d486aaaea129445cc6271f3400f62c692 [Pipeline] echo 02:17:40 GIT_COMMIT: 1077bc0d486aaaea129445cc6271f3400f62c692, Commit Message: refactor: Upgrade SDK to v1.2.4-dev.34 [Pipeline] echo 02:17:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:17:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:17:41 02:17:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:17:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:17:42 latest: Pulling from edgex-devops/git-semver 02:17:42 31603596830f: Pulling fs layer 02:17:42 2a8b12db71e7: Pulling fs layer 02:17:42 6ca5941a6612: Pulling fs layer 02:17:42 ecc8261a40a4: Pulling fs layer 02:17:42 ecc8261a40a4: Waiting 02:17:42 2a8b12db71e7: Verifying Checksum 02:17:42 2a8b12db71e7: Download complete 02:17:42 ecc8261a40a4: Verifying Checksum 02:17:42 ecc8261a40a4: Download complete 02:17:42 31603596830f: Verifying Checksum 02:17:42 31603596830f: Download complete 02:17:42 6ca5941a6612: Verifying Checksum 02:17:42 6ca5941a6612: Download complete 02:17:43 31603596830f: Pull complete 02:17:43 2a8b12db71e7: Pull complete 02:17:45 6ca5941a6612: Pull complete 02:17:45 ecc8261a40a4: Pull complete 02:17:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:17:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:17:45 prd-centos7-docker-4c-2g-9365 does not seem to be running inside a container 02:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-143 -v /w/workspace/foundry_device-virtual-go_PR-143:/w/workspace/foundry_device-virtual-go_PR-143:rw,z -v /w/workspace/foundry_device-virtual-go_PR-143@tmp:/w/workspace/foundry_device-virtual-go_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:17:48 $ docker top 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:17:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:17:49 [ssh-agent] Looking for ssh-agent implementation... 02:17:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:17:49 $ docker exec 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent 02:17:49 SSH_AUTH_SOCK=/tmp/ssh-7TgDzeuJztYX/agent.12 02:17:49 SSH_AGENT_PID=17 02:17:49 Running ssh-add (command line suppressed) 02:17:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-143@tmp/private_key_5459020367279851691.key (/w/workspace/foundry_device-virtual-go_PR-143@tmp/private_key_5459020367279851691.key) 02:17:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:17:50 + git tag --points-at HEAD [Pipeline] } 02:17:50 $ docker exec --env ******** --env ******** 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent -k 02:17:50 unset SSH_AUTH_SOCK; 02:17:50 unset SSH_AGENT_PID; 02:17:50 echo Agent pid 17 killed; 02:17:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:17:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:17:51 [ssh-agent] Looking for ssh-agent implementation... 02:17:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:17:51 $ docker exec 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent 02:17:51 SSH_AUTH_SOCK=/tmp/ssh-FHnpxLBNg0lt/agent.47 02:17:51 SSH_AGENT_PID=52 02:17:51 Running ssh-add (command line suppressed) 02:17:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-143@tmp/private_key_356558835138111012.key (/w/workspace/foundry_device-virtual-go_PR-143@tmp/private_key_356558835138111012.key) 02:17:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:17:52 + git semver init 02:17:52 # -> Open(): unable to determine branch for HEAD 02:17:52 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-143/.git 02:17:52 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-143 02:17:52 # $SEMVER_REMOTE_NAME = origin 02:17:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:17:52 # $SEMVER_USER_NAME = edgex-jenkins 02:17:52 # $SEMVER_BRANCH = PR-143 02:17:52 # $SEMVER_TEMP = /tmp/semver-630508786 02:17:52 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:17:53 # '/tmp/semver-630508786' -> '/w/workspace/foundry_device-virtual-go_PR-143/.semver' 02:17:53 # -> Force: false 02:17:53 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-143/.semver [Pipeline] } 02:17:53 $ docker exec --env ******** --env ******** 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent -k 02:17:53 unset SSH_AUTH_SOCK; 02:17:53 unset SSH_AGENT_PID; 02:17:53 echo Agent pid 52 killed; 02:17:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:17:54 + git semver [Pipeline] } 02:17:54 $ docker stop --time=1 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 02:17:55 $ docker rm -f 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 [Pipeline] // withDockerContainer [Pipeline] sh 02:17:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:17:57 Stashed 1 file(s) [Pipeline] echo 02:17:57 [edgeXSemver]: initialized semver on 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 02:18:12 Still waiting to schedule task 02:18:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:18:12 Still waiting to schedule task 02:18:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:19:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9366 in /w/workspace/foundry_device-virtual-go_PR-143 [Pipeline] { [Pipeline] ws 02:19:51 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 02:19:57 using credential edgex-jenkins-ssh 02:19:57 Cloning the remote Git repository 02:19:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:19:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 02:19:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:19:57 > git --version # timeout=10 02:19:57 > git --version # 'git version 2.17.1' 02:19:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:19:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:19:59 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 1077bc0d486aaaea129445cc6271f3400f62c692 02:19:59 Merge succeeded, producing 1077bc0d486aaaea129445cc6271f3400f62c692 02:19:59 Checking out Revision 1077bc0d486aaaea129445cc6271f3400f62c692 (PR-143) 02:19:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:19:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:19:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:19:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:19:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:19:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:19:59 > git config core.sparsecheckout # timeout=10 02:19:59 > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 02:19:59 > git remote # timeout=10 02:19:59 > git config --get remote.origin.url # timeout=10 02:19:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:19:59 > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 02:19:59 > git rev-parse HEAD^{commit} # timeout=10 02:19:59 > git config core.sparsecheckout # timeout=10 02:19:59 > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 02:20:03 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 02:20:03 > git --version # timeout=10 02:20:03 > git --version # 'git version 2.17.1' 02:20:03 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:20:05 ========================================================= 02:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:20:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:20:06 + 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 . 02:20:06 Sending build context to Docker daemon 469.5kB 02:20:06 Step 1/8 : ARG BASE=golang:1.15-alpine 02:20:06 Step 2/8 : FROM ${BASE} 02:20:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:20:07 b538f80385f9: Pulling fs layer 02:20:07 74f711af9a0d: Pulling fs layer 02:20:07 99f96fe45779: Pulling fs layer 02:20:07 8529a6b9a6be: Pulling fs layer 02:20:07 45590311c82a: Pulling fs layer 02:20:07 69ca0ff8b7b3: Pulling fs layer 02:20:07 209524e5b208: Pulling fs layer 02:20:07 8529a6b9a6be: Waiting 02:20:07 45590311c82a: Waiting 02:20:07 209524e5b208: Waiting 02:20:07 69ca0ff8b7b3: Waiting 02:20:07 99f96fe45779: Verifying Checksum 02:20:07 99f96fe45779: Download complete 02:20:07 74f711af9a0d: Download complete 02:20:07 45590311c82a: Download complete 02:20:07 69ca0ff8b7b3: Download complete 02:20:07 b538f80385f9: Verifying Checksum 02:20:07 b538f80385f9: Download complete 02:20:08 b538f80385f9: Pull complete 02:20:08 74f711af9a0d: Pull complete 02:20:09 99f96fe45779: Pull complete 02:20:10 209524e5b208: Verifying Checksum 02:20:10 209524e5b208: Download complete 02:20:11 8529a6b9a6be: Verifying Checksum 02:20:11 8529a6b9a6be: Download complete 02:20:21 8529a6b9a6be: Pull complete 02:20:21 45590311c82a: Pull complete 02:20:22 69ca0ff8b7b3: Pull complete 02:20:26 209524e5b208: Pull complete 02:20:26 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:20:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:20:26 ---> 5bddaf1c2fca 02:20:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:20:29 ---> Running in 0f51d7732c9f 02:20:29 Removing intermediate container 0f51d7732c9f 02:20:29 ---> 5f6b50510b4c 02:20:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:20:29 ---> Running in b7c3e5d5707f 02:20:31 Removing intermediate container b7c3e5d5707f 02:20:31 ---> c64af9edfa08 02:20:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:20:32 ---> Running in 5bfac2dc26a6 02:20:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:20:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:20:43 (1/14) Installing libmagic (5.38-r0) 02:20:44 (2/14) Installing file (5.38-r0) 02:20:44 (3/14) Installing libc-dev (0.7.2-r3) 02:20:44 (4/14) Installing g++ (9.3.0-r2) 02:20:51 Running on prd-centos7-docker-4c-2g-9367 in /w/workspace/foundry_device-virtual-go_PR-143 [Pipeline] { [Pipeline] ws 02:20:51 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 02:20:55 using credential edgex-jenkins-ssh 02:20:55 Cloning the remote Git repository 02:20:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:20:55 > git init /w/workspace/device-virtual-go/1 # timeout=10 02:20:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:20:55 > git --version # timeout=10 02:20:55 > git --version # 'git version 2.16.5' 02:20:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:20:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:20:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:20:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:20:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:20:56 Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 1077bc0d486aaaea129445cc6271f3400f62c692 02:20:56 Merge succeeded, producing 1077bc0d486aaaea129445cc6271f3400f62c692 02:20:56 Checking out Revision 1077bc0d486aaaea129445cc6271f3400f62c692 (PR-143) 02:20:56 > git config core.sparsecheckout # timeout=10 02:20:56 > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 02:20:56 > git remote # timeout=10 02:20:56 > git config --get remote.origin.url # timeout=10 02:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:20:56 > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 02:20:56 > git rev-parse HEAD^{commit} # timeout=10 02:20:56 > git config core.sparsecheckout # timeout=10 02:20:56 > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 02:21:00 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 02:21:00 > git --version # timeout=10 02:21:00 > git --version # 'git version 2.16.5' 02:21:00 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:21:01 ========================================================= 02:21:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:21:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:21:02 + 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 . 02:21:02 Sending build context to Docker daemon 469.5kB 02:21:02 Step 1/8 : ARG BASE=golang:1.15-alpine 02:21:02 Step 2/8 : FROM ${BASE} 02:21:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:21:02 df20fa9351a1: Pulling fs layer 02:21:02 ed8968b2872e: Pulling fs layer 02:21:02 a92cc7c5fd73: Pulling fs layer 02:21:02 e871e8e8d7a9: Pulling fs layer 02:21:02 e73272ec9a57: Pulling fs layer 02:21:02 1e910a182e73: Pulling fs layer 02:21:02 4e634b169226: Pulling fs layer 02:21:02 e73272ec9a57: Waiting 02:21:02 1e910a182e73: Waiting 02:21:02 4e634b169226: Waiting 02:21:02 e871e8e8d7a9: Waiting 02:21:02 a92cc7c5fd73: Verifying Checksum 02:21:02 a92cc7c5fd73: Download complete 02:21:02 ed8968b2872e: Verifying Checksum 02:21:02 ed8968b2872e: Download complete 02:21:02 e73272ec9a57: Verifying Checksum 02:21:02 e73272ec9a57: Download complete 02:21:02 1e910a182e73: Verifying Checksum 02:21:02 1e910a182e73: Download complete 02:21:03 df20fa9351a1: Verifying Checksum 02:21:03 df20fa9351a1: Download complete 02:21:03 df20fa9351a1: Pull complete 02:21:03 ed8968b2872e: Pull complete 02:21:03 a92cc7c5fd73: Pull complete 02:21:18 4e634b169226: Verifying Checksum 02:21:18 4e634b169226: Download complete 02:21:26 e871e8e8d7a9: Verifying Checksum 02:21:26 e871e8e8d7a9: Download complete 02:21:31 e871e8e8d7a9: Pull complete 02:21:31 e73272ec9a57: Pull complete 02:21:31 1e910a182e73: Pull complete 02:21:35 4e634b169226: Pull complete 02:21:35 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:21:35 ---> f7629b54cfaa 02:21:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:21:35 ---> Running in 2bbbcaca2ff2 02:21:35 Removing intermediate container 2bbbcaca2ff2 02:21:35 ---> a270dc41b7dd 02:21:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:21:35 ---> Running in 8af10d15a9f4 02:21:36 Removing intermediate container 8af10d15a9f4 02:21:36 ---> 7eb1e206c10c 02:21:36 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:21:36 ---> Running in f3511341e6f7 02:21:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:21:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:21:47 (1/14) Installing libmagic (5.38-r0) 02:21:50 (2/14) Installing file (5.38-r0) 02:21:50 (3/14) Installing libc-dev (0.7.2-r3) 02:21:51 (4/14) Installing g++ (9.3.0-r2) 02:23:06 (5/14) Installing fortify-headers (1.1-r0) 02:23:06 (6/14) Installing patch (2.7.6-r6) 02:23:06 (7/14) Installing build-base (0.5-r2) 02:23:06 (8/14) Installing openssh-keygen (8.3_p1-r0) 02:23:06 (9/14) Installing libedit (20191231.3.1-r0) 02:23:06 (10/14) Installing openssh-client (8.3_p1-r0) 02:23:14 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 02:23:14 (12/14) Installing openssh-server-common (8.3_p1-r0) 02:23:14 (13/14) Installing openssh-server (8.3_p1-r0) 02:23:16 (14/14) Installing openssh (8.3_p1-r0) 02:23:18 Executing busybox-1.31.1-r16.trigger 02:23:18 OK: 221 MiB in 53 packages 02:23:22 Removing intermediate container 5bfac2dc26a6 02:23:22 ---> 2ff637792edf 02:23:22 Step 6/8 : WORKDIR /device-virtual-go 02:23:22 ---> Running in 7d4414ca69d3 02:23:22 Removing intermediate container 7d4414ca69d3 02:23:22 ---> bd107b961868 02:23:22 Step 7/8 : COPY . . 02:23:23 ---> 98dc17e8736a 02:23:23 Step 8/8 : RUN go mod download 02:23:24 ---> Running in 1eb118ba1b82 02:23:50 Removing intermediate container 1eb118ba1b82 02:23:50 ---> 7f6c48e38097 02:23:50 Successfully built 7f6c48e38097 02:23:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:23:51 + docker inspect -f . ci-base-image-arm64 02:23:51 . [Pipeline] withDockerContainer 02:23:51 prd-ubuntu18.04-docker-arm64-4c-16g-9366 does not seem to be running inside a container 02:23:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:23:53 $ docker top 6efa0b419cf749b8fbf9a51647a672d3087670b5a203fc0da9722d5d1ffa0c6f -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:55 + go version 02:23:55 go version go1.15.2 linux/arm64 [Pipeline] } 02:23:55 $ docker stop --time=1 6efa0b419cf749b8fbf9a51647a672d3087670b5a203fc0da9722d5d1ffa0c6f 02:23:57 $ docker rm -f 6efa0b419cf749b8fbf9a51647a672d3087670b5a203fc0da9722d5d1ffa0c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:23:59 + docker inspect -f . ci-base-image-arm64 02:23:59 . [Pipeline] withDockerContainer 02:23:59 prd-ubuntu18.04-docker-arm64-4c-16g-9366 does not seem to be running inside a container 02:23:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:24:01 $ docker top 7486373de9b392c10a381286f918de3a937585ec96a7444e819a455344a4536c -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:02 + make test 02:24:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:24:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:24:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:24:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.511s coverage: 64.4% of statements 02:24:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:24:57 gofmt -l . 02:24:57 [ "`gofmt -l .`" = "" ] 02:24:57 ./bin/test-attribution-txt.sh 02:24:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:25:00 Stashed 1 file(s) [Pipeline] } 02:25:00 $ docker stop --time=1 7486373de9b392c10a381286f918de3a937585ec96a7444e819a455344a4536c 02:25:02 $ docker rm -f 7486373de9b392c10a381286f918de3a937585ec96a7444e819a455344a4536c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:25:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:25:05 + ls -al . 02:25:05 total 152 02:25:05 drwxrwxr-x 7 jenkins jenkins 4096 Oct 28 02:24 . 02:25:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:19 .. 02:25:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:20 .git 02:25:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:19 .github 02:25:05 -rw-rw-r-- 1 jenkins jenkins 258 Oct 28 02:19 .gitignore 02:25:05 -rw-rw-r-- 1 jenkins jenkins 6713 Oct 28 02:19 Attribution.txt 02:25:05 -rw-rw-r-- 1 jenkins jenkins 1834 Oct 28 02:19 Dockerfile 02:25:05 -rw-rw-r-- 1 jenkins jenkins 957 Oct 28 02:19 Dockerfile.build 02:25:05 -rw-rw-r-- 1 jenkins jenkins 660 Oct 28 02:19 Jenkinsfile 02:25:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 02:19 LICENSE 02:25:05 -rw-rw-r-- 1 jenkins jenkins 873 Oct 28 02:19 Makefile 02:25:05 -rw-rw-r-- 1 jenkins jenkins 918 Oct 28 02:19 README.md 02:25:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:17 VERSION 02:25:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:19 bin 02:25:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:19 cmd 02:25:05 -rw-r--r-- 1 jenkins jenkins 47242 Oct 28 02:24 coverage.out 02:25:05 -rw-r--r-- 1 jenkins jenkins 862 Oct 28 02:24 go.mod 02:25:05 -rw-r--r-- 1 jenkins jenkins 16466 Oct 28 02:24 go.sum 02:25:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:19 internal 02:25:05 -rw-rw-r-- 1 jenkins jenkins 235 Oct 28 02:19 version.go [Pipeline] isUnix [Pipeline] sh 02:25:05 + 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=1077bc0d486aaaea129445cc6271f3400f62c692 --label arch=arm64 --label version=0.0.0 . 02:25:06 Sending build context to Docker daemon 535kB 02:25:06 Step 1/22 : ARG BASE=golang:1.15-alpine 02:25:06 Step 2/22 : FROM ${BASE} AS builder 02:25:06 ---> 7f6c48e38097 02:25:06 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 02:25:06 ---> Running in d178a4e373b2 02:25:07 Removing intermediate container d178a4e373b2 02:25:07 ---> dd4c32add76a 02:25:07 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 02:25:07 ---> Running in 2ab58b26b141 02:25:07 Removing intermediate container 2ab58b26b141 02:25:07 ---> 21db51c490c0 02:25:07 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 02:25:07 ---> Running in 02529859a3e2 02:25:08 Removing intermediate container 02529859a3e2 02:25:08 ---> be1cfbd507be 02:25:08 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:08 ---> Running in 6b32019dccd9 02:25:10 Removing intermediate container 6b32019dccd9 02:25:10 ---> b37392205435 02:25:10 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:25:10 ---> Running in 5ca54eff584c 02:25:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:25:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:25:29 OK: 221 MiB in 53 packages 02:25:29 Removing intermediate container 5ca54eff584c 02:25:29 ---> 213e55ee4bf0 02:25:29 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 02:25:29 ---> Running in 70fee750d4bb 02:25:30 Removing intermediate container 70fee750d4bb 02:25:30 ---> 55fd7d90d446 02:25:30 Step 9/22 : COPY . . 02:25:30 ---> f5702b6359d7 02:25:30 Step 10/22 : ARG MAKE='make build' 02:25:30 ---> Running in 68bdefe1dbd7 02:25:31 Removing intermediate container 68bdefe1dbd7 02:25:31 ---> 3a397e307f5e 02:25:31 Step 11/22 : RUN $MAKE 02:25:31 ---> Running in ac41bece60e9 02:25:32 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 02:25:42 (5/14) Installing fortify-headers (1.1-r0) 02:25:42 (6/14) Installing patch (2.7.6-r6) 02:25:42 (7/14) Installing build-base (0.5-r2) 02:25:42 (8/14) Installing openssh-keygen (8.3_p1-r0) 02:25:42 (9/14) Installing libedit (20191231.3.1-r0) 02:25:42 (10/14) Installing openssh-client (8.3_p1-r0) 02:25:57 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 02:25:57 (12/14) Installing openssh-server-common (8.3_p1-r0) 02:25:57 (13/14) Installing openssh-server (8.3_p1-r0) 02:26:00 (14/14) Installing openssh (8.3_p1-r0) 02:26:04 Executing busybox-1.31.1-r16.trigger 02:26:04 OK: 237 MiB in 53 packages 02:26:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:26:06 Removing intermediate container f3511341e6f7 02:26:06 ---> 67f19d229210 02:26:06 Step 6/8 : WORKDIR /device-virtual-go 02:26:06 ---> Running in 502643c4c7b1 02:26:06 Removing intermediate container 502643c4c7b1 02:26:06 ---> 41515c842c91 02:26:06 Step 7/8 : COPY . . 02:26:07 ---> eea2fd851f79 02:26:07 Step 8/8 : RUN go mod download 02:26:07 ---> Running in 56e23c04d060 02:26:12 Removing intermediate container ac41bece60e9 02:26:12 ---> f06bccd93cd3 02:26:12 Step 12/22 : FROM alpine 02:26:14 latest: Pulling from library/alpine 02:26:15 5f621e34cdf4: Pulling fs layer 02:26:15 5f621e34cdf4: Verifying Checksum 02:26:15 5f621e34cdf4: Download complete 02:26:15 5f621e34cdf4: Pull complete 02:26:15 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 02:26:15 Status: Downloaded newer image for alpine:latest 02:26:15 ---> 2e77e061c27f 02:26:15 Step 13/22 : ENV APP_PORT=49990 02:26:15 ---> Running in 635a2a8d9667 02:26:16 Removing intermediate container 635a2a8d9667 02:26:16 ---> c6c3802b17e9 02:26:16 Step 14/22 : EXPOSE $APP_PORT 02:26:16 ---> Running in 50f3258e9e08 02:26:17 Removing intermediate container 50f3258e9e08 02:26:17 ---> 0d20cd35a6d0 02:26:17 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 02:26:18 ---> 124b74a594c8 02:26:18 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 02:26:19 ---> 70f73e6cc9b9 02:26:19 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 02:26:20 ---> a3b6fd10cc7a 02:26:20 Step 18/22 : ENTRYPOINT ["/device-virtual"] 02:26:20 ---> Running in fcf21c9ef199 02:26:20 Removing intermediate container fcf21c9ef199 02:26:20 ---> 1964466093fd 02:26:20 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:26:20 ---> Running in 5dd6248e5b5b 02:26:20 Removing intermediate container 5dd6248e5b5b 02:26:20 ---> 81d59f8b94c8 02:26:20 Step 20/22 : LABEL arch=arm64 02:26:21 ---> Running in cd0f02d395a3 02:26:21 Removing intermediate container cd0f02d395a3 02:26:21 ---> ec3ab7a19c2d 02:26:21 Step 21/22 : LABEL git_sha=1077bc0d486aaaea129445cc6271f3400f62c692 02:26:21 ---> Running in 4ef31e13ab1d 02:26:22 Removing intermediate container 4ef31e13ab1d 02:26:22 ---> 5001a2c3a148 02:26:22 Step 22/22 : LABEL version=0.0.0 02:26:22 ---> Running in 0ff2f610bbe9 02:26:22 Removing intermediate container 0ff2f610bbe9 02:26:22 ---> 76ca89ff95cb 02:26:22 [Warning] One or more build-args [ARCH] were not consumed 02:26:22 Successfully built 76ca89ff95cb 02:26:22 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] } 02:26:29 Removing intermediate container 56e23c04d060 02:26:29 ---> 2b2ade356f3c 02:26:29 Successfully built 2b2ade356f3c 02:26:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:26:30 + docker inspect -f . ci-base-image-x86_64 02:26:30 . [Pipeline] withDockerContainer 02:26:30 prd-centos7-docker-4c-2g-9367 does not seem to be running inside a container 02:26:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:26:31 $ docker top 32aa4e0a84c906b1db2310ca2bbfe98df36fb91cd717a84f606a68b84055122b -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:32 + go version 02:26:32 go version go1.15.2 linux/amd64 [Pipeline] } 02:26:32 $ docker stop --time=1 32aa4e0a84c906b1db2310ca2bbfe98df36fb91cd717a84f606a68b84055122b 02:26:34 $ docker rm -f 32aa4e0a84c906b1db2310ca2bbfe98df36fb91cd717a84f606a68b84055122b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:35 + docker inspect -f . ci-base-image-x86_64 02:26:35 . [Pipeline] withDockerContainer 02:26:35 prd-centos7-docker-4c-2g-9367 does not seem to be running inside a container 02:26:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:26:36 $ docker top a5623331a60fdf07c595e50ba6901b8b337c2ed2b51dd6daf790bff0241cadcb -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:37 + make test 02:26:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:26:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:26:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:26:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.336s coverage: 64.4% of statements 02:26:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:26:57 gofmt -l . 02:26:57 [ "`gofmt -l .`" = "" ] 02:26:57 ./bin/test-attribution-txt.sh 02:26:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:26:58 Warning: overwriting stash ‘coverage-report’ 02:26:58 Stashed 1 file(s) [Pipeline] } 02:26:58 $ docker stop --time=1 a5623331a60fdf07c595e50ba6901b8b337c2ed2b51dd6daf790bff0241cadcb 02:27:00 $ docker rm -f a5623331a60fdf07c595e50ba6901b8b337c2ed2b51dd6daf790bff0241cadcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:27:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:27:02 + ls -al . 02:27:02 total 128 02:27:02 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 28 02:26 . 02:27:02 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 02:20 .. 02:27:02 -rw-rw-r--. 1 jenkins jenkins 6713 Oct 28 02:20 Attribution.txt 02:27:02 drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 02:20 bin 02:27:02 drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 02:20 cmd 02:27:02 -rw-r--r--. 1 jenkins jenkins 47242 Oct 28 02:26 coverage.out 02:27:02 -rw-rw-r--. 1 jenkins jenkins 1834 Oct 28 02:20 Dockerfile 02:27:02 -rw-rw-r--. 1 jenkins jenkins 957 Oct 28 02:20 Dockerfile.build 02:27:02 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 02:21 .git 02:27:02 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 02:20 .github 02:27:02 -rw-rw-r--. 1 jenkins jenkins 258 Oct 28 02:20 .gitignore 02:27:02 -rw-r--r--. 1 jenkins jenkins 862 Oct 28 02:26 go.mod 02:27:02 -rw-r--r--. 1 jenkins jenkins 16466 Oct 28 02:26 go.sum 02:27:02 drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 02:20 internal 02:27:02 -rw-rw-r--. 1 jenkins jenkins 660 Oct 28 02:20 Jenkinsfile 02:27:02 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 02:20 LICENSE 02:27:02 -rw-rw-r--. 1 jenkins jenkins 873 Oct 28 02:20 Makefile 02:27:02 -rw-rw-r--. 1 jenkins jenkins 918 Oct 28 02:20 README.md 02:27:02 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 02:17 VERSION 02:27:02 -rw-rw-r--. 1 jenkins jenkins 235 Oct 28 02:20 version.go [Pipeline] isUnix [Pipeline] sh 02:27:03 + 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=1077bc0d486aaaea129445cc6271f3400f62c692 --label arch=amd64 --label version=0.0.0 . 02:27:03 Sending build context to Docker daemon 535kB 02:27:03 Step 1/22 : ARG BASE=golang:1.15-alpine 02:27:03 Step 2/22 : FROM ${BASE} AS builder 02:27:03 ---> 2b2ade356f3c 02:27:03 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 02:27:03 ---> Running in 971f5252561e 02:27:03 Removing intermediate container 971f5252561e 02:27:03 ---> d2774dfaade6 02:27:03 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 02:27:03 ---> Running in fd749f051066 02:27:03 Removing intermediate container fd749f051066 02:27:03 ---> a4064dd1742e 02:27:03 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 02:27:03 ---> Running in 2fc56fdf248e 02:27:04 Removing intermediate container 2fc56fdf248e 02:27:04 ---> 601aec11de13 02:27:04 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:27:04 ---> Running in dfa1e74fd7e1 02:27:05 Removing intermediate container dfa1e74fd7e1 02:27:05 ---> efca2540d84c 02:27:05 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:27:05 ---> Running in 9d0102731852 02:27:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:27:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:27:28 OK: 237 MiB in 53 packages 02:27:28 Removing intermediate container 9d0102731852 02:27:28 ---> 3197d365c636 02:27:28 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 02:27:28 ---> Running in e67d19382b57 02:27:28 Removing intermediate container e67d19382b57 02:27:28 ---> 8df8116fd963 02:27:28 Step 9/22 : COPY . . 02:27:28 ---> 589a0c53dbf2 02:27:28 Step 10/22 : ARG MAKE='make build' 02:27:28 ---> Running in 19848a93fd1f 02:27:28 Removing intermediate container 19848a93fd1f 02:27:28 ---> 183b0de2a4c7 02:27:28 Step 11/22 : RUN $MAKE 02:27:28 ---> Running in 6cea25dd8d3f 02:27:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 02:27:41 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:27:44 Removing intermediate container 6cea25dd8d3f 02:27:44 ---> 177feffb51c3 02:27:44 Step 12/22 : FROM alpine 02:27:44 latest: Pulling from library/alpine 02:27:44 188c0c94c7c5: Pulling fs layer 02:27:44 188c0c94c7c5: Verifying Checksum 02:27:44 188c0c94c7c5: Download complete 02:27:45 188c0c94c7c5: Pull complete 02:27:45 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 02:27:45 Status: Downloaded newer image for alpine:latest 02:27:45 ---> d6e46aa2470d 02:27:45 Step 13/22 : ENV APP_PORT=49990 02:27:45 ---> Running in ee1d48a62a19 02:27:45 Removing intermediate container ee1d48a62a19 02:27:45 ---> d56ee55209dd 02:27:45 Step 14/22 : EXPOSE $APP_PORT 02:27:45 ---> Running in 6b6c99e6a40a 02:27:45 Removing intermediate container 6b6c99e6a40a 02:27:45 ---> 2cea0ead7a1b 02:27:45 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 02:27:46 ---> 8e9f759f8f7f 02:27:46 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 02:27:46 ---> 0eaf7bdf7880 02:27:46 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 02:27:46 ---> 54f9aebf1cbe 02:27:46 Step 18/22 : ENTRYPOINT ["/device-virtual"] 02:27:46 ---> Running in 8a20ebc883ec 02:27:46 Removing intermediate container 8a20ebc883ec 02:27:46 ---> f34f533a92bd 02:27:46 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:27:46 ---> Running in da848632f3cf 02:27:46 Removing intermediate container da848632f3cf 02:27:46 ---> c91c55b0b2cd 02:27:46 Step 20/22 : LABEL arch=amd64 02:27:47 ---> Running in 2bb477dcc24e 02:27:47 Removing intermediate container 2bb477dcc24e 02:27:47 ---> cd75b03a127f 02:27:47 Step 21/22 : LABEL git_sha=1077bc0d486aaaea129445cc6271f3400f62c692 02:27:47 ---> Running in 1ed0efdac3cb 02:27:47 Removing intermediate container 1ed0efdac3cb 02:27:47 ---> dabb2b188f24 02:27:47 Step 22/22 : LABEL version=0.0.0 02:27:47 ---> Running in a2d4ba76f0a0 02:27:47 Removing intermediate container a2d4ba76f0a0 02:27:47 ---> b40361ac5d1e 02:27:47 [Warning] One or more build-args [ARCH] were not consumed 02:27:47 Successfully built b40361ac5d1e 02:27:47 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:27:50 provisioning config files... 02:27:50 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-143@tmp/config8813121314639635437tmp [Pipeline] { [Pipeline] sh 02:27:51 + set +x 02:27:51 + bash -s -- 02:27:51 + curl -s https://codecov.io/bash 02:27:51 02:27:51 _____ _ 02:27:51 / ____| | | 02:27:51 | | ___ __| | ___ ___ _____ __ 02:27:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:27:51 | |___| (_) | (_| | __/ (_| (_) \ V / 02:27:51 \_____\___/ \__,_|\___|\___\___/ \_/ 02:27:51 Bash-20201009-048fee3 02:27:51 02:27:51 02:27:51 ==> Jenkins CI detected. 02:27:51 project root: . 02:27:51 --> token set from env 02:27:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:27:51 ==> Running gcov in . (disable via -X gcov) 02:27:51 ==> Python coveragepy not found 02:27:51 ==> Searching for coverage reports in: 02:27:51 + . 02:27:51 -> Found 1 reports 02:27:51 ==> Detecting git/mercurial file structure 02:27:51 ==> Reading reports 02:27:51 + ./coverage.out bytes=47242 02:27:51 ==> Appending adjustments 02:27:51 https://docs.codecov.io/docs/fixing-reports 02:27:51 + Found adjustments 02:27:51 ==> Gzipping contents 02:27:51 ==> Uploading reports 02:27:51 url: https://codecov.io 02:27:51 query: branch=PR-143&commit=1077bc0d486aaaea129445cc6271f3400f62c692&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-143%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=143&job=&cmd_args= 02:27:51 -> Pinging Codecov 02:27:51 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-143&commit=1077bc0d486aaaea129445cc6271f3400f62c692&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-143%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=143&job=&cmd_args= 02:27:52 -> Uploading to 02:27:52 02:27:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:27:52 Dload Upload Total Spent Left Speed 02:27:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:27:52 X> Failed to upload 02:27:52 ==> Uploading to Codecov 02:27:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:27:52 Dload Upload Total Spent Left Speed 02:27:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5898 100 114 100 5784 131 6653 --:--:-- --:--:-- --:--:-- 6648 02:27:52 View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1077bc0d486aaaea129445cc6271f3400f62c692 [Pipeline] } 02:27:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:27:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:27:57 ---> package-listing.sh 02:27:57 ++ facter osfamily 02:27:57 ++ tr '[:upper:]' '[:lower:]' 02:27:57 + OS_FAMILY=redhat 02:27:57 + workspace=/w/workspace/foundry_device-virtual-go_PR-143 02:27:57 + START_PACKAGES=/tmp/packages_start.txt 02:27:57 + END_PACKAGES=/tmp/packages_end.txt 02:27:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:27:57 + PACKAGES=/tmp/packages_start.txt 02:27:57 + '[' /w/workspace/foundry_device-virtual-go_PR-143 ']' 02:27:57 + PACKAGES=/tmp/packages_end.txt 02:27:57 + case "${OS_FAMILY}" in 02:27:57 + rpm -qa 02:27:57 + sort 02:28:01 + '[' -f /tmp/packages_start.txt ']' 02:28:01 + '[' -f /tmp/packages_end.txt ']' 02:28:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:28:01 + '[' /w/workspace/foundry_device-virtual-go_PR-143 ']' 02:28:01 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-143/archives/ 02:28:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-143/archives/ [Pipeline] echo 02:28:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:28:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:28:02 02:28:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:28:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:28:03 alpine: Pulling from edgex-lftools-log-publisher 02:28:03 df20fa9351a1: Pulling fs layer 02:28:03 36b3adc4ff6f: Pulling fs layer 02:28:03 8ad3a11d3b57: Pulling fs layer 02:28:03 46f8f816bc3b: Pulling fs layer 02:28:03 93b61091891f: Pulling fs layer 02:28:03 93b9cdb0e59b: Pulling fs layer 02:28:03 5e14af77c1be: Pulling fs layer 02:28:03 01666e4c0597: Pulling fs layer 02:28:03 aa168da1d23b: Pulling fs layer 02:28:03 46f8f816bc3b: Waiting 02:28:03 93b61091891f: Waiting 02:28:03 93b9cdb0e59b: Waiting 02:28:03 5e14af77c1be: Waiting 02:28:03 01666e4c0597: Waiting 02:28:03 aa168da1d23b: Waiting 02:28:03 36b3adc4ff6f: Verifying Checksum 02:28:03 36b3adc4ff6f: Download complete 02:28:03 46f8f816bc3b: Verifying Checksum 02:28:03 46f8f816bc3b: Download complete 02:28:04 93b61091891f: Verifying Checksum 02:28:04 93b61091891f: Download complete 02:28:04 93b9cdb0e59b: Verifying Checksum 02:28:04 93b9cdb0e59b: Download complete 02:28:04 5e14af77c1be: Verifying Checksum 02:28:04 5e14af77c1be: Download complete 02:28:04 01666e4c0597: Verifying Checksum 02:28:04 01666e4c0597: Download complete 02:28:05 df20fa9351a1: Verifying Checksum 02:28:05 df20fa9351a1: Download complete 02:28:06 df20fa9351a1: Pull complete 02:28:06 36b3adc4ff6f: Pull complete 02:28:10 8ad3a11d3b57: Verifying Checksum 02:28:10 8ad3a11d3b57: Download complete 02:28:11 8ad3a11d3b57: Pull complete 02:28:12 46f8f816bc3b: Pull complete 02:28:12 93b61091891f: Pull complete 02:28:12 93b9cdb0e59b: Pull complete 02:28:13 5e14af77c1be: Pull complete 02:28:13 01666e4c0597: Pull complete 02:29:00 aa168da1d23b: Verifying Checksum 02:29:00 aa168da1d23b: Download complete 02:29:13 aa168da1d23b: Pull complete 02:29:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:29:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:29:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:29:13 prd-centos7-docker-4c-2g-9365 does not seem to be running inside a container 02:29:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-143 -v /w/workspace/foundry_device-virtual-go_PR-143:/w/workspace/foundry_device-virtual-go_PR-143:rw,z -v /w/workspace/foundry_device-virtual-go_PR-143@tmp:/w/workspace/foundry_device-virtual-go_PR-143@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:29:19 $ docker top 6c7ebe369d134d63230b0d6bec4c9ec06487a6f5cb398463d4a5604a83de276e -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:20 + touch /tmp/pre-build-complete [Pipeline] sh 02:29:20 + mkdir -p /var/log/sa [Pipeline] sh 02:29:21 + ls /var/log/sa-host 02:29:21 + sadf -c /var/log/sa-host/sa05 02:29:21 file_magic: OK 02:29:21 HZ: Using current value: 100 02:29:21 file_header: OK 02:29:21 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:29:21 Statistics: 02:29:21 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:29:21 File successfully converted to sysstat format version 12.2.1 02:29:21 + sadf -c /var/log/sa-host/sa28 02:29:21 file_magic: OK 02:29:21 HZ: Using current value: 100 02:29:21 file_header: OK 02:29:21 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:29:21 Statistics: 02:29:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:29:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:29:21 provisioning config files... 02:29:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-143@tmp/config2960203239571294675tmp [Pipeline] { [Pipeline] echo 02:29:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:29:22 ---> create-netrc.sh [Pipeline] } 02:29:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:29:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:29:22 ---> python-tools-install.sh [Pipeline] echo 02:29:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:29:23 ---> sudo-logs.sh 02:29:23 Archiving 'sudo' log.. [Pipeline] echo 02:29:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:29:23 ---> job-cost.sh 02:29:23 lf-activate-venv: SKIPPING 02:29:23 INFO: No Stack... 02:29:25 INFO: Retrieving Pricing Info for: v1-standard-2 02:29:25 INFO: Archiving Costs [Pipeline] echo 02:29:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:29:26 ---> logs-deploy.sh 02:29:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-143/1 02:29:26 INFO: archiving workspace using pattern(s): 02:29:28 Archives upload complete. 02:29:28 INFO: archiving logs to Nexus