Pull request #169 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 rather than 2b4e7d513dd90ec50609b636363c1f4ebf5757ad Obtained Jenkinsfile from 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-169/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-169/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-29956 in /w/workspace/foundry_device-virtual-go_PR-169 [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-169 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --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 --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 2b4e7d513dd90ec50609b636363c1f4ebf5757ad Merge succeeded, producing 2b4e7d513dd90ec50609b636363c1f4ebf5757ad Checking out Revision 2b4e7d513dd90ec50609b636363c1f4ebf5757ad (PR-169) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # 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 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 Commit message: "refactor: consume v2 Device SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:14:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:40 ========================================================= 07:14:40 EdgeX Global Pipelines Version Info 07:14:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:14:41 ------------------- 07:14:41 stable info: 07:14:41 ------------------- 07:14:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:41 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:14:41 Message: update stable to v1.0.184 07:14:42 ------------------- 07:14:42 experimental info: 07:14:42 ------------------- 07:14:42 Commited By: **** collab-it+edgex@linuxfoundation.org 07:14:42 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:14:42 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 07:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:14:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:14:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:14:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:14:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:14:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:14:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:14:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:14:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:14:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:14:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:14:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 07:14:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 07:14:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 07:14:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [Pipeline] echo 07:14:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b4e7d5 [Pipeline] echo 07:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:14:51 provisioning config files... 07:14:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config6376206825290540632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:52 ---> docker-login.sh 07:14:52 nexus3.edgexfoundry.org:10001 07:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:52 Configure a credential helper to remove this warning. See 07:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:52 07:14:52 Login Succeeded 07:14:52 nexus3.edgexfoundry.org:10002 07:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:52 Configure a credential helper to remove this warning. See 07:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:52 07:14:52 Login Succeeded 07:14:52 nexus3.edgexfoundry.org:10003 07:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:52 Configure a credential helper to remove this warning. See 07:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:52 07:14:52 Login Succeeded 07:14:52 nexus3.edgexfoundry.org:10004 07:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:52 Configure a credential helper to remove this warning. See 07:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:52 07:14:52 Login Succeeded 07:14:52 docker.io 07:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:53 Configure a credential helper to remove this warning. See 07:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:53 07:14:53 Login Succeeded 07:14:53 ---> docker-login.sh ends [Pipeline] } 07:14:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:54 + git log --format=format:%s -1 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [Pipeline] echo 07:14:54 GIT_COMMIT: 2b4e7d513dd90ec50609b636363c1f4ebf5757ad, Commit Message: refactor: consume v2 Device SDK [Pipeline] echo 07:14:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:56 07:14:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:56 latest: Pulling from edgex-devops/git-semver 07:14:56 31603596830f: Pulling fs layer 07:14:56 2a8b12db71e7: Pulling fs layer 07:14:56 6ca5941a6612: Pulling fs layer 07:14:56 ecc8261a40a4: Pulling fs layer 07:14:56 ecc8261a40a4: Waiting 07:14:56 2a8b12db71e7: Verifying Checksum 07:14:56 2a8b12db71e7: Download complete 07:14:56 31603596830f: Verifying Checksum 07:14:56 31603596830f: Download complete 07:14:57 ecc8261a40a4: Verifying Checksum 07:14:57 ecc8261a40a4: Download complete 07:14:57 6ca5941a6612: Verifying Checksum 07:14:57 6ca5941a6612: Download complete 07:14:57 31603596830f: Pull complete 07:14:57 2a8b12db71e7: Pull complete 07:14:58 6ca5941a6612: Pull complete 07:14:58 ecc8261a40a4: Pull complete 07:14:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:14:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:14:58 prd-centos7-docker-4c-2g-29956 does not seem to be running inside a container 07:14:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-169 -v /w/workspace/foundry_device-virtual-go_PR-169:/w/workspace/foundry_device-virtual-go_PR-169:rw,z -v /w/workspace/foundry_device-virtual-go_PR-169@tmp:/w/workspace/foundry_device-virtual-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:15:01 $ docker top 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:01 [ssh-agent] Looking for ssh-agent implementation... 07:15:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:01 $ docker exec 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent 07:15:01 SSH_AUTH_SOCK=/tmp/ssh-FzLhi4QlO3m5/agent.13 07:15:01 SSH_AGENT_PID=18 07:15:01 Running ssh-add (command line suppressed) 07:15:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_3768113866659531480.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_3768113866659531480.key) 07:15:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:02 + git tag --points-at HEAD [Pipeline] } 07:15:02 $ docker exec --env ******** --env ******** 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent -k 07:15:02 unset SSH_AUTH_SOCK; 07:15:02 unset SSH_AGENT_PID; 07:15:02 echo Agent pid 18 killed; 07:15:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:02 [ssh-agent] Looking for ssh-agent implementation... 07:15:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:02 $ docker exec 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent 07:15:03 SSH_AUTH_SOCK=/tmp/ssh-wUVK2EFqtjM1/agent.46 07:15:03 SSH_AGENT_PID=51 07:15:03 Running ssh-add (command line suppressed) 07:15:03 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_6171550680141408157.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_6171550680141408157.key) 07:15:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:03 + git semver init 07:15:03 # -> Open(): unable to determine branch for HEAD 07:15:03 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git 07:15:03 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 07:15:03 # $SEMVER_REMOTE_NAME = origin 07:15:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:15:03 # $SEMVER_USER_NAME = edgex-jenkins 07:15:03 # $SEMVER_BRANCH = PR-169 07:15:03 # $SEMVER_TEMP = /tmp/semver-509581508 07:15:03 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:15:05 # '/tmp/semver-509581508' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' 07:15:05 # -> Force: false 07:15:05 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } 07:15:05 $ docker exec --env ******** --env ******** 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent -k 07:15:05 unset SSH_AUTH_SOCK; 07:15:05 unset SSH_AGENT_PID; 07:15:05 echo Agent pid 51 killed; 07:15:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:06 + git semver [Pipeline] } 07:15:06 $ docker stop --time=1 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 07:15:07 $ docker rm -f 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 [Pipeline] // withDockerContainer [Pipeline] sh 07:15:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:08 Stashed 1 file(s) [Pipeline] echo 07:15:08 [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 07:15:24 Still waiting to schedule task 07:15:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:15:24 Still waiting to schedule task 07:15:24 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:18:38 Running on prd-centos7-docker-4c-2g-29958 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 07:18:38 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 07:18:41 using credential edgex-jenkins-ssh 07:18:41 Cloning the remote Git repository 07:18:41 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:18:41 > git init /w/workspace/device-virtual-go/1 # timeout=10 07:18:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:18:41 > git --version # timeout=10 07:18:41 > git --version # 'git version 2.24.3' 07:18:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:18:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:18:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:18:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:18:42 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 2b4e7d513dd90ec50609b636363c1f4ebf5757ad 07:18:42 Merge succeeded, producing 2b4e7d513dd90ec50609b636363c1f4ebf5757ad 07:18:42 Checking out Revision 2b4e7d513dd90ec50609b636363c1f4ebf5757ad (PR-169) 07:18:42 > git config core.sparsecheckout # timeout=10 07:18:42 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 07:18:42 > git remote # timeout=10 07:18:42 > git config --get remote.origin.url # timeout=10 07:18:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:42 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 07:18:42 > git rev-parse HEAD^{commit} # timeout=10 07:18:42 > git config core.sparsecheckout # timeout=10 07:18:42 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 07:18:46 Commit message: "refactor: consume v2 Device SDK" 07:18:46 > git --version # timeout=10 07:18:46 > git --version # 'git version 2.24.3' 07:18:46 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:18:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:18:48 + sudo service docker restart 07:18:48 + true 07:18:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:18:49 provisioning config files... 07:18:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7227832742809417364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:50 ---> docker-login.sh 07:18:50 nexus3.edgexfoundry.org:10001 07:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:50 Configure a credential helper to remove this warning. See 07:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:50 07:18:50 Login Succeeded 07:18:50 nexus3.edgexfoundry.org:10002 07:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:50 Configure a credential helper to remove this warning. See 07:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:50 07:18:50 Login Succeeded 07:18:50 nexus3.edgexfoundry.org:10003 07:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:51 Configure a credential helper to remove this warning. See 07:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:51 07:18:51 Login Succeeded 07:18:51 nexus3.edgexfoundry.org:10004 07:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:51 Configure a credential helper to remove this warning. See 07:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:51 07:18:51 Login Succeeded 07:18:51 docker.io 07:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:51 Configure a credential helper to remove this warning. See 07:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:51 07:18:51 Login Succeeded 07:18:51 ---> docker-login.sh ends [Pipeline] } 07:18:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:52 ========================================================= 07:18:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:18:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:18:52 + 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 . 07:18:52 Sending build context to Docker daemon 513.5kB 07:18:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:18:52 Step 2/8 : FROM ${BASE} 07:18:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:18:52 188c0c94c7c5: Pulling fs layer 07:18:52 0ef7d3d256c8: Pulling fs layer 07:18:52 de9db76c5a1d: Pulling fs layer 07:18:52 bca2f99d35d6: Pulling fs layer 07:18:52 93359f2a8cfa: Pulling fs layer 07:18:52 7c6f9722023f: Pulling fs layer 07:18:52 a35cf1a2eb13: Pulling fs layer 07:18:52 bca2f99d35d6: Waiting 07:18:52 93359f2a8cfa: Waiting 07:18:52 7c6f9722023f: Waiting 07:18:52 a35cf1a2eb13: Waiting 07:18:52 de9db76c5a1d: Verifying Checksum 07:18:52 de9db76c5a1d: Download complete 07:18:52 0ef7d3d256c8: Verifying Checksum 07:18:52 0ef7d3d256c8: Download complete 07:18:52 93359f2a8cfa: Download complete 07:18:52 7c6f9722023f: Verifying Checksum 07:18:52 7c6f9722023f: Download complete 07:18:52 188c0c94c7c5: Verifying Checksum 07:18:52 188c0c94c7c5: Download complete 07:18:53 188c0c94c7c5: Pull complete 07:18:53 0ef7d3d256c8: Pull complete 07:18:53 de9db76c5a1d: Pull complete 07:18:55 a35cf1a2eb13: Verifying Checksum 07:18:55 a35cf1a2eb13: Download complete 07:18:55 bca2f99d35d6: Verifying Checksum 07:18:55 bca2f99d35d6: Download complete 07:19:00 bca2f99d35d6: Pull complete 07:19:00 93359f2a8cfa: Pull complete 07:19:01 7c6f9722023f: Pull complete 07:19:06 a35cf1a2eb13: Pull complete 07:19:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:19:06 ---> a62c8e92a672 07:19:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:19:06 ---> Running in a87f7cbfa824 07:19:06 Removing intermediate container a87f7cbfa824 07:19:06 ---> 57b31723520e 07:19:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:06 ---> Running in 4e5ffb3898fb 07:19:07 Removing intermediate container 4e5ffb3898fb 07:19:07 ---> 3db137c01444 07:19:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:19:07 ---> Running in 75b796e5c459 07:19:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:19:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:19:09 (1/14) Installing libmagic (5.38-r0) 07:19:09 (2/14) Installing file (5.38-r0) 07:19:09 (3/14) Installing libc-dev (0.7.2-r3) 07:19:09 (4/14) Installing g++ (9.3.0-r2) 07:19:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29957 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 07:19:11 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 07:19:14 (5/14) Installing fortify-headers (1.1-r0) 07:19:14 (6/14) Installing patch (2.7.6-r6) 07:19:14 (7/14) Installing build-base (0.5-r2) 07:19:14 (8/14) Installing openssh-keygen (8.3_p1-r1) 07:19:14 (9/14) Installing libedit (20191231.3.1-r0) 07:19:14 (10/14) Installing openssh-client (8.3_p1-r1) 07:19:14 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 07:19:14 (12/14) Installing openssh-server-common (8.3_p1-r1) 07:19:14 (13/14) Installing openssh-server (8.3_p1-r1) 07:19:15 (14/14) Installing openssh (8.3_p1-r1) 07:19:15 Executing busybox-1.31.1-r19.trigger 07:19:15 OK: 237 MiB in 53 packages 07:19:16 using credential edgex-jenkins-ssh 07:19:16 Cloning the remote Git repository 07:19:17 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:19:17 > git init /w/workspace/device-virtual-go/1 # timeout=10 07:19:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:19:17 > git --version # timeout=10 07:19:17 > git --version # 'git version 2.17.1' 07:19:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:19:18 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 2b4e7d513dd90ec50609b636363c1f4ebf5757ad 07:19:19 Merge succeeded, producing 2b4e7d513dd90ec50609b636363c1f4ebf5757ad 07:19:19 Checking out Revision 2b4e7d513dd90ec50609b636363c1f4ebf5757ad (PR-169) 07:19:19 Removing intermediate container 75b796e5c459 07:19:19 ---> a1e4d7ebc9ed 07:19:19 Step 6/8 : WORKDIR /device-virtual-go 07:19:19 ---> Running in bbaa2363a4ba 07:19:19 Removing intermediate container bbaa2363a4ba 07:19:19 ---> 4ccd847962ca 07:19:19 Step 7/8 : COPY . . 07:19:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:19:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:19:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:19:18 > git config core.sparsecheckout # timeout=10 07:19:18 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 07:19:18 > git remote # timeout=10 07:19:18 > git config --get remote.origin.url # timeout=10 07:19:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:19 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 07:19:19 > git rev-parse HEAD^{commit} # timeout=10 07:19:19 > git config core.sparsecheckout # timeout=10 07:19:19 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 07:19:19 ---> f4f7556b12d4 07:19:19 Step 8/8 : RUN go mod download 07:19:19 ---> Running in a2b56d2a3515 07:19:23 Commit message: "refactor: consume v2 Device SDK" 07:19:23 > git --version # timeout=10 07:19:23 > git --version # 'git version 2.17.1' 07:19:23 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:19:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:19:26 + true 07:19:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:19:28 provisioning config files... 07:19:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2749238326613079099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:28 ---> docker-login.sh 07:19:28 nexus3.edgexfoundry.org:10001 07:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:30 Configure a credential helper to remove this warning. See 07:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:30 07:19:30 Login Succeeded 07:19:30 nexus3.edgexfoundry.org:10002 07:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:30 Configure a credential helper to remove this warning. See 07:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:30 07:19:30 Login Succeeded 07:19:30 nexus3.edgexfoundry.org:10003 07:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:30 Configure a credential helper to remove this warning. See 07:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:30 07:19:30 Login Succeeded 07:19:30 nexus3.edgexfoundry.org:10004 07:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:31 Configure a credential helper to remove this warning. See 07:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:31 07:19:31 Login Succeeded 07:19:31 docker.io 07:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:32 Configure a credential helper to remove this warning. See 07:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:32 07:19:32 Login Succeeded 07:19:32 ---> docker-login.sh ends [Pipeline] } 07:19:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:32 ========================================================= 07:19:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:19:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:19:33 + 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 . 07:19:33 Sending build context to Docker daemon 512.5kB 07:19:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:19:33 Step 2/8 : FROM ${BASE} 07:19:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:19:33 5f621e34cdf4: Pulling fs layer 07:19:33 a4357932f1b6: Pulling fs layer 07:19:33 18c013af1878: Pulling fs layer 07:19:33 00ac8860ef70: Pulling fs layer 07:19:33 63d7cb157983: Pulling fs layer 07:19:33 b116817d02f9: Pulling fs layer 07:19:33 745a02a5169b: Pulling fs layer 07:19:33 63d7cb157983: Waiting 07:19:33 b116817d02f9: Waiting 07:19:33 745a02a5169b: Waiting 07:19:33 00ac8860ef70: Waiting 07:19:33 18c013af1878: Verifying Checksum 07:19:33 18c013af1878: Download complete 07:19:33 a4357932f1b6: Verifying Checksum 07:19:33 a4357932f1b6: Download complete 07:19:33 63d7cb157983: Verifying Checksum 07:19:33 63d7cb157983: Download complete 07:19:33 b116817d02f9: Download complete 07:19:33 5f621e34cdf4: Verifying Checksum 07:19:33 5f621e34cdf4: Download complete 07:19:34 5f621e34cdf4: Pull complete 07:19:35 a4357932f1b6: Pull complete 07:19:35 18c013af1878: Pull complete 07:19:36 745a02a5169b: Verifying Checksum 07:19:36 745a02a5169b: Download complete 07:19:37 00ac8860ef70: Verifying Checksum 07:19:37 00ac8860ef70: Download complete 07:19:41 Removing intermediate container a2b56d2a3515 07:19:41 ---> 46dcb605b4f7 07:19:41 Successfully built 46dcb605b4f7 07:19:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:19:42 + docker inspect -f . ci-base-image-x86_64 07:19:42 . [Pipeline] withDockerContainer 07:19:42 prd-centos7-docker-4c-2g-29958 does not seem to be running inside a container 07:19:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:19:43 $ docker top 4e10e10d288d3d3114c431c1dcf08fe70aaec82f64b273d6990919588032e908 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:43 + go version 07:19:43 go version go1.15.5 linux/amd64 [Pipeline] } 07:19:43 $ docker stop --time=1 4e10e10d288d3d3114c431c1dcf08fe70aaec82f64b273d6990919588032e908 07:19:45 $ docker rm -f 4e10e10d288d3d3114c431c1dcf08fe70aaec82f64b273d6990919588032e908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:19:46 + docker inspect -f . ci-base-image-x86_64 07:19:46 . [Pipeline] withDockerContainer 07:19:46 prd-centos7-docker-4c-2g-29958 does not seem to be running inside a container 07:19:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:19:46 $ docker top 103d16e57a0b5fa5da542c63d0d721990ff6a54856dfeed88a60074380a825bc -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:47 + make test 07:19:47 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:19:47 00ac8860ef70: Pull complete 07:19:47 63d7cb157983: Pull complete 07:19:47 b116817d02f9: Pull complete 07:19:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:19:52 745a02a5169b: Pull complete 07:19:52 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:19:52 ---> b7e6874047d6 07:19:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:19:54 ---> Running in de2387350337 07:19:55 Removing intermediate container de2387350337 07:19:55 ---> 8bd26ef74869 07:19:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:55 ---> Running in 29a9aada2df6 07:19:57 Removing intermediate container 29a9aada2df6 07:19:57 ---> c4af5e6b01df 07:19:57 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:19:57 ---> Running in 4662a839f55f 07:19:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:19:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:19:59 (1/14) Installing libmagic (5.38-r0) 07:20:00 (2/14) Installing file (5.38-r0) 07:20:00 (3/14) Installing libc-dev (0.7.2-r3) 07:20:00 (4/14) Installing g++ (9.3.0-r2) 07:20:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:20:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.341s coverage: 63.5% of statements 07:20:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:20:06 (5/14) Installing fortify-headers (1.1-r0) 07:20:06 (6/14) Installing patch (2.7.6-r6) 07:20:06 (7/14) Installing build-base (0.5-r2) 07:20:06 (8/14) Installing openssh-keygen (8.3_p1-r1) 07:20:06 (9/14) Installing libedit (20191231.3.1-r0) 07:20:06 (10/14) Installing openssh-client (8.3_p1-r1) 07:20:06 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 07:20:06 (12/14) Installing openssh-server-common (8.3_p1-r1) 07:20:06 (13/14) Installing openssh-server (8.3_p1-r1) 07:20:07 (14/14) Installing openssh (8.3_p1-r1) 07:20:07 Executing busybox-1.31.1-r19.trigger 07:20:07 OK: 221 MiB in 53 packages 07:20:07 gofmt -l . 07:20:07 [ "`gofmt -l .`" = "" ] 07:20:07 ./bin/test-attribution-txt.sh 07:20:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:20:08 $ docker stop --time=1 103d16e57a0b5fa5da542c63d0d721990ff6a54856dfeed88a60074380a825bc 07:20:10 $ docker rm -f 103d16e57a0b5fa5da542c63d0d721990ff6a54856dfeed88a60074380a825bc [Pipeline] // withDockerContainer [Pipeline] sh 07:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:11 Removing intermediate container 4662a839f55f 07:20:11 ---> 53e869f1736a 07:20:11 Step 6/8 : WORKDIR /device-virtual-go 07:20:11 ---> Running in f0a69ef04a08 07:20:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 07:20:11 Removing intermediate container f0a69ef04a08 07:20:11 ---> 01cdf8a55459 07:20:11 Step 7/8 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 07:20:12 ---> e0f31b6b8b45 07:20:12 Step 8/8 : RUN go mod download 07:20:12 ---> Running in 099086fc4754 [Pipeline] sh 07:20:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:15 + ls -al . 07:20:15 total 128 07:20:15 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 16 07:20 . 07:20:15 drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 07:18 .. 07:20:15 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 16 07:18 Attribution.txt 07:20:15 drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 07:18 bin 07:20:15 drwxrwxr-x. 3 jenkins jenkins 32 Mar 16 07:18 cmd 07:20:15 -rw-r--r--. 1 jenkins jenkins 47526 Mar 16 07:20 coverage.out 07:20:15 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 16 07:18 Dockerfile 07:20:15 -rw-rw-r--. 1 jenkins jenkins 961 Mar 16 07:18 Dockerfile.build 07:20:15 drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 07:18 .git 07:20:15 drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 07:18 .github 07:20:15 -rw-rw-r--. 1 jenkins jenkins 258 Mar 16 07:18 .gitignore 07:20:15 -rw-r--r--. 1 jenkins jenkins 809 Mar 16 07:20 go.mod 07:20:15 -rw-r--r--. 1 jenkins jenkins 20236 Mar 16 07:20 go.sum 07:20:15 drwxrwxr-x. 3 jenkins jenkins 20 Mar 16 07:18 internal 07:20:15 -rw-rw-r--. 1 jenkins jenkins 660 Mar 16 07:18 Jenkinsfile 07:20:15 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 16 07:18 LICENSE 07:20:15 -rw-rw-r--. 1 jenkins jenkins 873 Mar 16 07:18 Makefile 07:20:15 -rw-rw-r--. 1 jenkins jenkins 918 Mar 16 07:18 README.md 07:20:15 -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 07:15 VERSION 07:20:15 -rw-rw-r--. 1 jenkins jenkins 235 Mar 16 07:18 version.go [Pipeline] isUnix [Pipeline] sh 07:20:16 + 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=2b4e7d513dd90ec50609b636363c1f4ebf5757ad --label arch=amd64 --label version=0.0.0 . 07:20:16 Sending build context to Docker daemon 582.7kB 07:20:16 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 07:20:16 Step 2/22 : FROM ${BASE} AS builder 07:20:16 ---> 46dcb605b4f7 07:20:16 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:20:16 ---> Running in d4f27169fd1e 07:20:16 Removing intermediate container d4f27169fd1e 07:20:16 ---> 3f3c72624203 07:20:16 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 07:20:16 ---> Running in 1a24017f3489 07:20:16 Removing intermediate container 1a24017f3489 07:20:16 ---> 5b68417ff131 07:20:16 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:20:16 ---> Running in 05aa800ae053 07:20:17 Removing intermediate container 05aa800ae053 07:20:17 ---> e14841058b87 07:20:17 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:17 ---> Running in 3e66e5c04a8c 07:20:18 Removing intermediate container 3e66e5c04a8c 07:20:18 ---> c40d884a00d9 07:20:18 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:18 ---> Running in 0d5c764b46c1 07:20:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:20:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:20:20 OK: 237 MiB in 53 packages 07:20:20 Removing intermediate container 0d5c764b46c1 07:20:20 ---> 507a33bf61db 07:20:20 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:20:20 ---> Running in ffd9f2787ff4 07:20:20 Removing intermediate container ffd9f2787ff4 07:20:20 ---> a8fa294a2332 07:20:20 Step 9/22 : COPY . . 07:20:21 ---> 15186b98bf5a 07:20:21 Step 10/22 : ARG MAKE='make build' 07:20:21 ---> Running in 248176b9e25d 07:20:21 Removing intermediate container 248176b9e25d 07:20:21 ---> 366bcc7402d6 07:20:21 Step 11/22 : RUN $MAKE 07:20:21 ---> Running in b2c7b7cd7956 07:20:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 07:20:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:20:38 Removing intermediate container b2c7b7cd7956 07:20:38 ---> 0524c784966b 07:20:38 Step 12/22 : FROM alpine:3.12 07:20:38 3.12: Pulling from library/alpine 07:20:38 f84cab65f19f: Pulling fs layer 07:20:38 f84cab65f19f: Verifying Checksum 07:20:38 f84cab65f19f: Download complete 07:20:39 f84cab65f19f: Pull complete 07:20:39 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 07:20:39 Status: Downloaded newer image for alpine:3.12 07:20:39 ---> 88dd2752d2ea 07:20:39 Step 13/22 : ENV APP_PORT=49990 07:20:39 ---> Running in 21817ce0c036 07:20:39 Removing intermediate container 21817ce0c036 07:20:39 ---> 9e0808ff4bd5 07:20:39 Step 14/22 : EXPOSE $APP_PORT 07:20:39 ---> Running in 24c726722ce5 07:20:39 Removing intermediate container 099086fc4754 07:20:39 ---> c94bed02af19 07:20:39 Successfully built c94bed02af19 07:20:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:20:39 Removing intermediate container 24c726722ce5 07:20:39 ---> fc800e79842d 07:20:39 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:20:39 + docker inspect -f . ci-base-image-arm64 07:20:39 . [Pipeline] withDockerContainer 07:20:40 ---> 036b8155c68f 07:20:40 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:20:40 prd-ubuntu18.04-docker-arm64-4c-16g-29957 does not seem to be running inside a container 07:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:20:40 ---> ce1f63c4f050 07:20:40 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:20:40 ---> a3ad0c165e77 07:20:40 Step 18/22 : ENTRYPOINT ["/device-virtual"] 07:20:40 ---> Running in 21c70268ca84 07:20:40 Removing intermediate container 21c70268ca84 07:20:40 ---> aa213fe48709 07:20:40 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:20:40 ---> Running in 099f43c4f100 07:20:40 Removing intermediate container 099f43c4f100 07:20:40 ---> 3481bdc840e1 07:20:40 Step 20/22 : LABEL arch=amd64 07:20:41 ---> Running in 63288dca2fbc 07:20:41 Removing intermediate container 63288dca2fbc 07:20:41 ---> 888a3379b4c1 07:20:41 Step 21/22 : LABEL git_sha=2b4e7d513dd90ec50609b636363c1f4ebf5757ad 07:20:41 ---> Running in ad5d495fa64a 07:20:41 Removing intermediate container ad5d495fa64a 07:20:41 ---> 4a4c2aeb1226 07:20:41 Step 22/22 : LABEL version=0.0.0 07:20:41 ---> Running in 5d41fcde1a06 07:20:41 Removing intermediate container 5d41fcde1a06 07:20:41 ---> 4353a3372d84 07:20:41 [Warning] One or more build-args [ARCH] were not consumed 07:20:41 Successfully built 4353a3372d84 07:20:41 Successfully tagged docker-device-virtual-go:latest 07:20:41 $ docker top 102fdc816630309e6a66179ffcdfc900dadbccc1374addf49950a19110de769f -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 07:20:43 + go version 07:20:43 go version go1.15.5 linux/arm64 [Pipeline] } 07:20:43 $ docker stop --time=1 102fdc816630309e6a66179ffcdfc900dadbccc1374addf49950a19110de769f 07:20:45 $ docker rm -f 102fdc816630309e6a66179ffcdfc900dadbccc1374addf49950a19110de769f [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:20:46 ---> job-cost.sh 07:20:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4QAq 07:20:46 + docker inspect -f . ci-base-image-arm64 07:20:46 . [Pipeline] withDockerContainer 07:20:47 prd-ubuntu18.04-docker-arm64-4c-16g-29957 does not seem to be running inside a container 07:20:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:20:48 $ docker top 4b6bcc5554b3e5837c8d7f7d1356e9eb19c90aef95e1c6d14c3e8b2c2d0a5576 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:49 + make test 07:20:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:20:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:21:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:21:28 lf-activate-venv(): INFO: Adding /tmp/venv-4QAq/bin to PATH 07:21:28 INFO: No Stack... 07:21:28 INFO: Retrieving Pricing Info for: v1-standard-2 07:21:28 INFO: Archiving Costs [Pipeline] sh 07:21:29 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 07:21:29 + cut -d, -f6 [Pipeline] lock 07:21:29 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] 07:21:29 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] did not exist. Created. 07:21:29 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:29 + echo total: 0.029999999329447746 [Pipeline] stash 07:21:29 Stashed 1 file(s) [Pipeline] } 07:21:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:21:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:21:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.419s coverage: 63.5% of statements 07:21:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:21:48 gofmt -l . 07:21:48 [ "`gofmt -l .`" = "" ] 07:21:48 ./bin/test-attribution-txt.sh 07:21:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:21:49 $ docker stop --time=1 4b6bcc5554b3e5837c8d7f7d1356e9eb19c90aef95e1c6d14c3e8b2c2d0a5576 07:21:51 $ docker rm -f 4b6bcc5554b3e5837c8d7f7d1356e9eb19c90aef95e1c6d14c3e8b2c2d0a5576 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:52 Warning: overwriting stash ‘coverage-report’ 07:21:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:54 + ls -al . 07:21:54 total 152 07:21:54 drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 07:21 . 07:21:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 07:19 .. 07:21:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 07:19 .git 07:21:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 07:19 .github 07:21:54 -rw-rw-r-- 1 jenkins jenkins 258 Mar 16 07:19 .gitignore 07:21:54 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 16 07:19 Attribution.txt 07:21:54 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 16 07:19 Dockerfile 07:21:54 -rw-rw-r-- 1 jenkins jenkins 961 Mar 16 07:19 Dockerfile.build 07:21:54 -rw-rw-r-- 1 jenkins jenkins 660 Mar 16 07:19 Jenkinsfile 07:21:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 07:19 LICENSE 07:21:54 -rw-rw-r-- 1 jenkins jenkins 873 Mar 16 07:19 Makefile 07:21:54 -rw-rw-r-- 1 jenkins jenkins 918 Mar 16 07:19 README.md 07:21:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 07:15 VERSION 07:21:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 07:19 bin 07:21:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 07:19 cmd 07:21:54 -rw-r--r-- 1 jenkins jenkins 47526 Mar 16 07:21 coverage.out 07:21:54 -rw-r--r-- 1 jenkins jenkins 809 Mar 16 07:21 go.mod 07:21:54 -rw-r--r-- 1 jenkins jenkins 20236 Mar 16 07:21 go.sum 07:21:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 07:19 internal 07:21:54 -rw-rw-r-- 1 jenkins jenkins 235 Mar 16 07:19 version.go [Pipeline] isUnix [Pipeline] sh 07:21:55 + 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=2b4e7d513dd90ec50609b636363c1f4ebf5757ad --label arch=arm64 --label version=0.0.0 . 07:21:55 Sending build context to Docker daemon 581.6kB 07:21:55 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 07:21:55 Step 2/22 : FROM ${BASE} AS builder 07:21:55 ---> c94bed02af19 07:21:55 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:21:56 ---> Running in 6c3b9cde4e12 07:21:56 Removing intermediate container 6c3b9cde4e12 07:21:56 ---> e9ef200ba70c 07:21:56 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 07:21:56 ---> Running in 3df48ff86b4e 07:21:57 Removing intermediate container 3df48ff86b4e 07:21:57 ---> 22459827f11c 07:21:57 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:21:57 ---> Running in 46a3bd62632e 07:21:57 Removing intermediate container 46a3bd62632e 07:21:57 ---> c3cade07a79f 07:21:57 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:57 ---> Running in dc734c511239 07:21:59 Removing intermediate container dc734c511239 07:21:59 ---> 5eaea9018a87 07:21:59 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:22:00 ---> Running in 3e5af7400c86 07:22:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:22:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:22:02 OK: 221 MiB in 53 packages 07:22:03 Removing intermediate container 3e5af7400c86 07:22:03 ---> 12c9150477af 07:22:03 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:22:04 ---> Running in 39490d0f4b28 07:22:04 Removing intermediate container 39490d0f4b28 07:22:04 ---> 03416d9da03c 07:22:04 Step 9/22 : COPY . . 07:22:05 ---> 113b4f731f36 07:22:05 Step 10/22 : ARG MAKE='make build' 07:22:05 ---> Running in 7681755bd79a 07:22:06 Removing intermediate container 7681755bd79a 07:22:06 ---> 999c3ae9a144 07:22:06 Step 11/22 : RUN $MAKE 07:22:06 ---> Running in a1100a2e18a0 07:22:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 07:22:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:22:48 Removing intermediate container a1100a2e18a0 07:22:48 ---> 0abdee6a6574 07:22:48 Step 12/22 : FROM alpine:3.12 07:22:49 3.12: Pulling from library/alpine 07:22:49 dce8679b510e: Pulling fs layer 07:22:49 dce8679b510e: Verifying Checksum 07:22:49 dce8679b510e: Download complete 07:22:50 dce8679b510e: Pull complete 07:22:50 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 07:22:50 Status: Downloaded newer image for alpine:3.12 07:22:50 ---> d10569e2745f 07:22:50 Step 13/22 : ENV APP_PORT=49990 07:22:50 ---> Running in 6c2c09aa143e 07:22:51 Removing intermediate container 6c2c09aa143e 07:22:51 ---> 6e8738fa2374 07:22:51 Step 14/22 : EXPOSE $APP_PORT 07:22:51 ---> Running in 58aa08ebbe90 07:22:51 Removing intermediate container 58aa08ebbe90 07:22:51 ---> f2f0f1c9ca24 07:22:51 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:22:53 ---> a599340ccd41 07:22:53 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:22:53 ---> 9a3fe9843ec6 07:22:53 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:22:54 ---> cd8f4dc1aee3 07:22:54 Step 18/22 : ENTRYPOINT ["/device-virtual"] 07:22:54 ---> Running in 0f7315789097 07:22:55 Removing intermediate container 0f7315789097 07:22:55 ---> ab58f30dfb8c 07:22:55 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:22:55 ---> Running in 8f80d6b58dd7 07:22:55 Removing intermediate container 8f80d6b58dd7 07:22:55 ---> 4702d906cd40 07:22:55 Step 20/22 : LABEL arch=arm64 07:22:55 ---> Running in fc3e673cf8ec 07:22:56 Removing intermediate container fc3e673cf8ec 07:22:56 ---> 0a73646faccd 07:22:56 Step 21/22 : LABEL git_sha=2b4e7d513dd90ec50609b636363c1f4ebf5757ad 07:22:56 ---> Running in ff4d0eb36bbe 07:22:56 Removing intermediate container ff4d0eb36bbe 07:22:56 ---> 237ac1f6290a 07:22:56 Step 22/22 : LABEL version=0.0.0 07:22:56 ---> Running in 3577211b4968 07:22:57 Removing intermediate container 3577211b4968 07:22:57 ---> 536fb0091fb2 07:22:57 [Warning] One or more build-args [ARCH] were not consumed 07:22:57 Successfully built 536fb0091fb2 07:22:57 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 Post stage [Pipeline] libraryResource [Pipeline] sh 07:22:58 ---> job-cost.sh 07:22:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JXyq 07:23:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:25:22 lf-activate-venv(): INFO: Adding /tmp/venv-JXyq/bin to PATH 07:25:22 INFO: No Stack... 07:25:22 INFO: Retrieving Pricing Info for: lf-standard-4 07:25:22 INFO: Archiving Costs [Pipeline] sh 07:25:22 + cut -d, -f6 07:25:22 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 07:25:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] 07:25:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] did not exist. Created. 07:25:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:23 /w/workspace/device-virtual-go/1@tmp/durable-359cf645/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-359cf645/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:25:23 + echo total: 0.20999999344348907 [Pipeline] stash 07:25:23 Warning: overwriting stash ‘stack-cost’ 07:25:23 Stashed 1 file(s) [Pipeline] } 07:25:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] // lock [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 07:25:25 provisioning config files... 07:25:25 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1147239200242928936tmp [Pipeline] { [Pipeline] sh 07:25:26 + set +x 07:25:26 + bash -s -- 07:25:26 + curl -s https://codecov.io/bash 07:25:26 07:25:26 _____ _ 07:25:26 / ____| | | 07:25:26 | | ___ __| | ___ ___ _____ __ 07:25:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:25:26 | |___| (_) | (_| | __/ (_| (_) \ V / 07:25:26 \_____\___/ \__,_|\___|\___\___/ \_/ 07:25:26 Bash-20210309-2b87ace 07:25:26 07:25:26 07:25:26 ==> git version 2.24.3 found 07:25:26 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:25:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:25:26 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:25:26 ==> Jenkins CI detected. 07:25:26 project root: . 07:25:26 --> token set from env 07:25:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:25:26 ==> Running gcov in . (disable via -X gcov) 07:25:26 ==> Python coveragepy not found 07:25:26 ==> Searching for coverage reports in: 07:25:26 + . 07:25:26 -> Found 1 reports 07:25:26 ==> Detecting git/mercurial file structure 07:25:26 ==> Reading reports 07:25:26 + ./coverage.out bytes=47526 07:25:26 ==> Appending adjustments 07:25:26 https://docs.codecov.io/docs/fixing-reports 07:25:26 + Found adjustments 07:25:26 ==> Gzipping contents 07:25:26 8.0K /tmp/codecov.c9SLBJ.gz 07:25:26 ==> Uploading reports 07:25:26 url: https://codecov.io 07:25:26 query: branch=PR-169&commit=2b4e7d513dd90ec50609b636363c1f4ebf5757ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 07:25:26 -> Pinging Codecov 07:25:26 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-169&commit=2b4e7d513dd90ec50609b636363c1f4ebf5757ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 07:25:27 -> Uploading to 07:25:27 https://storage.googleapis.com/codecov/v4/raw/2021-03-16/5E52B4B073DB2E39498172D8E973AA87/2b4e7d513dd90ec50609b636363c1f4ebf5757ad/540d5839-6566-436f-9b8b-c36a33d5ae49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T072527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=684d80fa31e075c2164d5e8acd270927c64d574156eee5b2c6e9d40f46411f86 07:25:27 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:27 Dload Upload Total Spent Left Speed 07:25:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5783 0 0 100 5783 0 14362 --:--:-- --:--:-- --:--:-- 14385 07:25:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2b4e7d513dd90ec50609b636363c1f4ebf5757ad [Pipeline] } 07:25:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 07:25:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:25:31 ---> package-listing.sh 07:25:31 ++ facter osfamily 07:25:31 ++ tr '[:upper:]' '[:lower:]' 07:25:31 + OS_FAMILY=redhat 07:25:31 + workspace=/w/workspace/foundry_device-virtual-go_PR-169 07:25:31 + START_PACKAGES=/tmp/packages_start.txt 07:25:31 + END_PACKAGES=/tmp/packages_end.txt 07:25:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:25:31 + PACKAGES=/tmp/packages_start.txt 07:25:31 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 07:25:31 + PACKAGES=/tmp/packages_end.txt 07:25:31 + case "${OS_FAMILY}" in 07:25:31 + rpm -qa 07:25:31 + sort 07:25:36 + '[' -f /tmp/packages_start.txt ']' 07:25:36 + '[' -f /tmp/packages_end.txt ']' 07:25:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:25:36 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 07:25:36 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ 07:25:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-169/archives/ [Pipeline] echo 07:25:36 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:25:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:25:37 07:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:25:38 alpine: Pulling from edgex-lftools-log-publisher 07:25:38 df20fa9351a1: Pulling fs layer 07:25:38 36b3adc4ff6f: Pulling fs layer 07:25:38 8ad3a11d3b57: Pulling fs layer 07:25:38 46f8f816bc3b: Pulling fs layer 07:25:38 93b61091891f: Pulling fs layer 07:25:38 93b9cdb0e59b: Pulling fs layer 07:25:38 5e14af77c1be: Pulling fs layer 07:25:38 01666e4c0597: Pulling fs layer 07:25:38 aa168da1d23b: Pulling fs layer 07:25:38 5e14af77c1be: Waiting 07:25:38 aa168da1d23b: Waiting 07:25:38 93b9cdb0e59b: Waiting 07:25:38 93b61091891f: Waiting 07:25:38 46f8f816bc3b: Waiting 07:25:38 36b3adc4ff6f: Verifying Checksum 07:25:38 36b3adc4ff6f: Download complete 07:25:38 46f8f816bc3b: Download complete 07:25:38 df20fa9351a1: Verifying Checksum 07:25:38 df20fa9351a1: Download complete 07:25:38 93b9cdb0e59b: Verifying Checksum 07:25:38 93b9cdb0e59b: Download complete 07:25:38 5e14af77c1be: Verifying Checksum 07:25:38 5e14af77c1be: Download complete 07:25:38 93b61091891f: Download complete 07:25:38 01666e4c0597: Download complete 07:25:38 df20fa9351a1: Pull complete 07:25:38 36b3adc4ff6f: Pull complete 07:25:39 8ad3a11d3b57: Verifying Checksum 07:25:39 8ad3a11d3b57: Download complete 07:25:39 8ad3a11d3b57: Pull complete 07:25:39 46f8f816bc3b: Pull complete 07:25:40 93b61091891f: Pull complete 07:25:40 93b9cdb0e59b: Pull complete 07:25:40 aa168da1d23b: Verifying Checksum 07:25:40 aa168da1d23b: Download complete 07:25:40 5e14af77c1be: Pull complete 07:25:40 01666e4c0597: Pull complete 07:25:47 aa168da1d23b: Pull complete 07:25:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:25:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:25:47 prd-centos7-docker-4c-2g-29956 does not seem to be running inside a container 07:25:47 $ 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-169/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-169 -v /w/workspace/foundry_device-virtual-go_PR-169:/w/workspace/foundry_device-virtual-go_PR-169:rw,z -v /w/workspace/foundry_device-virtual-go_PR-169@tmp:/w/workspace/foundry_device-virtual-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:25:52 $ docker top 80dd0fd4750d6dcc75a3a6ba2caf06dde68e9bbeddf24e2cbf6732bdab0e0c3c -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:53 + touch /tmp/pre-build-complete [Pipeline] sh 07:25:53 + mkdir -p /var/log/sa [Pipeline] sh 07:25:53 + ls /var/log/sa-host 07:25:53 + sadf -c /var/log/sa-host/sa16 07:25:53 file_magic: OK 07:25:53 HZ: Using current value: 100 07:25:53 file_header: OK 07:25:53 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 07:25:53 Statistics: 07:25:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:25:53 File successfully converted to sysstat format version 12.2.1 07:25:53 + sadf -c /var/log/sa-host/sa23 07:25:53 file_magic: OK 07:25:53 HZ: Using current value: 100 07:25:53 file_header: OK 07:25:53 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 07:25:53 Statistics: 07:25:53 Hnuu...uuuununununu... 07:25:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:54 provisioning config files... 07:25:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config2671152714690481690tmp [Pipeline] { [Pipeline] echo 07:25:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:25:54 ---> create-netrc.sh [Pipeline] } 07:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:25:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:25:55 ---> python-tools-install.sh [Pipeline] echo 07:25:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:25:55 ---> sudo-logs.sh 07:25:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:25:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:25:56 ---> job-cost.sh 07:25:56 lf-activate-venv: SKIPPING 07:25:56 DEBUG: total: 0.20999999344348907 07:25:56 INFO: Retrieving Stack Cost... 07:25:57 INFO: Retrieving Pricing Info for: v1-standard-2 07:25:57 INFO: Archiving Costs [Pipeline] echo 07:25:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:25:58 ---> logs-deploy.sh 07:25:58 lf-activate-venv: SKIPPING 07:25:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/1 07:25:58 INFO: archiving workspace using pattern(s): 07:26:00 Archives upload complete. 07:26:00 INFO: archiving logs to Nexus