Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a61210e4bab0a8e935d14f6878a7610afcc83bb0+2d9730a214a0d2600c47b6e1f4d312ee14057382 (958f2612c5eb8b2ef307eb16c7d707ca90f07124) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6223 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit a61210e4bab0a8e935d14f6878a7610afcc83bb0 > 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 --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 Merge succeeded, producing a61210e4bab0a8e935d14f6878a7610afcc83bb0 Checking out Revision a61210e4bab0a8e935d14f6878a7610afcc83bb0 (PR-614) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:30:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:30:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:30:25 ========================================================= 07:30:25 EdgeX Global Pipelines Version Info 07:30:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk af773452b0b919b6d7fecf3302e438e42853c964 # timeout=10 07:30:30 ------------------- 07:30:30 stable info: 07:30:30 ------------------- 07:30:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:30:30 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 07:30:30 Message: update stable to v1.0.144 07:30:31 ------------------- 07:30:31 experimental info: 07:30:31 ------------------- 07:30:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:30:31 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 07:30:31 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:30:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 07:30:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a61210e4bab0a8e935d14f6878a7610afcc83bb0 [Pipeline] echo 07:30:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a61210e [Pipeline] echo 07:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:35 + git log --format=format:%s -1 a61210e4bab0a8e935d14f6878a7610afcc83bb0 [Pipeline] echo 07:30:36 GIT_COMMIT: a61210e4bab0a8e935d14f6878a7610afcc83bb0, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo 07:30:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:30:39 07:30:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:30:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:30:40 latest: Pulling from edgex-devops/git-semver 07:30:40 31603596830f: Pulling fs layer 07:30:40 2a8b12db71e7: Pulling fs layer 07:30:40 6ca5941a6612: Pulling fs layer 07:30:40 ecc8261a40a4: Pulling fs layer 07:30:40 2a8b12db71e7: Download complete 07:30:41 31603596830f: Verifying Checksum 07:30:41 31603596830f: Download complete 07:30:41 ecc8261a40a4: Verifying Checksum 07:30:41 ecc8261a40a4: Download complete 07:30:42 6ca5941a6612: Verifying Checksum 07:30:42 6ca5941a6612: Download complete 07:30:43 31603596830f: Pull complete 07:30:43 2a8b12db71e7: Pull complete 07:30:47 6ca5941a6612: Pull complete 07:30:47 ecc8261a40a4: Pull complete 07:30:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:30:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:30:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:30:48 prd-centos7-docker-4c-2g-6223 does not seem to be running inside a container 07:30:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:30:53 $ docker top 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:54 [ssh-agent] Looking for ssh-agent implementation... 07:30:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:55 $ docker exec 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent 07:30:56 SSH_AUTH_SOCK=/tmp/ssh-uEkqNfQKu81Z/agent.11 07:30:56 SSH_AGENT_PID=17 07:30:56 Running ssh-add (command line suppressed) 07:30:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7654133746654849908.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7654133746654849908.key) 07:30:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:00 + git tag --points-at HEAD [Pipeline] } 07:31:00 $ docker exec --env ******** --env ******** 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent -k 07:31:01 unset SSH_AUTH_SOCK; 07:31:01 unset SSH_AGENT_PID; 07:31:01 echo Agent pid 17 killed; 07:31:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:31:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:01 [ssh-agent] Looking for ssh-agent implementation... 07:31:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:03 $ docker exec 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent 07:31:04 SSH_AUTH_SOCK=/tmp/ssh-QQEQF1QLDtyt/agent.45 07:31:04 SSH_AGENT_PID=50 07:31:04 Running ssh-add (command line suppressed) 07:31:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3725272110620625154.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3725272110620625154.key) 07:31:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:07 + git semver init 07:31:07 # -> Open(): unable to determine branch for HEAD 07:31:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 07:31:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 07:31:07 # $SEMVER_REMOTE_NAME = origin 07:31:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:31:07 # $SEMVER_USER_NAME = edgex-jenkins 07:31:07 # $SEMVER_BRANCH = PR-614 07:31:07 # $SEMVER_TEMP = /tmp/semver-553406067 07:31:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:31:09 # '/tmp/semver-553406067' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 07:31:09 # -> Force: false 07:31:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 07:31:09 $ docker exec --env ******** --env ******** 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent -k 07:31:10 unset SSH_AUTH_SOCK; 07:31:10 unset SSH_AGENT_PID; 07:31:10 echo Agent pid 50 killed; 07:31:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:11 + git semver [Pipeline] } 07:31:12 $ docker stop --time=1 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 07:31:14 $ docker rm -f 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 [Pipeline] // withDockerContainer [Pipeline] sh 07:31:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:31:17 Stashed 1 file(s) [Pipeline] echo 07:31:17 [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 07:31:33 Still waiting to schedule task 07:31:33 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6218’ is offline; ‘prd-centos7-docker-4c-2g-6219’ is offline; ‘prd-centos7-docker-4c-2g-6226’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6206’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6228’ doesn’t have label ‘centos7-docker-4c-2g’ 07:31:33 Still waiting to schedule task 07:31:33 ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-6218’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-6219’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-6226’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6206’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6228’ is offline 07:33:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6230 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 07:33:35 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 07:33:40 using credential edgex-jenkins-ssh 07:33:40 Cloning the remote Git repository 07:33:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:33:40 > git init /w/workspace/device-sdk-go/12 # timeout=10 07:33:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:33:40 > git --version # timeout=10 07:33:40 > git --version # 'git version 2.17.1' 07:33:40 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:42 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit a61210e4bab0a8e935d14f6878a7610afcc83bb0 07:33:42 Merge succeeded, producing a61210e4bab0a8e935d14f6878a7610afcc83bb0 07:33:42 Checking out Revision a61210e4bab0a8e935d14f6878a7610afcc83bb0 (PR-614) 07:33:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:33:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:33:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:33:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:33:42 > git config core.sparsecheckout # timeout=10 07:33:42 > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 07:33:42 > git remote # timeout=10 07:33:42 > git config --get remote.origin.url # timeout=10 07:33:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:42 > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 07:33:42 > git rev-parse HEAD^{commit} # timeout=10 07:33:42 > git config core.sparsecheckout # timeout=10 07:33:42 > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 07:33:47 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:33:48 ========================================================= 07:33:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:33:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:33:49 + 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 . 07:33:50 Sending build context to Docker daemon 2.318MB 07:33:50 Step 1/8 : ARG BASE=golang:1.15-alpine 07:33:50 Step 2/8 : FROM ${BASE} 07:33:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:33:50 b538f80385f9: Pulling fs layer 07:33:50 74f711af9a0d: Pulling fs layer 07:33:50 99f96fe45779: Pulling fs layer 07:33:50 8529a6b9a6be: Pulling fs layer 07:33:50 45590311c82a: Pulling fs layer 07:33:50 69ca0ff8b7b3: Pulling fs layer 07:33:50 209524e5b208: Pulling fs layer 07:33:50 8529a6b9a6be: Waiting 07:33:50 45590311c82a: Waiting 07:33:50 69ca0ff8b7b3: Waiting 07:33:50 209524e5b208: Waiting 07:33:50 99f96fe45779: Verifying Checksum 07:33:50 99f96fe45779: Download complete 07:33:50 74f711af9a0d: Verifying Checksum 07:33:50 74f711af9a0d: Download complete 07:33:50 b538f80385f9: Verifying Checksum 07:33:50 b538f80385f9: Download complete 07:33:50 69ca0ff8b7b3: Verifying Checksum 07:33:50 69ca0ff8b7b3: Download complete 07:33:51 45590311c82a: Verifying Checksum 07:33:51 45590311c82a: Download complete 07:33:51 b538f80385f9: Pull complete 07:33:52 74f711af9a0d: Pull complete 07:33:52 99f96fe45779: Pull complete 07:33:53 209524e5b208: Verifying Checksum 07:33:53 209524e5b208: Download complete 07:33:54 8529a6b9a6be: Verifying Checksum 07:33:54 8529a6b9a6be: Download complete 07:34:04 8529a6b9a6be: Pull complete 07:34:05 45590311c82a: Pull complete 07:34:05 69ca0ff8b7b3: Pull complete 07:34:10 209524e5b208: Pull complete 07:34:10 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:34:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:34:10 ---> 5bddaf1c2fca 07:34:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:34:12 ---> Running in 1fb5dca0bebb 07:34:12 Removing intermediate container 1fb5dca0bebb 07:34:12 ---> 35b835449a44 07:34:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:34:13 ---> Running in d028e9cfa917 07:34:15 Removing intermediate container d028e9cfa917 07:34:15 ---> ec848c3aa6d2 07:34:15 Step 5/8 : RUN apk add --no-cache make git 07:34:15 ---> Running in 6e1fe597a645 07:34:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:34:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:34:19 OK: 142 MiB in 39 packages 07:34:20 Removing intermediate container 6e1fe597a645 07:34:20 ---> 205ba2951d71 07:34:20 Step 6/8 : WORKDIR /device-sdk-go 07:34:20 ---> Running in 9113c1cf95cf 07:34:21 Removing intermediate container 9113c1cf95cf 07:34:21 ---> 48544d3a8cdd 07:34:21 Step 7/8 : COPY . . 07:34:22 ---> 3e17e3e8e4e1 07:34:22 Step 8/8 : RUN go mod download 07:34:22 ---> Running in a1d02090452a 07:34:45 Removing intermediate container a1d02090452a 07:34:45 ---> 0f56113758cb 07:34:45 Successfully built 0f56113758cb 07:34:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:34:45 + docker inspect -f . ci-base-image-arm64 07:34:45 . [Pipeline] withDockerContainer 07:34:45 prd-ubuntu18.04-docker-arm64-4c-16g-6230 does not seem to be running inside a container 07:34:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-arm64 cat 07:34:47 $ docker top 32c24c62391001d69817ad4453e6ac02a3d694b8291bba4e3dfa0b5878b18bcb -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:48 + go version 07:34:48 go version go1.15.2 linux/arm64 [Pipeline] } 07:34:48 $ docker stop --time=1 32c24c62391001d69817ad4453e6ac02a3d694b8291bba4e3dfa0b5878b18bcb 07:34:50 $ docker rm -f 32c24c62391001d69817ad4453e6ac02a3d694b8291bba4e3dfa0b5878b18bcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:34:51 + docker inspect -f . ci-base-image-arm64 07:34:51 . [Pipeline] withDockerContainer 07:34:52 prd-ubuntu18.04-docker-arm64-4c-16g-6230 does not seem to be running inside a container 07:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-arm64 cat 07:34:54 $ docker top 9b06d3978fcf76dda9e073b0793bfde85462372f70050690d13d14686be9a04c -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:55 + make test 07:34:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:35:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:35:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:35:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:35:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:35:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 21.6% of statements 07:36:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.188s coverage: 97.1% of statements 07:36:27 Running on prd-centos7-docker-4c-2g-6231 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 07:36:27 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 07:36:30 using credential edgex-jenkins-ssh 07:36:30 Cloning the remote Git repository 07:36:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:36:30 > git init /w/workspace/device-sdk-go/12 # timeout=10 07:36:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:36:30 > git --version # timeout=10 07:36:30 > git --version # 'git version 2.16.5' 07:36:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:31 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit a61210e4bab0a8e935d14f6878a7610afcc83bb0 07:36:31 Merge succeeded, producing a61210e4bab0a8e935d14f6878a7610afcc83bb0 07:36:31 Checking out Revision a61210e4bab0a8e935d14f6878a7610afcc83bb0 (PR-614) 07:36:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:36:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:36:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:36:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:36:31 > git config core.sparsecheckout # timeout=10 07:36:31 > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 07:36:31 > git remote # timeout=10 07:36:31 > git config --get remote.origin.url # timeout=10 07:36:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:31 > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 07:36:31 > git rev-parse HEAD^{commit} # timeout=10 07:36:31 > git config core.sparsecheckout # timeout=10 07:36:31 > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 07:36:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.130s coverage: 9.4% of statements 07:36:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.105s coverage: 21.9% of statements 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:36:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.571s coverage: 42.6% of statements 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:36:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.819s coverage: 68.9% of statements 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:36:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.164s coverage: 52.6% of statements 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:36:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:36:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.845s coverage: 68.9% of statements 07:36:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:36:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:36:32 GO111MODULE=on go vet ./... 07:36:35 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:36:36 ========================================================= 07:36:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:36:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:36:36 + 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 . 07:36:37 Sending build context to Docker daemon 2.315MB 07:36:37 Step 1/8 : ARG BASE=golang:1.15-alpine 07:36:37 Step 2/8 : FROM ${BASE} 07:36:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:37 df20fa9351a1: Pulling fs layer 07:36:37 ed8968b2872e: Pulling fs layer 07:36:37 a92cc7c5fd73: Pulling fs layer 07:36:37 e871e8e8d7a9: Pulling fs layer 07:36:37 e73272ec9a57: Pulling fs layer 07:36:37 1e910a182e73: Pulling fs layer 07:36:37 4e634b169226: Pulling fs layer 07:36:37 e871e8e8d7a9: Waiting 07:36:37 e73272ec9a57: Waiting 07:36:37 1e910a182e73: Waiting 07:36:37 4e634b169226: Waiting 07:36:37 a92cc7c5fd73: Verifying Checksum 07:36:37 a92cc7c5fd73: Download complete 07:36:37 ed8968b2872e: Verifying Checksum 07:36:37 ed8968b2872e: Download complete 07:36:37 e73272ec9a57: Verifying Checksum 07:36:37 e73272ec9a57: Download complete 07:36:37 1e910a182e73: Download complete 07:36:37 df20fa9351a1: Verifying Checksum 07:36:37 df20fa9351a1: Download complete 07:36:37 df20fa9351a1: Pull complete 07:36:37 ed8968b2872e: Pull complete 07:36:38 a92cc7c5fd73: Pull complete 07:36:39 4e634b169226: Verifying Checksum 07:36:39 4e634b169226: Download complete 07:36:40 e871e8e8d7a9: Download complete 07:36:45 e871e8e8d7a9: Pull complete 07:36:45 e73272ec9a57: Pull complete 07:36:45 1e910a182e73: Pull complete 07:36:55 4e634b169226: Pull complete 07:36:55 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:36:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:36:55 ---> f7629b54cfaa 07:36:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:36:55 ---> Running in 18d665814cc5 07:36:55 Removing intermediate container 18d665814cc5 07:36:55 ---> 54054c827486 07:36:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:36:55 ---> Running in b223d643d6f4 07:36:56 Removing intermediate container b223d643d6f4 07:36:56 ---> 064ac8e39797 07:36:56 Step 5/8 : RUN apk add --no-cache make git 07:36:56 ---> Running in 68232af0a9cc 07:36:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:36:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:36:59 gofmt -l . 07:36:59 [ "`gofmt -l .`" = "" ] 07:36:59 ./bin/test-attribution-txt.sh 07:36:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:36:59 OK: 166 MiB in 39 packages 07:36:59 Removing intermediate container 68232af0a9cc 07:36:59 ---> 091b802ab494 07:36:59 Step 6/8 : WORKDIR /device-sdk-go 07:36:59 ---> Running in f2330b85f49a 07:37:00 Removing intermediate container f2330b85f49a 07:37:00 ---> 0425b59d3394 07:37:00 Step 7/8 : COPY . . 07:37:00 Stashed 1 file(s) [Pipeline] } 07:37:00 $ docker stop --time=1 9b06d3978fcf76dda9e073b0793bfde85462372f70050690d13d14686be9a04c 07:37:01 ---> bb079f116efc 07:37:01 Step 8/8 : RUN go mod download 07:37:01 ---> Running in 46420bfbf9f4 07:37:02 $ docker rm -f 9b06d3978fcf76dda9e073b0793bfde85462372f70050690d13d14686be9a04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:04 + ls -al . 07:37:04 total 224 07:37:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:36 . 07:37:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 .. 07:37:04 -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:33 .dockerignore 07:37:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:33 .git 07:37:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:33 .github 07:37:04 -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:33 .gitignore 07:37:04 -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:33 Dockerfile.build 07:37:04 -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:33 Jenkinsfile 07:37:04 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:33 LICENSE 07:37:04 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:33 Makefile 07:37:04 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:33 README.md 07:37:04 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:33 RELEASE-NOTES.txt 07:37:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:31 VERSION 07:37:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:33 bin 07:37:04 -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:36 coverage.out 07:37:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 example 07:37:04 -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:36 go.mod 07:37:04 -rw-r--r-- 1 jenkins jenkins 13742 Oct 19 07:36 go.sum 07:37:04 drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:33 internal 07:37:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 openapi 07:37:04 drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:33 pkg 07:37:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 snap 07:37:04 -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:33 version.go [Pipeline] isUnix [Pipeline] sh 07:37:05 + 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=a61210e4bab0a8e935d14f6878a7610afcc83bb0 --label arch=arm64 --label version=0.0.0 . 07:37:05 Sending build context to Docker daemon 2.429MB 07:37:05 Step 1/24 : ARG BASE=golang:1.15-alpine 07:37:05 Step 2/24 : FROM ${BASE} AS builder 07:37:05 ---> 0f56113758cb 07:37:05 Step 3/24 : ARG MAKE='make build' 07:37:06 ---> Running in a1f32145f52d 07:37:06 Removing intermediate container a1f32145f52d 07:37:06 ---> 4d83c4cdea2a 07:37:06 Step 4/24 : WORKDIR /device-sdk-go 07:37:06 ---> Running in 9025aea5b85e 07:37:07 Removing intermediate container 9025aea5b85e 07:37:07 ---> 2da347fee93f 07:37:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:07 ---> Running in 0ed22cbb25ae 07:37:07 Removing intermediate container 0ed22cbb25ae 07:37:07 ---> bd107aa36162 07:37:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:37:07 ---> Running in df971298aed4 07:37:10 Removing intermediate container df971298aed4 07:37:10 ---> 9df8c7a614c1 07:37:10 Step 7/24 : RUN apk add --update --no-cache make git 07:37:10 ---> Running in b8d7eb557e66 07:37:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:37:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:37:14 OK: 142 MiB in 39 packages 07:37:15 Removing intermediate container b8d7eb557e66 07:37:15 ---> 9caeb23b9ea1 07:37:15 Step 8/24 : COPY . . 07:37:16 ---> 6504c80b261e 07:37:16 Step 9/24 : RUN ${MAKE} 07:37:16 ---> Running in a4abb2e8ff19 07:37:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:37:19 Removing intermediate container 46420bfbf9f4 07:37:19 ---> 671c3c56dbd6 07:37:19 Successfully built 671c3c56dbd6 07:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:37:20 + docker inspect -f . ci-base-image-x86_64 07:37:20 . [Pipeline] withDockerContainer 07:37:20 prd-centos7-docker-4c-2g-6231 does not seem to be running inside a container 07:37:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-x86_64 cat 07:37:20 $ docker top e3a00a7509685cc85ae62dc089323693876e98e5fd40c8a142605b6e37350bfe -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:21 + go version 07:37:21 go version go1.15.2 linux/amd64 [Pipeline] } 07:37:21 $ docker stop --time=1 e3a00a7509685cc85ae62dc089323693876e98e5fd40c8a142605b6e37350bfe 07:37:22 $ docker rm -f e3a00a7509685cc85ae62dc089323693876e98e5fd40c8a142605b6e37350bfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:37:23 + docker inspect -f . ci-base-image-x86_64 07:37:23 . [Pipeline] withDockerContainer 07:37:23 prd-centos7-docker-4c-2g-6231 does not seem to be running inside a container 07:37:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-x86_64 cat 07:37:24 $ docker top ee50f18051a3c00c442355f9711a27acc159d0cce313ca58cded9ef6f1032a41 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:25 + make test 07:37:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:37:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:37:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:37:44 Removing intermediate container a4abb2e8ff19 07:37:44 ---> a858ab103c2a 07:37:44 Step 10/24 : FROM scratch 07:37:44 ---> 07:37:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:44 ---> Running in cec4de2fee5b 07:37:45 Removing intermediate container cec4de2fee5b 07:37:45 ---> e16900967a32 07:37:45 Step 12/24 : ENV APP_PORT=49990 07:37:45 ---> Running in a19896d15ae6 07:37:45 Removing intermediate container a19896d15ae6 07:37:45 ---> 663552e9f762 07:37:45 Step 13/24 : EXPOSE $APP_PORT 07:37:46 ---> Running in 9a9532ad2bb2 07:37:46 Removing intermediate container 9a9532ad2bb2 07:37:46 ---> d9b679ea499a 07:37:46 Step 14/24 : WORKDIR / 07:37:46 ---> Running in 2e74ff34cdd3 07:37:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:37:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:37:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:37:46 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.6% of statements 07:37:46 Removing intermediate container 2e74ff34cdd3 07:37:46 ---> 9a1c2dd30490 07:37:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:37:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements 07:37:48 ---> f6045ef593ff 07:37:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:37:48 ---> 648c76dce6ea 07:37:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:37:49 ---> 796be5bb76a1 07:37:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:37:50 ---> 9d8119047e49 07:37:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:37:51 ---> e2ac121ae236 07:37:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:37:51 ---> Running in f28f14baef1c 07:37:51 Removing intermediate container f28f14baef1c 07:37:51 ---> 24afcb951632 07:37:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:37:51 ---> Running in ff770e7e7839 07:37:52 Removing intermediate container ff770e7e7839 07:37:52 ---> 704014f0372f 07:37:52 Step 22/24 : LABEL arch=arm64 07:37:52 ---> Running in 1c935c6be379 07:37:52 Removing intermediate container 1c935c6be379 07:37:52 ---> 2ac3553e54f2 07:37:52 Step 23/24 : LABEL git_sha=a61210e4bab0a8e935d14f6878a7610afcc83bb0 07:37:52 ---> Running in 2f456632ade3 07:37:53 Removing intermediate container 2f456632ade3 07:37:53 ---> 4b79b6aaebf4 07:37:53 Step 24/24 : LABEL version=0.0.0 07:37:53 ---> Running in 9a0d71bdc47b 07:37:54 Removing intermediate container 9a0d71bdc47b 07:37:54 ---> d79309c6a80c 07:37:54 [Warning] One or more build-args [ARCH] were not consumed 07:37:54 Successfully built d79309c6a80c 07:37:54 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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 07:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 42.6% of statements 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.282s coverage: 68.9% of statements 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:38:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:38:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:38:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.552s coverage: 68.9% of statements 07:38:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:38:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:38:19 GO111MODULE=on go vet ./... 07:38:26 gofmt -l . 07:38:26 [ "`gofmt -l .`" = "" ] 07:38:26 ./bin/test-attribution-txt.sh 07:38:26 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:38:27 Warning: overwriting stash ‘coverage-report’ 07:38:27 Stashed 1 file(s) [Pipeline] } 07:38:27 $ docker stop --time=1 ee50f18051a3c00c442355f9711a27acc159d0cce313ca58cded9ef6f1032a41 07:38:29 $ docker rm -f ee50f18051a3c00c442355f9711a27acc159d0cce313ca58cded9ef6f1032a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:38:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:30 + ls -al . 07:38:30 total 188 07:38:30 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:38 . 07:38:30 drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:36 .. 07:38:30 drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:36 bin 07:38:30 -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:38 coverage.out 07:38:30 -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:36 Dockerfile.build 07:38:30 -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:36 .dockerignore 07:38:30 drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:36 example 07:38:30 drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:36 .git 07:38:30 drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:36 .github 07:38:30 -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:36 .gitignore 07:38:30 -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:38 go.mod 07:38:30 -rw-r--r--. 1 jenkins jenkins 13742 Oct 19 07:38 go.sum 07:38:30 drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:36 internal 07:38:30 -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:36 Jenkinsfile 07:38:30 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:36 LICENSE 07:38:30 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:36 Makefile 07:38:30 drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:36 openapi 07:38:30 drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:36 pkg 07:38:30 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:36 README.md 07:38:30 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:36 RELEASE-NOTES.txt 07:38:30 drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:36 snap 07:38:30 -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:31 VERSION 07:38:30 -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:36 version.go [Pipeline] isUnix [Pipeline] sh 07:38:30 + 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=a61210e4bab0a8e935d14f6878a7610afcc83bb0 --label arch=amd64 --label version=0.0.0 . 07:38:31 Sending build context to Docker daemon 2.426MB 07:38:31 Step 1/24 : ARG BASE=golang:1.15-alpine 07:38:31 Step 2/24 : FROM ${BASE} AS builder 07:38:31 ---> 671c3c56dbd6 07:38:31 Step 3/24 : ARG MAKE='make build' 07:38:31 ---> Running in 44b3230913ff 07:38:31 Removing intermediate container 44b3230913ff 07:38:31 ---> fd197da9bcc7 07:38:31 Step 4/24 : WORKDIR /device-sdk-go 07:38:32 ---> Running in 680c96c57c08 07:38:32 Removing intermediate container 680c96c57c08 07:38:32 ---> 96f735c2fc1c 07:38:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:38:32 ---> Running in 6550e5385ad5 07:38:32 Removing intermediate container 6550e5385ad5 07:38:32 ---> bec56f20a25e 07:38:32 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:38:32 ---> Running in 06b948a56c45 07:38:33 Removing intermediate container 06b948a56c45 07:38:33 ---> f61fa75c3a38 07:38:33 Step 7/24 : RUN apk add --update --no-cache make git 07:38:33 ---> Running in 8762fab8834d 07:38:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:38:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:38:35 OK: 166 MiB in 39 packages 07:38:35 Removing intermediate container 8762fab8834d 07:38:35 ---> fb8723dd1c86 07:38:35 Step 8/24 : COPY . . 07:38:37 ---> 6a38eb3697ba 07:38:37 Step 9/24 : RUN ${MAKE} 07:38:37 ---> Running in 9c95d9e51c28 07:38:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:38:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:38:46 Removing intermediate container 9c95d9e51c28 07:38:46 ---> 0cf0a7e5ede6 07:38:46 Step 10/24 : FROM scratch 07:38:46 ---> 07:38:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:38:46 ---> Running in 2c453f2211a0 07:38:46 Removing intermediate container 2c453f2211a0 07:38:46 ---> eeb379d94ddf 07:38:46 Step 12/24 : ENV APP_PORT=49990 07:38:47 ---> Running in 695dd59d8327 07:38:47 Removing intermediate container 695dd59d8327 07:38:47 ---> 62d9475e9d81 07:38:47 Step 13/24 : EXPOSE $APP_PORT 07:38:47 ---> Running in 76ebf2261f2c 07:38:47 Removing intermediate container 76ebf2261f2c 07:38:47 ---> a9e21aa07b9d 07:38:47 Step 14/24 : WORKDIR / 07:38:47 ---> Running in 24c77cd8514e 07:38:47 Removing intermediate container 24c77cd8514e 07:38:47 ---> 1fe14c90fb51 07:38:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:38:48 ---> 3f129ab0c61d 07:38:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:38:48 ---> e6f40d1d8563 07:38:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:38:48 ---> 68ff6ddbea39 07:38:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:38:48 ---> 81fcc87bb160 07:38:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:38:49 ---> 96e54b6678b4 07:38:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:38:49 ---> Running in e36cd11ec0bb 07:38:49 Removing intermediate container e36cd11ec0bb 07:38:49 ---> e642436d8c7e 07:38:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:38:49 ---> Running in 58a2b952670d 07:38:49 Removing intermediate container 58a2b952670d 07:38:49 ---> 49b7b29c241f 07:38:49 Step 22/24 : LABEL arch=amd64 07:38:49 ---> Running in 71fc5ef05d26 07:38:49 Removing intermediate container 71fc5ef05d26 07:38:49 ---> 5b7a03624a46 07:38:49 Step 23/24 : LABEL git_sha=a61210e4bab0a8e935d14f6878a7610afcc83bb0 07:38:49 ---> Running in baf67392da9e 07:38:50 Removing intermediate container baf67392da9e 07:38:50 ---> b9b604b75141 07:38:50 Step 24/24 : LABEL version=0.0.0 07:38:50 ---> Running in bd6959d119b7 07:38:50 Removing intermediate container bd6959d119b7 07:38:50 ---> 7370c9de9971 07:38:50 [Warning] One or more build-args [ARCH] were not consumed 07:38:50 Successfully built 7370c9de9971 07:38:50 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 [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 07:38:52 provisioning config files... 07:38:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5183749025725807311tmp [Pipeline] { [Pipeline] sh 07:38:52 + set +x 07:38:52 + curl -s https://codecov.io/bash 07:38:52 + bash -s -- 07:38:53 07:38:53 _____ _ 07:38:53 / ____| | | 07:38:53 | | ___ __| | ___ ___ _____ __ 07:38:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:38:53 | |___| (_) | (_| | __/ (_| (_) \ V / 07:38:53 \_____\___/ \__,_|\___|\___\___/ \_/ 07:38:53 Bash-20201009-048fee3 07:38:53 07:38:53 07:38:53 ==> Jenkins CI detected. 07:38:53 project root: . 07:38:53 --> token set from env 07:38:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:38:53 ==> Running gcov in . (disable via -X gcov) 07:38:53 ==> Python coveragepy not found 07:38:53 ==> Searching for coverage reports in: 07:38:53 + . 07:38:53 -> Found 1 reports 07:38:53 ==> Detecting git/mercurial file structure 07:38:53 ==> Reading reports 07:38:53 + ./coverage.out bytes=110398 07:38:53 ==> Appending adjustments 07:38:53 https://docs.codecov.io/docs/fixing-reports 07:38:54 + Found adjustments 07:38:54 ==> Gzipping contents 07:38:54 ==> Uploading reports 07:38:54 url: https://codecov.io 07:38:54 query: branch=PR-614&commit=a61210e4bab0a8e935d14f6878a7610afcc83bb0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 07:38:54 -> Pinging Codecov 07:38:54 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=a61210e4bab0a8e935d14f6878a7610afcc83bb0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 07:38:54 -> Uploading to 07:38:54 07:38:54 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:54 Dload Upload Total Spent Left Speed 07:38:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:38:54 X> Failed to upload 07:38:54 ==> Uploading to Codecov 07:38:54 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:54 Dload Upload Total Spent Left Speed 07:38:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19187 100 110 100 19077 157 27329 --:--:-- --:--:-- --:--:-- 27370 07:38:55 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a61210e4bab0a8e935d14f6878a7610afcc83bb0 [Pipeline] } 07:38:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 07:38:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:38:58 ---> package-listing.sh 07:38:58 ++ facter osfamily 07:38:58 ++ tr '[:upper:]' '[:lower:]' 07:38:58 + OS_FAMILY=redhat 07:38:58 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 07:38:58 + START_PACKAGES=/tmp/packages_start.txt 07:38:58 + END_PACKAGES=/tmp/packages_end.txt 07:38:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:38:58 + PACKAGES=/tmp/packages_start.txt 07:38:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 07:38:58 + PACKAGES=/tmp/packages_end.txt 07:38:58 + case "${OS_FAMILY}" in 07:38:58 + rpm -qa 07:38:58 + sort 07:39:03 + '[' -f /tmp/packages_start.txt ']' 07:39:03 + '[' -f /tmp/packages_end.txt ']' 07:39:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:39:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 07:39:03 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 07:39:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo 07:39:03 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:39:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:39:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:39:04 07:39:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:39:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:39:04 alpine: Pulling from edgex-lftools-log-publisher 07:39:04 df20fa9351a1: Pulling fs layer 07:39:04 36b3adc4ff6f: Pulling fs layer 07:39:04 8ad3a11d3b57: Pulling fs layer 07:39:04 46f8f816bc3b: Pulling fs layer 07:39:04 93b61091891f: Pulling fs layer 07:39:04 93b9cdb0e59b: Pulling fs layer 07:39:04 5e14af77c1be: Pulling fs layer 07:39:04 01666e4c0597: Pulling fs layer 07:39:04 aa168da1d23b: Pulling fs layer 07:39:04 93b9cdb0e59b: Waiting 07:39:04 01666e4c0597: Waiting 07:39:04 aa168da1d23b: Waiting 07:39:04 5e14af77c1be: Waiting 07:39:04 46f8f816bc3b: Waiting 07:39:04 93b61091891f: Waiting 07:39:04 36b3adc4ff6f: Verifying Checksum 07:39:04 36b3adc4ff6f: Download complete 07:39:04 46f8f816bc3b: Verifying Checksum 07:39:04 46f8f816bc3b: Download complete 07:39:04 df20fa9351a1: Verifying Checksum 07:39:04 93b9cdb0e59b: Verifying Checksum 07:39:04 93b9cdb0e59b: Download complete 07:39:04 5e14af77c1be: Verifying Checksum 07:39:04 5e14af77c1be: Download complete 07:39:04 93b61091891f: Verifying Checksum 07:39:04 93b61091891f: Download complete 07:39:04 01666e4c0597: Verifying Checksum 07:39:04 01666e4c0597: Download complete 07:39:05 8ad3a11d3b57: Verifying Checksum 07:39:05 8ad3a11d3b57: Download complete 07:39:05 df20fa9351a1: Pull complete 07:39:05 36b3adc4ff6f: Pull complete 07:39:07 8ad3a11d3b57: Pull complete 07:39:07 46f8f816bc3b: Pull complete 07:39:07 93b61091891f: Pull complete 07:39:08 93b9cdb0e59b: Pull complete 07:39:08 5e14af77c1be: Pull complete 07:39:08 01666e4c0597: Pull complete 07:39:12 aa168da1d23b: Verifying Checksum 07:39:12 aa168da1d23b: Download complete 07:39:24 aa168da1d23b: Pull complete 07:39:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:39:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:39:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:39:24 prd-centos7-docker-4c-2g-6223 does not seem to be running inside a container 07:39:25 $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:39:29 $ docker top 8f10d593283a214afbe353f58ae1262f2041a33d48123dc73b395c7c5b5feb5a -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:30 + touch /tmp/pre-build-complete [Pipeline] sh 07:39:30 + mkdir -p /var/log/sa [Pipeline] sh 07:39:30 + ls /var/log/sa-host 07:39:30 + sadf -c /var/log/sa-host/sa05 07:39:30 file_magic: OK 07:39:30 HZ: Using current value: 100 07:39:30 file_header: OK 07:39:30 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 07:39:30 Statistics: 07:39:30 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:39:30 File successfully converted to sysstat format version 12.2.1 07:39:30 + sadf -c /var/log/sa-host/sa19 07:39:30 file_magic: OK 07:39:30 HZ: Using current value: 100 07:39:30 file_header: OK 07:39:30 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 07:39:30 Statistics: 07:39:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:39:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:31 provisioning config files... 07:39:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config7165619385522627837tmp [Pipeline] { [Pipeline] echo 07:39:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:39:31 ---> create-netrc.sh [Pipeline] } 07:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:39:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:39:32 ---> python-tools-install.sh [Pipeline] echo 07:39:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:39:32 ---> sudo-logs.sh 07:39:32 Archiving 'sudo' log.. [Pipeline] echo 07:39:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:39:33 ---> job-cost.sh 07:39:33 lf-activate-venv: SKIPPING 07:39:33 INFO: No Stack... 07:39:33 INFO: Retrieving Pricing Info for: v1-standard-2 07:39:34 INFO: Archiving Costs [Pipeline] echo 07:39:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:39:34 ---> logs-deploy.sh 07:39:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/12 07:39:34 INFO: archiving workspace using pattern(s): 07:39:36 Archives upload complete. 07:39:37 INFO: archiving logs to Nexus 07:39:38 ---> uname -a: 07:39:38 Linux prd-centos7-docker-4c-2g-6223.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 07:39:38 07:39:38 07:39:38 ---> lscpu: 07:39:38 Architecture: x86_64 07:39:38 CPU op-mode(s): 32-bit, 64-bit 07:39:38 Byte Order: Little Endian 07:39:38 Address sizes: 40 bits physical, 48 bits virtual 07:39:38 CPU(s): 4 07:39:38 On-line CPU(s) list: 0-3 07:39:38 Thread(s) per core: 1 07:39:38 Core(s) per socket: 1 07:39:38 Socket(s): 4 07:39:38 NUMA node(s): 1 07:39:38 Vendor ID: GenuineIntel 07:39:38 CPU family: 6 07:39:38 Model: 44 07:39:38 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:39:38 Stepping: 1 07:39:38 CPU MHz: 2933.438 07:39:38 BogoMIPS: 5866.87 07:39:38 Virtualization: VT-x 07:39:38 Hypervisor vendor: KVM 07:39:38 Virtualization type: full 07:39:38 L1d cache: 128 KiB 07:39:38 L1i cache: 128 KiB 07:39:38 L2 cache: 16 MiB 07:39:38 L3 cache: 64 MiB 07:39:38 NUMA node0 CPU(s): 0-3 07:39:38 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:39:38 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:39:38 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:39:38 Vulnerability Meltdown: Mitigation; PTI 07:39:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:39:38 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:39:38 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:39:38 Vulnerability Tsx async abort: Not affected 07:39:38 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 07:39:38 07:39:38 07:39:38 ---> nproc: 07:39:38 4 07:39:38 07:39:38 07:39:38 ---> df -h: 07:39:38 Filesystem Size Used Available Use% Mounted on 07:39:38 overlay 50.0G 7.2G 42.8G 14% / 07:39:38 tmpfs 64.0M 0 64.0M 0% /dev 07:39:38 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:39:38 shm 64.0M 0 64.0M 0% /dev/shm 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-614 07:39:38 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp 07:39:38 07:39:38 07:39:38 ---> free -m: 07:39:38 total used free shared buff/cache available 07:39:38 Mem: 1837 662 110 0 1065 1073 07:39:38 Swap: 1023 1 1022 07:39:38 07:39:38 07:39:38 ---> ip addr: 07:39:38 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:39:38 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:39:38 inet 127.0.0.1/8 scope host lo 07:39:38 valid_lft forever preferred_lft forever 07:39:38 inet6 ::1/128 scope host 07:39:38 valid_lft forever preferred_lft forever 07:39:38 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:39:38 link/ether fa:16:3e:4f:d7:31 brd ff:ff:ff:ff:ff:ff 07:39:38 inet 10.30.123.113/23 brd 10.30.123.255 scope global dynamic eth0 07:39:38 valid_lft 85780sec preferred_lft 85780sec 07:39:38 inet6 fe80::f816:3eff:fe4f:d731/64 scope link 07:39:38 valid_lft forever preferred_lft forever 07:39:38 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:39:38 link/ether 02:42:b0:39:73:da brd ff:ff:ff:ff:ff:ff 07:39:38 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:39:38 valid_lft forever preferred_lft forever 07:39:38 inet6 fe80::42:b0ff:fe39:73da/64 scope link 07:39:38 valid_lft forever preferred_lft forever 07:39:38 07:39:38 07:39:38 ---> sar -b -r -n DEV: 07:39:38 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/19/20 _x86_64_ (4 CPU) 07:39:38 07:39:38 07:29:00 LINUX RESTART (4 CPU) 07:39:38 07:39:38 07:30:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:39:38 07:31:01 55.49 12.79 42.71 0.00 4904.97 4738.69 0.00 07:39:38 07:32:01 7.73 2.30 5.44 0.00 115.87 166.00 0.00 07:39:38 07:33:01 0.37 0.00 0.37 0.00 0.00 5.94 0.00 07:39:38 07:34:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 07:39:38 07:35:01 0.32 0.00 0.32 0.00 0.00 4.51 0.00 07:39:38 07:36:01 0.30 0.00 0.30 0.00 0.00 4.09 0.00 07:39:38 07:37:01 0.28 0.02 0.27 0.00 0.13 3.89 0.00 07:39:38 07:38:01 0.22 0.00 0.22 0.00 0.00 2.43 0.00 07:39:38 07:39:01 38.86 38.60 0.27 0.00 3947.03 8.53 0.00 07:39:38 Average: 11.49 5.97 5.53 0.00 993.96 544.68 0.00 07:39:38 07:39:38 07:30:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:39:38 07:31:01 177672 0 568212 30.20 2620 1133052 1278824 43.64 423576 1119584 52 07:39:38 07:32:01 169312 0 571740 30.39 2620 1137884 1156560 39.47 438184 1114408 20 07:39:38 07:33:01 179448 0 561600 29.85 2620 1137888 1093476 37.32 431204 1112536 12 07:39:38 07:34:01 181380 0 559668 29.74 2620 1137888 1059504 36.16 434556 1108104 8 07:39:38 07:35:01 181200 0 559840 29.75 2620 1137896 1059444 36.16 434888 1108104 12 07:39:38 07:36:01 182292 0 558744 29.70 2620 1137900 1059336 36.15 434304 1108104 16 07:39:38 07:37:01 180872 0 560152 29.77 2620 1137912 1059564 36.16 427264 1116296 8 07:39:38 07:38:01 181780 0 559240 29.72 2620 1137916 1059336 36.15 426280 1116296 8 07:39:38 07:39:01 63648 0 592844 31.51 2620 1222444 1105868 37.74 434304 1219900 96 07:39:38 Average: 166400 0 565782 30.07 2620 1146753 1103546 37.66 431618 1124815 26 07:39:38 07:39:38 07:30:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:39:38 07:31:01 veth381493e 0.00 0.24 0.00 0.02 0.00 0.00 0.00 0.00 07:39:38 07:31:01 eth0 121.30 92.12 574.65 48.60 0.00 0.00 0.00 0.00 07:39:38 07:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:31:01 docker0 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 07:39:38 07:32:01 eth0 22.27 19.77 36.94 22.48 0.00 0.00 0.00 0.00 07:39:38 07:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:32:01 docker0 4.88 4.44 0.95 19.94 0.00 0.00 0.00 0.00 07:39:38 07:33:01 eth0 1.68 0.72 0.59 0.52 0.00 0.00 0.00 0.00 07:39:38 07:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:34:01 eth0 0.78 0.40 0.43 0.21 0.00 0.00 0.00 0.00 07:39:38 07:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:35:01 eth0 0.32 0.20 0.14 0.07 0.00 0.00 0.00 0.00 07:39:38 07:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:36:01 eth0 0.47 0.00 0.05 0.00 0.00 0.00 0.00 0.00 07:39:38 07:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:37:01 eth0 0.62 0.35 0.28 0.20 0.00 0.00 0.00 0.00 07:39:38 07:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:38:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:39:38 07:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:39:01 eth0 10.18 6.55 10.21 4.04 0.00 0.00 0.00 0.00 07:39:38 07:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 07:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 Average: eth0 17.41 13.26 68.78 8.40 0.00 0.00 0.00 0.00 07:39:38 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:39:38 Average: docker0 0.54 0.50 0.10 2.19 0.00 0.00 0.00 0.00 07:39:38 07:39:38 07:39:38 ---> sar -P ALL: 07:39:38 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/19/20 _x86_64_ (4 CPU) 07:39:38 07:39:38 07:29:00 LINUX RESTART (4 CPU) 07:39:38 07:39:38 07:30:02 CPU %user %nice %system %iowait %steal %idle 07:39:38 07:31:01 all 8.28 0.00 5.78 0.91 29.26 55.77 07:39:38 07:31:01 0 7.04 0.00 6.33 0.12 31.00 55.51 07:39:38 07:31:01 1 7.10 0.00 5.34 1.18 29.82 56.57 07:39:38 07:31:01 2 8.61 0.00 5.12 1.27 28.24 56.77 07:39:38 07:31:01 3 10.49 0.00 6.33 1.09 27.89 54.19 07:39:38 07:32:01 all 2.35 0.00 2.07 0.08 10.63 84.87 07:39:38 07:32:01 0 1.87 0.00 2.46 0.03 11.21 84.42 07:39:38 07:32:01 1 2.81 0.00 2.54 0.13 11.82 82.70 07:39:38 07:32:01 2 2.14 0.00 1.57 0.06 11.08 85.14 07:39:38 07:32:01 3 2.61 0.00 1.71 0.08 8.38 87.22 07:39:38 07:33:01 all 0.14 0.00 0.06 0.00 0.52 99.28 07:39:38 07:33:01 0 0.12 0.00 0.05 0.00 0.55 99.29 07:39:38 07:33:01 1 0.18 0.00 0.05 0.00 0.50 99.27 07:39:38 07:33:01 2 0.13 0.00 0.07 0.00 0.63 99.17 07:39:38 07:33:01 3 0.12 0.00 0.07 0.00 0.42 99.40 07:39:38 07:34:01 all 0.10 0.00 0.07 0.00 0.79 99.04 07:39:38 07:34:01 0 0.07 0.00 0.10 0.00 0.61 99.22 07:39:38 07:34:01 1 0.26 0.00 0.10 0.00 1.27 98.37 07:39:38 07:34:01 2 0.03 0.00 0.03 0.00 0.40 99.53 07:39:38 07:34:01 3 0.03 0.00 0.05 0.00 0.88 99.04 07:39:38 07:35:01 all 0.10 0.00 0.10 0.00 0.25 99.55 07:39:38 07:35:01 0 0.00 0.00 0.32 0.00 0.18 99.50 07:39:38 07:35:01 1 0.10 0.00 0.03 0.00 0.18 99.68 07:39:38 07:35:01 2 0.27 0.00 0.05 0.00 0.52 99.17 07:39:38 07:35:01 3 0.02 0.00 0.02 0.00 0.13 99.83 07:39:38 07:36:01 all 0.07 0.00 0.03 0.00 0.42 99.47 07:39:38 07:36:01 0 0.03 0.00 0.02 0.00 0.68 99.27 07:39:38 07:36:01 1 0.03 0.00 0.02 0.00 0.23 99.72 07:39:38 07:36:01 2 0.20 0.00 0.08 0.00 0.30 99.42 07:39:38 07:36:01 3 0.03 0.00 0.02 0.00 0.48 99.47 07:39:38 07:37:01 all 0.14 0.00 0.04 0.00 0.16 99.66 07:39:38 07:37:01 0 0.03 0.00 0.03 0.00 0.12 99.82 07:39:38 07:37:01 1 0.05 0.00 0.05 0.00 0.17 99.73 07:39:38 07:37:01 2 0.02 0.00 0.03 0.00 0.08 99.87 07:39:38 07:37:01 3 0.45 0.00 0.03 0.00 0.28 99.23 07:39:38 07:38:01 all 0.12 0.00 0.04 0.00 0.13 99.72 07:39:38 07:38:01 0 0.05 0.00 0.07 0.00 0.15 99.73 07:39:38 07:38:01 1 0.03 0.00 0.02 0.00 0.22 99.73 07:39:38 07:38:01 2 0.02 0.00 0.02 0.00 0.07 99.90 07:39:38 07:38:01 3 0.37 0.00 0.05 0.00 0.08 99.50 07:39:38 07:39:01 all 0.92 0.00 0.53 0.75 0.88 96.93 07:39:38 07:39:01 0 1.39 0.00 0.79 1.41 1.02 95.40 07:39:38 07:39:01 1 0.68 0.00 0.50 0.71 0.96 97.14 07:39:38 07:39:01 2 0.53 0.00 0.45 0.37 0.70 97.95 07:39:38 07:39:01 3 1.07 0.00 0.38 0.50 0.83 97.22 07:39:38 Average: all 1.41 0.00 1.01 0.20 4.98 92.40 07:39:38 Average: 0 1.24 0.00 1.19 0.17 5.34 92.06 07:39:38 Average: 1 1.31 0.00 1.00 0.23 5.26 92.19 07:39:38 Average: 2 1.38 0.00 0.86 0.20 4.85 92.72 07:39:38 Average: 3 1.72 0.00 0.98 0.19 4.47 92.63 07:39:38 07:39:38 07:39:38