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 [2020-10-28T02:17:30.580Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-28T02:17:30.938Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-28T02:17:31.165Z] ========================================================= [2020-10-28T02:17:31.165Z] EdgeX Global Pipelines Version Info [2020-10-28T02:17:31.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:17:33.942Z] ------------------- [2020-10-28T02:17:33.942Z] stable info: [2020-10-28T02:17:33.942Z] ------------------- [2020-10-28T02:17:33.942Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-28T02:17:33.942Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-28T02:17:33.942Z] Message: update stable to v1.0.148 [2020-10-28T02:17:34.953Z] ------------------- [2020-10-28T02:17:34.953Z] experimental info: [2020-10-28T02:17:34.953Z] ------------------- [2020-10-28T02:17:34.953Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-28T02:17:34.953Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-28T02:17:34.953Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-28T02:17:35.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-10-28T02:17:35.639Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-10-28T02:17:35.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-28T02:17:35.914Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-28T02:17:36.051Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-28T02:17:36.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-28T02:17:36.340Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-28T02:17:36.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-28T02:17:36.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-28T02:17:36.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-28T02:17:36.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-28T02:17:37.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-10-28T02:17:37.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-28T02:17:37.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-28T02:17:37.506Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T02:17:37.637Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T02:17:37.772Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T02:17:37.904Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T02:17:38.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-28T02:17:38.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-28T02:17:38.329Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-28T02:17:38.464Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-28T02:17:38.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-28T02:17:38.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-28T02:17:38.866Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-28T02:17:38.999Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo [2020-10-28T02:17:39.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo [2020-10-28T02:17:39.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo [2020-10-28T02:17:39.412Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1077bc0d486aaaea129445cc6271f3400f62c692 [Pipeline] echo [2020-10-28T02:17:39.547Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1077bc0 [Pipeline] echo [2020-10-28T02:17:39.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T02:17:40.428Z] + git log --format=format:%s -1 1077bc0d486aaaea129445cc6271f3400f62c692 [Pipeline] echo [2020-10-28T02:17:40.539Z] GIT_COMMIT: 1077bc0d486aaaea129445cc6271f3400f62c692, Commit Message: refactor: Upgrade SDK to v1.2.4-dev.34 [Pipeline] echo [2020-10-28T02:17:40.621Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:17:41.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T02:17:41.906Z] [2020-10-28T02:17:41.906Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:17:42.353Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T02:17:42.353Z] latest: Pulling from edgex-devops/git-semver [2020-10-28T02:17:42.353Z] 31603596830f: Pulling fs layer [2020-10-28T02:17:42.353Z] 2a8b12db71e7: Pulling fs layer [2020-10-28T02:17:42.353Z] 6ca5941a6612: Pulling fs layer [2020-10-28T02:17:42.353Z] ecc8261a40a4: Pulling fs layer [2020-10-28T02:17:42.353Z] ecc8261a40a4: Waiting [2020-10-28T02:17:42.647Z] 2a8b12db71e7: Verifying Checksum [2020-10-28T02:17:42.647Z] 2a8b12db71e7: Download complete [2020-10-28T02:17:42.927Z] ecc8261a40a4: Verifying Checksum [2020-10-28T02:17:42.927Z] ecc8261a40a4: Download complete [2020-10-28T02:17:42.927Z] 31603596830f: Verifying Checksum [2020-10-28T02:17:42.927Z] 31603596830f: Download complete [2020-10-28T02:17:42.927Z] 6ca5941a6612: Verifying Checksum [2020-10-28T02:17:42.927Z] 6ca5941a6612: Download complete [2020-10-28T02:17:43.526Z] 31603596830f: Pull complete [2020-10-28T02:17:43.526Z] 2a8b12db71e7: Pull complete [2020-10-28T02:17:45.078Z] 6ca5941a6612: Pull complete [2020-10-28T02:17:45.343Z] ecc8261a40a4: Pull complete [2020-10-28T02:17:45.343Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-28T02:17:45.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T02:17:45.343Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-28T02:17:45.569Z] prd-centos7-docker-4c-2g-9365 does not seem to be running inside a container [2020-10-28T02:17:45.979Z] $ 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 [2020-10-28T02:17:48.600Z] $ docker top 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T02:17:49.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T02:17:49.150Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T02:17:49.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T02:17:49.508Z] $ docker exec 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent [2020-10-28T02:17:49.755Z] SSH_AUTH_SOCK=/tmp/ssh-7TgDzeuJztYX/agent.12 [2020-10-28T02:17:49.755Z] SSH_AGENT_PID=17 [2020-10-28T02:17:49.934Z] Running ssh-add (command line suppressed) [2020-10-28T02:17:50.205Z] 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) [2020-10-28T02:17:50.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T02:17:50.702Z] + git tag --points-at HEAD [Pipeline] } [2020-10-28T02:17:50.737Z] $ docker exec --env ******** --env ******** 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent -k [2020-10-28T02:17:50.898Z] unset SSH_AUTH_SOCK; [2020-10-28T02:17:50.899Z] unset SSH_AGENT_PID; [2020-10-28T02:17:50.899Z] echo Agent pid 17 killed; [2020-10-28T02:17:50.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-28T02:17:51.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T02:17:51.188Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T02:17:51.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T02:17:51.433Z] $ docker exec 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent [2020-10-28T02:17:51.809Z] SSH_AUTH_SOCK=/tmp/ssh-FHnpxLBNg0lt/agent.47 [2020-10-28T02:17:51.809Z] SSH_AGENT_PID=52 [2020-10-28T02:17:51.817Z] Running ssh-add (command line suppressed) [2020-10-28T02:17:52.029Z] 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) [2020-10-28T02:17:52.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T02:17:52.572Z] + git semver init [2020-10-28T02:17:52.572Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T02:17:52.572Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-143/.git [2020-10-28T02:17:52.572Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-143 [2020-10-28T02:17:52.572Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T02:17:52.572Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T02:17:52.572Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T02:17:52.572Z] # $SEMVER_BRANCH = PR-143 [2020-10-28T02:17:52.572Z] # $SEMVER_TEMP = /tmp/semver-630508786 [2020-10-28T02:17:52.572Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-10-28T02:17:53.172Z] # '/tmp/semver-630508786' -> '/w/workspace/foundry_device-virtual-go_PR-143/.semver' [2020-10-28T02:17:53.172Z] # -> Force: false [2020-10-28T02:17:53.172Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-143/.semver [Pipeline] } [2020-10-28T02:17:53.219Z] $ docker exec --env ******** --env ******** 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 ssh-agent -k [2020-10-28T02:17:53.451Z] unset SSH_AUTH_SOCK; [2020-10-28T02:17:53.455Z] unset SSH_AGENT_PID; [2020-10-28T02:17:53.456Z] echo Agent pid 52 killed; [2020-10-28T02:17:53.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T02:17:54.122Z] + git semver [Pipeline] } [2020-10-28T02:17:54.161Z] $ docker stop --time=1 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 [2020-10-28T02:17:55.694Z] $ docker rm -f 4ca4b19ae3d527bc1729d6d7f09f6a4088e9558bc31eb3c35eaf5957ca697a34 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T02:17:56.276Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-28T02:17:57.019Z] Stashed 1 file(s) [Pipeline] echo [2020-10-28T02:17:57.041Z] [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 [2020-10-28T02:18:12.927Z] Still waiting to schedule task [2020-10-28T02:18:12.927Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-28T02:18:12.953Z] Still waiting to schedule task [2020-10-28T02:18:12.953Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-28T02:19:51.749Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9366 in /w/workspace/foundry_device-virtual-go_PR-143 [Pipeline] { [Pipeline] ws [2020-10-28T02:19:51.851Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-10-28T02:19:57.068Z] using credential edgex-jenkins-ssh [2020-10-28T02:19:57.142Z] Cloning the remote Git repository [2020-10-28T02:19:57.207Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T02:19:57.320Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-10-28T02:19:57.420Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T02:19:57.421Z] > git --version # timeout=10 [2020-10-28T02:19:57.443Z] > git --version # 'git version 2.17.1' [2020-10-28T02:19:57.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T02:19:57.495Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T02:19:59.070Z] Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 1077bc0d486aaaea129445cc6271f3400f62c692 [2020-10-28T02:19:59.263Z] Merge succeeded, producing 1077bc0d486aaaea129445cc6271f3400f62c692 [2020-10-28T02:19:59.264Z] Checking out Revision 1077bc0d486aaaea129445cc6271f3400f62c692 (PR-143) [2020-10-28T02:19:58.442Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T02:19:58.466Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T02:19:58.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T02:19:58.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T02:19:58.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T02:19:58.535Z] > 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 [2020-10-28T02:19:59.096Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T02:19:59.111Z] > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 [2020-10-28T02:19:59.181Z] > git remote # timeout=10 [2020-10-28T02:19:59.197Z] > git config --get remote.origin.url # timeout=10 [2020-10-28T02:19:59.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T02:19:59.231Z] > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 [2020-10-28T02:19:59.254Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-28T02:19:59.277Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T02:19:59.292Z] > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 [2020-10-28T02:20:03.591Z] Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" [2020-10-28T02:20:03.652Z] > git --version # timeout=10 [2020-10-28T02:20:03.661Z] > git --version # 'git version 2.17.1' [2020-10-28T02:20:03.680Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T02:20:05.025Z] ========================================================= [2020-10-28T02:20:05.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-28T02:20:05.025Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:20:06.021Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-28T02:20:06.624Z] Sending build context to Docker daemon 469.5kB [2020-10-28T02:20:06.899Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T02:20:06.899Z] Step 2/8 : FROM ${BASE} [2020-10-28T02:20:07.179Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-28T02:20:07.179Z] b538f80385f9: Pulling fs layer [2020-10-28T02:20:07.179Z] 74f711af9a0d: Pulling fs layer [2020-10-28T02:20:07.179Z] 99f96fe45779: Pulling fs layer [2020-10-28T02:20:07.179Z] 8529a6b9a6be: Pulling fs layer [2020-10-28T02:20:07.179Z] 45590311c82a: Pulling fs layer [2020-10-28T02:20:07.179Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-28T02:20:07.179Z] 209524e5b208: Pulling fs layer [2020-10-28T02:20:07.179Z] 8529a6b9a6be: Waiting [2020-10-28T02:20:07.179Z] 45590311c82a: Waiting [2020-10-28T02:20:07.179Z] 209524e5b208: Waiting [2020-10-28T02:20:07.179Z] 69ca0ff8b7b3: Waiting [2020-10-28T02:20:07.179Z] 99f96fe45779: Verifying Checksum [2020-10-28T02:20:07.179Z] 99f96fe45779: Download complete [2020-10-28T02:20:07.179Z] 74f711af9a0d: Download complete [2020-10-28T02:20:07.179Z] 45590311c82a: Download complete [2020-10-28T02:20:07.179Z] 69ca0ff8b7b3: Download complete [2020-10-28T02:20:07.497Z] b538f80385f9: Verifying Checksum [2020-10-28T02:20:07.497Z] b538f80385f9: Download complete [2020-10-28T02:20:08.104Z] b538f80385f9: Pull complete [2020-10-28T02:20:08.720Z] 74f711af9a0d: Pull complete [2020-10-28T02:20:09.000Z] 99f96fe45779: Pull complete [2020-10-28T02:20:10.445Z] 209524e5b208: Verifying Checksum [2020-10-28T02:20:10.445Z] 209524e5b208: Download complete [2020-10-28T02:20:11.441Z] 8529a6b9a6be: Verifying Checksum [2020-10-28T02:20:11.441Z] 8529a6b9a6be: Download complete [2020-10-28T02:20:21.616Z] 8529a6b9a6be: Pull complete [2020-10-28T02:20:21.893Z] 45590311c82a: Pull complete [2020-10-28T02:20:22.172Z] 69ca0ff8b7b3: Pull complete [2020-10-28T02:20:26.505Z] 209524e5b208: Pull complete [2020-10-28T02:20:26.505Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-28T02:20:26.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-28T02:20:26.505Z] ---> 5bddaf1c2fca [2020-10-28T02:20:26.505Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-28T02:20:29.167Z] ---> Running in 0f51d7732c9f [2020-10-28T02:20:29.167Z] Removing intermediate container 0f51d7732c9f [2020-10-28T02:20:29.167Z] ---> 5f6b50510b4c [2020-10-28T02:20:29.167Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T02:20:29.167Z] ---> Running in b7c3e5d5707f [2020-10-28T02:20:31.806Z] Removing intermediate container b7c3e5d5707f [2020-10-28T02:20:31.806Z] ---> c64af9edfa08 [2020-10-28T02:20:31.806Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-28T02:20:32.087Z] ---> Running in 5bfac2dc26a6 [2020-10-28T02:20:33.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T02:20:34.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T02:20:43.253Z] (1/14) Installing libmagic (5.38-r0) [2020-10-28T02:20:44.680Z] (2/14) Installing file (5.38-r0) [2020-10-28T02:20:44.680Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-28T02:20:44.680Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-28T02:20:51.668Z] Running on prd-centos7-docker-4c-2g-9367 in /w/workspace/foundry_device-virtual-go_PR-143 [Pipeline] { [Pipeline] ws [2020-10-28T02:20:51.790Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-10-28T02:20:55.249Z] using credential edgex-jenkins-ssh [2020-10-28T02:20:55.314Z] Cloning the remote Git repository [2020-10-28T02:20:55.347Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T02:20:55.424Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-10-28T02:20:55.482Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T02:20:55.482Z] > git --version # timeout=10 [2020-10-28T02:20:55.489Z] > git --version # 'git version 2.16.5' [2020-10-28T02:20:55.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T02:20:55.516Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T02:20:56.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T02:20:56.177Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T02:20:56.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T02:20:56.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T02:20:56.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T02:20:56.207Z] > 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 [2020-10-28T02:20:56.669Z] Merging remotes/origin/master commit 5333790cbfc620bb38957914a0d65453366236ce into PR head commit 1077bc0d486aaaea129445cc6271f3400f62c692 [2020-10-28T02:20:56.752Z] Merge succeeded, producing 1077bc0d486aaaea129445cc6271f3400f62c692 [2020-10-28T02:20:56.753Z] Checking out Revision 1077bc0d486aaaea129445cc6271f3400f62c692 (PR-143) [2020-10-28T02:20:56.679Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T02:20:56.684Z] > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 [2020-10-28T02:20:56.720Z] > git remote # timeout=10 [2020-10-28T02:20:56.726Z] > git config --get remote.origin.url # timeout=10 [2020-10-28T02:20:56.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T02:20:56.734Z] > git merge 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 [2020-10-28T02:20:56.746Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-28T02:20:56.757Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T02:20:56.762Z] > git checkout -f 1077bc0d486aaaea129445cc6271f3400f62c692 # timeout=10 [2020-10-28T02:21:00.446Z] Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" [2020-10-28T02:21:00.474Z] > git --version # timeout=10 [2020-10-28T02:21:00.478Z] > git --version # 'git version 2.16.5' [2020-10-28T02:21:00.483Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T02:21:01.587Z] ========================================================= [2020-10-28T02:21:01.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-28T02:21:01.587Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:21:02.389Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-28T02:21:02.654Z] Sending build context to Docker daemon 469.5kB [2020-10-28T02:21:02.654Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T02:21:02.654Z] Step 2/8 : FROM ${BASE} [2020-10-28T02:21:02.920Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-28T02:21:02.920Z] df20fa9351a1: Pulling fs layer [2020-10-28T02:21:02.920Z] ed8968b2872e: Pulling fs layer [2020-10-28T02:21:02.920Z] a92cc7c5fd73: Pulling fs layer [2020-10-28T02:21:02.920Z] e871e8e8d7a9: Pulling fs layer [2020-10-28T02:21:02.920Z] e73272ec9a57: Pulling fs layer [2020-10-28T02:21:02.920Z] 1e910a182e73: Pulling fs layer [2020-10-28T02:21:02.920Z] 4e634b169226: Pulling fs layer [2020-10-28T02:21:02.920Z] e73272ec9a57: Waiting [2020-10-28T02:21:02.920Z] 1e910a182e73: Waiting [2020-10-28T02:21:02.920Z] 4e634b169226: Waiting [2020-10-28T02:21:02.920Z] e871e8e8d7a9: Waiting [2020-10-28T02:21:02.920Z] a92cc7c5fd73: Verifying Checksum [2020-10-28T02:21:02.920Z] a92cc7c5fd73: Download complete [2020-10-28T02:21:02.920Z] ed8968b2872e: Verifying Checksum [2020-10-28T02:21:02.920Z] ed8968b2872e: Download complete [2020-10-28T02:21:02.920Z] e73272ec9a57: Verifying Checksum [2020-10-28T02:21:02.920Z] e73272ec9a57: Download complete [2020-10-28T02:21:02.920Z] 1e910a182e73: Verifying Checksum [2020-10-28T02:21:02.920Z] 1e910a182e73: Download complete [2020-10-28T02:21:03.186Z] df20fa9351a1: Verifying Checksum [2020-10-28T02:21:03.186Z] df20fa9351a1: Download complete [2020-10-28T02:21:03.453Z] df20fa9351a1: Pull complete [2020-10-28T02:21:03.453Z] ed8968b2872e: Pull complete [2020-10-28T02:21:03.718Z] a92cc7c5fd73: Pull complete [2020-10-28T02:21:18.701Z] 4e634b169226: Verifying Checksum [2020-10-28T02:21:18.701Z] 4e634b169226: Download complete [2020-10-28T02:21:26.884Z] e871e8e8d7a9: Verifying Checksum [2020-10-28T02:21:26.884Z] e871e8e8d7a9: Download complete [2020-10-28T02:21:31.142Z] e871e8e8d7a9: Pull complete [2020-10-28T02:21:31.142Z] e73272ec9a57: Pull complete [2020-10-28T02:21:31.142Z] 1e910a182e73: Pull complete [2020-10-28T02:21:35.408Z] 4e634b169226: Pull complete [2020-10-28T02:21:35.408Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-28T02:21:35.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-28T02:21:35.408Z] ---> f7629b54cfaa [2020-10-28T02:21:35.408Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-28T02:21:35.408Z] ---> Running in 2bbbcaca2ff2 [2020-10-28T02:21:35.672Z] Removing intermediate container 2bbbcaca2ff2 [2020-10-28T02:21:35.672Z] ---> a270dc41b7dd [2020-10-28T02:21:35.672Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T02:21:35.672Z] ---> Running in 8af10d15a9f4 [2020-10-28T02:21:36.634Z] Removing intermediate container 8af10d15a9f4 [2020-10-28T02:21:36.634Z] ---> 7eb1e206c10c [2020-10-28T02:21:36.634Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-28T02:21:36.899Z] ---> Running in f3511341e6f7 [2020-10-28T02:21:37.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T02:21:39.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T02:21:47.431Z] (1/14) Installing libmagic (5.38-r0) [2020-10-28T02:21:50.759Z] (2/14) Installing file (5.38-r0) [2020-10-28T02:21:50.759Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-28T02:21:51.023Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-28T02:23:06.540Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-28T02:23:06.541Z] (6/14) Installing patch (2.7.6-r6) [2020-10-28T02:23:06.541Z] (7/14) Installing build-base (0.5-r2) [2020-10-28T02:23:06.541Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-28T02:23:06.541Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-28T02:23:06.541Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-28T02:23:14.851Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-28T02:23:14.851Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-28T02:23:14.851Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-28T02:23:16.828Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-28T02:23:18.821Z] Executing busybox-1.31.1-r16.trigger [2020-10-28T02:23:18.821Z] OK: 221 MiB in 53 packages [2020-10-28T02:23:22.222Z] Removing intermediate container 5bfac2dc26a6 [2020-10-28T02:23:22.222Z] ---> 2ff637792edf [2020-10-28T02:23:22.222Z] Step 6/8 : WORKDIR /device-virtual-go [2020-10-28T02:23:22.497Z] ---> Running in 7d4414ca69d3 [2020-10-28T02:23:22.774Z] Removing intermediate container 7d4414ca69d3 [2020-10-28T02:23:22.774Z] ---> bd107b961868 [2020-10-28T02:23:22.774Z] Step 7/8 : COPY . . [2020-10-28T02:23:23.770Z] ---> 98dc17e8736a [2020-10-28T02:23:23.770Z] Step 8/8 : RUN go mod download [2020-10-28T02:23:24.046Z] ---> Running in 1eb118ba1b82 [2020-10-28T02:23:50.901Z] Removing intermediate container 1eb118ba1b82 [2020-10-28T02:23:50.901Z] ---> 7f6c48e38097 [2020-10-28T02:23:50.901Z] Successfully built 7f6c48e38097 [2020-10-28T02:23:50.901Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:23:51.362Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T02:23:51.362Z] . [Pipeline] withDockerContainer [2020-10-28T02:23:51.626Z] prd-ubuntu18.04-docker-arm64-4c-16g-9366 does not seem to be running inside a container [2020-10-28T02:23:51.714Z] $ 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 [2020-10-28T02:23:53.538Z] $ docker top 6efa0b419cf749b8fbf9a51647a672d3087670b5a203fc0da9722d5d1ffa0c6f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T02:23:55.088Z] + go version [2020-10-28T02:23:55.088Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-28T02:23:55.139Z] $ docker stop --time=1 6efa0b419cf749b8fbf9a51647a672d3087670b5a203fc0da9722d5d1ffa0c6f [2020-10-28T02:23:57.014Z] $ docker rm -f 6efa0b419cf749b8fbf9a51647a672d3087670b5a203fc0da9722d5d1ffa0c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:23:59.180Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T02:23:59.181Z] . [Pipeline] withDockerContainer [2020-10-28T02:23:59.433Z] prd-ubuntu18.04-docker-arm64-4c-16g-9366 does not seem to be running inside a container [2020-10-28T02:23:59.518Z] $ 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 [2020-10-28T02:24:01.236Z] $ docker top 7486373de9b392c10a381286f918de3a937585ec96a7444e819a455344a4536c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T02:24:02.731Z] + make test [2020-10-28T02:24:02.731Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-28T02:24:03.720Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-10-28T02:24:50.774Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-10-28T02:24:50.774Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.511s coverage: 64.4% of statements [2020-10-28T02:24:50.774Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-28T02:24:57.531Z] gofmt -l . [2020-10-28T02:24:57.531Z] [ "`gofmt -l .`" = "" ] [2020-10-28T02:24:57.531Z] ./bin/test-attribution-txt.sh [2020-10-28T02:24:58.972Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-28T02:25:00.145Z] Stashed 1 file(s) [Pipeline] } [2020-10-28T02:25:00.164Z] $ docker stop --time=1 7486373de9b392c10a381286f918de3a937585ec96a7444e819a455344a4536c [2020-10-28T02:25:02.398Z] $ docker rm -f 7486373de9b392c10a381286f918de3a937585ec96a7444e819a455344a4536c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T02:25:05.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T02:25:05.436Z] + ls -al . [2020-10-28T02:25:05.436Z] total 152 [2020-10-28T02:25:05.436Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 28 02:24 . [2020-10-28T02:25:05.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:19 .. [2020-10-28T02:25:05.436Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:20 .git [2020-10-28T02:25:05.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:19 .github [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 258 Oct 28 02:19 .gitignore [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 6713 Oct 28 02:19 Attribution.txt [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 1834 Oct 28 02:19 Dockerfile [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 957 Oct 28 02:19 Dockerfile.build [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 28 02:19 Jenkinsfile [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 02:19 LICENSE [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 873 Oct 28 02:19 Makefile [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 918 Oct 28 02:19 README.md [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:17 VERSION [2020-10-28T02:25:05.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:19 bin [2020-10-28T02:25:05.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:19 cmd [2020-10-28T02:25:05.436Z] -rw-r--r-- 1 jenkins jenkins 47242 Oct 28 02:24 coverage.out [2020-10-28T02:25:05.436Z] -rw-r--r-- 1 jenkins jenkins 862 Oct 28 02:24 go.mod [2020-10-28T02:25:05.436Z] -rw-r--r-- 1 jenkins jenkins 16466 Oct 28 02:24 go.sum [2020-10-28T02:25:05.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:19 internal [2020-10-28T02:25:05.436Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 28 02:19 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:25:05.840Z] + 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 . [2020-10-28T02:25:06.127Z] Sending build context to Docker daemon 535kB [2020-10-28T02:25:06.127Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-28T02:25:06.127Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-28T02:25:06.127Z] ---> 7f6c48e38097 [2020-10-28T02:25:06.127Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-28T02:25:06.404Z] ---> Running in d178a4e373b2 [2020-10-28T02:25:07.014Z] Removing intermediate container d178a4e373b2 [2020-10-28T02:25:07.014Z] ---> dd4c32add76a [2020-10-28T02:25:07.014Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T02:25:07.014Z] ---> Running in 2ab58b26b141 [2020-10-28T02:25:07.619Z] Removing intermediate container 2ab58b26b141 [2020-10-28T02:25:07.619Z] ---> 21db51c490c0 [2020-10-28T02:25:07.619Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-10-28T02:25:07.619Z] ---> Running in 02529859a3e2 [2020-10-28T02:25:08.222Z] Removing intermediate container 02529859a3e2 [2020-10-28T02:25:08.222Z] ---> be1cfbd507be [2020-10-28T02:25:08.222Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T02:25:08.222Z] ---> Running in 6b32019dccd9 [2020-10-28T02:25:10.875Z] Removing intermediate container 6b32019dccd9 [2020-10-28T02:25:10.875Z] ---> b37392205435 [2020-10-28T02:25:10.875Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T02:25:10.875Z] ---> Running in 5ca54eff584c [2020-10-28T02:25:12.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T02:25:19.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T02:25:29.151Z] OK: 221 MiB in 53 packages [2020-10-28T02:25:29.424Z] Removing intermediate container 5ca54eff584c [2020-10-28T02:25:29.424Z] ---> 213e55ee4bf0 [2020-10-28T02:25:29.424Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-10-28T02:25:29.424Z] ---> Running in 70fee750d4bb [2020-10-28T02:25:30.018Z] Removing intermediate container 70fee750d4bb [2020-10-28T02:25:30.019Z] ---> 55fd7d90d446 [2020-10-28T02:25:30.019Z] Step 9/22 : COPY . . [2020-10-28T02:25:30.619Z] ---> f5702b6359d7 [2020-10-28T02:25:30.619Z] Step 10/22 : ARG MAKE='make build' [2020-10-28T02:25:30.892Z] ---> Running in 68bdefe1dbd7 [2020-10-28T02:25:31.171Z] Removing intermediate container 68bdefe1dbd7 [2020-10-28T02:25:31.171Z] ---> 3a397e307f5e [2020-10-28T02:25:31.171Z] Step 11/22 : RUN $MAKE [2020-10-28T02:25:31.449Z] ---> Running in ac41bece60e9 [2020-10-28T02:25:32.889Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-10-28T02:25:42.913Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-28T02:25:42.913Z] (6/14) Installing patch (2.7.6-r6) [2020-10-28T02:25:42.913Z] (7/14) Installing build-base (0.5-r2) [2020-10-28T02:25:42.913Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-28T02:25:42.913Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-28T02:25:42.914Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-28T02:25:57.884Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-28T02:25:57.884Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-28T02:25:57.884Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-28T02:26:00.451Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-28T02:26:04.696Z] Executing busybox-1.31.1-r16.trigger [2020-10-28T02:26:04.696Z] OK: 237 MiB in 53 packages [2020-10-28T02:26:05.352Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-28T02:26:06.639Z] Removing intermediate container f3511341e6f7 [2020-10-28T02:26:06.639Z] ---> 67f19d229210 [2020-10-28T02:26:06.639Z] Step 6/8 : WORKDIR /device-virtual-go [2020-10-28T02:26:06.639Z] ---> Running in 502643c4c7b1 [2020-10-28T02:26:06.906Z] Removing intermediate container 502643c4c7b1 [2020-10-28T02:26:06.906Z] ---> 41515c842c91 [2020-10-28T02:26:06.906Z] Step 7/8 : COPY . . [2020-10-28T02:26:07.860Z] ---> eea2fd851f79 [2020-10-28T02:26:07.860Z] Step 8/8 : RUN go mod download [2020-10-28T02:26:07.860Z] ---> Running in 56e23c04d060 [2020-10-28T02:26:12.068Z] Removing intermediate container ac41bece60e9 [2020-10-28T02:26:12.068Z] ---> f06bccd93cd3 [2020-10-28T02:26:12.068Z] Step 12/22 : FROM alpine [2020-10-28T02:26:14.043Z] latest: Pulling from library/alpine [2020-10-28T02:26:15.023Z] 5f621e34cdf4: Pulling fs layer [2020-10-28T02:26:15.298Z] 5f621e34cdf4: Verifying Checksum [2020-10-28T02:26:15.298Z] 5f621e34cdf4: Download complete [2020-10-28T02:26:15.895Z] 5f621e34cdf4: Pull complete [2020-10-28T02:26:15.895Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T02:26:15.895Z] Status: Downloaded newer image for alpine:latest [2020-10-28T02:26:15.895Z] ---> 2e77e061c27f [2020-10-28T02:26:15.895Z] Step 13/22 : ENV APP_PORT=49990 [2020-10-28T02:26:15.895Z] ---> Running in 635a2a8d9667 [2020-10-28T02:26:16.497Z] Removing intermediate container 635a2a8d9667 [2020-10-28T02:26:16.497Z] ---> c6c3802b17e9 [2020-10-28T02:26:16.497Z] Step 14/22 : EXPOSE $APP_PORT [2020-10-28T02:26:16.497Z] ---> Running in 50f3258e9e08 [2020-10-28T02:26:17.098Z] Removing intermediate container 50f3258e9e08 [2020-10-28T02:26:17.098Z] ---> 0d20cd35a6d0 [2020-10-28T02:26:17.098Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-10-28T02:26:18.539Z] ---> 124b74a594c8 [2020-10-28T02:26:18.539Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-10-28T02:26:19.140Z] ---> 70f73e6cc9b9 [2020-10-28T02:26:19.140Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-10-28T02:26:20.131Z] ---> a3b6fd10cc7a [2020-10-28T02:26:20.131Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-10-28T02:26:20.131Z] ---> Running in fcf21c9ef199 [2020-10-28T02:26:20.407Z] Removing intermediate container fcf21c9ef199 [2020-10-28T02:26:20.407Z] ---> 1964466093fd [2020-10-28T02:26:20.407Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T02:26:20.687Z] ---> Running in 5dd6248e5b5b [2020-10-28T02:26:20.962Z] Removing intermediate container 5dd6248e5b5b [2020-10-28T02:26:20.962Z] ---> 81d59f8b94c8 [2020-10-28T02:26:20.962Z] Step 20/22 : LABEL arch=arm64 [2020-10-28T02:26:21.237Z] ---> Running in cd0f02d395a3 [2020-10-28T02:26:21.510Z] Removing intermediate container cd0f02d395a3 [2020-10-28T02:26:21.510Z] ---> ec3ab7a19c2d [2020-10-28T02:26:21.510Z] Step 21/22 : LABEL git_sha=1077bc0d486aaaea129445cc6271f3400f62c692 [2020-10-28T02:26:21.786Z] ---> Running in 4ef31e13ab1d [2020-10-28T02:26:22.064Z] Removing intermediate container 4ef31e13ab1d [2020-10-28T02:26:22.064Z] ---> 5001a2c3a148 [2020-10-28T02:26:22.064Z] Step 22/22 : LABEL version=0.0.0 [2020-10-28T02:26:22.343Z] ---> Running in 0ff2f610bbe9 [2020-10-28T02:26:22.618Z] Removing intermediate container 0ff2f610bbe9 [2020-10-28T02:26:22.618Z] ---> 76ca89ff95cb [2020-10-28T02:26:22.618Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T02:26:22.618Z] Successfully built 76ca89ff95cb [2020-10-28T02:26:22.618Z] 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] } [2020-10-28T02:26:29.909Z] Removing intermediate container 56e23c04d060 [2020-10-28T02:26:29.909Z] ---> 2b2ade356f3c [2020-10-28T02:26:29.909Z] Successfully built 2b2ade356f3c [2020-10-28T02:26:29.909Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:26:30.518Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T02:26:30.518Z] . [Pipeline] withDockerContainer [2020-10-28T02:26:30.658Z] prd-centos7-docker-4c-2g-9367 does not seem to be running inside a container [2020-10-28T02:26:30.717Z] $ 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 [2020-10-28T02:26:31.536Z] $ docker top 32aa4e0a84c906b1db2310ca2bbfe98df36fb91cd717a84f606a68b84055122b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T02:26:32.097Z] + go version [2020-10-28T02:26:32.097Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-28T02:26:32.139Z] $ docker stop --time=1 32aa4e0a84c906b1db2310ca2bbfe98df36fb91cd717a84f606a68b84055122b [2020-10-28T02:26:34.247Z] $ docker rm -f 32aa4e0a84c906b1db2310ca2bbfe98df36fb91cd717a84f606a68b84055122b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:26:35.721Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T02:26:35.721Z] . [Pipeline] withDockerContainer [2020-10-28T02:26:35.857Z] prd-centos7-docker-4c-2g-9367 does not seem to be running inside a container [2020-10-28T02:26:35.913Z] $ 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 [2020-10-28T02:26:36.582Z] $ docker top a5623331a60fdf07c595e50ba6901b8b337c2ed2b51dd6daf790bff0241cadcb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T02:26:37.152Z] + make test [2020-10-28T02:26:37.152Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-28T02:26:38.570Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-10-28T02:26:56.890Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-10-28T02:26:56.890Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.336s coverage: 64.4% of statements [2020-10-28T02:26:56.890Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-28T02:26:57.470Z] gofmt -l . [2020-10-28T02:26:57.470Z] [ "`gofmt -l .`" = "" ] [2020-10-28T02:26:57.470Z] ./bin/test-attribution-txt.sh [2020-10-28T02:26:58.057Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-28T02:26:58.361Z] Warning: overwriting stash ‘coverage-report’ [2020-10-28T02:26:58.685Z] Stashed 1 file(s) [Pipeline] } [2020-10-28T02:26:58.706Z] $ docker stop --time=1 a5623331a60fdf07c595e50ba6901b8b337c2ed2b51dd6daf790bff0241cadcb [2020-10-28T02:27:00.500Z] $ docker rm -f a5623331a60fdf07c595e50ba6901b8b337c2ed2b51dd6daf790bff0241cadcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-28T02:27:02.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T02:27:02.659Z] + ls -al . [2020-10-28T02:27:02.659Z] total 128 [2020-10-28T02:27:02.659Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 28 02:26 . [2020-10-28T02:27:02.659Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 02:20 .. [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 6713 Oct 28 02:20 Attribution.txt [2020-10-28T02:27:02.659Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 02:20 bin [2020-10-28T02:27:02.659Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 02:20 cmd [2020-10-28T02:27:02.659Z] -rw-r--r--. 1 jenkins jenkins 47242 Oct 28 02:26 coverage.out [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 1834 Oct 28 02:20 Dockerfile [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 957 Oct 28 02:20 Dockerfile.build [2020-10-28T02:27:02.659Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 02:21 .git [2020-10-28T02:27:02.659Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 02:20 .github [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 258 Oct 28 02:20 .gitignore [2020-10-28T02:27:02.659Z] -rw-r--r--. 1 jenkins jenkins 862 Oct 28 02:26 go.mod [2020-10-28T02:27:02.659Z] -rw-r--r--. 1 jenkins jenkins 16466 Oct 28 02:26 go.sum [2020-10-28T02:27:02.659Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 02:20 internal [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 660 Oct 28 02:20 Jenkinsfile [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 02:20 LICENSE [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 873 Oct 28 02:20 Makefile [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 918 Oct 28 02:20 README.md [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 02:17 VERSION [2020-10-28T02:27:02.659Z] -rw-rw-r--. 1 jenkins jenkins 235 Oct 28 02:20 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:27:03.015Z] + 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 . [2020-10-28T02:27:03.281Z] Sending build context to Docker daemon 535kB [2020-10-28T02:27:03.281Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-28T02:27:03.281Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-28T02:27:03.281Z] ---> 2b2ade356f3c [2020-10-28T02:27:03.281Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-28T02:27:03.551Z] ---> Running in 971f5252561e [2020-10-28T02:27:03.551Z] Removing intermediate container 971f5252561e [2020-10-28T02:27:03.551Z] ---> d2774dfaade6 [2020-10-28T02:27:03.551Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T02:27:03.817Z] ---> Running in fd749f051066 [2020-10-28T02:27:03.817Z] Removing intermediate container fd749f051066 [2020-10-28T02:27:03.817Z] ---> a4064dd1742e [2020-10-28T02:27:03.817Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-10-28T02:27:03.817Z] ---> Running in 2fc56fdf248e [2020-10-28T02:27:04.083Z] Removing intermediate container 2fc56fdf248e [2020-10-28T02:27:04.083Z] ---> 601aec11de13 [2020-10-28T02:27:04.083Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T02:27:04.083Z] ---> Running in dfa1e74fd7e1 [2020-10-28T02:27:05.047Z] Removing intermediate container dfa1e74fd7e1 [2020-10-28T02:27:05.047Z] ---> efca2540d84c [2020-10-28T02:27:05.047Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T02:27:05.047Z] ---> Running in 9d0102731852 [2020-10-28T02:27:05.624Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T02:27:13.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T02:27:28.787Z] OK: 237 MiB in 53 packages [2020-10-28T02:27:28.787Z] Removing intermediate container 9d0102731852 [2020-10-28T02:27:28.787Z] ---> 3197d365c636 [2020-10-28T02:27:28.787Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-10-28T02:27:28.787Z] ---> Running in e67d19382b57 [2020-10-28T02:27:28.787Z] Removing intermediate container e67d19382b57 [2020-10-28T02:27:28.787Z] ---> 8df8116fd963 [2020-10-28T02:27:28.787Z] Step 9/22 : COPY . . [2020-10-28T02:27:28.787Z] ---> 589a0c53dbf2 [2020-10-28T02:27:28.787Z] Step 10/22 : ARG MAKE='make build' [2020-10-28T02:27:28.787Z] ---> Running in 19848a93fd1f [2020-10-28T02:27:28.787Z] Removing intermediate container 19848a93fd1f [2020-10-28T02:27:28.787Z] ---> 183b0de2a4c7 [2020-10-28T02:27:28.787Z] Step 11/22 : RUN $MAKE [2020-10-28T02:27:28.787Z] ---> Running in 6cea25dd8d3f [2020-10-28T02:27:28.787Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-10-28T02:27:41.200Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-28T02:27:44.548Z] Removing intermediate container 6cea25dd8d3f [2020-10-28T02:27:44.548Z] ---> 177feffb51c3 [2020-10-28T02:27:44.548Z] Step 12/22 : FROM alpine [2020-10-28T02:27:44.548Z] latest: Pulling from library/alpine [2020-10-28T02:27:44.548Z] 188c0c94c7c5: Pulling fs layer [2020-10-28T02:27:44.812Z] 188c0c94c7c5: Verifying Checksum [2020-10-28T02:27:44.812Z] 188c0c94c7c5: Download complete [2020-10-28T02:27:45.078Z] 188c0c94c7c5: Pull complete [2020-10-28T02:27:45.078Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T02:27:45.078Z] Status: Downloaded newer image for alpine:latest [2020-10-28T02:27:45.078Z] ---> d6e46aa2470d [2020-10-28T02:27:45.078Z] Step 13/22 : ENV APP_PORT=49990 [2020-10-28T02:27:45.342Z] ---> Running in ee1d48a62a19 [2020-10-28T02:27:45.342Z] Removing intermediate container ee1d48a62a19 [2020-10-28T02:27:45.342Z] ---> d56ee55209dd [2020-10-28T02:27:45.342Z] Step 14/22 : EXPOSE $APP_PORT [2020-10-28T02:27:45.342Z] ---> Running in 6b6c99e6a40a [2020-10-28T02:27:45.616Z] Removing intermediate container 6b6c99e6a40a [2020-10-28T02:27:45.616Z] ---> 2cea0ead7a1b [2020-10-28T02:27:45.616Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-10-28T02:27:46.194Z] ---> 8e9f759f8f7f [2020-10-28T02:27:46.194Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-10-28T02:27:46.458Z] ---> 0eaf7bdf7880 [2020-10-28T02:27:46.458Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-10-28T02:27:46.722Z] ---> 54f9aebf1cbe [2020-10-28T02:27:46.722Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-10-28T02:27:46.722Z] ---> Running in 8a20ebc883ec [2020-10-28T02:27:46.993Z] Removing intermediate container 8a20ebc883ec [2020-10-28T02:27:46.993Z] ---> f34f533a92bd [2020-10-28T02:27:46.993Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T02:27:46.993Z] ---> Running in da848632f3cf [2020-10-28T02:27:46.993Z] Removing intermediate container da848632f3cf [2020-10-28T02:27:46.993Z] ---> c91c55b0b2cd [2020-10-28T02:27:46.993Z] Step 20/22 : LABEL arch=amd64 [2020-10-28T02:27:47.262Z] ---> Running in 2bb477dcc24e [2020-10-28T02:27:47.263Z] Removing intermediate container 2bb477dcc24e [2020-10-28T02:27:47.263Z] ---> cd75b03a127f [2020-10-28T02:27:47.263Z] Step 21/22 : LABEL git_sha=1077bc0d486aaaea129445cc6271f3400f62c692 [2020-10-28T02:27:47.530Z] ---> Running in 1ed0efdac3cb [2020-10-28T02:27:47.530Z] Removing intermediate container 1ed0efdac3cb [2020-10-28T02:27:47.530Z] ---> dabb2b188f24 [2020-10-28T02:27:47.530Z] Step 22/22 : LABEL version=0.0.0 [2020-10-28T02:27:47.530Z] ---> Running in a2d4ba76f0a0 [2020-10-28T02:27:47.796Z] Removing intermediate container a2d4ba76f0a0 [2020-10-28T02:27:47.796Z] ---> b40361ac5d1e [2020-10-28T02:27:47.796Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T02:27:47.796Z] Successfully built b40361ac5d1e [2020-10-28T02:27:47.796Z] 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 [2020-10-28T02:27:50.731Z] provisioning config files... [2020-10-28T02:27:50.751Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-143@tmp/config8813121314639635437tmp [Pipeline] { [Pipeline] sh [2020-10-28T02:27:51.217Z] + set +x [2020-10-28T02:27:51.217Z] + bash -s -- [2020-10-28T02:27:51.217Z] + curl -s https://codecov.io/bash [2020-10-28T02:27:51.496Z] [2020-10-28T02:27:51.496Z] _____ _ [2020-10-28T02:27:51.496Z] / ____| | | [2020-10-28T02:27:51.496Z] | | ___ __| | ___ ___ _____ __ [2020-10-28T02:27:51.496Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-28T02:27:51.496Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-28T02:27:51.496Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-28T02:27:51.496Z] Bash-20201009-048fee3 [2020-10-28T02:27:51.496Z] [2020-10-28T02:27:51.496Z] [2020-10-28T02:27:51.496Z] ==> Jenkins CI detected. [2020-10-28T02:27:51.496Z] project root: . [2020-10-28T02:27:51.496Z] --> token set from env [2020-10-28T02:27:51.496Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-28T02:27:51.496Z] ==> Running gcov in . (disable via -X gcov) [2020-10-28T02:27:51.496Z] ==> Python coveragepy not found [2020-10-28T02:27:51.496Z] ==> Searching for coverage reports in: [2020-10-28T02:27:51.496Z] + . [2020-10-28T02:27:51.496Z] -> Found 1 reports [2020-10-28T02:27:51.496Z] ==> Detecting git/mercurial file structure [2020-10-28T02:27:51.496Z] ==> Reading reports [2020-10-28T02:27:51.771Z] + ./coverage.out bytes=47242 [2020-10-28T02:27:51.771Z] ==> Appending adjustments [2020-10-28T02:27:51.771Z] https://docs.codecov.io/docs/fixing-reports [2020-10-28T02:27:51.771Z] + Found adjustments [2020-10-28T02:27:51.771Z] ==> Gzipping contents [2020-10-28T02:27:51.771Z] ==> Uploading reports [2020-10-28T02:27:51.771Z] url: https://codecov.io [2020-10-28T02:27:51.771Z] 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= [2020-10-28T02:27:51.771Z] -> Pinging Codecov [2020-10-28T02:27:51.771Z] 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= [2020-10-28T02:27:52.052Z] -> Uploading to [2020-10-28T02:27:52.052Z] [2020-10-28T02:27:52.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-28T02:27:52.052Z] Dload Upload Total Spent Left Speed [2020-10-28T02:27:52.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-28T02:27:52.052Z] X> Failed to upload [2020-10-28T02:27:52.052Z] ==> Uploading to Codecov [2020-10-28T02:27:52.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-28T02:27:52.052Z] Dload Upload Total Spent Left Speed [2020-10-28T02:27:52.923Z] 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 [2020-10-28T02:27:52.923Z] View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1077bc0d486aaaea129445cc6271f3400f62c692 [Pipeline] } [2020-10-28T02:27:52.950Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:27:56.838Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:27:57.612Z] ---> package-listing.sh [2020-10-28T02:27:57.612Z] ++ facter osfamily [2020-10-28T02:27:57.612Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-28T02:27:57.612Z] + OS_FAMILY=redhat [2020-10-28T02:27:57.612Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-143 [2020-10-28T02:27:57.612Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-28T02:27:57.612Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-28T02:27:57.612Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-28T02:27:57.612Z] + PACKAGES=/tmp/packages_start.txt [2020-10-28T02:27:57.612Z] + '[' /w/workspace/foundry_device-virtual-go_PR-143 ']' [2020-10-28T02:27:57.612Z] + PACKAGES=/tmp/packages_end.txt [2020-10-28T02:27:57.612Z] + case "${OS_FAMILY}" in [2020-10-28T02:27:57.612Z] + rpm -qa [2020-10-28T02:27:57.612Z] + sort [2020-10-28T02:28:01.932Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-28T02:28:01.932Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-28T02:28:01.932Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-28T02:28:01.932Z] + '[' /w/workspace/foundry_device-virtual-go_PR-143 ']' [2020-10-28T02:28:01.932Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-143/archives/ [2020-10-28T02:28:01.932Z] + 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 [2020-10-28T02:28:01.971Z] 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 [2020-10-28T02:28:02.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:28:02.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T02:28:02.973Z] [2020-10-28T02:28:02.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:28:03.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T02:28:03.428Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-28T02:28:03.428Z] df20fa9351a1: Pulling fs layer [2020-10-28T02:28:03.428Z] 36b3adc4ff6f: Pulling fs layer [2020-10-28T02:28:03.428Z] 8ad3a11d3b57: Pulling fs layer [2020-10-28T02:28:03.428Z] 46f8f816bc3b: Pulling fs layer [2020-10-28T02:28:03.428Z] 93b61091891f: Pulling fs layer [2020-10-28T02:28:03.428Z] 93b9cdb0e59b: Pulling fs layer [2020-10-28T02:28:03.428Z] 5e14af77c1be: Pulling fs layer [2020-10-28T02:28:03.428Z] 01666e4c0597: Pulling fs layer [2020-10-28T02:28:03.428Z] aa168da1d23b: Pulling fs layer [2020-10-28T02:28:03.428Z] 46f8f816bc3b: Waiting [2020-10-28T02:28:03.428Z] 93b61091891f: Waiting [2020-10-28T02:28:03.428Z] 93b9cdb0e59b: Waiting [2020-10-28T02:28:03.428Z] 5e14af77c1be: Waiting [2020-10-28T02:28:03.428Z] 01666e4c0597: Waiting [2020-10-28T02:28:03.428Z] aa168da1d23b: Waiting [2020-10-28T02:28:03.703Z] 36b3adc4ff6f: Verifying Checksum [2020-10-28T02:28:03.703Z] 36b3adc4ff6f: Download complete [2020-10-28T02:28:03.703Z] 46f8f816bc3b: Verifying Checksum [2020-10-28T02:28:03.703Z] 46f8f816bc3b: Download complete [2020-10-28T02:28:04.728Z] 93b61091891f: Verifying Checksum [2020-10-28T02:28:04.728Z] 93b61091891f: Download complete [2020-10-28T02:28:04.728Z] 93b9cdb0e59b: Verifying Checksum [2020-10-28T02:28:04.728Z] 93b9cdb0e59b: Download complete [2020-10-28T02:28:04.728Z] 5e14af77c1be: Verifying Checksum [2020-10-28T02:28:04.728Z] 5e14af77c1be: Download complete [2020-10-28T02:28:04.728Z] 01666e4c0597: Verifying Checksum [2020-10-28T02:28:04.728Z] 01666e4c0597: Download complete [2020-10-28T02:28:05.731Z] df20fa9351a1: Verifying Checksum [2020-10-28T02:28:05.731Z] df20fa9351a1: Download complete [2020-10-28T02:28:06.332Z] df20fa9351a1: Pull complete [2020-10-28T02:28:06.332Z] 36b3adc4ff6f: Pull complete [2020-10-28T02:28:10.863Z] 8ad3a11d3b57: Verifying Checksum [2020-10-28T02:28:10.863Z] 8ad3a11d3b57: Download complete [2020-10-28T02:28:11.902Z] 8ad3a11d3b57: Pull complete [2020-10-28T02:28:12.186Z] 46f8f816bc3b: Pull complete [2020-10-28T02:28:12.800Z] 93b61091891f: Pull complete [2020-10-28T02:28:12.800Z] 93b9cdb0e59b: Pull complete [2020-10-28T02:28:13.072Z] 5e14af77c1be: Pull complete [2020-10-28T02:28:13.346Z] 01666e4c0597: Pull complete [2020-10-28T02:29:00.435Z] aa168da1d23b: Verifying Checksum [2020-10-28T02:29:00.435Z] aa168da1d23b: Download complete [2020-10-28T02:29:13.086Z] aa168da1d23b: Pull complete [2020-10-28T02:29:13.086Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-28T02:29:13.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T02:29:13.086Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-28T02:29:13.398Z] prd-centos7-docker-4c-2g-9365 does not seem to be running inside a container [2020-10-28T02:29:13.485Z] $ 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 [2020-10-28T02:29:19.687Z] $ docker top 6c7ebe369d134d63230b0d6bec4c9ec06487a6f5cb398463d4a5604a83de276e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T02:29:20.450Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-28T02:29:20.809Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-28T02:29:21.176Z] + ls /var/log/sa-host [2020-10-28T02:29:21.177Z] + sadf -c /var/log/sa-host/sa05 [2020-10-28T02:29:21.177Z] file_magic: OK [2020-10-28T02:29:21.177Z] HZ: Using current value: 100 [2020-10-28T02:29:21.177Z] file_header: OK [2020-10-28T02:29:21.177Z] 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 [2020-10-28T02:29:21.177Z] Statistics: [2020-10-28T02:29:21.177Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T02:29:21.177Z] File successfully converted to sysstat format version 12.2.1 [2020-10-28T02:29:21.177Z] + sadf -c /var/log/sa-host/sa28 [2020-10-28T02:29:21.177Z] file_magic: OK [2020-10-28T02:29:21.177Z] HZ: Using current value: 100 [2020-10-28T02:29:21.177Z] file_header: OK [2020-10-28T02:29:21.177Z] 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 [2020-10-28T02:29:21.177Z] Statistics: [2020-10-28T02:29:21.177Z] 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... [2020-10-28T02:29:21.177Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-28T02:29:21.521Z] provisioning config files... [2020-10-28T02:29:21.548Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-143@tmp/config2960203239571294675tmp [Pipeline] { [Pipeline] echo [2020-10-28T02:29:21.689Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:29:22.115Z] ---> create-netrc.sh [Pipeline] } [2020-10-28T02:29:22.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-28T02:29:22.580Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:29:22.993Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-28T02:29:23.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:29:23.367Z] ---> sudo-logs.sh [2020-10-28T02:29:23.367Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-28T02:29:23.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:29:23.761Z] ---> job-cost.sh [2020-10-28T02:29:23.761Z] lf-activate-venv: SKIPPING [2020-10-28T02:29:23.761Z] INFO: No Stack... [2020-10-28T02:29:25.166Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-28T02:29:25.752Z] INFO: Archiving Costs [Pipeline] echo [2020-10-28T02:29:25.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:29:26.142Z] ---> logs-deploy.sh [2020-10-28T02:29:26.142Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-143/1 [2020-10-28T02:29:26.142Z] INFO: archiving workspace using pattern(s): [2020-10-28T02:29:28.788Z] Archives upload complete. [2020-10-28T02:29:28.789Z] INFO: archiving logs to Nexus