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 [2021-03-18T06:39:33.451Z] 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 [2021-03-18T06:39:33.701Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-18T06:39:33.811Z] ========================================================= [2021-03-18T06:39:33.812Z] EdgeX Global Pipelines Version Info [2021-03-18T06:39:33.812Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:39:35.340Z] ------------------- [2021-03-18T06:39:35.340Z] stable info: [2021-03-18T06:39:35.340Z] ------------------- [2021-03-18T06:39:35.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-18T06:39:35.340Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T06:39:35.340Z] Message: update stable to v1.0.186 [2021-03-18T06:39:36.290Z] ------------------- [2021-03-18T06:39:36.290Z] experimental info: [2021-03-18T06:39:36.290Z] ------------------- [2021-03-18T06:39:36.290Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-18T06:39:36.290Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T06:39:36.290Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-18T06:39:36.568Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-03-18T06:39:36.674Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-03-18T06:39:36.772Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-18T06:39:36.898Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-18T06:39:37.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-18T06:39:37.107Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-18T06:39:37.205Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-18T06:39:37.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-18T06:39:37.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-18T06:39:37.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-18T06:39:37.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-18T06:39:37.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-03-18T06:39:38.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-18T06:39:38.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-18T06:39:38.256Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-18T06:39:38.348Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-18T06:39:38.440Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T06:39:38.531Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T06:39:38.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-18T06:39:38.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-18T06:39:38.818Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-18T06:39:38.956Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-18T06:39:39.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-18T06:39:39.164Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-18T06:39:39.258Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-18T06:39:39.349Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-18T06:39:39.439Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo [2021-03-18T06:39:39.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo [2021-03-18T06:39:39.638Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo [2021-03-18T06:39:39.758Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [Pipeline] echo [2021-03-18T06:39:39.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e87a234 [Pipeline] echo [2021-03-18T06:39:39.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T06:39:40.223Z] provisioning config files... [2021-03-18T06:39:40.264Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1562065061122104260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:39:40.626Z] ---> docker-login.sh [2021-03-18T06:39:40.626Z] nexus3.edgexfoundry.org:10001 [2021-03-18T06:39:40.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:39:41.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:39:41.157Z] Configure a credential helper to remove this warning. See [2021-03-18T06:39:41.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:39:41.157Z] [2021-03-18T06:39:41.157Z] Login Succeeded [2021-03-18T06:39:41.157Z] nexus3.edgexfoundry.org:10002 [2021-03-18T06:39:41.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:39:41.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:39:41.157Z] Configure a credential helper to remove this warning. See [2021-03-18T06:39:41.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:39:41.157Z] [2021-03-18T06:39:41.157Z] Login Succeeded [2021-03-18T06:39:41.157Z] nexus3.edgexfoundry.org:10003 [2021-03-18T06:39:41.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:39:41.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:39:41.420Z] Configure a credential helper to remove this warning. See [2021-03-18T06:39:41.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:39:41.420Z] [2021-03-18T06:39:41.420Z] Login Succeeded [2021-03-18T06:39:41.420Z] nexus3.edgexfoundry.org:10004 [2021-03-18T06:39:41.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:39:41.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:39:41.684Z] Configure a credential helper to remove this warning. See [2021-03-18T06:39:41.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:39:41.684Z] [2021-03-18T06:39:41.684Z] Login Succeeded [2021-03-18T06:39:41.684Z] docker.io [2021-03-18T06:39:41.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:39:41.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:39:41.947Z] Configure a credential helper to remove this warning. See [2021-03-18T06:39:41.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:39:41.947Z] [2021-03-18T06:39:41.947Z] Login Succeeded [2021-03-18T06:39:41.947Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T06:39:41.957Z] 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 [2021-03-18T06:39:42.775Z] + git log --format=format:%s -1 e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [Pipeline] echo [2021-03-18T06:39:42.850Z] GIT_COMMIT: e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd, Commit Message: feat: update driver implementation to reflect v2 profiles [Pipeline] echo [2021-03-18T06:39:42.894Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:39:43.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T06:39:43.869Z] [2021-03-18T06:39:43.869Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:39:44.233Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T06:39:44.233Z] latest: Pulling from edgex-devops/git-semver [2021-03-18T06:39:44.233Z] 31603596830f: Pulling fs layer [2021-03-18T06:39:44.233Z] 2a8b12db71e7: Pulling fs layer [2021-03-18T06:39:44.233Z] 6ca5941a6612: Pulling fs layer [2021-03-18T06:39:44.233Z] ecc8261a40a4: Pulling fs layer [2021-03-18T06:39:44.233Z] ecc8261a40a4: Waiting [2021-03-18T06:39:44.233Z] 2a8b12db71e7: Verifying Checksum [2021-03-18T06:39:44.233Z] 2a8b12db71e7: Download complete [2021-03-18T06:39:44.233Z] 31603596830f: Verifying Checksum [2021-03-18T06:39:44.233Z] 31603596830f: Download complete [2021-03-18T06:39:44.496Z] 6ca5941a6612: Verifying Checksum [2021-03-18T06:39:44.496Z] 6ca5941a6612: Download complete [2021-03-18T06:39:44.496Z] ecc8261a40a4: Verifying Checksum [2021-03-18T06:39:44.496Z] ecc8261a40a4: Download complete [2021-03-18T06:39:44.496Z] 31603596830f: Pull complete [2021-03-18T06:39:44.761Z] 2a8b12db71e7: Pull complete [2021-03-18T06:39:45.711Z] 6ca5941a6612: Pull complete [2021-03-18T06:39:45.711Z] ecc8261a40a4: Pull complete [2021-03-18T06:39:45.711Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-18T06:39:45.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T06:39:45.975Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-18T06:39:46.086Z] prd-centos7-docker-4c-2g-30270 does not seem to be running inside a container [2021-03-18T06:39:46.136Z] $ 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 [2021-03-18T06:39:48.678Z] $ docker top 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T06:39:49.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T06:39:49.013Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T06:39:49.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T06:39:49.249Z] $ docker exec 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent [2021-03-18T06:39:49.423Z] SSH_AUTH_SOCK=/tmp/ssh-5i4YhqVFfEHn/agent.11 [2021-03-18T06:39:49.423Z] SSH_AGENT_PID=16 [2021-03-18T06:39:49.436Z] Running ssh-add (command line suppressed) [2021-03-18T06:39:49.562Z] 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) [2021-03-18T06:39:49.615Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T06:39:49.984Z] + git tag --points-at HEAD [Pipeline] } [2021-03-18T06:39:50.008Z] $ docker exec --env ******** --env ******** 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent -k [2021-03-18T06:39:50.129Z] unset SSH_AUTH_SOCK; [2021-03-18T06:39:50.130Z] unset SSH_AGENT_PID; [2021-03-18T06:39:50.130Z] echo Agent pid 16 killed; [2021-03-18T06:39:50.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-18T06:39:50.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T06:39:50.499Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T06:39:50.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T06:39:50.686Z] $ docker exec 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent [2021-03-18T06:39:50.858Z] SSH_AUTH_SOCK=/tmp/ssh-Pb0jYJBOuXf2/agent.45 [2021-03-18T06:39:50.858Z] SSH_AGENT_PID=50 [2021-03-18T06:39:50.865Z] Running ssh-add (command line suppressed) [2021-03-18T06:39:50.987Z] 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) [2021-03-18T06:39:51.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T06:39:51.416Z] + git semver init [2021-03-18T06:39:51.416Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T06:39:51.416Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git [2021-03-18T06:39:51.416Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 [2021-03-18T06:39:51.416Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T06:39:51.416Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T06:39:51.416Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T06:39:51.416Z] # $SEMVER_BRANCH = PR-169 [2021-03-18T06:39:51.416Z] # $SEMVER_TEMP = /tmp/semver-945548649 [2021-03-18T06:39:51.416Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-03-18T06:39:51.703Z] # '/tmp/semver-945548649' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' [2021-03-18T06:39:51.703Z] # -> Force: false [2021-03-18T06:39:51.703Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } [2021-03-18T06:39:51.736Z] $ docker exec --env ******** --env ******** 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e ssh-agent -k [2021-03-18T06:39:51.872Z] unset SSH_AUTH_SOCK; [2021-03-18T06:39:51.872Z] unset SSH_AGENT_PID; [2021-03-18T06:39:51.872Z] echo Agent pid 50 killed; [2021-03-18T06:39:51.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T06:39:52.426Z] + git semver [Pipeline] } [2021-03-18T06:39:52.444Z] $ docker stop --time=1 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e [2021-03-18T06:39:53.860Z] $ docker rm -f 25c055416858f5151fbd0b25a7c443abee99a4b4a9c4bafdca5ecd66efedd07e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T06:39:54.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-18T06:39:54.827Z] Stashed 1 file(s) [Pipeline] echo [2021-03-18T06:39:54.829Z] [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 [2021-03-18T06:40:10.404Z] Still waiting to schedule task [2021-03-18T06:40:10.404Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30270’ [2021-03-18T06:40:10.407Z] Still waiting to schedule task [2021-03-18T06:40:10.407Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-18T06:42:00.384Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30271 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws [2021-03-18T06:42:00.523Z] Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout [2021-03-18T06:42:05.752Z] using credential edgex-jenkins-ssh [2021-03-18T06:42:05.817Z] Cloning the remote Git repository [2021-03-18T06:42:05.876Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T06:42:05.998Z] > git init /w/workspace/device-virtual-go/6 # timeout=10 [2021-03-18T06:42:06.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T06:42:06.101Z] > git --version # timeout=10 [2021-03-18T06:42:06.134Z] > git --version # 'git version 2.17.1' [2021-03-18T06:42:06.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T06:42:06.194Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T06:42:07.725Z] Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [2021-03-18T06:42:07.921Z] Merge succeeded, producing e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [2021-03-18T06:42:07.922Z] Checking out Revision e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd (PR-169) [2021-03-18T06:42:07.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T06:42:07.071Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T06:42:07.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T06:42:07.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T06:42:07.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T06:42:07.140Z] > 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 [2021-03-18T06:42:07.746Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T06:42:07.770Z] > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 [2021-03-18T06:42:07.854Z] > git remote # timeout=10 [2021-03-18T06:42:07.870Z] > git config --get remote.origin.url # timeout=10 [2021-03-18T06:42:07.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T06:42:07.891Z] > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [2021-03-18T06:42:07.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-18T06:42:07.932Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T06:42:07.947Z] > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 [2021-03-18T06:42:12.447Z] 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 [2021-03-18T06:42:14.362Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-18T06:42:14.877Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T06:42:15.247Z] + true [2021-03-18T06:42:15.247Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T06:42:18.059Z] provisioning config files... [2021-03-18T06:42:18.124Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config5963123231325917140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:42:18.576Z] ---> docker-login.sh [2021-03-18T06:42:18.576Z] nexus3.edgexfoundry.org:10001 [2021-03-18T06:42:19.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:19.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:19.862Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:19.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:19.862Z] [2021-03-18T06:42:19.862Z] Login Succeeded [2021-03-18T06:42:19.862Z] nexus3.edgexfoundry.org:10002 [2021-03-18T06:42:20.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:20.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:20.459Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:20.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:20.459Z] [2021-03-18T06:42:20.459Z] Login Succeeded [2021-03-18T06:42:20.459Z] nexus3.edgexfoundry.org:10003 [2021-03-18T06:42:20.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:21.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:21.014Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:21.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:21.014Z] [2021-03-18T06:42:21.014Z] Login Succeeded [2021-03-18T06:42:21.014Z] nexus3.edgexfoundry.org:10004 [2021-03-18T06:42:21.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:21.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:21.562Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:21.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:21.562Z] [2021-03-18T06:42:21.562Z] Login Succeeded [2021-03-18T06:42:21.562Z] docker.io [2021-03-18T06:42:21.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:22.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:22.434Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:22.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:22.434Z] [2021-03-18T06:42:22.434Z] Login Succeeded [2021-03-18T06:42:22.434Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T06:42:22.453Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T06:42:22.942Z] ========================================================= [2021-03-18T06:42:22.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-18T06:42:22.942Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:42:23.329Z] + 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 . [2021-03-18T06:42:23.602Z] Sending build context to Docker daemon 524.8kB [2021-03-18T06:42:23.602Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T06:42:23.602Z] Step 2/8 : FROM ${BASE} [2021-03-18T06:42:23.873Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-18T06:42:23.873Z] 5f621e34cdf4: Pulling fs layer [2021-03-18T06:42:23.873Z] a4357932f1b6: Pulling fs layer [2021-03-18T06:42:23.873Z] 18c013af1878: Pulling fs layer [2021-03-18T06:42:23.873Z] 00ac8860ef70: Pulling fs layer [2021-03-18T06:42:23.873Z] 63d7cb157983: Pulling fs layer [2021-03-18T06:42:23.873Z] b116817d02f9: Pulling fs layer [2021-03-18T06:42:23.873Z] 745a02a5169b: Pulling fs layer [2021-03-18T06:42:23.873Z] b116817d02f9: Waiting [2021-03-18T06:42:23.873Z] 00ac8860ef70: Waiting [2021-03-18T06:42:23.874Z] 745a02a5169b: Waiting [2021-03-18T06:42:23.874Z] 63d7cb157983: Waiting [2021-03-18T06:42:23.874Z] 18c013af1878: Verifying Checksum [2021-03-18T06:42:23.874Z] 18c013af1878: Download complete [2021-03-18T06:42:23.874Z] a4357932f1b6: Verifying Checksum [2021-03-18T06:42:23.874Z] a4357932f1b6: Download complete [2021-03-18T06:42:23.874Z] 63d7cb157983: Verifying Checksum [2021-03-18T06:42:23.874Z] 63d7cb157983: Download complete [2021-03-18T06:42:24.472Z] b116817d02f9: Verifying Checksum [2021-03-18T06:42:24.472Z] b116817d02f9: Download complete [2021-03-18T06:42:24.472Z] 5f621e34cdf4: Verifying Checksum [2021-03-18T06:42:24.472Z] 5f621e34cdf4: Download complete [2021-03-18T06:42:25.077Z] 5f621e34cdf4: Pull complete [2021-03-18T06:42:25.696Z] a4357932f1b6: Pull complete [2021-03-18T06:42:25.973Z] 18c013af1878: Pull complete [2021-03-18T06:42:27.434Z] 745a02a5169b: Verifying Checksum [2021-03-18T06:42:27.434Z] 745a02a5169b: Download complete [2021-03-18T06:42:28.025Z] 00ac8860ef70: Verifying Checksum [2021-03-18T06:42:28.025Z] 00ac8860ef70: Download complete [2021-03-18T06:42:35.155Z] Running on prd-centos7-docker-4c-2g-30272 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws [2021-03-18T06:42:35.220Z] Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout [2021-03-18T06:42:37.796Z] using credential edgex-jenkins-ssh [2021-03-18T06:42:37.853Z] Cloning the remote Git repository [2021-03-18T06:42:38.200Z] 00ac8860ef70: Pull complete [2021-03-18T06:42:38.200Z] 63d7cb157983: Pull complete [2021-03-18T06:42:38.496Z] b116817d02f9: Pull complete [2021-03-18T06:42:37.895Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T06:42:37.980Z] > git init /w/workspace/device-virtual-go/6 # timeout=10 [2021-03-18T06:42:38.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T06:42:38.049Z] > git --version # timeout=10 [2021-03-18T06:42:38.055Z] > git --version # 'git version 2.24.3' [2021-03-18T06:42:38.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T06:42:38.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T06:42:38.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T06:42:38.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T06:42:38.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T06:42:38.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T06:42:38.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T06:42:38.698Z] > 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 [2021-03-18T06:42:39.109Z] Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [2021-03-18T06:42:39.229Z] Merge succeeded, producing e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [2021-03-18T06:42:39.230Z] Checking out Revision e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd (PR-169) [2021-03-18T06:42:39.119Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T06:42:39.125Z] > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 [2021-03-18T06:42:39.160Z] > git remote # timeout=10 [2021-03-18T06:42:39.166Z] > git config --get remote.origin.url # timeout=10 [2021-03-18T06:42:39.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T06:42:39.177Z] > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [2021-03-18T06:42:39.186Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-18T06:42:39.236Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T06:42:39.245Z] > git checkout -f e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd # timeout=10 [2021-03-18T06:42:42.857Z] Commit message: "feat: update driver implementation to reflect v2 profiles" [2021-03-18T06:42:42.880Z] 745a02a5169b: Pull complete [2021-03-18T06:42:42.880Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-18T06:42:42.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-18T06:42:42.880Z] ---> b7e6874047d6 [2021-03-18T06:42:42.880Z] 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 [2021-03-18T06:42:44.052Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-18T06:42:44.375Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T06:42:44.680Z] + sudo service docker restart [2021-03-18T06:42:44.680Z] + true [2021-03-18T06:42:44.680Z] Redirecting to /bin/systemctl restart docker.service [2021-03-18T06:42:45.548Z] ---> Running in 226e995d3017 [2021-03-18T06:42:45.548Z] Removing intermediate container 226e995d3017 [2021-03-18T06:42:45.548Z] ---> 912fc0af41c9 [2021-03-18T06:42:45.548Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T06:42:45.737Z] provisioning config files... [2021-03-18T06:42:45.834Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config9094862561852278651tmp [2021-03-18T06:42:45.835Z] ---> Running in 2612e3b3924b [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:42:46.294Z] ---> docker-login.sh [2021-03-18T06:42:46.294Z] nexus3.edgexfoundry.org:10001 [2021-03-18T06:42:46.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:46.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:46.562Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:46.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:46.562Z] [2021-03-18T06:42:46.562Z] Login Succeeded [2021-03-18T06:42:46.562Z] nexus3.edgexfoundry.org:10002 [2021-03-18T06:42:46.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:46.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:46.824Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:46.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:46.824Z] [2021-03-18T06:42:46.824Z] Login Succeeded [2021-03-18T06:42:46.824Z] nexus3.edgexfoundry.org:10003 [2021-03-18T06:42:47.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:47.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:47.086Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:47.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:47.086Z] [2021-03-18T06:42:47.086Z] Login Succeeded [2021-03-18T06:42:47.086Z] nexus3.edgexfoundry.org:10004 [2021-03-18T06:42:47.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:47.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:47.086Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:47.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:47.086Z] [2021-03-18T06:42:47.086Z] Login Succeeded [2021-03-18T06:42:47.086Z] docker.io [2021-03-18T06:42:47.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T06:42:47.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T06:42:47.610Z] Configure a credential helper to remove this warning. See [2021-03-18T06:42:47.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T06:42:47.610Z] [2021-03-18T06:42:47.610Z] Login Succeeded [2021-03-18T06:42:47.610Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T06:42:47.619Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T06:42:47.982Z] ========================================================= [2021-03-18T06:42:47.982Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-18T06:42:47.982Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:42:48.386Z] + 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 . [2021-03-18T06:42:48.386Z] Sending build context to Docker daemon 525.8kB [2021-03-18T06:42:48.386Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T06:42:48.386Z] Step 2/8 : FROM ${BASE} [2021-03-18T06:42:48.493Z] Removing intermediate container 2612e3b3924b [2021-03-18T06:42:48.493Z] ---> 334d300bc7cb [2021-03-18T06:42:48.493Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-18T06:42:48.493Z] ---> Running in ed5499488424 [2021-03-18T06:42:48.650Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-18T06:42:48.650Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T06:42:48.650Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T06:42:48.650Z] de9db76c5a1d: Pulling fs layer [2021-03-18T06:42:48.650Z] bca2f99d35d6: Pulling fs layer [2021-03-18T06:42:48.650Z] 93359f2a8cfa: Pulling fs layer [2021-03-18T06:42:48.650Z] 7c6f9722023f: Pulling fs layer [2021-03-18T06:42:48.650Z] a35cf1a2eb13: Pulling fs layer [2021-03-18T06:42:48.650Z] 93359f2a8cfa: Waiting [2021-03-18T06:42:48.650Z] 7c6f9722023f: Waiting [2021-03-18T06:42:48.650Z] a35cf1a2eb13: Waiting [2021-03-18T06:42:48.650Z] bca2f99d35d6: Waiting [2021-03-18T06:42:48.650Z] de9db76c5a1d: Verifying Checksum [2021-03-18T06:42:48.650Z] de9db76c5a1d: Download complete [2021-03-18T06:42:48.650Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T06:42:48.650Z] 0ef7d3d256c8: Download complete [2021-03-18T06:42:48.650Z] 93359f2a8cfa: Verifying Checksum [2021-03-18T06:42:48.650Z] 93359f2a8cfa: Download complete [2021-03-18T06:42:48.650Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T06:42:48.650Z] 188c0c94c7c5: Download complete [2021-03-18T06:42:48.650Z] 7c6f9722023f: Download complete [2021-03-18T06:42:48.915Z] 188c0c94c7c5: Pull complete [2021-03-18T06:42:49.176Z] 0ef7d3d256c8: Pull complete [2021-03-18T06:42:49.176Z] de9db76c5a1d: Pull complete [2021-03-18T06:42:49.472Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T06:42:50.453Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T06:42:50.567Z] a35cf1a2eb13: Verifying Checksum [2021-03-18T06:42:50.567Z] a35cf1a2eb13: Download complete [2021-03-18T06:42:51.146Z] bca2f99d35d6: Verifying Checksum [2021-03-18T06:42:51.146Z] bca2f99d35d6: Download complete [2021-03-18T06:42:51.875Z] (1/14) Installing libmagic (5.38-r0) [2021-03-18T06:42:52.465Z] (2/14) Installing file (5.38-r0) [2021-03-18T06:42:52.465Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-18T06:42:52.465Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-18T06:42:57.775Z] bca2f99d35d6: Pull complete [2021-03-18T06:42:57.776Z] 93359f2a8cfa: Pull complete [2021-03-18T06:42:57.776Z] 7c6f9722023f: Pull complete [2021-03-18T06:43:02.052Z] a35cf1a2eb13: Pull complete [2021-03-18T06:43:02.052Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-18T06:43:02.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-18T06:43:02.052Z] ---> a62c8e92a672 [2021-03-18T06:43:02.052Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-18T06:43:02.052Z] ---> Running in 3b8dd4571f45 [2021-03-18T06:43:02.052Z] Removing intermediate container 3b8dd4571f45 [2021-03-18T06:43:02.052Z] ---> 59c5846b91a5 [2021-03-18T06:43:02.052Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T06:43:02.052Z] ---> Running in 82a0d7fbdfc8 [2021-03-18T06:43:02.630Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-18T06:43:02.630Z] (6/14) Installing patch (2.7.6-r6) [2021-03-18T06:43:02.630Z] (7/14) Installing build-base (0.5-r2) [2021-03-18T06:43:02.630Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-18T06:43:02.911Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-18T06:43:02.911Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-18T06:43:03.020Z] Removing intermediate container 82a0d7fbdfc8 [2021-03-18T06:43:03.020Z] ---> 1613dbcd33f8 [2021-03-18T06:43:03.020Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-18T06:43:03.020Z] ---> Running in c755eb2a74df [2021-03-18T06:43:03.522Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T06:43:03.548Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-18T06:43:03.548Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-18T06:43:03.548Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-18T06:43:03.834Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-18T06:43:03.834Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T06:43:03.834Z] OK: 221 MiB in 53 packages [2021-03-18T06:43:04.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T06:43:04.942Z] (1/14) Installing libmagic (5.38-r0) [2021-03-18T06:43:04.942Z] (2/14) Installing file (5.38-r0) [2021-03-18T06:43:04.942Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-18T06:43:04.942Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-18T06:43:08.320Z] Removing intermediate container ed5499488424 [2021-03-18T06:43:08.320Z] ---> c12ff9c60e34 [2021-03-18T06:43:08.320Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-18T06:43:08.320Z] ---> Running in 1183ff6e5115 [2021-03-18T06:43:08.607Z] Removing intermediate container 1183ff6e5115 [2021-03-18T06:43:08.607Z] ---> 334ff45aaf87 [2021-03-18T06:43:08.607Z] Step 7/8 : COPY . . [2021-03-18T06:43:09.255Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-18T06:43:09.536Z] (6/14) Installing patch (2.7.6-r6) [2021-03-18T06:43:09.536Z] (7/14) Installing build-base (0.5-r2) [2021-03-18T06:43:09.536Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-18T06:43:09.686Z] ---> 8d5aa4934d83 [2021-03-18T06:43:09.686Z] Step 8/8 : RUN go mod download [2021-03-18T06:43:09.686Z] ---> Running in f29e65bb30bf [2021-03-18T06:43:09.805Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-18T06:43:09.805Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-18T06:43:10.092Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-18T06:43:10.365Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-18T06:43:10.365Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-18T06:43:10.658Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-18T06:43:10.658Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T06:43:10.658Z] OK: 237 MiB in 53 packages [2021-03-18T06:43:15.051Z] Removing intermediate container c755eb2a74df [2021-03-18T06:43:15.051Z] ---> 7d86b04d44e3 [2021-03-18T06:43:15.051Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-18T06:43:15.051Z] ---> Running in 02afecefae91 [2021-03-18T06:43:15.051Z] Removing intermediate container 02afecefae91 [2021-03-18T06:43:15.051Z] ---> 4c2ba834f983 [2021-03-18T06:43:15.051Z] Step 7/8 : COPY . . [2021-03-18T06:43:15.664Z] ---> 070a63e190a9 [2021-03-18T06:43:15.664Z] Step 8/8 : RUN go mod download [2021-03-18T06:43:15.664Z] ---> Running in af4dace2f418 [2021-03-18T06:43:36.865Z] Removing intermediate container f29e65bb30bf [2021-03-18T06:43:36.865Z] ---> 60e0cb9154e5 [2021-03-18T06:43:36.865Z] Successfully built 60e0cb9154e5 [2021-03-18T06:43:36.865Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:43:37.222Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T06:43:37.223Z] . [Pipeline] withDockerContainer [2021-03-18T06:43:37.469Z] prd-ubuntu18.04-docker-arm64-4c-16g-30271 does not seem to be running inside a container [2021-03-18T06:43:37.558Z] $ 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 [2021-03-18T06:43:37.996Z] Removing intermediate container af4dace2f418 [2021-03-18T06:43:37.996Z] ---> 2eaac429c3af [2021-03-18T06:43:37.996Z] Successfully built 2eaac429c3af [2021-03-18T06:43:37.996Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-18T06:43:39.051Z] $ docker top 92855010adff227d947587b8531ccd080211f14a81fb52f0f71083f3aff34a4b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:43:39.876Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T06:43:39.876Z] . [Pipeline] withDockerContainer [2021-03-18T06:43:40.104Z] + go version [2021-03-18T06:43:40.104Z] go version go1.15.5 linux/arm64 [2021-03-18T06:43:40.129Z] prd-centos7-docker-4c-2g-30272 does not seem to be running inside a container [2021-03-18T06:43:40.224Z] $ 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 [2021-03-18T06:43:41.045Z] $ docker top 85ff4a4fe30628f790879fdd1c7c6ea4881c77897b45d2e54f99ab3152b3fb3f -eo pid,comm [Pipeline] { [Pipeline] } [2021-03-18T06:43:41.283Z] $ docker stop --time=1 92855010adff227d947587b8531ccd080211f14a81fb52f0f71083f3aff34a4b [2021-03-18T06:43:43.257Z] $ docker rm -f 92855010adff227d947587b8531ccd080211f14a81fb52f0f71083f3aff34a4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-03-18T06:43:43.889Z] + go version [2021-03-18T06:43:43.889Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-18T06:43:43.931Z] $ docker stop --time=1 85ff4a4fe30628f790879fdd1c7c6ea4881c77897b45d2e54f99ab3152b3fb3f [2021-03-18T06:43:45.299Z] $ 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 [2021-03-18T06:43:46.075Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T06:43:46.075Z] . [Pipeline] withDockerContainer [2021-03-18T06:43:46.201Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T06:43:46.202Z] . [2021-03-18T06:43:46.397Z] prd-ubuntu18.04-docker-arm64-4c-16g-30271 does not seem to be running inside a container [2021-03-18T06:43:46.479Z] $ 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 [2021-03-18T06:43:48.002Z] $ docker top 23dfa888fa357c2afa14cec57d9e4ea514ab9da9427238d265c0a018345ec5f4 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-18T06:43:48.516Z] prd-centos7-docker-4c-2g-30272 does not seem to be running inside a container [2021-03-18T06:43:48.573Z] $ 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 [2021-03-18T06:43:49.235Z] $ docker top df71fc5f45f61a519311b19417f7fa79149276becb0bc23c8cfe5174260f5df3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-18T06:43:49.876Z] + make test [2021-03-18T06:43:49.876Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-18T06:43:50.120Z] + make test [2021-03-18T06:43:50.120Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-18T06:43:51.131Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-18T06:43:51.870Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-18T06:44:07.021Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-18T06:44:07.021Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.351s coverage: 63.8% of statements [2021-03-18T06:44:07.615Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-18T06:44:11.068Z] gofmt -l . [2021-03-18T06:44:11.068Z] [ "`gofmt -l .`" = "" ] [2021-03-18T06:44:11.068Z] ./bin/test-attribution-txt.sh [2021-03-18T06:44:11.662Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T06:44:11.991Z] $ docker stop --time=1 df71fc5f45f61a519311b19417f7fa79149276becb0bc23c8cfe5174260f5df3 [2021-03-18T06:44:13.755Z] $ docker rm -f df71fc5f45f61a519311b19417f7fa79149276becb0bc23c8cfe5174260f5df3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T06:44:14.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T06:44:14.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-18T06:44:17.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T06:44:18.044Z] + ls -al . [2021-03-18T06:44:18.045Z] total 128 [2021-03-18T06:44:18.045Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 18 06:44 . [2021-03-18T06:44:18.045Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 18 06:42 .. [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 7136 Mar 18 06:42 Attribution.txt [2021-03-18T06:44:18.045Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 06:42 bin [2021-03-18T06:44:18.045Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 18 06:42 cmd [2021-03-18T06:44:18.045Z] -rw-r--r--. 1 jenkins jenkins 47247 Mar 18 06:44 coverage.out [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 1851 Mar 18 06:42 Dockerfile [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 961 Mar 18 06:42 Dockerfile.build [2021-03-18T06:44:18.045Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 06:42 .git [2021-03-18T06:44:18.045Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 06:42 .github [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 18 06:42 .gitignore [2021-03-18T06:44:18.045Z] -rw-r--r--. 1 jenkins jenkins 809 Mar 18 06:44 go.mod [2021-03-18T06:44:18.045Z] -rw-r--r--. 1 jenkins jenkins 20118 Mar 18 06:44 go.sum [2021-03-18T06:44:18.045Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 18 06:42 internal [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 660 Mar 18 06:42 Jenkinsfile [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 18 06:42 LICENSE [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 18 06:42 Makefile [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 918 Mar 18 06:42 README.md [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 06:39 VERSION [2021-03-18T06:44:18.045Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 18 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:44:18.384Z] + 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 . [2021-03-18T06:44:18.384Z] Sending build context to Docker daemon 594.9kB [2021-03-18T06:44:18.384Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T06:44:18.384Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-18T06:44:18.384Z] ---> 2eaac429c3af [2021-03-18T06:44:18.384Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-18T06:44:18.963Z] ---> Running in 5b7c177d2699 [2021-03-18T06:44:18.963Z] Removing intermediate container 5b7c177d2699 [2021-03-18T06:44:18.963Z] ---> c8d15876a05b [2021-03-18T06:44:18.963Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-18T06:44:19.226Z] ---> Running in 64f7fef068b3 [2021-03-18T06:44:19.226Z] Removing intermediate container 64f7fef068b3 [2021-03-18T06:44:19.226Z] ---> 0a5bf375304b [2021-03-18T06:44:19.226Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-18T06:44:19.488Z] ---> Running in ef3f72d87167 [2021-03-18T06:44:19.488Z] Removing intermediate container ef3f72d87167 [2021-03-18T06:44:19.488Z] ---> ff124be33671 [2021-03-18T06:44:19.488Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T06:44:19.488Z] ---> Running in 4a4ec4af817a [2021-03-18T06:44:20.447Z] Removing intermediate container 4a4ec4af817a [2021-03-18T06:44:20.447Z] ---> ddacc3ade012 [2021-03-18T06:44:20.447Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-18T06:44:20.710Z] ---> Running in db4eb41e3da5 [2021-03-18T06:44:20.973Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T06:44:21.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T06:44:22.183Z] OK: 237 MiB in 53 packages [2021-03-18T06:44:22.445Z] Removing intermediate container db4eb41e3da5 [2021-03-18T06:44:22.445Z] ---> eb7c057a4be6 [2021-03-18T06:44:22.445Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-18T06:44:22.707Z] ---> Running in 1305f15c7d20 [2021-03-18T06:44:22.707Z] Removing intermediate container 1305f15c7d20 [2021-03-18T06:44:22.707Z] ---> bb9a0d38a467 [2021-03-18T06:44:22.707Z] Step 9/22 : COPY . . [2021-03-18T06:44:23.656Z] ---> 810fd77ddb6d [2021-03-18T06:44:23.656Z] Step 10/22 : ARG MAKE='make build' [2021-03-18T06:44:23.656Z] ---> Running in b3c3a13827a5 [2021-03-18T06:44:23.921Z] Removing intermediate container b3c3a13827a5 [2021-03-18T06:44:23.921Z] ---> e0362562e15d [2021-03-18T06:44:23.921Z] Step 11/22 : RUN $MAKE [2021-03-18T06:44:23.921Z] ---> Running in 35b5cb4f6af3 [2021-03-18T06:44:24.501Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-03-18T06:44:36.847Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-18T06:44:38.277Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-18T06:44:38.277Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.399s coverage: 63.8% of statements [2021-03-18T06:44:38.277Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-18T06:44:40.161Z] Removing intermediate container 35b5cb4f6af3 [2021-03-18T06:44:40.161Z] ---> 40dfec04bc6d [2021-03-18T06:44:40.161Z] Step 12/22 : FROM alpine:3.12 [2021-03-18T06:44:40.423Z] 3.12: Pulling from library/alpine [2021-03-18T06:44:40.689Z] f84cab65f19f: Pulling fs layer [2021-03-18T06:44:40.689Z] f84cab65f19f: Verifying Checksum [2021-03-18T06:44:40.689Z] f84cab65f19f: Download complete [2021-03-18T06:44:40.952Z] f84cab65f19f: Pull complete [2021-03-18T06:44:40.952Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-18T06:44:40.952Z] Status: Downloaded newer image for alpine:3.12 [2021-03-18T06:44:40.952Z] ---> 88dd2752d2ea [2021-03-18T06:44:40.952Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-18T06:44:40.952Z] ---> Running in bb9a3ed2a6cd [2021-03-18T06:44:41.215Z] Removing intermediate container bb9a3ed2a6cd [2021-03-18T06:44:41.215Z] ---> a9827d8ae099 [2021-03-18T06:44:41.215Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-18T06:44:41.215Z] ---> Running in 7084069e1e8f [2021-03-18T06:44:41.478Z] Removing intermediate container 7084069e1e8f [2021-03-18T06:44:41.478Z] ---> 59ada9bff9da [2021-03-18T06:44:41.478Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-18T06:44:42.053Z] ---> 4e2e0ae8aa3a [2021-03-18T06:44:42.053Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-18T06:44:42.316Z] ---> d2ef707a231e [2021-03-18T06:44:42.316Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-18T06:44:42.578Z] ---> 2609df5d4e7a [2021-03-18T06:44:42.579Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-18T06:44:42.579Z] ---> Running in 043d576cd2dc [2021-03-18T06:44:42.841Z] Removing intermediate container 043d576cd2dc [2021-03-18T06:44:42.841Z] ---> 00dae7012e9d [2021-03-18T06:44:42.841Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T06:44:42.841Z] ---> Running in 2348d89de9d6 [2021-03-18T06:44:42.841Z] Removing intermediate container 2348d89de9d6 [2021-03-18T06:44:42.841Z] ---> f9183c224bda [2021-03-18T06:44:42.841Z] Step 20/22 : LABEL arch=amd64 [2021-03-18T06:44:43.104Z] ---> Running in 427bbed6499d [2021-03-18T06:44:43.104Z] Removing intermediate container 427bbed6499d [2021-03-18T06:44:43.104Z] ---> d7aa86f583f4 [2021-03-18T06:44:43.104Z] Step 21/22 : LABEL git_sha=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [2021-03-18T06:44:43.366Z] ---> Running in fe3cdf5e406c [2021-03-18T06:44:43.366Z] Removing intermediate container fe3cdf5e406c [2021-03-18T06:44:43.366Z] ---> 93af4ff88cf9 [2021-03-18T06:44:43.366Z] Step 22/22 : LABEL version=0.0.0 [2021-03-18T06:44:43.366Z] ---> Running in d7db8e9e3a4b [2021-03-18T06:44:43.628Z] Removing intermediate container d7db8e9e3a4b [2021-03-18T06:44:43.628Z] ---> 87d73fed8df0 [2021-03-18T06:44:43.628Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T06:44:43.628Z] Successfully built 87d73fed8df0 [2021-03-18T06:44:43.628Z] 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 [2021-03-18T06:44:44.803Z] ---> job-cost.sh [2021-03-18T06:44:44.803Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VgIs [2021-03-18T06:44:46.571Z] gofmt -l . [2021-03-18T06:44:46.571Z] [ "`gofmt -l .`" = "" ] [2021-03-18T06:44:46.571Z] ./bin/test-attribution-txt.sh [2021-03-18T06:44:46.571Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T06:44:47.174Z] $ docker stop --time=1 23dfa888fa357c2afa14cec57d9e4ea514ab9da9427238d265c0a018345ec5f4 [2021-03-18T06:44:49.432Z] $ docker rm -f 23dfa888fa357c2afa14cec57d9e4ea514ab9da9427238d265c0a018345ec5f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T06:44:50.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T06:44:50.620Z] Warning: overwriting stash ‘coverage-report’ [2021-03-18T06:44:51.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T06:44:52.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T06:44:52.599Z] + ls -al . [2021-03-18T06:44:52.599Z] total 152 [2021-03-18T06:44:52.599Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 18 06:44 . [2021-03-18T06:44:52.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 06:42 .. [2021-03-18T06:44:52.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 06:42 .git [2021-03-18T06:44:52.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 06:42 .github [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 258 Mar 18 06:42 .gitignore [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 7136 Mar 18 06:42 Attribution.txt [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 1851 Mar 18 06:42 Dockerfile [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 961 Mar 18 06:42 Dockerfile.build [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 18 06:42 Jenkinsfile [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 06:42 LICENSE [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 873 Mar 18 06:42 Makefile [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 918 Mar 18 06:42 README.md [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 06:39 VERSION [2021-03-18T06:44:52.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 06:42 bin [2021-03-18T06:44:52.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 06:42 cmd [2021-03-18T06:44:52.599Z] -rw-r--r-- 1 jenkins jenkins 47247 Mar 18 06:44 coverage.out [2021-03-18T06:44:52.599Z] -rw-r--r-- 1 jenkins jenkins 809 Mar 18 06:44 go.mod [2021-03-18T06:44:52.599Z] -rw-r--r-- 1 jenkins jenkins 20118 Mar 18 06:44 go.sum [2021-03-18T06:44:52.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 06:42 internal [2021-03-18T06:44:52.599Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 18 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:44:52.936Z] + 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 . [2021-03-18T06:44:53.218Z] Sending build context to Docker daemon 593.9kB [2021-03-18T06:44:53.218Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T06:44:53.218Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-18T06:44:53.218Z] ---> 60e0cb9154e5 [2021-03-18T06:44:53.218Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-18T06:44:53.491Z] ---> Running in 7f517f2490f7 [2021-03-18T06:44:54.083Z] Removing intermediate container 7f517f2490f7 [2021-03-18T06:44:54.083Z] ---> 019881e16558 [2021-03-18T06:44:54.083Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-18T06:44:54.083Z] ---> Running in 66820807e7d9 [2021-03-18T06:44:54.676Z] Removing intermediate container 66820807e7d9 [2021-03-18T06:44:54.676Z] ---> e29ae0971cd4 [2021-03-18T06:44:54.676Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-18T06:44:54.676Z] ---> Running in 878a8d63caf9 [2021-03-18T06:44:55.267Z] Removing intermediate container 878a8d63caf9 [2021-03-18T06:44:55.267Z] ---> e2531f17b533 [2021-03-18T06:44:55.267Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T06:44:55.267Z] ---> Running in bc2dfe0aef72 [2021-03-18T06:44:57.235Z] Removing intermediate container bc2dfe0aef72 [2021-03-18T06:44:57.235Z] ---> 29982e94a902 [2021-03-18T06:44:57.235Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-18T06:44:57.235Z] ---> Running in 2b7409112ded [2021-03-18T06:44:58.676Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T06:44:58.945Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T06:44:59.742Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T06:44:59.917Z] OK: 221 MiB in 53 packages [2021-03-18T06:45:00.889Z] Removing intermediate container 2b7409112ded [2021-03-18T06:45:00.889Z] ---> 123f25bdf7e1 [2021-03-18T06:45:00.889Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-18T06:45:00.889Z] ---> Running in ebe3b88a1bde [2021-03-18T06:45:01.481Z] Removing intermediate container ebe3b88a1bde [2021-03-18T06:45:01.481Z] ---> 35c715d85013 [2021-03-18T06:45:01.481Z] Step 9/22 : COPY . . [2021-03-18T06:45:02.468Z] ---> 5d04878a6b0c [2021-03-18T06:45:02.468Z] Step 10/22 : ARG MAKE='make build' [2021-03-18T06:45:02.740Z] ---> Running in 3f8266aa992c [2021-03-18T06:45:03.013Z] Removing intermediate container 3f8266aa992c [2021-03-18T06:45:03.013Z] ---> 1223cd46000e [2021-03-18T06:45:03.013Z] Step 11/22 : RUN $MAKE [2021-03-18T06:45:03.287Z] ---> Running in efad456d43e4 [2021-03-18T06:45:04.265Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-03-18T06:45:26.376Z] lf-activate-venv(): INFO: Adding /tmp/venv-VgIs/bin to PATH [2021-03-18T06:45:26.376Z] INFO: No Stack... [2021-03-18T06:45:26.376Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T06:45:26.952Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T06:45:27.267Z] + cat /w/workspace/device-virtual-go/6/archives/cost.csv [2021-03-18T06:45:27.267Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T06:45:27.343Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [2021-03-18T06:45:27.353Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] did not exist. Created. [2021-03-18T06:45:27.353Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T06:45:27.764Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-18T06:45:27.916Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T06:45:27.932Z] 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] } [2021-03-18T06:45:43.292Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-18T06:45:46.677Z] Removing intermediate container efad456d43e4 [2021-03-18T06:45:46.677Z] ---> 2e1fcda82fd8 [2021-03-18T06:45:46.677Z] Step 12/22 : FROM alpine:3.12 [2021-03-18T06:45:46.677Z] 3.12: Pulling from library/alpine [2021-03-18T06:45:46.949Z] dce8679b510e: Pulling fs layer [2021-03-18T06:45:46.949Z] dce8679b510e: Download complete [2021-03-18T06:45:47.562Z] dce8679b510e: Pull complete [2021-03-18T06:45:47.562Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-18T06:45:47.562Z] Status: Downloaded newer image for alpine:3.12 [2021-03-18T06:45:47.562Z] ---> d10569e2745f [2021-03-18T06:45:47.562Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-18T06:45:47.836Z] ---> Running in ccc2ad0899b3 [2021-03-18T06:45:48.434Z] Removing intermediate container ccc2ad0899b3 [2021-03-18T06:45:48.434Z] ---> a6e4ad48b5ff [2021-03-18T06:45:48.434Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-18T06:45:48.434Z] ---> Running in 75b29f4b5b2f [2021-03-18T06:45:49.031Z] Removing intermediate container 75b29f4b5b2f [2021-03-18T06:45:49.031Z] ---> a2f548572d15 [2021-03-18T06:45:49.031Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-18T06:45:50.471Z] ---> c87814337d95 [2021-03-18T06:45:50.471Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-18T06:45:50.753Z] ---> 48379a7b6127 [2021-03-18T06:45:50.753Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-18T06:45:51.738Z] ---> 46b64e78303d [2021-03-18T06:45:51.738Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-18T06:45:51.738Z] ---> Running in 6181af594a66 [2021-03-18T06:45:52.012Z] Removing intermediate container 6181af594a66 [2021-03-18T06:45:52.012Z] ---> 8a8635634224 [2021-03-18T06:45:52.012Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T06:45:52.287Z] ---> Running in 6ea1317fee92 [2021-03-18T06:45:52.880Z] Removing intermediate container 6ea1317fee92 [2021-03-18T06:45:52.880Z] ---> b4fdfb69dbc2 [2021-03-18T06:45:52.880Z] Step 20/22 : LABEL arch=arm64 [2021-03-18T06:45:52.880Z] ---> Running in 1c4f12c62aa5 [2021-03-18T06:45:53.473Z] Removing intermediate container 1c4f12c62aa5 [2021-03-18T06:45:53.473Z] ---> c62259f749e8 [2021-03-18T06:45:53.473Z] Step 21/22 : LABEL git_sha=e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [2021-03-18T06:45:53.473Z] ---> Running in 54d74ee2ae96 [2021-03-18T06:45:54.067Z] Removing intermediate container 54d74ee2ae96 [2021-03-18T06:45:54.067Z] ---> 0aa98b307874 [2021-03-18T06:45:54.067Z] Step 22/22 : LABEL version=0.0.0 [2021-03-18T06:45:54.067Z] ---> Running in aa29dcf047a0 [2021-03-18T06:45:54.339Z] Removing intermediate container aa29dcf047a0 [2021-03-18T06:45:54.339Z] ---> d03b04433d4c [2021-03-18T06:45:54.339Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T06:45:54.611Z] Successfully built d03b04433d4c [2021-03-18T06:45:54.611Z] 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 [2021-03-18T06:45:55.508Z] ---> job-cost.sh [2021-03-18T06:45:55.508Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fyfk [2021-03-18T06:46:34.446Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T06:48:11.192Z] lf-activate-venv(): INFO: Adding /tmp/venv-fyfk/bin to PATH [2021-03-18T06:48:11.192Z] INFO: No Stack... [2021-03-18T06:48:11.192Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-18T06:48:11.192Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T06:48:11.534Z] + + catcut /w/workspace/device-virtual-go/6/archives/cost.csv -d, -f6 [2021-03-18T06:48:11.534Z] [Pipeline] lock [2021-03-18T06:48:11.670Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [2021-03-18T06:48:11.679Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] did not exist. Created. [2021-03-18T06:48:11.679Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T06:48:12.176Z] /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 [2021-03-18T06:48:12.532Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-18T06:48:12.604Z] Warning: overwriting stash ‘stack-cost’ [2021-03-18T06:48:12.755Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T06:48:12.769Z] 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 [2021-03-18T06:48:14.303Z] provisioning config files... [2021-03-18T06:48:14.315Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config4468005199726721063tmp [Pipeline] { [Pipeline] sh [2021-03-18T06:48:14.736Z] + set +x [2021-03-18T06:48:14.736Z] + curl -s https://codecov.io/bash [2021-03-18T06:48:14.736Z] + bash -s -- [2021-03-18T06:48:14.999Z] [2021-03-18T06:48:14.999Z] _____ _ [2021-03-18T06:48:14.999Z] / ____| | | [2021-03-18T06:48:14.999Z] | | ___ __| | ___ ___ _____ __ [2021-03-18T06:48:14.999Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-18T06:48:14.999Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-18T06:48:14.999Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-18T06:48:14.999Z] Bash-20210309-2b87ace [2021-03-18T06:48:14.999Z] [2021-03-18T06:48:14.999Z] [2021-03-18T06:48:14.999Z] ==> git version 2.24.3 found [2021-03-18T06:48:14.999Z] ==> 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 [2021-03-18T06:48:14.999Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-18T06:48:14.999Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-18T06:48:14.999Z] ==> Jenkins CI detected. [2021-03-18T06:48:14.999Z] project root: . [2021-03-18T06:48:14.999Z] --> token set from env [2021-03-18T06:48:14.999Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-18T06:48:14.999Z] ==> Running gcov in . (disable via -X gcov) [2021-03-18T06:48:14.999Z] ==> Python coveragepy not found [2021-03-18T06:48:14.999Z] ==> Searching for coverage reports in: [2021-03-18T06:48:14.999Z] + . [2021-03-18T06:48:14.999Z] -> Found 1 reports [2021-03-18T06:48:14.999Z] ==> Detecting git/mercurial file structure [2021-03-18T06:48:14.999Z] ==> Reading reports [2021-03-18T06:48:14.999Z] + ./coverage.out bytes=47247 [2021-03-18T06:48:14.999Z] ==> Appending adjustments [2021-03-18T06:48:14.999Z] https://docs.codecov.io/docs/fixing-reports [2021-03-18T06:48:15.266Z] + Found adjustments [2021-03-18T06:48:15.266Z] ==> Gzipping contents [2021-03-18T06:48:15.266Z] 8.0K /tmp/codecov.D04AmM.gz [2021-03-18T06:48:15.266Z] ==> Uploading reports [2021-03-18T06:48:15.266Z] url: https://codecov.io [2021-03-18T06:48:15.266Z] 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= [2021-03-18T06:48:15.266Z] -> Pinging Codecov [2021-03-18T06:48:15.266Z] 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= [2021-03-18T06:48:15.529Z] -> Uploading to [2021-03-18T06:48:15.529Z] 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 [2021-03-18T06:48:15.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T06:48:15.529Z] Dload Upload Total Spent Left Speed [2021-03-18T06:48:16.055Z] 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 [2021-03-18T06:48:16.055Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e87a23444af3a2f7e32ecde9fa8540dc55a9b1bd [Pipeline] } [2021-03-18T06:48:16.065Z] 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 [2021-03-18T06:48:18.744Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:48:19.049Z] ---> package-listing.sh [2021-03-18T06:48:19.049Z] ++ facter osfamily [2021-03-18T06:48:19.049Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-18T06:48:19.049Z] + OS_FAMILY=redhat [2021-03-18T06:48:19.049Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-169 [2021-03-18T06:48:19.049Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-18T06:48:19.049Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-18T06:48:19.049Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-18T06:48:19.049Z] + PACKAGES=/tmp/packages_start.txt [2021-03-18T06:48:19.049Z] + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' [2021-03-18T06:48:19.049Z] + PACKAGES=/tmp/packages_end.txt [2021-03-18T06:48:19.049Z] + case "${OS_FAMILY}" in [2021-03-18T06:48:19.049Z] + rpm -qa [2021-03-18T06:48:19.049Z] + sort [2021-03-18T06:48:24.374Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-18T06:48:24.374Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-18T06:48:24.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-18T06:48:24.374Z] + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' [2021-03-18T06:48:24.374Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ [2021-03-18T06:48:24.374Z] + 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 [2021-03-18T06:48:24.388Z] 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 [2021-03-18T06:48:24.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:48:24.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T06:48:24.992Z] [2021-03-18T06:48:24.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-18T06:48:25.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T06:48:25.364Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-18T06:48:25.364Z] df20fa9351a1: Pulling fs layer [2021-03-18T06:48:25.364Z] 36b3adc4ff6f: Pulling fs layer [2021-03-18T06:48:25.364Z] 8ad3a11d3b57: Pulling fs layer [2021-03-18T06:48:25.364Z] 46f8f816bc3b: Pulling fs layer [2021-03-18T06:48:25.364Z] 93b61091891f: Pulling fs layer [2021-03-18T06:48:25.364Z] 93b9cdb0e59b: Pulling fs layer [2021-03-18T06:48:25.364Z] 5e14af77c1be: Pulling fs layer [2021-03-18T06:48:25.364Z] 01666e4c0597: Pulling fs layer [2021-03-18T06:48:25.364Z] aa168da1d23b: Pulling fs layer [2021-03-18T06:48:25.364Z] 93b9cdb0e59b: Waiting [2021-03-18T06:48:25.364Z] 5e14af77c1be: Waiting [2021-03-18T06:48:25.364Z] 01666e4c0597: Waiting [2021-03-18T06:48:25.364Z] aa168da1d23b: Waiting [2021-03-18T06:48:25.364Z] 46f8f816bc3b: Waiting [2021-03-18T06:48:25.364Z] 93b61091891f: Waiting [2021-03-18T06:48:25.364Z] 36b3adc4ff6f: Verifying Checksum [2021-03-18T06:48:25.364Z] 36b3adc4ff6f: Download complete [2021-03-18T06:48:25.364Z] 46f8f816bc3b: Verifying Checksum [2021-03-18T06:48:25.364Z] 46f8f816bc3b: Download complete [2021-03-18T06:48:25.364Z] df20fa9351a1: Verifying Checksum [2021-03-18T06:48:25.364Z] df20fa9351a1: Download complete [2021-03-18T06:48:25.628Z] 93b9cdb0e59b: Verifying Checksum [2021-03-18T06:48:25.628Z] 93b9cdb0e59b: Download complete [2021-03-18T06:48:25.628Z] 5e14af77c1be: Verifying Checksum [2021-03-18T06:48:25.628Z] 5e14af77c1be: Download complete [2021-03-18T06:48:25.628Z] 93b61091891f: Download complete [2021-03-18T06:48:25.628Z] 01666e4c0597: Verifying Checksum [2021-03-18T06:48:25.628Z] 01666e4c0597: Download complete [2021-03-18T06:48:25.894Z] df20fa9351a1: Pull complete [2021-03-18T06:48:26.156Z] 36b3adc4ff6f: Pull complete [2021-03-18T06:48:26.427Z] 8ad3a11d3b57: Download complete [2021-03-18T06:48:27.397Z] 8ad3a11d3b57: Pull complete [2021-03-18T06:48:27.397Z] 46f8f816bc3b: Pull complete [2021-03-18T06:48:27.979Z] 93b61091891f: Pull complete [2021-03-18T06:48:28.242Z] aa168da1d23b: Verifying Checksum [2021-03-18T06:48:28.242Z] aa168da1d23b: Download complete [2021-03-18T06:48:28.242Z] 93b9cdb0e59b: Pull complete [2021-03-18T06:48:28.505Z] 5e14af77c1be: Pull complete [2021-03-18T06:48:28.765Z] 01666e4c0597: Pull complete [2021-03-18T06:48:36.951Z] aa168da1d23b: Pull complete [2021-03-18T06:48:36.951Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-18T06:48:36.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T06:48:36.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-18T06:48:37.171Z] prd-centos7-docker-4c-2g-30270 does not seem to be running inside a container [2021-03-18T06:48:37.226Z] $ 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 [2021-03-18T06:48:40.293Z] $ docker top 2074beb8ad38a1335c26bde811169dc40b08ef6f01abc14c4dd75bb464bb95a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T06:48:40.852Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-18T06:48:41.154Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-18T06:48:41.456Z] + ls /var/log/sa-host [2021-03-18T06:48:41.456Z] + sadf -c /var/log/sa-host/sa18 [2021-03-18T06:48:41.456Z] file_magic: OK [2021-03-18T06:48:41.456Z] HZ: Using current value: 100 [2021-03-18T06:48:41.456Z] file_header: OK [2021-03-18T06:48:41.456Z] 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 [2021-03-18T06:48:41.456Z] Statistics: [2021-03-18T06:48:41.456Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-18T06:48:41.456Z] File successfully converted to sysstat format version 12.2.1 [2021-03-18T06:48:41.456Z] + sadf -c /var/log/sa-host/sa23 [2021-03-18T06:48:41.456Z] file_magic: OK [2021-03-18T06:48:41.456Z] HZ: Using current value: 100 [2021-03-18T06:48:41.456Z] file_header: OK [2021-03-18T06:48:41.456Z] 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 [2021-03-18T06:48:41.456Z] Statistics: [2021-03-18T06:48:41.456Z] Hnuu...uuuununununu... [2021-03-18T06:48:41.456Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T06:48:42.126Z] provisioning config files... [2021-03-18T06:48:42.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1617567931132051749tmp [Pipeline] { [Pipeline] echo [2021-03-18T06:48:42.217Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:48:42.520Z] ---> create-netrc.sh [Pipeline] } [2021-03-18T06:48:42.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-18T06:48:42.632Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:48:42.934Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-18T06:48:42.946Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:48:43.246Z] ---> sudo-logs.sh [2021-03-18T06:48:43.247Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-18T06:48:43.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:48:43.622Z] ---> job-cost.sh [2021-03-18T06:48:43.622Z] lf-activate-venv: SKIPPING [2021-03-18T06:48:43.622Z] DEBUG: total: 0.20999999344348907 [2021-03-18T06:48:43.622Z] INFO: Retrieving Stack Cost... [2021-03-18T06:48:44.569Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T06:48:45.145Z] INFO: Archiving Costs [Pipeline] echo [2021-03-18T06:48:45.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T06:48:45.465Z] ---> logs-deploy.sh [2021-03-18T06:48:45.465Z] lf-activate-venv: SKIPPING [2021-03-18T06:48:45.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/6 [2021-03-18T06:48:45.465Z] INFO: archiving workspace using pattern(s): [2021-03-18T06:48:47.386Z] Archives upload complete. [2021-03-18T06:48:47.386Z] INFO: archiving logs to Nexus