Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0e86f3501108c0ee69c453288a9e9d71702abefc+dd55ff443bd180714a9cddb6bbe47fafb89756c5 (a6fbc4a0f0f4d652e6067c54a426a5af47d482bb) 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 ‘prd-centos7-docker-4c-2g-32521’ Running on prd-centos7-docker-4c-2g-32523 in /w/workspace/foundry_device-virtual-go_PR-173 [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-173 # 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/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dd55ff443bd180714a9cddb6bbe47fafb89756c5 into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc Merge succeeded, producing 3cd42c14cf87f5b60f16443d40a5d348c92cc51b Checking out Revision 3cd42c14cf87f5b60f16443d40a5d348c92cc51b (PR-173) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # 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 dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cd42c14cf87f5b60f16443d40a5d348c92cc51b # timeout=10 Commit message: "Merge commit 'dd55ff443bd180714a9cddb6bbe47fafb89756c5' into HEAD" > git rev-list --no-walk 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:14:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:14:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:14:09 ========================================================= 00:14:09 EdgeX Global Pipelines Version Info 00:14:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:14:11 ------------------- 00:14:11 stable info: 00:14:11 ------------------- 00:14:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:11 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:14:11 Message: update stable to v1.0.186 00:14:12 ------------------- 00:14:12 experimental info: 00:14:12 ------------------- 00:14:12 Commited By: **** collab-it+edgex@linuxfoundation.org 00:14:12 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 00:14:12 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:14:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:14:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:14:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:14:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:14:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:14:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:14:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:14:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:14:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:14:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 00:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 00:14:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 00:14:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cd42c14cf87f5b60f16443d40a5d348c92cc51b [Pipeline] echo 00:14:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cd42c1 [Pipeline] echo 00:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:14:17 provisioning config files... 00:14:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config4066252022651119478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:17 ---> docker-login.sh 00:14:17 nexus3.edgexfoundry.org:10001 00:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:18 Configure a credential helper to remove this warning. See 00:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:18 00:14:18 Login Succeeded 00:14:18 nexus3.edgexfoundry.org:10002 00:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:18 Configure a credential helper to remove this warning. See 00:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:18 00:14:18 Login Succeeded 00:14:18 nexus3.edgexfoundry.org:10003 00:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:18 Configure a credential helper to remove this warning. See 00:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:18 00:14:18 Login Succeeded 00:14:18 nexus3.edgexfoundry.org:10004 00:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:18 Configure a credential helper to remove this warning. See 00:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:18 00:14:18 Login Succeeded 00:14:18 docker.io 00:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:19 Configure a credential helper to remove this warning. See 00:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:19 00:14:19 Login Succeeded 00:14:19 ---> docker-login.sh ends [Pipeline] } 00:14:19 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 00:14:19 + git log --format=format:%s -1 3cd42c14cf87f5b60f16443d40a5d348c92cc51b [Pipeline] echo 00:14:19 GIT_COMMIT: 3cd42c14cf87f5b60f16443d40a5d348c92cc51b, Commit Message: Merge commit 'dd55ff443bd180714a9cddb6bbe47fafb89756c5' into HEAD [Pipeline] echo 00:14:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:14:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:14:20 00:14:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:14:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:14:20 latest: Pulling from edgex-devops/git-semver 00:14:20 31603596830f: Pulling fs layer 00:14:20 2a8b12db71e7: Pulling fs layer 00:14:20 6ca5941a6612: Pulling fs layer 00:14:20 ecc8261a40a4: Pulling fs layer 00:14:20 ecc8261a40a4: Waiting 00:14:20 2a8b12db71e7: Verifying Checksum 00:14:20 2a8b12db71e7: Download complete 00:14:20 31603596830f: Verifying Checksum 00:14:20 31603596830f: Download complete 00:14:21 6ca5941a6612: Verifying Checksum 00:14:21 6ca5941a6612: Download complete 00:14:21 ecc8261a40a4: Verifying Checksum 00:14:21 ecc8261a40a4: Download complete 00:14:21 31603596830f: Pull complete 00:14:21 2a8b12db71e7: Pull complete 00:14:22 6ca5941a6612: Pull complete 00:14:22 ecc8261a40a4: Pull complete 00:14:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:14:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:14:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:14:23 prd-centos7-docker-4c-2g-32523 does not seem to be running inside a container 00:14:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-173 -v /w/workspace/foundry_device-virtual-go_PR-173:/w/workspace/foundry_device-virtual-go_PR-173:rw,z -v /w/workspace/foundry_device-virtual-go_PR-173@tmp:/w/workspace/foundry_device-virtual-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:14:25 $ docker top bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:25 [ssh-agent] Looking for ssh-agent implementation... 00:14:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:25 $ docker exec bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf ssh-agent 00:14:25 SSH_AUTH_SOCK=/tmp/ssh-h3avdHWvQe9u/agent.11 00:14:25 SSH_AGENT_PID=17 00:14:26 Running ssh-add (command line suppressed) 00:14:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_8334059166649066131.key (/w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_8334059166649066131.key) 00:14:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:26 + git tag --points-at HEAD [Pipeline] } 00:14:26 $ docker exec --env ******** --env ******** bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf ssh-agent -k 00:14:26 unset SSH_AUTH_SOCK; 00:14:26 unset SSH_AGENT_PID; 00:14:26 echo Agent pid 17 killed; 00:14:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:14:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:26 [ssh-agent] Looking for ssh-agent implementation... 00:14:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:27 $ docker exec bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf ssh-agent 00:14:27 SSH_AUTH_SOCK=/tmp/ssh-kNH7msGf6NMN/agent.47 00:14:27 SSH_AGENT_PID=52 00:14:27 Running ssh-add (command line suppressed) 00:14:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_2117857141859104766.key (/w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_2117857141859104766.key) 00:14:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:27 + git semver init 00:14:27 # -> Open(): unable to determine branch for HEAD 00:14:27 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-173/.git 00:14:27 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-173 00:14:27 # $SEMVER_REMOTE_NAME = origin 00:14:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:14:27 # $SEMVER_USER_NAME = edgex-jenkins 00:14:27 # $SEMVER_BRANCH = PR-173 00:14:27 # $SEMVER_TEMP = /tmp/semver-024485667 00:14:27 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:14:28 # '/tmp/semver-024485667' -> '/w/workspace/foundry_device-virtual-go_PR-173/.semver' 00:14:28 # -> Force: false 00:14:28 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-173/.semver [Pipeline] } 00:14:28 $ docker exec --env ******** --env ******** bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf ssh-agent -k 00:14:28 unset SSH_AUTH_SOCK; 00:14:28 unset SSH_AGENT_PID; 00:14:28 echo Agent pid 52 killed; 00:14:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:29 + git semver [Pipeline] } 00:14:29 $ docker stop --time=1 bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf 00:14:30 $ docker rm -f bfff57beafbd14166a5f351ce5effbfaf9ce05bc733bccce159217ae5732dadf [Pipeline] // withDockerContainer [Pipeline] sh 00:14:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:14:31 Stashed 1 file(s) [Pipeline] echo 00:14:31 [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 00:14:46 Still waiting to schedule task 00:14:46 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:14:46 Still waiting to schedule task 00:14:46 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32522’ 00:16:32 Running on prd-centos7-docker-4c-2g-32525 in /w/workspace/foundry_device-virtual-go_PR-173 [Pipeline] { [Pipeline] ws 00:16:32 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:35 using credential edgex-jenkins-ssh 00:16:35 Cloning the remote Git repository 00:16:35 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:35 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:35 > git --version # timeout=10 00:16:35 > git --version # 'git version 2.24.3' 00:16:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:36 Merging remotes/origin/master commit dd55ff443bd180714a9cddb6bbe47fafb89756c5 into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc 00:16:36 Merge succeeded, producing d479ed13585dbe07034c152e7ee0aa3e0bd04990 00:16:36 Checking out Revision d479ed13585dbe07034c152e7ee0aa3e0bd04990 (PR-173) 00:16:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:16:36 > git config core.sparsecheckout # timeout=10 00:16:36 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 00:16:36 > git remote # timeout=10 00:16:36 > git config --get remote.origin.url # timeout=10 00:16:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:36 > git merge dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 00:16:36 > git rev-parse HEAD^{commit} # timeout=10 00:16:36 > git config core.sparsecheckout # timeout=10 00:16:36 > git checkout -f d479ed13585dbe07034c152e7ee0aa3e0bd04990 # timeout=10 00:16:40 Commit message: "Merge commit 'dd55ff443bd180714a9cddb6bbe47fafb89756c5' into HEAD" 00:16:40 > git rev-list --no-walk 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:41 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:16:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:16:42 + true 00:16:42 + sudo service docker restart 00:16:42 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:16:44 provisioning config files... 00:16:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config2966759834705867448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:44 ---> docker-login.sh 00:16:44 nexus3.edgexfoundry.org:10001 00:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:44 Configure a credential helper to remove this warning. See 00:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:44 00:16:44 Login Succeeded 00:16:44 nexus3.edgexfoundry.org:10002 00:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:45 Configure a credential helper to remove this warning. See 00:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:45 00:16:45 Login Succeeded 00:16:45 nexus3.edgexfoundry.org:10003 00:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:45 Configure a credential helper to remove this warning. See 00:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:45 00:16:45 Login Succeeded 00:16:45 nexus3.edgexfoundry.org:10004 00:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:45 Configure a credential helper to remove this warning. See 00:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:45 00:16:45 Login Succeeded 00:16:45 docker.io 00:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:46 Configure a credential helper to remove this warning. See 00:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:46 00:16:46 Login Succeeded 00:16:46 ---> docker-login.sh ends [Pipeline] } 00:16:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:46 ========================================================= 00:16:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:16:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:16:46 + 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 . 00:16:46 Sending build context to Docker daemon 499.7kB 00:16:46 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:16:46 Step 2/8 : FROM ${BASE} 00:16:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:16:47 188c0c94c7c5: Pulling fs layer 00:16:47 0ef7d3d256c8: Pulling fs layer 00:16:47 de9db76c5a1d: Pulling fs layer 00:16:47 bca2f99d35d6: Pulling fs layer 00:16:47 93359f2a8cfa: Pulling fs layer 00:16:47 7c6f9722023f: Pulling fs layer 00:16:47 a35cf1a2eb13: Pulling fs layer 00:16:47 93359f2a8cfa: Waiting 00:16:47 7c6f9722023f: Waiting 00:16:47 a35cf1a2eb13: Waiting 00:16:47 bca2f99d35d6: Waiting 00:16:47 de9db76c5a1d: Verifying Checksum 00:16:47 de9db76c5a1d: Download complete 00:16:47 93359f2a8cfa: Verifying Checksum 00:16:47 93359f2a8cfa: Download complete 00:16:47 7c6f9722023f: Download complete 00:16:47 188c0c94c7c5: Verifying Checksum 00:16:47 188c0c94c7c5: Download complete 00:16:47 188c0c94c7c5: Pull complete 00:16:47 0ef7d3d256c8: Pull complete 00:16:47 de9db76c5a1d: Pull complete 00:16:48 a35cf1a2eb13: Verifying Checksum 00:16:48 a35cf1a2eb13: Download complete 00:16:49 bca2f99d35d6: Verifying Checksum 00:16:49 bca2f99d35d6: Download complete 00:16:55 bca2f99d35d6: Pull complete 00:16:55 93359f2a8cfa: Pull complete 00:16:55 7c6f9722023f: Pull complete 00:17:01 a35cf1a2eb13: Pull complete 00:17:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:17:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:17:01 ---> a62c8e92a672 00:17:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:17:01 ---> Running in 08bd9c379bdd 00:17:01 Removing intermediate container 08bd9c379bdd 00:17:01 ---> 64e73ae6ebc7 00:17:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:01 ---> Running in c443f6b4e8d0 00:17:02 Removing intermediate container c443f6b4e8d0 00:17:02 ---> 97c8905df801 00:17:02 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:17:02 ---> Running in 9e7b7febac24 00:17:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:17:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:17:05 (1/14) Installing libmagic (5.38-r0) 00:17:05 (2/14) Installing file (5.38-r0) 00:17:05 (3/14) Installing libc-dev (0.7.2-r3) 00:17:05 (4/14) Installing g++ (9.3.0-r2) 00:17:10 (5/14) Installing fortify-headers (1.1-r0) 00:17:10 (6/14) Installing patch (2.7.6-r6) 00:17:10 (7/14) Installing build-base (0.5-r2) 00:17:10 (8/14) Installing openssh-keygen (8.3_p1-r2) 00:17:10 (9/14) Installing libedit (20191231.3.1-r0) 00:17:10 (10/14) Installing openssh-client (8.3_p1-r2) 00:17:11 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 00:17:11 (12/14) Installing openssh-server-common (8.3_p1-r2) 00:17:11 (13/14) Installing openssh-server (8.3_p1-r2) 00:17:11 (14/14) Installing openssh (8.3_p1-r2) 00:17:11 Executing busybox-1.31.1-r19.trigger 00:17:11 OK: 237 MiB in 53 packages 00:17:15 Removing intermediate container 9e7b7febac24 00:17:15 ---> 876faae71ca7 00:17:15 Step 6/8 : WORKDIR /device-virtual-go 00:17:15 ---> Running in b623676e9c58 00:17:15 Removing intermediate container b623676e9c58 00:17:15 ---> f72487af7721 00:17:15 Step 7/8 : COPY . . 00:17:15 ---> a4ab612e8e65 00:17:15 Step 8/8 : RUN go mod download 00:17:15 ---> Running in 9c65f37378b9 00:17:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32526 in /w/workspace/foundry_device-virtual-go_PR-173 [Pipeline] { [Pipeline] ws 00:17:27 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:17:33 using credential edgex-jenkins-ssh 00:17:33 Cloning the remote Git repository 00:17:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:17:33 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:17:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:17:33 > git --version # timeout=10 00:17:33 > git --version # 'git version 2.17.1' 00:17:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:34 Merging remotes/origin/master commit dd55ff443bd180714a9cddb6bbe47fafb89756c5 into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc 00:17:35 Merge succeeded, producing 5b30d5989a5abb2b34b9a6f05e78dbb758ffcd6a 00:17:35 Checking out Revision 5b30d5989a5abb2b34b9a6f05e78dbb758ffcd6a (PR-173) 00:17:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:17:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:17:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:17:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:17:34 > git config core.sparsecheckout # timeout=10 00:17:34 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 00:17:35 > git remote # timeout=10 00:17:35 > git config --get remote.origin.url # timeout=10 00:17:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:35 > git merge dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 00:17:35 > git rev-parse HEAD^{commit} # timeout=10 00:17:35 > git config core.sparsecheckout # timeout=10 00:17:35 > git checkout -f 5b30d5989a5abb2b34b9a6f05e78dbb758ffcd6a # timeout=10 00:17:37 Removing intermediate container 9c65f37378b9 00:17:37 ---> 3b26cfe814c7 00:17:37 Successfully built 3b26cfe814c7 00:17:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:17:38 + docker inspect -f . ci-base-image-x86_64 00:17:38 . [Pipeline] withDockerContainer 00:17:38 prd-centos7-docker-4c-2g-32525 does not seem to be running inside a container 00:17:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:17:39 Commit message: "Merge commit 'dd55ff443bd180714a9cddb6bbe47fafb89756c5' into HEAD" 00:17:39 $ docker top 24b238a61dc89a091c72ec3dc6e1a2679c3faad4cb64dcb36a8e2668c2665931 -eo pid,comm 00:17:39 > git rev-list --no-walk 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:17:40 + go version 00:17:40 go version go1.15.5 linux/amd64 [Pipeline] } 00:17:40 $ docker stop --time=1 24b238a61dc89a091c72ec3dc6e1a2679c3faad4cb64dcb36a8e2668c2665931 00:17:41 $ docker rm -f 24b238a61dc89a091c72ec3dc6e1a2679c3faad4cb64dcb36a8e2668c2665931 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:42 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 00:17:42 + docker inspect -f . ci-base-image-x86_64 00:17:42 . [Pipeline] sh [Pipeline] withDockerContainer 00:17:43 prd-centos7-docker-4c-2g-32525 does not seem to be running inside a container 00:17:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:17:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 00:17:43 $ docker top 7a228035dc858eb1a88da514453969d565c1ffc924f51dd81f6b60a2848996e8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 00:17:44 + sudo service docker restart 00:17:44 + true 00:17:44 + make test 00:17:44 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:46 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:17:46 provisioning config files... 00:17:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5718688946315142211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:46 ---> docker-login.sh 00:17:46 nexus3.edgexfoundry.org:10001 00:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:48 Configure a credential helper to remove this warning. See 00:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:48 00:17:48 Login Succeeded 00:17:48 nexus3.edgexfoundry.org:10002 00:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:48 Configure a credential helper to remove this warning. See 00:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:48 00:17:48 Login Succeeded 00:17:48 nexus3.edgexfoundry.org:10003 00:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:48 Configure a credential helper to remove this warning. See 00:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:48 00:17:48 Login Succeeded 00:17:48 nexus3.edgexfoundry.org:10004 00:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:49 Configure a credential helper to remove this warning. See 00:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:49 00:17:49 Login Succeeded 00:17:49 docker.io 00:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:50 Configure a credential helper to remove this warning. See 00:17:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:50 00:17:50 Login Succeeded 00:17:50 ---> docker-login.sh ends [Pipeline] } 00:17:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:17:50 ========================================================= 00:17:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:17:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:17:51 + 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 . 00:17:51 Sending build context to Docker daemon 498.7kB 00:17:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:17:51 Step 2/8 : FROM ${BASE} 00:17:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:17:51 5f621e34cdf4: Pulling fs layer 00:17:51 a4357932f1b6: Pulling fs layer 00:17:51 18c013af1878: Pulling fs layer 00:17:51 00ac8860ef70: Pulling fs layer 00:17:51 63d7cb157983: Pulling fs layer 00:17:51 b116817d02f9: Pulling fs layer 00:17:51 745a02a5169b: Pulling fs layer 00:17:51 00ac8860ef70: Waiting 00:17:51 b116817d02f9: Waiting 00:17:51 63d7cb157983: Waiting 00:17:51 18c013af1878: Verifying Checksum 00:17:51 18c013af1878: Download complete 00:17:51 a4357932f1b6: Download complete 00:17:51 63d7cb157983: Verifying Checksum 00:17:51 63d7cb157983: Download complete 00:17:51 b116817d02f9: Verifying Checksum 00:17:51 b116817d02f9: Download complete 00:17:51 5f621e34cdf4: Verifying Checksum 00:17:51 5f621e34cdf4: Download complete 00:17:52 5f621e34cdf4: Pull complete 00:17:53 a4357932f1b6: Pull complete 00:17:53 18c013af1878: Pull complete 00:17:54 745a02a5169b: Verifying Checksum 00:17:54 745a02a5169b: Download complete 00:17:55 00ac8860ef70: Verifying Checksum 00:17:55 00ac8860ef70: Download complete 00:18:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:18:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.351s coverage: 63.8% of statements 00:18:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:18:06 00ac8860ef70: Pull complete 00:18:06 63d7cb157983: Pull complete 00:18:06 b116817d02f9: Pull complete 00:18:06 gofmt -l . 00:18:06 [ "`gofmt -l .`" = "" ] 00:18:06 ./bin/test-attribution-txt.sh 00:18:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:18:07 $ docker stop --time=1 7a228035dc858eb1a88da514453969d565c1ffc924f51dd81f6b60a2848996e8 00:18:09 $ docker rm -f 7a228035dc858eb1a88da514453969d565c1ffc924f51dd81f6b60a2848996e8 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:10 745a02a5169b: Pull complete 00:18:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:18:10 ---> b7e6874047d6 00:18:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:18:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:18:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:12 + ls -al . 00:18:12 total 128 00:18:12 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 2 00:18 . 00:18:12 drwxrwxr-x. 4 jenkins jenkins 28 Apr 2 00:16 .. 00:18:12 -rw-rw-r--. 1 jenkins jenkins 7136 Apr 2 00:16 Attribution.txt 00:18:12 drwxrwxr-x. 2 jenkins jenkins 64 Apr 2 00:16 bin 00:18:12 drwxrwxr-x. 3 jenkins jenkins 32 Apr 2 00:16 cmd 00:18:12 -rw-r--r--. 1 jenkins jenkins 47247 Apr 2 00:18 coverage.out 00:18:12 -rw-rw-r--. 1 jenkins jenkins 1851 Apr 2 00:16 Dockerfile 00:18:12 -rw-rw-r--. 1 jenkins jenkins 961 Apr 2 00:16 Dockerfile.build 00:18:12 drwxrwxr-x. 8 jenkins jenkins 179 Apr 2 00:16 .git 00:18:12 drwxrwxr-x. 2 jenkins jenkins 103 Apr 2 00:16 .github 00:18:12 -rw-rw-r--. 1 jenkins jenkins 258 Apr 2 00:16 .gitignore 00:18:12 -rw-r--r--. 1 jenkins jenkins 809 Apr 2 00:18 go.mod 00:18:12 -rw-r--r--. 1 jenkins jenkins 20000 Apr 2 00:18 go.sum 00:18:12 drwxrwxr-x. 3 jenkins jenkins 20 Apr 2 00:16 internal 00:18:12 -rw-rw-r--. 1 jenkins jenkins 660 Apr 2 00:16 Jenkinsfile 00:18:12 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 2 00:16 LICENSE 00:18:12 -rw-rw-r--. 1 jenkins jenkins 873 Apr 2 00:16 Makefile 00:18:12 -rw-rw-r--. 1 jenkins jenkins 918 Apr 2 00:16 README.md 00:18:12 -rw-rw-r--. 1 jenkins jenkins 5 Apr 2 00:14 VERSION 00:18:12 -rw-rw-r--. 1 jenkins jenkins 235 Apr 2 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:12 ---> Running in ea301fbf8947 00:18:13 + 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=3cd42c14cf87f5b60f16443d40a5d348c92cc51b --label arch=amd64 --label version=0.0.0 . 00:18:13 Removing intermediate container ea301fbf8947 00:18:13 ---> 148928395c41 00:18:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:13 Sending build context to Docker daemon 568.8kB 00:18:13 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:13 Step 2/22 : FROM ${BASE} AS builder 00:18:13 ---> 3b26cfe814c7 00:18:13 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:13 ---> Running in cad7ee4b2869 00:18:13 ---> Running in 7097c2c9cf50 00:18:13 Removing intermediate container 7097c2c9cf50 00:18:13 ---> f2611770acac 00:18:13 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:13 ---> Running in cad5541f832e 00:18:14 Removing intermediate container cad5541f832e 00:18:14 ---> c95c10d888ff 00:18:14 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:14 ---> Running in 3ec554d1cd6d 00:18:14 Removing intermediate container 3ec554d1cd6d 00:18:14 ---> 00edac61c4bb 00:18:14 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:14 ---> Running in ffde64838b89 00:18:15 Removing intermediate container ffde64838b89 00:18:15 ---> be084e1c03f6 00:18:15 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:15 ---> Running in 6caf9bb591ff 00:18:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:18:16 Removing intermediate container cad7ee4b2869 00:18:16 ---> 004f57b135f5 00:18:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:18:16 ---> Running in fa91c804af2c 00:18:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:18:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:18:17 OK: 237 MiB in 53 packages 00:18:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:18:17 Removing intermediate container 6caf9bb591ff 00:18:17 ---> 1d293d09e9ca 00:18:17 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:18:18 ---> Running in 5a1bb5f2cd93 00:18:18 Removing intermediate container 5a1bb5f2cd93 00:18:18 ---> 1bcace186a4a 00:18:18 Step 9/22 : COPY . . 00:18:18 (1/14) Installing libmagic (5.38-r0) 00:18:18 (2/14) Installing file (5.38-r0) 00:18:18 (3/14) Installing libc-dev (0.7.2-r3) 00:18:18 (4/14) Installing g++ (9.3.0-r2) 00:18:19 ---> 046a45da34f1 00:18:19 Step 10/22 : ARG MAKE='make build' 00:18:19 ---> Running in 5c54cfa1343f 00:18:19 Removing intermediate container 5c54cfa1343f 00:18:19 ---> b3c9087f2764 00:18:19 Step 11/22 : RUN $MAKE 00:18:19 ---> Running in 3ff45bbbd96b 00:18:20 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:18:27 (5/14) Installing fortify-headers (1.1-r0) 00:18:27 (6/14) Installing patch (2.7.6-r6) 00:18:27 (7/14) Installing build-base (0.5-r2) 00:18:27 (8/14) Installing openssh-keygen (8.3_p1-r2) 00:18:27 (9/14) Installing libedit (20191231.3.1-r0) 00:18:27 (10/14) Installing openssh-client (8.3_p1-r2) 00:18:28 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 00:18:28 (12/14) Installing openssh-server-common (8.3_p1-r2) 00:18:28 (13/14) Installing openssh-server (8.3_p1-r2) 00:18:28 (14/14) Installing openssh (8.3_p1-r2) 00:18:28 Executing busybox-1.31.1-r19.trigger 00:18:28 OK: 221 MiB in 53 packages 00:18:33 Removing intermediate container fa91c804af2c 00:18:33 ---> cc47592d5160 00:18:33 Step 6/8 : WORKDIR /device-virtual-go 00:18:33 ---> Running in 5fdc592be863 00:18:33 Removing intermediate container 5fdc592be863 00:18:33 ---> f2179b896f2e 00:18:33 Step 7/8 : COPY . . 00:18:34 ---> c33974b913a1 00:18:34 Step 8/8 : RUN go mod download 00:18:34 ---> Running in 7a5fab82f75d 00:18:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:18:37 Removing intermediate container 3ff45bbbd96b 00:18:37 ---> bbdbdbf7477a 00:18:37 Step 12/22 : FROM alpine:3.12 00:18:37 3.12: Pulling from library/alpine 00:18:37 532819f3e44c: Pulling fs layer 00:18:37 532819f3e44c: Download complete 00:18:37 532819f3e44c: Pull complete 00:18:37 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 00:18:37 Status: Downloaded newer image for alpine:3.12 00:18:37 ---> 7230e588e954 00:18:37 Step 13/22 : ENV APP_PORT=49990 00:18:38 ---> Running in 34e45a6b5f3c 00:18:38 Removing intermediate container 34e45a6b5f3c 00:18:38 ---> fd7bc9d60e70 00:18:38 Step 14/22 : EXPOSE $APP_PORT 00:18:38 ---> Running in a44427b8592c 00:18:38 Removing intermediate container a44427b8592c 00:18:38 ---> fea134376886 00:18:38 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:18:39 ---> ea324276bb7b 00:18:39 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:18:39 ---> fec6dc67aaf9 00:18:39 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:18:39 ---> 9957138c662a 00:18:39 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:18:39 ---> Running in 56bd0cfd820a 00:18:39 Removing intermediate container 56bd0cfd820a 00:18:39 ---> 5dfe8ef31c4f 00:18:39 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:18:39 ---> Running in 31de24c2e9a6 00:18:40 Removing intermediate container 31de24c2e9a6 00:18:40 ---> 959e7b1a7133 00:18:40 Step 20/22 : LABEL arch=amd64 00:18:40 ---> Running in b2bd2715780f 00:18:40 Removing intermediate container b2bd2715780f 00:18:40 ---> cf1c5854df76 00:18:40 Step 21/22 : LABEL git_sha=3cd42c14cf87f5b60f16443d40a5d348c92cc51b 00:18:40 ---> Running in 018dcd067d5c 00:18:40 Removing intermediate container 018dcd067d5c 00:18:40 ---> 5caada6f5dda 00:18:40 Step 22/22 : LABEL version=0.0.0 00:18:40 ---> Running in 36dce19f9e72 00:18:40 Removing intermediate container 36dce19f9e72 00:18:40 ---> bbf6f48d6f40 00:18:40 [Warning] One or more build-args [ARCH] were not consumed 00:18:40 Successfully built bbf6f48d6f40 00:18:40 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 00:18:42 ---> job-cost.sh 00:18:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-L2dz 00:19:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:19:01 Removing intermediate container 7a5fab82f75d 00:19:01 ---> e2f623c197c2 00:19:01 Successfully built e2f623c197c2 00:19:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:19:01 + docker inspect -f . ci-base-image-arm64 00:19:01 . [Pipeline] withDockerContainer 00:19:01 prd-ubuntu18.04-docker-arm64-4c-16g-32526 does not seem to be running inside a container 00:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:19:03 $ docker top 4ef76d6d225f8ca5f94bfd07f6b930f108e8bf76ee5c67f87ae6faf922e40373 -eo pid,comm [Pipeline] { [Pipeline] sh 00:19:04 + go version 00:19:04 go version go1.15.5 linux/arm64 [Pipeline] } 00:19:04 $ docker stop --time=1 4ef76d6d225f8ca5f94bfd07f6b930f108e8bf76ee5c67f87ae6faf922e40373 00:19:06 $ docker rm -f 4ef76d6d225f8ca5f94bfd07f6b930f108e8bf76ee5c67f87ae6faf922e40373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:19:07 + docker inspect -f . ci-base-image-arm64 00:19:07 . [Pipeline] withDockerContainer 00:19:07 prd-ubuntu18.04-docker-arm64-4c-16g-32526 does not seem to be running inside a container 00:19:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:19:09 $ docker top c42a0a406ccdb141a37d2964f03dfeaaa53dc88bd029506a09239794123f9343 -eo pid,comm [Pipeline] { [Pipeline] sh 00:19:10 + make test 00:19:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:19:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:19:32 lf-activate-venv(): INFO: Adding /tmp/venv-L2dz/bin to PATH 00:19:32 INFO: No Stack... 00:19:32 INFO: Retrieving Pricing Info for: v1-standard-2 00:19:32 INFO: Archiving Costs [Pipeline] sh 00:19:32 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 00:19:32 + cut -d, -f6 [Pipeline] lock 00:19:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] 00:19:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] did not exist. Created. 00:19:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:33 + echo total: 0.029999999329447746 [Pipeline] stash 00:19:33 Stashed 1 file(s) [Pipeline] } 00:19:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:19:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:19:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.407s coverage: 63.8% of statements 00:19:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:20:07 gofmt -l . 00:20:07 [ "`gofmt -l .`" = "" ] 00:20:07 ./bin/test-attribution-txt.sh 00:20:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:20:08 $ docker stop --time=1 c42a0a406ccdb141a37d2964f03dfeaaa53dc88bd029506a09239794123f9343 00:20:10 $ docker rm -f c42a0a406ccdb141a37d2964f03dfeaaa53dc88bd029506a09239794123f9343 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:11 Warning: overwriting stash ‘coverage-report’ 00:20:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:13 + ls -al . 00:20:13 total 152 00:20:13 drwxrwxr-x 7 jenkins jenkins 4096 Apr 2 00:20 . 00:20:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 00:17 .. 00:20:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 00:17 .git 00:20:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 00:17 .github 00:20:13 -rw-rw-r-- 1 jenkins jenkins 258 Apr 2 00:17 .gitignore 00:20:13 -rw-rw-r-- 1 jenkins jenkins 7136 Apr 2 00:17 Attribution.txt 00:20:13 -rw-rw-r-- 1 jenkins jenkins 1851 Apr 2 00:17 Dockerfile 00:20:13 -rw-rw-r-- 1 jenkins jenkins 961 Apr 2 00:17 Dockerfile.build 00:20:13 -rw-rw-r-- 1 jenkins jenkins 660 Apr 2 00:17 Jenkinsfile 00:20:13 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 2 00:17 LICENSE 00:20:13 -rw-rw-r-- 1 jenkins jenkins 873 Apr 2 00:17 Makefile 00:20:13 -rw-rw-r-- 1 jenkins jenkins 918 Apr 2 00:17 README.md 00:20:13 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 00:14 VERSION 00:20:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 00:17 bin 00:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 00:17 cmd 00:20:13 -rw-r--r-- 1 jenkins jenkins 47247 Apr 2 00:19 coverage.out 00:20:13 -rw-r--r-- 1 jenkins jenkins 809 Apr 2 00:20 go.mod 00:20:13 -rw-r--r-- 1 jenkins jenkins 20000 Apr 2 00:20 go.sum 00:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 00:17 internal 00:20:13 -rw-rw-r-- 1 jenkins jenkins 235 Apr 2 00:17 version.go [Pipeline] isUnix [Pipeline] sh 00:20:13 + 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=3cd42c14cf87f5b60f16443d40a5d348c92cc51b --label arch=arm64 --label version=0.0.0 . 00:20:14 Sending build context to Docker daemon 567.8kB 00:20:14 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:20:14 Step 2/22 : FROM ${BASE} AS builder 00:20:14 ---> e2f623c197c2 00:20:14 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:20:14 ---> Running in 0cc879cdcf8a 00:20:14 Removing intermediate container 0cc879cdcf8a 00:20:14 ---> ae885905077f 00:20:14 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:20:14 ---> Running in ecee55a36ee3 00:20:15 Removing intermediate container ecee55a36ee3 00:20:15 ---> ff2bacd43f21 00:20:15 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:20:15 ---> Running in 1aab351bd3a7 00:20:16 Removing intermediate container 1aab351bd3a7 00:20:16 ---> 52628a72550c 00:20:16 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:20:16 ---> Running in 49dcbd9cdc86 00:20:18 Removing intermediate container 49dcbd9cdc86 00:20:18 ---> 796fc1f2b14a 00:20:18 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:18 ---> Running in ba8f4b372244 00:20:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:20:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:20:21 OK: 221 MiB in 53 packages 00:20:22 Removing intermediate container ba8f4b372244 00:20:22 ---> bcdebfe72a57 00:20:22 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:20:22 ---> Running in 4009e608046c 00:20:23 Removing intermediate container 4009e608046c 00:20:23 ---> 3c87a8c9ca02 00:20:23 Step 9/22 : COPY . . 00:20:24 ---> 522a912ffccc 00:20:24 Step 10/22 : ARG MAKE='make build' 00:20:24 ---> Running in 4499d0bb42ba 00:20:25 Removing intermediate container 4499d0bb42ba 00:20:25 ---> 9c52a6f3cfa8 00:20:25 Step 11/22 : RUN $MAKE 00:20:25 ---> Running in 9234dc38d93b 00:20: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 00:21:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:21:07 Removing intermediate container 9234dc38d93b 00:21:07 ---> 01a67a6ed795 00:21:07 Step 12/22 : FROM alpine:3.12 00:21:07 3.12: Pulling from library/alpine 00:21:07 9a219e8acc52: Pulling fs layer 00:21:07 9a219e8acc52: Verifying Checksum 00:21:07 9a219e8acc52: Download complete 00:21:08 9a219e8acc52: Pull complete 00:21:08 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 00:21:08 Status: Downloaded newer image for alpine:3.12 00:21:08 ---> d75e27dfc0a0 00:21:08 Step 13/22 : ENV APP_PORT=49990 00:21:08 ---> Running in e0a3ada03879 00:21:09 Removing intermediate container e0a3ada03879 00:21:09 ---> 7038d5f12737 00:21:09 Step 14/22 : EXPOSE $APP_PORT 00:21:09 ---> Running in 44faeff2781a 00:21:09 Removing intermediate container 44faeff2781a 00:21:09 ---> 3ea02b3bf7d0 00:21:09 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:21:11 ---> c9d3ca8cf686 00:21:11 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:21:11 ---> ee532438b01c 00:21:11 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:21:12 ---> 37d6391e1061 00:21:12 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:21:12 ---> Running in 2d5600fdba1d 00:21:13 Removing intermediate container 2d5600fdba1d 00:21:13 ---> 99649d2fe16d 00:21:13 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:21:13 ---> Running in 42026f764290 00:21:13 Removing intermediate container 42026f764290 00:21:13 ---> 0d54aad06118 00:21:13 Step 20/22 : LABEL arch=arm64 00:21:13 ---> Running in 7e903121fe37 00:21:14 Removing intermediate container 7e903121fe37 00:21:14 ---> 14571a4a2e94 00:21:14 Step 21/22 : LABEL git_sha=3cd42c14cf87f5b60f16443d40a5d348c92cc51b 00:21:14 ---> Running in d307ea1e066f 00:21:15 Removing intermediate container d307ea1e066f 00:21:15 ---> 8ecaf47c39aa 00:21:15 Step 22/22 : LABEL version=0.0.0 00:21:15 ---> Running in 1102dd9c0f25 00:21:15 Removing intermediate container 1102dd9c0f25 00:21:15 ---> 877cb2b324a4 00:21:15 [Warning] One or more build-args [ARCH] were not consumed 00:21:15 Successfully built 877cb2b324a4 00:21:15 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 00:21:16 ---> job-cost.sh 00:21:16 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4XUb 00:21:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:23:32 lf-activate-venv(): INFO: Adding /tmp/venv-4XUb/bin to PATH 00:23:32 INFO: No Stack... 00:23:32 INFO: Retrieving Pricing Info for: lf-standard-4 00:23:32 INFO: Archiving Costs [Pipeline] sh 00:23:32 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 00:23:32 + cut -d, -f6 [Pipeline] lock 00:23:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] 00:23:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] did not exist. Created. 00:23:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-173-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:33 /w/workspace/device-virtual-go/2@tmp/durable-fbc992c0/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-fbc992c0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:23:33 + echo total: 0.20999999344348907 [Pipeline] stash 00:23:33 Warning: overwriting stash ‘stack-cost’ 00:23:33 Stashed 1 file(s) [Pipeline] } 00:23:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-173-2-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 00:23:35 provisioning config files... 00:23:35 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config2662372315158659343tmp [Pipeline] { [Pipeline] sh 00:23:35 + set +x 00:23:35 + curl -s https://codecov.io/bash 00:23:35 + bash -s -- 00:23:35 00:23:35 _____ _ 00:23:35 / ____| | | 00:23:35 | | ___ __| | ___ ___ _____ __ 00:23:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:23:35 | |___| (_) | (_| | __/ (_| (_) \ V / 00:23:35 \_____\___/ \__,_|\___|\___\___/ \_/ 00:23:35 Bash-20210309-2b87ace 00:23:35 00:23:35 00:23:35 ==> git version 2.24.3 found 00:23:35 ==> 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 00:23:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:23:35 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:23:35 ==> Jenkins CI detected. 00:23:35 project root: . 00:23:35 --> token set from env 00:23:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:23:35 ==> Running gcov in . (disable via -X gcov) 00:23:35 ==> Python coveragepy not found 00:23:35 ==> Searching for coverage reports in: 00:23:35 + . 00:23:35 -> Found 1 reports 00:23:35 ==> Detecting git/mercurial file structure 00:23:35 ==> Reading reports 00:23:35 + ./coverage.out bytes=47247 00:23:35 ==> Appending adjustments 00:23:35 https://docs.codecov.io/docs/fixing-reports 00:23:36 + Found adjustments 00:23:36 ==> Gzipping contents 00:23:36 8.0K /tmp/codecov.Qrh9Lz.gz 00:23:36 ==> Uploading reports 00:23:36 url: https://codecov.io 00:23:36 query: branch=PR-173&commit=3cd42c14cf87f5b60f16443d40a5d348c92cc51b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-173%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=173&job=&cmd_args= 00:23:36 -> Pinging Codecov 00:23:36 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-173&commit=3cd42c14cf87f5b60f16443d40a5d348c92cc51b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-173%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=173&job=&cmd_args= 00:23:36 -> Uploading to 00:23:36 https://storage.googleapis.com/codecov/v4/raw/2021-04-02/5E52B4B073DB2E39498172D8E973AA87/3cd42c14cf87f5b60f16443d40a5d348c92cc51b/e29b0303-d89e-4719-bb25-08a04e9ff3a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210402%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210402T002336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a9aac9561bd63e6342b77baa624ac0370847d1282fa637c7ae7861d9c9574da 00:23:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:36 Dload Upload Total Spent Left Speed 00:23:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5767 0 0 100 5767 0 11633 --:--:-- --:--:-- --:--:-- 11627 100 5767 0 0 100 5767 0 11628 --:--:-- --:--:-- --:--:-- 11627 00:23:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3cd42c14cf87f5b60f16443d40a5d348c92cc51b [Pipeline] } 00:23:36 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 00:23:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:23:39 ---> package-listing.sh 00:23:39 ++ facter osfamily 00:23:39 ++ tr '[:upper:]' '[:lower:]' 00:23:39 + OS_FAMILY=redhat 00:23:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-173 00:23:39 + START_PACKAGES=/tmp/packages_start.txt 00:23:39 + END_PACKAGES=/tmp/packages_end.txt 00:23:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:23:39 + PACKAGES=/tmp/packages_start.txt 00:23:39 + '[' /w/workspace/foundry_device-virtual-go_PR-173 ']' 00:23:39 + PACKAGES=/tmp/packages_end.txt 00:23:39 + case "${OS_FAMILY}" in 00:23:39 + rpm -qa 00:23:39 + sort 00:23:44 + '[' -f /tmp/packages_start.txt ']' 00:23:44 + '[' -f /tmp/packages_end.txt ']' 00:23:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:23:44 + '[' /w/workspace/foundry_device-virtual-go_PR-173 ']' 00:23:44 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-173/archives/ 00:23:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-173/archives/ [Pipeline] echo 00:23:44 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:23:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:23:45 00:23:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:23:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:23:45 alpine: Pulling from edgex-lftools-log-publisher 00:23:45 df20fa9351a1: Pulling fs layer 00:23:45 36b3adc4ff6f: Pulling fs layer 00:23:45 8ad3a11d3b57: Pulling fs layer 00:23:45 46f8f816bc3b: Pulling fs layer 00:23:45 93b61091891f: Pulling fs layer 00:23:45 93b9cdb0e59b: Pulling fs layer 00:23:45 5e14af77c1be: Pulling fs layer 00:23:45 01666e4c0597: Pulling fs layer 00:23:45 aa168da1d23b: Pulling fs layer 00:23:45 5e14af77c1be: Waiting 00:23:45 01666e4c0597: Waiting 00:23:45 aa168da1d23b: Waiting 00:23:45 93b61091891f: Waiting 00:23:45 93b9cdb0e59b: Waiting 00:23:45 36b3adc4ff6f: Verifying Checksum 00:23:45 36b3adc4ff6f: Download complete 00:23:45 46f8f816bc3b: Verifying Checksum 00:23:45 46f8f816bc3b: Download complete 00:23:46 df20fa9351a1: Download complete 00:23:46 93b9cdb0e59b: Verifying Checksum 00:23:46 93b9cdb0e59b: Download complete 00:23:46 5e14af77c1be: Download complete 00:23:46 93b61091891f: Download complete 00:23:46 01666e4c0597: Verifying Checksum 00:23:46 01666e4c0597: Download complete 00:23:46 df20fa9351a1: Pull complete 00:23:46 36b3adc4ff6f: Pull complete 00:23:46 8ad3a11d3b57: Verifying Checksum 00:23:46 8ad3a11d3b57: Download complete 00:23:47 8ad3a11d3b57: Pull complete 00:23:47 46f8f816bc3b: Pull complete 00:23:48 93b61091891f: Pull complete 00:23:48 aa168da1d23b: Download complete 00:23:48 93b9cdb0e59b: Pull complete 00:23:49 5e14af77c1be: Pull complete 00:23:49 01666e4c0597: Pull complete 00:23:55 aa168da1d23b: Pull complete 00:23:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:23:56 prd-centos7-docker-4c-2g-32523 does not seem to be running inside a container 00:23:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-173/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-173 -v /w/workspace/foundry_device-virtual-go_PR-173:/w/workspace/foundry_device-virtual-go_PR-173:rw,z -v /w/workspace/foundry_device-virtual-go_PR-173@tmp:/w/workspace/foundry_device-virtual-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:23:59 $ docker top ffdcd283f0b1ebca1be5dc132ce77b059c4eb3b21038ca4f494a5e1a735ab7cb -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:00 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:00 + mkdir -p /var/log/sa [Pipeline] sh 00:24:00 + ls /var/log/sa-host 00:24:00 + sadf -c /var/log/sa-host/sa02 00:24:00 file_magic: OK 00:24:00 HZ: Using current value: 100 00:24:00 file_header: OK 00:24:00 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 00:24:00 Statistics: 00:24:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:24:00 File successfully converted to sysstat format version 12.2.1 00:24:00 + sadf -c /var/log/sa-host/sa23 00:24:00 file_magic: OK 00:24:00 HZ: Using current value: 100 00:24:00 file_header: OK 00:24:00 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 00:24:00 Statistics: 00:24:00 Hnuu...uuuununununu... 00:24:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:01 provisioning config files... 00:24:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config6606293751737311508tmp [Pipeline] { [Pipeline] echo 00:24:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:01 ---> create-netrc.sh [Pipeline] } 00:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:24:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:24:02 ---> python-tools-install.sh [Pipeline] echo 00:24:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:02 ---> sudo-logs.sh 00:24:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:02 ---> job-cost.sh 00:24:02 lf-activate-venv: SKIPPING 00:24:02 DEBUG: total: 0.20999999344348907 00:24:02 INFO: Retrieving Stack Cost... 00:24:04 INFO: Retrieving Pricing Info for: v1-standard-2 00:24:05 INFO: Archiving Costs [Pipeline] echo 00:24:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:05 ---> logs-deploy.sh 00:24:05 lf-activate-venv: SKIPPING 00:24:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-173/2 00:24:05 INFO: archiving workspace using pattern(s): 00:24:07 Archives upload complete. 00:24:07 INFO: archiving logs to Nexus