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 e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd Obtained Jenkinsfile from 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30270 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 e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd Merge succeeded, producing e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd Checking out Revision e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd (PR-169) > git config core.sparsecheckout # timeout=10 > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # 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 e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # 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:39:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 66ae5159616c5dcef1f127c8594c634aa87d32be # timeout=10 06:39:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:39:33 ========================================================= 06:39:33 EdgeX Global Pipelines Version Info 06:39:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:39:35 ------------------- 06:39:35 stable info: 06:39:35 ------------------- 06:39:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:39:35 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:39:35 Message: update stable to v1.0.186 06:39:36 ------------------- 06:39:36 experimental info: 06:39:36 ------------------- 06:39:36 Commited By: **** collab-it+edgex@linuxfoundation.org 06:39:36 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:39:36 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:39:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:39:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:39:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:39:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:39:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:39:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e87a234 [Pipeline] echo 06:39:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:39:40 provisioning config files... 06:39:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1562065061122104260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:40 ---> docker-login.sh 06:39:40 nexus3.edgexfoundry.org:10001 06:39:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:41 Configure a credential helper to remove this warning. See 06:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:41 06:39:41 Login Succeeded 06:39:41 nexus3.edgexfoundry.org:10002 06:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:41 Configure a credential helper to remove this warning. See 06:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:41 06:39:41 Login Succeeded 06:39:41 nexus3.edgexfoundry.org:10003 06:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:41 Configure a credential helper to remove this warning. See 06:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:41 06:39:41 Login Succeeded 06:39:41 nexus3.edgexfoundry.org:10004 06:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:41 Configure a credential helper to remove this warning. See 06:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:41 06:39:41 Login Succeeded 06:39:41 docker.io 06:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:41 Configure a credential helper to remove this warning. See 06:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:41 06:39:41 Login Succeeded 06:39:41 ---> docker-login.sh ends [Pipeline] } 06:39:41 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:39:42 + git log --format=format:%s -1 e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [Pipeline] echo 06:39:42 GIT_COMMIT: e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd, Commit Message: feat: update driver implementation to reflect v2 profiles [Pipeline] echo 06:39:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:39:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:39:43 06:39:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:39:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:39:44 latest: Pulling from edgex-devops/git-semver 06:39:44 31603596830f: Pulling fs layer 06:39:44 2a8b12db71e7: Pulling fs layer 06:39:44 6ca5941a6612: Pulling fs layer 06:39:44 ecc8261a40a4: Pulling fs layer 06:39:44 ecc8261a40a4: Waiting 06:39:44 2a8b12db71e7: Verifying Checksum 06:39:44 2a8b12db71e7: Download complete 06:39:44 31603596830f: Verifying Checksum 06:39:44 31603596830f: Download complete 06:39:44 6ca5941a6612: Verifying Checksum 06:39:44 6ca5941a6612: Download complete 06:39:44 ecc8261a40a4: Verifying Checksum 06:39:44 ecc8261a40a4: Download complete 06:39:44 31603596830f: Pull complete 06:39:44 2a8b12db71e7: Pull complete 06:39:45 6ca5941a6612: Pull complete 06:39:45 ecc8261a40a4: Pull complete 06:39:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:39:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:39:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:39:46 prd-centos7-docker-4c-2g-30270 does not seem to be running inside a container 06:39:46 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:39:48 $ docker top 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:39:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:49 [ssh-agent] Looking for ssh-agent implementation... 06:39:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:49 $ docker exec 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent 06:39:49 SSH_AUTH_SOCK=/tmp/ssh-5i4YhqVFfEHn/agent.11 06:39:49 SSH_AGENT_PID=16 06:39:49 Running ssh-add (command line suppressed) 06:39:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_4175097894961086273.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_4175097894961086273.key) 06:39:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:49 + git tag --points-at HEAD [Pipeline] } 06:39:50 $ docker exec --env ******** --env ******** 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent -k 06:39:50 unset SSH_AUTH_SOCK; 06:39:50 unset SSH_AGENT_PID; 06:39:50 echo Agent pid 16 killed; 06:39:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:39:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:50 [ssh-agent] Looking for ssh-agent implementation... 06:39:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:50 $ docker exec 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent 06:39:50 SSH_AUTH_SOCK=/tmp/ssh-Pb0jYJBOuXf2/agent.45 06:39:50 SSH_AGENT_PID=50 06:39:50 Running ssh-add (command line suppressed) 06:39:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_1035624670325233417.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_1035624670325233417.key) 06:39:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:51 + git semver init 06:39:51 # -> Open(): unable to determine branch for HEAD 06:39:51 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git 06:39:51 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 06:39:51 # $SEMVER_REMOTE_NAME = origin 06:39:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:39:51 # $SEMVER_USER_NAME = edgex-jenkins 06:39:51 # $SEMVER_BRANCH = PR-169 06:39:51 # $SEMVER_TEMP = /tmp/semver-945548649 06:39:51 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:39:51 # '/tmp/semver-945548649' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' 06:39:51 # -> Force: false 06:39:51 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } 06:39:51 $ docker exec --env ******** --env ******** 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent -k 06:39:51 unset SSH_AUTH_SOCK; 06:39:51 unset SSH_AGENT_PID; 06:39:51 echo Agent pid 50 killed; 06:39:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:39:52 + git semver [Pipeline] } 06:39:52 $ docker stop --time=1 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e 06:39:53 $ docker rm -f 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e [Pipeline] // withDockerContainer [Pipeline] sh 06:39:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:39:54 Stashed 1 file(s) [Pipeline] echo 06:39:54 [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:40:10 Still waiting to schedule task 06:40:10 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30270’ 06:40:10 Still waiting to schedule task 06:40:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:42:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30271 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 06:42:00 Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout 06:42:05 using credential edgex-jenkins-ssh 06:42:05 Cloning the remote Git repository 06:42:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:42:05 > git init /w/workspace/device-virtual-go/6 # timeout=10 06:42:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:42:06 > git --version # timeout=10 06:42:06 > git --version # 'git version 2.17.1' 06:42:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:07 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd 06:42:07 Merge succeeded, producing e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd 06:42:07 Checking out Revision e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd (PR-169) 06:42:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:42:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:42:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:42:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:07 > 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:42:07 > git config core.sparsecheckout # timeout=10 06:42:07 > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 06:42:07 > git remote # timeout=10 06:42:07 > git config --get remote.origin.url # timeout=10 06:42:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:07 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 06:42:07 > git rev-parse HEAD^{commit} # timeout=10 06:42:07 > git config core.sparsecheckout # timeout=10 06:42:07 > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 06:42:12 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:42:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:42:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:42:15 + true 06:42:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:42:18 provisioning config files... 06:42:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config5963123231325917140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:18 ---> docker-login.sh 06:42:18 nexus3.edgexfoundry.org:10001 06:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:19 Configure a credential helper to remove this warning. See 06:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:19 06:42:19 Login Succeeded 06:42:19 nexus3.edgexfoundry.org:10002 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:20 Configure a credential helper to remove this warning. See 06:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:20 06:42:20 Login Succeeded 06:42:20 nexus3.edgexfoundry.org:10003 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:21 Configure a credential helper to remove this warning. See 06:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:21 06:42:21 Login Succeeded 06:42:21 nexus3.edgexfoundry.org:10004 06:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:21 Configure a credential helper to remove this warning. See 06:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:21 06:42:21 Login Succeeded 06:42:21 docker.io 06:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:22 Configure a credential helper to remove this warning. See 06:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:22 06:42:22 Login Succeeded 06:42:22 ---> docker-login.sh ends [Pipeline] } 06:42:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:42:22 ========================================================= 06:42:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:42:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:23 + 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:42:23 Sending build context to Docker daemon 524.8kB 06:42:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:42:23 Step 2/8 : FROM ${BASE} 06:42:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:42:23 5f621e34cdf4: Pulling fs layer 06:42:23 a4357932f1b6: Pulling fs layer 06:42:23 18c013af1878: Pulling fs layer 06:42:23 00ac8860ef70: Pulling fs layer 06:42:23 63d7cb157983: Pulling fs layer 06:42:23 b116817d02f9: Pulling fs layer 06:42:23 745a02a5169b: Pulling fs layer 06:42:23 b116817d02f9: Waiting 06:42:23 00ac8860ef70: Waiting 06:42:23 745a02a5169b: Waiting 06:42:23 63d7cb157983: Waiting 06:42:23 18c013af1878: Verifying Checksum 06:42:23 18c013af1878: Download complete 06:42:23 a4357932f1b6: Verifying Checksum 06:42:23 a4357932f1b6: Download complete 06:42:23 63d7cb157983: Verifying Checksum 06:42:23 63d7cb157983: Download complete 06:42:24 b116817d02f9: Verifying Checksum 06:42:24 b116817d02f9: Download complete 06:42:24 5f621e34cdf4: Verifying Checksum 06:42:24 5f621e34cdf4: Download complete 06:42:25 5f621e34cdf4: Pull complete 06:42:25 a4357932f1b6: Pull complete 06:42:25 18c013af1878: Pull complete 06:42:27 745a02a5169b: Verifying Checksum 06:42:27 745a02a5169b: Download complete 06:42:28 00ac8860ef70: Verifying Checksum 06:42:28 00ac8860ef70: Download complete 06:42:35 Running on prd-centos7-docker-4c-2g-30272 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 06:42:35 Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout 06:42:37 using credential edgex-jenkins-ssh 06:42:37 Cloning the remote Git repository 06:42:38 00ac8860ef70: Pull complete 06:42:38 63d7cb157983: Pull complete 06:42:38 b116817d02f9: Pull complete 06:42:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:42:37 > git init /w/workspace/device-virtual-go/6 # timeout=10 06:42:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:42:38 > git --version # timeout=10 06:42:38 > git --version # 'git version 2.24.3' 06:42:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:42:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:42:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:42:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:38 > 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:42:39 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd 06:42:39 Merge succeeded, producing e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd 06:42:39 Checking out Revision e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd (PR-169) 06:42:39 > git config core.sparsecheckout # timeout=10 06:42:39 > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 06:42:39 > git remote # timeout=10 06:42:39 > git config --get remote.origin.url # timeout=10 06:42:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:39 > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 06:42:39 > git rev-parse HEAD^{commit} # timeout=10 06:42:39 > git config core.sparsecheckout # timeout=10 06:42:39 > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 06:42:42 Commit message: "feat: update driver implementation to reflect v2 profiles" 06:42:42 745a02a5169b: Pull complete 06:42:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:42:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:42:42 ---> b7e6874047d6 06:42:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:42:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:42:44 + sudo service docker restart 06:42:44 + true 06:42:44 Redirecting to /bin/systemctl restart docker.service 06:42:45 ---> Running in 226e995d3017 06:42:45 Removing intermediate container 226e995d3017 06:42:45 ---> 912fc0af41c9 06:42:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:42:45 provisioning config files... 06:42:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config9094862561852278651tmp 06:42:45 ---> Running in 2612e3b3924b [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:46 ---> docker-login.sh 06:42:46 nexus3.edgexfoundry.org:10001 06:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:46 Configure a credential helper to remove this warning. See 06:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:46 06:42:46 Login Succeeded 06:42:46 nexus3.edgexfoundry.org:10002 06:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:46 Configure a credential helper to remove this warning. See 06:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:46 06:42:46 Login Succeeded 06:42:46 nexus3.edgexfoundry.org:10003 06:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:47 Configure a credential helper to remove this warning. See 06:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:47 06:42:47 Login Succeeded 06:42:47 nexus3.edgexfoundry.org:10004 06:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:47 Configure a credential helper to remove this warning. See 06:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:47 06:42:47 Login Succeeded 06:42:47 docker.io 06:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:47 Configure a credential helper to remove this warning. See 06:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:47 06:42:47 Login Succeeded 06:42:47 ---> docker-login.sh ends [Pipeline] } 06:42:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:42:47 ========================================================= 06:42:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:42:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:48 + 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:42:48 Sending build context to Docker daemon 525.8kB 06:42:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:42:48 Step 2/8 : FROM ${BASE} 06:42:48 Removing intermediate container 2612e3b3924b 06:42:48 ---> 334d300bc7cb 06:42:48 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:42:48 ---> Running in ed5499488424 06:42:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:42:48 188c0c94c7c5: Pulling fs layer 06:42:48 0ef7d3d256c8: Pulling fs layer 06:42:48 de9db76c5a1d: Pulling fs layer 06:42:48 bca2f99d35d6: Pulling fs layer 06:42:48 93359f2a8cfa: Pulling fs layer 06:42:48 7c6f9722023f: Pulling fs layer 06:42:48 a35cf1a2eb13: Pulling fs layer 06:42:48 93359f2a8cfa: Waiting 06:42:48 7c6f9722023f: Waiting 06:42:48 a35cf1a2eb13: Waiting 06:42:48 bca2f99d35d6: Waiting 06:42:48 de9db76c5a1d: Verifying Checksum 06:42:48 de9db76c5a1d: Download complete 06:42:48 0ef7d3d256c8: Verifying Checksum 06:42:48 0ef7d3d256c8: Download complete 06:42:48 93359f2a8cfa: Verifying Checksum 06:42:48 93359f2a8cfa: Download complete 06:42:48 188c0c94c7c5: Verifying Checksum 06:42:48 188c0c94c7c5: Download complete 06:42:48 7c6f9722023f: Download complete 06:42:48 188c0c94c7c5: Pull complete 06:42:49 0ef7d3d256c8: Pull complete 06:42:49 de9db76c5a1d: Pull complete 06:42:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:42:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:42:50 a35cf1a2eb13: Verifying Checksum 06:42:50 a35cf1a2eb13: Download complete 06:42:51 bca2f99d35d6: Verifying Checksum 06:42:51 bca2f99d35d6: Download complete 06:42:51 (1/14) Installing libmagic (5.38-r0) 06:42:52 (2/14) Installing file (5.38-r0) 06:42:52 (3/14) Installing libc-dev (0.7.2-r3) 06:42:52 (4/14) Installing g++ (9.3.0-r2) 06:42:57 bca2f99d35d6: Pull complete 06:42:57 93359f2a8cfa: Pull complete 06:42:57 7c6f9722023f: Pull complete 06:43:02 a35cf1a2eb13: Pull complete 06:43:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:43:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:43:02 ---> a62c8e92a672 06:43:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:43:02 ---> Running in 3b8dd4571f45 06:43:02 Removing intermediate container 3b8dd4571f45 06:43:02 ---> 59c5846b91a5 06:43:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:02 ---> Running in 82a0d7fbdfc8 06:43:02 (5/14) Installing fortify-headers (1.1-r0) 06:43:02 (6/14) Installing patch (2.7.6-r6) 06:43:02 (7/14) Installing build-base (0.5-r2) 06:43:02 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:43:02 (9/14) Installing libedit (20191231.3.1-r0) 06:43:02 (10/14) Installing openssh-client (8.3_p1-r1) 06:43:03 Removing intermediate container 82a0d7fbdfc8 06:43:03 ---> 1613dbcd33f8 06:43:03 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:43:03 ---> Running in c755eb2a74df 06:43:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:03 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:43:03 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:43:03 (13/14) Installing openssh-server (8.3_p1-r1) 06:43:03 (14/14) Installing openssh (8.3_p1-r1) 06:43:03 Executing busybox-1.31.1-r19.trigger 06:43:03 OK: 221 MiB in 53 packages 06:43:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:04 (1/14) Installing libmagic (5.38-r0) 06:43:04 (2/14) Installing file (5.38-r0) 06:43:04 (3/14) Installing libc-dev (0.7.2-r3) 06:43:04 (4/14) Installing g++ (9.3.0-r2) 06:43:08 Removing intermediate container ed5499488424 06:43:08 ---> c12ff9c60e34 06:43:08 Step 6/8 : WORKDIR /device-virtual-go 06:43:08 ---> Running in 1183ff6e5115 06:43:08 Removing intermediate container 1183ff6e5115 06:43:08 ---> 334ff45aaf87 06:43:08 Step 7/8 : COPY . . 06:43:09 (5/14) Installing fortify-headers (1.1-r0) 06:43:09 (6/14) Installing patch (2.7.6-r6) 06:43:09 (7/14) Installing build-base (0.5-r2) 06:43:09 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:43:09 ---> 8d5aa4934d83 06:43:09 Step 8/8 : RUN go mod download 06:43:09 ---> Running in f29e65bb30bf 06:43:09 (9/14) Installing libedit (20191231.3.1-r0) 06:43:09 (10/14) Installing openssh-client (8.3_p1-r1) 06:43:10 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:43:10 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:43:10 (13/14) Installing openssh-server (8.3_p1-r1) 06:43:10 (14/14) Installing openssh (8.3_p1-r1) 06:43:10 Executing busybox-1.31.1-r19.trigger 06:43:10 OK: 237 MiB in 53 packages 06:43:15 Removing intermediate container c755eb2a74df 06:43:15 ---> 7d86b04d44e3 06:43:15 Step 6/8 : WORKDIR /device-virtual-go 06:43:15 ---> Running in 02afecefae91 06:43:15 Removing intermediate container 02afecefae91 06:43:15 ---> 4c2ba834f983 06:43:15 Step 7/8 : COPY . . 06:43:15 ---> 070a63e190a9 06:43:15 Step 8/8 : RUN go mod download 06:43:15 ---> Running in af4dace2f418 06:43:36 Removing intermediate container f29e65bb30bf 06:43:36 ---> 60e0cb9154e5 06:43:36 Successfully built 60e0cb9154e5 06:43:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:43:37 + docker inspect -f . ci-base-image-arm64 06:43:37 . [Pipeline] withDockerContainer 06:43:37 prd-ubuntu18.04-docker-arm64-4c-16g-30271 does not seem to be running inside a container 06:43:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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:43:37 Removing intermediate container af4dace2f418 06:43:37 ---> 2eaac429c3af 06:43:37 Successfully built 2eaac429c3af 06:43:37 Successfully tagged ci-base-image-x86_64:latest 06:43:39 $ docker top 92855010adff227d947587b8531ccd080211f14a81fb52f0f71083f3aff34a4b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:43:39 + docker inspect -f . ci-base-image-x86_64 06:43:39 . [Pipeline] withDockerContainer 06:43:40 + go version 06:43:40 go version go1.15.5 linux/arm64 06:43:40 prd-centos7-docker-4c-2g-30272 does not seem to be running inside a container 06:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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-x86_64 cat 06:43:41 $ docker top 85ff4a4fe30628f790879fdd1c7c6ea4881c77897b45d2e54f99ab3152b3fb3f -eo pid,comm [Pipeline] { [Pipeline] } 06:43:41 $ docker stop --time=1 92855010adff227d947587b8531ccd080211f14a81fb52f0f71083f3aff34a4b 06:43:43 $ docker rm -f 92855010adff227d947587b8531ccd080211f14a81fb52f0f71083f3aff34a4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:43:43 + go version 06:43:43 go version go1.15.5 linux/amd64 [Pipeline] } 06:43:43 $ docker stop --time=1 85ff4a4fe30628f790879fdd1c7c6ea4881c77897b45d2e54f99ab3152b3fb3f 06:43:45 $ docker rm -f 85ff4a4fe30628f790879fdd1c7c6ea4881c77897b45d2e54f99ab3152b3fb3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:43:46 + docker inspect -f . ci-base-image-arm64 06:43:46 . [Pipeline] withDockerContainer 06:43:46 + docker inspect -f . ci-base-image-x86_64 06:43:46 . 06:43:46 prd-ubuntu18.04-docker-arm64-4c-16g-30271 does not seem to be running inside a container 06:43:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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:43:48 $ docker top 23dfa888fa357c2afa14cec57d9e4ea514ab9da9427238d265c0a018345ec5f4 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 06:43:48 prd-centos7-docker-4c-2g-30272 does not seem to be running inside a container 06:43:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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-x86_64 cat 06:43:49 $ docker top df71fc5f45f61a519311b19417f7fa79149276becb0bc23c8cfe5174260f5df3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:43:49 + make test 06:43:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:43:50 + make test 06:43:50 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:43:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:43:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:44:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:44:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.351s coverage: 63.8% of statements 06:44:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:11 gofmt -l . 06:44:11 [ "`gofmt -l .`" = "" ] 06:44:11 ./bin/test-attribution-txt.sh 06:44:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:44:11 $ docker stop --time=1 df71fc5f45f61a519311b19417f7fa79149276becb0bc23c8cfe5174260f5df3 06:44:13 $ docker rm -f df71fc5f45f61a519311b19417f7fa79149276becb0bc23c8cfe5174260f5df3 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:18 + ls -al . 06:44:18 total 128 06:44:18 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 18 06:44 . 06:44:18 drwxrwxr-x. 4 jenkins jenkins 28 Mar 18 06:42 .. 06:44:18 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 18 06:42 Attribution.txt 06:44:18 drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 06:42 bin 06:44:18 drwxrwxr-x. 3 jenkins jenkins 32 Mar 18 06:42 cmd 06:44:18 -rw-r--r--. 1 jenkins jenkins 47247 Mar 18 06:44 coverage.out 06:44:18 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 18 06:42 Dockerfile 06:44:18 -rw-rw-r--. 1 jenkins jenkins 961 Mar 18 06:42 Dockerfile.build 06:44:18 drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 06:42 .git 06:44:18 drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 06:42 .github 06:44:18 -rw-rw-r--. 1 jenkins jenkins 258 Mar 18 06:42 .gitignore 06:44:18 -rw-r--r--. 1 jenkins jenkins 809 Mar 18 06:44 go.mod 06:44:18 -rw-r--r--. 1 jenkins jenkins 20118 Mar 18 06:44 go.sum 06:44:18 drwxrwxr-x. 3 jenkins jenkins 20 Mar 18 06:42 internal 06:44:18 -rw-rw-r--. 1 jenkins jenkins 660 Mar 18 06:42 Jenkinsfile 06:44:18 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 18 06:42 LICENSE 06:44:18 -rw-rw-r--. 1 jenkins jenkins 873 Mar 18 06:42 Makefile 06:44:18 -rw-rw-r--. 1 jenkins jenkins 918 Mar 18 06:42 README.md 06:44:18 -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 06:39 VERSION 06:44:18 -rw-rw-r--. 1 jenkins jenkins 235 Mar 18 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:44:18 + 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=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd --label arch=amd64 --label version=0.0.0 . 06:44:18 Sending build context to Docker daemon 594.9kB 06:44:18 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:44:18 Step 2/22 : FROM ${BASE} AS builder 06:44:18 ---> 2eaac429c3af 06:44:18 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:44:18 ---> Running in 5b7c177d2699 06:44:18 Removing intermediate container 5b7c177d2699 06:44:18 ---> c8d15876a05b 06:44:18 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:44:19 ---> Running in 64f7fef068b3 06:44:19 Removing intermediate container 64f7fef068b3 06:44:19 ---> 0a5bf375304b 06:44:19 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:44:19 ---> Running in ef3f72d87167 06:44:19 Removing intermediate container ef3f72d87167 06:44:19 ---> ff124be33671 06:44:19 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:19 ---> Running in 4a4ec4af817a 06:44:20 Removing intermediate container 4a4ec4af817a 06:44:20 ---> ddacc3ade012 06:44:20 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:20 ---> Running in db4eb41e3da5 06:44:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:44:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:44:22 OK: 237 MiB in 53 packages 06:44:22 Removing intermediate container db4eb41e3da5 06:44:22 ---> eb7c057a4be6 06:44:22 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:44:22 ---> Running in 1305f15c7d20 06:44:22 Removing intermediate container 1305f15c7d20 06:44:22 ---> bb9a0d38a467 06:44:22 Step 9/22 : COPY . . 06:44:23 ---> 810fd77ddb6d 06:44:23 Step 10/22 : ARG MAKE='make build' 06:44:23 ---> Running in b3c3a13827a5 06:44:23 Removing intermediate container b3c3a13827a5 06:44:23 ---> e0362562e15d 06:44:23 Step 11/22 : RUN $MAKE 06:44:23 ---> Running in 35b5cb4f6af3 06:44:24 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:44:36 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:44:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:44:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.399s coverage: 63.8% of statements 06:44:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:40 Removing intermediate container 35b5cb4f6af3 06:44:40 ---> 40dfec04bc6d 06:44:40 Step 12/22 : FROM alpine:3.12 06:44:40 3.12: Pulling from library/alpine 06:44:40 f84cab65f19f: Pulling fs layer 06:44:40 f84cab65f19f: Verifying Checksum 06:44:40 f84cab65f19f: Download complete 06:44:40 f84cab65f19f: Pull complete 06:44:40 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 06:44:40 Status: Downloaded newer image for alpine:3.12 06:44:40 ---> 88dd2752d2ea 06:44:40 Step 13/22 : ENV APP_PORT=49990 06:44:40 ---> Running in bb9a3ed2a6cd 06:44:41 Removing intermediate container bb9a3ed2a6cd 06:44:41 ---> a9827d8ae099 06:44:41 Step 14/22 : EXPOSE $APP_PORT 06:44:41 ---> Running in 7084069e1e8f 06:44:41 Removing intermediate container 7084069e1e8f 06:44:41 ---> 59ada9bff9da 06:44:41 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:44:42 ---> 4e2e0ae8aa3a 06:44:42 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:44:42 ---> d2ef707a231e 06:44:42 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:44:42 ---> 2609df5d4e7a 06:44:42 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:44:42 ---> Running in 043d576cd2dc 06:44:42 Removing intermediate container 043d576cd2dc 06:44:42 ---> 00dae7012e9d 06:44:42 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:44:42 ---> Running in 2348d89de9d6 06:44:42 Removing intermediate container 2348d89de9d6 06:44:42 ---> f9183c224bda 06:44:42 Step 20/22 : LABEL arch=amd64 06:44:43 ---> Running in 427bbed6499d 06:44:43 Removing intermediate container 427bbed6499d 06:44:43 ---> d7aa86f583f4 06:44:43 Step 21/22 : LABEL git_sha=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd 06:44:43 ---> Running in fe3cdf5e406c 06:44:43 Removing intermediate container fe3cdf5e406c 06:44:43 ---> 93af4ff88cf9 06:44:43 Step 22/22 : LABEL version=0.0.0 06:44:43 ---> Running in d7db8e9e3a4b 06:44:43 Removing intermediate container d7db8e9e3a4b 06:44:43 ---> 87d73fed8df0 06:44:43 [Warning] One or more build-args [ARCH] were not consumed 06:44:43 Successfully built 87d73fed8df0 06:44:43 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:44:44 ---> job-cost.sh 06:44:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VgIs 06:44:46 gofmt -l . 06:44:46 [ "`gofmt -l .`" = "" ] 06:44:46 ./bin/test-attribution-txt.sh 06:44:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:44:47 $ docker stop --time=1 23dfa888fa357c2afa14cec57d9e4ea514ab9da9427238d265c0a018345ec5f4 06:44:49 $ docker rm -f 23dfa888fa357c2afa14cec57d9e4ea514ab9da9427238d265c0a018345ec5f4 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:50 Warning: overwriting stash ‘coverage-report’ 06:44:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:52 + ls -al . 06:44:52 total 152 06:44:52 drwxrwxr-x 7 jenkins jenkins 4096 Mar 18 06:44 . 06:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 06:42 .. 06:44:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 06:42 .git 06:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 06:42 .github 06:44:52 -rw-rw-r-- 1 jenkins jenkins 258 Mar 18 06:42 .gitignore 06:44:52 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 18 06:42 Attribution.txt 06:44:52 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 18 06:42 Dockerfile 06:44:52 -rw-rw-r-- 1 jenkins jenkins 961 Mar 18 06:42 Dockerfile.build 06:44:52 -rw-rw-r-- 1 jenkins jenkins 660 Mar 18 06:42 Jenkinsfile 06:44:52 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 06:42 LICENSE 06:44:52 -rw-rw-r-- 1 jenkins jenkins 873 Mar 18 06:42 Makefile 06:44:52 -rw-rw-r-- 1 jenkins jenkins 918 Mar 18 06:42 README.md 06:44:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 06:39 VERSION 06:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 06:42 bin 06:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 06:42 cmd 06:44:52 -rw-r--r-- 1 jenkins jenkins 47247 Mar 18 06:44 coverage.out 06:44:52 -rw-r--r-- 1 jenkins jenkins 809 Mar 18 06:44 go.mod 06:44:52 -rw-r--r-- 1 jenkins jenkins 20118 Mar 18 06:44 go.sum 06:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 06:42 internal 06:44:52 -rw-rw-r-- 1 jenkins jenkins 235 Mar 18 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:44:52 + 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=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd --label arch=arm64 --label version=0.0.0 . 06:44:53 Sending build context to Docker daemon 593.9kB 06:44:53 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:44:53 Step 2/22 : FROM ${BASE} AS builder 06:44:53 ---> 60e0cb9154e5 06:44:53 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:44:53 ---> Running in 7f517f2490f7 06:44:54 Removing intermediate container 7f517f2490f7 06:44:54 ---> 019881e16558 06:44:54 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:44:54 ---> Running in 66820807e7d9 06:44:54 Removing intermediate container 66820807e7d9 06:44:54 ---> e29ae0971cd4 06:44:54 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:44:54 ---> Running in 878a8d63caf9 06:44:55 Removing intermediate container 878a8d63caf9 06:44:55 ---> e2531f17b533 06:44:55 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:55 ---> Running in bc2dfe0aef72 06:44:57 Removing intermediate container bc2dfe0aef72 06:44:57 ---> 29982e94a902 06:44:57 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:57 ---> Running in 2b7409112ded 06:44:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:44:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:44:59 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:44:59 OK: 221 MiB in 53 packages 06:45:00 Removing intermediate container 2b7409112ded 06:45:00 ---> 123f25bdf7e1 06:45:00 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:45:00 ---> Running in ebe3b88a1bde 06:45:01 Removing intermediate container ebe3b88a1bde 06:45:01 ---> 35c715d85013 06:45:01 Step 9/22 : COPY . . 06:45:02 ---> 5d04878a6b0c 06:45:02 Step 10/22 : ARG MAKE='make build' 06:45:02 ---> Running in 3f8266aa992c 06:45:03 Removing intermediate container 3f8266aa992c 06:45:03 ---> 1223cd46000e 06:45:03 Step 11/22 : RUN $MAKE 06:45:03 ---> Running in efad456d43e4 06:45:04 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:45:26 lf-activate-venv(): INFO: Adding /tmp/venv-VgIs/bin to PATH 06:45:26 INFO: No Stack... 06:45:26 INFO: Retrieving Pricing Info for: v1-standard-2 06:45:26 INFO: Archiving Costs [Pipeline] sh 06:45:27 + cat /w/workspace/device-virtual-go/6/archives/cost.csv 06:45:27 + cut -d, -f6 [Pipeline] lock 06:45:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] 06:45:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] did not exist. Created. 06:45:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:27 + echo total: 0.029999999329447746 [Pipeline] stash 06:45:27 Stashed 1 file(s) [Pipeline] } 06:45:27 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:45:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:45:46 Removing intermediate container efad456d43e4 06:45:46 ---> 2e1fcda82fd8 06:45:46 Step 12/22 : FROM alpine:3.12 06:45:46 3.12: Pulling from library/alpine 06:45:46 dce8679b510e: Pulling fs layer 06:45:46 dce8679b510e: Download complete 06:45:47 dce8679b510e: Pull complete 06:45:47 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 06:45:47 Status: Downloaded newer image for alpine:3.12 06:45:47 ---> d10569e2745f 06:45:47 Step 13/22 : ENV APP_PORT=49990 06:45:47 ---> Running in ccc2ad0899b3 06:45:48 Removing intermediate container ccc2ad0899b3 06:45:48 ---> a6e4ad48b5ff 06:45:48 Step 14/22 : EXPOSE $APP_PORT 06:45:48 ---> Running in 75b29f4b5b2f 06:45:49 Removing intermediate container 75b29f4b5b2f 06:45:49 ---> a2f548572d15 06:45:49 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:45:50 ---> c87814337d95 06:45:50 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:45:50 ---> 48379a7b6127 06:45:50 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:45:51 ---> 46b64e78303d 06:45:51 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:45:51 ---> Running in 6181af594a66 06:45:52 Removing intermediate container 6181af594a66 06:45:52 ---> 8a8635634224 06:45:52 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:52 ---> Running in 6ea1317fee92 06:45:52 Removing intermediate container 6ea1317fee92 06:45:52 ---> b4fdfb69dbc2 06:45:52 Step 20/22 : LABEL arch=arm64 06:45:52 ---> Running in 1c4f12c62aa5 06:45:53 Removing intermediate container 1c4f12c62aa5 06:45:53 ---> c62259f749e8 06:45:53 Step 21/22 : LABEL git_sha=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd 06:45:53 ---> Running in 54d74ee2ae96 06:45:54 Removing intermediate container 54d74ee2ae96 06:45:54 ---> 0aa98b307874 06:45:54 Step 22/22 : LABEL version=0.0.0 06:45:54 ---> Running in aa29dcf047a0 06:45:54 Removing intermediate container aa29dcf047a0 06:45:54 ---> d03b04433d4c 06:45:54 [Warning] One or more build-args [ARCH] were not consumed 06:45:54 Successfully built d03b04433d4c 06:45:54 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:45:55 ---> job-cost.sh 06:45:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fyfk 06:46:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:48:11 lf-activate-venv(): INFO: Adding /tmp/venv-fyfk/bin to PATH 06:48:11 INFO: No Stack... 06:48:11 INFO: Retrieving Pricing Info for: lf-standard-4 06:48:11 INFO: Archiving Costs [Pipeline] sh 06:48:11 + + catcut /w/workspace/device-virtual-go/6/archives/cost.csv -d, -f6 06:48:11 [Pipeline] lock 06:48:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] 06:48:11 Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] did not exist. Created. 06:48:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:48:12 /w/workspace/device-virtual-go/6@tmp/durable-7423bab2/script.sh: 1: /w/workspace/device-virtual-go/6@tmp/durable-7423bab2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:48:12 + echo total: 0.20999999344348907 [Pipeline] stash 06:48:12 Warning: overwriting stash ‘stack-cost’ 06:48:12 Stashed 1 file(s) [Pipeline] } 06:48:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-6-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:48:14 provisioning config files... 06:48:14 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config4468005199726721063tmp [Pipeline] { [Pipeline] sh 06:48:14 + set +x 06:48:14 + curl -s https://codecov.io/bash 06:48:14 + bash -s -- 06:48:14 06:48:14 _____ _ 06:48:14 / ____| | | 06:48:14 | | ___ __| | ___ ___ _____ __ 06:48:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:48:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:48:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:48:14 Bash-20210309-2b87ace 06:48:14 06:48:14 06:48:14 ==> git version 2.24.3 found 06:48:14 ==> 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:48:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:48:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:48:14 ==> Jenkins CI detected. 06:48:14 project root: . 06:48:14 --> token set from env 06:48:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:48:14 ==> Running gcov in . (disable via -X gcov) 06:48:14 ==> Python coveragepy not found 06:48:14 ==> Searching for coverage reports in: 06:48:14 + . 06:48:14 -> Found 1 reports 06:48:14 ==> Detecting git/mercurial file structure 06:48:14 ==> Reading reports 06:48:14 + ./coverage.out bytes=47247 06:48:14 ==> Appending adjustments 06:48:14 https://docs.codecov.io/docs/fixing-reports 06:48:15 + Found adjustments 06:48:15 ==> Gzipping contents 06:48:15 8.0K /tmp/codecov.D04AmM.gz 06:48:15 ==> Uploading reports 06:48:15 url: https://codecov.io 06:48:15 query: branch=PR-169&commit=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 06:48:15 -> Pinging Codecov 06:48:15 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-169&commit=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= 06:48:15 -> Uploading to 06:48:15 https://storage.googleapis.com/codecov/v4/raw/2021-03-18/5E52B4B073DB2E39498172D8E973AA87/e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd/4e2a7b17-2098-4373-86ee-76717cce516c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T064815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d378e8405e1d6c10e85515f1e158a30c920b26f9413599c9af55f758ac8fbea 06:48:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:48:15 Dload Upload Total Spent Left Speed 06:48:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5789 0 0 100 5789 0 14121 --:--:-- --:--:-- --:--:-- 14119 06:48:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [Pipeline] } 06:48:16 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:48:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:48:19 ---> package-listing.sh 06:48:19 ++ facter osfamily 06:48:19 ++ tr '[:upper:]' '[:lower:]' 06:48:19 + OS_FAMILY=redhat 06:48:19 + workspace=/w/workspace/foundry_device-virtual-go_PR-169 06:48:19 + START_PACKAGES=/tmp/packages_start.txt 06:48:19 + END_PACKAGES=/tmp/packages_end.txt 06:48:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:48:19 + PACKAGES=/tmp/packages_start.txt 06:48:19 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 06:48:19 + PACKAGES=/tmp/packages_end.txt 06:48:19 + case "${OS_FAMILY}" in 06:48:19 + rpm -qa 06:48:19 + sort 06:48:24 + '[' -f /tmp/packages_start.txt ']' 06:48:24 + '[' -f /tmp/packages_end.txt ']' 06:48:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:48:24 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 06:48:24 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ 06:48:24 + 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:48:24 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:48:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:48:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:48:24 06:48:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:48:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:48:25 alpine: Pulling from edgex-lftools-log-publisher 06:48:25 df20fa9351a1: Pulling fs layer 06:48:25 36b3adc4ff6f: Pulling fs layer 06:48:25 8ad3a11d3b57: Pulling fs layer 06:48:25 46f8f816bc3b: Pulling fs layer 06:48:25 93b61091891f: Pulling fs layer 06:48:25 93b9cdb0e59b: Pulling fs layer 06:48:25 5e14af77c1be: Pulling fs layer 06:48:25 01666e4c0597: Pulling fs layer 06:48:25 aa168da1d23b: Pulling fs layer 06:48:25 93b9cdb0e59b: Waiting 06:48:25 5e14af77c1be: Waiting 06:48:25 01666e4c0597: Waiting 06:48:25 aa168da1d23b: Waiting 06:48:25 46f8f816bc3b: Waiting 06:48:25 93b61091891f: Waiting 06:48:25 36b3adc4ff6f: Verifying Checksum 06:48:25 36b3adc4ff6f: Download complete 06:48:25 46f8f816bc3b: Verifying Checksum 06:48:25 46f8f816bc3b: Download complete 06:48:25 df20fa9351a1: Verifying Checksum 06:48:25 df20fa9351a1: Download complete 06:48:25 93b9cdb0e59b: Verifying Checksum 06:48:25 93b9cdb0e59b: Download complete 06:48:25 5e14af77c1be: Verifying Checksum 06:48:25 5e14af77c1be: Download complete 06:48:25 93b61091891f: Download complete 06:48:25 01666e4c0597: Verifying Checksum 06:48:25 01666e4c0597: Download complete 06:48:25 df20fa9351a1: Pull complete 06:48:26 36b3adc4ff6f: Pull complete 06:48:26 8ad3a11d3b57: Download complete 06:48:27 8ad3a11d3b57: Pull complete 06:48:27 46f8f816bc3b: Pull complete 06:48:27 93b61091891f: Pull complete 06:48:28 aa168da1d23b: Verifying Checksum 06:48:28 aa168da1d23b: Download complete 06:48:28 93b9cdb0e59b: Pull complete 06:48:28 5e14af77c1be: Pull complete 06:48:28 01666e4c0597: Pull complete 06:48:36 aa168da1d23b: Pull complete 06:48:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:48:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:48:37 prd-centos7-docker-4c-2g-30270 does not seem to be running inside a container 06:48:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:48:40 $ docker top 2074beb8ad38a1335c26bde811169dc40b08ef6f01abc14c4dd75bb464bb95a6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:40 + touch /tmp/pre-build-complete [Pipeline] sh 06:48:41 + mkdir -p /var/log/sa [Pipeline] sh 06:48:41 + ls /var/log/sa-host 06:48:41 + sadf -c /var/log/sa-host/sa18 06:48:41 file_magic: OK 06:48:41 HZ: Using current value: 100 06:48:41 file_header: OK 06:48:41 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:48:41 Statistics: 06:48:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:48:41 File successfully converted to sysstat format version 12.2.1 06:48:41 + sadf -c /var/log/sa-host/sa23 06:48:41 file_magic: OK 06:48:41 HZ: Using current value: 100 06:48:41 file_header: OK 06:48:41 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:48:41 Statistics: 06:48:41 Hnuu...uuuununununu... 06:48:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:48:42 provisioning config files... 06:48:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1617567931132051749tmp [Pipeline] { [Pipeline] echo 06:48:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:48:42 ---> create-netrc.sh [Pipeline] } 06:48:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:48:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:48:42 ---> python-tools-install.sh [Pipeline] echo 06:48:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:48:43 ---> sudo-logs.sh 06:48:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:48:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:48:43 ---> job-cost.sh 06:48:43 lf-activate-venv: SKIPPING 06:48:43 DEBUG: total: 0.20999999344348907 06:48:43 INFO: Retrieving Stack Cost... 06:48:44 INFO: Retrieving Pricing Info for: v1-standard-2 06:48:45 INFO: Archiving Costs [Pipeline] echo 06:48:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:48:45 ---> logs-deploy.sh 06:48:45 lf-activate-venv: SKIPPING 06:48:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/6 06:48:45 INFO: archiving workspace using pattern(s): 06:48:47 Archives upload complete. 06:48:47 INFO: archiving logs to Nexus 06:48:48 ---> uname -a: 06:48:48 Linux prd-centos7-docker-4c-2g-30270.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:48:48 06:48:48 06:48:48 ---> lscpu: 06:48:48 Architecture: x86_64 06:48:48 CPU op-mode(s): 32-bit, 64-bit 06:48:48 Byte Order: Little Endian 06:48:48 Address sizes: 40 bits physical, 48 bits virtual 06:48:48 CPU(s): 4 06:48:48 On-line CPU(s) list: 0-3 06:48:48 Thread(s) per core: 1 06:48:48 Core(s) per socket: 1 06:48:48 Socket(s): 4 06:48:48 NUMA node(s): 1 06:48:48 Vendor ID: GenuineIntel 06:48:48 CPU family: 6 06:48:48 Model: 44 06:48:48 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:48:48 Stepping: 1 06:48:48 CPU MHz: 2933.436 06:48:48 BogoMIPS: 5866.87 06:48:48 Virtualization: VT-x 06:48:48 Hypervisor vendor: KVM 06:48:48 Virtualization type: full 06:48:48 L1d cache: 128 KiB 06:48:48 L1i cache: 128 KiB 06:48:48 L2 cache: 16 MiB 06:48:48 L3 cache: 64 MiB 06:48:48 NUMA node0 CPU(s): 0-3 06:48:48 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:48:48 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:48:48 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:48:48 Vulnerability Meltdown: Mitigation; PTI 06:48:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:48:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:48:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:48:48 Vulnerability Srbds: Not affected 06:48:48 Vulnerability Tsx async abort: Not affected 06:48:48 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:48:48 06:48:48 06:48:48 ---> nproc: 06:48:48 4 06:48:48 06:48:48 06:48:48 ---> df -h: 06:48:48 Filesystem Size Used Available Use% Mounted on 06:48:48 overlay 50.0G 7.3G 42.7G 15% / 06:48:48 tmpfs 64.0M 0 64.0M 0% /dev 06:48:48 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:48:48 shm 64.0M 0 64.0M 0% /dev/shm 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-169 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-169@tmp 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:48:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:48:48 06:48:48 06:48:48 ---> free -m: 06:48:48 total used free shared buff/cache available 06:48:48 Mem: 1837 708 105 0 1023 1023 06:48:48 Swap: 1023 1 1022 06:48:48 06:48:48 06:48:48 ---> ip addr: 06:48:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:48:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:48:48 inet 127.0.0.1/8 scope host lo 06:48:48 valid_lft forever preferred_lft forever 06:48:48 inet6 ::1/128 scope host 06:48:48 valid_lft forever preferred_lft forever 06:48:48 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:48:48 link/ether fa:16:3e:d4:4f:b4 brd ff:ff:ff:ff:ff:ff 06:48:48 inet 10.30.122.100/23 brd 10.30.123.255 scope global dynamic eth0 06:48:48 valid_lft 85811sec preferred_lft 85811sec 06:48:48 inet6 fe80::f816:3eff:fed4:4fb4/64 scope link 06:48:48 valid_lft forever preferred_lft forever 06:48:48 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:48:48 link/ether 02:42:8d:e6:0e:21 brd ff:ff:ff:ff:ff:ff 06:48:48 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:48:48 valid_lft forever preferred_lft forever 06:48:48 inet6 fe80::42:8dff:fee6:e21/64 scope link 06:48:48 valid_lft forever preferred_lft forever 06:48:48 06:48:48 06:48:48 ---> sar -b -r -n DEV: 06:48:48 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:48:48 06:48:48 06:38:48 LINUX RESTART (4 CPU) 06:48:48 06:48:48 06:40:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:48:48 06:41:01 3.33 0.03 3.30 0.00 1.07 111.26 0.00 06:48:48 06:42:01 0.50 0.00 0.50 0.00 0.00 6.79 0.00 06:48:48 06:43:01 0.28 0.00 0.28 0.00 0.00 3.93 0.00 06:48:48 06:44:01 0.18 0.00 0.18 0.00 0.00 1.88 0.00 06:48:48 06:45:02 0.27 0.00 0.27 0.00 0.00 3.95 0.00 06:48:48 06:46:01 0.29 0.00 0.29 0.00 0.00 2.91 0.00 06:48:48 06:47:01 0.28 0.00 0.28 0.00 0.00 3.06 0.00 06:48:48 06:48:01 0.22 0.00 0.22 0.00 0.00 2.16 0.00 06:48:48 Average: 0.67 0.00 0.67 0.00 0.13 17.02 0.00 06:48:48 06:48:48 06:40:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:48:48 06:41:01 160460 0 604624 32.13 2620 1113840 1072652 36.61 430832 1092604 16 06:48:48 06:42:01 160088 0 604992 32.15 2620 1113844 1072804 36.61 430896 1093228 16 06:48:48 06:43:01 157768 0 607304 32.28 2620 1113852 1072924 36.62 447652 1078960 12 06:48:48 06:44:01 159000 0 606072 32.21 2620 1113852 1072716 36.61 441300 1083864 8 06:48:48 06:45:02 157448 0 607616 32.29 2620 1113860 1072792 36.61 447808 1079076 8 06:48:48 06:46:01 158016 0 607044 32.26 2620 1113864 1072720 36.61 458144 1068360 8 06:48:48 06:47:01 158256 0 606800 32.25 2620 1113868 1072720 36.61 458272 1068360 8 06:48:48 06:48:01 158272 0 606780 32.25 2620 1113872 1072720 36.61 458152 1068360 8 06:48:48 Average: 158664 0 606404 32.23 2620 1113856 1072756 36.61 446632 1079102 10 06:48:48 06:48:48 06:40:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:48:48 06:41:01 eth0 0.55 0.12 0.04 0.06 0.00 0.00 0.00 0.00 06:48:48 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:42:01 eth0 0.92 0.32 0.97 0.02 0.00 0.00 0.00 0.00 06:48:48 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:43:01 eth0 1.55 0.87 0.86 0.56 0.00 0.00 0.00 0.00 06:48:48 06:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:44:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 06:48:48 06:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:45:02 eth0 0.30 0.18 0.14 0.07 0.00 0.00 0.00 0.00 06:48:48 06:45:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:45:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:46:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 06:48:48 06:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:47:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:48:48 06:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:48:01 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 06:48:48 06:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 Average: eth0 0.46 0.22 0.26 0.10 0.00 0.00 0.00 0.00 06:48:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:48:48 06:48:48 06:48:48 ---> sar -P ALL: 06:48:48 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:48:48 06:48:48 06:38:48 LINUX RESTART (4 CPU) 06:48:48 06:48:48 06:40:01 CPU %user %nice %system %iowait %steal %idle 06:48:48 06:41:01 all 0.19 0.00 0.05 0.00 0.00 99.76 06:48:48 06:41:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:48:48 06:41:01 1 0.15 0.00 0.02 0.00 0.00 99.83 06:48:48 06:41:01 2 0.12 0.00 0.07 0.00 0.00 99.82 06:48:48 06:41:01 3 0.43 0.00 0.07 0.00 0.00 99.50 06:48:48 06:42:01 all 0.15 0.00 0.05 0.00 0.00 99.80 06:48:48 06:42:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:48:48 06:42:01 1 0.37 0.00 0.08 0.00 0.00 99.55 06:48:48 06:42:01 2 0.15 0.00 0.08 0.00 0.00 99.77 06:48:48 06:42:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:48:48 06:43:01 all 0.04 0.00 0.05 0.00 0.01 99.90 06:48:48 06:43:01 0 0.03 0.00 0.05 0.00 0.00 99.92 06:48:48 06:43:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:48:48 06:43:01 2 0.03 0.00 0.05 0.00 0.02 99.90 06:48:48 06:43:01 3 0.05 0.00 0.07 0.00 0.02 99.87 06:48:48 06:44:01 all 0.15 0.00 0.05 0.00 0.00 99.80 06:48:48 06:44:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:48:48 06:44:01 1 0.03 0.00 0.05 0.00 0.02 99.90 06:48:48 06:44:01 2 0.52 0.00 0.05 0.00 0.00 99.43 06:48:48 06:44:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:48:48 06:45:02 all 0.15 0.00 0.04 0.00 0.00 99.81 06:48:48 06:45:02 0 0.02 0.00 0.03 0.00 0.02 99.93 06:48:48 06:45:02 1 0.05 0.00 0.05 0.00 0.00 99.90 06:48:48 06:45:02 2 0.50 0.00 0.02 0.00 0.00 99.48 06:48:48 06:45:02 3 0.02 0.00 0.07 0.00 0.00 99.92 06:48:48 06:46:01 all 0.17 0.00 0.05 0.00 0.00 99.79 06:48:48 06:46:01 0 0.52 0.00 0.03 0.00 0.00 99.44 06:48:48 06:46:01 1 0.07 0.00 0.07 0.00 0.00 99.86 06:48:48 06:46:01 2 0.03 0.00 0.02 0.00 0.00 99.95 06:48:48 06:46:01 3 0.03 0.00 0.07 0.00 0.00 99.90 06:48:48 06:47:01 all 0.15 0.00 0.04 0.00 0.00 99.80 06:48:48 06:47:01 0 0.50 0.00 0.02 0.00 0.00 99.48 06:48:48 06:47:01 1 0.05 0.00 0.05 0.00 0.00 99.90 06:48:48 06:47:01 2 0.02 0.00 0.03 0.00 0.00 99.95 06:48:48 06:47:01 3 0.05 0.00 0.05 0.00 0.02 99.88 06:48:48 06:48:01 all 0.15 0.00 0.04 0.00 0.00 99.81 06:48:48 06:48:01 0 0.48 0.00 0.03 0.00 0.00 99.48 06:48:48 06:48:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:48:48 06:48:01 2 0.05 0.00 0.05 0.00 0.00 99.90 06:48:48 06:48:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:48:48 Average: all 0.14 0.00 0.05 0.00 0.00 99.81 06:48:48 Average: 0 0.21 0.00 0.04 0.00 0.00 99.76 06:48:48 Average: 1 0.10 0.00 0.05 0.00 0.00 99.85 06:48:48 Average: 2 0.18 0.00 0.05 0.00 0.00 99.77 06:48:48 Average: 3 0.09 0.00 0.05 0.00 0.00 99.85 06:48:48 06:48:48 06:48:48