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 66ae5159616c5dcef1f127c8594c634aa87d32be 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30258 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 66ae5159616c5dcef1f127c8594c634aa87d32be Merge succeeded, producing 66ae5159616c5dcef1f127c8594c634aa87d32be Checking out Revision 66ae5159616c5dcef1f127c8594c634aa87d32be (PR-169) > git config core.sparsecheckout # timeout=10 > git checkout -f 66ae5159616c5dcef1f127c8594c634aa87d32be # 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 66ae5159616c5dcef1f127c8594c634aa87d32be # 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 06:01:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:01:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:01:27 ========================================================= 06:01:27 EdgeX Global Pipelines Version Info 06:01:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 285d57071e3897ad0bd7174dd77f21f1967e75df # timeout=10 06:01:29 ------------------- 06:01:29 stable info: 06:01:29 ------------------- 06:01:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:01:29 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:01:29 Message: update stable to v1.0.186 06:01:30 ------------------- 06:01:30 experimental info: 06:01:30 ------------------- 06:01:30 Commited By: **** collab-it+edgex@linuxfoundation.org 06:01:30 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:01:30 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66ae5159616c5dcef1f127c8594c634aa87d32be [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66ae515 [Pipeline] echo 06:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:33 provisioning config files... 06:01:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config5952422138979933171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:34 ---> docker-login.sh 06:01:34 nexus3.edgexfoundry.org:10001 06:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:34 Configure a credential helper to remove this warning. See 06:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:34 06:01:34 Login Succeeded 06:01:34 nexus3.edgexfoundry.org:10002 06:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:34 Configure a credential helper to remove this warning. See 06:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:34 06:01:34 Login Succeeded 06:01:34 nexus3.edgexfoundry.org:10003 06:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:35 Configure a credential helper to remove this warning. See 06:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:35 06:01:35 Login Succeeded 06:01:35 nexus3.edgexfoundry.org:10004 06:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:35 Configure a credential helper to remove this warning. See 06:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:35 06:01:35 Login Succeeded 06:01:35 docker.io 06:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:35 Configure a credential helper to remove this warning. See 06:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:35 06:01:35 Login Succeeded 06:01:35 ---> docker-login.sh ends [Pipeline] } 06:01:35 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:01:36 + git log --format=format:%s -1 66ae5159616c5dcef1f127c8594c634aa87d32be [Pipeline] echo 06:01:36 GIT_COMMIT: 66ae5159616c5dcef1f127c8594c634aa87d32be, Commit Message: feat: update driver implementation to reflect v2 profiles [Pipeline] echo 06:01:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:01:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:01:37 06:01:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:01:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:01:37 latest: Pulling from edgex-devops/git-semver 06:01:37 31603596830f: Pulling fs layer 06:01:37 2a8b12db71e7: Pulling fs layer 06:01:37 6ca5941a6612: Pulling fs layer 06:01:37 ecc8261a40a4: Pulling fs layer 06:01:37 ecc8261a40a4: Waiting 06:01:37 2a8b12db71e7: Download complete 06:01:37 31603596830f: Verifying Checksum 06:01:37 31603596830f: Download complete 06:01:37 6ca5941a6612: Verifying Checksum 06:01:37 6ca5941a6612: Download complete 06:01:37 ecc8261a40a4: Verifying Checksum 06:01:37 ecc8261a40a4: Download complete 06:01:38 31603596830f: Pull complete 06:01:38 2a8b12db71e7: Pull complete 06:01:39 6ca5941a6612: Pull complete 06:01:39 ecc8261a40a4: Pull complete 06:01:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:01:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:01:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:01:39 prd-centos7-docker-4c-2g-30258 does not seem to be running inside a container 06:01:39 $ 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 06:01:41 $ docker top 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:41 [ssh-agent] Looking for ssh-agent implementation... 06:01:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:41 $ docker exec 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac ssh-agent 06:01:41 SSH_AUTH_SOCK=/tmp/ssh-RkYSDBDhFtNl/agent.11 06:01:41 SSH_AGENT_PID=16 06:01:41 Running ssh-add (command line suppressed) 06:01:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_5462194745730209668.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_5462194745730209668.key) 06:01:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:42 + git tag --points-at HEAD [Pipeline] } 06:01:42 $ docker exec --env ******** --env ******** 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac ssh-agent -k 06:01:42 unset SSH_AUTH_SOCK; 06:01:42 unset SSH_AGENT_PID; 06:01:42 echo Agent pid 16 killed; 06:01:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:01:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:42 [ssh-agent] Looking for ssh-agent implementation... 06:01:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:42 $ docker exec 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac ssh-agent 06:01:43 SSH_AUTH_SOCK=/tmp/ssh-7CJSvHkAIARE/agent.45 06:01:43 SSH_AGENT_PID=50 06:01:43 Running ssh-add (command line suppressed) 06:01:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_8713452472227736530.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_8713452472227736530.key) 06:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:43 + git semver init 06:01:43 # -> Open(): unable to determine branch for HEAD 06:01:43 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git 06:01:43 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 06:01:43 # $SEMVER_REMOTE_NAME = origin 06:01:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:01:43 # $SEMVER_USER_NAME = edgex-jenkins 06:01:43 # $SEMVER_BRANCH = PR-169 06:01:43 # $SEMVER_TEMP = /tmp/semver-578665567 06:01:43 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:01:43 # '/tmp/semver-578665567' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' 06:01:43 # -> Force: false 06:01:43 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } 06:01:43 $ docker exec --env ******** --env ******** 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac ssh-agent -k 06:01:43 unset SSH_AUTH_SOCK; 06:01:43 unset SSH_AGENT_PID; 06:01:43 echo Agent pid 50 killed; 06:01:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:44 + git semver [Pipeline] } 06:01:44 $ docker stop --time=1 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac 06:01:45 $ docker rm -f 171f00986d3186eb32900eb8d65c3a9e50a6e72c740231b3b030dce3696ac8ac [Pipeline] // withDockerContainer [Pipeline] sh 06:01:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:01:46 Stashed 1 file(s) [Pipeline] echo 06:01:46 [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:02:02 Still waiting to schedule task 06:02:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:02:02 Still waiting to schedule task 06:02:02 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:03:36 Running on prd-centos7-docker-4c-2g-30259 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 06:03:36 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 06:03:38 using credential edgex-jenkins-ssh 06:03:38 Cloning the remote Git repository 06:03:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:03:39 > git init /w/workspace/device-virtual-go/5 # timeout=10 06:03:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:03:39 > git --version # timeout=10 06:03:39 > git --version # 'git version 2.24.3' 06:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:03:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:03:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:39 > 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 06:03:40 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 66ae5159616c5dcef1f127c8594c634aa87d32be 06:03:40 Merge succeeded, producing 66ae5159616c5dcef1f127c8594c634aa87d32be 06:03:40 Checking out Revision 66ae5159616c5dcef1f127c8594c634aa87d32be (PR-169) 06:03:40 > git config core.sparsecheckout # timeout=10 06:03:40 > git checkout -f 66ae5159616c5dcef1f127c8594c634aa87d32be # timeout=10 06:03:40 > git remote # timeout=10 06:03:40 > git config --get remote.origin.url # timeout=10 06:03:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:40 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 06:03:40 > git rev-parse HEAD^{commit} # timeout=10 06:03:40 > git config core.sparsecheckout # timeout=10 06:03:40 > git checkout -f 66ae5159616c5dcef1f127c8594c634aa87d32be # timeout=10 06:03:43 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 06:03:45 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:03:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:03:45 + sudo service docker restart 06:03:45 + true 06:03:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:03:47 provisioning config files... 06:03:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config2342256606004505078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:47 ---> docker-login.sh 06:03:47 nexus3.edgexfoundry.org:10001 06:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:47 Configure a credential helper to remove this warning. See 06:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:47 06:03:47 Login Succeeded 06:03:47 nexus3.edgexfoundry.org:10002 06:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:48 Configure a credential helper to remove this warning. See 06:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:48 06:03:48 Login Succeeded 06:03:48 nexus3.edgexfoundry.org:10003 06:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:48 Configure a credential helper to remove this warning. See 06:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:48 06:03:48 Login Succeeded 06:03:48 nexus3.edgexfoundry.org:10004 06:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:48 Configure a credential helper to remove this warning. See 06:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:48 06:03:48 Login Succeeded 06:03:48 docker.io 06:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:48 Configure a credential helper to remove this warning. See 06:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:48 06:03:48 Login Succeeded 06:03:48 ---> docker-login.sh ends [Pipeline] } 06:03:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:49 ========================================================= 06:03:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:03:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:03:49 + 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:03:49 Sending build context to Docker daemon 521.2kB 06:03:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:03:49 Step 2/8 : FROM ${BASE} 06:03:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:03:49 188c0c94c7c5: Pulling fs layer 06:03:49 0ef7d3d256c8: Pulling fs layer 06:03:49 de9db76c5a1d: Pulling fs layer 06:03:49 bca2f99d35d6: Pulling fs layer 06:03:49 93359f2a8cfa: Pulling fs layer 06:03:49 7c6f9722023f: Pulling fs layer 06:03:49 a35cf1a2eb13: Pulling fs layer 06:03:49 93359f2a8cfa: Waiting 06:03:49 7c6f9722023f: Waiting 06:03:49 a35cf1a2eb13: Waiting 06:03:49 bca2f99d35d6: Waiting 06:03:49 de9db76c5a1d: Verifying Checksum 06:03:49 de9db76c5a1d: Download complete 06:03:49 0ef7d3d256c8: Verifying Checksum 06:03:49 0ef7d3d256c8: Download complete 06:03:49 93359f2a8cfa: Verifying Checksum 06:03:49 93359f2a8cfa: Download complete 06:03:49 188c0c94c7c5: Verifying Checksum 06:03:49 188c0c94c7c5: Download complete 06:03:49 7c6f9722023f: Verifying Checksum 06:03:49 7c6f9722023f: Download complete 06:03:50 188c0c94c7c5: Pull complete 06:03:50 0ef7d3d256c8: Pull complete 06:03:50 de9db76c5a1d: Pull complete 06:03:52 a35cf1a2eb13: Download complete 06:03:52 bca2f99d35d6: Verifying Checksum 06:03:52 bca2f99d35d6: Download complete 06:03:58 bca2f99d35d6: Pull complete 06:03:58 93359f2a8cfa: Pull complete 06:03:58 7c6f9722023f: Pull complete 06:04:06 a35cf1a2eb13: Pull complete 06:04:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:04:06 ---> a62c8e92a672 06:04:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:04:06 ---> Running in f9c99d472118 06:04:06 Removing intermediate container f9c99d472118 06:04:06 ---> e087d4353c37 06:04:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:06 ---> Running in 127c6197d59f 06:04:07 Removing intermediate container 127c6197d59f 06:04:07 ---> 718f5420e39f 06:04:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:04:07 ---> Running in 49515440bb64 06:04:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:04:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:04:10 (1/14) Installing libmagic (5.38-r0) 06:04:10 (2/14) Installing file (5.38-r0) 06:04:10 (3/14) Installing libc-dev (0.7.2-r3) 06:04:10 (4/14) Installing g++ (9.3.0-r2) 06:04:15 (5/14) Installing fortify-headers (1.1-r0) 06:04:15 (6/14) Installing patch (2.7.6-r6) 06:04:15 (7/14) Installing build-base (0.5-r2) 06:04:15 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:04:15 (9/14) Installing libedit (20191231.3.1-r0) 06:04:16 (10/14) Installing openssh-client (8.3_p1-r1) 06:04:16 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:04:16 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:04:16 (13/14) Installing openssh-server (8.3_p1-r1) 06:04:17 (14/14) Installing openssh (8.3_p1-r1) 06:04:17 Executing busybox-1.31.1-r19.trigger 06:04:17 OK: 237 MiB in 53 packages 06:04:20 Removing intermediate container 49515440bb64 06:04:20 ---> ff31a9b318e2 06:04:20 Step 6/8 : WORKDIR /device-virtual-go 06:04:20 ---> Running in 6fdded3e7d5b 06:04:20 Removing intermediate container 6fdded3e7d5b 06:04:20 ---> 0ec9b751f1bc 06:04:20 Step 7/8 : COPY . . 06:04:21 ---> c0e3a5effa59 06:04:21 Step 8/8 : RUN go mod download 06:04:21 ---> Running in b91d99466507 06:04:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30260 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 06:04:35 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 06:04:41 using credential edgex-jenkins-ssh 06:04:41 Cloning the remote Git repository 06:04:41 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:04:41 > git init /w/workspace/device-virtual-go/5 # timeout=10 06:04:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:04:41 > git --version # timeout=10 06:04:41 > git --version # 'git version 2.17.1' 06:04:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:42 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 66ae5159616c5dcef1f127c8594c634aa87d32be 06:04:43 Merge succeeded, producing 66ae5159616c5dcef1f127c8594c634aa87d32be 06:04:43 Checking out Revision 66ae5159616c5dcef1f127c8594c634aa87d32be (PR-169) 06:04:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:04:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:04:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:04:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:42 > 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 06:04:42 > git config core.sparsecheckout # timeout=10 06:04:42 > git checkout -f 66ae5159616c5dcef1f127c8594c634aa87d32be # timeout=10 06:04:42 > git remote # timeout=10 06:04:42 > git config --get remote.origin.url # timeout=10 06:04:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:43 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 06:04:43 > git rev-parse HEAD^{commit} # timeout=10 06:04:43 > git config core.sparsecheckout # timeout=10 06:04:43 > git checkout -f 66ae5159616c5dcef1f127c8594c634aa87d32be # timeout=10 06:04:43 Removing intermediate container b91d99466507 06:04:43 ---> dc468ddaa437 06:04:43 Successfully built dc468ddaa437 06:04:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:04:44 + docker inspect -f . ci-base-image-x86_64 06:04:44 . [Pipeline] withDockerContainer 06:04:44 prd-centos7-docker-4c-2g-30259 does not seem to be running inside a container 06:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 06:04:45 $ docker top c9f3a4010e30b46e900eb2cc4616576507fb88dd5e50fab72141ef6d2a09920a -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:46 + go version 06:04:46 go version go1.15.5 linux/amd64 [Pipeline] } 06:04:46 $ docker stop --time=1 c9f3a4010e30b46e900eb2cc4616576507fb88dd5e50fab72141ef6d2a09920a 06:04:47 $ docker rm -f c9f3a4010e30b46e900eb2cc4616576507fb88dd5e50fab72141ef6d2a09920a 06:04:47 Commit message: "feat: update driver implementation to reflect v2 profiles" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:48 + docker inspect -f . ci-base-image-x86_64 06:04:48 . [Pipeline] withDockerContainer 06:04:48 prd-centos7-docker-4c-2g-30259 does not seem to be running inside a container 06:04:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 06:04:49 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:04:49 $ docker top bbaf77e5cc8d8fe81cec6f3ad41c60224e809d8b21889cc411c60d8de22ede03 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:04:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:04:50 + make test 06:04:50 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:04:50 + true 06:04:50 + sudo service docker restart 06:04:52 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:04:52 provisioning config files... 06:04:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config815669790849469030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:53 ---> docker-login.sh 06:04:53 nexus3.edgexfoundry.org:10001 06:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:54 Configure a credential helper to remove this warning. See 06:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:54 06:04:54 Login Succeeded 06:04:54 nexus3.edgexfoundry.org:10002 06:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:54 Configure a credential helper to remove this warning. See 06:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:54 06:04:54 Login Succeeded 06:04:54 nexus3.edgexfoundry.org:10003 06:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:55 Configure a credential helper to remove this warning. See 06:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:55 06:04:55 Login Succeeded 06:04:55 nexus3.edgexfoundry.org:10004 06:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:55 Configure a credential helper to remove this warning. See 06:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:55 06:04:55 Login Succeeded 06:04:55 docker.io 06:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:56 Configure a credential helper to remove this warning. See 06:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:56 06:04:56 Login Succeeded 06:04:56 ---> docker-login.sh ends [Pipeline] } 06:04:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:57 ========================================================= 06:04:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:04:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:04:57 + 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:04:57 Sending build context to Docker daemon 520.2kB 06:04:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:04:57 Step 2/8 : FROM ${BASE} 06:04:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:58 5f621e34cdf4: Pulling fs layer 06:04:58 a4357932f1b6: Pulling fs layer 06:04:58 18c013af1878: Pulling fs layer 06:04:58 00ac8860ef70: Pulling fs layer 06:04:58 63d7cb157983: Pulling fs layer 06:04:58 b116817d02f9: Pulling fs layer 06:04:58 745a02a5169b: Pulling fs layer 06:04:58 00ac8860ef70: Waiting 06:04:58 63d7cb157983: Waiting 06:04:58 b116817d02f9: Waiting 06:04:58 745a02a5169b: Waiting 06:04:58 18c013af1878: Download complete 06:04:58 a4357932f1b6: Verifying Checksum 06:04:58 a4357932f1b6: Download complete 06:04:58 63d7cb157983: Verifying Checksum 06:04:58 63d7cb157983: Download complete 06:04:58 b116817d02f9: Download complete 06:04:58 5f621e34cdf4: Verifying Checksum 06:04:58 5f621e34cdf4: Download complete 06:04:58 5f621e34cdf4: Pull complete 06:04:59 a4357932f1b6: Pull complete 06:04:59 18c013af1878: Pull complete 06:05:00 745a02a5169b: Verifying Checksum 06:05:00 745a02a5169b: Download complete 06:05:02 00ac8860ef70: Verifying Checksum 06:05:02 00ac8860ef70: Download complete 06:05:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:05:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.317s coverage: 63.8% of statements 06:05:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:05:13 gofmt -l . 06:05:13 [ "`gofmt -l .`" = "" ] 06:05:13 ./bin/test-attribution-txt.sh 06:05:13 00ac8860ef70: Pull complete 06:05:13 63d7cb157983: Pull complete 06:05:13 b116817d02f9: Pull complete 06:05:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:05:14 $ docker stop --time=1 bbaf77e5cc8d8fe81cec6f3ad41c60224e809d8b21889cc411c60d8de22ede03 06:05:16 $ docker rm -f bbaf77e5cc8d8fe81cec6f3ad41c60224e809d8b21889cc411c60d8de22ede03 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:16 745a02a5169b: Pull complete 06:05:16 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:05:16 ---> b7e6874047d6 06:05:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:19 ---> Running in bfa5473bb489 06:05:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:19 + ls -al . 06:05:19 total 128 06:05:19 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 18 06:05 . 06:05:19 drwxrwxr-x. 4 jenkins jenkins 28 Mar 18 06:03 .. 06:05:19 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 18 06:03 Attribution.txt 06:05:19 drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 06:03 bin 06:05:19 drwxrwxr-x. 3 jenkins jenkins 32 Mar 18 06:03 cmd 06:05:19 -rw-r--r--. 1 jenkins jenkins 47247 Mar 18 06:05 coverage.out 06:05:19 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 18 06:03 Dockerfile 06:05:19 -rw-rw-r--. 1 jenkins jenkins 961 Mar 18 06:03 Dockerfile.build 06:05:19 drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 06:03 .git 06:05:19 drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 06:03 .github 06:05:19 -rw-rw-r--. 1 jenkins jenkins 258 Mar 18 06:03 .gitignore 06:05:19 -rw-r--r--. 1 jenkins jenkins 809 Mar 18 06:05 go.mod 06:05:19 -rw-r--r--. 1 jenkins jenkins 20118 Mar 18 06:05 go.sum 06:05:19 drwxrwxr-x. 3 jenkins jenkins 20 Mar 18 06:03 internal 06:05:19 -rw-rw-r--. 1 jenkins jenkins 660 Mar 18 06:03 Jenkinsfile 06:05:19 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 18 06:03 LICENSE 06:05:19 -rw-rw-r--. 1 jenkins jenkins 873 Mar 18 06:03 Makefile 06:05:19 -rw-rw-r--. 1 jenkins jenkins 918 Mar 18 06:03 README.md 06:05:19 -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 06:01 VERSION 06:05:19 -rw-rw-r--. 1 jenkins jenkins 235 Mar 18 06:03 version.go [Pipeline] isUnix [Pipeline] sh 06:05:19 Removing intermediate container bfa5473bb489 06:05:19 ---> ad46cacbef22 06:05:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:19 ---> Running in 668b6c4c58b7 06:05:20 + 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=66ae5159616c5dcef1f127c8594c634aa87d32be --label arch=amd64 --label version=0.0.0 . 06:05:20 Sending build context to Docker daemon 590.3kB 06:05:20 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:05:20 Step 2/22 : FROM ${BASE} AS builder 06:05:20 ---> dc468ddaa437 06:05:20 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:05:20 ---> Running in 8b3d53913ea6 06:05:20 Removing intermediate container 8b3d53913ea6 06:05:20 ---> ddfabaaf8ac2 06:05:20 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:05:20 ---> Running in f6ae24cc7838 06:05:20 Removing intermediate container f6ae24cc7838 06:05:20 ---> 7a4e9f51a54c 06:05:20 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:05:21 ---> Running in 5752c3c089c6 06:05:21 Removing intermediate container 5752c3c089c6 06:05:21 ---> cb6eb4863aee 06:05:21 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:21 ---> Running in fa46bd4d733f 06:05:22 Removing intermediate container fa46bd4d733f 06:05:22 ---> 256a3f142e5f 06:05:22 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:22 ---> Running in fcbfe45b23c8 06:05:22 Removing intermediate container 668b6c4c58b7 06:05:22 ---> 107a873c630d 06:05:22 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:05:22 ---> Running in 68f142fa0dcd 06:05:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:05:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:05:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:05:24 OK: 237 MiB in 53 packages 06:05:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:05:24 Removing intermediate container fcbfe45b23c8 06:05:24 ---> 7e9d6f74a4fe 06:05:24 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:05:24 ---> Running in 133e41f579fd 06:05:24 (1/14) Installing libmagic (5.38-r0) 06:05:24 Removing intermediate container 133e41f579fd 06:05:24 ---> bc396e43a231 06:05:24 Step 9/22 : COPY . . 06:05:24 (2/14) Installing file (5.38-r0) 06:05:25 (3/14) Installing libc-dev (0.7.2-r3) 06:05:25 (4/14) Installing g++ (9.3.0-r2) 06:05:25 ---> 251de9e8f456 06:05:25 Step 10/22 : ARG MAKE='make build' 06:05:25 ---> Running in 0b8b5a1f66f4 06:05:25 Removing intermediate container 0b8b5a1f66f4 06:05:25 ---> 9145a2bf3007 06:05:25 Step 11/22 : RUN $MAKE 06:05:26 ---> Running in f52bad7e7ea0 06:05:26 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:05:38 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:05:40 (5/14) Installing fortify-headers (1.1-r0) 06:05:40 (6/14) Installing patch (2.7.6-r6) 06:05:40 (7/14) Installing build-base (0.5-r2) 06:05:40 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:05:40 (9/14) Installing libedit (20191231.3.1-r0) 06:05:40 (10/14) Installing openssh-client (8.3_p1-r1) 06:05:40 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:05:40 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:05:40 (13/14) Installing openssh-server (8.3_p1-r1) 06:05:40 (14/14) Installing openssh (8.3_p1-r1) 06:05:40 Executing busybox-1.31.1-r19.trigger 06:05:40 OK: 221 MiB in 53 packages 06:05:43 Removing intermediate container f52bad7e7ea0 06:05:43 ---> e583b1157f6f 06:05:43 Step 12/22 : FROM alpine:3.12 06:05:43 3.12: Pulling from library/alpine 06:05:43 f84cab65f19f: Pulling fs layer 06:05:43 f84cab65f19f: Download complete 06:05:43 f84cab65f19f: Pull complete 06:05:43 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 06:05:43 Status: Downloaded newer image for alpine:3.12 06:05:43 ---> 88dd2752d2ea 06:05:43 Step 13/22 : ENV APP_PORT=49990 06:05:43 ---> Running in e8cd70415395 06:05:43 Removing intermediate container e8cd70415395 06:05:43 ---> 9b873d9556be 06:05:43 Step 14/22 : EXPOSE $APP_PORT 06:05:43 ---> Running in ff01b9c074c0 06:05:44 Removing intermediate container ff01b9c074c0 06:05:44 ---> a295f60364f7 06:05:44 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:05:44 ---> 72596e4fde29 06:05:44 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:05:44 Removing intermediate container 68f142fa0dcd 06:05:44 ---> 4124fa240678 06:05:44 Step 6/8 : WORKDIR /device-virtual-go 06:05:44 ---> Running in aea7689f585f 06:05:44 Removing intermediate container aea7689f585f 06:05:44 ---> 6de13675d5c5 06:05:44 Step 7/8 : COPY . . 06:05:44 ---> 12b4fdaa1fe3 06:05:44 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:05:44 ---> 1c6081ef3a4e 06:05:44 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:05:45 ---> Running in 61cf2c061beb 06:05:45 Removing intermediate container 61cf2c061beb 06:05:45 ---> 703172965486 06:05:45 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:05:45 ---> Running in 9d1f6dcc1873 06:05:45 Removing intermediate container 9d1f6dcc1873 06:05:45 ---> 9626c034eccc 06:05:45 Step 20/22 : LABEL arch=amd64 06:05:45 ---> Running in 2e97c158d781 06:05:45 ---> 0e01a2a909b1 06:05:45 Step 8/8 : RUN go mod download 06:05:45 ---> Running in 829dbf5c8ded 06:05:45 Removing intermediate container 2e97c158d781 06:05:45 ---> 23a37711765a 06:05:45 Step 21/22 : LABEL git_sha=66ae5159616c5dcef1f127c8594c634aa87d32be 06:05:45 ---> Running in 37311cc4e69c 06:05:45 Removing intermediate container 37311cc4e69c 06:05:45 ---> 5cc8c499de07 06:05:45 Step 22/22 : LABEL version=0.0.0 06:05:45 ---> Running in 40eeebe5ab3b 06:05:46 Removing intermediate container 40eeebe5ab3b 06:05:46 ---> 09e4f6c4c178 06:05:46 [Warning] One or more build-args [ARCH] were not consumed 06:05:46 Successfully built 09e4f6c4c178 06:05:46 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 06:05:47 ---> job-cost.sh 06:05:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1mP4 06:06:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:06:12 Removing intermediate container 829dbf5c8ded 06:06:12 ---> 0eb0f8c42c88 06:06:12 Successfully built 0eb0f8c42c88 06:06:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:06:12 + docker inspect -f . ci-base-image-arm64 06:06:12 . [Pipeline] withDockerContainer 06:06:13 prd-ubuntu18.04-docker-arm64-4c-16g-30260 does not seem to be running inside a container 06:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 06:06:14 $ docker top f191f3c06782e388396c1ad2078e102e9f6a06e0949340f1d90706be41c75914 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:15 + go version 06:06:15 go version go1.15.5 linux/arm64 [Pipeline] } 06:06:15 $ docker stop --time=1 f191f3c06782e388396c1ad2078e102e9f6a06e0949340f1d90706be41c75914 06:06:17 $ docker rm -f f191f3c06782e388396c1ad2078e102e9f6a06e0949340f1d90706be41c75914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:06:18 + docker inspect -f . ci-base-image-arm64 06:06:18 . [Pipeline] withDockerContainer 06:06:18 prd-ubuntu18.04-docker-arm64-4c-16g-30260 does not seem to be running inside a container 06:06:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 06:06:20 $ docker top 65ce120e40faadee634de2abb325d5403088bb7f4e9a3bca1db74bf4bc74878c -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:21 + make test 06:06:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:06:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:06:34 lf-activate-venv(): INFO: Adding /tmp/venv-1mP4/bin to PATH 06:06:34 INFO: No Stack... 06:06:34 INFO: Retrieving Pricing Info for: v1-standard-2 06:06:34 INFO: Archiving Costs [Pipeline] sh 06:06:34 + cat /w/workspace/device-virtual-go/5/archives/cost.csv 06:06:34 + cut -d, -f6 [Pipeline] lock 06:06:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] 06:06:34 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] did not exist. Created. 06:06:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:35 + echo total: 0.029999999329447746 [Pipeline] stash 06:06:35 Stashed 1 file(s) [Pipeline] } 06:06:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:07:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:07:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.467s coverage: 63.8% of statements 06:07:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:07:15 gofmt -l . 06:07:15 [ "`gofmt -l .`" = "" ] 06:07:15 ./bin/test-attribution-txt.sh 06:07:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:07:18 $ docker stop --time=1 65ce120e40faadee634de2abb325d5403088bb7f4e9a3bca1db74bf4bc74878c 06:07:20 $ docker rm -f 65ce120e40faadee634de2abb325d5403088bb7f4e9a3bca1db74bf4bc74878c [Pipeline] // withDockerContainer [Pipeline] sh 06:07:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:21 Warning: overwriting stash ‘coverage-report’ 06:07:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:23 + ls -al . 06:07:23 total 152 06:07:23 drwxrwxr-x 7 jenkins jenkins 4096 Mar 18 06:07 . 06:07:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 06:04 .. 06:07:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 06:04 .git 06:07:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 06:04 .github 06:07:23 -rw-rw-r-- 1 jenkins jenkins 258 Mar 18 06:04 .gitignore 06:07:23 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 18 06:04 Attribution.txt 06:07:23 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 18 06:04 Dockerfile 06:07:23 -rw-rw-r-- 1 jenkins jenkins 961 Mar 18 06:04 Dockerfile.build 06:07:23 -rw-rw-r-- 1 jenkins jenkins 660 Mar 18 06:04 Jenkinsfile 06:07:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 06:04 LICENSE 06:07:23 -rw-rw-r-- 1 jenkins jenkins 873 Mar 18 06:04 Makefile 06:07:23 -rw-rw-r-- 1 jenkins jenkins 918 Mar 18 06:04 README.md 06:07:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 06:01 VERSION 06:07:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 06:04 bin 06:07:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 06:04 cmd 06:07:23 -rw-r--r-- 1 jenkins jenkins 47247 Mar 18 06:07 coverage.out 06:07:23 -rw-r--r-- 1 jenkins jenkins 809 Mar 18 06:07 go.mod 06:07:23 -rw-r--r-- 1 jenkins jenkins 20118 Mar 18 06:07 go.sum 06:07:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 06:04 internal 06:07:23 -rw-rw-r-- 1 jenkins jenkins 235 Mar 18 06:04 version.go [Pipeline] isUnix [Pipeline] sh 06:07:23 + 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=66ae5159616c5dcef1f127c8594c634aa87d32be --label arch=arm64 --label version=0.0.0 . 06:07:24 Sending build context to Docker daemon 589.3kB 06:07:24 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:07:24 Step 2/22 : FROM ${BASE} AS builder 06:07:24 ---> 0eb0f8c42c88 06:07:24 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:07:24 ---> Running in 49e74c68761e 06:07:24 Removing intermediate container 49e74c68761e 06:07:24 ---> 20ce9cf33aae 06:07:24 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:07:24 ---> Running in 248f546f3786 06:07:25 Removing intermediate container 248f546f3786 06:07:25 ---> 0b40f569f950 06:07:25 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:07:25 ---> Running in bd64ac8a84f2 06:07:25 Removing intermediate container bd64ac8a84f2 06:07:25 ---> 7fffb498d15e 06:07:25 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:26 ---> Running in 2369d36b111d 06:07:28 Removing intermediate container 2369d36b111d 06:07:28 ---> 90ca8ea81190 06:07:28 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:28 ---> Running in 71a8bda87315 06:07:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:07:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:07:30 OK: 221 MiB in 53 packages 06:07:31 Removing intermediate container 71a8bda87315 06:07:31 ---> 733a80aa4873 06:07:31 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:07:31 ---> Running in 14065c54e1fa 06:07:32 Removing intermediate container 14065c54e1fa 06:07:32 ---> 19c38c450ba6 06:07:32 Step 9/22 : COPY . . 06:07:33 ---> c99d5a1b81b3 06:07:33 Step 10/22 : ARG MAKE='make build' 06:07:33 ---> Running in 379e9c267fe6 06:07:33 Removing intermediate container 379e9c267fe6 06:07:33 ---> c26e14471682 06:07:33 Step 11/22 : RUN $MAKE 06:07:33 ---> Running in bf5bdeea43c5 06:07:35 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:08:07 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:08:15 Removing intermediate container bf5bdeea43c5 06:08:15 ---> 9e9a45010780 06:08:15 Step 12/22 : FROM alpine:3.12 06:08:15 3.12: Pulling from library/alpine 06:08:15 dce8679b510e: Pulling fs layer 06:08:16 dce8679b510e: Download complete 06:08:16 dce8679b510e: Pull complete 06:08:16 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 06:08:16 Status: Downloaded newer image for alpine:3.12 06:08:16 ---> d10569e2745f 06:08:16 Step 13/22 : ENV APP_PORT=49990 06:08:17 ---> Running in 5873041ad5f0 06:08:17 Removing intermediate container 5873041ad5f0 06:08:17 ---> 5041e36ecf10 06:08:17 Step 14/22 : EXPOSE $APP_PORT 06:08:17 ---> Running in 0ee481c13ee9 06:08:17 Removing intermediate container 0ee481c13ee9 06:08:17 ---> bf04a20710ca 06:08:17 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:08:19 ---> 64b7f5a561f7 06:08:19 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:08:19 ---> 70838fb70628 06:08:19 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:08:20 ---> e7d4136d1928 06:08:20 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:08:20 ---> Running in 212270d3a40a 06:08:21 Removing intermediate container 212270d3a40a 06:08:21 ---> 2dd421eccbbb 06:08:21 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:08:22 ---> Running in d878a4756840 06:08:23 Removing intermediate container d878a4756840 06:08:23 ---> 2189bd41d932 06:08:23 Step 20/22 : LABEL arch=arm64 06:08:23 ---> Running in 849f706e219e 06:08:23 Removing intermediate container 849f706e219e 06:08:23 ---> d4c971af858f 06:08:23 Step 21/22 : LABEL git_sha=66ae5159616c5dcef1f127c8594c634aa87d32be 06:08:23 ---> Running in f5f478a07a72 06:08:24 Removing intermediate container f5f478a07a72 06:08:24 ---> ce181b7e1cb0 06:08:24 Step 22/22 : LABEL version=0.0.0 06:08:24 ---> Running in ee4586768865 06:08:24 Removing intermediate container ee4586768865 06:08:24 ---> 6b4accee6ea3 06:08:24 [Warning] One or more build-args [ARCH] were not consumed 06:08:24 Successfully built 6b4accee6ea3 06:08:24 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:08:25 ---> job-cost.sh 06:08:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mMJQ 06:09:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:10:41 lf-activate-venv(): INFO: Adding /tmp/venv-mMJQ/bin to PATH 06:10:41 INFO: No Stack... 06:10:42 INFO: Retrieving Pricing Info for: lf-standard-4 06:10:43 INFO: Archiving Costs [Pipeline] sh 06:10:43 + cut -d, -f6 06:10:43 + cat /w/workspace/device-virtual-go/5/archives/cost.csv [Pipeline] lock 06:10:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] 06:10:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] did not exist. Created. 06:10:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:43 /w/workspace/device-virtual-go/5@tmp/durable-63f97410/script.sh: 1: /w/workspace/device-virtual-go/5@tmp/durable-63f97410/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:44 + echo total: 0.20999999344348907 [Pipeline] stash 06:10:44 Warning: overwriting stash ‘stack-cost’ 06:10:44 Stashed 1 file(s) [Pipeline] } 06:10:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-5-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:10:45 provisioning config files... 06:10:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config3338480566898419794tmp [Pipeline] { [Pipeline] sh 06:10:46 + set +x 06:10:46 + curl -s https://codecov.io/bash 06:10:46 + bash -s -- 06:10:46 06:10:46 _____ _ 06:10:46 / ____| | | 06:10:46 | | ___ __| | ___ ___ _____ __ 06:10:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:10:46 | |___| (_) | (_| | __/ (_| (_) \ V / 06:10:46 \_____\___/ \__,_|\___|\___\___/ \_/ 06:10:46 Bash-20210309-2b87ace 06:10:46 06:10:46 06:10:46 ==> git version 2.24.3 found 06:10:46 ==> 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:10:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:10:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:10:46 ==> Jenkins CI detected. 06:10:46 project root: . 06:10:46 --> token set from env 06:10:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:10:46 ==> Running gcov in . (disable via -X gcov) 06:10:46 ==> Python coveragepy not found 06:10:46 ==> Searching for coverage reports in: 06:10:46 + . 06:10:46 -> Found 1 reports 06:10:46 ==> Detecting git/mercurial file structure 06:10:46 ==> Reading reports 06:10:46 + ./coverage.out bytes=47247 06:10:46 ==> Appending adjustments 06:10:46 https://docs.codecov.io/docs/fixing-reports 06:10:46 + Found adjustments 06:10:46 ==> Gzipping contents 06:10:46 8.0K /tmp/codecov.JjHSA6.gz 06:10:46 ==> Uploading reports 06:10:46 url: https://codecov.io 06:10:46 query: branch=PR-169&commit=66ae5159616c5dcef1f127c8594c634aa87d32be&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 06:10:46 -> Pinging Codecov 06:10:46 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-169&commit=66ae5159616c5dcef1f127c8594c634aa87d32be&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 06:10:46 -> Uploading to 06:10:46 https://storage.googleapis.com/codecov/v4/raw/2021-03-18/5E52B4B073DB2E39498172D8E973AA87/66ae5159616c5dcef1f127c8594c634aa87d32be/d17e4095-8570-42b3-ae7b-34ba50286d88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T061046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb6e7726733e941d2a6f7269c98d1d4d554fada1651ac1e83b3167e356b6a041 06:10:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:46 Dload Upload Total Spent Left Speed 06:10:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5769 0 0 100 5769 0 15531 --:--:-- --:--:-- --:--:-- 15549 06:10:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/66ae5159616c5dcef1f127c8594c634aa87d32be [Pipeline] } 06:10:47 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:10:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:10:49 ---> package-listing.sh 06:10:49 ++ facter osfamily 06:10:49 ++ tr '[:upper:]' '[:lower:]' 06:10:49 + OS_FAMILY=redhat 06:10:49 + workspace=/w/workspace/foundry_device-virtual-go_PR-169 06:10:49 + START_PACKAGES=/tmp/packages_start.txt 06:10:49 + END_PACKAGES=/tmp/packages_end.txt 06:10:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:10:49 + PACKAGES=/tmp/packages_start.txt 06:10:49 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 06:10:49 + PACKAGES=/tmp/packages_end.txt 06:10:49 + case "${OS_FAMILY}" in 06:10:49 + rpm -qa 06:10:49 + sort 06:10:54 + '[' -f /tmp/packages_start.txt ']' 06:10:54 + '[' -f /tmp/packages_end.txt ']' 06:10:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:10:54 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 06:10:54 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ 06:10:54 + 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 06:10:54 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 06:10:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:10:54 06:10:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:10:55 alpine: Pulling from edgex-lftools-log-publisher 06:10:55 df20fa9351a1: Pulling fs layer 06:10:55 36b3adc4ff6f: Pulling fs layer 06:10:55 8ad3a11d3b57: Pulling fs layer 06:10:55 46f8f816bc3b: Pulling fs layer 06:10:55 93b61091891f: Pulling fs layer 06:10:55 93b9cdb0e59b: Pulling fs layer 06:10:55 5e14af77c1be: Pulling fs layer 06:10:55 01666e4c0597: Pulling fs layer 06:10:55 aa168da1d23b: Pulling fs layer 06:10:55 93b9cdb0e59b: Waiting 06:10:55 5e14af77c1be: Waiting 06:10:55 aa168da1d23b: Waiting 06:10:55 01666e4c0597: Waiting 06:10:55 46f8f816bc3b: Waiting 06:10:55 93b61091891f: Waiting 06:10:55 36b3adc4ff6f: Download complete 06:10:55 46f8f816bc3b: Verifying Checksum 06:10:55 46f8f816bc3b: Download complete 06:10:55 df20fa9351a1: Verifying Checksum 06:10:55 df20fa9351a1: Download complete 06:10:55 93b9cdb0e59b: Verifying Checksum 06:10:55 93b9cdb0e59b: Download complete 06:10:55 5e14af77c1be: Verifying Checksum 06:10:55 5e14af77c1be: Download complete 06:10:55 93b61091891f: Verifying Checksum 06:10:55 93b61091891f: Download complete 06:10:55 01666e4c0597: Verifying Checksum 06:10:55 01666e4c0597: Download complete 06:10:55 df20fa9351a1: Pull complete 06:10:55 36b3adc4ff6f: Pull complete 06:10:55 8ad3a11d3b57: Verifying Checksum 06:10:55 8ad3a11d3b57: Download complete 06:10:56 8ad3a11d3b57: Pull complete 06:10:56 46f8f816bc3b: Pull complete 06:10:57 aa168da1d23b: Verifying Checksum 06:10:57 aa168da1d23b: Download complete 06:10:57 93b61091891f: Pull complete 06:10:57 93b9cdb0e59b: Pull complete 06:10:57 5e14af77c1be: Pull complete 06:10:57 01666e4c0597: Pull complete 06:11:04 aa168da1d23b: Pull complete 06:11:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:11:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:11:04 prd-centos7-docker-4c-2g-30258 does not seem to be running inside a container 06:11:04 $ 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 06:11:08 $ docker top 6f638db23461990552a9569d2123a3d4dca909c8dd7ba6e1db86cdbfeb8727f2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:08 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:08 + mkdir -p /var/log/sa [Pipeline] sh 06:11:09 + ls /var/log/sa-host 06:11:09 + sadf -c /var/log/sa-host/sa18 06:11:09 file_magic: OK 06:11:09 HZ: Using current value: 100 06:11:09 file_header: OK 06:11:09 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:11:09 Statistics: 06:11:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:11:09 File successfully converted to sysstat format version 12.2.1 06:11:09 + sadf -c /var/log/sa-host/sa23 06:11:09 file_magic: OK 06:11:09 HZ: Using current value: 100 06:11:09 file_header: OK 06:11:09 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:11:09 Statistics: 06:11:09 Hnuu...uuuununununu... 06:11:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:09 provisioning config files... 06:11:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config4452249535490911147tmp [Pipeline] { [Pipeline] echo 06:11:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:10 ---> create-netrc.sh [Pipeline] } 06:11:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:11:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:11:10 ---> python-tools-install.sh [Pipeline] echo 06:11:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:11 ---> sudo-logs.sh 06:11:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:11 ---> job-cost.sh 06:11:11 lf-activate-venv: SKIPPING 06:11:11 DEBUG: total: 0.20999999344348907 06:11:11 INFO: Retrieving Stack Cost... 06:11:12 INFO: Retrieving Pricing Info for: v1-standard-2 06:11:13 INFO: Archiving Costs [Pipeline] echo 06:11:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:13 ---> logs-deploy.sh 06:11:13 lf-activate-venv: SKIPPING 06:11:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/5 06:11:13 INFO: archiving workspace using pattern(s): 06:11:15 Archives upload complete. 06:11:15 INFO: archiving logs to Nexus 06:11:16 ---> uname -a: 06:11:16 Linux prd-centos7-docker-4c-2g-30258.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:11:16 06:11:16 06:11:16 ---> lscpu: 06:11:16 Architecture: x86_64 06:11:16 CPU op-mode(s): 32-bit, 64-bit 06:11:16 Byte Order: Little Endian 06:11:16 Address sizes: 40 bits physical, 48 bits virtual 06:11:16 CPU(s): 4 06:11:16 On-line CPU(s) list: 0-3 06:11:16 Thread(s) per core: 1 06:11:16 Core(s) per socket: 1 06:11:16 Socket(s): 4 06:11:16 NUMA node(s): 1 06:11:16 Vendor ID: GenuineIntel 06:11:16 CPU family: 6 06:11:16 Model: 44 06:11:16 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:11:16 Stepping: 1 06:11:16 CPU MHz: 2933.436 06:11:16 BogoMIPS: 5866.87 06:11:16 Virtualization: VT-x 06:11:16 Hypervisor vendor: KVM 06:11:16 Virtualization type: full 06:11:16 L1d cache: 128 KiB 06:11:16 L1i cache: 128 KiB 06:11:16 L2 cache: 16 MiB 06:11:16 L3 cache: 64 MiB 06:11:16 NUMA node0 CPU(s): 0-3 06:11:16 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:11:16 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:11:16 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:11:16 Vulnerability Meltdown: Mitigation; PTI 06:11:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:11:16 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:11:16 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:11:16 Vulnerability Srbds: Not affected 06:11:16 Vulnerability Tsx async abort: Not affected 06:11:16 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:11:16 06:11:16 06:11:16 ---> nproc: 06:11:16 4 06:11:16 06:11:16 06:11:16 ---> df -h: 06:11:16 Filesystem Size Used Available Use% Mounted on 06:11:16 overlay 50.0G 7.3G 42.7G 15% / 06:11:16 tmpfs 64.0M 0 64.0M 0% /dev 06:11:16 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:11:16 shm 64.0M 0 64.0M 0% /dev/shm 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-169 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-169@tmp 06:11:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:11:16 06:11:16 06:11:16 ---> free -m: 06:11:16 total used free shared buff/cache available 06:11:16 Mem: 1837 696 118 0 1022 1036 06:11:16 Swap: 1023 1 1022 06:11:16 06:11:16 06:11:16 ---> ip addr: 06:11:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:11:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:11:16 inet 127.0.0.1/8 scope host lo 06:11:16 valid_lft forever preferred_lft forever 06:11:16 inet6 ::1/128 scope host 06:11:16 valid_lft forever preferred_lft forever 06:11:16 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:11:16 link/ether fa:16:3e:e4:72:f4 brd ff:ff:ff:ff:ff:ff 06:11:16 inet 10.30.122.239/23 brd 10.30.123.255 scope global dynamic eth0 06:11:16 valid_lft 85774sec preferred_lft 85774sec 06:11:16 inet6 fe80::f816:3eff:fee4:72f4/64 scope link 06:11:16 valid_lft forever preferred_lft forever 06:11:16 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:11:16 link/ether 02:42:4d:cd:82:7b brd ff:ff:ff:ff:ff:ff 06:11:16 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:11:16 valid_lft forever preferred_lft forever 06:11:16 inet6 fe80::42:4dff:fecd:827b/64 scope link 06:11:16 valid_lft forever preferred_lft forever 06:11:16 06:11:16 06:11:16 ---> sar -b -r -n DEV: 06:11:16 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) 06:11:16 06:11:16 06:00:39 LINUX RESTART (4 CPU) 06:11:16 06:11:16 06:01:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:11:16 06:02:01 109.04 44.96 64.08 0.00 7912.77 23629.53 0.00 06:11:16 06:03:01 3.80 0.00 3.80 0.00 0.00 120.18 0.00 06:11:16 06:04:01 0.45 0.00 0.45 0.00 0.00 6.38 0.00 06:11:16 06:05:01 0.20 0.00 0.20 0.00 0.00 2.02 0.00 06:11:16 06:06:01 0.17 0.00 0.17 0.00 0.00 1.88 0.00 06:11:16 06:07:01 0.33 0.00 0.33 0.00 0.00 5.08 0.00 06:11:16 06:08:01 0.30 0.00 0.30 0.00 0.00 3.38 0.00 06:11:16 06:09:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 06:11:16 06:10:01 0.20 0.00 0.20 0.00 0.00 2.03 0.00 06:11:16 06:11:01 83.19 51.36 31.84 0.00 4145.38 13038.68 0.00 06:11:16 Average: 19.70 9.60 10.10 0.00 1199.32 3661.84 0.00 06:11:16 06:11:16 06:01:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:11:16 06:02:01 170952 0 594940 31.62 2620 1113032 1102120 37.61 406848 1104976 132 06:11:16 06:03:01 176092 0 589684 31.34 2620 1113148 1074964 36.69 406424 1101844 20 06:11:16 06:04:01 173064 0 592708 31.50 2620 1113152 1075072 36.69 417408 1093208 12 06:11:16 06:05:01 173156 0 592612 31.50 2620 1113156 1075084 36.69 417668 1093208 12 06:11:16 06:06:01 171916 0 593848 31.56 2620 1113160 1075096 36.69 423928 1088112 8 06:11:16 06:07:01 169036 0 596720 31.71 2620 1113168 1075084 36.69 428080 1086712 8 06:11:16 06:08:01 170072 0 595684 31.66 2620 1113168 1074964 36.69 427260 1086708 8 06:11:16 06:09:01 169440 0 596308 31.69 2620 1113176 1075084 36.69 428036 1086712 8 06:11:16 06:10:01 169128 0 596616 31.71 2620 1113180 1075108 36.69 428344 1086708 8 06:11:16 06:11:01 71584 0 707780 37.62 2620 1099560 1510952 51.57 585568 990008 69504 06:11:16 Average: 161444 0 605690 32.19 2620 1111790 1121353 38.27 436956 1081820 6972 06:11:16 06:11:16 06:01:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:11:16 06:02:01 eth0 531.85 336.33 1069.54 101.94 0.00 0.00 0.00 0.00 06:11:16 06:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:02:01 docker0 1.83 1.65 0.35 3.70 0.00 0.00 0.00 0.00 06:11:16 06:03:01 eth0 0.30 0.10 0.02 0.01 0.00 0.00 0.00 0.00 06:11:16 06:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:04:01 eth0 3.58 0.28 0.54 0.17 0.00 0.00 0.00 0.00 06:11:16 06:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:05:01 eth0 2.55 0.52 0.69 0.39 0.00 0.00 0.00 0.00 06:11:16 06:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:06:01 eth0 1.47 0.58 0.62 0.43 0.00 0.00 0.00 0.00 06:11:16 06:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:07:01 eth0 0.52 0.18 0.17 0.07 0.00 0.00 0.00 0.00 06:11:16 06:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:08:01 eth0 1.60 0.08 0.13 0.01 0.00 0.00 0.00 0.00 06:11:16 06:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:09:01 eth0 2.15 0.40 0.42 0.21 0.00 0.00 0.00 0.00 06:11:16 06:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:10:01 eth0 1.45 0.57 0.59 0.40 0.00 0.00 0.00 0.00 06:11:16 06:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:11:01 eth0 201.11 166.52 2168.93 17.10 0.00 0.00 0.00 0.00 06:11:16 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 Average: eth0 74.21 50.28 323.58 11.98 0.00 0.00 0.00 0.00 06:11:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:11:16 Average: docker0 0.18 0.16 0.04 0.37 0.00 0.00 0.00 0.00 06:11:16 06:11:16 06:11:16 ---> sar -P ALL: 06:11:16 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) 06:11:16 06:11:16 06:00:39 LINUX RESTART (4 CPU) 06:11:16 06:11:16 06:01:02 CPU %user %nice %system %iowait %steal %idle 06:11:16 06:02:01 all 13.30 0.00 4.90 3.47 0.19 78.14 06:11:16 06:02:01 0 12.52 0.00 5.53 3.54 0.19 78.22 06:11:16 06:02:01 1 13.10 0.00 4.43 3.17 0.17 79.12 06:11:16 06:02:01 2 12.99 0.00 5.22 4.01 0.24 77.54 06:11:16 06:02:01 3 14.59 0.00 4.43 3.15 0.17 77.66 06:11:16 06:03:01 all 0.13 0.00 0.05 0.00 0.00 99.83 06:11:16 06:03:01 0 0.23 0.00 0.03 0.00 0.00 99.73 06:11:16 06:03:01 1 0.05 0.00 0.05 0.00 0.00 99.90 06:11:16 06:03:01 2 0.10 0.00 0.08 0.00 0.00 99.82 06:11:16 06:03:01 3 0.12 0.00 0.02 0.00 0.00 99.87 06:11:16 06:04:01 all 0.19 0.00 0.08 0.00 0.02 99.72 06:11:16 06:04:01 0 0.03 0.00 0.05 0.00 0.02 99.90 06:11:16 06:04:01 1 0.10 0.00 0.08 0.00 0.02 99.80 06:11:16 06:04:01 2 0.08 0.00 0.07 0.00 0.02 99.83 06:11:16 06:04:01 3 0.53 0.00 0.12 0.00 0.02 99.33 06:11:16 06:05:01 all 0.14 0.00 0.03 0.00 0.01 99.82 06:11:16 06:05:01 0 0.05 0.00 0.05 0.00 0.02 99.88 06:11:16 06:05:01 1 0.02 0.00 0.02 0.00 0.00 99.97 06:11:16 06:05:01 2 0.03 0.00 0.05 0.00 0.02 99.90 06:11:16 06:05:01 3 0.45 0.00 0.02 0.00 0.02 99.52 06:11:16 06:06:01 all 0.17 0.00 0.03 0.00 0.00 99.79 06:11:16 06:06:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:11:16 06:06:01 1 0.07 0.00 0.02 0.00 0.00 99.92 06:11:16 06:06:01 2 0.08 0.00 0.05 0.00 0.02 99.85 06:11:16 06:06:01 3 0.52 0.00 0.03 0.00 0.00 99.45 06:11:16 06:07:01 all 0.14 0.00 0.04 0.00 0.01 99.81 06:11:16 06:07:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:11:16 06:07:01 1 0.02 0.00 0.03 0.00 0.02 99.93 06:11:16 06:07:01 2 0.25 0.00 0.03 0.00 0.00 99.72 06:11:16 06:07:01 3 0.27 0.00 0.05 0.00 0.02 99.67 06:11:16 06:08:01 all 0.16 0.00 0.02 0.00 0.02 99.80 06:11:16 06:08:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:11:16 06:08:01 1 0.07 0.00 0.05 0.00 0.03 99.85 06:11:16 06:08:01 2 0.50 0.00 0.03 0.00 0.02 99.45 06:11:16 06:08:01 3 0.03 0.00 0.00 0.00 0.00 99.97 06:11:16 06:09:01 all 0.12 0.00 0.03 0.00 0.00 99.85 06:11:16 06:09:01 0 0.00 0.00 0.02 0.00 0.00 99.98 06:11:16 06:09:01 1 0.10 0.00 0.03 0.00 0.00 99.87 06:11:16 06:09:01 2 0.37 0.00 0.03 0.00 0.00 99.60 06:11:16 06:09:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:11:16 06:10:01 all 0.09 0.00 0.03 0.00 0.00 99.88 06:11:16 06:10:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:11:16 06:10:01 1 0.03 0.00 0.02 0.00 0.00 99.95 06:11:16 06:10:01 2 0.25 0.00 0.05 0.00 0.00 99.70 06:11:16 06:10:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:11:16 06:11:01 all 4.69 0.00 2.26 1.32 0.10 91.63 06:11:16 06:11:01 0 4.27 0.00 2.47 1.06 0.12 92.08 06:11:16 06:11:01 1 4.61 0.00 1.91 1.12 0.08 92.26 06:11:16 06:11:01 2 5.71 0.00 2.69 2.52 0.07 89.02 06:11:16 06:11:01 3 4.15 0.00 1.97 0.59 0.15 93.15 06:11:16 Average: all 1.88 0.00 0.74 0.47 0.04 96.87 06:11:16 Average: 0 1.69 0.00 0.81 0.45 0.04 97.01 06:11:16 Average: 1 1.79 0.00 0.66 0.42 0.03 97.10 06:11:16 Average: 2 2.01 0.00 0.82 0.64 0.04 96.49 06:11:16 Average: 3 2.04 0.00 0.66 0.37 0.04 96.90 06:11:16 06:11:16 06:11:16