Pull request #144 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a+c9d1bc531ce8d239853a83473b53448fb6f2334c (4c827db997419b42d0fb5ed16f3de6e3e63f26e9) 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-144/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > 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-144/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10053 in /w/workspace/foundry_device-virtual-go_PR-144 [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-144 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a Merge succeeded, producing 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a Checking out Revision 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a (PR-144) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # 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 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # timeout=10 Commit message: "Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-02T06:40:41.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:40:42.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:40:42.296Z] ========================================================= [2020-11-02T06:40:42.296Z] EdgeX Global Pipelines Version Info [2020-11-02T06:40:42.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:40:43.807Z] ------------------- [2020-11-02T06:40:43.807Z] stable info: [2020-11-02T06:40:43.807Z] ------------------- [2020-11-02T06:40:43.807Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:40:43.807Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:40:43.807Z] Message: update stable to v1.0.152 [2020-11-02T06:40:44.752Z] ------------------- [2020-11-02T06:40:44.752Z] experimental info: [2020-11-02T06:40:44.752Z] ------------------- [2020-11-02T06:40:44.752Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:40:44.752Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:40:44.752Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:40:45.297Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-11-02T06:40:45.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-11-02T06:40:45.587Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:40:45.729Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:40:45.855Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:40:45.988Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:40:46.110Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:40:46.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:40:46.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:40:46.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:40:46.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:40:46.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-11-02T06:40:46.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:40:47.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:40:47.220Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:40:47.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:40:47.471Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:40:47.600Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:40:47.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:40:47.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-02T06:40:47.984Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:40:48.109Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:40:48.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:40:48.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:40:48.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:40:48.589Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-144 [Pipeline] echo [2020-11-02T06:40:48.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-144 [Pipeline] echo [2020-11-02T06:40:48.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-144 [Pipeline] echo [2020-11-02T06:40:48.965Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [Pipeline] echo [2020-11-02T06:40:49.089Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d7cc70 [Pipeline] echo [2020-11-02T06:40:49.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:40:50.032Z] + git log --format=format:%s -1 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [Pipeline] echo [2020-11-02T06:40:50.112Z] GIT_COMMIT: 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a, Commit Message: Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo [2020-11-02T06:40:50.188Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:40:50.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:40:51.097Z] [2020-11-02T06:40:51.097Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:40:51.493Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:40:51.493Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:40:51.493Z] 31603596830f: Pulling fs layer [2020-11-02T06:40:51.493Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:40:51.493Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:40:51.493Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:40:51.493Z] ecc8261a40a4: Waiting [2020-11-02T06:40:51.493Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:40:51.493Z] 2a8b12db71e7: Download complete [2020-11-02T06:40:51.760Z] 31603596830f: Verifying Checksum [2020-11-02T06:40:51.760Z] 31603596830f: Download complete [2020-11-02T06:40:51.760Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:40:51.760Z] ecc8261a40a4: Download complete [2020-11-02T06:40:51.760Z] 6ca5941a6612: Verifying Checksum [2020-11-02T06:40:51.760Z] 6ca5941a6612: Download complete [2020-11-02T06:40:52.021Z] 31603596830f: Pull complete [2020-11-02T06:40:52.021Z] 2a8b12db71e7: Pull complete [2020-11-02T06:40:52.974Z] 6ca5941a6612: Pull complete [2020-11-02T06:40:53.237Z] ecc8261a40a4: Pull complete [2020-11-02T06:40:53.237Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:40:53.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:40:53.237Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:40:53.436Z] prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container [2020-11-02T06:40:53.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-02T06:40:55.845Z] $ docker top 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:40:56.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:40:56.319Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:40:56.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:40:56.636Z] $ docker exec 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent [2020-11-02T06:40:56.802Z] SSH_AUTH_SOCK=/tmp/ssh-NQNuWP4MJh9S/agent.11 [2020-11-02T06:40:56.802Z] SSH_AGENT_PID=16 [2020-11-02T06:40:56.820Z] Running ssh-add (command line suppressed) [2020-11-02T06:40:56.947Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_7399772484517369530.key (/w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_7399772484517369530.key) [2020-11-02T06:40:57.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:40:57.403Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:40:57.527Z] $ docker exec --env ******** --env ******** 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent -k [2020-11-02T06:40:57.654Z] unset SSH_AUTH_SOCK; [2020-11-02T06:40:57.655Z] unset SSH_AGENT_PID; [2020-11-02T06:40:57.655Z] echo Agent pid 16 killed; [2020-11-02T06:40:57.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:40:57.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:40:57.968Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:40:58.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:40:58.151Z] $ docker exec 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent [2020-11-02T06:40:58.316Z] SSH_AUTH_SOCK=/tmp/ssh-1RH8rq4ehFnN/agent.45 [2020-11-02T06:40:58.317Z] SSH_AGENT_PID=51 [2020-11-02T06:40:58.326Z] Running ssh-add (command line suppressed) [2020-11-02T06:40:58.462Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_8078962204847760864.key (/w/workspace/foundry_device-virtual-go_PR-144@tmp/private_key_8078962204847760864.key) [2020-11-02T06:40:58.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:40:58.908Z] + git semver init [2020-11-02T06:40:58.908Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:40:58.908Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-144/.git [2020-11-02T06:40:58.908Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-144 [2020-11-02T06:40:58.908Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:40:58.908Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:40:58.908Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:40:58.908Z] # $SEMVER_BRANCH = PR-144 [2020-11-02T06:40:58.908Z] # $SEMVER_TEMP = /tmp/semver-264873543 [2020-11-02T06:40:58.908Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-11-02T06:40:59.490Z] # '/tmp/semver-264873543' -> '/w/workspace/foundry_device-virtual-go_PR-144/.semver' [2020-11-02T06:40:59.490Z] # -> Force: false [2020-11-02T06:40:59.490Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-144/.semver [Pipeline] } [2020-11-02T06:40:59.511Z] $ docker exec --env ******** --env ******** 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 ssh-agent -k [2020-11-02T06:40:59.628Z] unset SSH_AUTH_SOCK; [2020-11-02T06:40:59.628Z] unset SSH_AGENT_PID; [2020-11-02T06:40:59.628Z] echo Agent pid 51 killed; [2020-11-02T06:40:59.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:41:00.309Z] + git semver [Pipeline] } [2020-11-02T06:41:00.351Z] $ docker stop --time=1 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 [2020-11-02T06:41:01.744Z] $ docker rm -f 7e297a5595a81d6cf363cdf4e41ce72168d540941fed2362e7633572ff87eb49 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:41:02.366Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:41:02.991Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:41:03.011Z] [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:41:04.585Z] ========================================================= [2020-11-02T06:41:04.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:41:04.585Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:41:04.982Z] + 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-11-02T06:41:04.982Z] Sending build context to Docker daemon 718.8kB [2020-11-02T06:41:04.982Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:41:04.982Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:41:04.982Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:41:04.982Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:41:04.982Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:41:04.982Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:41:04.982Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:41:04.982Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:41:04.982Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:41:04.982Z] 4e634b169226: Pulling fs layer [2020-11-02T06:41:04.982Z] e73272ec9a57: Waiting [2020-11-02T06:41:04.982Z] 1e910a182e73: Waiting [2020-11-02T06:41:04.982Z] 4e634b169226: Waiting [2020-11-02T06:41:04.982Z] e871e8e8d7a9: Waiting [2020-11-02T06:41:04.982Z] a92cc7c5fd73: Verifying Checksum [2020-11-02T06:41:04.982Z] a92cc7c5fd73: Download complete [2020-11-02T06:41:05.257Z] ed8968b2872e: Verifying Checksum [2020-11-02T06:41:05.257Z] ed8968b2872e: Download complete [2020-11-02T06:41:05.257Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:41:05.257Z] e73272ec9a57: Download complete [2020-11-02T06:41:05.257Z] 1e910a182e73: Verifying Checksum [2020-11-02T06:41:05.257Z] 1e910a182e73: Download complete [2020-11-02T06:41:05.257Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:41:05.257Z] df20fa9351a1: Download complete [2020-11-02T06:41:05.527Z] df20fa9351a1: Pull complete [2020-11-02T06:41:05.527Z] ed8968b2872e: Pull complete [2020-11-02T06:41:05.791Z] a92cc7c5fd73: Pull complete [2020-11-02T06:41:09.182Z] 4e634b169226: Verifying Checksum [2020-11-02T06:41:09.182Z] 4e634b169226: Download complete [2020-11-02T06:41:09.182Z] e871e8e8d7a9: Verifying Checksum [2020-11-02T06:41:09.182Z] e871e8e8d7a9: Download complete [2020-11-02T06:41:14.525Z] e871e8e8d7a9: Pull complete [2020-11-02T06:41:14.525Z] e73272ec9a57: Pull complete [2020-11-02T06:41:14.525Z] 1e910a182e73: Pull complete [2020-11-02T06:41:18.970Z] Still waiting to schedule task [2020-11-02T06:41:18.971Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-02T06:41:22.726Z] 4e634b169226: Pull complete [2020-11-02T06:41:22.726Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:41:22.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:41:22.726Z] ---> f7629b54cfaa [2020-11-02T06:41:22.726Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:41:22.726Z] ---> Running in 98d99f493df3 [2020-11-02T06:41:22.989Z] Removing intermediate container 98d99f493df3 [2020-11-02T06:41:22.989Z] ---> c65a31c77e52 [2020-11-02T06:41:22.989Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:41:22.989Z] ---> Running in 90ea9e8cc326 [2020-11-02T06:41:24.402Z] Removing intermediate container 90ea9e8cc326 [2020-11-02T06:41:24.402Z] ---> 839ce86d0ee3 [2020-11-02T06:41:24.402Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:41:24.402Z] ---> Running in 177d1ad87547 [2020-11-02T06:41:25.356Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:41:25.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:41:26.880Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:41:27.457Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:41:27.457Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:41:27.457Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:41:45.618Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:41:45.618Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:41:45.618Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:41:45.618Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:41:45.618Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:41:45.618Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:41:45.618Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:41:45.618Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:41:45.618Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:41:45.618Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:41:45.881Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:41:45.881Z] OK: 237 MiB in 53 packages [2020-11-02T06:41:49.208Z] Removing intermediate container 177d1ad87547 [2020-11-02T06:41:49.208Z] ---> 60a368a8f2a1 [2020-11-02T06:41:49.208Z] Step 6/8 : WORKDIR /device-virtual-go [2020-11-02T06:41:49.208Z] ---> Running in 48be22d5e56a [2020-11-02T06:41:49.470Z] Removing intermediate container 48be22d5e56a [2020-11-02T06:41:49.470Z] ---> 1cd9f250cf3a [2020-11-02T06:41:49.470Z] Step 7/8 : COPY . . [2020-11-02T06:41:50.424Z] ---> 891afa25195e [2020-11-02T06:41:50.424Z] Step 8/8 : RUN go mod download [2020-11-02T06:41:50.424Z] ---> Running in 39f57d52b5b1 [2020-11-02T06:42:12.494Z] Removing intermediate container 39f57d52b5b1 [2020-11-02T06:42:12.494Z] ---> 7b3ea7c82520 [2020-11-02T06:42:12.494Z] Successfully built 7b3ea7c82520 [2020-11-02T06:42:12.494Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:12.854Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:42:12.854Z] . [Pipeline] withDockerContainer [2020-11-02T06:42:12.996Z] prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container [2020-11-02T06:42:13.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@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 ******** ci-base-image-x86_64 cat [2020-11-02T06:42:13.929Z] $ docker top 9fc768c924fc6e7992e7b86aea02b189476d408b7216eb863fe14be1e5da1bc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:42:14.523Z] + go version [2020-11-02T06:42:14.523Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:42:14.559Z] $ docker stop --time=1 9fc768c924fc6e7992e7b86aea02b189476d408b7216eb863fe14be1e5da1bc8 [2020-11-02T06:42:15.905Z] $ docker rm -f 9fc768c924fc6e7992e7b86aea02b189476d408b7216eb863fe14be1e5da1bc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:16.974Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:42:16.974Z] . [Pipeline] withDockerContainer [2020-11-02T06:42:17.105Z] prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container [2020-11-02T06:42:17.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@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 ******** ci-base-image-x86_64 cat [2020-11-02T06:42:17.764Z] $ docker top f18a6664b571a6e70646db01de3d3002b4b75cec80ee1b5d58ad96d61ab8ff7d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:42:18.324Z] + make test [2020-11-02T06:42:18.324Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:42:19.748Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-11-02T06:42:34.872Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-11-02T06:42:34.873Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.342s coverage: 64.4% of statements [2020-11-02T06:42:35.457Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:42:38.856Z] gofmt -l . [2020-11-02T06:42:38.856Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:42:38.856Z] ./bin/test-attribution-txt.sh [2020-11-02T06:42:39.435Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:42:39.481Z] $ docker stop --time=1 f18a6664b571a6e70646db01de3d3002b4b75cec80ee1b5d58ad96d61ab8ff7d [2020-11-02T06:42:41.350Z] $ docker rm -f f18a6664b571a6e70646db01de3d3002b4b75cec80ee1b5d58ad96d61ab8ff7d [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:42:42.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:42:42.281Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:42:43.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:42:44.274Z] + ls -al . [2020-11-02T06:42:44.274Z] total 124 [2020-11-02T06:42:44.274Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 2 06:42 . [2020-11-02T06:42:44.275Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:40 .. [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 6713 Nov 2 06:40 Attribution.txt [2020-11-02T06:42:44.275Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 2 06:40 bin [2020-11-02T06:42:44.275Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:40 cmd [2020-11-02T06:42:44.275Z] -rw-r--r--. 1 jenkins jenkins 47242 Nov 2 06:42 coverage.out [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 1834 Nov 2 06:40 Dockerfile [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 957 Nov 2 06:40 Dockerfile.build [2020-11-02T06:42:44.275Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:40 .git [2020-11-02T06:42:44.275Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:40 .github [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 258 Nov 2 06:40 .gitignore [2020-11-02T06:42:44.275Z] -rw-r--r--. 1 jenkins jenkins 863 Nov 2 06:42 go.mod [2020-11-02T06:42:44.275Z] -rw-r--r--. 1 jenkins jenkins 16165 Nov 2 06:42 go.sum [2020-11-02T06:42:44.275Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:40 internal [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 660 Nov 2 06:40 Jenkinsfile [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:40 LICENSE [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 873 Nov 2 06:40 Makefile [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 918 Nov 2 06:40 README.md [2020-11-02T06:42:44.275Z] drwx------. 3 jenkins jenkins 58 Nov 2 06:40 .semver [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:41 VERSION [2020-11-02T06:42:44.275Z] -rw-rw-r--. 1 jenkins jenkins 235 Nov 2 06:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:44.616Z] + 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=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:42:44.878Z] Sending build context to Docker daemon 783.9kB [2020-11-02T06:42:44.878Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:42:44.878Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:42:44.878Z] ---> 7b3ea7c82520 [2020-11-02T06:42:44.878Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:42:45.143Z] ---> Running in 82cd10a2b95d [2020-11-02T06:42:45.405Z] Removing intermediate container 82cd10a2b95d [2020-11-02T06:42:45.405Z] ---> 24f503dad22d [2020-11-02T06:42:45.405Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:42:45.405Z] ---> Running in 802d69b5e3d3 [2020-11-02T06:42:45.670Z] Removing intermediate container 802d69b5e3d3 [2020-11-02T06:42:45.670Z] ---> 2668fdb1da02 [2020-11-02T06:42:45.670Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-11-02T06:42:45.670Z] ---> Running in 2c045f0970e8 [2020-11-02T06:42:45.942Z] Removing intermediate container 2c045f0970e8 [2020-11-02T06:42:45.942Z] ---> 83a7c0e2a247 [2020-11-02T06:42:45.942Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:42:45.942Z] ---> Running in 4bfd0ad32638 [2020-11-02T06:42:46.927Z] Removing intermediate container 4bfd0ad32638 [2020-11-02T06:42:46.927Z] ---> 7bd7d7c9ebcb [2020-11-02T06:42:46.927Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:42:47.227Z] ---> Running in 3e2e73db3b59 [2020-11-02T06:42:47.518Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:42:48.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:42:50.587Z] OK: 237 MiB in 53 packages [2020-11-02T06:42:50.857Z] Removing intermediate container 3e2e73db3b59 [2020-11-02T06:42:50.857Z] ---> 659f05840091 [2020-11-02T06:42:50.857Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-11-02T06:42:50.857Z] ---> Running in 693ae8c172c1 [2020-11-02T06:42:51.135Z] Removing intermediate container 693ae8c172c1 [2020-11-02T06:42:51.135Z] ---> b4f655c2fe87 [2020-11-02T06:42:51.135Z] Step 9/22 : COPY . . [2020-11-02T06:42:51.714Z] ---> 63caf34efadd [2020-11-02T06:42:51.714Z] Step 10/22 : ARG MAKE='make build' [2020-11-02T06:42:51.978Z] ---> Running in 8698a602d571 [2020-11-02T06:42:52.558Z] Removing intermediate container 8698a602d571 [2020-11-02T06:42:52.558Z] ---> d9d71369fd50 [2020-11-02T06:42:52.558Z] Step 11/22 : RUN $MAKE [2020-11-02T06:42:52.838Z] ---> Running in ab912039dcb6 [2020-11-02T06:42:53.422Z] 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-11-02T06:43:05.884Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:43:08.454Z] Removing intermediate container ab912039dcb6 [2020-11-02T06:43:08.454Z] ---> 3428d7c457f0 [2020-11-02T06:43:08.455Z] Step 12/22 : FROM alpine [2020-11-02T06:43:08.719Z] latest: Pulling from library/alpine [2020-11-02T06:43:08.990Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:43:09.256Z] 188c0c94c7c5: Download complete [2020-11-02T06:43:09.256Z] 188c0c94c7c5: Pull complete [2020-11-02T06:43:09.528Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:43:09.528Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:43:09.528Z] ---> d6e46aa2470d [2020-11-02T06:43:09.528Z] Step 13/22 : ENV APP_PORT=49990 [2020-11-02T06:43:09.528Z] ---> Running in f6dbc105c8f8 [2020-11-02T06:43:09.794Z] Removing intermediate container f6dbc105c8f8 [2020-11-02T06:43:09.794Z] ---> 90a1f33c56c9 [2020-11-02T06:43:09.794Z] Step 14/22 : EXPOSE $APP_PORT [2020-11-02T06:43:09.794Z] ---> Running in 6f2b8ca4000e [2020-11-02T06:43:09.794Z] Removing intermediate container 6f2b8ca4000e [2020-11-02T06:43:09.794Z] ---> 605fab174bbb [2020-11-02T06:43:09.794Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-11-02T06:43:10.379Z] ---> b7f9fd4bc90f [2020-11-02T06:43:10.379Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-11-02T06:43:10.648Z] ---> 80b2eb1fce9d [2020-11-02T06:43:10.648Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-11-02T06:43:10.939Z] ---> 03c080cdb451 [2020-11-02T06:43:10.939Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-11-02T06:43:10.939Z] ---> Running in a3f0df6b0387 [2020-11-02T06:43:11.211Z] Removing intermediate container a3f0df6b0387 [2020-11-02T06:43:11.211Z] ---> cc8c4b997fc6 [2020-11-02T06:43:11.211Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:43:11.211Z] ---> Running in 72a3d8259c6b [2020-11-02T06:43:11.478Z] Removing intermediate container 72a3d8259c6b [2020-11-02T06:43:11.478Z] ---> 19b06734e68b [2020-11-02T06:43:11.478Z] Step 20/22 : LABEL arch=amd64 [2020-11-02T06:43:11.478Z] ---> Running in b27281e36455 [2020-11-02T06:43:11.744Z] Removing intermediate container b27281e36455 [2020-11-02T06:43:11.744Z] ---> 05ee4bb206ea [2020-11-02T06:43:11.744Z] Step 21/22 : LABEL git_sha=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [2020-11-02T06:43:11.744Z] ---> Running in c65f9a143e98 [2020-11-02T06:43:11.744Z] Removing intermediate container c65f9a143e98 [2020-11-02T06:43:11.744Z] ---> df683a387a06 [2020-11-02T06:43:11.744Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:43:12.012Z] ---> Running in dc4cffa692b8 [2020-11-02T06:43:12.012Z] Removing intermediate container dc4cffa692b8 [2020-11-02T06:43:12.012Z] ---> 282eec9ffd34 [2020-11-02T06:43:12.012Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:43:12.012Z] Successfully built 282eec9ffd34 [2020-11-02T06:43:12.012Z] 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] // stage [Pipeline] } [2020-11-02T06:44:42.306Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10070 in /w/workspace/foundry_device-virtual-go_PR-144 [Pipeline] { [Pipeline] ws [2020-11-02T06:44:42.411Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:44:48.773Z] using credential edgex-jenkins-ssh [2020-11-02T06:44:48.839Z] Cloning the remote Git repository [2020-11-02T06:44:48.899Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-11-02T06:44:49.029Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-11-02T06:44:49.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-02T06:44:49.132Z] > git --version # timeout=10 [2020-11-02T06:44:49.157Z] > git --version # 'git version 2.17.1' [2020-11-02T06:44:49.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:44:49.236Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:44:50.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-02T06:44:50.158Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:44:50.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-02T06:44:50.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-02T06:44:50.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:44:50.232Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:44:50.717Z] Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [2020-11-02T06:44:51.089Z] Merge succeeded, producing 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [2020-11-02T06:44:51.090Z] Checking out Revision 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a (PR-144) [2020-11-02T06:44:50.734Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:44:50.750Z] > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # timeout=10 [2020-11-02T06:44:50.872Z] > git remote # timeout=10 [2020-11-02T06:44:50.949Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:44:50.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:44:50.995Z] > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 [2020-11-02T06:44:51.032Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:44:51.089Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:44:51.121Z] > git checkout -f 2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a # timeout=10 [2020-11-02T06:44:55.551Z] Commit message: "Bump github.com/edgexfoundry/device-sdk-go" [2020-11-02T06:44:55.613Z] > git --version # timeout=10 [2020-11-02T06:44:55.623Z] > git --version # 'git version 2.17.1' [2020-11-02T06:44:55.642Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:44:56.761Z] ========================================================= [2020-11-02T06:44:56.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:44:56.761Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:57.766Z] + 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-11-02T06:44:58.370Z] Sending build context to Docker daemon 471.6kB [2020-11-02T06:44:58.644Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:44:58.644Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:44:58.922Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:44:58.922Z] b538f80385f9: Pulling fs layer [2020-11-02T06:44:58.922Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:44:58.922Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:44:58.922Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:44:58.922Z] 45590311c82a: Pulling fs layer [2020-11-02T06:44:58.922Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:44:58.922Z] 209524e5b208: Pulling fs layer [2020-11-02T06:44:58.922Z] 8529a6b9a6be: Waiting [2020-11-02T06:44:58.922Z] 45590311c82a: Waiting [2020-11-02T06:44:58.922Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:44:58.922Z] 209524e5b208: Waiting [2020-11-02T06:44:58.922Z] 99f96fe45779: Verifying Checksum [2020-11-02T06:44:58.922Z] 99f96fe45779: Download complete [2020-11-02T06:44:58.922Z] 74f711af9a0d: Verifying Checksum [2020-11-02T06:44:58.922Z] 74f711af9a0d: Download complete [2020-11-02T06:44:58.922Z] 45590311c82a: Download complete [2020-11-02T06:44:58.922Z] 69ca0ff8b7b3: Download complete [2020-11-02T06:44:58.922Z] b538f80385f9: Verifying Checksum [2020-11-02T06:44:58.922Z] b538f80385f9: Download complete [2020-11-02T06:44:59.913Z] b538f80385f9: Pull complete [2020-11-02T06:45:00.529Z] 74f711af9a0d: Pull complete [2020-11-02T06:45:00.808Z] 99f96fe45779: Pull complete [2020-11-02T06:45:01.805Z] 209524e5b208: Verifying Checksum [2020-11-02T06:45:01.805Z] 209524e5b208: Download complete [2020-11-02T06:45:02.835Z] 8529a6b9a6be: Verifying Checksum [2020-11-02T06:45:02.835Z] 8529a6b9a6be: Download complete [2020-11-02T06:45:13.051Z] 8529a6b9a6be: Pull complete [2020-11-02T06:45:13.340Z] 45590311c82a: Pull complete [2020-11-02T06:45:13.615Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:45:18.007Z] 209524e5b208: Pull complete [2020-11-02T06:45:18.007Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:45:18.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:45:18.007Z] ---> 5bddaf1c2fca [2020-11-02T06:45:18.007Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:45:19.996Z] ---> Running in 606cb9b7a951 [2020-11-02T06:45:20.600Z] Removing intermediate container 606cb9b7a951 [2020-11-02T06:45:20.600Z] ---> e4c2f5bfcef4 [2020-11-02T06:45:20.600Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:45:20.600Z] ---> Running in 51f59b3a2972 [2020-11-02T06:45:24.010Z] Removing intermediate container 51f59b3a2972 [2020-11-02T06:45:24.010Z] ---> 72ea03b9f35f [2020-11-02T06:45:24.010Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:45:24.010Z] ---> Running in 0bbae68c1a49 [2020-11-02T06:45:25.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:45:25.987Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:45:27.428Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:45:28.023Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:45:28.023Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:45:28.300Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:45:43.386Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:45:43.386Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:45:43.386Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:45:43.386Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:45:43.386Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:45:43.386Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:45:43.386Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:45:43.386Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:45:43.386Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:45:43.386Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:45:43.386Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:45:43.386Z] OK: 221 MiB in 53 packages [2020-11-02T06:45:47.747Z] Removing intermediate container 0bbae68c1a49 [2020-11-02T06:45:47.747Z] ---> d71438ce1ede [2020-11-02T06:45:47.748Z] Step 6/8 : WORKDIR /device-virtual-go [2020-11-02T06:45:47.748Z] ---> Running in 06ea994f1a75 [2020-11-02T06:45:48.352Z] Removing intermediate container 06ea994f1a75 [2020-11-02T06:45:48.352Z] ---> 93a021011116 [2020-11-02T06:45:48.352Z] Step 7/8 : COPY . . [2020-11-02T06:45:49.347Z] ---> e3a09cd0cd78 [2020-11-02T06:45:49.347Z] Step 8/8 : RUN go mod download [2020-11-02T06:45:49.347Z] ---> Running in 94b05b626fb9 [2020-11-02T06:46:16.201Z] Removing intermediate container 94b05b626fb9 [2020-11-02T06:46:16.201Z] ---> ba571ba3c6ba [2020-11-02T06:46:16.201Z] Successfully built ba571ba3c6ba [2020-11-02T06:46:16.201Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:46:16.725Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:46:16.725Z] . [Pipeline] withDockerContainer [2020-11-02T06:46:17.017Z] prd-ubuntu18.04-docker-arm64-4c-16g-10070 does not seem to be running inside a container [2020-11-02T06:46:17.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-02T06:46:18.961Z] $ docker top 139c66a3b45cf81eb977bdbdefd075cc920b167da331714a29c38ab642ec14e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:46:20.536Z] + go version [2020-11-02T06:46:20.536Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:46:20.572Z] $ docker stop --time=1 139c66a3b45cf81eb977bdbdefd075cc920b167da331714a29c38ab642ec14e5 [2020-11-02T06:46:22.566Z] $ docker rm -f 139c66a3b45cf81eb977bdbdefd075cc920b167da331714a29c38ab642ec14e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:46:23.951Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:46:23.951Z] . [Pipeline] withDockerContainer [2020-11-02T06:46:24.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-10070 does not seem to be running inside a container [2020-11-02T06:46:24.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-02T06:46:26.255Z] $ docker top dbbbed49f2d947b5df0bde65844c958cd0e4008a0b0c7346c442592a66c42faf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:46:27.771Z] + make test [2020-11-02T06:46:27.771Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:46:28.779Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-11-02T06:47:15.851Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-11-02T06:47:15.851Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.463s coverage: 64.4% of statements [2020-11-02T06:47:15.851Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:47:22.584Z] gofmt -l . [2020-11-02T06:47:22.584Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:47:22.584Z] ./bin/test-attribution-txt.sh [2020-11-02T06:47:23.180Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:47:23.821Z] $ docker stop --time=1 dbbbed49f2d947b5df0bde65844c958cd0e4008a0b0c7346c442592a66c42faf [2020-11-02T06:47:26.050Z] $ docker rm -f dbbbed49f2d947b5df0bde65844c958cd0e4008a0b0c7346c442592a66c42faf [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:47:27.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:47:27.091Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:47:27.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:47:28.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:47:29.260Z] + ls -al . [2020-11-02T06:47:29.260Z] total 148 [2020-11-02T06:47:29.260Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 06:47 . [2020-11-02T06:47:29.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:44 .. [2020-11-02T06:47:29.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:44 .git [2020-11-02T06:47:29.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:44 .github [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 258 Nov 2 06:44 .gitignore [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 6713 Nov 2 06:44 Attribution.txt [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 1834 Nov 2 06:44 Dockerfile [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 957 Nov 2 06:44 Dockerfile.build [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 06:44 Jenkinsfile [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:44 LICENSE [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 873 Nov 2 06:44 Makefile [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 918 Nov 2 06:44 README.md [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:41 VERSION [2020-11-02T06:47:29.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:44 bin [2020-11-02T06:47:29.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:44 cmd [2020-11-02T06:47:29.260Z] -rw-r--r-- 1 jenkins jenkins 47242 Nov 2 06:47 coverage.out [2020-11-02T06:47:29.260Z] -rw-r--r-- 1 jenkins jenkins 863 Nov 2 06:47 go.mod [2020-11-02T06:47:29.260Z] -rw-r--r-- 1 jenkins jenkins 16165 Nov 2 06:47 go.sum [2020-11-02T06:47:29.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:44 internal [2020-11-02T06:47:29.260Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 06:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:47:29.685Z] + 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=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a --label arch=arm64 --label version=0.0.0 . [2020-11-02T06:47:29.963Z] Sending build context to Docker daemon 536.6kB [2020-11-02T06:47:30.241Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:47:30.241Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:47:30.241Z] ---> ba571ba3c6ba [2020-11-02T06:47:30.241Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:47:30.516Z] ---> Running in f06676de081f [2020-11-02T06:47:30.791Z] Removing intermediate container f06676de081f [2020-11-02T06:47:30.791Z] ---> 258601f0ae9d [2020-11-02T06:47:30.791Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:47:31.061Z] ---> Running in be570a826965 [2020-11-02T06:47:31.331Z] Removing intermediate container be570a826965 [2020-11-02T06:47:31.331Z] ---> 21c11e7c4003 [2020-11-02T06:47:31.331Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-11-02T06:47:31.606Z] ---> Running in 75c0b7e4cd3b [2020-11-02T06:47:31.877Z] Removing intermediate container 75c0b7e4cd3b [2020-11-02T06:47:31.877Z] ---> 0e16bdef22f6 [2020-11-02T06:47:31.877Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:47:32.153Z] ---> Running in 4b1fec800f53 [2020-11-02T06:47:34.772Z] Removing intermediate container 4b1fec800f53 [2020-11-02T06:47:34.772Z] ---> b152ab4148a2 [2020-11-02T06:47:34.772Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:47:34.772Z] ---> Running in b4104e29da44 [2020-11-02T06:47:36.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:37.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:38.158Z] OK: 221 MiB in 53 packages [2020-11-02T06:47:39.138Z] Removing intermediate container b4104e29da44 [2020-11-02T06:47:39.138Z] ---> 23a519c32805 [2020-11-02T06:47:39.138Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-11-02T06:47:39.138Z] ---> Running in 955daf71a680 [2020-11-02T06:47:39.733Z] Removing intermediate container 955daf71a680 [2020-11-02T06:47:39.733Z] ---> 0f0f65639c36 [2020-11-02T06:47:39.733Z] Step 9/22 : COPY . . [2020-11-02T06:47:40.716Z] ---> 2a654c4c143a [2020-11-02T06:47:40.716Z] Step 10/22 : ARG MAKE='make build' [2020-11-02T06:47:40.716Z] ---> Running in 61ff19868553 [2020-11-02T06:47:41.314Z] Removing intermediate container 61ff19868553 [2020-11-02T06:47:41.314Z] ---> 935a4d8a4ce9 [2020-11-02T06:47:41.314Z] Step 11/22 : RUN $MAKE [2020-11-02T06:47:41.314Z] ---> Running in 0670f2dfa98d [2020-11-02T06:47:42.750Z] 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-11-02T06:48:15.139Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:48:23.434Z] Removing intermediate container 0670f2dfa98d [2020-11-02T06:48:23.435Z] ---> 53f53c2b3605 [2020-11-02T06:48:23.435Z] Step 12/22 : FROM alpine [2020-11-02T06:48:23.435Z] latest: Pulling from library/alpine [2020-11-02T06:48:23.435Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:48:23.711Z] 5f621e34cdf4: Download complete [2020-11-02T06:48:24.312Z] 5f621e34cdf4: Pull complete [2020-11-02T06:48:24.312Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:48:24.312Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:48:24.312Z] ---> 2e77e061c27f [2020-11-02T06:48:24.312Z] Step 13/22 : ENV APP_PORT=49990 [2020-11-02T06:48:24.312Z] ---> Running in 4588f721d220 [2020-11-02T06:48:24.909Z] Removing intermediate container 4588f721d220 [2020-11-02T06:48:24.909Z] ---> 235a06073c2a [2020-11-02T06:48:24.909Z] Step 14/22 : EXPOSE $APP_PORT [2020-11-02T06:48:24.909Z] ---> Running in 4136ea329f28 [2020-11-02T06:48:25.509Z] Removing intermediate container 4136ea329f28 [2020-11-02T06:48:25.509Z] ---> f8ab438fb499 [2020-11-02T06:48:25.509Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-11-02T06:48:26.946Z] ---> e4e93b8b5b6e [2020-11-02T06:48:26.946Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-11-02T06:48:27.925Z] ---> b8ec5c505bda [2020-11-02T06:48:27.925Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-11-02T06:48:28.522Z] ---> 737acb989550 [2020-11-02T06:48:28.522Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-11-02T06:48:28.522Z] ---> Running in 9a48d6f7c867 [2020-11-02T06:48:29.120Z] Removing intermediate container 9a48d6f7c867 [2020-11-02T06:48:29.120Z] ---> 571b2bcf9fdc [2020-11-02T06:48:29.120Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:48:29.120Z] ---> Running in f07dc46d06e5 [2020-11-02T06:48:29.721Z] Removing intermediate container f07dc46d06e5 [2020-11-02T06:48:29.721Z] ---> f4f44f5f15f2 [2020-11-02T06:48:29.721Z] Step 20/22 : LABEL arch=arm64 [2020-11-02T06:48:29.721Z] ---> Running in 3c8f803fd3c1 [2020-11-02T06:48:30.323Z] Removing intermediate container 3c8f803fd3c1 [2020-11-02T06:48:30.323Z] ---> 595de99cf6f5 [2020-11-02T06:48:30.323Z] Step 21/22 : LABEL git_sha=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [2020-11-02T06:48:30.323Z] ---> Running in f83696b6e9e0 [2020-11-02T06:48:30.918Z] Removing intermediate container f83696b6e9e0 [2020-11-02T06:48:30.918Z] ---> eee64dd2e061 [2020-11-02T06:48:30.918Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:48:30.918Z] ---> Running in a0ad2d89fc68 [2020-11-02T06:48:31.511Z] Removing intermediate container a0ad2d89fc68 [2020-11-02T06:48:31.511Z] ---> 9b4318802a08 [2020-11-02T06:48:31.511Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:48:31.511Z] Successfully built 9b4318802a08 [2020-11-02T06:48:31.512Z] 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-11-02T06:48:34.264Z] provisioning config files... [2020-11-02T06:48:34.281Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-144@tmp/config1269939345763772744tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:48:34.752Z] + set +x [2020-11-02T06:48:34.752Z] + curl -s https://codecov.io/bash [2020-11-02T06:48:34.752Z] + bash -s -- [2020-11-02T06:48:35.015Z] [2020-11-02T06:48:35.015Z] _____ _ [2020-11-02T06:48:35.015Z] / ____| | | [2020-11-02T06:48:35.015Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:48:35.015Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:48:35.015Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:48:35.015Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:48:35.015Z] Bash-20201009-048fee3 [2020-11-02T06:48:35.015Z] [2020-11-02T06:48:35.015Z] [2020-11-02T06:48:35.015Z] ==> Jenkins CI detected. [2020-11-02T06:48:35.015Z] project root: . [2020-11-02T06:48:35.015Z] --> token set from env [2020-11-02T06:48:35.015Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:48:35.015Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:48:35.015Z] ==> Python coveragepy not found [2020-11-02T06:48:35.015Z] ==> Searching for coverage reports in: [2020-11-02T06:48:35.015Z] + . [2020-11-02T06:48:35.015Z] -> Found 1 reports [2020-11-02T06:48:35.015Z] ==> Detecting git/mercurial file structure [2020-11-02T06:48:35.015Z] ==> Reading reports [2020-11-02T06:48:35.015Z] + ./coverage.out bytes=47242 [2020-11-02T06:48:35.015Z] ==> Appending adjustments [2020-11-02T06:48:35.015Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:48:35.279Z] + Found adjustments [2020-11-02T06:48:35.279Z] ==> Gzipping contents [2020-11-02T06:48:35.279Z] ==> Uploading reports [2020-11-02T06:48:35.279Z] url: https://codecov.io [2020-11-02T06:48:35.279Z] query: branch=PR-144&commit=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=144&job=&cmd_args= [2020-11-02T06:48:35.279Z] -> Pinging Codecov [2020-11-02T06:48:35.279Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-144&commit=2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=144&job=&cmd_args= [2020-11-02T06:48:35.543Z] -> Uploading to [2020-11-02T06:48:35.543Z] [2020-11-02T06:48:35.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:48:35.543Z] Dload Upload Total Spent Left Speed [2020-11-02T06:48:35.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:48:35.543Z] X> Failed to upload [2020-11-02T06:48:35.543Z] ==> Uploading to Codecov [2020-11-02T06:48:35.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:48:35.543Z] Dload Upload Total Spent Left Speed [2020-11-02T06:48:35.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 98 5929 0 0 100 5815 0 12235 --:--:-- --:--:-- --:--:-- 12216 100 5929 100 114 100 5815 239 12229 --:--:-- --:--:-- --:--:-- 12216 [2020-11-02T06:48:35.807Z] View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2d7cc70ef18acd2a6201f07b2603b6ad09a0e87a [Pipeline] } [2020-11-02T06:48:35.832Z] 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-11-02T06:48:39.967Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:48:40.576Z] ---> package-listing.sh [2020-11-02T06:48:40.576Z] ++ facter osfamily [2020-11-02T06:48:40.576Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:48:40.576Z] + OS_FAMILY=redhat [2020-11-02T06:48:40.576Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-144 [2020-11-02T06:48:40.576Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:48:40.576Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:48:40.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:48:40.576Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:48:40.576Z] + '[' /w/workspace/foundry_device-virtual-go_PR-144 ']' [2020-11-02T06:48:40.576Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:48:40.576Z] + case "${OS_FAMILY}" in [2020-11-02T06:48:40.576Z] + rpm -qa [2020-11-02T06:48:40.576Z] + sort [2020-11-02T06:48:44.798Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:48:44.799Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:48:44.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:48:44.799Z] + '[' /w/workspace/foundry_device-virtual-go_PR-144 ']' [2020-11-02T06:48:44.799Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-144/archives/ [2020-11-02T06:48:44.799Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-144/archives/ [Pipeline] echo [2020-11-02T06:48:44.841Z] 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-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T06:48:45.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:48:45.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:48:45.528Z] [2020-11-02T06:48:45.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:48:45.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:48:45.968Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:48:45.968Z] df20fa9351a1: Already exists [2020-11-02T06:48:45.968Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:48:45.968Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:48:45.968Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:48:45.968Z] 93b61091891f: Pulling fs layer [2020-11-02T06:48:45.968Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:48:45.968Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:48:45.968Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:48:45.968Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:48:45.968Z] 93b9cdb0e59b: Waiting [2020-11-02T06:48:45.968Z] 5e14af77c1be: Waiting [2020-11-02T06:48:45.968Z] 01666e4c0597: Waiting [2020-11-02T06:48:45.968Z] aa168da1d23b: Waiting [2020-11-02T06:48:45.968Z] 93b61091891f: Waiting [2020-11-02T06:48:46.232Z] 46f8f816bc3b: Download complete [2020-11-02T06:48:46.232Z] 36b3adc4ff6f: Download complete [2020-11-02T06:48:46.232Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:48:46.232Z] 93b9cdb0e59b: Download complete [2020-11-02T06:48:46.232Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:48:46.232Z] 5e14af77c1be: Download complete [2020-11-02T06:48:46.232Z] 01666e4c0597: Verifying Checksum [2020-11-02T06:48:46.232Z] 01666e4c0597: Download complete [2020-11-02T06:48:46.232Z] 93b61091891f: Verifying Checksum [2020-11-02T06:48:46.232Z] 93b61091891f: Download complete [2020-11-02T06:48:46.496Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:48:46.760Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:48:46.760Z] 8ad3a11d3b57: Download complete [2020-11-02T06:48:47.731Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:48:47.731Z] 46f8f816bc3b: Pull complete [2020-11-02T06:48:48.686Z] aa168da1d23b: Verifying Checksum [2020-11-02T06:48:48.686Z] aa168da1d23b: Download complete [2020-11-02T06:48:49.264Z] 93b61091891f: Pull complete [2020-11-02T06:48:50.213Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:48:50.213Z] 5e14af77c1be: Pull complete [2020-11-02T06:48:50.510Z] 01666e4c0597: Pull complete [2020-11-02T06:48:57.158Z] aa168da1d23b: Pull complete [2020-11-02T06:48:57.158Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:48:57.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:48:57.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:48:57.645Z] prd-centos7-docker-4c-2g-10053 does not seem to be running inside a container [2020-11-02T06:48:57.725Z] $ 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-144/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-144 -v /w/workspace/foundry_device-virtual-go_PR-144:/w/workspace/foundry_device-virtual-go_PR-144:rw,z -v /w/workspace/foundry_device-virtual-go_PR-144@tmp:/w/workspace/foundry_device-virtual-go_PR-144@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T06:49:01.280Z] $ docker top ac1025405d8352bc791dcf91144f2b4dd012cddf452510df381e2217df60ce21 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:49:01.912Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:49:02.289Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:49:02.629Z] + ls /var/log/sa-host [2020-11-02T06:49:02.629Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:49:02.629Z] file_magic: OK [2020-11-02T06:49:02.629Z] HZ: Using current value: 100 [2020-11-02T06:49:02.629Z] file_header: OK [2020-11-02T06:49:02.629Z] 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-11-02T06:49:02.629Z] Statistics: [2020-11-02T06:49:02.629Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:49:02.629Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:49:02.629Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:49:02.629Z] file_magic: OK [2020-11-02T06:49:02.629Z] HZ: Using current value: 100 [2020-11-02T06:49:02.629Z] file_header: OK [2020-11-02T06:49:02.629Z] 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-11-02T06:49:02.629Z] Statistics: [2020-11-02T06:49:02.629Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:49:02.629Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:49:02.979Z] provisioning config files... [2020-11-02T06:49:02.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-144@tmp/config4518531962437908424tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:49:03.141Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:03.484Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:49:03.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:49:03.652Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:03.983Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:49:04.012Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:04.344Z] ---> sudo-logs.sh [2020-11-02T06:49:04.344Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:49:04.369Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:04.701Z] ---> job-cost.sh [2020-11-02T06:49:04.702Z] lf-activate-venv: SKIPPING [2020-11-02T06:49:04.702Z] INFO: No Stack... [2020-11-02T06:49:05.649Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:49:06.225Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:49:06.257Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:06.595Z] ---> logs-deploy.sh [2020-11-02T06:49:06.595Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-144/1 [2020-11-02T06:49:06.595Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:49:07.989Z] Archives upload complete. [2020-11-02T06:49:08.251Z] INFO: archiving logs to Nexus