Pull request #169 updated 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 07590549636915eace127cb20714069285f91c76 Obtained Jenkinsfile from 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30294 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 07590549636915eace127cb20714069285f91c76 Merge succeeded, producing 07590549636915eace127cb20714069285f91c76 Checking out Revision 07590549636915eace127cb20714069285f91c76 (PR-169) > git config core.sparsecheckout # timeout=10 > git checkout -f 07590549636915eace127cb20714069285f91c76 # 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 07590549636915eace127cb20714069285f91c76 # timeout=10 Commit message: "feat: update driver implementation to reflect v2 profiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:53:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:53:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:53:00 ========================================================= 09:53:00 EdgeX Global Pipelines Version Info 09:53:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 09:53:02 ------------------- 09:53:02 stable info: 09:53:02 ------------------- 09:53:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:53:02 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:53:02 Message: update stable to v1.0.186 09:53:03 ------------------- 09:53:03 experimental info: 09:53:03 ------------------- 09:53:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:53:03 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:53:03 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:53:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:53:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 09:53:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 09:53:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07590549636915eace127cb20714069285f91c76 [Pipeline] echo 09:53:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0759054 [Pipeline] echo 09:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:53:06 provisioning config files... 09:53:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config7122509952854874628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:06 ---> docker-login.sh 09:53:06 nexus3.edgexfoundry.org:10001 09:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:07 Configure a credential helper to remove this warning. See 09:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:07 09:53:07 Login Succeeded 09:53:07 nexus3.edgexfoundry.org:10002 09:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:07 Configure a credential helper to remove this warning. See 09:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:07 09:53:07 Login Succeeded 09:53:07 nexus3.edgexfoundry.org:10003 09:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:07 Configure a credential helper to remove this warning. See 09:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:07 09:53:07 Login Succeeded 09:53:07 nexus3.edgexfoundry.org:10004 09:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:07 Configure a credential helper to remove this warning. See 09:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:07 09:53:07 Login Succeeded 09:53:07 docker.io 09:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:08 Configure a credential helper to remove this warning. See 09:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:08 09:53:08 Login Succeeded 09:53:08 ---> docker-login.sh ends [Pipeline] } 09:53:08 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 09:53:08 + git log --format=format:%s -1 07590549636915eace127cb20714069285f91c76 [Pipeline] echo 09:53:09 GIT_COMMIT: 07590549636915eace127cb20714069285f91c76, Commit Message: feat: update driver implementation to reflect v2 profiles [Pipeline] echo 09:53:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:53:10 09:53:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:53:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:53:10 latest: Pulling from edgex-devops/git-semver 09:53:10 31603596830f: Pulling fs layer 09:53:10 2a8b12db71e7: Pulling fs layer 09:53:10 6ca5941a6612: Pulling fs layer 09:53:10 ecc8261a40a4: Pulling fs layer 09:53:10 ecc8261a40a4: Waiting 09:53:10 2a8b12db71e7: Verifying Checksum 09:53:10 2a8b12db71e7: Download complete 09:53:10 31603596830f: Download complete 09:53:10 ecc8261a40a4: Verifying Checksum 09:53:10 ecc8261a40a4: Download complete 09:53:11 6ca5941a6612: Verifying Checksum 09:53:11 6ca5941a6612: Download complete 09:53:11 31603596830f: Pull complete 09:53:11 2a8b12db71e7: Pull complete 09:53:12 6ca5941a6612: Pull complete 09:53:12 ecc8261a40a4: Pull complete 09:53:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:53:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:53:12 prd-centos7-docker-4c-2g-30294 does not seem to be running inside a container 09:53:12 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:53:14 $ docker top e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:53:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:53:14 [ssh-agent] Looking for ssh-agent implementation... 09:53:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:53:15 $ docker exec e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 ssh-agent 09:53:15 SSH_AUTH_SOCK=/tmp/ssh-Hj7by5pB3Mqv/agent.11 09:53:15 SSH_AGENT_PID=17 09:53:15 Running ssh-add (command line suppressed) 09:53:15 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_7817162542920069395.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_7817162542920069395.key) 09:53:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:53:15 + git tag --points-at HEAD [Pipeline] } 09:53:15 $ docker exec --env ******** --env ******** e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 ssh-agent -k 09:53:16 unset SSH_AUTH_SOCK; 09:53:16 unset SSH_AGENT_PID; 09:53:16 echo Agent pid 17 killed; 09:53:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:53:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:53:16 [ssh-agent] Looking for ssh-agent implementation... 09:53:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:53:16 $ docker exec e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 ssh-agent 09:53:16 SSH_AUTH_SOCK=/tmp/ssh-O4OIeOdHGsGy/agent.45 09:53:16 SSH_AGENT_PID=50 09:53:16 Running ssh-add (command line suppressed) 09:53:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_5064498427746723055.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_5064498427746723055.key) 09:53:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:53:17 + git semver init 09:53:17 # -> Open(): unable to determine branch for HEAD 09:53:17 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git 09:53:17 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 09:53:17 # $SEMVER_REMOTE_NAME = origin 09:53:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:53:17 # $SEMVER_USER_NAME = edgex-jenkins 09:53:17 # $SEMVER_BRANCH = PR-169 09:53:17 # $SEMVER_TEMP = /tmp/semver-166609695 09:53:17 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 09:53:17 # '/tmp/semver-166609695' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' 09:53:17 # -> Force: false 09:53:17 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } 09:53:17 $ docker exec --env ******** --env ******** e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 ssh-agent -k 09:53:17 unset SSH_AUTH_SOCK; 09:53:17 unset SSH_AGENT_PID; 09:53:17 echo Agent pid 50 killed; 09:53:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:53:18 + git semver [Pipeline] } 09:53:18 $ docker stop --time=1 e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 09:53:19 $ docker rm -f e6bd431884fc3a570478e64542fae72f8d4e8175c4078195a2aa83559c2246e1 [Pipeline] // withDockerContainer [Pipeline] sh 09:53:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:53:20 Stashed 1 file(s) [Pipeline] echo 09:53:20 [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 09:53:35 Still waiting to schedule task 09:53:35 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30294’ 09:53:35 Still waiting to schedule task 09:53:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:55:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30295 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 09:55:27 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 09:55:33 using credential edgex-jenkins-ssh 09:55:33 Cloning the remote Git repository 09:55:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:55:33 > git init /w/workspace/device-virtual-go/7 # timeout=10 09:55:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:55:33 > git --version # timeout=10 09:55:33 > git --version # 'git version 2.17.1' 09:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:55:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:55:35 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 07590549636915eace127cb20714069285f91c76 09:55:35 Merge succeeded, producing 07590549636915eace127cb20714069285f91c76 09:55:35 Checking out Revision 07590549636915eace127cb20714069285f91c76 (PR-169) 09:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:55:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:55:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:55:34 using GIT_SSH to set credentials SSH Credentials for GitHub 09:55:34 > 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 09:55:35 > git config core.sparsecheckout # timeout=10 09:55:35 > git checkout -f 07590549636915eace127cb20714069285f91c76 # timeout=10 09:55:35 > git remote # timeout=10 09:55:35 > git config --get remote.origin.url # timeout=10 09:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 09:55:35 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 09:55:35 > git rev-parse HEAD^{commit} # timeout=10 09:55:35 > git config core.sparsecheckout # timeout=10 09:55:35 > git checkout -f 07590549636915eace127cb20714069285f91c76 # timeout=10 09:55:39 Commit message: "feat: update driver implementation to reflect v2 profiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:55:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:55:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:55:42 + sudo service docker restart 09:55:42 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:55:45 provisioning config files... 09:55:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/7@tmp/config5373085201762365168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:45 ---> docker-login.sh 09:55:45 nexus3.edgexfoundry.org:10001 09:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:46 Configure a credential helper to remove this warning. See 09:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:46 09:55:46 Login Succeeded 09:55:46 nexus3.edgexfoundry.org:10002 09:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:47 Configure a credential helper to remove this warning. See 09:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:47 09:55:47 Login Succeeded 09:55:47 nexus3.edgexfoundry.org:10003 09:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:47 Configure a credential helper to remove this warning. See 09:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:47 09:55:47 Login Succeeded 09:55:47 nexus3.edgexfoundry.org:10004 09:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:48 Configure a credential helper to remove this warning. See 09:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:48 09:55:48 Login Succeeded 09:55:48 docker.io 09:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:49 Configure a credential helper to remove this warning. See 09:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:49 09:55:49 Login Succeeded 09:55:49 ---> docker-login.sh ends [Pipeline] } 09:55:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:55:49 ========================================================= 09:55:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:55:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:55:50 + 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 . 09:55:50 Sending build context to Docker daemon 520.2kB 09:55:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:55:50 Step 2/8 : FROM ${BASE} 09:55:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:55:50 5f621e34cdf4: Pulling fs layer 09:55:50 a4357932f1b6: Pulling fs layer 09:55:50 18c013af1878: Pulling fs layer 09:55:50 00ac8860ef70: Pulling fs layer 09:55:50 63d7cb157983: Pulling fs layer 09:55:50 b116817d02f9: Pulling fs layer 09:55:50 745a02a5169b: Pulling fs layer 09:55:50 63d7cb157983: Waiting 09:55:50 b116817d02f9: Waiting 09:55:50 745a02a5169b: Waiting 09:55:50 18c013af1878: Verifying Checksum 09:55:50 18c013af1878: Download complete 09:55:50 a4357932f1b6: Verifying Checksum 09:55:50 a4357932f1b6: Download complete 09:55:50 63d7cb157983: Verifying Checksum 09:55:50 63d7cb157983: Download complete 09:55:50 b116817d02f9: Verifying Checksum 09:55:50 b116817d02f9: Download complete 09:55:50 5f621e34cdf4: Verifying Checksum 09:55:50 5f621e34cdf4: Download complete 09:55:51 5f621e34cdf4: Pull complete 09:55:51 a4357932f1b6: Pull complete 09:55:52 18c013af1878: Pull complete 09:55:53 745a02a5169b: Verifying Checksum 09:55:53 745a02a5169b: Download complete 09:55:54 00ac8860ef70: Download complete 09:56:04 00ac8860ef70: Pull complete 09:56:05 63d7cb157983: Pull complete 09:56:05 b116817d02f9: Pull complete 09:56:09 745a02a5169b: Pull complete 09:56:09 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:56:09 ---> b7e6874047d6 09:56:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:56:12 ---> Running in 37f79dc1a068 09:56:12 Removing intermediate container 37f79dc1a068 09:56:12 ---> 6c5b9b454f42 09:56:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:56:12 ---> Running in 79ca95ea173c 09:56:14 Removing intermediate container 79ca95ea173c 09:56:14 ---> 3256d444d1af 09:56:14 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:56:14 ---> Running in 848e92b6daa2 09:56:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:56:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:56:17 (1/14) Installing libmagic (5.38-r0) 09:56:17 (2/14) Installing file (5.38-r0) 09:56:17 (3/14) Installing libc-dev (0.7.2-r3) 09:56:17 (4/14) Installing g++ (9.3.0-r2) 09:56:21 (5/14) Installing fortify-headers (1.1-r0) 09:56:21 (6/14) Installing patch (2.7.6-r6) 09:56:21 (7/14) Installing build-base (0.5-r2) 09:56:21 (8/14) Installing openssh-keygen (8.3_p1-r1) 09:56:21 (9/14) Installing libedit (20191231.3.1-r0) 09:56:21 (10/14) Installing openssh-client (8.3_p1-r1) 09:56:21 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 09:56:21 (12/14) Installing openssh-server-common (8.3_p1-r1) 09:56:21 (13/14) Installing openssh-server (8.3_p1-r1) 09:56:21 (14/14) Installing openssh (8.3_p1-r1) 09:56:21 Executing busybox-1.31.1-r19.trigger 09:56:21 OK: 221 MiB in 53 packages 09:56:26 Removing intermediate container 848e92b6daa2 09:56:26 ---> b26413a5530f 09:56:26 Step 6/8 : WORKDIR /device-virtual-go 09:56:26 ---> Running in 6ba3cddbdf81 09:56:26 Removing intermediate container 6ba3cddbdf81 09:56:26 ---> 34269dfa0082 09:56:26 Step 7/8 : COPY . . 09:56:27 ---> 8e934df3d3eb 09:56:27 Step 8/8 : RUN go mod download 09:56:27 ---> Running in b242f27ece07 09:56:46 Running on prd-centos7-docker-4c-2g-30296 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 09:56:46 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 09:56:54 Removing intermediate container b242f27ece07 09:56:54 ---> c071355e4098 09:56:54 Successfully built c071355e4098 09:56:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:56:55 + docker inspect -f . ci-base-image-arm64 09:56:55 . [Pipeline] withDockerContainer 09:56:55 prd-ubuntu18.04-docker-arm64-4c-16g-30295 does not seem to be running inside a container 09:56:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:56:55 using credential edgex-jenkins-ssh 09:56:55 Cloning the remote Git repository 09:56:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:56:55 > git init /w/workspace/device-virtual-go/7 # timeout=10 09:56:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:56:56 > git --version # timeout=10 09:56:56 $ docker top 3577b3d502a72241235aa4fb44562ca8cd65582fc5fb1d809344943a1f155eed -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:57 + go version 09:56:57 go version go1.15.5 linux/arm64 [Pipeline] } 09:56:57 $ docker stop --time=1 3577b3d502a72241235aa4fb44562ca8cd65582fc5fb1d809344943a1f155eed 09:56:56 > git --version # 'git version 2.24.3' 09:56:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:56:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:56:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:56:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:56:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:56:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:56:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:56:57 > 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 09:56:58 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 07590549636915eace127cb20714069285f91c76 09:56:58 Merge succeeded, producing 07590549636915eace127cb20714069285f91c76 09:56:58 Checking out Revision 07590549636915eace127cb20714069285f91c76 (PR-169) 09:56:58 > git config core.sparsecheckout # timeout=10 09:56:58 > git checkout -f 07590549636915eace127cb20714069285f91c76 # timeout=10 09:56:58 > git remote # timeout=10 09:56:58 > git config --get remote.origin.url # timeout=10 09:56:58 using GIT_SSH to set credentials SSH Credentials for GitHub 09:56:58 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 09:56:58 > git rev-parse HEAD^{commit} # timeout=10 09:56:58 > git config core.sparsecheckout # timeout=10 09:56:58 > git checkout -f 07590549636915eace127cb20714069285f91c76 # timeout=10 09:56:59 $ docker rm -f 3577b3d502a72241235aa4fb44562ca8cd65582fc5fb1d809344943a1f155eed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:57:01 + docker inspect -f . ci-base-image-arm64 09:57:01 . [Pipeline] withDockerContainer 09:57:01 prd-ubuntu18.04-docker-arm64-4c-16g-30295 does not seem to be running inside a container 09:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:57:02 $ docker top 2f57ff735b1f17a9d2d81c4043c0fa29f722429685b6b54f0e44f01a114a473e -eo pid,comm 09:57:03 Commit message: "feat: update driver implementation to reflect v2 profiles" [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:57:03 + make test 09:57:03 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] sh 09:57:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 09:57:04 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] sh 09:57:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:57:05 + sudo service docker restart 09:57:05 + true 09:57:05 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:57:08 provisioning config files... 09:57:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/7@tmp/config7371978901586950204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:57:08 ---> docker-login.sh 09:57:08 nexus3.edgexfoundry.org:10001 09:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:09 Configure a credential helper to remove this warning. See 09:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:09 09:57:09 Login Succeeded 09:57:09 nexus3.edgexfoundry.org:10002 09:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:11 Configure a credential helper to remove this warning. See 09:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:11 09:57:11 Login Succeeded 09:57:11 nexus3.edgexfoundry.org:10003 09:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:11 Configure a credential helper to remove this warning. See 09:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:11 09:57:11 Login Succeeded 09:57:11 nexus3.edgexfoundry.org:10004 09:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:12 Configure a credential helper to remove this warning. See 09:57:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:12 09:57:12 Login Succeeded 09:57:12 docker.io 09:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:13 Configure a credential helper to remove this warning. See 09:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:13 09:57:13 Login Succeeded 09:57:13 ---> docker-login.sh ends [Pipeline] } 09:57:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:57:14 ========================================================= 09:57:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:57:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:57:14 + 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 . 09:57:15 Sending build context to Docker daemon 521.2kB 09:57:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:57:15 Step 2/8 : FROM ${BASE} 09:57:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:57:15 188c0c94c7c5: Pulling fs layer 09:57:15 0ef7d3d256c8: Pulling fs layer 09:57:15 de9db76c5a1d: Pulling fs layer 09:57:15 bca2f99d35d6: Pulling fs layer 09:57:15 93359f2a8cfa: Pulling fs layer 09:57:15 7c6f9722023f: Pulling fs layer 09:57:15 a35cf1a2eb13: Pulling fs layer 09:57:15 bca2f99d35d6: Waiting 09:57:15 93359f2a8cfa: Waiting 09:57:15 7c6f9722023f: Waiting 09:57:15 a35cf1a2eb13: Waiting 09:57:15 de9db76c5a1d: Verifying Checksum 09:57:15 de9db76c5a1d: Download complete 09:57:15 0ef7d3d256c8: Verifying Checksum 09:57:15 0ef7d3d256c8: Download complete 09:57:15 93359f2a8cfa: Verifying Checksum 09:57:15 93359f2a8cfa: Download complete 09:57:15 7c6f9722023f: Verifying Checksum 09:57:15 7c6f9722023f: Download complete 09:57:15 188c0c94c7c5: Verifying Checksum 09:57:15 188c0c94c7c5: Download complete 09:57:15 188c0c94c7c5: Pull complete 09:57:16 0ef7d3d256c8: Pull complete 09:57:16 de9db76c5a1d: Pull complete 09:57:18 a35cf1a2eb13: Verifying Checksum 09:57:18 a35cf1a2eb13: Download complete 09:57:19 bca2f99d35d6: Verifying Checksum 09:57:19 bca2f99d35d6: Download complete 09:57:35 bca2f99d35d6: Pull complete 09:57:35 93359f2a8cfa: Pull complete 09:57:37 7c6f9722023f: Pull complete 09:57:45 a35cf1a2eb13: Pull complete 09:57:45 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:57:45 ---> a62c8e92a672 09:57:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:57:45 ---> Running in 664f0d7ed914 09:57:45 Removing intermediate container 664f0d7ed914 09:57:45 ---> a7b21e9bfe89 09:57:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:57:45 ---> Running in a12b266b04b3 09:57:48 Removing intermediate container a12b266b04b3 09:57:48 ---> 1feed6469ad8 09:57:48 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:57:48 ---> Running in f28251d04f06 09:57:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:57:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:57:50 (1/14) Installing libmagic (5.38-r0) 09:57:51 (2/14) Installing file (5.38-r0) 09:57:51 (3/14) Installing libc-dev (0.7.2-r3) 09:57:51 (4/14) Installing g++ (9.3.0-r2) 09:57:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:57:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.472s coverage: 63.8% of statements 09:57:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:57:55 (5/14) Installing fortify-headers (1.1-r0) 09:57:55 (6/14) Installing patch (2.7.6-r6) 09:57:55 (7/14) Installing build-base (0.5-r2) 09:57:56 (8/14) Installing openssh-keygen (8.3_p1-r1) 09:57:56 (9/14) Installing libedit (20191231.3.1-r0) 09:57:56 (10/14) Installing openssh-client (8.3_p1-r1) 09:57:56 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 09:57:56 (12/14) Installing openssh-server-common (8.3_p1-r1) 09:57:56 (13/14) Installing openssh-server (8.3_p1-r1) 09:57:56 (14/14) Installing openssh (8.3_p1-r1) 09:57:57 Executing busybox-1.31.1-r19.trigger 09:57:57 OK: 237 MiB in 53 packages 09:58:00 gofmt -l . 09:58:00 [ "`gofmt -l .`" = "" ] 09:58:00 ./bin/test-attribution-txt.sh 09:58:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:58:02 $ docker stop --time=1 2f57ff735b1f17a9d2d81c4043c0fa29f722429685b6b54f0e44f01a114a473e 09:58:03 Removing intermediate container f28251d04f06 09:58:03 ---> cbc870d1af0a 09:58:03 Step 6/8 : WORKDIR /device-virtual-go 09:58:03 ---> Running in e0f4e2fa7b68 09:58:03 Removing intermediate container e0f4e2fa7b68 09:58:03 ---> 0ffb29b0376d 09:58:03 Step 7/8 : COPY . . 09:58:04 $ docker rm -f 2f57ff735b1f17a9d2d81c4043c0fa29f722429685b6b54f0e44f01a114a473e 09:58:04 ---> ef8805ec8436 09:58:04 Step 8/8 : RUN go mod download 09:58:04 ---> Running in 616ca6685b4b [Pipeline] // withDockerContainer [Pipeline] sh 09:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:58:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:58:09 + ls -al . 09:58:09 total 152 09:58:09 drwxrwxr-x 7 jenkins jenkins 4096 Mar 18 09:58 . 09:58:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:55 .. 09:58:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 09:55 .git 09:58:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 09:55 .github 09:58:09 -rw-rw-r-- 1 jenkins jenkins 258 Mar 18 09:55 .gitignore 09:58:09 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 18 09:55 Attribution.txt 09:58:09 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 18 09:55 Dockerfile 09:58:09 -rw-rw-r-- 1 jenkins jenkins 961 Mar 18 09:55 Dockerfile.build 09:58:09 -rw-rw-r-- 1 jenkins jenkins 660 Mar 18 09:55 Jenkinsfile 09:58:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 09:55 LICENSE 09:58:09 -rw-rw-r-- 1 jenkins jenkins 873 Mar 18 09:55 Makefile 09:58:09 -rw-rw-r-- 1 jenkins jenkins 918 Mar 18 09:55 README.md 09:58:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 09:53 VERSION 09:58:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 09:55 bin 09:58:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 09:55 cmd 09:58:09 -rw-r--r-- 1 jenkins jenkins 47247 Mar 18 09:57 coverage.out 09:58:09 -rw-r--r-- 1 jenkins jenkins 809 Mar 18 09:58 go.mod 09:58:09 -rw-r--r-- 1 jenkins jenkins 20118 Mar 18 09:58 go.sum 09:58:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 09:55 internal 09:58:09 -rw-rw-r-- 1 jenkins jenkins 235 Mar 18 09:55 version.go [Pipeline] isUnix [Pipeline] sh 09:58:10 + 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=07590549636915eace127cb20714069285f91c76 --label arch=arm64 --label version=0.0.0 . 09:58:10 Sending build context to Docker daemon 589.3kB 09:58:10 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 09:58:10 Step 2/22 : FROM ${BASE} AS builder 09:58:10 ---> c071355e4098 09:58:10 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:58:10 ---> Running in 6de7d4e1f2e0 09:58:11 Removing intermediate container 6de7d4e1f2e0 09:58:11 ---> 2307d6e651e5 09:58:11 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:58:11 ---> Running in 92fbfc84e544 09:58:12 Removing intermediate container 92fbfc84e544 09:58:12 ---> 78a27d915a3b 09:58:12 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 09:58:12 ---> Running in e6e5b09885f0 09:58:12 Removing intermediate container e6e5b09885f0 09:58:12 ---> 04578754979b 09:58:12 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:58:12 ---> Running in 1d950fb06461 09:58:14 Removing intermediate container 1d950fb06461 09:58:14 ---> ffc3f76ab98a 09:58:14 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:58:14 ---> Running in 0999b6c047f4 09:58:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:58:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:58:17 OK: 221 MiB in 53 packages 09:58:18 Removing intermediate container 0999b6c047f4 09:58:18 ---> e94004a56be5 09:58:18 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:58:18 ---> Running in bef7eb93cb7a 09:58:19 Removing intermediate container bef7eb93cb7a 09:58:19 ---> f6c3f3e67f32 09:58:19 Step 9/22 : COPY . . 09:58:20 ---> 1b4dbe6a8af3 09:58:20 Step 10/22 : ARG MAKE='make build' 09:58:20 ---> Running in 16f1c564c789 09:58:20 Removing intermediate container 16f1c564c789 09:58:20 ---> 2638d730f02d 09:58:20 Step 11/22 : RUN $MAKE 09:58:20 ---> Running in a49ab17a4dc5 09:58: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 09:58:43 Removing intermediate container 616ca6685b4b 09:58:43 ---> 0c2c08fc52af 09:58:43 Successfully built 0c2c08fc52af 09:58:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:58:43 + docker inspect -f . ci-base-image-x86_64 09:58:44 . [Pipeline] withDockerContainer 09:58:44 prd-centos7-docker-4c-2g-30296 does not seem to be running inside a container 09:58:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:58:47 $ docker top 050b96d3e1b5c038a1cb86b2b6523d60b2a17876abb620ff2c68a3a6c08e33e9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:58:47 + go version 09:58:47 go version go1.15.5 linux/amd64 [Pipeline] } 09:58:47 $ docker stop --time=1 050b96d3e1b5c038a1cb86b2b6523d60b2a17876abb620ff2c68a3a6c08e33e9 09:58:49 $ docker rm -f 050b96d3e1b5c038a1cb86b2b6523d60b2a17876abb620ff2c68a3a6c08e33e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:58:50 + docker inspect -f . ci-base-image-x86_64 09:58:50 . [Pipeline] withDockerContainer 09:58:50 prd-centos7-docker-4c-2g-30296 does not seem to be running inside a container 09:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:58:52 $ docker top 7894f158fa38debdd3b4f52b6e18749de2191efc328895c0c34618b125b7d65f -eo pid,comm [Pipeline] { [Pipeline] sh 09:58:53 + make test 09:58:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:58:54 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:58:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:59:02 Removing intermediate container a49ab17a4dc5 09:59:02 ---> 4f96eb7253a5 09:59:02 Step 12/22 : FROM alpine:3.12 09:59:03 3.12: Pulling from library/alpine 09:59:03 dce8679b510e: Pulling fs layer 09:59:03 dce8679b510e: Verifying Checksum 09:59:03 dce8679b510e: Download complete 09:59:03 dce8679b510e: Pull complete 09:59:04 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 09:59:04 Status: Downloaded newer image for alpine:3.12 09:59:04 ---> d10569e2745f 09:59:04 Step 13/22 : ENV APP_PORT=49990 09:59:04 ---> Running in 5f9051eb3ca9 09:59:04 Removing intermediate container 5f9051eb3ca9 09:59:04 ---> a7f2e7b78fd9 09:59:04 Step 14/22 : EXPOSE $APP_PORT 09:59:05 ---> Running in 5483dfe5167b 09:59:05 Removing intermediate container 5483dfe5167b 09:59:05 ---> 376f4dfacee5 09:59:05 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:59:06 ---> ae3bb1a87bc1 09:59:06 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 09:59:07 ---> a27b1c84357a 09:59:07 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 09:59:08 ---> 3c9dff92552c 09:59:08 Step 18/22 : ENTRYPOINT ["/device-virtual"] 09:59:08 ---> Running in 67f26891ce40 09:59:08 Removing intermediate container 67f26891ce40 09:59:08 ---> 6277ad075704 09:59:08 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:59:09 ---> Running in 61666ce6c9a7 09:59:09 Removing intermediate container 61666ce6c9a7 09:59:09 ---> ab3cda76b95a 09:59:09 Step 20/22 : LABEL arch=arm64 09:59:09 ---> Running in 27fa8d99c09a 09:59:10 Removing intermediate container 27fa8d99c09a 09:59:10 ---> d96f3535f13a 09:59:10 Step 21/22 : LABEL git_sha=07590549636915eace127cb20714069285f91c76 09:59:10 ---> Running in f07df7051f3c 09:59:10 Removing intermediate container f07df7051f3c 09:59:10 ---> 599395930163 09:59:10 Step 22/22 : LABEL version=0.0.0 09:59:10 ---> Running in db0ea906e411 09:59:11 Removing intermediate container db0ea906e411 09:59:11 ---> 929371db92ad 09:59:11 [Warning] One or more build-args [ARCH] were not consumed 09:59:11 Successfully built 929371db92ad 09:59:11 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 09:59:12 ---> job-cost.sh 09:59:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KGaY 09:59:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:59:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.999s coverage: 63.8% of statements 09:59:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:59:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:59:53 gofmt -l . 09:59:53 [ "`gofmt -l .`" = "" ] 09:59:53 ./bin/test-attribution-txt.sh 09:59:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:59:57 $ docker stop --time=1 7894f158fa38debdd3b4f52b6e18749de2191efc328895c0c34618b125b7d65f 10:00:00 $ docker rm -f 7894f158fa38debdd3b4f52b6e18749de2191efc328895c0c34618b125b7d65f [Pipeline] // withDockerContainer [Pipeline] sh 10:00:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:00:01 Warning: overwriting stash ‘coverage-report’ 10:00:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:00:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:00:03 + ls -al . 10:00:03 total 128 10:00:03 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 18 09:59 . 10:00:03 drwxrwxr-x. 4 jenkins jenkins 28 Mar 18 09:56 .. 10:00:03 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 18 09:56 Attribution.txt 10:00:03 drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 09:56 bin 10:00:03 drwxrwxr-x. 3 jenkins jenkins 32 Mar 18 09:56 cmd 10:00:03 -rw-r--r--. 1 jenkins jenkins 47247 Mar 18 09:59 coverage.out 10:00:03 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 18 09:56 Dockerfile 10:00:03 -rw-rw-r--. 1 jenkins jenkins 961 Mar 18 09:56 Dockerfile.build 10:00:03 drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 09:57 .git 10:00:03 drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 09:56 .github 10:00:03 -rw-rw-r--. 1 jenkins jenkins 258 Mar 18 09:56 .gitignore 10:00:03 -rw-r--r--. 1 jenkins jenkins 809 Mar 18 09:59 go.mod 10:00:03 -rw-r--r--. 1 jenkins jenkins 20118 Mar 18 09:59 go.sum 10:00:03 drwxrwxr-x. 3 jenkins jenkins 20 Mar 18 09:56 internal 10:00:03 -rw-rw-r--. 1 jenkins jenkins 660 Mar 18 09:56 Jenkinsfile 10:00:03 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 18 09:56 LICENSE 10:00:03 -rw-rw-r--. 1 jenkins jenkins 873 Mar 18 09:56 Makefile 10:00:03 -rw-rw-r--. 1 jenkins jenkins 918 Mar 18 09:56 README.md 10:00:03 -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 09:53 VERSION 10:00:03 -rw-rw-r--. 1 jenkins jenkins 235 Mar 18 09:56 version.go [Pipeline] isUnix [Pipeline] sh 10:00:03 + 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=07590549636915eace127cb20714069285f91c76 --label arch=amd64 --label version=0.0.0 . 10:00:04 Sending build context to Docker daemon 590.3kB 10:00:04 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 10:00:04 Step 2/22 : FROM ${BASE} AS builder 10:00:04 ---> 0c2c08fc52af 10:00:04 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:00:04 ---> Running in c1a01ebe08a6 10:00:05 Removing intermediate container c1a01ebe08a6 10:00:05 ---> 783d4aa9b84a 10:00:05 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 10:00:05 ---> Running in 2a13e232d3a5 10:00:05 Removing intermediate container 2a13e232d3a5 10:00:05 ---> 18fa413c4d6d 10:00:05 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 10:00:06 ---> Running in 8081df3a8ad5 10:00:07 Removing intermediate container 8081df3a8ad5 10:00:07 ---> f81b55ed1bcd 10:00:07 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:00:07 ---> Running in 878fc8c9157b 10:00:09 Removing intermediate container 878fc8c9157b 10:00:09 ---> ad493dc4d0c6 10:00:09 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:00:09 ---> Running in e1f009f4dea1 10:00:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:00:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:00:11 OK: 237 MiB in 53 packages 10:00:12 Removing intermediate container e1f009f4dea1 10:00:12 ---> 751539446bc3 10:00:12 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 10:00:12 ---> Running in bef69c0a5056 10:00:12 Removing intermediate container bef69c0a5056 10:00:12 ---> 18e501dcce6c 10:00:12 Step 9/22 : COPY . . 10:00:13 ---> e5704735918f 10:00:13 Step 10/22 : ARG MAKE='make build' 10:00:14 ---> Running in d0cd6e0a558d 10:00:14 Removing intermediate container d0cd6e0a558d 10:00:14 ---> f32d2e52b574 10:00:14 Step 11/22 : RUN $MAKE 10:00:14 ---> Running in 68d7ff9a6f43 10:00:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 10:00:49 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:00:54 Removing intermediate container 68d7ff9a6f43 10:00:54 ---> 253fb7773a40 10:00:54 Step 12/22 : FROM alpine:3.12 10:00:54 3.12: Pulling from library/alpine 10:00:54 f84cab65f19f: Pulling fs layer 10:00:54 f84cab65f19f: Verifying Checksum 10:00:54 f84cab65f19f: Download complete 10:00:55 f84cab65f19f: Pull complete 10:00:55 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 10:00:55 Status: Downloaded newer image for alpine:3.12 10:00:55 ---> 88dd2752d2ea 10:00:55 Step 13/22 : ENV APP_PORT=49990 10:00:55 ---> Running in a0ff7527c1c6 10:00:55 Removing intermediate container a0ff7527c1c6 10:00:55 ---> 0a3fc914c618 10:00:55 Step 14/22 : EXPOSE $APP_PORT 10:00:55 ---> Running in ad47144b7f7f 10:00:56 Removing intermediate container ad47144b7f7f 10:00:56 ---> 11d2e30a0401 10:00:56 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 10:00:57 ---> c96dfd78ab40 10:00:57 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 10:00:57 ---> 509b784a814f 10:00:57 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 10:00:58 ---> 053f29f5193b 10:00:58 Step 18/22 : ENTRYPOINT ["/device-virtual"] 10:00:58 ---> Running in 09f55df2aef2 10:00:58 Removing intermediate container 09f55df2aef2 10:00:58 ---> fe1ddbb9d3f4 10:00:58 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:00:59 ---> Running in 6e32fb6af957 10:00:59 Removing intermediate container 6e32fb6af957 10:00:59 ---> e547a31c8304 10:00:59 Step 20/22 : LABEL arch=amd64 10:01:00 ---> Running in fc05b16f0375 10:01:00 Removing intermediate container fc05b16f0375 10:01:00 ---> 214b84afbc71 10:01:00 Step 21/22 : LABEL git_sha=07590549636915eace127cb20714069285f91c76 10:01:00 ---> Running in ff49ce9764e0 10:01:00 Removing intermediate container ff49ce9764e0 10:01:00 ---> e984c92643ed 10:01:00 Step 22/22 : LABEL version=0.0.0 10:01:00 ---> Running in 64436f980a6d 10:01:01 Removing intermediate container 64436f980a6d 10:01:01 ---> b167d485f146 10:01:01 [Warning] One or more build-args [ARCH] were not consumed 10:01:01 Successfully built b167d485f146 10:01:01 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:01:02 ---> job-cost.sh 10:01:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-L0or 10:01:28 lf-activate-venv(): INFO: Adding /tmp/venv-KGaY/bin to PATH 10:01:28 INFO: No Stack... 10:01:28 INFO: Retrieving Pricing Info for: lf-standard-4 10:01:28 INFO: Archiving Costs [Pipeline] sh 10:01:28 + cut -d, -f6 10:01:28 + cat /w/workspace/device-virtual-go/7/archives/cost.csv [Pipeline] lock 10:01:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] 10:01:28 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] did not exist. Created. 10:01:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:01:29 + echo total: 0.20999999344348907 [Pipeline] stash 10:01:29 Stashed 1 file(s) [Pipeline] } 10:01:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:01:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:02:14 lf-activate-venv(): INFO: Adding /tmp/venv-L0or/bin to PATH 10:02:14 INFO: No Stack... 10:02:15 INFO: Retrieving Pricing Info for: v1-standard-2 10:02:16 INFO: Archiving Costs [Pipeline] sh 10:02:16 + cut -d, -f6 10:02:16 + cat /w/workspace/device-virtual-go/7/archives/cost.csv [Pipeline] lock 10:02:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] 10:02:16 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] did not exist. Created. 10:02:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:17 /w/workspace/device-virtual-go/7@tmp/durable-ce466ff0/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 10:02:17 + echo total: 0.029999999329447746 [Pipeline] stash 10:02:17 Warning: overwriting stash ‘stack-cost’ 10:02:18 Stashed 1 file(s) [Pipeline] } 10:02:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-7-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 10:02:19 provisioning config files... 10:02:19 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config7407524674694880938tmp [Pipeline] { [Pipeline] sh 10:02:19 + set +x 10:02:19 + curl -s https://codecov.io/bash 10:02:19 + bash -s -- 10:02:20 10:02:20 _____ _ 10:02:20 / ____| | | 10:02:20 | | ___ __| | ___ ___ _____ __ 10:02:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:02:20 | |___| (_) | (_| | __/ (_| (_) \ V / 10:02:20 \_____\___/ \__,_|\___|\___\___/ \_/ 10:02:20 Bash-20210309-2b87ace 10:02:20 10:02:20 10:02:20 ==> git version 2.24.3 found 10:02:20 ==> 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 10:02:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:02:20 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:02:20 ==> Jenkins CI detected. 10:02:20 project root: . 10:02:20 --> token set from env 10:02:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:02:20 ==> Running gcov in . (disable via -X gcov) 10:02:20 ==> Python coveragepy not found 10:02:20 ==> Searching for coverage reports in: 10:02:20 + . 10:02:20 -> Found 1 reports 10:02:20 ==> Detecting git/mercurial file structure 10:02:20 ==> Reading reports 10:02:20 + ./coverage.out bytes=47247 10:02:20 ==> Appending adjustments 10:02:20 https://docs.codecov.io/docs/fixing-reports 10:02:20 + Found adjustments 10:02:20 ==> Gzipping contents 10:02:20 8.0K /tmp/codecov.AXQNtM.gz 10:02:20 ==> Uploading reports 10:02:20 url: https://codecov.io 10:02:20 query: branch=PR-169&commit=07590549636915eace127cb20714069285f91c76&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 10:02:20 -> Pinging Codecov 10:02:20 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-169&commit=07590549636915eace127cb20714069285f91c76&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 10:02:20 -> Uploading to 10:02:20 https://storage.googleapis.com/codecov/v4/raw/2021-03-18/5E52B4B073DB2E39498172D8E973AA87/07590549636915eace127cb20714069285f91c76/dc3e1522-3476-43d7-801d-0970eeacfc90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T100220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f8facb199d4748c322ba10d68508a3f8f8f6ede409524ce4b35f1cf91071146 10:02:20 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:20 Dload Upload Total Spent Left Speed 10:02:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5772 0 0 100 5772 0 14148 --:--:-- --:--:-- --:--:-- 14147 100 5772 0 0 100 5772 0 14142 --:--:-- --:--:-- --:--:-- 14147 10:02:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/07590549636915eace127cb20714069285f91c76 [Pipeline] } 10:02:21 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 10:02:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:25 ---> package-listing.sh 10:02:25 ++ facter osfamily 10:02:25 ++ tr '[:upper:]' '[:lower:]' 10:02:25 + OS_FAMILY=redhat 10:02:25 + workspace=/w/workspace/foundry_device-virtual-go_PR-169 10:02:25 + START_PACKAGES=/tmp/packages_start.txt 10:02:25 + END_PACKAGES=/tmp/packages_end.txt 10:02:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:25 + PACKAGES=/tmp/packages_start.txt 10:02:25 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 10:02:25 + PACKAGES=/tmp/packages_end.txt 10:02:25 + case "${OS_FAMILY}" in 10:02:25 + rpm -qa 10:02:25 + sort 10:02:30 + '[' -f /tmp/packages_start.txt ']' 10:02:30 + '[' -f /tmp/packages_end.txt ']' 10:02:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:30 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 10:02:30 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ 10:02:30 + 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 10:02:30 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 10:02:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:02:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:02:31 10:02:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:02:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:02:31 alpine: Pulling from edgex-lftools-log-publisher 10:02:31 df20fa9351a1: Pulling fs layer 10:02:31 36b3adc4ff6f: Pulling fs layer 10:02:31 8ad3a11d3b57: Pulling fs layer 10:02:31 46f8f816bc3b: Pulling fs layer 10:02:31 93b61091891f: Pulling fs layer 10:02:31 93b9cdb0e59b: Pulling fs layer 10:02:31 5e14af77c1be: Pulling fs layer 10:02:31 01666e4c0597: Pulling fs layer 10:02:31 aa168da1d23b: Pulling fs layer 10:02:31 93b9cdb0e59b: Waiting 10:02:31 46f8f816bc3b: Waiting 10:02:31 93b61091891f: Waiting 10:02:31 5e14af77c1be: Waiting 10:02:31 aa168da1d23b: Waiting 10:02:31 01666e4c0597: Waiting 10:02:31 36b3adc4ff6f: Verifying Checksum 10:02:31 36b3adc4ff6f: Download complete 10:02:31 46f8f816bc3b: Verifying Checksum 10:02:31 46f8f816bc3b: Download complete 10:02:31 df20fa9351a1: Verifying Checksum 10:02:31 df20fa9351a1: Download complete 10:02:32 93b9cdb0e59b: Verifying Checksum 10:02:32 93b9cdb0e59b: Download complete 10:02:32 5e14af77c1be: Verifying Checksum 10:02:32 5e14af77c1be: Download complete 10:02:32 93b61091891f: Verifying Checksum 10:02:32 93b61091891f: Download complete 10:02:32 01666e4c0597: Download complete 10:02:32 df20fa9351a1: Pull complete 10:02:32 36b3adc4ff6f: Pull complete 10:02:32 8ad3a11d3b57: Download complete 10:02:33 8ad3a11d3b57: Pull complete 10:02:33 46f8f816bc3b: Pull complete 10:02:34 aa168da1d23b: Verifying Checksum 10:02:34 aa168da1d23b: Download complete 10:02:35 93b61091891f: Pull complete 10:02:35 93b9cdb0e59b: Pull complete 10:02:35 5e14af77c1be: Pull complete 10:02:35 01666e4c0597: Pull complete 10:02:42 aa168da1d23b: Pull complete 10:02:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:02:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:02:42 prd-centos7-docker-4c-2g-30294 does not seem to be running inside a container 10:02:42 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:02:45 $ docker top 264265665d913c00d916d07e5270334725108f4d9e0b3d9acb5847ff11703cc4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:46 + touch /tmp/pre-build-complete [Pipeline] sh 10:02:46 + mkdir -p /var/log/sa [Pipeline] sh 10:02:46 + ls /var/log/sa-host 10:02:46 + sadf -c /var/log/sa-host/sa18 10:02:46 file_magic: OK 10:02:46 HZ: Using current value: 100 10:02:46 file_header: OK 10:02:46 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 10:02:46 Statistics: 10:02:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:02:46 File successfully converted to sysstat format version 12.2.1 10:02:46 + sadf -c /var/log/sa-host/sa23 10:02:46 file_magic: OK 10:02:46 HZ: Using current value: 100 10:02:46 file_header: OK 10:02:46 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 10:02:46 Statistics: 10:02:46 Hnuu...uuuununununu... 10:02:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:47 provisioning config files... 10:02:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config5481611620300042767tmp [Pipeline] { [Pipeline] echo 10:02:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:02:47 ---> create-netrc.sh [Pipeline] } 10:02:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:02:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:02:48 ---> python-tools-install.sh [Pipeline] echo 10:02:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:02:48 ---> sudo-logs.sh 10:02:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:02:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:02:48 ---> job-cost.sh 10:02:48 lf-activate-venv: SKIPPING 10:02:48 DEBUG: total: 0.029999999329447746 10:02:48 INFO: Retrieving Stack Cost... 10:02:50 INFO: Retrieving Pricing Info for: v1-standard-2 10:02:50 INFO: Archiving Costs [Pipeline] echo 10:02:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:02:50 ---> logs-deploy.sh 10:02:50 lf-activate-venv: SKIPPING 10:02:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/7 10:02:50 INFO: archiving workspace using pattern(s): 10:02:52 Archives upload complete. 10:02:52 INFO: archiving logs to Nexus 10:02:53 ---> uname -a: 10:02:53 Linux prd-centos7-docker-4c-2g-30294.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 10:02:53 10:02:53 10:02:53 ---> lscpu: 10:02:53 Architecture: x86_64 10:02:53 CPU op-mode(s): 32-bit, 64-bit 10:02:53 Byte Order: Little Endian 10:02:53 Address sizes: 40 bits physical, 48 bits virtual 10:02:53 CPU(s): 4 10:02:53 On-line CPU(s) list: 0-3 10:02:53 Thread(s) per core: 1 10:02:53 Core(s) per socket: 1 10:02:53 Socket(s): 4 10:02:53 NUMA node(s): 1 10:02:53 Vendor ID: GenuineIntel 10:02:53 CPU family: 6 10:02:53 Model: 44 10:02:53 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:02:53 Stepping: 1 10:02:53 CPU MHz: 2933.442 10:02:53 BogoMIPS: 5866.88 10:02:53 Virtualization: VT-x 10:02:53 Hypervisor vendor: KVM 10:02:53 Virtualization type: full 10:02:53 L1d cache: 128 KiB 10:02:53 L1i cache: 128 KiB 10:02:53 L2 cache: 16 MiB 10:02:53 L3 cache: 64 MiB 10:02:53 NUMA node0 CPU(s): 0-3 10:02:53 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:02:53 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:02:53 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:02:53 Vulnerability Meltdown: Mitigation; PTI 10:02:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:02:53 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:02:53 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:02:53 Vulnerability Srbds: Not affected 10:02:53 Vulnerability Tsx async abort: Not affected 10:02:53 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 10:02:53 10:02:53 10:02:53 ---> nproc: 10:02:53 4 10:02:53 10:02:53 10:02:53 ---> df -h: 10:02:53 Filesystem Size Used Available Use% Mounted on 10:02:53 overlay 50.0G 7.3G 42.7G 15% / 10:02:53 tmpfs 64.0M 0 64.0M 0% /dev 10:02:53 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:02:53 shm 64.0M 0 64.0M 0% /dev/shm 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-169 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-169@tmp 10:02:53 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 10:02:53 10:02:53 10:02:53 ---> free -m: 10:02:53 total used free shared buff/cache available 10:02:53 Mem: 1837 716 104 0 1016 1015 10:02:53 Swap: 1023 1 1022 10:02:53 10:02:53 10:02:53 ---> ip addr: 10:02:53 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:02:53 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:02:53 inet 127.0.0.1/8 scope host lo 10:02:53 valid_lft forever preferred_lft forever 10:02:53 inet6 ::1/128 scope host 10:02:53 valid_lft forever preferred_lft forever 10:02:53 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:02:53 link/ether fa:16:3e:d3:9b:b4 brd ff:ff:ff:ff:ff:ff 10:02:53 inet 10.30.122.77/23 brd 10.30.123.255 scope global dynamic eth0 10:02:53 valid_lft 85768sec preferred_lft 85768sec 10:02:53 inet6 fe80::f816:3eff:fed3:9bb4/64 scope link 10:02:53 valid_lft forever preferred_lft forever 10:02:53 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:02:53 link/ether 02:42:31:df:ff:61 brd ff:ff:ff:ff:ff:ff 10:02:53 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:02:53 valid_lft forever preferred_lft forever 10:02:53 inet6 fe80::42:31ff:fedf:ff61/64 scope link 10:02:53 valid_lft forever preferred_lft forever 10:02:53 10:02:53 10:02:53 ---> sar -b -r -n DEV: 10:02:53 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/18/21 _x86_64_ (4 CPU) 10:02:53 10:02:53 09:52:10 LINUX RESTART (4 CPU) 10:02:53 10:02:53 09:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:02:53 09:54:01 30.31 12.22 18.10 0.00 4489.06 2963.49 0.00 10:02:53 09:55:01 0.60 0.02 0.58 0.00 0.53 10.99 0.00 10:02:53 09:56:01 0.25 0.00 0.25 0.00 0.00 3.11 0.00 10:02:53 09:57:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 10:02:53 09:58:01 0.22 0.00 0.22 0.00 0.00 2.61 0.00 10:02:53 09:59:01 0.35 0.00 0.35 0.00 0.00 4.90 0.00 10:02:53 10:00:01 0.27 0.00 0.27 0.00 0.00 3.60 0.00 10:02:53 10:01:01 0.23 0.02 0.22 0.00 0.13 2.56 0.00 10:02:53 10:02:01 0.40 0.08 0.32 0.00 1.60 5.16 0.00 10:02:53 Average: 3.66 1.37 2.29 0.00 499.20 333.42 0.00 10:02:53 10:02:53 09:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:02:53 09:54:01 148312 0 619520 32.93 2620 1111092 1103988 37.68 431032 1103964 20 10:02:53 09:55:01 152184 0 615640 32.72 2620 1111100 1078752 36.82 433216 1098944 20 10:02:53 09:56:01 151424 0 616396 32.76 2620 1111104 1078860 36.82 440328 1092452 8 10:02:53 09:57:01 149824 0 617996 32.85 2620 1111104 1078860 36.82 445640 1088704 8 10:02:53 09:58:01 150712 0 617044 32.79 2620 1111168 1078752 36.82 443568 1090216 16 10:02:53 09:59:01 151172 0 616636 32.77 2620 1111116 1078668 36.81 443112 1090200 12 10:02:53 10:00:01 150476 0 617328 32.81 2620 1111120 1078812 36.82 443776 1090196 8 10:02:53 10:01:01 150092 0 617708 32.83 2620 1111124 1081436 36.91 443848 1090196 8 10:02:53 10:02:01 150784 0 616888 32.79 2620 1111252 1079176 36.83 443184 1090260 8 10:02:53 Average: 150553 0 617240 32.80 2620 1111131 1081923 36.92 440856 1092792 12 10:02:53 10:02:53 09:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:02:53 09:54:01 eth0 79.99 64.81 344.11 33.74 0.00 0.00 0.00 0.00 10:02:53 09:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:54:01 docker0 2.00 1.68 0.36 3.67 0.00 0.00 0.00 0.00 10:02:53 09:55:01 eth0 4.15 1.67 3.06 0.11 0.00 0.00 0.00 0.00 10:02:53 09:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:56:01 eth0 1.35 0.45 0.34 0.21 0.00 0.00 0.00 0.00 10:02:53 09:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:57:01 eth0 0.47 0.37 0.27 0.20 0.00 0.00 0.00 0.00 10:02:53 09:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:58:01 eth0 0.33 0.30 0.17 0.08 0.00 0.00 0.00 0.00 10:02:53 09:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:59:01 eth0 0.87 0.07 0.07 0.01 0.00 0.00 0.00 0.00 10:02:53 09:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 09:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 10:00:01 eth0 0.53 0.48 0.27 0.21 0.00 0.00 0.00 0.00 10:02:53 10:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 10:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 10:01:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:02:53 10:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 10:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 10:02:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:02:53 10:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 10:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 Average: eth0 9.77 7.59 38.71 3.84 0.00 0.00 0.00 0.00 10:02:53 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:02:53 Average: docker0 0.22 0.19 0.04 0.41 0.00 0.00 0.00 0.00 10:02:53 10:02:53 10:02:53 ---> sar -P ALL: 10:02:53 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/18/21 _x86_64_ (4 CPU) 10:02:53 10:02:53 09:52:10 LINUX RESTART (4 CPU) 10:02:53 10:02:53 09:53:01 CPU %user %nice %system %iowait %steal %idle 10:02:53 09:54:01 all 2.87 0.00 2.01 0.60 0.02 94.51 10:02:53 09:54:01 0 3.19 0.00 2.47 0.32 0.02 94.01 10:02:53 09:54:01 1 3.13 0.00 2.24 1.62 0.02 92.99 10:02:53 09:54:01 2 2.46 0.00 1.36 0.12 0.02 96.05 10:02:53 09:54:01 3 2.70 0.00 1.96 0.33 0.02 94.99 10:02:53 09:55:01 all 0.18 0.00 0.06 0.00 0.00 99.76 10:02:53 09:55:01 0 0.45 0.00 0.10 0.00 0.00 99.45 10:02:53 09:55:01 1 0.18 0.00 0.05 0.00 0.00 99.77 10:02:53 09:55:01 2 0.07 0.00 0.07 0.00 0.00 99.87 10:02:53 09:55:01 3 0.02 0.00 0.02 0.00 0.00 99.97 10:02:53 09:56:01 all 0.16 0.00 0.11 0.00 0.00 99.73 10:02:53 09:56:01 0 0.53 0.00 0.05 0.00 0.00 99.42 10:02:53 09:56:01 1 0.02 0.00 0.02 0.00 0.00 99.97 10:02:53 09:56:01 2 0.05 0.00 0.12 0.00 0.02 99.82 10:02:53 09:56:01 3 0.03 0.00 0.27 0.00 0.00 99.70 10:02:53 09:57:01 all 0.17 0.00 0.05 0.00 0.00 99.78 10:02:53 09:57:01 0 0.05 0.00 0.02 0.00 0.00 99.93 10:02:53 09:57:01 1 0.05 0.00 0.02 0.00 0.00 99.93 10:02:53 09:57:01 2 0.10 0.00 0.12 0.00 0.00 99.78 10:02:53 09:57:01 3 0.48 0.00 0.03 0.00 0.00 99.48 10:02:53 09:58:01 all 0.16 0.00 0.25 0.00 0.02 99.58 10:02:53 09:58:01 0 0.08 0.00 0.28 0.00 0.03 99.60 10:02:53 09:58:01 1 0.12 0.00 0.42 0.00 0.02 99.45 10:02:53 09:58:01 2 0.12 0.00 0.18 0.00 0.00 99.70 10:02:53 09:58:01 3 0.32 0.00 0.12 0.00 0.02 99.55 10:02:53 09:59:01 all 0.16 0.00 0.03 0.00 0.01 99.80 10:02:53 09:59:01 0 0.02 0.00 0.02 0.00 0.00 99.97 10:02:53 09:59:01 1 0.07 0.00 0.05 0.00 0.02 99.87 10:02:53 09:59:01 2 0.05 0.00 0.03 0.00 0.00 99.92 10:02:53 09:59:01 3 0.52 0.00 0.02 0.00 0.02 99.45 10:02:53 10:00:01 all 0.17 0.00 0.03 0.00 0.00 99.80 10:02:53 10:00:01 0 0.03 0.00 0.02 0.00 0.00 99.95 10:02:53 10:00:01 1 0.07 0.00 0.03 0.00 0.00 99.90 10:02:53 10:00:01 2 0.05 0.00 0.05 0.00 0.00 99.90 10:02:53 10:00:01 3 0.52 0.00 0.02 0.00 0.00 99.47 10:02:53 10:01:01 all 0.15 0.00 0.04 0.00 0.00 99.81 10:02:53 10:01:01 0 0.02 0.00 0.03 0.00 0.00 99.95 10:02:53 10:01:01 1 0.05 0.00 0.07 0.00 0.00 99.88 10:02:53 10:01:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:02:53 10:01:01 3 0.52 0.00 0.03 0.00 0.00 99.45 10:02:53 10:02:01 all 0.16 0.00 0.04 0.00 0.00 99.80 10:02:53 10:02:01 0 0.05 0.00 0.03 0.00 0.00 99.92 10:02:53 10:02:01 1 0.07 0.00 0.07 0.02 0.00 99.85 10:02:53 10:02:01 2 0.02 0.00 0.03 0.00 0.00 99.95 10:02:53 10:02:01 3 0.52 0.00 0.02 0.00 0.00 99.47 10:02:53 Average: all 0.46 0.00 0.29 0.07 0.01 99.18 10:02:53 Average: 0 0.49 0.00 0.33 0.04 0.01 99.14 10:02:53 Average: 1 0.41 0.00 0.33 0.18 0.01 99.07 10:02:53 Average: 2 0.32 0.00 0.22 0.01 0.00 99.44 10:02:53 Average: 3 0.62 0.00 0.27 0.04 0.01 99.06 10:02:53 10:02:53 10:02:53