Pull request #177 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 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec rather than 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 Obtained Jenkinsfile from bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-177/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-177/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-32420 in /w/workspace/foundry_device-virtual-go_PR-177 [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-177 # 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/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 Merge succeeded, producing 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 Checking out Revision 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 (PR-177) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 # 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 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 # timeout=10 Commit message: "fix: pass correct argument in prepareVirtualResources" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:17:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:08 ========================================================= 06:17:08 EdgeX Global Pipelines Version Info 06:17:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:17:10 ------------------- 06:17:10 stable info: 06:17:10 ------------------- 06:17:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:17:10 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:17:10 Message: update stable to v1.0.186 06:17:11 ------------------- 06:17:11 experimental info: 06:17:11 ------------------- 06:17:11 Commited By: **** collab-it+edgex@linuxfoundation.org 06:17:11 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 06:17:11 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:17:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:17:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:17:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f1af1c [Pipeline] echo 06:17:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:17:16 provisioning config files... 06:17:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-177@tmp/config4900778483434511783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:16 ---> docker-login.sh 06:17:16 nexus3.edgexfoundry.org:10001 06:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:16 Configure a credential helper to remove this warning. See 06:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:16 06:17:16 Login Succeeded 06:17:16 nexus3.edgexfoundry.org:10002 06:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:17 Configure a credential helper to remove this warning. See 06:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:17 06:17:17 Login Succeeded 06:17:17 nexus3.edgexfoundry.org:10003 06:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:17 Configure a credential helper to remove this warning. See 06:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:17 06:17:17 Login Succeeded 06:17:17 nexus3.edgexfoundry.org:10004 06:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:17 Configure a credential helper to remove this warning. See 06:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:17 06:17:17 Login Succeeded 06:17:17 docker.io 06:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:17 Configure a credential helper to remove this warning. See 06:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:17 06:17:17 Login Succeeded 06:17:17 ---> docker-login.sh ends [Pipeline] } 06:17:18 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 06:17:19 + git log --format=format:%s -1 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 [Pipeline] echo 06:17:19 GIT_COMMIT: 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551, Commit Message: fix: pass correct argument in prepareVirtualResources [Pipeline] echo 06:17:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:20 06:17:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:17:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:20 latest: Pulling from edgex-devops/git-semver 06:17:20 31603596830f: Pulling fs layer 06:17:20 2a8b12db71e7: Pulling fs layer 06:17:20 6ca5941a6612: Pulling fs layer 06:17:20 ecc8261a40a4: Pulling fs layer 06:17:20 2a8b12db71e7: Verifying Checksum 06:17:20 2a8b12db71e7: Download complete 06:17:21 31603596830f: Verifying Checksum 06:17:21 31603596830f: Download complete 06:17:21 ecc8261a40a4: Verifying Checksum 06:17:21 ecc8261a40a4: Download complete 06:17:21 6ca5941a6612: Verifying Checksum 06:17:21 6ca5941a6612: Download complete 06:17:21 31603596830f: Pull complete 06:17:21 2a8b12db71e7: Pull complete 06:17:22 6ca5941a6612: Pull complete 06:17:22 ecc8261a40a4: Pull complete 06:17:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:17:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:17:22 prd-centos7-docker-4c-2g-32420 does not seem to be running inside a container 06:17:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-177 -v /w/workspace/foundry_device-virtual-go_PR-177:/w/workspace/foundry_device-virtual-go_PR-177:rw,z -v /w/workspace/foundry_device-virtual-go_PR-177@tmp:/w/workspace/foundry_device-virtual-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:17:24 $ docker top 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:24 [ssh-agent] Looking for ssh-agent implementation... 06:17:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:24 $ docker exec 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c ssh-agent 06:17:25 SSH_AUTH_SOCK=/tmp/ssh-lTq5uW01c9WX/agent.12 06:17:25 SSH_AGENT_PID=17 06:17:25 Running ssh-add (command line suppressed) 06:17:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-177@tmp/private_key_8443880364399088021.key (/w/workspace/foundry_device-virtual-go_PR-177@tmp/private_key_8443880364399088021.key) 06:17:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:25 + git tag --points-at HEAD [Pipeline] } 06:17:25 $ docker exec --env ******** --env ******** 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c ssh-agent -k 06:17:25 unset SSH_AUTH_SOCK; 06:17:25 unset SSH_AGENT_PID; 06:17:25 echo Agent pid 17 killed; 06:17:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:17:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:26 [ssh-agent] Looking for ssh-agent implementation... 06:17:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:26 $ docker exec 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c ssh-agent 06:17:26 SSH_AUTH_SOCK=/tmp/ssh-Lw2PKH0xEyOv/agent.46 06:17:26 SSH_AGENT_PID=52 06:17:26 Running ssh-add (command line suppressed) 06:17:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-177@tmp/private_key_1018911851327666740.key (/w/workspace/foundry_device-virtual-go_PR-177@tmp/private_key_1018911851327666740.key) 06:17:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:26 + git semver init 06:17:26 # -> Open(): unable to determine branch for HEAD 06:17:26 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-177/.git 06:17:26 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-177 06:17:26 # $SEMVER_REMOTE_NAME = origin 06:17:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:17:26 # $SEMVER_USER_NAME = edgex-jenkins 06:17:26 # $SEMVER_BRANCH = PR-177 06:17:26 # $SEMVER_TEMP = /tmp/semver-067441825 06:17:26 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:17:27 # '/tmp/semver-067441825' -> '/w/workspace/foundry_device-virtual-go_PR-177/.semver' 06:17:27 # -> Force: false 06:17:27 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-177/.semver [Pipeline] } 06:17:27 $ docker exec --env ******** --env ******** 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c ssh-agent -k 06:17:27 unset SSH_AUTH_SOCK; 06:17:27 unset SSH_AGENT_PID; 06:17:27 echo Agent pid 52 killed; 06:17:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:28 + git semver [Pipeline] } 06:17:28 $ docker stop --time=1 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c 06:17:29 $ docker rm -f 5b6861799980c07e5908c470e26b6017249f08f921bc4e8d5a53dc72178ebb6c [Pipeline] // withDockerContainer [Pipeline] sh 06:17:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:17:30 Stashed 1 file(s) [Pipeline] echo 06:17:30 [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 06:17:46 Still waiting to schedule task 06:17:46 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:17:46 Still waiting to schedule task 06:17:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:19:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32421 in /w/workspace/foundry_device-virtual-go_PR-177 [Pipeline] { [Pipeline] ws 06:19:26 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:19:31 using credential edgex-jenkins-ssh 06:19:31 Cloning the remote Git repository 06:19:31 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:19:31 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:19:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:19:31 > git --version # timeout=10 06:19:31 > git --version # 'git version 2.17.1' 06:19:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:19:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:33 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 06:19:33 Merge succeeded, producing 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 06:19:33 Checking out Revision 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 (PR-177) 06:19:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:19:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:19:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:19:33 > git config core.sparsecheckout # timeout=10 06:19:33 > git checkout -f 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 # timeout=10 06:19:33 > git remote # timeout=10 06:19:33 > git config --get remote.origin.url # timeout=10 06:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:33 > git merge bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 06:19:33 > git rev-parse HEAD^{commit} # timeout=10 06:19:33 > git config core.sparsecheckout # timeout=10 06:19:33 > git checkout -f 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 # timeout=10 06:19:37 Commit message: "fix: pass correct argument in prepareVirtualResources" 06:19:37 > git --version # timeout=10 06:19:37 > git --version # 'git version 2.17.1' 06:19:37 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:19:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:19:40 + true 06:19:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:19:42 provisioning config files... 06:19:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2491380911749870745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:43 ---> docker-login.sh 06:19:43 nexus3.edgexfoundry.org:10001 06:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:44 Configure a credential helper to remove this warning. See 06:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:44 06:19:44 Login Succeeded 06:19:44 nexus3.edgexfoundry.org:10002 06:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:44 Configure a credential helper to remove this warning. See 06:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:44 06:19:44 Login Succeeded 06:19:44 nexus3.edgexfoundry.org:10003 06:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:45 Configure a credential helper to remove this warning. See 06:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:45 06:19:45 Login Succeeded 06:19:45 nexus3.edgexfoundry.org:10004 06:19:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:46 Configure a credential helper to remove this warning. See 06:19:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:46 06:19:46 Login Succeeded 06:19:46 docker.io 06:19:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:46 Configure a credential helper to remove this warning. See 06:19:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:46 06:19:46 Login Succeeded 06:19:46 ---> docker-login.sh ends [Pipeline] } 06:19:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:47 ========================================================= 06:19:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:19:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:19:47 + 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 . 06:19:47 Sending build context to Docker daemon 502.3kB 06:19:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:19:47 Step 2/8 : FROM ${BASE} 06:19:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:47 5f621e34cdf4: Pulling fs layer 06:19:47 a4357932f1b6: Pulling fs layer 06:19:47 18c013af1878: Pulling fs layer 06:19:47 00ac8860ef70: Pulling fs layer 06:19:47 63d7cb157983: Pulling fs layer 06:19:47 b116817d02f9: Pulling fs layer 06:19:47 745a02a5169b: Pulling fs layer 06:19:47 63d7cb157983: Waiting 06:19:47 00ac8860ef70: Waiting 06:19:47 b116817d02f9: Waiting 06:19:47 745a02a5169b: Waiting 06:19:47 18c013af1878: Verifying Checksum 06:19:47 18c013af1878: Download complete 06:19:48 a4357932f1b6: Verifying Checksum 06:19:48 a4357932f1b6: Download complete 06:19:48 63d7cb157983: Verifying Checksum 06:19:48 63d7cb157983: Download complete 06:19:48 b116817d02f9: Verifying Checksum 06:19:48 b116817d02f9: Download complete 06:19:48 5f621e34cdf4: Verifying Checksum 06:19:48 5f621e34cdf4: Download complete 06:19:49 5f621e34cdf4: Pull complete 06:19:49 a4357932f1b6: Pull complete 06:19:50 18c013af1878: Pull complete 06:19:51 745a02a5169b: Verifying Checksum 06:19:51 745a02a5169b: Download complete 06:19:52 00ac8860ef70: Download complete 06:19:58 Running on prd-centos7-docker-4c-2g-32422 in /w/workspace/foundry_device-virtual-go_PR-177 [Pipeline] { [Pipeline] ws 06:19:58 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:20:01 using credential edgex-jenkins-ssh 06:20:01 Cloning the remote Git repository 06:20:01 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:20:01 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:20:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:20:01 > git --version # timeout=10 06:20:01 > git --version # 'git version 2.24.3' 06:20:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:02 00ac8860ef70: Pull complete 06:20:02 63d7cb157983: Pull complete 06:20:03 b116817d02f9: Pull complete 06:20:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:20:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:20:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:20:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:20:05 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 06:20:05 Merge succeeded, producing 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 06:20:05 Checking out Revision 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 (PR-177) 06:20:05 > git config core.sparsecheckout # timeout=10 06:20:05 > git checkout -f 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 # timeout=10 06:20:05 > git remote # timeout=10 06:20:05 > git config --get remote.origin.url # timeout=10 06:20:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:05 > git merge bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 06:20:05 > git rev-parse HEAD^{commit} # timeout=10 06:20:05 > git config core.sparsecheckout # timeout=10 06:20:05 > git checkout -f 3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 # timeout=10 06:20:07 745a02a5169b: Pull complete 06:20:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:20:07 ---> b7e6874047d6 06:20:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:20:09 Commit message: "fix: pass correct argument in prepareVirtualResources" 06:20:09 > git --version # timeout=10 06:20:09 > git --version # 'git version 2.24.3' 06:20:09 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:10 ---> Running in 3a4464bfe3e7 06:20:10 Removing intermediate container 3a4464bfe3e7 06:20:10 ---> b20f0e71b8ba 06:20:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 06:20:10 ---> Running in 6ebebaa9471d [Pipeline] sh 06:20:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:20:11 + sudo service docker restart 06:20:11 + true 06:20:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:20:12 provisioning config files... 06:20:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config577645449746546865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:13 Removing intermediate container 6ebebaa9471d 06:20:13 ---> 176f68217d10 06:20:13 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:20:13 ---> Running in e10c36c94eed 06:20:13 ---> docker-login.sh 06:20:13 nexus3.edgexfoundry.org:10001 06:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:13 Configure a credential helper to remove this warning. See 06:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:13 06:20:13 Login Succeeded 06:20:13 nexus3.edgexfoundry.org:10002 06:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:13 Configure a credential helper to remove this warning. See 06:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:13 06:20:13 Login Succeeded 06:20:13 nexus3.edgexfoundry.org:10003 06:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:14 Configure a credential helper to remove this warning. See 06:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:14 06:20:14 Login Succeeded 06:20:14 nexus3.edgexfoundry.org:10004 06:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:14 Configure a credential helper to remove this warning. See 06:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:14 06:20:14 Login Succeeded 06:20:14 docker.io 06:20:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:14 Configure a credential helper to remove this warning. See 06:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:14 06:20:14 Login Succeeded 06:20:14 ---> docker-login.sh ends [Pipeline] } 06:20:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:15 ========================================================= 06:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:20:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:20:15 (1/14) Installing libmagic (5.38-r0) 06:20:15 (2/14) Installing file (5.38-r0) 06:20:15 (3/14) Installing libc-dev (0.7.2-r3) 06:20:15 + 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 . 06:20:15 Sending build context to Docker daemon 503.3kB 06:20:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:20:15 Step 2/8 : FROM ${BASE} 06:20:15 (4/14) Installing g++ (9.3.0-r2) 06:20:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:20:15 188c0c94c7c5: Pulling fs layer 06:20:15 0ef7d3d256c8: Pulling fs layer 06:20:15 de9db76c5a1d: Pulling fs layer 06:20:15 bca2f99d35d6: Pulling fs layer 06:20:15 93359f2a8cfa: Pulling fs layer 06:20:15 7c6f9722023f: Pulling fs layer 06:20:15 a35cf1a2eb13: Pulling fs layer 06:20:15 93359f2a8cfa: Waiting 06:20:15 7c6f9722023f: Waiting 06:20:15 a35cf1a2eb13: Waiting 06:20:15 bca2f99d35d6: Waiting 06:20:15 de9db76c5a1d: Verifying Checksum 06:20:15 de9db76c5a1d: Download complete 06:20:15 0ef7d3d256c8: Verifying Checksum 06:20:15 0ef7d3d256c8: Download complete 06:20:15 93359f2a8cfa: Verifying Checksum 06:20:15 93359f2a8cfa: Download complete 06:20:16 7c6f9722023f: Verifying Checksum 06:20:16 188c0c94c7c5: Verifying Checksum 06:20:16 188c0c94c7c5: Download complete 06:20:16 188c0c94c7c5: Pull complete 06:20:16 0ef7d3d256c8: Pull complete 06:20:16 de9db76c5a1d: Pull complete 06:20:17 a35cf1a2eb13: Verifying Checksum 06:20:18 bca2f99d35d6: Verifying Checksum 06:20:18 bca2f99d35d6: Download complete 06:20:24 bca2f99d35d6: Pull complete 06:20:24 93359f2a8cfa: Pull complete 06:20:24 7c6f9722023f: Pull complete 06:20:28 (5/14) Installing fortify-headers (1.1-r0) 06:20:28 (6/14) Installing patch (2.7.6-r6) 06:20:28 (7/14) Installing build-base (0.5-r2) 06:20:28 (8/14) Installing openssh-keygen (8.3_p1-r2) 06:20:28 (9/14) Installing libedit (20191231.3.1-r0) 06:20:28 (10/14) Installing openssh-client (8.3_p1-r2) 06:20:28 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 06:20:29 (12/14) Installing openssh-server-common (8.3_p1-r2) 06:20:29 (13/14) Installing openssh-server (8.3_p1-r2) 06:20:29 (14/14) Installing openssh (8.3_p1-r2) 06:20:29 Executing busybox-1.31.1-r19.trigger 06:20:29 OK: 221 MiB in 53 packages 06:20:33 Removing intermediate container e10c36c94eed 06:20:33 ---> 5f8e4eae69cc 06:20:33 Step 6/8 : WORKDIR /device-virtual-go 06:20:33 ---> Running in f739b883fb5f 06:20:34 Removing intermediate container f739b883fb5f 06:20:34 ---> 4d25fcf067c6 06:20:34 Step 7/8 : COPY . . 06:20:35 ---> cc3f4396eeef 06:20:35 Step 8/8 : RUN go mod download 06:20:35 ---> Running in 7b34c3d0b3cf 06:20:36 a35cf1a2eb13: Pull complete 06:20:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:20:36 ---> a62c8e92a672 06:20:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:20:36 ---> Running in 4312f2372126 06:20:36 Removing intermediate container 4312f2372126 06:20:36 ---> 7f5abf7c224c 06:20:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:36 ---> Running in f7b080a6c7a8 06:20:36 Removing intermediate container f7b080a6c7a8 06:20:36 ---> 60d963df8b0d 06:20:36 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:20:36 ---> Running in 1eb641d3e231 06:20:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:20:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:20:38 (1/14) Installing libmagic (5.38-r0) 06:20:38 (2/14) Installing file (5.38-r0) 06:20:38 (3/14) Installing libc-dev (0.7.2-r3) 06:20:38 (4/14) Installing g++ (9.3.0-r2) 06:20:43 (5/14) Installing fortify-headers (1.1-r0) 06:20:43 (6/14) Installing patch (2.7.6-r6) 06:20:43 (7/14) Installing build-base (0.5-r2) 06:20:43 (8/14) Installing openssh-keygen (8.3_p1-r2) 06:20:43 (9/14) Installing libedit (20191231.3.1-r0) 06:20:43 (10/14) Installing openssh-client (8.3_p1-r2) 06:20:44 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 06:20:44 (12/14) Installing openssh-server-common (8.3_p1-r2) 06:20:44 (13/14) Installing openssh-server (8.3_p1-r2) 06:20:44 (14/14) Installing openssh (8.3_p1-r2) 06:20:44 Executing busybox-1.31.1-r19.trigger 06:20:44 OK: 237 MiB in 53 packages 06:20:47 Removing intermediate container 1eb641d3e231 06:20:47 ---> c01dbfd25d22 06:20:47 Step 6/8 : WORKDIR /device-virtual-go 06:20:47 ---> Running in 17dd04091e62 06:20:47 Removing intermediate container 17dd04091e62 06:20:47 ---> a0aa77ca7299 06:20:47 Step 7/8 : COPY . . 06:20:48 ---> 3076560e8e6e 06:20:48 Step 8/8 : RUN go mod download 06:20:48 ---> Running in 1bf5ccd8824b 06:21:01 Removing intermediate container 7b34c3d0b3cf 06:21:01 ---> 6cb8f53ee0b1 06:21:01 Successfully built 6cb8f53ee0b1 06:21:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:21:02 + docker inspect -f . ci-base-image-arm64 06:21:02 . [Pipeline] withDockerContainer 06:21:02 prd-ubuntu18.04-docker-arm64-4c-16g-32421 does not seem to be running inside a container 06:21:02 $ 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 06:21:04 $ docker top b5cd650b1a0ca23ac201103810d0403ef217c3b71c3d3f5a9bbf0747045d34dd -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:05 + go version 06:21:05 go version go1.15.5 linux/arm64 [Pipeline] } 06:21:05 $ docker stop --time=1 b5cd650b1a0ca23ac201103810d0403ef217c3b71c3d3f5a9bbf0747045d34dd 06:21:07 $ docker rm -f b5cd650b1a0ca23ac201103810d0403ef217c3b71c3d3f5a9bbf0747045d34dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:21:08 + docker inspect -f . ci-base-image-arm64 06:21:08 . [Pipeline] withDockerContainer 06:21:08 prd-ubuntu18.04-docker-arm64-4c-16g-32421 does not seem to be running inside a container 06:21:08 $ 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 06:21:10 $ docker top ad417f986ad968d0c2f18b9278da55cf8778b8e70fc1e8fa8fc0e3dabe69ed9f -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:10 Removing intermediate container 1bf5ccd8824b 06:21:10 ---> 4936e29993ce 06:21:10 Successfully built 4936e29993ce 06:21:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:21:11 + docker inspect -f . ci-base-image-x86_64 06:21:11 . [Pipeline] withDockerContainer 06:21:11 + make test 06:21:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:21:11 prd-centos7-docker-4c-2g-32422 does not seem to be running inside a container 06:21:11 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:21:12 $ docker top a3145a30858d25827034fb1c32ae15f651740a6cd0f78221a14dc9b2c0d05a95 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:21:12 + go version 06:21:12 go version go1.15.5 linux/amd64 [Pipeline] } 06:21:12 $ docker stop --time=1 a3145a30858d25827034fb1c32ae15f651740a6cd0f78221a14dc9b2c0d05a95 06:21:14 $ docker rm -f a3145a30858d25827034fb1c32ae15f651740a6cd0f78221a14dc9b2c0d05a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:21:15 + docker inspect -f . ci-base-image-x86_64 06:21:15 . [Pipeline] withDockerContainer 06:21:15 prd-centos7-docker-4c-2g-32422 does not seem to be running inside a container 06:21:15 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:21:16 $ docker top 2d269746438cc463add418b04aecde9c05fe1b8ce88d935f4a604fe4a7cfb1df -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:16 + make test 06:21:16 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:21:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:21:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:21:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.339s coverage: 63.8% of statements 06:21:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:21:37 gofmt -l . 06:21:37 [ "`gofmt -l .`" = "" ] 06:21:37 ./bin/test-attribution-txt.sh 06:21:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:21:38 $ docker stop --time=1 2d269746438cc463add418b04aecde9c05fe1b8ce88d935f4a604fe4a7cfb1df 06:21:39 $ docker rm -f 2d269746438cc463add418b04aecde9c05fe1b8ce88d935f4a604fe4a7cfb1df [Pipeline] // withDockerContainer [Pipeline] sh 06:21:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:21:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:21:44 + ls -al . 06:21:44 total 128 06:21:44 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 1 06:21 . 06:21:44 drwxrwxr-x. 4 jenkins jenkins 28 Apr 1 06:20 .. 06:21:44 -rw-rw-r--. 1 jenkins jenkins 7136 Apr 1 06:20 Attribution.txt 06:21:44 drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 06:20 bin 06:21:44 drwxrwxr-x. 3 jenkins jenkins 32 Apr 1 06:20 cmd 06:21:44 -rw-r--r--. 1 jenkins jenkins 47247 Apr 1 06:21 coverage.out 06:21:44 -rw-rw-r--. 1 jenkins jenkins 1851 Apr 1 06:20 Dockerfile 06:21:44 -rw-rw-r--. 1 jenkins jenkins 961 Apr 1 06:20 Dockerfile.build 06:21:44 drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 06:20 .git 06:21:44 drwxrwxr-x. 2 jenkins jenkins 103 Apr 1 06:20 .github 06:21:44 -rw-rw-r--. 1 jenkins jenkins 258 Apr 1 06:20 .gitignore 06:21:44 -rw-r--r--. 1 jenkins jenkins 809 Apr 1 06:21 go.mod 06:21:44 -rw-r--r--. 1 jenkins jenkins 20118 Apr 1 06:21 go.sum 06:21:44 drwxrwxr-x. 3 jenkins jenkins 20 Apr 1 06:20 internal 06:21:44 -rw-rw-r--. 1 jenkins jenkins 660 Apr 1 06:20 Jenkinsfile 06:21:44 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 1 06:20 LICENSE 06:21:44 -rw-rw-r--. 1 jenkins jenkins 873 Apr 1 06:20 Makefile 06:21:44 -rw-rw-r--. 1 jenkins jenkins 918 Apr 1 06:20 README.md 06:21:44 -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 06:17 VERSION 06:21:44 -rw-rw-r--. 1 jenkins jenkins 235 Apr 1 06:20 version.go [Pipeline] isUnix [Pipeline] sh 06:21:44 + 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=3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 --label arch=amd64 --label version=0.0.0 . 06:21:45 Sending build context to Docker daemon 572.4kB 06:21:45 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:21:45 Step 2/22 : FROM ${BASE} AS builder 06:21:45 ---> 4936e29993ce 06:21:45 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:21:45 ---> Running in ca0d9e541476 06:21:45 Removing intermediate container ca0d9e541476 06:21:45 ---> 63935b635dae 06:21:45 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:21:45 ---> Running in 4c44108135bb 06:21:45 Removing intermediate container 4c44108135bb 06:21:45 ---> 0501bb3b51ba 06:21:45 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:21:45 ---> Running in bf5b2afe08bc 06:21:45 Removing intermediate container bf5b2afe08bc 06:21:45 ---> 5ee6ce4d310a 06:21:45 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:45 ---> Running in 2def8bf23dba 06:21:46 Removing intermediate container 2def8bf23dba 06:21:46 ---> e9bd78208eaa 06:21:46 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:21:46 ---> Running in 5e3389523ad7 06:21:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:21:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:21:48 OK: 237 MiB in 53 packages 06:21:48 Removing intermediate container 5e3389523ad7 06:21:48 ---> 39a8a9d37df4 06:21:48 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:21:48 ---> Running in 4a87adec4d00 06:21:49 Removing intermediate container 4a87adec4d00 06:21:49 ---> d4ecb5f48b41 06:21:49 Step 9/22 : COPY . . 06:21:50 ---> 87dfc783e658 06:21:50 Step 10/22 : ARG MAKE='make build' 06:21:50 ---> Running in 23e2a3e86871 06:21:50 Removing intermediate container 23e2a3e86871 06:21:50 ---> c89b50062924 06:21:50 Step 11/22 : RUN $MAKE 06:21:50 ---> Running in f3d2011014c8 06:21:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:21:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:21:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.431s coverage: 63.8% of statements 06:21:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:22:03 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:22:06 Removing intermediate container f3d2011014c8 06:22:06 ---> 2afeda9f19b9 06:22:06 Step 12/22 : FROM alpine:3.12 06:22:06 3.12: Pulling from library/alpine 06:22:06 532819f3e44c: Pulling fs layer 06:22:06 532819f3e44c: Download complete 06:22:06 gofmt -l . 06:22:06 [ "`gofmt -l .`" = "" ] 06:22:06 ./bin/test-attribution-txt.sh 06:22:06 532819f3e44c: Pull complete 06:22:06 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:22:06 Status: Downloaded newer image for alpine:3.12 06:22:06 ---> 7230e588e954 06:22:06 Step 13/22 : ENV APP_PORT=49990 06:22:06 ---> Running in 4e6f2eff8e46 06:22:07 Removing intermediate container 4e6f2eff8e46 06:22:07 ---> 714e99d76c61 06:22:07 Step 14/22 : EXPOSE $APP_PORT 06:22:07 ---> Running in 0dd6d6b5dc8a 06:22:07 Removing intermediate container 0dd6d6b5dc8a 06:22:07 ---> 157f0591ee8f 06:22:07 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:22:08 ---> 608dc104ff47 06:22:08 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:22:08 ./bin/test-go-mod-tidy.sh 06:22:08 ---> 41c526e38be2 06:22:08 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [Pipeline] } 06:22:08 $ docker stop --time=1 ad417f986ad968d0c2f18b9278da55cf8778b8e70fc1e8fa8fc0e3dabe69ed9f 06:22:08 ---> 1d40bfcb9322 06:22:08 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:22:08 ---> Running in e1f5ed99291c 06:22:08 Removing intermediate container e1f5ed99291c 06:22:08 ---> 7afb99ca0540 06:22:08 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:22:08 ---> Running in beda5e0cba29 06:22:09 Removing intermediate container beda5e0cba29 06:22:09 ---> 77177db3e395 06:22:09 Step 20/22 : LABEL arch=amd64 06:22:09 ---> Running in 74d50c6dc95b 06:22:09 Removing intermediate container 74d50c6dc95b 06:22:09 ---> 5855325712a8 06:22:09 Step 21/22 : LABEL git_sha=3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 06:22:09 ---> Running in 9475800660e4 06:22:09 Removing intermediate container 9475800660e4 06:22:09 ---> ffa7317d706d 06:22:09 Step 22/22 : LABEL version=0.0.0 06:22:09 ---> Running in 59bb66c4585c 06:22:09 Removing intermediate container 59bb66c4585c 06:22:09 ---> 93735fba90f0 06:22:09 [Warning] One or more build-args [ARCH] were not consumed 06:22:09 Successfully built 93735fba90f0 06:22:09 Successfully tagged docker-device-virtual-go:latest 06:22:10 $ docker rm -f ad417f986ad968d0c2f18b9278da55cf8778b8e70fc1e8fa8fc0e3dabe69ed9f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 06:22:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:11 Warning: overwriting stash ‘coverage-report’ 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 Post stage 06:22:12 Stashed 1 file(s) [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } 06:22:12 ---> job-cost.sh 06:22:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lM0E [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:14 + ls -al . 06:22:14 total 152 06:22:14 drwxrwxr-x 7 jenkins jenkins 4096 Apr 1 06:22 . 06:22:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 06:19 .. 06:22:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 06:19 .git 06:22:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 06:19 .github 06:22:14 -rw-rw-r-- 1 jenkins jenkins 258 Apr 1 06:19 .gitignore 06:22:14 -rw-rw-r-- 1 jenkins jenkins 7136 Apr 1 06:19 Attribution.txt 06:22:14 -rw-rw-r-- 1 jenkins jenkins 1851 Apr 1 06:19 Dockerfile 06:22:14 -rw-rw-r-- 1 jenkins jenkins 961 Apr 1 06:19 Dockerfile.build 06:22:14 -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 06:19 Jenkinsfile 06:22:14 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 06:19 LICENSE 06:22:14 -rw-rw-r-- 1 jenkins jenkins 873 Apr 1 06:19 Makefile 06:22:14 -rw-rw-r-- 1 jenkins jenkins 918 Apr 1 06:19 README.md 06:22:14 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 06:17 VERSION 06:22:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 06:19 bin 06:22:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 06:19 cmd 06:22:14 -rw-r--r-- 1 jenkins jenkins 47247 Apr 1 06:21 coverage.out 06:22:14 -rw-r--r-- 1 jenkins jenkins 809 Apr 1 06:22 go.mod 06:22:14 -rw-r--r-- 1 jenkins jenkins 20118 Apr 1 06:22 go.sum 06:22:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 06:19 internal 06:22:14 -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 06:19 version.go [Pipeline] isUnix [Pipeline] sh 06:22:14 + 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=3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 --label arch=arm64 --label version=0.0.0 . 06:22:14 Sending build context to Docker daemon 571.4kB 06:22:14 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:22:14 Step 2/22 : FROM ${BASE} AS builder 06:22:14 ---> 6cb8f53ee0b1 06:22:14 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:22:15 ---> Running in 2c1fd6347148 06:22:15 Removing intermediate container 2c1fd6347148 06:22:15 ---> eab15b9c844b 06:22:15 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:22:15 ---> Running in abdfe97eaa72 06:22:16 Removing intermediate container abdfe97eaa72 06:22:16 ---> 4a7a105c6140 06:22:16 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:22:16 ---> Running in cb184d159031 06:22:16 Removing intermediate container cb184d159031 06:22:16 ---> 5468900c3be7 06:22:16 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:22:17 ---> Running in e43d681c505a 06:22:19 Removing intermediate container e43d681c505a 06:22:19 ---> eb5933dc5f5b 06:22:19 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:19 ---> Running in 4b3f2de2e522 06:22:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:22:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:22:21 OK: 221 MiB in 53 packages 06:22:22 Removing intermediate container 4b3f2de2e522 06:22:22 ---> 4c43cabcebec 06:22:22 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:22:22 ---> Running in b68d733877a7 06:22:23 Removing intermediate container b68d733877a7 06:22:23 ---> ca44413ce7d6 06:22:23 Step 9/22 : COPY . . 06:22:24 ---> 080e6e016e42 06:22:24 Step 10/22 : ARG MAKE='make build' 06:22:24 ---> Running in 382d00e54394 06:22:24 Removing intermediate container 382d00e54394 06:22:24 ---> b54b065fd49d 06:22:24 Step 11/22 : RUN $MAKE 06:22:24 ---> Running in 43b214d36e44 06:22:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:22:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:22:54 lf-activate-venv(): INFO: Adding /tmp/venv-lM0E/bin to PATH 06:22:54 INFO: No Stack... 06:22:55 INFO: Retrieving Pricing Info for: v1-standard-2 06:22:56 INFO: Archiving Costs [Pipeline] sh 06:22:56 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:22:56 + cut -d, -f6 [Pipeline] lock 06:22:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] 06:22:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] did not exist. Created. 06:22:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:22:57 + echo total: 0.029999999329447746 [Pipeline] stash 06:22:57 Stashed 1 file(s) [Pipeline] } 06:22:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 06:22:58 CGO_ENABLED=0 GO111MODULE=on go build ./... [Pipeline] // stage [Pipeline] } 06:23:06 Removing intermediate container 43b214d36e44 06:23:06 ---> c8201b1f1993 06:23:06 Step 12/22 : FROM alpine:3.12 06:23:06 3.12: Pulling from library/alpine 06:23:06 9a219e8acc52: Pulling fs layer 06:23:06 9a219e8acc52: Verifying Checksum 06:23:06 9a219e8acc52: Download complete 06:23:06 9a219e8acc52: Pull complete 06:23:06 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:23:06 Status: Downloaded newer image for alpine:3.12 06:23:06 ---> d75e27dfc0a0 06:23:06 Step 13/22 : ENV APP_PORT=49990 06:23:06 ---> Running in 45d51d7aa743 06:23:07 Removing intermediate container 45d51d7aa743 06:23:07 ---> 869b245d384e 06:23:07 Step 14/22 : EXPOSE $APP_PORT 06:23:07 ---> Running in a83731830fde 06:23:08 Removing intermediate container a83731830fde 06:23:08 ---> 72a07694d333 06:23:08 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:23:09 ---> 18f6adcbd2bf 06:23:09 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:23:10 ---> 7a5880060f03 06:23:10 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:23:10 ---> 541155a7d538 06:23:10 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:23:10 ---> Running in 6b731dc2b15a 06:23:11 Removing intermediate container 6b731dc2b15a 06:23:11 ---> 0dd8f65ee3b9 06:23:11 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:23:11 ---> Running in 19ea0b5148e6 06:23:12 Removing intermediate container 19ea0b5148e6 06:23:12 ---> 541df847b35e 06:23:12 Step 20/22 : LABEL arch=arm64 06:23:12 ---> Running in 923c322d6203 06:23:12 Removing intermediate container 923c322d6203 06:23:12 ---> d6358469e53b 06:23:12 Step 21/22 : LABEL git_sha=3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 06:23:12 ---> Running in 6a51520c0741 06:23:13 Removing intermediate container 6a51520c0741 06:23:13 ---> 05f2077368e2 06:23:13 Step 22/22 : LABEL version=0.0.0 06:23:13 ---> Running in 6177de3b78ed 06:23:13 Removing intermediate container 6177de3b78ed 06:23:13 ---> 5d36c784e50b 06:23:13 [Warning] One or more build-args [ARCH] were not consumed 06:23:13 Successfully built 5d36c784e50b 06:23:13 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 06:23:14 ---> job-cost.sh 06:23:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FIVA 06:23:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:25:30 lf-activate-venv(): INFO: Adding /tmp/venv-FIVA/bin to PATH 06:25:30 INFO: No Stack... 06:25:30 INFO: Retrieving Pricing Info for: lf-standard-4 06:25:30 INFO: Archiving Costs [Pipeline] sh 06:25:30 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:25:30 + cut -d, -f6 [Pipeline] lock 06:25:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] 06:25:31 Resource [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] did not exist. Created. 06:25:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:25:31 /w/workspace/device-virtual-go/1@tmp/durable-db989528/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-db989528/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:25:31 + echo total: 0.20999999344348907 [Pipeline] stash 06:25:31 Warning: overwriting stash ‘stack-cost’ 06:25:32 Stashed 1 file(s) [Pipeline] } 06:25:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-177-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 06:25:33 provisioning config files... 06:25:33 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-177@tmp/config5737601731735862531tmp [Pipeline] { [Pipeline] sh 06:25:34 + set +x 06:25:34 + curl -s https://codecov.io/bash 06:25:34 + bash -s -- 06:25:34 06:25:34 _____ _ 06:25:34 / ____| | | 06:25:34 | | ___ __| | ___ ___ _____ __ 06:25:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:25:34 | |___| (_) | (_| | __/ (_| (_) \ V / 06:25:34 \_____\___/ \__,_|\___|\___\___/ \_/ 06:25:34 Bash-20210309-2b87ace 06:25:34 06:25:34 06:25:34 ==> git version 2.24.3 found 06:25:34 ==> 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 06:25:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:25:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:25:34 ==> Jenkins CI detected. 06:25:34 project root: . 06:25:34 --> token set from env 06:25:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:25:34 ==> Running gcov in . (disable via -X gcov) 06:25:34 ==> Python coveragepy not found 06:25:34 ==> Searching for coverage reports in: 06:25:34 + . 06:25:34 -> Found 1 reports 06:25:34 ==> Detecting git/mercurial file structure 06:25:34 ==> Reading reports 06:25:34 + ./coverage.out bytes=47247 06:25:34 ==> Appending adjustments 06:25:34 https://docs.codecov.io/docs/fixing-reports 06:25:34 + Found adjustments 06:25:34 ==> Gzipping contents 06:25:34 8.0K /tmp/codecov.wBbxyx.gz 06:25:34 ==> Uploading reports 06:25:34 url: https://codecov.io 06:25:34 query: branch=PR-177&commit=3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=177&job=&cmd_args= 06:25:34 -> Pinging Codecov 06:25:34 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-177&commit=3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=177&job=&cmd_args= 06:25:35 -> Uploading to 06:25:35 https://storage.googleapis.com/codecov/v4/raw/2021-04-01/5E52B4B073DB2E39498172D8E973AA87/3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551/0bf15bf2-1e81-47a5-86b6-7cf06df6813f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210401T062534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d98fdf3ebdf217a1677728f889b35e234aaa8c9e1aeba340e090df8683f1c4e2 06:25:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:25:35 Dload Upload Total Spent Left Speed 06:25:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5747 0 0 100 5747 0 15156 --:--:-- --:--:-- --:--:-- 15163 06:25:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3f1af1ca3d9ccbe5970511ef6481cfdd58b8e551 [Pipeline] } 06:25:35 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 06:25:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:25:39 ---> package-listing.sh 06:25:39 ++ facter osfamily 06:25:39 ++ tr '[:upper:]' '[:lower:]' 06:25:39 + OS_FAMILY=redhat 06:25:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-177 06:25:39 + START_PACKAGES=/tmp/packages_start.txt 06:25:39 + END_PACKAGES=/tmp/packages_end.txt 06:25:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:25:39 + PACKAGES=/tmp/packages_start.txt 06:25:39 + '[' /w/workspace/foundry_device-virtual-go_PR-177 ']' 06:25:39 + PACKAGES=/tmp/packages_end.txt 06:25:39 + case "${OS_FAMILY}" in 06:25:39 + rpm -qa 06:25:39 + sort 06:25:43 + '[' -f /tmp/packages_start.txt ']' 06:25:43 + '[' -f /tmp/packages_end.txt ']' 06:25:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:25:43 + '[' /w/workspace/foundry_device-virtual-go_PR-177 ']' 06:25:43 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-177/archives/ 06:25:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-177/archives/ [Pipeline] echo 06:25:43 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:25:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:25:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:25:44 06:25:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:25:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:25:44 alpine: Pulling from edgex-lftools-log-publisher 06:25:44 df20fa9351a1: Pulling fs layer 06:25:44 36b3adc4ff6f: Pulling fs layer 06:25:44 8ad3a11d3b57: Pulling fs layer 06:25:44 46f8f816bc3b: Pulling fs layer 06:25:44 93b61091891f: Pulling fs layer 06:25:44 93b9cdb0e59b: Pulling fs layer 06:25:44 5e14af77c1be: Pulling fs layer 06:25:44 01666e4c0597: Pulling fs layer 06:25:44 aa168da1d23b: Pulling fs layer 06:25:44 46f8f816bc3b: Waiting 06:25:44 5e14af77c1be: Waiting 06:25:44 93b61091891f: Waiting 06:25:44 93b9cdb0e59b: Waiting 06:25:44 01666e4c0597: Waiting 06:25:44 aa168da1d23b: Waiting 06:25:44 36b3adc4ff6f: Verifying Checksum 06:25:44 36b3adc4ff6f: Download complete 06:25:44 46f8f816bc3b: Verifying Checksum 06:25:44 46f8f816bc3b: Download complete 06:25:44 df20fa9351a1: Download complete 06:25:44 93b9cdb0e59b: Download complete 06:25:44 5e14af77c1be: Verifying Checksum 06:25:44 5e14af77c1be: Download complete 06:25:44 93b61091891f: Verifying Checksum 06:25:44 93b61091891f: Download complete 06:25:44 01666e4c0597: Verifying Checksum 06:25:44 01666e4c0597: Download complete 06:25:45 df20fa9351a1: Pull complete 06:25:45 36b3adc4ff6f: Pull complete 06:25:45 8ad3a11d3b57: Verifying Checksum 06:25:45 8ad3a11d3b57: Download complete 06:25:46 8ad3a11d3b57: Pull complete 06:25:46 46f8f816bc3b: Pull complete 06:25:47 aa168da1d23b: Verifying Checksum 06:25:47 aa168da1d23b: Download complete 06:25:47 93b61091891f: Pull complete 06:25:47 93b9cdb0e59b: Pull complete 06:25:47 5e14af77c1be: Pull complete 06:25:47 01666e4c0597: Pull complete 06:25:56 aa168da1d23b: Pull complete 06:25:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:25:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:25:56 prd-centos7-docker-4c-2g-32420 does not seem to be running inside a container 06:25:56 $ 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-177/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-177 -v /w/workspace/foundry_device-virtual-go_PR-177:/w/workspace/foundry_device-virtual-go_PR-177:rw,z -v /w/workspace/foundry_device-virtual-go_PR-177@tmp:/w/workspace/foundry_device-virtual-go_PR-177@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:25:59 $ docker top 85f49b9d7a3ae8c3f0b04262d0784b62f58fb0ff86adde7fd6a1f6688c4c10c9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:00 + touch /tmp/pre-build-complete [Pipeline] sh 06:26:00 + mkdir -p /var/log/sa [Pipeline] sh 06:26:01 + ls /var/log/sa-host 06:26:01 + sadf -c /var/log/sa-host/sa01 06:26:01 file_magic: OK 06:26:01 HZ: Using current value: 100 06:26:01 file_header: OK 06:26:01 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 06:26:01 Statistics: 06:26:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:26:01 File successfully converted to sysstat format version 12.2.1 06:26:01 + sadf -c /var/log/sa-host/sa23 06:26:01 file_magic: OK 06:26:01 HZ: Using current value: 100 06:26:01 file_header: OK 06:26:01 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 06:26:01 Statistics: 06:26:01 Hnuu...uuuununununu... 06:26:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:01 provisioning config files... 06:26:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-177@tmp/config8115712430380361145tmp [Pipeline] { [Pipeline] echo 06:26:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:26:02 ---> create-netrc.sh [Pipeline] } 06:26:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:26:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:26:02 ---> python-tools-install.sh [Pipeline] echo 06:26:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:26:03 ---> sudo-logs.sh 06:26:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:26:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:26:03 ---> job-cost.sh 06:26:03 lf-activate-venv: SKIPPING 06:26:03 DEBUG: total: 0.20999999344348907 06:26:03 INFO: Retrieving Stack Cost... 06:26:05 INFO: Retrieving Pricing Info for: v1-standard-2 06:26:05 INFO: Archiving Costs [Pipeline] echo 06:26:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:26:05 ---> logs-deploy.sh 06:26:05 lf-activate-venv: SKIPPING 06:26:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-177/1 06:26:05 INFO: archiving workspace using pattern(s): 06:26:07 Archives upload complete. 06:26:07 INFO: archiving logs to Nexus 06:26:08 ---> uname -a: 06:26:08 Linux prd-centos7-docker-4c-2g-32420.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:26:08 06:26:08 06:26:08 ---> lscpu: 06:26:08 Architecture: x86_64 06:26:08 CPU op-mode(s): 32-bit, 64-bit 06:26:08 Byte Order: Little Endian 06:26:08 Address sizes: 40 bits physical, 48 bits virtual 06:26:08 CPU(s): 4 06:26:08 On-line CPU(s) list: 0-3 06:26:08 Thread(s) per core: 1 06:26:08 Core(s) per socket: 1 06:26:08 Socket(s): 4 06:26:08 NUMA node(s): 1 06:26:08 Vendor ID: GenuineIntel 06:26:08 CPU family: 6 06:26:08 Model: 44 06:26:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:26:08 Stepping: 1 06:26:08 CPU MHz: 2933.436 06:26:08 BogoMIPS: 5866.87 06:26:08 Virtualization: VT-x 06:26:08 Hypervisor vendor: KVM 06:26:08 Virtualization type: full 06:26:08 L1d cache: 128 KiB 06:26:08 L1i cache: 128 KiB 06:26:08 L2 cache: 16 MiB 06:26:08 L3 cache: 64 MiB 06:26:08 NUMA node0 CPU(s): 0-3 06:26:08 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:26:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:26:08 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:26:08 Vulnerability Meltdown: Mitigation; PTI 06:26:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:26:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:26:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:26:08 Vulnerability Srbds: Not affected 06:26:08 Vulnerability Tsx async abort: Not affected 06:26:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:26:08 06:26:08 06:26:08 ---> nproc: 06:26:08 4 06:26:08 06:26:08