Pull request #136 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8+c9d1bc531ce8d239853a83473b53448fb6f2334c (77de8c43efceb89cbcabdcf8ddc4aa5444a78f90) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-9374 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-136 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 Merge succeeded, producing 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 Checking out Revision 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 (PR-136) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 # 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 c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 # timeout=10 Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" First time build. Skipping changelog. > git rev-list --no-walk 7ce4282904e01369dc2784822bbc04622647acad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-28T03:01:31.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-28T03:01:32.276Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-28T03:01:32.396Z] ========================================================= [2020-10-28T03:01:32.396Z] EdgeX Global Pipelines Version Info [2020-10-28T03:01:32.396Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:01:33.871Z] ------------------- [2020-10-28T03:01:33.871Z] stable info: [2020-10-28T03:01:33.871Z] ------------------- [2020-10-28T03:01:33.871Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-28T03:01:33.871Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-28T03:01:33.871Z] Message: update stable to v1.0.148 [2020-10-28T03:01:34.841Z] ------------------- [2020-10-28T03:01:34.841Z] experimental info: [2020-10-28T03:01:34.841Z] ------------------- [2020-10-28T03:01:34.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-28T03:01:34.842Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-28T03:01:34.842Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-28T03:01:35.201Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-10-28T03:01:35.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-10-28T03:01:35.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-28T03:01:35.493Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-28T03:01:35.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-28T03:01:35.712Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-28T03:01:35.815Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-28T03:01:35.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-28T03:01:35.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-28T03:01:36.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-28T03:01:36.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-28T03:01:36.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-10-28T03:01:36.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-28T03:01:36.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-28T03:01:36.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T03:01:36.780Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T03:01:36.910Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T03:01:37.007Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T03:01:37.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-28T03:01:37.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-28T03:01:37.328Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-28T03:01:37.423Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-28T03:01:37.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-28T03:01:37.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-28T03:01:37.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-28T03:01:37.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo [2020-10-28T03:01:37.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo [2020-10-28T03:01:38.046Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo [2020-10-28T03:01:38.139Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [Pipeline] echo [2020-10-28T03:01:38.239Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32c44cb [Pipeline] echo [2020-10-28T03:01:38.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T03:01:38.989Z] + git log --format=format:%s -1 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [Pipeline] echo [2020-10-28T03:01:39.083Z] GIT_COMMIT: 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8, Commit Message: Bump modernc.org/ql from 1.0.0 to 1.1.0 [Pipeline] echo [2020-10-28T03:01:39.128Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:01:39.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T03:01:40.002Z] [2020-10-28T03:01:40.002Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:01:40.381Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T03:01:40.381Z] latest: Pulling from edgex-devops/git-semver [2020-10-28T03:01:40.381Z] 31603596830f: Pulling fs layer [2020-10-28T03:01:40.381Z] 2a8b12db71e7: Pulling fs layer [2020-10-28T03:01:40.381Z] 6ca5941a6612: Pulling fs layer [2020-10-28T03:01:40.381Z] ecc8261a40a4: Pulling fs layer [2020-10-28T03:01:40.381Z] ecc8261a40a4: Waiting [2020-10-28T03:01:40.381Z] 2a8b12db71e7: Verifying Checksum [2020-10-28T03:01:40.381Z] 2a8b12db71e7: Download complete [2020-10-28T03:01:40.654Z] 31603596830f: Verifying Checksum [2020-10-28T03:01:40.654Z] 31603596830f: Download complete [2020-10-28T03:01:40.654Z] ecc8261a40a4: Verifying Checksum [2020-10-28T03:01:40.654Z] ecc8261a40a4: Download complete [2020-10-28T03:01:40.654Z] 6ca5941a6612: Verifying Checksum [2020-10-28T03:01:40.654Z] 6ca5941a6612: Download complete [2020-10-28T03:01:40.959Z] 31603596830f: Pull complete [2020-10-28T03:01:41.230Z] 2a8b12db71e7: Pull complete [2020-10-28T03:01:42.199Z] 6ca5941a6612: Pull complete [2020-10-28T03:01:42.199Z] ecc8261a40a4: Pull complete [2020-10-28T03:01:42.199Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-28T03:01:42.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T03:01:42.199Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-28T03:01:42.329Z] prd-centos7-docker-4c-2g-9374 does not seem to be running inside a container [2020-10-28T03:01:42.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-136 -v /w/workspace/foundry_device-virtual-go_PR-136:/w/workspace/foundry_device-virtual-go_PR-136:rw,z -v /w/workspace/foundry_device-virtual-go_PR-136@tmp:/w/workspace/foundry_device-virtual-go_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T03:01:44.603Z] $ docker top 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T03:01:44.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T03:01:44.948Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T03:01:45.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T03:01:45.193Z] $ docker exec 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 ssh-agent [2020-10-28T03:01:45.388Z] SSH_AUTH_SOCK=/tmp/ssh-CiOKWQQnxiKh/agent.12 [2020-10-28T03:01:45.388Z] SSH_AGENT_PID=17 [2020-10-28T03:01:45.410Z] Running ssh-add (command line suppressed) [2020-10-28T03:01:45.547Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_9168681384828977819.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_9168681384828977819.key) [2020-10-28T03:01:45.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T03:01:45.972Z] + git tag --points-at HEAD [Pipeline] } [2020-10-28T03:01:46.017Z] $ docker exec --env ******** --env ******** 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 ssh-agent -k [2020-10-28T03:01:46.179Z] unset SSH_AUTH_SOCK; [2020-10-28T03:01:46.179Z] unset SSH_AGENT_PID; [2020-10-28T03:01:46.180Z] echo Agent pid 17 killed; [2020-10-28T03:01:46.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-28T03:01:46.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T03:01:46.429Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T03:01:46.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T03:01:46.898Z] $ docker exec 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 ssh-agent [2020-10-28T03:01:47.091Z] SSH_AUTH_SOCK=/tmp/ssh-d25CKePXsmjO/agent.45 [2020-10-28T03:01:47.091Z] SSH_AGENT_PID=51 [2020-10-28T03:01:47.105Z] Running ssh-add (command line suppressed) [2020-10-28T03:01:47.230Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_7102870390783627402.key (/w/workspace/foundry_device-virtual-go_PR-136@tmp/private_key_7102870390783627402.key) [2020-10-28T03:01:47.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T03:01:47.629Z] + git semver init [2020-10-28T03:01:47.629Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T03:01:47.629Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.git [2020-10-28T03:01:47.629Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-136 [2020-10-28T03:01:47.629Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T03:01:47.629Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T03:01:47.629Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T03:01:47.629Z] # $SEMVER_BRANCH = PR-136 [2020-10-28T03:01:47.629Z] # $SEMVER_TEMP = /tmp/semver-616468157 [2020-10-28T03:01:47.629Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-10-28T03:01:48.207Z] # '/tmp/semver-616468157' -> '/w/workspace/foundry_device-virtual-go_PR-136/.semver' [2020-10-28T03:01:48.207Z] # -> Force: false [2020-10-28T03:01:48.207Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-136/.semver [Pipeline] } [2020-10-28T03:01:48.223Z] $ docker exec --env ******** --env ******** 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 ssh-agent -k [2020-10-28T03:01:48.369Z] unset SSH_AUTH_SOCK; [2020-10-28T03:01:48.369Z] unset SSH_AGENT_PID; [2020-10-28T03:01:48.369Z] echo Agent pid 51 killed; [2020-10-28T03:01:48.414Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T03:01:48.943Z] + git semver [Pipeline] } [2020-10-28T03:01:48.964Z] $ docker stop --time=1 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 [2020-10-28T03:01:50.352Z] $ docker rm -f 02cef00186523ba04b1059ec6381302b5ab945c4d77fd271d853e2bcbff7d629 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T03:01:50.919Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-28T03:01:51.480Z] Stashed 1 file(s) [Pipeline] echo [2020-10-28T03:01:51.484Z] [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-28T03:02:07.187Z] Still waiting to schedule task [2020-10-28T03:02:07.187Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-28T03:02:07.190Z] Still waiting to schedule task [2020-10-28T03:02:07.190Z] ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-9372’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-9373’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9376’ is offline [2020-10-28T03:03:52.920Z] Running on prd-centos7-docker-4c-2g-9383 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws [2020-10-28T03:03:52.982Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2020-10-28T03:03:55.812Z] using credential edgex-jenkins-ssh [2020-10-28T03:03:55.869Z] Cloning the remote Git repository [2020-10-28T03:03:55.907Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:03:55.972Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2020-10-28T03:03:56.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:03:56.036Z] > git --version # timeout=10 [2020-10-28T03:03:56.046Z] > git --version # 'git version 2.16.5' [2020-10-28T03:03:56.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:03:56.077Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:03:57.778Z] Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [2020-10-28T03:03:57.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:03:57.362Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:03:57.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:03:57.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:03:57.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:03:57.401Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T03:03:57.869Z] Merge succeeded, producing 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [2020-10-28T03:03:57.870Z] Checking out Revision 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 (PR-136) [2020-10-28T03:03:57.791Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T03:03:57.797Z] > git checkout -f 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 # timeout=10 [2020-10-28T03:03:57.836Z] > git remote # timeout=10 [2020-10-28T03:03:57.842Z] > git config --get remote.origin.url # timeout=10 [2020-10-28T03:03:57.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:03:57.854Z] > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 [2020-10-28T03:03:57.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-28T03:03:57.876Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T03:03:57.880Z] > git checkout -f 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 # timeout=10 [2020-10-28T03:04:01.530Z] Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T03:04:02.493Z] ========================================================= [2020-10-28T03:04:02.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-28T03:04:02.493Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:03.206Z] + 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-28T03:04:03.788Z] Sending build context to Docker daemon 462.3kB [2020-10-28T03:04:03.788Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T03:04:03.788Z] Step 2/8 : FROM ${BASE} [2020-10-28T03:04:03.788Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-28T03:04:03.788Z] df20fa9351a1: Pulling fs layer [2020-10-28T03:04:03.788Z] ed8968b2872e: Pulling fs layer [2020-10-28T03:04:03.788Z] a92cc7c5fd73: Pulling fs layer [2020-10-28T03:04:03.788Z] e871e8e8d7a9: Pulling fs layer [2020-10-28T03:04:03.788Z] e73272ec9a57: Pulling fs layer [2020-10-28T03:04:03.788Z] 1e910a182e73: Pulling fs layer [2020-10-28T03:04:03.788Z] 4e634b169226: Pulling fs layer [2020-10-28T03:04:03.788Z] e73272ec9a57: Waiting [2020-10-28T03:04:03.788Z] 1e910a182e73: Waiting [2020-10-28T03:04:03.788Z] 4e634b169226: Waiting [2020-10-28T03:04:03.788Z] e871e8e8d7a9: Waiting [2020-10-28T03:04:03.788Z] a92cc7c5fd73: Verifying Checksum [2020-10-28T03:04:03.788Z] a92cc7c5fd73: Download complete [2020-10-28T03:04:03.788Z] ed8968b2872e: Download complete [2020-10-28T03:04:03.788Z] e73272ec9a57: Download complete [2020-10-28T03:04:03.788Z] 1e910a182e73: Verifying Checksum [2020-10-28T03:04:03.788Z] 1e910a182e73: Download complete [2020-10-28T03:04:04.051Z] df20fa9351a1: Verifying Checksum [2020-10-28T03:04:04.051Z] df20fa9351a1: Download complete [2020-10-28T03:04:04.317Z] df20fa9351a1: Pull complete [2020-10-28T03:04:04.317Z] ed8968b2872e: Pull complete [2020-10-28T03:04:04.581Z] a92cc7c5fd73: Pull complete [2020-10-28T03:04:05.996Z] 4e634b169226: Verifying Checksum [2020-10-28T03:04:05.996Z] 4e634b169226: Download complete [2020-10-28T03:04:06.582Z] e871e8e8d7a9: Verifying Checksum [2020-10-28T03:04:06.582Z] e871e8e8d7a9: Download complete [2020-10-28T03:04:11.939Z] e871e8e8d7a9: Pull complete [2020-10-28T03:04:11.939Z] e73272ec9a57: Pull complete [2020-10-28T03:04:11.939Z] 1e910a182e73: Pull complete [2020-10-28T03:04:17.299Z] 4e634b169226: Pull complete [2020-10-28T03:04:17.299Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-28T03:04:17.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-28T03:04:17.299Z] ---> f7629b54cfaa [2020-10-28T03:04:17.299Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-28T03:04:17.299Z] ---> Running in 6a64d98c82d7 [2020-10-28T03:04:17.585Z] Removing intermediate container 6a64d98c82d7 [2020-10-28T03:04:17.585Z] ---> c62c06c5425f [2020-10-28T03:04:17.585Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:04:17.852Z] ---> Running in a8d4dc4facc1 [2020-10-28T03:04:19.279Z] Removing intermediate container a8d4dc4facc1 [2020-10-28T03:04:19.279Z] ---> bb7346afcd61 [2020-10-28T03:04:19.279Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-28T03:04:19.279Z] ---> Running in 1c4533afccfa [2020-10-28T03:04:19.543Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T03:04:20.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T03:04:20.768Z] (1/14) Installing libmagic (5.38-r0) [2020-10-28T03:04:21.720Z] (2/14) Installing file (5.38-r0) [2020-10-28T03:04:21.720Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-28T03:04:21.720Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-28T03:04:27.077Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-28T03:04:27.077Z] (6/14) Installing patch (2.7.6-r6) [2020-10-28T03:04:27.077Z] (7/14) Installing build-base (0.5-r2) [2020-10-28T03:04:27.077Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-28T03:04:27.077Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-28T03:04:27.077Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-28T03:04:27.340Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-28T03:04:27.340Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-28T03:04:27.610Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-28T03:04:27.874Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-28T03:04:27.874Z] Executing busybox-1.31.1-r16.trigger [2020-10-28T03:04:27.874Z] OK: 237 MiB in 53 packages [2020-10-28T03:04:31.219Z] Removing intermediate container 1c4533afccfa [2020-10-28T03:04:31.219Z] ---> c2192ceda49f [2020-10-28T03:04:31.219Z] Step 6/8 : WORKDIR /device-virtual-go [2020-10-28T03:04:31.219Z] ---> Running in 15299767e583 [2020-10-28T03:04:31.219Z] Removing intermediate container 15299767e583 [2020-10-28T03:04:31.220Z] ---> 9117827403d3 [2020-10-28T03:04:31.220Z] Step 7/8 : COPY . . [2020-10-28T03:04:32.176Z] ---> e1d56f2fa1e1 [2020-10-28T03:04:32.176Z] Step 8/8 : RUN go mod download [2020-10-28T03:04:32.176Z] ---> Running in 46c45db50dcd [2020-10-28T03:04:58.457Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9385 in /w/workspace/foundry_device-virtual-go_PR-136 [Pipeline] { [Pipeline] ws [2020-10-28T03:04:58.523Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2020-10-28T03:04:58.889Z] Removing intermediate container 46c45db50dcd [2020-10-28T03:04:58.889Z] ---> e7cd2e855244 [2020-10-28T03:04:58.889Z] Successfully built e7cd2e855244 [2020-10-28T03:04:58.889Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:59.312Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T03:04:59.312Z] . [Pipeline] withDockerContainer [2020-10-28T03:04:59.449Z] prd-centos7-docker-4c-2g-9383 does not seem to be running inside a container [2020-10-28T03:04:59.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-28T03:05:00.434Z] $ docker top dc5a5c013693846089b01a7943272a20ab47ac3505f029d37ad8bcbd70f20a56 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:05:00.949Z] + go version [2020-10-28T03:05:00.949Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-28T03:05:00.987Z] $ docker stop --time=1 dc5a5c013693846089b01a7943272a20ab47ac3505f029d37ad8bcbd70f20a56 [2020-10-28T03:05:02.387Z] $ docker rm -f dc5a5c013693846089b01a7943272a20ab47ac3505f029d37ad8bcbd70f20a56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:05:03.355Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T03:05:03.355Z] . [Pipeline] withDockerContainer [2020-10-28T03:05:03.476Z] prd-centos7-docker-4c-2g-9383 does not seem to be running inside a container [2020-10-28T03:05:03.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-28T03:05:04.290Z] using credential edgex-jenkins-ssh [2020-10-28T03:05:04.372Z] Cloning the remote Git repository [2020-10-28T03:05:04.437Z] $ docker top d3f08fe95b538cc57f43e85f975afa5eec8391dc43da57a49646b82b7f09a823 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:05:04.991Z] + make test [2020-10-28T03:05:04.991Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-28T03:05:04.422Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:05:04.527Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2020-10-28T03:05:04.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:05:04.600Z] > git --version # timeout=10 [2020-10-28T03:05:04.627Z] > git --version # 'git version 2.17.1' [2020-10-28T03:05:04.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:05:04.685Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:05:06.035Z] Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [2020-10-28T03:05:06.285Z] Merge succeeded, producing 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [2020-10-28T03:05:06.285Z] Checking out Revision 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 (PR-136) [2020-10-28T03:05:05.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:05:05.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:05:05.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:05:05.542Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:05:05.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:05:05.554Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T03:05:06.051Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T03:05:06.062Z] > git checkout -f 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 # timeout=10 [2020-10-28T03:05:06.147Z] > git remote # timeout=10 [2020-10-28T03:05:06.163Z] > git config --get remote.origin.url # timeout=10 [2020-10-28T03:05:06.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:05:06.187Z] > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 [2020-10-28T03:05:06.260Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-28T03:05:06.290Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T03:05:06.964Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-10-28T03:05:06.327Z] > git checkout -f 32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 # timeout=10 [2020-10-28T03:05:10.739Z] Commit message: "Bump modernc.org/ql from 1.0.0 to 1.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T03:05:11.657Z] ========================================================= [2020-10-28T03:05:11.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-28T03:05:11.657Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:05:12.744Z] + 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-28T03:05:13.352Z] Sending build context to Docker daemon 462.3kB [2020-10-28T03:05:13.352Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T03:05:13.352Z] Step 2/8 : FROM ${BASE} [2020-10-28T03:05:13.967Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-28T03:05:13.967Z] b538f80385f9: Pulling fs layer [2020-10-28T03:05:13.967Z] 74f711af9a0d: Pulling fs layer [2020-10-28T03:05:13.967Z] 99f96fe45779: Pulling fs layer [2020-10-28T03:05:13.967Z] 8529a6b9a6be: Pulling fs layer [2020-10-28T03:05:13.967Z] 45590311c82a: Pulling fs layer [2020-10-28T03:05:13.967Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-28T03:05:13.967Z] 209524e5b208: Pulling fs layer [2020-10-28T03:05:13.967Z] 8529a6b9a6be: Waiting [2020-10-28T03:05:13.967Z] 45590311c82a: Waiting [2020-10-28T03:05:13.967Z] 209524e5b208: Waiting [2020-10-28T03:05:13.967Z] 99f96fe45779: Download complete [2020-10-28T03:05:13.967Z] 74f711af9a0d: Verifying Checksum [2020-10-28T03:05:13.967Z] 74f711af9a0d: Download complete [2020-10-28T03:05:13.967Z] 45590311c82a: Verifying Checksum [2020-10-28T03:05:13.967Z] 45590311c82a: Download complete [2020-10-28T03:05:13.967Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-28T03:05:13.967Z] 69ca0ff8b7b3: Download complete [2020-10-28T03:05:13.967Z] b538f80385f9: Verifying Checksum [2020-10-28T03:05:13.967Z] b538f80385f9: Download complete [2020-10-28T03:05:14.587Z] b538f80385f9: Pull complete [2020-10-28T03:05:15.195Z] 74f711af9a0d: Pull complete [2020-10-28T03:05:15.478Z] 99f96fe45779: Pull complete [2020-10-28T03:05:16.480Z] 209524e5b208: Verifying Checksum [2020-10-28T03:05:16.480Z] 209524e5b208: Download complete [2020-10-28T03:05:17.943Z] 8529a6b9a6be: Verifying Checksum [2020-10-28T03:05:17.943Z] 8529a6b9a6be: Download complete [2020-10-28T03:05:22.128Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-10-28T03:05:22.714Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.361s coverage: 64.4% of statements [2020-10-28T03:05:23.311Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-28T03:05:26.695Z] gofmt -l . [2020-10-28T03:05:26.695Z] [ "`gofmt -l .`" = "" ] [2020-10-28T03:05:26.695Z] ./bin/test-attribution-txt.sh [2020-10-28T03:05:27.283Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-28T03:05:27.954Z] Stashed 1 file(s) [Pipeline] } [2020-10-28T03:05:27.964Z] $ docker stop --time=1 d3f08fe95b538cc57f43e85f975afa5eec8391dc43da57a49646b82b7f09a823 [2020-10-28T03:05:28.173Z] 8529a6b9a6be: Pull complete [2020-10-28T03:05:28.173Z] 45590311c82a: Pull complete [2020-10-28T03:05:28.173Z] 69ca0ff8b7b3: Pull complete [2020-10-28T03:05:29.849Z] $ docker rm -f d3f08fe95b538cc57f43e85f975afa5eec8391dc43da57a49646b82b7f09a823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-28T03:05:31.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T03:05:31.590Z] 209524e5b208: Pull complete [2020-10-28T03:05:31.790Z] + ls -al . [2020-10-28T03:05:31.790Z] total 128 [2020-10-28T03:05:31.790Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 28 03:05 . [2020-10-28T03:05:31.790Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 03:03 .. [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 6713 Oct 28 03:03 Attribution.txt [2020-10-28T03:05:31.790Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 03:03 bin [2020-10-28T03:05:31.790Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 03:03 cmd [2020-10-28T03:05:31.790Z] -rw-r--r--. 1 jenkins jenkins 47242 Oct 28 03:05 coverage.out [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 1834 Oct 28 03:03 Dockerfile [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 957 Oct 28 03:03 Dockerfile.build [2020-10-28T03:05:31.790Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 03:04 .git [2020-10-28T03:05:31.790Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 03:03 .github [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 258 Oct 28 03:03 .gitignore [2020-10-28T03:05:31.790Z] -rw-r--r--. 1 jenkins jenkins 439 Oct 28 03:05 go.mod [2020-10-28T03:05:31.790Z] -rw-r--r--. 1 jenkins jenkins 18179 Oct 28 03:05 go.sum [2020-10-28T03:05:31.790Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 03:03 internal [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 660 Oct 28 03:03 Jenkinsfile [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 03:03 LICENSE [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 873 Oct 28 03:03 Makefile [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 918 Oct 28 03:03 README.md [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 03:01 VERSION [2020-10-28T03:05:31.790Z] -rw-rw-r--. 1 jenkins jenkins 235 Oct 28 03:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:05:31.866Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-28T03:05:31.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-28T03:05:31.866Z] ---> 5bddaf1c2fca [2020-10-28T03:05:31.866Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-28T03:05:32.121Z] + 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=32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 --label arch=amd64 --label version=0.0.0 . [2020-10-28T03:05:32.389Z] Sending build context to Docker daemon 529.4kB [2020-10-28T03:05:32.389Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-28T03:05:32.389Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-28T03:05:32.389Z] ---> e7cd2e855244 [2020-10-28T03:05:32.389Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-28T03:05:32.389Z] ---> Running in e9d99d4446b8 [2020-10-28T03:05:32.654Z] Removing intermediate container e9d99d4446b8 [2020-10-28T03:05:32.654Z] ---> efb0359e92fe [2020-10-28T03:05:32.654Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T03:05:32.654Z] ---> Running in 79dae6e71abf [2020-10-28T03:05:32.918Z] Removing intermediate container 79dae6e71abf [2020-10-28T03:05:32.919Z] ---> d9f3bdc61cdc [2020-10-28T03:05:32.919Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-10-28T03:05:32.919Z] ---> Running in af1debeda5e6 [2020-10-28T03:05:33.183Z] Removing intermediate container af1debeda5e6 [2020-10-28T03:05:33.183Z] ---> 27e704b9cd8f [2020-10-28T03:05:33.183Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:05:33.183Z] ---> Running in 99472dec1fcb [2020-10-28T03:05:34.154Z] Removing intermediate container 99472dec1fcb [2020-10-28T03:05:34.154Z] ---> dabde9c0b906 [2020-10-28T03:05:34.154Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T03:05:34.154Z] ---> Running in 29513b3a275b [2020-10-28T03:05:34.750Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T03:05:35.258Z] ---> Running in 91717945ce4b [2020-10-28T03:05:35.259Z] Removing intermediate container 91717945ce4b [2020-10-28T03:05:35.259Z] ---> c75eb2c92c41 [2020-10-28T03:05:35.259Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:05:35.259Z] ---> Running in 26551773aa15 [2020-10-28T03:05:35.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T03:05:36.746Z] OK: 237 MiB in 53 packages [2020-10-28T03:05:37.716Z] Removing intermediate container 29513b3a275b [2020-10-28T03:05:37.716Z] ---> 40821d510e8e [2020-10-28T03:05:37.716Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-10-28T03:05:37.716Z] ---> Running in 4051a75a9eea [2020-10-28T03:05:37.931Z] Removing intermediate container 26551773aa15 [2020-10-28T03:05:37.931Z] ---> 1e1bc1390ed0 [2020-10-28T03:05:37.931Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-28T03:05:37.931Z] ---> Running in 0cb7b83297b2 [2020-10-28T03:05:37.990Z] Removing intermediate container 4051a75a9eea [2020-10-28T03:05:37.990Z] ---> 4e73f5ca34a8 [2020-10-28T03:05:37.990Z] Step 9/22 : COPY . . [2020-10-28T03:05:38.951Z] ---> 10dc0a2a43f6 [2020-10-28T03:05:38.951Z] Step 10/22 : ARG MAKE='make build' [2020-10-28T03:05:38.951Z] ---> Running in deba0da13cae [2020-10-28T03:05:38.951Z] Removing intermediate container deba0da13cae [2020-10-28T03:05:38.951Z] ---> 8864f981c80f [2020-10-28T03:05:38.951Z] Step 11/22 : RUN $MAKE [2020-10-28T03:05:38.951Z] ---> Running in ad431a25bbd5 [2020-10-28T03:05:39.391Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T03:05:39.536Z] 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-28T03:05:40.398Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T03:05:41.380Z] (1/14) Installing libmagic (5.38-r0) [2020-10-28T03:05:41.657Z] (2/14) Installing file (5.38-r0) [2020-10-28T03:05:41.931Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-28T03:05:41.931Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-28T03:05:51.936Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-28T03:05:56.196Z] Removing intermediate container ad431a25bbd5 [2020-10-28T03:05:56.196Z] ---> 555b0bcfbaa7 [2020-10-28T03:05:56.196Z] Step 12/22 : FROM alpine [2020-10-28T03:05:56.196Z] latest: Pulling from library/alpine [2020-10-28T03:05:56.196Z] 188c0c94c7c5: Pulling fs layer [2020-10-28T03:05:56.466Z] 188c0c94c7c5: Download complete [2020-10-28T03:05:56.730Z] 188c0c94c7c5: Pull complete [2020-10-28T03:05:56.730Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T03:05:56.730Z] Status: Downloaded newer image for alpine:latest [2020-10-28T03:05:56.730Z] ---> d6e46aa2470d [2020-10-28T03:05:56.730Z] Step 13/22 : ENV APP_PORT=49990 [2020-10-28T03:05:56.730Z] ---> Running in caed68e6d2ef [2020-10-28T03:05:56.996Z] Removing intermediate container caed68e6d2ef [2020-10-28T03:05:56.996Z] ---> e863c9215dab [2020-10-28T03:05:56.996Z] Step 14/22 : EXPOSE $APP_PORT [2020-10-28T03:05:56.996Z] ---> Running in 4a1ecfec30d3 [2020-10-28T03:05:57.032Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-28T03:05:57.032Z] (6/14) Installing patch (2.7.6-r6) [2020-10-28T03:05:57.032Z] (7/14) Installing build-base (0.5-r2) [2020-10-28T03:05:57.032Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-28T03:05:57.032Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-28T03:05:57.032Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-28T03:05:57.266Z] Removing intermediate container 4a1ecfec30d3 [2020-10-28T03:05:57.266Z] ---> dc47ac5e01af [2020-10-28T03:05:57.266Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-10-28T03:05:57.842Z] ---> c0cbcae9002f [2020-10-28T03:05:57.842Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-10-28T03:05:58.106Z] ---> c6a8a186efff [2020-10-28T03:05:58.106Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-10-28T03:05:58.370Z] ---> 6e84cd92562f [2020-10-28T03:05:58.370Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-10-28T03:05:58.370Z] ---> Running in 1ec68ae3d3ff [2020-10-28T03:05:58.633Z] Removing intermediate container 1ec68ae3d3ff [2020-10-28T03:05:58.634Z] ---> 104c2ef0f96c [2020-10-28T03:05:58.634Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T03:05:58.634Z] ---> Running in 84b03db32637 [2020-10-28T03:05:58.896Z] Removing intermediate container 84b03db32637 [2020-10-28T03:05:58.896Z] ---> 67b4b604f2d3 [2020-10-28T03:05:58.896Z] Step 20/22 : LABEL arch=amd64 [2020-10-28T03:05:58.896Z] ---> Running in f5153826b4b7 [2020-10-28T03:05:59.160Z] Removing intermediate container f5153826b4b7 [2020-10-28T03:05:59.160Z] ---> 5c6b3da3d4bf [2020-10-28T03:05:59.160Z] Step 21/22 : LABEL git_sha=32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [2020-10-28T03:05:59.160Z] ---> Running in 5342022a7173 [2020-10-28T03:05:59.425Z] Removing intermediate container 5342022a7173 [2020-10-28T03:05:59.425Z] ---> 6cc515a32c50 [2020-10-28T03:05:59.425Z] Step 22/22 : LABEL version=0.0.0 [2020-10-28T03:05:59.425Z] ---> Running in 6ebfde83c72c [2020-10-28T03:05:59.425Z] Removing intermediate container 6ebfde83c72c [2020-10-28T03:05:59.425Z] ---> b3fe4f64db57 [2020-10-28T03:05:59.425Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T03:05:59.668Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-28T03:05:59.702Z] Successfully built b3fe4f64db57 [2020-10-28T03:05:59.702Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-10-28T03:05:59.941Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-28T03:05:59.941Z] (13/14) Installing openssh-server (8.3_p1-r0) 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] } [2020-10-28T03:06:00.934Z] (14/14) Installing openssh (8.3_p1-r0) [Pipeline] // stage [Pipeline] } [2020-10-28T03:06:01.212Z] Executing busybox-1.31.1-r16.trigger [2020-10-28T03:06:01.212Z] OK: 221 MiB in 53 packages [2020-10-28T03:06:05.529Z] Removing intermediate container 0cb7b83297b2 [2020-10-28T03:06:05.529Z] ---> dca2721ee59a [2020-10-28T03:06:05.529Z] Step 6/8 : WORKDIR /device-virtual-go [2020-10-28T03:06:05.803Z] ---> Running in 8876f3322ee4 [2020-10-28T03:06:06.078Z] Removing intermediate container 8876f3322ee4 [2020-10-28T03:06:06.078Z] ---> cc0ddc6d566d [2020-10-28T03:06:06.078Z] Step 7/8 : COPY . . [2020-10-28T03:06:07.075Z] ---> 9d15dc40f3dd [2020-10-28T03:06:07.075Z] Step 8/8 : RUN go mod download [2020-10-28T03:06:07.351Z] ---> Running in 49b1648a2e8a [2020-10-28T03:06:39.764Z] Removing intermediate container 49b1648a2e8a [2020-10-28T03:06:39.765Z] ---> 4237f10e4868 [2020-10-28T03:06:39.765Z] Successfully built 4237f10e4868 [2020-10-28T03:06:39.765Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:06:40.177Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T03:06:40.177Z] . [Pipeline] withDockerContainer [2020-10-28T03:06:40.431Z] prd-ubuntu18.04-docker-arm64-4c-16g-9385 does not seem to be running inside a container [2020-10-28T03:06:40.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-28T03:06:42.452Z] $ docker top e6e8a717c8ec5bf7212e2c833aa9cfcc8192b699ae9f43512171a6cfdf1cfd48 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:06:43.876Z] + go version [2020-10-28T03:06:43.876Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-28T03:06:43.904Z] $ docker stop --time=1 e6e8a717c8ec5bf7212e2c833aa9cfcc8192b699ae9f43512171a6cfdf1cfd48 [2020-10-28T03:06:45.858Z] $ docker rm -f e6e8a717c8ec5bf7212e2c833aa9cfcc8192b699ae9f43512171a6cfdf1cfd48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:06:46.906Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T03:06:46.906Z] . [Pipeline] withDockerContainer [2020-10-28T03:06:47.143Z] prd-ubuntu18.04-docker-arm64-4c-16g-9385 does not seem to be running inside a container [2020-10-28T03:06:47.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-28T03:06:49.124Z] $ docker top f62e28cfc3c23e1c0780564cd87af00ea5a9229bf941a7f2d0dfa0f84b48d003 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:06:50.498Z] + make test [2020-10-28T03:06:50.498Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-28T03:06:51.480Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-10-28T03:07:38.582Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-10-28T03:07:38.582Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.483s coverage: 64.4% of statements [2020-10-28T03:07:38.582Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-28T03:07:45.336Z] gofmt -l . [2020-10-28T03:07:45.336Z] [ "`gofmt -l .`" = "" ] [2020-10-28T03:07:45.336Z] ./bin/test-attribution-txt.sh [2020-10-28T03:07:45.336Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-28T03:07:45.955Z] Warning: overwriting stash ‘coverage-report’ [2020-10-28T03:07:46.673Z] Stashed 1 file(s) [Pipeline] } [2020-10-28T03:07:46.679Z] $ docker stop --time=1 f62e28cfc3c23e1c0780564cd87af00ea5a9229bf941a7f2d0dfa0f84b48d003 [2020-10-28T03:07:48.862Z] $ docker rm -f f62e28cfc3c23e1c0780564cd87af00ea5a9229bf941a7f2d0dfa0f84b48d003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T03:07:50.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T03:07:50.569Z] + ls -al . [2020-10-28T03:07:50.569Z] total 152 [2020-10-28T03:07:50.569Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 28 03:07 . [2020-10-28T03:07:50.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 03:05 .. [2020-10-28T03:07:50.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 03:05 .git [2020-10-28T03:07:50.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:05 .github [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 258 Oct 28 03:05 .gitignore [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 6713 Oct 28 03:05 Attribution.txt [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 1834 Oct 28 03:05 Dockerfile [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 957 Oct 28 03:05 Dockerfile.build [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 28 03:05 Jenkinsfile [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 03:05 LICENSE [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 873 Oct 28 03:05 Makefile [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 918 Oct 28 03:05 README.md [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 03:01 VERSION [2020-10-28T03:07:50.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:05 bin [2020-10-28T03:07:50.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:05 cmd [2020-10-28T03:07:50.569Z] -rw-r--r-- 1 jenkins jenkins 47242 Oct 28 03:07 coverage.out [2020-10-28T03:07:50.569Z] -rw-r--r-- 1 jenkins jenkins 439 Oct 28 03:07 go.mod [2020-10-28T03:07:50.569Z] -rw-r--r-- 1 jenkins jenkins 18179 Oct 28 03:07 go.sum [2020-10-28T03:07:50.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:05 internal [2020-10-28T03:07:50.569Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 28 03:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:07:50.923Z] + 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=32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 --label arch=arm64 --label version=0.0.0 . [2020-10-28T03:07:51.200Z] Sending build context to Docker daemon 529.4kB [2020-10-28T03:07:51.200Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-28T03:07:51.200Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-28T03:07:51.200Z] ---> 4237f10e4868 [2020-10-28T03:07:51.200Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-28T03:07:51.472Z] ---> Running in 33ad73361e62 [2020-10-28T03:07:52.074Z] Removing intermediate container 33ad73361e62 [2020-10-28T03:07:52.074Z] ---> e4cc2eef71f7 [2020-10-28T03:07:52.074Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T03:07:52.074Z] ---> Running in e9179c12b4d6 [2020-10-28T03:07:52.675Z] Removing intermediate container e9179c12b4d6 [2020-10-28T03:07:52.675Z] ---> 311d0347268f [2020-10-28T03:07:52.675Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-10-28T03:07:52.675Z] ---> Running in 8d590448ae04 [2020-10-28T03:07:53.286Z] Removing intermediate container 8d590448ae04 [2020-10-28T03:07:53.286Z] ---> 76cf1b5fd2e0 [2020-10-28T03:07:53.286Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:07:53.286Z] ---> Running in c4d007662307 [2020-10-28T03:07:55.924Z] Removing intermediate container c4d007662307 [2020-10-28T03:07:55.924Z] ---> 3a24b93e9dfd [2020-10-28T03:07:55.924Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T03:07:55.924Z] ---> Running in f6d480fcd7d1 [2020-10-28T03:07:57.925Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T03:07:58.203Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T03:07:59.188Z] OK: 221 MiB in 53 packages [2020-10-28T03:08:00.183Z] Removing intermediate container f6d480fcd7d1 [2020-10-28T03:08:00.183Z] ---> ff7cfbbaed5e [2020-10-28T03:08:00.183Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-10-28T03:08:00.183Z] ---> Running in 7600db5337c9 [2020-10-28T03:08:00.792Z] Removing intermediate container 7600db5337c9 [2020-10-28T03:08:00.792Z] ---> 136cc125b0e6 [2020-10-28T03:08:00.792Z] Step 9/22 : COPY . . [2020-10-28T03:08:01.785Z] ---> 1c415e41e953 [2020-10-28T03:08:01.785Z] Step 10/22 : ARG MAKE='make build' [2020-10-28T03:08:02.084Z] ---> Running in e958d03fba53 [2020-10-28T03:08:02.689Z] Removing intermediate container e958d03fba53 [2020-10-28T03:08:02.689Z] ---> 62a2e66ee426 [2020-10-28T03:08:02.689Z] Step 11/22 : RUN $MAKE [2020-10-28T03:08:02.689Z] ---> Running in b82f8c8df21b [2020-10-28T03:08:04.682Z] 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-28T03:08:43.818Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-28T03:08:52.208Z] Removing intermediate container b82f8c8df21b [2020-10-28T03:08:52.208Z] ---> 40fcd88ca46f [2020-10-28T03:08:52.209Z] Step 12/22 : FROM alpine [2020-10-28T03:08:52.209Z] latest: Pulling from library/alpine [2020-10-28T03:08:52.209Z] 5f621e34cdf4: Pulling fs layer [2020-10-28T03:08:52.209Z] 5f621e34cdf4: Verifying Checksum [2020-10-28T03:08:52.209Z] 5f621e34cdf4: Download complete [2020-10-28T03:08:52.550Z] 5f621e34cdf4: Pull complete [2020-10-28T03:08:52.550Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T03:08:52.550Z] Status: Downloaded newer image for alpine:latest [2020-10-28T03:08:52.550Z] ---> 2e77e061c27f [2020-10-28T03:08:52.550Z] Step 13/22 : ENV APP_PORT=49990 [2020-10-28T03:08:52.841Z] ---> Running in 08c6fea82b84 [2020-10-28T03:08:53.485Z] Removing intermediate container 08c6fea82b84 [2020-10-28T03:08:53.485Z] ---> 0879e9a0da72 [2020-10-28T03:08:53.485Z] Step 14/22 : EXPOSE $APP_PORT [2020-10-28T03:08:53.485Z] ---> Running in 698ad3534f33 [2020-10-28T03:08:54.112Z] Removing intermediate container 698ad3534f33 [2020-10-28T03:08:54.112Z] ---> 016ffe908b1a [2020-10-28T03:08:54.112Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-10-28T03:08:55.612Z] ---> cee0da553732 [2020-10-28T03:08:55.612Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-10-28T03:08:56.243Z] ---> 9a705edca6a4 [2020-10-28T03:08:56.243Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-10-28T03:08:57.261Z] ---> bb30fe9c5c95 [2020-10-28T03:08:57.261Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-10-28T03:08:57.261Z] ---> Running in 1d4468dec387 [2020-10-28T03:08:57.893Z] Removing intermediate container 1d4468dec387 [2020-10-28T03:08:57.893Z] ---> e5a53dae9e19 [2020-10-28T03:08:57.893Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T03:08:57.893Z] ---> Running in 1e5c3343606d [2020-10-28T03:08:58.499Z] Removing intermediate container 1e5c3343606d [2020-10-28T03:08:58.499Z] ---> ef2aad2d1b58 [2020-10-28T03:08:58.499Z] Step 20/22 : LABEL arch=arm64 [2020-10-28T03:08:58.499Z] ---> Running in bab772a17568 [2020-10-28T03:08:58.788Z] Removing intermediate container bab772a17568 [2020-10-28T03:08:58.788Z] ---> 7a20a3317152 [2020-10-28T03:08:58.788Z] Step 21/22 : LABEL git_sha=32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [2020-10-28T03:08:59.067Z] ---> Running in 5fc13856902c [2020-10-28T03:08:59.713Z] Removing intermediate container 5fc13856902c [2020-10-28T03:08:59.713Z] ---> 90d125bcc2d1 [2020-10-28T03:08:59.713Z] Step 22/22 : LABEL version=0.0.0 [2020-10-28T03:08:59.713Z] ---> Running in 65f7bbdecd20 [2020-10-28T03:09:00.001Z] Removing intermediate container 65f7bbdecd20 [2020-10-28T03:09:00.001Z] ---> a0b1d69205ab [2020-10-28T03:09:00.001Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T03:09:00.001Z] Successfully built a0b1d69205ab [2020-10-28T03:09:00.001Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-28T03:09:02.383Z] provisioning config files... [2020-10-28T03:09:02.399Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config7773111963603441944tmp [Pipeline] { [Pipeline] sh [2020-10-28T03:09:02.789Z] + set +x [2020-10-28T03:09:02.789Z] + curl -s https://codecov.io/bash [2020-10-28T03:09:02.789Z] + bash -s -- [2020-10-28T03:09:03.052Z] [2020-10-28T03:09:03.052Z] _____ _ [2020-10-28T03:09:03.052Z] / ____| | | [2020-10-28T03:09:03.052Z] | | ___ __| | ___ ___ _____ __ [2020-10-28T03:09:03.052Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-28T03:09:03.052Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-28T03:09:03.052Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-28T03:09:03.052Z] Bash-20201009-048fee3 [2020-10-28T03:09:03.052Z] [2020-10-28T03:09:03.053Z] [2020-10-28T03:09:03.053Z] ==> Jenkins CI detected. [2020-10-28T03:09:03.053Z] project root: . [2020-10-28T03:09:03.053Z] --> token set from env [2020-10-28T03:09:03.053Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-28T03:09:03.053Z] ==> Running gcov in . (disable via -X gcov) [2020-10-28T03:09:03.053Z] ==> Python coveragepy not found [2020-10-28T03:09:03.053Z] ==> Searching for coverage reports in: [2020-10-28T03:09:03.053Z] + . [2020-10-28T03:09:03.053Z] -> Found 1 reports [2020-10-28T03:09:03.053Z] ==> Detecting git/mercurial file structure [2020-10-28T03:09:03.053Z] ==> Reading reports [2020-10-28T03:09:03.053Z] + ./coverage.out bytes=47242 [2020-10-28T03:09:03.053Z] ==> Appending adjustments [2020-10-28T03:09:03.053Z] https://docs.codecov.io/docs/fixing-reports [2020-10-28T03:09:03.320Z] + Found adjustments [2020-10-28T03:09:03.320Z] ==> Gzipping contents [2020-10-28T03:09:03.320Z] ==> Uploading reports [2020-10-28T03:09:03.320Z] url: https://codecov.io [2020-10-28T03:09:03.320Z] query: branch=PR-136&commit=32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= [2020-10-28T03:09:03.320Z] -> Pinging Codecov [2020-10-28T03:09:03.320Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-136&commit=32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-136%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=136&job=&cmd_args= [2020-10-28T03:09:03.585Z] -> Uploading to [2020-10-28T03:09:03.585Z] [2020-10-28T03:09:03.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-28T03:09:03.585Z] Dload Upload Total Spent Left Speed [2020-10-28T03:09:03.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-28T03:09:03.585Z] X> Failed to upload [2020-10-28T03:09:03.585Z] ==> Uploading to Codecov [2020-10-28T03:09:03.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-28T03:09:03.585Z] Dload Upload Total Spent Left Speed [2020-10-28T03:09:04.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 98 5946 0 0 100 5832 0 7191 --:--:-- --:--:-- --:--:-- 7191 100 5946 100 114 100 5832 140 7188 --:--:-- --:--:-- --:--:-- 7182 [2020-10-28T03:09:04.163Z] View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/32c44cbcdf24d0a8f1dac55d6b4abf84d242f3d8 [Pipeline] } [2020-10-28T03:09:04.176Z] 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-28T03:09:07.025Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:07.617Z] ---> package-listing.sh [2020-10-28T03:09:07.617Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-28T03:09:07.617Z] ++ facter osfamily [2020-10-28T03:09:07.617Z] + OS_FAMILY=redhat [2020-10-28T03:09:07.617Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-136 [2020-10-28T03:09:07.617Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-28T03:09:07.617Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-28T03:09:07.617Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-28T03:09:07.617Z] + PACKAGES=/tmp/packages_start.txt [2020-10-28T03:09:07.617Z] + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' [2020-10-28T03:09:07.617Z] + PACKAGES=/tmp/packages_end.txt [2020-10-28T03:09:07.617Z] + case "${OS_FAMILY}" in [2020-10-28T03:09:07.617Z] + rpm -qa [2020-10-28T03:09:07.617Z] + sort [2020-10-28T03:09:11.886Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-28T03:09:11.886Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-28T03:09:11.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-28T03:09:11.886Z] + '[' /w/workspace/foundry_device-virtual-go_PR-136 ']' [2020-10-28T03:09:11.886Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-136/archives/ [2020-10-28T03:09:11.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-136/archives/ [Pipeline] echo [2020-10-28T03:09:11.906Z] 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-136/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-28T03:09:12.213Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:09:12.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T03:09:12.536Z] [2020-10-28T03:09:12.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:09:12.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T03:09:13.889Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-28T03:09:13.890Z] df20fa9351a1: Pulling fs layer [2020-10-28T03:09:13.890Z] 36b3adc4ff6f: Pulling fs layer [2020-10-28T03:09:13.890Z] 8ad3a11d3b57: Pulling fs layer [2020-10-28T03:09:13.890Z] 46f8f816bc3b: Pulling fs layer [2020-10-28T03:09:13.890Z] 93b61091891f: Pulling fs layer [2020-10-28T03:09:13.890Z] 93b9cdb0e59b: Pulling fs layer [2020-10-28T03:09:13.890Z] 5e14af77c1be: Pulling fs layer [2020-10-28T03:09:13.890Z] 01666e4c0597: Pulling fs layer [2020-10-28T03:09:13.890Z] 93b61091891f: Waiting [2020-10-28T03:09:13.890Z] 93b9cdb0e59b: Waiting [2020-10-28T03:09:13.890Z] aa168da1d23b: Pulling fs layer [2020-10-28T03:09:13.890Z] 5e14af77c1be: Waiting [2020-10-28T03:09:13.890Z] 01666e4c0597: Waiting [2020-10-28T03:09:13.890Z] aa168da1d23b: Waiting [2020-10-28T03:09:13.890Z] 46f8f816bc3b: Waiting [2020-10-28T03:09:13.890Z] 36b3adc4ff6f: Verifying Checksum [2020-10-28T03:09:13.890Z] 36b3adc4ff6f: Download complete [2020-10-28T03:09:13.890Z] 46f8f816bc3b: Verifying Checksum [2020-10-28T03:09:13.890Z] 46f8f816bc3b: Download complete [2020-10-28T03:09:14.166Z] df20fa9351a1: Verifying Checksum [2020-10-28T03:09:14.166Z] df20fa9351a1: Download complete [2020-10-28T03:09:14.166Z] 93b61091891f: Verifying Checksum [2020-10-28T03:09:14.166Z] 93b61091891f: Download complete [2020-10-28T03:09:14.166Z] 93b9cdb0e59b: Verifying Checksum [2020-10-28T03:09:14.166Z] 93b9cdb0e59b: Download complete [2020-10-28T03:09:14.166Z] 5e14af77c1be: Verifying Checksum [2020-10-28T03:09:14.166Z] 5e14af77c1be: Download complete [2020-10-28T03:09:14.166Z] 01666e4c0597: Verifying Checksum [2020-10-28T03:09:14.166Z] 01666e4c0597: Download complete [2020-10-28T03:09:14.439Z] df20fa9351a1: Pull complete [2020-10-28T03:09:14.715Z] 8ad3a11d3b57: Verifying Checksum [2020-10-28T03:09:14.715Z] 8ad3a11d3b57: Download complete [2020-10-28T03:09:14.715Z] 36b3adc4ff6f: Pull complete [2020-10-28T03:09:15.691Z] 8ad3a11d3b57: Pull complete [2020-10-28T03:09:15.691Z] 46f8f816bc3b: Pull complete [2020-10-28T03:09:16.286Z] 93b61091891f: Pull complete [2020-10-28T03:09:16.558Z] 93b9cdb0e59b: Pull complete [2020-10-28T03:09:16.558Z] 5e14af77c1be: Pull complete [2020-10-28T03:09:16.558Z] 01666e4c0597: Pull complete [2020-10-28T03:09:17.153Z] aa168da1d23b: Verifying Checksum [2020-10-28T03:09:17.153Z] aa168da1d23b: Download complete [2020-10-28T03:09:25.467Z] aa168da1d23b: Pull complete [2020-10-28T03:09:25.467Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-28T03:09:25.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T03:09:25.467Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-28T03:09:25.663Z] prd-centos7-docker-4c-2g-9374 does not seem to be running inside a container [2020-10-28T03:09:25.734Z] $ 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-136/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-136 -v /w/workspace/foundry_device-virtual-go_PR-136:/w/workspace/foundry_device-virtual-go_PR-136:rw,z -v /w/workspace/foundry_device-virtual-go_PR-136@tmp:/w/workspace/foundry_device-virtual-go_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-28T03:09:29.668Z] $ docker top c6183c93c8a05e19412d110328fa618070195b449ca8e8b12f4cd154ce62ba9a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:09:30.168Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-28T03:09:30.487Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-28T03:09:30.810Z] + ls /var/log/sa-host [2020-10-28T03:09:30.810Z] + sadf -c /var/log/sa-host/sa05 [2020-10-28T03:09:30.810Z] file_magic: OK [2020-10-28T03:09:30.810Z] HZ: Using current value: 100 [2020-10-28T03:09:30.810Z] file_header: OK [2020-10-28T03:09:30.810Z] 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-28T03:09:30.810Z] Statistics: [2020-10-28T03:09:30.810Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T03:09:30.810Z] File successfully converted to sysstat format version 12.2.1 [2020-10-28T03:09:30.810Z] + sadf -c /var/log/sa-host/sa28 [2020-10-28T03:09:30.810Z] file_magic: OK [2020-10-28T03:09:30.810Z] HZ: Using current value: 100 [2020-10-28T03:09:30.810Z] file_header: OK [2020-10-28T03:09:30.810Z] 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-28T03:09:30.810Z] Statistics: [2020-10-28T03:09:30.810Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T03:09:30.810Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-28T03:09:31.051Z] provisioning config files... [2020-10-28T03:09:31.070Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-136@tmp/config4927280604780478138tmp [Pipeline] { [Pipeline] echo [2020-10-28T03:09:31.156Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:31.481Z] ---> create-netrc.sh [Pipeline] } [2020-10-28T03:09:31.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-28T03:09:31.596Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:31.903Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-28T03:09:31.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:32.249Z] ---> sudo-logs.sh [2020-10-28T03:09:32.249Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-28T03:09:32.264Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:32.579Z] ---> job-cost.sh [2020-10-28T03:09:32.579Z] lf-activate-venv: SKIPPING [2020-10-28T03:09:32.579Z] INFO: No Stack... [2020-10-28T03:09:33.988Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-28T03:09:34.254Z] INFO: Archiving Costs [Pipeline] echo [2020-10-28T03:09:34.271Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:34.584Z] ---> logs-deploy.sh [2020-10-28T03:09:34.584Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-136/4 [2020-10-28T03:09:34.584Z] INFO: archiving workspace using pattern(s): [2020-10-28T03:09:36.546Z] Archives upload complete. [2020-10-28T03:09:36.546Z] INFO: archiving logs to Nexus