Pull request #844 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-sdk-go Obtained Jenkinsfile from e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (875f1cfdd543c10d9315c2e97affc20ff950fec0) 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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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-32170 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-844 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b Merge succeeded, producing e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b Checking out Revision e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T02:58:59.666Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 [2021-03-31T02:58:59.979Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T02:59:00.107Z] ========================================================= [2021-03-31T02:59:00.107Z] EdgeX Global Pipelines Version Info [2021-03-31T02:59:00.107Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T02:59:03.849Z] ------------------- [2021-03-31T02:59:03.849Z] stable info: [2021-03-31T02:59:03.849Z] ------------------- [2021-03-31T02:59:03.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T02:59:03.849Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T02:59:03.849Z] Message: update stable to v1.0.186 [2021-03-31T02:59:04.869Z] ------------------- [2021-03-31T02:59:04.869Z] experimental info: [2021-03-31T02:59:04.869Z] ------------------- [2021-03-31T02:59:04.869Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T02:59:04.869Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T02:59:04.869Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T02:59:05.396Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-31T02:59:05.500Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-31T02:59:05.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T02:59:05.711Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T02:59:05.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T02:59:05.921Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T02:59:06.015Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T02:59:06.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T02:59:06.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-31T02:59:06.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T02:59:06.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T02:59:06.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-31T02:59:06.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T02:59:06.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T02:59:06.847Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T02:59:06.954Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T02:59:07.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T02:59:07.170Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T02:59:07.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T02:59:07.357Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T02:59:07.471Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T02:59:07.566Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T02:59:07.659Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T02:59:07.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T02:59:07.859Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-31T02:59:07.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T02:59:08.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo [2021-03-31T02:59:08.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo [2021-03-31T02:59:08.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo [2021-03-31T02:59:08.417Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [Pipeline] echo [2021-03-31T02:59:08.515Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e922bb8 [Pipeline] echo [2021-03-31T02:59:08.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T02:59:08.850Z] provisioning config files... [2021-03-31T02:59:08.944Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config7527331241753293824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T02:59:09.519Z] ---> docker-login.sh [2021-03-31T02:59:09.519Z] nexus3.edgexfoundry.org:10001 [2021-03-31T02:59:10.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T02:59:10.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T02:59:10.673Z] Configure a credential helper to remove this warning. See [2021-03-31T02:59:10.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T02:59:10.673Z] [2021-03-31T02:59:10.673Z] Login Succeeded [2021-03-31T02:59:10.673Z] nexus3.edgexfoundry.org:10002 [2021-03-31T02:59:10.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T02:59:10.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T02:59:10.942Z] Configure a credential helper to remove this warning. See [2021-03-31T02:59:10.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T02:59:10.942Z] [2021-03-31T02:59:10.942Z] Login Succeeded [2021-03-31T02:59:10.942Z] nexus3.edgexfoundry.org:10003 [2021-03-31T02:59:11.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T02:59:11.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T02:59:11.546Z] Configure a credential helper to remove this warning. See [2021-03-31T02:59:11.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T02:59:11.546Z] [2021-03-31T02:59:11.546Z] Login Succeeded [2021-03-31T02:59:11.546Z] nexus3.edgexfoundry.org:10004 [2021-03-31T02:59:12.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T02:59:12.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T02:59:12.319Z] Configure a credential helper to remove this warning. See [2021-03-31T02:59:12.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T02:59:12.319Z] [2021-03-31T02:59:12.319Z] Login Succeeded [2021-03-31T02:59:12.319Z] docker.io [2021-03-31T02:59:12.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T02:59:13.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T02:59:13.030Z] Configure a credential helper to remove this warning. See [2021-03-31T02:59:13.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T02:59:13.030Z] [2021-03-31T02:59:13.030Z] Login Succeeded [2021-03-31T02:59:13.030Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T02:59:13.044Z] 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-31T02:59:14.035Z] + git log --format=format:%s -1 e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [Pipeline] echo [2021-03-31T02:59:14.366Z] GIT_COMMIT: e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b, Commit Message: feat: add capability to load devices from directory [Pipeline] echo [2021-03-31T02:59:14.413Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T02:59:15.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T02:59:15.839Z] [2021-03-31T02:59:15.839Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T02:59:16.297Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T02:59:16.669Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T02:59:16.669Z] 31603596830f: Pulling fs layer [2021-03-31T02:59:16.669Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T02:59:16.669Z] 6ca5941a6612: Pulling fs layer [2021-03-31T02:59:16.669Z] ecc8261a40a4: Pulling fs layer [2021-03-31T02:59:16.669Z] ecc8261a40a4: Waiting [2021-03-31T02:59:16.669Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T02:59:16.669Z] 2a8b12db71e7: Download complete [2021-03-31T02:59:17.039Z] 31603596830f: Verifying Checksum [2021-03-31T02:59:17.039Z] 31603596830f: Download complete [2021-03-31T02:59:17.464Z] ecc8261a40a4: Verifying Checksum [2021-03-31T02:59:17.465Z] ecc8261a40a4: Download complete [2021-03-31T02:59:17.786Z] 6ca5941a6612: Verifying Checksum [2021-03-31T02:59:17.786Z] 6ca5941a6612: Download complete [2021-03-31T02:59:18.854Z] 31603596830f: Pull complete [2021-03-31T02:59:18.854Z] 2a8b12db71e7: Pull complete [2021-03-31T02:59:21.741Z] 6ca5941a6612: Pull complete [2021-03-31T02:59:22.081Z] ecc8261a40a4: Pull complete [2021-03-31T02:59:22.081Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T02:59:22.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T02:59:22.158Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T02:59:22.564Z] prd-centos7-docker-4c-2g-32170 does not seem to be running inside a container [2021-03-31T02:59:22.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@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-31T02:59:26.264Z] $ docker top 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T02:59:26.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T02:59:26.703Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T02:59:27.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T02:59:27.060Z] $ docker exec 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 ssh-agent [2021-03-31T02:59:27.360Z] SSH_AUTH_SOCK=/tmp/ssh-KubY5GycOblK/agent.12 [2021-03-31T02:59:27.360Z] SSH_AGENT_PID=18 [2021-03-31T02:59:27.388Z] Running ssh-add (command line suppressed) [2021-03-31T02:59:27.683Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_7049212378717656543.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_7049212378717656543.key) [2021-03-31T02:59:27.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T02:59:29.173Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T02:59:29.219Z] $ docker exec --env ******** --env ******** 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 ssh-agent -k [2021-03-31T02:59:29.868Z] unset SSH_AUTH_SOCK; [2021-03-31T02:59:29.869Z] unset SSH_AGENT_PID; [2021-03-31T02:59:29.869Z] echo Agent pid 18 killed; [2021-03-31T02:59:30.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T02:59:30.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T02:59:30.226Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T02:59:30.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T02:59:30.779Z] $ docker exec 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 ssh-agent [2021-03-31T02:59:31.310Z] SSH_AUTH_SOCK=/tmp/ssh-vYKTIMlmiEOC/agent.47 [2021-03-31T02:59:31.310Z] SSH_AGENT_PID=52 [2021-03-31T02:59:31.321Z] Running ssh-add (command line suppressed) [2021-03-31T02:59:31.623Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_6252777022862160058.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_6252777022862160058.key) [2021-03-31T02:59:32.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T02:59:33.009Z] + git semver init [2021-03-31T02:59:33.009Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T02:59:33.009Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git [2021-03-31T02:59:33.009Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-03-31T02:59:33.009Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T02:59:33.009Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T02:59:33.009Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T02:59:33.009Z] # $SEMVER_BRANCH = PR-844 [2021-03-31T02:59:33.009Z] # $SEMVER_TEMP = /tmp/semver-851172248 [2021-03-31T02:59:33.009Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-31T02:59:34.617Z] # '/tmp/semver-851172248' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' [2021-03-31T02:59:34.617Z] # -> Force: false [2021-03-31T02:59:34.915Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } [2021-03-31T02:59:34.978Z] $ docker exec --env ******** --env ******** 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 ssh-agent -k [2021-03-31T02:59:35.570Z] unset SSH_AUTH_SOCK; [2021-03-31T02:59:35.571Z] unset SSH_AGENT_PID; [2021-03-31T02:59:35.571Z] echo Agent pid 52 killed; [2021-03-31T02:59:35.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T02:59:36.587Z] + git semver [Pipeline] } [2021-03-31T02:59:36.619Z] $ docker stop --time=1 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 [2021-03-31T02:59:38.523Z] $ docker rm -f 5c9d08af62f1d0a998872853ecfe14f68e7fdcfa22ab159c5e4b0f210e8e5779 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T02:59:39.277Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T02:59:42.569Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T02:59:42.572Z] [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-31T02:59:58.082Z] Still waiting to schedule task [2021-03-31T02:59:58.082Z] ‘prd-centos7-docker-4c-2g-32166’ is offline; ‘prd-centos7-docker-4c-2g-32172’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-32153’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-31T02:59:58.085Z] Still waiting to schedule task [2021-03-31T02:59:58.085Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-31T03:01:16.062Z] Running on prd-centos7-docker-4c-2g-32173 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-03-31T03:01:16.121Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-31T03:01:18.475Z] using credential edgex-jenkins-ssh [2021-03-31T03:01:18.526Z] Cloning the remote Git repository [2021-03-31T03:01:18.196Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T03:01:18.270Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-31T03:01:18.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T03:01:18.333Z] > git --version # timeout=10 [2021-03-31T03:01:18.339Z] > git --version # 'git version 2.24.3' [2021-03-31T03:01:18.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T03:01:18.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T03:01:19.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T03:01:19.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T03:01:19.968Z] Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-03-31T03:01:20.065Z] Merge succeeded, producing e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-03-31T03:01:20.065Z] Checking out Revision e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b (PR-844) [2021-03-31T03:01:19.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T03:01:19.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T03:01:19.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T03:01:19.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T03:01:19.740Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T03:01:19.751Z] > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-03-31T03:01:19.801Z] > git remote # timeout=10 [2021-03-31T03:01:19.809Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T03:01:19.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T03:01:19.821Z] > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 [2021-03-31T03:01:19.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T03:01:19.840Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T03:01:19.846Z] > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-03-31T03:01:23.790Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T03:01:24.960Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T03:01:25.297Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T03:01:25.603Z] + sudo service docker restart [2021-03-31T03:01:25.603Z] + true [2021-03-31T03:01:25.603Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T03:01:26.622Z] provisioning config files... [2021-03-31T03:01:26.649Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3305330645115431491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:01:27.091Z] ---> docker-login.sh [2021-03-31T03:01:27.091Z] nexus3.edgexfoundry.org:10001 [2021-03-31T03:01:27.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:01:27.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:01:27.359Z] Configure a credential helper to remove this warning. See [2021-03-31T03:01:27.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:01:27.359Z] [2021-03-31T03:01:27.359Z] Login Succeeded [2021-03-31T03:01:27.359Z] nexus3.edgexfoundry.org:10002 [2021-03-31T03:01:27.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:01:27.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:01:27.624Z] Configure a credential helper to remove this warning. See [2021-03-31T03:01:27.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:01:27.624Z] [2021-03-31T03:01:27.624Z] Login Succeeded [2021-03-31T03:01:27.624Z] nexus3.edgexfoundry.org:10003 [2021-03-31T03:01:27.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:01:27.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:01:27.891Z] Configure a credential helper to remove this warning. See [2021-03-31T03:01:27.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:01:27.891Z] [2021-03-31T03:01:27.891Z] Login Succeeded [2021-03-31T03:01:27.891Z] nexus3.edgexfoundry.org:10004 [2021-03-31T03:01:27.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:01:28.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:01:28.155Z] Configure a credential helper to remove this warning. See [2021-03-31T03:01:28.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:01:28.155Z] [2021-03-31T03:01:28.155Z] Login Succeeded [2021-03-31T03:01:28.155Z] docker.io [2021-03-31T03:01:28.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:01:28.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:01:28.418Z] Configure a credential helper to remove this warning. See [2021-03-31T03:01:28.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:01:28.418Z] [2021-03-31T03:01:28.418Z] Login Succeeded [2021-03-31T03:01:28.418Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T03:01:28.430Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T03:01:28.745Z] ========================================================= [2021-03-31T03:01:28.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T03:01:28.745Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:01:29.141Z] + 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-31T03:01:29.141Z] Sending build context to Docker daemon 2.396MB [2021-03-31T03:01:29.141Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T03:01:29.141Z] Step 2/8 : FROM ${BASE} [2021-03-31T03:01:29.404Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T03:01:29.404Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T03:01:29.404Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T03:01:29.404Z] de9db76c5a1d: Pulling fs layer [2021-03-31T03:01:29.404Z] bca2f99d35d6: Pulling fs layer [2021-03-31T03:01:29.404Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T03:01:29.404Z] 7c6f9722023f: Pulling fs layer [2021-03-31T03:01:29.404Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T03:01:29.404Z] 93359f2a8cfa: Waiting [2021-03-31T03:01:29.404Z] 7c6f9722023f: Waiting [2021-03-31T03:01:29.404Z] a35cf1a2eb13: Waiting [2021-03-31T03:01:29.404Z] bca2f99d35d6: Waiting [2021-03-31T03:01:29.404Z] de9db76c5a1d: Verifying Checksum [2021-03-31T03:01:29.404Z] de9db76c5a1d: Download complete [2021-03-31T03:01:29.404Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T03:01:29.404Z] 0ef7d3d256c8: Download complete [2021-03-31T03:01:29.404Z] 93359f2a8cfa: Download complete [2021-03-31T03:01:29.404Z] 7c6f9722023f: Verifying Checksum [2021-03-31T03:01:29.404Z] 7c6f9722023f: Download complete [2021-03-31T03:01:29.404Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T03:01:29.404Z] 188c0c94c7c5: Download complete [2021-03-31T03:01:29.672Z] 188c0c94c7c5: Pull complete [2021-03-31T03:01:29.939Z] 0ef7d3d256c8: Pull complete [2021-03-31T03:01:29.939Z] de9db76c5a1d: Pull complete [2021-03-31T03:01:31.354Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T03:01:31.354Z] a35cf1a2eb13: Download complete [2021-03-31T03:01:31.932Z] bca2f99d35d6: Verifying Checksum [2021-03-31T03:01:31.932Z] bca2f99d35d6: Download complete [2021-03-31T03:01:37.274Z] bca2f99d35d6: Pull complete [2021-03-31T03:01:37.544Z] 93359f2a8cfa: Pull complete [2021-03-31T03:01:37.544Z] 7c6f9722023f: Pull complete [2021-03-31T03:01:41.782Z] a35cf1a2eb13: Pull complete [2021-03-31T03:01:41.782Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T03:01:41.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T03:01:41.782Z] ---> a62c8e92a672 [2021-03-31T03:01:41.782Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T03:01:42.055Z] ---> Running in 974ebb3fd1f1 [2021-03-31T03:01:42.632Z] Removing intermediate container 974ebb3fd1f1 [2021-03-31T03:01:42.632Z] ---> 4c17cb4f4c36 [2021-03-31T03:01:42.632Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T03:01:42.632Z] ---> Running in 1753a4b7ab55 [2021-03-31T03:01:43.587Z] Removing intermediate container 1753a4b7ab55 [2021-03-31T03:01:43.587Z] ---> f6cc70768b59 [2021-03-31T03:01:43.587Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T03:01:43.587Z] ---> Running in dacaf6aa520a [2021-03-31T03:01:44.539Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T03:01:45.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T03:01:46.058Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T03:01:46.058Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T03:01:46.058Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T03:01:46.058Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T03:01:46.319Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T03:01:46.319Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T03:01:46.319Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T03:01:46.319Z] OK: 167 MiB in 45 packages [2021-03-31T03:01:47.271Z] Removing intermediate container dacaf6aa520a [2021-03-31T03:01:47.271Z] ---> a0257d6f7659 [2021-03-31T03:01:47.271Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T03:01:47.271Z] ---> Running in 5df963b8b1f2 [2021-03-31T03:01:47.271Z] Removing intermediate container 5df963b8b1f2 [2021-03-31T03:01:47.271Z] ---> c4cbba5cb1b8 [2021-03-31T03:01:47.271Z] Step 7/8 : COPY . . [2021-03-31T03:01:48.666Z] ---> 47fcfdee98da [2021-03-31T03:01:48.666Z] Step 8/8 : RUN go mod download [2021-03-31T03:01:48.666Z] ---> Running in 014249aa6bf6 [2021-03-31T03:02:10.709Z] Removing intermediate container 014249aa6bf6 [2021-03-31T03:02:10.709Z] ---> 2e28fc7f52df [2021-03-31T03:02:10.709Z] Successfully built 2e28fc7f52df [2021-03-31T03:02:10.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:02:11.038Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T03:02:11.038Z] . [Pipeline] withDockerContainer [2021-03-31T03:02:11.186Z] prd-centos7-docker-4c-2g-32173 does not seem to be running inside a container [2021-03-31T03:02:11.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T03:02:12.822Z] $ docker top f5fbc84508294732231d89e002f3315406b6c927cc2350456cecd5a5c4c9c432 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T03:02:13.370Z] + go version [2021-03-31T03:02:13.370Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T03:02:13.400Z] $ docker stop --time=1 f5fbc84508294732231d89e002f3315406b6c927cc2350456cecd5a5c4c9c432 [2021-03-31T03:02:14.811Z] $ docker rm -f f5fbc84508294732231d89e002f3315406b6c927cc2350456cecd5a5c4c9c432 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:02:15.729Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T03:02:15.729Z] . [Pipeline] withDockerContainer [2021-03-31T03:02:15.839Z] prd-centos7-docker-4c-2g-32173 does not seem to be running inside a container [2021-03-31T03:02:15.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T03:02:16.517Z] $ docker top ca943363626f0d5326cf868d240e12b0f9c683d23c9f8eccd83257a278766018 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T03:02:17.009Z] + make test [2021-03-31T03:02:17.009Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T03:02:25.241Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T03:02:47.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T03:02:47.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T03:02:47.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T03:02:47.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T03:02:47.404Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T03:02:47.404Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.0% of statements [2021-03-31T03:02:47.404Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.085s coverage: 81.2% of statements [2021-03-31T03:02:47.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.077s coverage: 7.8% of statements [2021-03-31T03:02:47.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T03:02:47.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T03:02:47.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T03:02:47.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.101s coverage: 32.5% of statements [2021-03-31T03:02:47.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T03:02:47.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T03:02:47.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T03:02:48.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 57.3% of statements [2021-03-31T03:02:49.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.175s coverage: 6.6% of statements [2021-03-31T03:02:49.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 5.0% of statements [2021-03-31T03:02:49.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T03:02:49.415Z] GO111MODULE=on go vet ./... [2021-03-31T03:03:06.800Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32175 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-03-31T03:03:06.893Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-31T03:03:07.663Z] gofmt -l . [2021-03-31T03:03:07.663Z] [ "`gofmt -l .`" = "" ] [2021-03-31T03:03:07.663Z] ./bin/test-attribution-txt.sh [2021-03-31T03:03:07.663Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T03:03:07.680Z] $ docker stop --time=1 ca943363626f0d5326cf868d240e12b0f9c683d23c9f8eccd83257a278766018 [2021-03-31T03:03:09.401Z] $ docker rm -f ca943363626f0d5326cf868d240e12b0f9c683d23c9f8eccd83257a278766018 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T03:03:10.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T03:03:10.482Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-31T03:03:11.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T03:03:12.020Z] + ls -al . [2021-03-31T03:03:12.020Z] total 188 [2021-03-31T03:03:12.020Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 03:03 . [2021-03-31T03:03:12.020Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 03:01 .. [2021-03-31T03:03:12.020Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 03:01 bin [2021-03-31T03:03:12.020Z] -rw-r--r--. 1 jenkins jenkins 101416 Mar 31 03:02 coverage.out [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 03:01 Dockerfile.build [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 03:01 .dockerignore [2021-03-31T03:03:12.020Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 03:01 example [2021-03-31T03:03:12.020Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 03:01 .git [2021-03-31T03:03:12.020Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 03:01 .github [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 03:01 .gitignore [2021-03-31T03:03:12.020Z] -rw-r--r--. 1 jenkins jenkins 572 Mar 31 03:03 go.mod [2021-03-31T03:03:12.020Z] -rw-r--r--. 1 jenkins jenkins 20914 Mar 31 03:03 go.sum [2021-03-31T03:03:12.020Z] drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 03:01 internal [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 03:01 Jenkinsfile [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 03:01 LICENSE [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 03:01 Makefile [2021-03-31T03:03:12.020Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 03:01 openapi [2021-03-31T03:03:12.020Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 03:01 pkg [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 03:01 README.md [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 03:01 RELEASE-NOTES.txt [2021-03-31T03:03:12.020Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 03:01 snap [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 02:59 VERSION [2021-03-31T03:03:12.020Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 03:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:03:12.352Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b --label arch=amd64 --label version=0.0.0 . [2021-03-31T03:03:12.559Z] using credential edgex-jenkins-ssh [2021-03-31T03:03:12.616Z] Sending build context to Docker daemon 2.498MB [2021-03-31T03:03:12.616Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T03:03:12.616Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T03:03:12.616Z] ---> 2e28fc7f52df [2021-03-31T03:03:12.616Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T03:03:12.623Z] Cloning the remote Git repository [2021-03-31T03:03:13.191Z] ---> Running in 2564b14892bb [2021-03-31T03:03:12.693Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T03:03:12.821Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-31T03:03:12.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T03:03:12.915Z] > git --version # timeout=10 [2021-03-31T03:03:12.933Z] > git --version # 'git version 2.17.1' [2021-03-31T03:03:12.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T03:03:13.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T03:03:13.454Z] Removing intermediate container 2564b14892bb [2021-03-31T03:03:13.454Z] ---> 025574c53a12 [2021-03-31T03:03:13.454Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T03:03:13.454Z] ---> Running in 4c61006a8a5e [2021-03-31T03:03:13.719Z] Removing intermediate container 4c61006a8a5e [2021-03-31T03:03:13.719Z] ---> 32aab30020c6 [2021-03-31T03:03:13.719Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T03:03:13.719Z] ---> Running in 12d6b4f6392a [2021-03-31T03:03:14.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T03:03:14.417Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T03:03:14.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T03:03:14.682Z] Removing intermediate container 12d6b4f6392a [2021-03-31T03:03:14.682Z] ---> 0d2ac5999169 [2021-03-31T03:03:14.682Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T03:03:14.682Z] ---> Running in ff6a1006102d [2021-03-31T03:03:15.104Z] Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-03-31T03:03:15.266Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T03:03:15.501Z] Merge succeeded, producing e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-03-31T03:03:15.502Z] Checking out Revision e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b (PR-844) [2021-03-31T03:03:14.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T03:03:14.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T03:03:14.518Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T03:03:15.127Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T03:03:15.198Z] > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-03-31T03:03:15.326Z] > git remote # timeout=10 [2021-03-31T03:03:15.371Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T03:03:15.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T03:03:15.400Z] > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 [2021-03-31T03:03:15.447Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T03:03:15.511Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T03:03:15.531Z] > git checkout -f e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b # timeout=10 [2021-03-31T03:03:16.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T03:03:19.214Z] OK: 167 MiB in 45 packages [2021-03-31T03:03:19.792Z] Removing intermediate container ff6a1006102d [2021-03-31T03:03:19.792Z] ---> 1362dc63a39d [2021-03-31T03:03:19.792Z] Step 7/23 : COPY . . [2021-03-31T03:03:19.861Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T03:03:20.748Z] ---> 8875ea70613a [2021-03-31T03:03:20.748Z] Step 8/23 : RUN go mod download [2021-03-31T03:03:20.748Z] ---> Running in 75dcc9e6c98e [2021-03-31T03:03:21.347Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T03:03:21.693Z] Removing intermediate container 75dcc9e6c98e [2021-03-31T03:03:21.693Z] ---> 9f7929cb0021 [2021-03-31T03:03:21.693Z] Step 9/23 : RUN make build [2021-03-31T03:03:21.804Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T03:03:21.959Z] ---> Running in 9ce6aacb30e0 [2021-03-31T03:03:22.141Z] + true [2021-03-31T03:03:22.141Z] + sudo service docker restart [2021-03-31T03:03:22.543Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T03:03:24.900Z] provisioning config files... [2021-03-31T03:03:24.939Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config4820114509840252127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:03:25.367Z] ---> docker-login.sh [2021-03-31T03:03:25.367Z] nexus3.edgexfoundry.org:10001 [2021-03-31T03:03:26.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:03:26.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:03:26.625Z] Configure a credential helper to remove this warning. See [2021-03-31T03:03:26.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:03:26.625Z] [2021-03-31T03:03:26.625Z] Login Succeeded [2021-03-31T03:03:26.625Z] nexus3.edgexfoundry.org:10002 [2021-03-31T03:03:26.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:03:27.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:03:27.172Z] Configure a credential helper to remove this warning. See [2021-03-31T03:03:27.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:03:27.172Z] [2021-03-31T03:03:27.172Z] Login Succeeded [2021-03-31T03:03:27.172Z] nexus3.edgexfoundry.org:10003 [2021-03-31T03:03:27.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:03:27.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:03:27.725Z] Configure a credential helper to remove this warning. See [2021-03-31T03:03:27.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:03:27.725Z] [2021-03-31T03:03:27.725Z] Login Succeeded [2021-03-31T03:03:27.725Z] nexus3.edgexfoundry.org:10004 [2021-03-31T03:03:27.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:03:28.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:03:28.276Z] Configure a credential helper to remove this warning. See [2021-03-31T03:03:28.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:03:28.276Z] [2021-03-31T03:03:28.276Z] Login Succeeded [2021-03-31T03:03:28.276Z] docker.io [2021-03-31T03:03:28.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T03:03:28.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T03:03:28.822Z] Configure a credential helper to remove this warning. See [2021-03-31T03:03:28.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T03:03:28.822Z] [2021-03-31T03:03:28.822Z] Login Succeeded [2021-03-31T03:03:28.822Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T03:03:28.840Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T03:03:29.273Z] ========================================================= [2021-03-31T03:03:29.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T03:03:29.273Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:03:29.667Z] + 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-31T03:03:29.950Z] Sending build context to Docker daemon 2.395MB [2021-03-31T03:03:30.229Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T03:03:30.229Z] Step 2/8 : FROM ${BASE} [2021-03-31T03:03:30.229Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T03:03:30.229Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T03:03:30.229Z] a4357932f1b6: Pulling fs layer [2021-03-31T03:03:30.229Z] 18c013af1878: Pulling fs layer [2021-03-31T03:03:30.229Z] 00ac8860ef70: Pulling fs layer [2021-03-31T03:03:30.229Z] 63d7cb157983: Pulling fs layer [2021-03-31T03:03:30.229Z] b116817d02f9: Pulling fs layer [2021-03-31T03:03:30.229Z] 745a02a5169b: Pulling fs layer [2021-03-31T03:03:30.229Z] 00ac8860ef70: Waiting [2021-03-31T03:03:30.229Z] 63d7cb157983: Waiting [2021-03-31T03:03:30.229Z] b116817d02f9: Waiting [2021-03-31T03:03:30.229Z] 745a02a5169b: Waiting [2021-03-31T03:03:30.229Z] 18c013af1878: Verifying Checksum [2021-03-31T03:03:30.229Z] 18c013af1878: Download complete [2021-03-31T03:03:30.229Z] a4357932f1b6: Verifying Checksum [2021-03-31T03:03:30.229Z] a4357932f1b6: Download complete [2021-03-31T03:03:30.229Z] 63d7cb157983: Verifying Checksum [2021-03-31T03:03:30.229Z] 63d7cb157983: Download complete [2021-03-31T03:03:30.229Z] b116817d02f9: Verifying Checksum [2021-03-31T03:03:30.229Z] b116817d02f9: Download complete [2021-03-31T03:03:30.229Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T03:03:30.229Z] 5f621e34cdf4: Download complete [2021-03-31T03:03:31.245Z] 5f621e34cdf4: Pull complete [2021-03-31T03:03:31.872Z] a4357932f1b6: Pull complete [2021-03-31T03:03:32.159Z] 18c013af1878: Pull complete [2021-03-31T03:03:32.715Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T03:03:32.760Z] 745a02a5169b: Verifying Checksum [2021-03-31T03:03:32.760Z] 745a02a5169b: Download complete [2021-03-31T03:03:33.741Z] 00ac8860ef70: Verifying Checksum [2021-03-31T03:03:33.741Z] 00ac8860ef70: Download complete [2021-03-31T03:03:35.279Z] Removing intermediate container 9ce6aacb30e0 [2021-03-31T03:03:35.279Z] ---> 5a83c764a030 [2021-03-31T03:03:35.279Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T03:03:35.279Z] 3.12: Pulling from library/alpine [2021-03-31T03:03:35.279Z] 22599d3e9e25: Pulling fs layer [2021-03-31T03:03:35.543Z] 22599d3e9e25: Verifying Checksum [2021-03-31T03:03:35.543Z] 22599d3e9e25: Download complete [2021-03-31T03:03:35.809Z] 22599d3e9e25: Pull complete [2021-03-31T03:03:35.809Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-31T03:03:35.809Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T03:03:35.809Z] ---> 42cb162f0360 [2021-03-31T03:03:35.809Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T03:03:35.809Z] ---> Running in 6e1f6097f31b [2021-03-31T03:03:36.073Z] Removing intermediate container 6e1f6097f31b [2021-03-31T03:03:36.073Z] ---> ed233d05fe8b [2021-03-31T03:03:36.073Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T03:03:36.073Z] ---> Running in 70e1a380398d [2021-03-31T03:03:37.028Z] Removing intermediate container 70e1a380398d [2021-03-31T03:03:37.028Z] ---> d2c4a5a7a146 [2021-03-31T03:03:37.028Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T03:03:37.299Z] ---> Running in e48595509aa9 [2021-03-31T03:03:37.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T03:03:39.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T03:03:40.433Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T03:03:40.433Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T03:03:40.695Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T03:03:40.956Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T03:03:41.220Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T03:03:41.220Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T03:03:41.220Z] OK: 8 MiB in 19 packages [2021-03-31T03:03:41.805Z] Removing intermediate container e48595509aa9 [2021-03-31T03:03:41.805Z] ---> 2201cfbe7304 [2021-03-31T03:03:41.805Z] Step 14/23 : WORKDIR / [2021-03-31T03:03:41.805Z] ---> Running in 6f492385f4c8 [2021-03-31T03:03:42.068Z] Removing intermediate container 6f492385f4c8 [2021-03-31T03:03:42.068Z] ---> 86a2f11d8189 [2021-03-31T03:03:42.068Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T03:03:43.026Z] ---> 728c7a698d79 [2021-03-31T03:03:43.026Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T03:03:43.600Z] ---> b4f984e2fd49 [2021-03-31T03:03:43.600Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T03:03:43.864Z] ---> 46294a843ec2 [2021-03-31T03:03:43.864Z] Step 18/23 : EXPOSE 49990 [2021-03-31T03:03:43.864Z] ---> Running in 1e2b86983469 [2021-03-31T03:03:43.913Z] 00ac8860ef70: Pull complete [2021-03-31T03:03:43.913Z] 63d7cb157983: Pull complete [2021-03-31T03:03:44.126Z] Removing intermediate container 1e2b86983469 [2021-03-31T03:03:44.126Z] ---> 6556d699c429 [2021-03-31T03:03:44.126Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T03:03:44.126Z] ---> Running in 2686ac9b784b [2021-03-31T03:03:44.126Z] Removing intermediate container 2686ac9b784b [2021-03-31T03:03:44.126Z] ---> 0c4f86c0a1eb [2021-03-31T03:03:44.126Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T03:03:44.388Z] ---> Running in 317db321fb34 [2021-03-31T03:03:44.388Z] Removing intermediate container 317db321fb34 [2021-03-31T03:03:44.388Z] ---> 8852fdf73712 [2021-03-31T03:03:44.388Z] Step 21/23 : LABEL arch=amd64 [2021-03-31T03:03:44.388Z] ---> Running in 69bf112b3fb6 [2021-03-31T03:03:44.507Z] b116817d02f9: Pull complete [2021-03-31T03:03:44.651Z] Removing intermediate container 69bf112b3fb6 [2021-03-31T03:03:44.651Z] ---> 128222842746 [2021-03-31T03:03:44.651Z] Step 22/23 : LABEL git_sha=e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-03-31T03:03:44.651Z] ---> Running in 4be5d8428c82 [2021-03-31T03:03:44.914Z] Removing intermediate container 4be5d8428c82 [2021-03-31T03:03:44.914Z] ---> ef1899a56dba [2021-03-31T03:03:44.914Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T03:03:44.914Z] ---> Running in b265c0fdcfd0 [2021-03-31T03:03:45.177Z] Removing intermediate container b265c0fdcfd0 [2021-03-31T03:03:45.177Z] ---> 7173b1e03ef9 [2021-03-31T03:03:45.177Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T03:03:45.177Z] Successfully built 7173b1e03ef9 [2021-03-31T03:03:45.177Z] Successfully tagged docker-device-sdk-simple: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-31T03:03:46.072Z] ---> job-cost.sh [2021-03-31T03:03:46.072Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ekP4 [2021-03-31T03:03:47.895Z] 745a02a5169b: Pull complete [2021-03-31T03:03:47.895Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T03:03:47.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T03:03:47.895Z] ---> b7e6874047d6 [2021-03-31T03:03:47.895Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T03:03:51.332Z] ---> Running in b629adead624 [2021-03-31T03:03:51.332Z] Removing intermediate container b629adead624 [2021-03-31T03:03:51.332Z] ---> a695bf8b6980 [2021-03-31T03:03:51.332Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T03:03:51.332Z] ---> Running in 52d20eb3e51b [2021-03-31T03:03:53.961Z] Removing intermediate container 52d20eb3e51b [2021-03-31T03:03:53.961Z] ---> 6545aedd35ef [2021-03-31T03:03:53.961Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T03:03:53.961Z] ---> Running in 5730dcc1439c [2021-03-31T03:03:54.980Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T03:03:55.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T03:03:57.378Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T03:03:57.378Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T03:03:57.378Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T03:03:57.378Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T03:03:57.656Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T03:03:57.656Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T03:03:57.930Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T03:03:57.930Z] OK: 144 MiB in 45 packages [2021-03-31T03:03:59.366Z] Removing intermediate container 5730dcc1439c [2021-03-31T03:03:59.367Z] ---> 7f0edc3524da [2021-03-31T03:03:59.367Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T03:03:59.367Z] ---> Running in 0e889c643b54 [2021-03-31T03:03:59.647Z] Removing intermediate container 0e889c643b54 [2021-03-31T03:03:59.647Z] ---> f8863366bd3b [2021-03-31T03:03:59.647Z] Step 7/8 : COPY . . [2021-03-31T03:04:01.041Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T03:04:01.086Z] ---> 265d67688c71 [2021-03-31T03:04:01.086Z] Step 8/8 : RUN go mod download [2021-03-31T03:04:01.086Z] ---> Running in 8c1490ed3ee7 [2021-03-31T03:04:27.709Z] lf-activate-venv(): INFO: Adding /tmp/venv-ekP4/bin to PATH [2021-03-31T03:04:27.709Z] INFO: No Stack... [2021-03-31T03:04:28.173Z] Removing intermediate container 8c1490ed3ee7 [2021-03-31T03:04:28.173Z] ---> 949b078fd555 [2021-03-31T03:04:28.173Z] Successfully built 949b078fd555 [2021-03-31T03:04:28.173Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:04:28.513Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T03:04:28.513Z] . [Pipeline] withDockerContainer [2021-03-31T03:04:28.660Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T03:04:28.750Z] prd-ubuntu18.04-docker-arm64-4c-16g-32175 does not seem to be running inside a container [2021-03-31T03:04:28.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T03:04:29.235Z] INFO: Archiving Costs [2021-03-31T03:04:30.720Z] $ docker top 3e626e2f1fb5fc7a5c336ec33e3a4fff175ff183e7d4181c674974974c4b943b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-31T03:04:31.433Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-31T03:04:31.433Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T03:04:31.511Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] [2021-03-31T03:04:31.525Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] did not exist. Created. [2021-03-31T03:04:31.525Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T03:04:31.859Z] + go version [2021-03-31T03:04:31.859Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T03:04:31.886Z] $ docker stop --time=1 3e626e2f1fb5fc7a5c336ec33e3a4fff175ff183e7d4181c674974974c4b943b [2021-03-31T03:04:31.928Z] + echo total: 0.029999999329447746 [2021-03-31T03:04:33.800Z] $ docker rm -f 3e626e2f1fb5fc7a5c336ec33e3a4fff175ff183e7d4181c674974974c4b943b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-03-31T03:04:34.260Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T03:04:34.284Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] [Pipeline] // lock [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:04:35.279Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T03:04:35.279Z] . [Pipeline] withDockerContainer [2021-03-31T03:04:35.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-32175 does not seem to be running inside a container [2021-03-31T03:04:35.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T03:04:37.090Z] $ docker top 86f74b283bd60a05ea45fcd74348c71787079cc95a57004d3d75c1c76c82bb99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T03:04:38.253Z] + make test [2021-03-31T03:04:38.253Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T03:05:00.463Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T03:05:57.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T03:05:57.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T03:05:57.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T03:05:57.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T03:05:57.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T03:05:59.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.124s coverage: 27.0% of statements [2021-03-31T03:06:00.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.199s coverage: 81.2% of statements [2021-03-31T03:06:00.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.158s coverage: 7.8% of statements [2021-03-31T03:06:00.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T03:06:00.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T03:06:00.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T03:06:02.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s coverage: 32.5% of statements [2021-03-31T03:06:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T03:06:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T03:06:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T03:06:05.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.333s coverage: 57.3% of statements [2021-03-31T03:06:05.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.132s coverage: 6.6% of statements [2021-03-31T03:06:05.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-03-31T03:06:05.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T03:06:06.134Z] GO111MODULE=on go vet ./... [2021-03-31T03:06:53.149Z] gofmt -l . [2021-03-31T03:06:53.149Z] [ "`gofmt -l .`" = "" ] [2021-03-31T03:06:53.149Z] ./bin/test-attribution-txt.sh [2021-03-31T03:06:53.149Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T03:06:53.168Z] $ docker stop --time=1 86f74b283bd60a05ea45fcd74348c71787079cc95a57004d3d75c1c76c82bb99 [2021-03-31T03:06:55.427Z] $ docker rm -f 86f74b283bd60a05ea45fcd74348c71787079cc95a57004d3d75c1c76c82bb99 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T03:06:56.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T03:06:56.563Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T03:06:57.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T03:06:58.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T03:06:58.522Z] + ls -al . [2021-03-31T03:06:58.522Z] total 224 [2021-03-31T03:06:58.522Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 03:06 . [2021-03-31T03:06:58.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 03:03 .. [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 03:03 .dockerignore [2021-03-31T03:06:58.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 03:03 .git [2021-03-31T03:06:58.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 03:03 .github [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 03:03 .gitignore [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 03:03 Dockerfile.build [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 03:03 Jenkinsfile [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 03:03 LICENSE [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 03:03 Makefile [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 03:03 README.md [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 03:03 RELEASE-NOTES.txt [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 02:59 VERSION [2021-03-31T03:06:58.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 03:03 bin [2021-03-31T03:06:58.522Z] -rw-r--r-- 1 jenkins jenkins 101416 Mar 31 03:06 coverage.out [2021-03-31T03:06:58.522Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 03:03 example [2021-03-31T03:06:58.522Z] -rw-r--r-- 1 jenkins jenkins 572 Mar 31 03:06 go.mod [2021-03-31T03:06:58.522Z] -rw-r--r-- 1 jenkins jenkins 20914 Mar 31 03:06 go.sum [2021-03-31T03:06:58.522Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 03:03 internal [2021-03-31T03:06:58.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 03:03 openapi [2021-03-31T03:06:58.522Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 03:03 pkg [2021-03-31T03:06:58.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 03:03 snap [2021-03-31T03:06:58.522Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 03:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:06:58.891Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b --label arch=arm64 --label version=0.0.0 . [2021-03-31T03:06:59.502Z] Sending build context to Docker daemon 2.497MB [2021-03-31T03:06:59.502Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T03:06:59.502Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T03:06:59.502Z] ---> 949b078fd555 [2021-03-31T03:06:59.502Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T03:06:59.790Z] ---> Running in c3fc0aff8015 [2021-03-31T03:07:00.393Z] Removing intermediate container c3fc0aff8015 [2021-03-31T03:07:00.393Z] ---> 6c1accaca773 [2021-03-31T03:07:00.393Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T03:07:00.393Z] ---> Running in 0c81b677bdfc [2021-03-31T03:07:00.987Z] Removing intermediate container 0c81b677bdfc [2021-03-31T03:07:00.987Z] ---> b6a01ab5c74d [2021-03-31T03:07:00.987Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T03:07:00.987Z] ---> Running in ccaadd0e784a [2021-03-31T03:07:02.966Z] Removing intermediate container ccaadd0e784a [2021-03-31T03:07:02.966Z] ---> 72df0a3bc430 [2021-03-31T03:07:02.966Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T03:07:03.240Z] ---> Running in 03a7801e4e43 [2021-03-31T03:07:04.237Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T03:07:05.215Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T03:07:06.661Z] OK: 144 MiB in 45 packages [2021-03-31T03:07:07.641Z] Removing intermediate container 03a7801e4e43 [2021-03-31T03:07:07.641Z] ---> 6a1fc237223f [2021-03-31T03:07:07.641Z] Step 7/23 : COPY . . [2021-03-31T03:07:09.066Z] ---> cbd6b4ed52cb [2021-03-31T03:07:09.066Z] Step 8/23 : RUN go mod download [2021-03-31T03:07:09.066Z] ---> Running in e49b0b6e5130 [2021-03-31T03:07:11.674Z] Removing intermediate container e49b0b6e5130 [2021-03-31T03:07:11.674Z] ---> 71d4811c5120 [2021-03-31T03:07:11.674Z] Step 9/23 : RUN make build [2021-03-31T03:07:11.674Z] ---> Running in fa1f1e36b29d [2021-03-31T03:07:12.267Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-31T03:07:44.649Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T03:07:46.629Z] Removing intermediate container fa1f1e36b29d [2021-03-31T03:07:46.629Z] ---> 6e2082032fdf [2021-03-31T03:07:46.629Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T03:07:46.903Z] 3.12: Pulling from library/alpine [2021-03-31T03:07:51.194Z] 95dec6db3722: Pulling fs layer [2021-03-31T03:07:51.194Z] 95dec6db3722: Verifying Checksum [2021-03-31T03:07:51.194Z] 95dec6db3722: Download complete [2021-03-31T03:07:51.194Z] 95dec6db3722: Pull complete [2021-03-31T03:07:51.194Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-31T03:07:51.194Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T03:07:51.194Z] ---> e47305ac9786 [2021-03-31T03:07:51.194Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T03:07:51.466Z] ---> Running in a48e14b767dd [2021-03-31T03:07:52.061Z] Removing intermediate container a48e14b767dd [2021-03-31T03:07:52.061Z] ---> c79916377161 [2021-03-31T03:07:52.061Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T03:07:52.061Z] ---> Running in 9d1fd62d2f06 [2021-03-31T03:07:54.042Z] Removing intermediate container 9d1fd62d2f06 [2021-03-31T03:07:54.043Z] ---> 9e4f6070d52d [2021-03-31T03:07:54.043Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T03:07:54.314Z] ---> Running in 1fa01124c05b [2021-03-31T03:07:55.287Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T03:07:55.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T03:07:56.468Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T03:07:56.737Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T03:07:56.737Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T03:07:57.014Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T03:07:57.014Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T03:07:57.014Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T03:07:57.014Z] OK: 8 MiB in 19 packages [2021-03-31T03:07:58.446Z] Removing intermediate container 1fa01124c05b [2021-03-31T03:07:58.447Z] ---> 83dbec9913c7 [2021-03-31T03:07:58.447Z] Step 14/23 : WORKDIR / [2021-03-31T03:07:58.447Z] ---> Running in 46f56e392a30 [2021-03-31T03:07:59.042Z] Removing intermediate container 46f56e392a30 [2021-03-31T03:07:59.042Z] ---> a4ae5e2f548e [2021-03-31T03:07:59.042Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T03:07:59.638Z] ---> e702dfdc4a58 [2021-03-31T03:07:59.638Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T03:08:01.156Z] ---> e9f47b079108 [2021-03-31T03:08:01.156Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T03:08:01.749Z] ---> 0e1c077ffa73 [2021-03-31T03:08:01.749Z] Step 18/23 : EXPOSE 49990 [2021-03-31T03:08:02.024Z] ---> Running in cddb2016a04c [2021-03-31T03:08:02.621Z] Removing intermediate container cddb2016a04c [2021-03-31T03:08:02.621Z] ---> a79fe5a09e43 [2021-03-31T03:08:02.621Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T03:08:02.621Z] ---> Running in 2242aaffa80e [2021-03-31T03:08:02.892Z] Removing intermediate container 2242aaffa80e [2021-03-31T03:08:02.892Z] ---> 36020ccc3b87 [2021-03-31T03:08:02.892Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T03:08:03.165Z] ---> Running in 7db35695c010 [2021-03-31T03:08:03.437Z] Removing intermediate container 7db35695c010 [2021-03-31T03:08:03.437Z] ---> 84ae933ad420 [2021-03-31T03:08:03.437Z] Step 21/23 : LABEL arch=arm64 [2021-03-31T03:08:03.711Z] ---> Running in 119c697527b1 [2021-03-31T03:08:04.306Z] Removing intermediate container 119c697527b1 [2021-03-31T03:08:04.306Z] ---> b0dc0f63b477 [2021-03-31T03:08:04.306Z] Step 22/23 : LABEL git_sha=e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [2021-03-31T03:08:04.306Z] ---> Running in 8d8d02d7f906 [2021-03-31T03:08:04.905Z] Removing intermediate container 8d8d02d7f906 [2021-03-31T03:08:04.905Z] ---> af10a56e3f2d [2021-03-31T03:08:04.905Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T03:08:04.905Z] ---> Running in c3d60c471cff [2021-03-31T03:08:05.177Z] Removing intermediate container c3d60c471cff [2021-03-31T03:08:05.177Z] ---> 52f050f6b3b3 [2021-03-31T03:08:05.177Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T03:08:05.447Z] Successfully built 52f050f6b3b3 [2021-03-31T03:08:05.447Z] Successfully tagged docker-device-sdk-simple-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-31T03:08:06.275Z] ---> job-cost.sh [2021-03-31T03:08:06.275Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wLMF [2021-03-31T03:08:45.261Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T03:10:22.092Z] lf-activate-venv(): INFO: Adding /tmp/venv-wLMF/bin to PATH [2021-03-31T03:10:22.092Z] INFO: No Stack... [2021-03-31T03:10:22.092Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T03:10:22.092Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T03:10:22.434Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-31T03:10:22.434Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T03:10:22.550Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] [2021-03-31T03:10:22.561Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] did not exist. Created. [2021-03-31T03:10:22.561Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T03:10:23.031Z] /w/workspace/device-sdk-go/5@tmp/durable-2021e18f/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-2021e18f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-31T03:10:23.389Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T03:10:23.414Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T03:10:23.573Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T03:10:23.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-31T03:10:24.887Z] provisioning config files... [2021-03-31T03:10:24.905Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config4676994035175505668tmp [Pipeline] { [Pipeline] sh [2021-03-31T03:10:25.451Z] + set +x [2021-03-31T03:10:25.451Z] + bash -s -- [2021-03-31T03:10:25.451Z] + curl -s https://codecov.io/bash [2021-03-31T03:10:25.737Z] [2021-03-31T03:10:25.737Z] _____ _ [2021-03-31T03:10:25.737Z] / ____| | | [2021-03-31T03:10:25.737Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T03:10:25.737Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T03:10:25.737Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T03:10:25.737Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T03:10:25.737Z] Bash-20210309-2b87ace [2021-03-31T03:10:25.737Z] [2021-03-31T03:10:25.737Z] [2021-03-31T03:10:25.737Z] ==> git version 2.24.3 found [2021-03-31T03:10:25.737Z] ==> 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-31T03:10:25.737Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T03:10:25.737Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T03:10:25.737Z] curl: option -sm: expected a proper numerical parameter [2021-03-31T03:10:25.737Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-31T03:10:26.036Z] ==> Jenkins CI detected. [2021-03-31T03:10:26.036Z] project root: . [2021-03-31T03:10:26.036Z] --> token set from env [2021-03-31T03:10:26.036Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T03:10:26.036Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T03:10:26.036Z] ==> Python coveragepy not found [2021-03-31T03:10:26.036Z] ==> Searching for coverage reports in: [2021-03-31T03:10:26.036Z] + . [2021-03-31T03:10:26.036Z] -> Found 1 reports [2021-03-31T03:10:26.036Z] ==> Detecting git/mercurial file structure [2021-03-31T03:10:26.036Z] ==> Reading reports [2021-03-31T03:10:26.322Z] + ./coverage.out bytes=101416 [2021-03-31T03:10:26.322Z] ==> Appending adjustments [2021-03-31T03:10:26.322Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T03:10:27.009Z] + Found adjustments [2021-03-31T03:10:27.009Z] ==> Gzipping contents [2021-03-31T03:10:27.009Z] 16K /tmp/codecov.nRfMFZ.gz [2021-03-31T03:10:27.009Z] ==> Uploading reports [2021-03-31T03:10:27.009Z] url: https://codecov.io [2021-03-31T03:10:27.009Z] query: branch=PR-844&commit=e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-03-31T03:10:27.009Z] -> Pinging Codecov [2021-03-31T03:10:27.009Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-844&commit=e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-03-31T03:10:28.084Z] -> Uploading to [2021-03-31T03:10:28.084Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b/db635b6d-da9c-4414-b75a-e218b574441d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T031027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d5c7e71282123af4b0e71f03d9f4bdd75e6a2f97566a42755feee6a66421d9c [2021-03-31T03:10:28.084Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T03:10:28.084Z] Dload Upload Total Spent Left Speed [2021-03-31T03:10:28.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13757 0 0 100 13757 0 23441 --:--:-- --:--:-- --:--:-- 23476 [2021-03-31T03:10:28.702Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e922bb8043e18d9d2b7f3d68e1d9cdaebbe1e13b [Pipeline] } [2021-03-31T03:10:28.724Z] 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-31T03:10:31.194Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:10:31.863Z] ---> package-listing.sh [2021-03-31T03:10:31.863Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T03:10:31.863Z] ++ facter osfamily [2021-03-31T03:10:32.516Z] + OS_FAMILY=redhat [2021-03-31T03:10:32.516Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-03-31T03:10:32.516Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T03:10:32.516Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T03:10:32.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T03:10:32.516Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T03:10:32.516Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-03-31T03:10:32.516Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T03:10:32.516Z] + case "${OS_FAMILY}" in [2021-03-31T03:10:32.516Z] + rpm -qa [2021-03-31T03:10:32.516Z] + sort [2021-03-31T03:10:40.953Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T03:10:40.953Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T03:10:40.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T03:10:40.953Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-03-31T03:10:40.953Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [2021-03-31T03:10:40.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo [2021-03-31T03:10:40.984Z] 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/dgexfoundry_device-sdk-go_PR-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T03:10:41.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:10:41.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T03:10:41.722Z] [2021-03-31T03:10:41.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T03:10:42.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T03:10:42.226Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T03:10:42.226Z] df20fa9351a1: Pulling fs layer [2021-03-31T03:10:42.226Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T03:10:42.226Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T03:10:42.226Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T03:10:42.226Z] 93b61091891f: Pulling fs layer [2021-03-31T03:10:42.226Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T03:10:42.226Z] 5e14af77c1be: Pulling fs layer [2021-03-31T03:10:42.226Z] 01666e4c0597: Pulling fs layer [2021-03-31T03:10:42.226Z] aa168da1d23b: Pulling fs layer [2021-03-31T03:10:42.226Z] 93b9cdb0e59b: Waiting [2021-03-31T03:10:42.226Z] 46f8f816bc3b: Waiting [2021-03-31T03:10:42.226Z] 5e14af77c1be: Waiting [2021-03-31T03:10:42.226Z] 01666e4c0597: Waiting [2021-03-31T03:10:42.226Z] aa168da1d23b: Waiting [2021-03-31T03:10:42.226Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T03:10:42.226Z] 36b3adc4ff6f: Download complete [2021-03-31T03:10:42.586Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T03:10:42.586Z] 46f8f816bc3b: Download complete [2021-03-31T03:10:42.894Z] df20fa9351a1: Download complete [2021-03-31T03:10:42.894Z] 93b61091891f: Verifying Checksum [2021-03-31T03:10:42.894Z] 93b61091891f: Download complete [2021-03-31T03:10:42.894Z] 5e14af77c1be: Verifying Checksum [2021-03-31T03:10:42.894Z] 5e14af77c1be: Download complete [2021-03-31T03:10:42.894Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T03:10:42.894Z] 93b9cdb0e59b: Download complete [2021-03-31T03:10:42.894Z] 01666e4c0597: Verifying Checksum [2021-03-31T03:10:42.894Z] 01666e4c0597: Download complete [2021-03-31T03:10:43.533Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T03:10:43.533Z] 8ad3a11d3b57: Download complete [2021-03-31T03:10:43.839Z] df20fa9351a1: Pull complete [2021-03-31T03:10:44.500Z] 36b3adc4ff6f: Pull complete [2021-03-31T03:10:48.338Z] 8ad3a11d3b57: Pull complete [2021-03-31T03:10:49.029Z] 46f8f816bc3b: Pull complete [2021-03-31T03:10:50.217Z] 93b61091891f: Pull complete [2021-03-31T03:10:50.861Z] 93b9cdb0e59b: Pull complete [2021-03-31T03:10:51.524Z] 5e14af77c1be: Pull complete [2021-03-31T03:10:51.826Z] 01666e4c0597: Pull complete [2021-03-31T03:10:52.516Z] aa168da1d23b: Verifying Checksum [2021-03-31T03:10:52.516Z] aa168da1d23b: Download complete [2021-03-31T03:11:08.043Z] aa168da1d23b: Pull complete [2021-03-31T03:11:08.043Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T03:11:08.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T03:11:08.043Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T03:11:08.632Z] prd-centos7-docker-4c-2g-32170 does not seem to be running inside a container [2021-03-31T03:11:08.959Z] $ 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/dgexfoundry_device-sdk-go_PR-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@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-31T03:11:14.246Z] $ docker top 1606c878e5e98fa07257398474f6843d927cde757ea8bf4ec28bc87604dd793f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T03:11:15.271Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T03:11:16.092Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T03:11:16.521Z] + ls /var/log/sa-host [2021-03-31T03:11:16.522Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T03:11:16.920Z] file_magic: OK [2021-03-31T03:11:16.920Z] HZ: Using current value: 100 [2021-03-31T03:11:16.920Z] file_header: OK [2021-03-31T03:11:16.920Z] 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-31T03:11:16.920Z] Statistics: [2021-03-31T03:11:16.921Z] Hnuu...uuuununununu... [2021-03-31T03:11:16.921Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T03:11:16.921Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T03:11:16.921Z] file_magic: OK [2021-03-31T03:11:16.921Z] HZ: Using current value: 100 [2021-03-31T03:11:16.921Z] file_header: OK [2021-03-31T03:11:16.921Z] 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-31T03:11:16.921Z] Statistics: [2021-03-31T03:11:16.921Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T03:11:16.921Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T03:11:17.643Z] provisioning config files... [2021-03-31T03:11:17.704Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config5131310342584522922tmp [Pipeline] { [Pipeline] echo [2021-03-31T03:11:17.793Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:11:19.103Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T03:11:19.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T03:11:19.486Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:11:20.648Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T03:11:20.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:11:21.948Z] ---> sudo-logs.sh [2021-03-31T03:11:21.948Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T03:11:22.350Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:11:23.247Z] ---> job-cost.sh [2021-03-31T03:11:23.247Z] lf-activate-venv: SKIPPING [2021-03-31T03:11:23.247Z] DEBUG: total: 0.20999999344348907 [2021-03-31T03:11:23.247Z] INFO: Retrieving Stack Cost... [2021-03-31T03:11:24.779Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T03:11:25.805Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T03:11:25.821Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T03:11:26.192Z] ---> logs-deploy.sh [2021-03-31T03:11:26.192Z] lf-activate-venv: SKIPPING [2021-03-31T03:11:26.192Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/5 [2021-03-31T03:11:26.192Z] INFO: archiving workspace using pattern(s): [2021-03-31T03:11:30.140Z] Archives upload complete. [2021-03-31T03:11:30.468Z] INFO: archiving logs to Nexus [2021-03-31T03:11:33.254Z] ---> uname -a: [2021-03-31T03:11:33.254Z] Linux prd-centos7-docker-4c-2g-32170.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> lscpu: [2021-03-31T03:11:33.255Z] Architecture: x86_64 [2021-03-31T03:11:33.255Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-31T03:11:33.255Z] Byte Order: Little Endian [2021-03-31T03:11:33.255Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-31T03:11:33.255Z] CPU(s): 4 [2021-03-31T03:11:33.255Z] On-line CPU(s) list: 0-3 [2021-03-31T03:11:33.255Z] Thread(s) per core: 1 [2021-03-31T03:11:33.255Z] Core(s) per socket: 1 [2021-03-31T03:11:33.255Z] Socket(s): 4 [2021-03-31T03:11:33.255Z] NUMA node(s): 1 [2021-03-31T03:11:33.255Z] Vendor ID: GenuineIntel [2021-03-31T03:11:33.255Z] CPU family: 6 [2021-03-31T03:11:33.255Z] Model: 44 [2021-03-31T03:11:33.255Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-31T03:11:33.255Z] Stepping: 1 [2021-03-31T03:11:33.255Z] CPU MHz: 2933.438 [2021-03-31T03:11:33.255Z] BogoMIPS: 5866.87 [2021-03-31T03:11:33.255Z] Virtualization: VT-x [2021-03-31T03:11:33.255Z] Hypervisor vendor: KVM [2021-03-31T03:11:33.255Z] Virtualization type: full [2021-03-31T03:11:33.255Z] L1d cache: 128 KiB [2021-03-31T03:11:33.255Z] L1i cache: 128 KiB [2021-03-31T03:11:33.255Z] L2 cache: 16 MiB [2021-03-31T03:11:33.255Z] L3 cache: 64 MiB [2021-03-31T03:11:33.255Z] NUMA node0 CPU(s): 0-3 [2021-03-31T03:11:33.255Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-31T03:11:33.255Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-31T03:11:33.255Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-31T03:11:33.255Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-31T03:11:33.255Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-31T03:11:33.255Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-31T03:11:33.255Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-31T03:11:33.255Z] Vulnerability Srbds: Not affected [2021-03-31T03:11:33.255Z] Vulnerability Tsx async abort: Not affected [2021-03-31T03:11:33.255Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> nproc: [2021-03-31T03:11:33.255Z] 4 [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> df -h: [2021-03-31T03:11:33.255Z] Filesystem Size Used Available Use% Mounted on [2021-03-31T03:11:33.255Z] overlay 50.0G 7.3G 42.7G 15% / [2021-03-31T03:11:33.255Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-03-31T03:11:33.255Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-03-31T03:11:33.255Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-03-31T03:11:33.255Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> free -m: [2021-03-31T03:11:33.255Z] total used free shared buff/cache available [2021-03-31T03:11:33.255Z] Mem: 1837 729 78 0 1029 1003 [2021-03-31T03:11:33.255Z] Swap: 1023 0 1023 [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> ip addr: [2021-03-31T03:11:33.255Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-03-31T03:11:33.255Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-03-31T03:11:33.255Z] inet 127.0.0.1/8 scope host lo [2021-03-31T03:11:33.255Z] valid_lft forever preferred_lft forever [2021-03-31T03:11:33.255Z] inet6 ::1/128 scope host [2021-03-31T03:11:33.255Z] valid_lft forever preferred_lft forever [2021-03-31T03:11:33.255Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-03-31T03:11:33.255Z] link/ether fa:16:3e:82:90:43 brd ff:ff:ff:ff:ff:ff [2021-03-31T03:11:33.255Z] inet 10.30.123.182/23 brd 10.30.123.255 scope global dynamic eth0 [2021-03-31T03:11:33.255Z] valid_lft 85567sec preferred_lft 85567sec [2021-03-31T03:11:33.255Z] inet6 fe80::f816:3eff:fe82:9043/64 scope link [2021-03-31T03:11:33.255Z] valid_lft forever preferred_lft forever [2021-03-31T03:11:33.255Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-03-31T03:11:33.255Z] link/ether 02:42:a1:bc:5e:54 brd ff:ff:ff:ff:ff:ff [2021-03-31T03:11:33.255Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-03-31T03:11:33.255Z] valid_lft forever preferred_lft forever [2021-03-31T03:11:33.255Z] inet6 fe80::42:a1ff:febc:5e54/64 scope link [2021-03-31T03:11:33.255Z] valid_lft forever preferred_lft forever [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> sar -b -r -n DEV: [2021-03-31T03:11:33.255Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/31/21 _x86_64_ (4 CPU) [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] 02:57:26 LINUX RESTART (4 CPU) [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] 02:58:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-03-31T03:11:33.255Z] 02:59:01 127.92 66.04 61.88 0.00 4267.52 36936.76 0.00 [2021-03-31T03:11:33.255Z] 03:00:01 34.16 11.99 22.18 0.00 4406.32 2302.23 0.00 [2021-03-31T03:11:33.255Z] 03:01:02 1.88 0.02 1.86 0.00 0.13 39.89 0.00 [2021-03-31T03:11:33.255Z] 03:02:01 0.47 0.08 0.39 0.00 1.62 7.43 0.00 [2021-03-31T03:11:33.255Z] 03:03:01 0.22 0.00 0.22 0.00 0.00 2.76 0.00 [2021-03-31T03:11:33.255Z] 03:04:01 0.35 0.00 0.35 0.00 0.00 5.34 0.00 [2021-03-31T03:11:33.255Z] 03:05:01 0.15 0.00 0.15 0.00 0.00 1.86 0.00 [2021-03-31T03:11:33.255Z] 03:06:01 0.25 0.00 0.25 0.00 0.00 3.46 0.00 [2021-03-31T03:11:33.255Z] 03:07:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 [2021-03-31T03:11:33.255Z] 03:08:01 0.22 0.00 0.22 0.00 0.00 2.35 0.00 [2021-03-31T03:11:33.255Z] 03:09:02 0.18 0.00 0.18 0.00 0.00 2.14 0.00 [2021-03-31T03:11:33.255Z] 03:10:01 0.20 0.00 0.20 0.00 0.00 2.73 0.00 [2021-03-31T03:11:33.255Z] 03:11:01 93.25 50.82 42.43 0.00 4394.28 13128.41 0.00 [2021-03-31T03:11:33.255Z] Average: 19.95 9.91 10.04 0.00 1006.26 4024.95 0.00 [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] 02:58:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-03-31T03:11:33.255Z] 02:59:01 64876 0 548656 29.16 2620 1265392 1102996 37.64 380960 1238092 11580 [2021-03-31T03:11:33.255Z] 03:00:01 155324 0 593168 31.53 2620 1130432 1193616 40.74 426212 1098668 132 [2021-03-31T03:11:33.255Z] 03:01:02 168244 0 580244 30.84 2620 1130436 1095356 37.38 426280 1087404 20 [2021-03-31T03:11:33.255Z] 03:02:01 170844 0 577520 30.69 2620 1130560 1056716 36.06 424656 1087416 8 [2021-03-31T03:11:33.255Z] 03:03:01 171140 0 577216 30.68 2620 1130568 1056680 36.06 431636 1080264 12 [2021-03-31T03:11:33.255Z] 03:04:01 169952 0 578400 30.74 2620 1130572 1056780 36.07 440496 1072888 8 [2021-03-31T03:11:33.255Z] 03:05:01 167200 0 581148 30.89 2620 1130576 1074520 36.67 442716 1072892 12 [2021-03-31T03:11:33.255Z] 03:06:01 171720 0 576624 30.65 2620 1130580 1056576 36.06 438500 1072788 8 [2021-03-31T03:11:33.255Z] 03:07:01 171824 0 576516 30.64 2620 1130584 1056728 36.06 438928 1072788 8 [2021-03-31T03:11:33.255Z] 03:08:01 171484 0 576848 30.66 2620 1130592 1056876 36.07 439264 1072788 8 [2021-03-31T03:11:33.255Z] 03:09:02 171072 0 577260 30.68 2620 1130592 1057068 36.08 439764 1072788 16 [2021-03-31T03:11:33.255Z] 03:10:01 170472 0 577852 30.71 2620 1130600 1057104 36.08 439900 1072788 12 [2021-03-31T03:11:33.255Z] 03:11:01 73752 0 687896 36.56 2620 1117276 1499852 51.19 573716 1005176 52888 [2021-03-31T03:11:33.255Z] Average: 153685 0 585334 31.11 2620 1139905 1109298 37.86 441771 1085134 4978 [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] 02:58:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-03-31T03:11:33.255Z] 02:59:01 eth0 187.03 136.89 716.41 54.78 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 02:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 02:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:00:01 eth0 82.46 71.45 375.00 46.21 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:00:01 docker0 8.84 6.07 1.56 24.69 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:01:02 eth0 1.06 0.33 0.40 0.22 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:01:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:01:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:02:01 eth0 1.17 0.30 0.34 0.17 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:03:01 eth0 0.97 0.30 0.32 0.23 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:04:01 eth0 1.23 0.50 0.48 0.28 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:05:01 eth0 1.28 1.12 3.79 0.26 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:06:01 eth0 0.25 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:07:01 eth0 1.73 0.30 0.39 0.20 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:08:01 eth0 1.30 0.40 0.33 0.20 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:09:02 eth0 2.09 0.75 0.76 0.46 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:09:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:09:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:10:01 eth0 1.88 0.66 0.66 0.43 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:11:01 eth0 210.89 170.46 2175.81 21.29 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] Average: eth0 37.96 29.52 252.30 9.60 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] Average: docker0 0.68 0.47 0.12 1.91 0.00 0.00 0.00 0.00 [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] ---> sar -P ALL: [2021-03-31T03:11:33.255Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/31/21 _x86_64_ (4 CPU) [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] 02:57:26 LINUX RESTART (4 CPU) [2021-03-31T03:11:33.255Z] [2021-03-31T03:11:33.255Z] 02:58:02 CPU %user %nice %system %iowait %steal %idle [2021-03-31T03:11:33.255Z] 02:59:01 all 11.55 0.00 7.84 6.31 33.85 40.46 [2021-03-31T03:11:33.255Z] 02:59:01 0 9.34 0.00 9.72 4.61 34.93 41.40 [2021-03-31T03:11:33.255Z] 02:59:01 1 12.63 0.00 7.70 6.52 33.58 39.57 [2021-03-31T03:11:33.255Z] 02:59:01 2 11.81 0.00 6.54 7.06 33.88 40.71 [2021-03-31T03:11:33.255Z] 02:59:01 3 12.42 0.00 7.39 7.04 33.00 40.15 [2021-03-31T03:11:33.255Z] 03:00:01 all 2.86 0.00 3.63 0.71 19.40 73.40 [2021-03-31T03:11:33.255Z] 03:00:01 0 3.05 0.00 3.74 0.85 20.69 71.67 [2021-03-31T03:11:33.256Z] 03:00:01 1 2.63 0.00 3.55 0.65 19.19 73.98 [2021-03-31T03:11:33.256Z] 03:00:01 2 2.99 0.00 3.99 0.79 18.38 73.84 [2021-03-31T03:11:33.256Z] 03:00:01 3 2.78 0.00 3.25 0.55 19.30 74.12 [2021-03-31T03:11:33.256Z] 03:01:02 all 0.08 0.00 0.15 0.00 2.70 97.07 [2021-03-31T03:11:33.256Z] 03:01:02 0 0.16 0.00 0.15 0.00 3.27 96.42 [2021-03-31T03:11:33.256Z] 03:01:02 1 0.03 0.00 0.18 0.00 1.92 97.87 [2021-03-31T03:11:33.256Z] 03:01:02 2 0.10 0.00 0.15 0.00 2.34 97.42 [2021-03-31T03:11:33.256Z] 03:01:02 3 0.03 0.00 0.13 0.00 3.24 96.59 [2021-03-31T03:11:33.256Z] 03:02:01 all 0.08 0.00 0.16 0.02 2.48 97.27 [2021-03-31T03:11:33.256Z] 03:02:01 0 0.02 0.00 0.18 0.00 3.17 96.63 [2021-03-31T03:11:33.256Z] 03:02:01 1 0.13 0.00 0.10 0.07 2.12 97.58 [2021-03-31T03:11:33.256Z] 03:02:01 2 0.13 0.00 0.15 0.00 2.14 97.58 [2021-03-31T03:11:33.256Z] 03:02:01 3 0.03 0.00 0.20 0.02 2.46 97.29 [2021-03-31T03:11:33.256Z] 03:03:01 all 0.09 0.00 0.05 0.00 0.54 99.32 [2021-03-31T03:11:33.256Z] 03:03:01 0 0.02 0.00 0.00 0.00 0.17 99.82 [2021-03-31T03:11:33.256Z] 03:03:01 1 0.27 0.00 0.10 0.00 0.73 98.91 [2021-03-31T03:11:33.256Z] 03:03:01 2 0.02 0.00 0.03 0.00 0.18 99.77 [2021-03-31T03:11:33.256Z] 03:03:01 3 0.05 0.00 0.07 0.00 1.09 98.79 [2021-03-31T03:11:33.256Z] 03:04:01 all 0.11 0.00 0.22 0.00 2.97 96.70 [2021-03-31T03:11:33.256Z] 03:04:01 0 0.05 0.00 0.35 0.00 2.09 97.52 [2021-03-31T03:11:33.256Z] 03:04:01 1 0.19 0.00 0.13 0.00 2.92 96.76 [2021-03-31T03:11:33.256Z] 03:04:01 2 0.13 0.00 0.37 0.00 3.57 95.93 [2021-03-31T03:11:33.256Z] 03:04:01 3 0.08 0.00 0.03 0.00 3.28 96.61 [2021-03-31T03:11:33.256Z] 03:05:01 all 0.08 0.00 0.04 0.00 1.60 98.27 [2021-03-31T03:11:33.256Z] 03:05:01 0 0.03 0.00 0.03 0.00 0.78 99.16 [2021-03-31T03:11:33.256Z] 03:05:01 1 0.02 0.00 0.05 0.00 1.33 98.60 [2021-03-31T03:11:33.256Z] 03:05:01 2 0.08 0.00 0.02 0.00 0.89 99.01 [2021-03-31T03:11:33.256Z] 03:05:01 3 0.19 0.00 0.06 0.00 3.36 96.38 [2021-03-31T03:11:33.256Z] 03:06:01 all 0.09 0.00 0.04 0.00 0.86 99.02 [2021-03-31T03:11:33.256Z] 03:06:01 0 0.00 0.00 0.03 0.00 0.20 99.77 [2021-03-31T03:11:33.256Z] 03:06:01 1 0.03 0.00 0.03 0.00 0.33 99.60 [2021-03-31T03:11:33.256Z] 03:06:01 2 0.08 0.00 0.07 0.00 2.21 97.65 [2021-03-31T03:11:33.256Z] 03:06:01 3 0.25 0.00 0.02 0.00 0.66 99.07 [2021-03-31T03:11:33.256Z] 03:07:01 all 0.08 0.00 0.03 0.00 1.43 98.46 [2021-03-31T03:11:33.256Z] 03:07:01 0 0.02 0.00 0.02 0.00 0.70 99.27 [2021-03-31T03:11:33.256Z] 03:07:01 1 0.15 0.00 0.06 0.00 2.87 96.91 [2021-03-31T03:11:33.256Z] 03:07:01 2 0.15 0.00 0.03 0.00 1.47 98.35 [2021-03-31T03:11:33.256Z] 03:07:01 3 0.00 0.00 0.02 0.00 0.66 99.32 [2021-03-31T03:11:33.256Z] 03:08:01 all 0.11 0.00 0.04 0.00 0.74 99.11 [2021-03-31T03:11:33.256Z] 03:08:01 0 0.02 0.00 0.02 0.00 0.53 99.44 [2021-03-31T03:11:33.256Z] 03:08:01 1 0.03 0.00 0.02 0.00 0.27 99.68 [2021-03-31T03:11:33.256Z] 03:08:01 2 0.35 0.00 0.07 0.00 1.27 98.32 [2021-03-31T03:11:33.256Z] 03:08:01 3 0.03 0.00 0.05 0.00 0.89 99.03 [2021-03-31T03:11:33.256Z] 03:09:02 all 0.08 0.00 0.07 0.00 1.88 97.97 [2021-03-31T03:11:33.256Z] 03:09:02 0 0.02 0.00 0.02 0.00 1.17 98.80 [2021-03-31T03:11:33.256Z] 03:09:02 1 0.23 0.00 0.08 0.00 2.01 97.68 [2021-03-31T03:11:33.256Z] 03:09:02 2 0.05 0.00 0.13 0.00 3.68 96.14 [2021-03-31T03:11:33.256Z] 03:09:02 3 0.02 0.00 0.05 0.00 0.61 99.32 [2021-03-31T03:11:33.256Z] [2021-03-31T03:11:33.256Z] 03:09:02 CPU %user %nice %system %iowait %steal %idle [2021-03-31T03:11:33.256Z] 03:10:01 all 0.10 0.00 0.04 0.01 1.85 98.01 [2021-03-31T03:11:33.256Z] 03:10:01 0 0.02 0.00 0.03 0.03 1.62 98.29 [2021-03-31T03:11:33.256Z] 03:10:01 1 0.27 0.00 0.05 0.00 1.85 97.83 [2021-03-31T03:11:33.256Z] 03:10:01 2 0.07 0.00 0.05 0.00 3.17 96.72 [2021-03-31T03:11:33.256Z] 03:10:01 3 0.03 0.00 0.02 0.00 0.72 99.23 [2021-03-31T03:11:33.256Z] 03:11:01 all 3.77 0.00 2.88 1.98 16.74 74.63 [2021-03-31T03:11:33.256Z] 03:11:01 0 2.72 0.00 2.33 0.20 18.48 76.26 [2021-03-31T03:11:33.256Z] 03:11:01 1 3.44 0.00 3.30 1.48 15.98 75.79 [2021-03-31T03:11:33.256Z] 03:11:01 2 3.45 0.00 2.89 0.09 15.87 77.70 [2021-03-31T03:11:33.256Z] 03:11:01 3 5.50 0.00 3.02 6.23 16.59 68.66 [2021-03-31T03:11:33.256Z] Average: all 1.59 0.00 1.26 0.76 7.12 89.27 [2021-03-31T03:11:33.256Z] Average: 0 1.30 0.00 1.40 0.48 7.26 89.56 [2021-03-31T03:11:33.256Z] Average: 1 1.67 0.00 1.27 0.73 6.97 89.36 [2021-03-31T03:11:33.256Z] Average: 2 1.62 0.00 1.20 0.67 7.26 89.26 [2021-03-31T03:11:33.256Z] Average: 3 1.77 0.00 1.18 1.14 7.01 88.90 [2021-03-31T03:11:33.256Z] [2021-03-31T03:11:33.256Z] [2021-03-31T03:11:33.256Z]