Pull request #605 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 454e627786fe47feacdf0b88105356060870c5cb+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (7744143bcf7a92a49f8e70d51c042b570cd08264) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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-5361 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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 > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 454e627786fe47feacdf0b88105356060870c5cb Merge succeeded, producing 454e627786fe47feacdf0b88105356060870c5cb Checking out Revision 454e627786fe47feacdf0b88105356060870c5cb (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 454e627786fe47feacdf0b88105356060870c5cb # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 454e627786fe47feacdf0b88105356060870c5cb # timeout=10 Commit message: "feat(sdk): leverage v2 cache for v2 callback api" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d0cb6d33e7f0aed859717180b5d3aebd3b009b5a # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:16:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:16:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:16:26 ========================================================= 09:16:26 EdgeX Global Pipelines Version Info 09:16:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:16:27 ------------------- 09:16:27 stable info: 09:16:27 ------------------- 09:16:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:16:27 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 09:16:27 Message: update stable to v1.0.131 09:16:28 ------------------- 09:16:28 experimental info: 09:16:28 ------------------- 09:16:28 Commited By: **** collab-it+edgex@linuxfoundation.org 09:16:28 Commit SHA: a2275391807e67b7600a554c2b5f26031cb9c010 09:16:28 Message: update experimental to v1.0.141 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:16:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:16:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 09:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 09:16:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 09:16:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 454e627786fe47feacdf0b88105356060870c5cb [Pipeline] echo 09:16:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 454e627 [Pipeline] echo 09:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:33 + git log --format=format:%s -1 454e627786fe47feacdf0b88105356060870c5cb [Pipeline] echo 09:16:33 GIT_COMMIT: 454e627786fe47feacdf0b88105356060870c5cb, Commit Message: feat(sdk): leverage v2 cache for v2 callback api [Pipeline] echo 09:16:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:16:33 09:16:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:16:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:16:34 latest: Pulling from edgex-devops/git-semver 09:16:34 31603596830f: Pulling fs layer 09:16:34 2a8b12db71e7: Pulling fs layer 09:16:34 6ca5941a6612: Pulling fs layer 09:16:34 ecc8261a40a4: Pulling fs layer 09:16:34 ecc8261a40a4: Waiting 09:16:34 2a8b12db71e7: Verifying Checksum 09:16:34 2a8b12db71e7: Download complete 09:16:34 31603596830f: Download complete 09:16:34 ecc8261a40a4: Verifying Checksum 09:16:34 ecc8261a40a4: Download complete 09:16:34 6ca5941a6612: Verifying Checksum 09:16:34 6ca5941a6612: Download complete 09:16:34 31603596830f: Pull complete 09:16:34 2a8b12db71e7: Pull complete 09:16:35 6ca5941a6612: Pull complete 09:16:35 ecc8261a40a4: Pull complete 09:16:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:16:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:16:35 prd-centos7-docker-4c-2g-5361 does not seem to be running inside a container 09:16:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:16:38 $ docker top caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:16:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:16:38 [ssh-agent] Looking for ssh-agent implementation... 09:16:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:16:38 $ docker exec caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 ssh-agent 09:16:38 SSH_AUTH_SOCK=/tmp/ssh-uOvjEwhwJL2O/agent.11 09:16:38 SSH_AGENT_PID=16 09:16:38 Running ssh-add (command line suppressed) 09:16:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_4163432934946036756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_4163432934946036756.key) 09:16:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:16:39 + git describe --exact-match --tags HEAD 09:16:39 fatal: no tag exactly matches '454e627786fe47feacdf0b88105356060870c5cb' [Pipeline] } 09:16:39 $ docker exec --env ******** --env ******** caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 ssh-agent -k 09:16:39 unset SSH_AUTH_SOCK; 09:16:39 unset SSH_AGENT_PID; 09:16:39 echo Agent pid 16 killed; 09:16:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:16:39 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:16:39 This usually means this commit has not been tagged. [Pipeline] sshagent 09:16:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:16:39 [ssh-agent] Looking for ssh-agent implementation... 09:16:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:16:39 $ docker exec caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 ssh-agent 09:16:40 SSH_AUTH_SOCK=/tmp/ssh-Vpf7AFFFTatF/agent.45 09:16:40 SSH_AGENT_PID=51 09:16:40 Running ssh-add (command line suppressed) 09:16:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5094232637220716174.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_5094232637220716174.key) 09:16:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:16:40 + git semver init 09:16:40 # -> Open(): unable to determine branch for HEAD 09:16:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 09:16:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 09:16:40 # $SEMVER_REMOTE_NAME = origin 09:16:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:16:40 # $SEMVER_USER_NAME = edgex-jenkins 09:16:40 # $SEMVER_BRANCH = PR-605 09:16:40 # $SEMVER_TEMP = /tmp/semver-867607725 09:16:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:16:41 # '/tmp/semver-867607725' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 09:16:41 # -> Force: false 09:16:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 09:16:41 $ docker exec --env ******** --env ******** caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 ssh-agent -k 09:16:41 unset SSH_AUTH_SOCK; 09:16:41 unset SSH_AGENT_PID; 09:16:41 echo Agent pid 51 killed; 09:16:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:16:41 + git semver [Pipeline] } 09:16:41 $ docker stop --time=1 caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 09:16:43 $ docker rm -f caa7fe6681b99e6cb8ad3f7fc4a9bcfdd88ad31805a60d2ff0e4a3ff1bb98ce5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:16:44 Stashed 49 file(s) [Pipeline] echo 09:16:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:16:44 Archived original 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 09:17:00 Still waiting to schedule task 09:17:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:17:00 Still waiting to schedule task 09:17:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:19:42 Running on prd-centos7-docker-4c-2g-5363 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 09:19:42 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 09:19:48 using credential edgex-jenkins-ssh 09:19:48 Cloning the remote Git repository 09:19:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:19:49 > git init /w/workspace/device-sdk-go/12 # timeout=10 09:19:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:19:49 > git --version # timeout=10 09:19:49 > git --version # 'git version 2.16.5' 09:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:19:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:19:51 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 454e627786fe47feacdf0b88105356060870c5cb 09:19:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:19:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:19:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:19:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:19:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:19:51 > git config core.sparsecheckout # timeout=10 09:19:51 > git checkout -f 454e627786fe47feacdf0b88105356060870c5cb # timeout=10 09:19:51 Merge succeeded, producing 454e627786fe47feacdf0b88105356060870c5cb 09:19:51 Checking out Revision 454e627786fe47feacdf0b88105356060870c5cb (PR-605) 09:19:51 > git remote # timeout=10 09:19:51 > git config --get remote.origin.url # timeout=10 09:19:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:19:51 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 09:19:51 > git rev-parse HEAD^{commit} # timeout=10 09:19:51 > git config core.sparsecheckout # timeout=10 09:19:51 > git checkout -f 454e627786fe47feacdf0b88105356060870c5cb # timeout=10 09:19:55 Commit message: "feat(sdk): leverage v2 cache for v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:19:56 ========================================================= 09:19:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:19:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:19:57 + 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 . 09:19:58 Sending build context to Docker daemon 3.637MB 09:19:58 Step 1/8 : ARG BASE=golang:1.15-alpine 09:19:58 Step 2/8 : FROM ${BASE} 09:19:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:19:58 df20fa9351a1: Pulling fs layer 09:19:58 ed8968b2872e: Pulling fs layer 09:19:58 a92cc7c5fd73: Pulling fs layer 09:19:58 e871e8e8d7a9: Pulling fs layer 09:19:58 e73272ec9a57: Pulling fs layer 09:19:58 1e910a182e73: Pulling fs layer 09:19:58 4e634b169226: Pulling fs layer 09:19:58 e871e8e8d7a9: Waiting 09:19:58 e73272ec9a57: Waiting 09:19:58 1e910a182e73: Waiting 09:19:58 4e634b169226: Waiting 09:19:58 a92cc7c5fd73: Download complete 09:19:58 ed8968b2872e: Verifying Checksum 09:19:58 ed8968b2872e: Download complete 09:19:58 e73272ec9a57: Verifying Checksum 09:19:58 e73272ec9a57: Download complete 09:19:58 1e910a182e73: Verifying Checksum 09:19:58 1e910a182e73: Download complete 09:19:59 df20fa9351a1: Verifying Checksum 09:19:59 df20fa9351a1: Download complete 09:19:59 df20fa9351a1: Pull complete 09:20:00 ed8968b2872e: Pull complete 09:20:00 a92cc7c5fd73: Pull complete 09:20:02 4e634b169226: Verifying Checksum 09:20:02 4e634b169226: Download complete 09:20:04 e871e8e8d7a9: Verifying Checksum 09:20:04 e871e8e8d7a9: Download complete 09:20:14 e871e8e8d7a9: Pull complete 09:20:14 e73272ec9a57: Pull complete 09:20:14 1e910a182e73: Pull complete 09:20:19 4e634b169226: Pull complete 09:20:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:20:19 ---> f7629b54cfaa 09:20:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:20:19 ---> Running in d6d4b60508df 09:20:19 Removing intermediate container d6d4b60508df 09:20:19 ---> e1d7ad25d624 09:20:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:20:19 ---> Running in 971815920ff5 09:20:20 Removing intermediate container 971815920ff5 09:20:20 ---> 46968ca73e3b 09:20:20 Step 5/8 : RUN apk add --no-cache make git 09:20:20 ---> Running in c6579d84b929 09:20:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:20:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:20:23 OK: 166 MiB in 39 packages 09:20:23 Removing intermediate container c6579d84b929 09:20:23 ---> b059e14f6b54 09:20:23 Step 6/8 : WORKDIR /device-sdk-go 09:20:23 ---> Running in bd4f85196cb2 09:20:23 Removing intermediate container bd4f85196cb2 09:20:23 ---> 9e9b06880440 09:20:23 Step 7/8 : COPY . . 09:20:25 ---> 35e589645bad 09:20:25 Step 8/8 : RUN go mod download 09:20:25 ---> Running in d4b4be6b5784 09:20:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5364 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 09:20:32 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 09:20:37 using credential edgex-jenkins-ssh 09:20:37 Cloning the remote Git repository 09:20:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:20:37 > git init /w/workspace/device-sdk-go/12 # timeout=10 09:20:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:20:37 > git --version # timeout=10 09:20:37 > git --version # 'git version 2.17.1' 09:20:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:20:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:20:39 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 454e627786fe47feacdf0b88105356060870c5cb 09:20:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:20:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:20:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:20:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:20:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:20:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:20:39 > git config core.sparsecheckout # timeout=10 09:20:39 > git checkout -f 454e627786fe47feacdf0b88105356060870c5cb # timeout=10 09:20:39 > git remote # timeout=10 09:20:39 Merge succeeded, producing 454e627786fe47feacdf0b88105356060870c5cb 09:20:39 Checking out Revision 454e627786fe47feacdf0b88105356060870c5cb (PR-605) 09:20:39 > git config --get remote.origin.url # timeout=10 09:20:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:20:39 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 09:20:39 > git rev-parse HEAD^{commit} # timeout=10 09:20:39 > git config core.sparsecheckout # timeout=10 09:20:39 > git checkout -f 454e627786fe47feacdf0b88105356060870c5cb # timeout=10 09:20:44 Commit message: "feat(sdk): leverage v2 cache for v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:20:45 ========================================================= 09:20:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:20:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:20:46 + 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 . 09:20:47 Sending build context to Docker daemon 3.639MB 09:20:47 Step 1/8 : ARG BASE=golang:1.15-alpine 09:20:47 Step 2/8 : FROM ${BASE} 09:20:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:20:47 b538f80385f9: Pulling fs layer 09:20:47 74f711af9a0d: Pulling fs layer 09:20:47 99f96fe45779: Pulling fs layer 09:20:47 8529a6b9a6be: Pulling fs layer 09:20:47 45590311c82a: Pulling fs layer 09:20:47 69ca0ff8b7b3: Pulling fs layer 09:20:47 209524e5b208: Pulling fs layer 09:20:47 8529a6b9a6be: Waiting 09:20:47 45590311c82a: Waiting 09:20:47 69ca0ff8b7b3: Waiting 09:20:47 209524e5b208: Waiting 09:20:47 99f96fe45779: Verifying Checksum 09:20:47 99f96fe45779: Download complete 09:20:48 Removing intermediate container d4b4be6b5784 09:20:48 ---> 12a6ce13c732 09:20:48 Successfully built 12a6ce13c732 09:20:48 Successfully tagged ci-base-image-x86_64:latest 09:20:48 74f711af9a0d: Verifying Checksum 09:20:48 74f711af9a0d: Download complete 09:20:48 45590311c82a: Verifying Checksum 09:20:48 45590311c82a: Download complete 09:20:48 69ca0ff8b7b3: Verifying Checksum 09:20:48 b538f80385f9: Verifying Checksum 09:20:48 b538f80385f9: Download complete [Pipeline] isUnix [Pipeline] sh 09:20:48 + docker inspect -f . ci-base-image-x86_64 09:20:48 . [Pipeline] withDockerContainer 09:20:48 prd-centos7-docker-4c-2g-5363 does not seem to be running inside a container 09:20:48 b538f80385f9: Pull complete 09:20:49 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:20:49 74f711af9a0d: Pull complete 09:20:49 99f96fe45779: Pull complete 09:20:50 $ docker top 70d824ce61c42709e2bdc0622f75df541c3f8909527cab1cd63c74b6a0e441df -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:50 209524e5b208: Verifying Checksum 09:20:50 209524e5b208: Download complete 09:20:50 + go version 09:20:50 go version go1.15.2 linux/amd64 [Pipeline] } 09:20:50 $ docker stop --time=1 70d824ce61c42709e2bdc0622f75df541c3f8909527cab1cd63c74b6a0e441df 09:20:51 8529a6b9a6be: Verifying Checksum 09:20:51 8529a6b9a6be: Download complete 09:20:52 $ docker rm -f 70d824ce61c42709e2bdc0622f75df541c3f8909527cab1cd63c74b6a0e441df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:20:53 + docker inspect -f . ci-base-image-x86_64 09:20:53 . [Pipeline] withDockerContainer 09:20:53 prd-centos7-docker-4c-2g-5363 does not seem to be running inside a container 09:20:53 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:20:55 $ docker top 2d0e5ab20114b547753c62cabeaee405765343325f3a8a48d57722f4f6a453ac -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:55 + make test 09:20:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:21:04 8529a6b9a6be: Pull complete 09:21:04 45590311c82a: Pull complete 09:21:04 69ca0ff8b7b3: Pull complete 09:21:06 209524e5b208: Pull complete 09:21:06 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:21:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:21:06 ---> 5bddaf1c2fca 09:21:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:21:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:21:10 ---> Running in d9e1093a9863 09:21:11 Removing intermediate container d9e1093a9863 09:21:11 ---> bde23f55c921 09:21:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:12 ---> Running in f108c39a6723 09:21:16 Removing intermediate container f108c39a6723 09:21:16 ---> d6720a057fad 09:21:16 Step 5/8 : RUN apk add --no-cache make git 09:21:17 ---> Running in 3ae985d8cf98 09:21:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:21:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:21:20 OK: 142 MiB in 39 packages 09:21:23 Removing intermediate container 3ae985d8cf98 09:21:23 ---> 46c63f9b30ed 09:21:23 Step 6/8 : WORKDIR /device-sdk-go 09:21:23 ---> Running in 6aef73254bfd 09:21:25 Removing intermediate container 6aef73254bfd 09:21:25 ---> 1e6e90b64ed9 09:21:25 Step 7/8 : COPY . . 09:21:27 ---> bd93581900d8 09:21:27 Step 8/8 : RUN go mod download 09:21:27 ---> Running in d5b9faa1dfd8 09:21:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:21:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:21:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:21:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.6% of statements 09:21:35 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.548s coverage: 97.1% of statements 09:21:49 Removing intermediate container d5b9faa1dfd8 09:21:49 ---> 9c20f2505765 09:21:49 Successfully built 9c20f2505765 09:21:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:21:49 + docker inspect -f . ci-base-image-arm64 09:21:49 . [Pipeline] withDockerContainer 09:21:49 prd-ubuntu18.04-docker-arm64-4c-16g-5364 does not seem to be running inside a container 09:21:50 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:21:51 $ docker top a2ca52912575f67083d69379df95887a8d4a903965fa8f727c7080c4218b6fbd -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:53 + go version 09:21:53 go version go1.15.2 linux/arm64 [Pipeline] } 09:21:53 $ docker stop --time=1 a2ca52912575f67083d69379df95887a8d4a903965fa8f727c7080c4218b6fbd 09:21:55 $ docker rm -f a2ca52912575f67083d69379df95887a8d4a903965fa8f727c7080c4218b6fbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:21:56 + docker inspect -f . ci-base-image-arm64 09:21:56 . [Pipeline] withDockerContainer 09:21:56 prd-ubuntu18.04-docker-arm64-4c-16g-5364 does not seem to be running inside a container 09:21:56 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:21:58 $ docker top e5ca03f733072d3b5ddc34176cbd7b970b9129dd9e0b00b68be366fae63b8c27 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:59 + make test 09:21:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:22:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 9.4% of statements 09:22:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.091s coverage: 21.9% of statements 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:22:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.334s coverage: 41.5% of statements 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:22:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.821s coverage: 68.9% of statements 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:22:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.099s coverage: 52.6% of statements 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:22:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.621s coverage: 68.9% of statements 09:22:07 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:22:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:22:07 GO111MODULE=on go vet ./... 09:22:20 gofmt -l . 09:22:20 [ "`gofmt -l .`" = "" ] 09:22:20 ./bin/test-attribution-txt.sh 09:22:21 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:22:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:22:22 Stashed 1 file(s) [Pipeline] } 09:22:22 $ docker stop --time=1 2d0e5ab20114b547753c62cabeaee405765343325f3a8a48d57722f4f6a453ac 09:22:24 $ docker rm -f 2d0e5ab20114b547753c62cabeaee405765343325f3a8a48d57722f4f6a453ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:22:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:29 + ls -al . 09:22:29 total 188 09:22:29 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 14 09:22 . 09:22:29 drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 09:19 .. 09:22:29 drwxrwxr-x. 2 jenkins jenkins 64 Oct 14 09:19 bin 09:22:29 -rw-r--r--. 1 jenkins jenkins 110397 Oct 14 09:22 coverage.out 09:22:29 -rw-rw-r--. 1 jenkins jenkins 936 Oct 14 09:19 Dockerfile.build 09:22:29 -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 09:19 .dockerignore 09:22:29 drwxrwxr-x. 4 jenkins jenkins 48 Oct 14 09:19 example 09:22:29 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 09:19 .git 09:22:29 drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 09:19 .github 09:22:29 -rw-rw-r--. 1 jenkins jenkins 138 Oct 14 09:19 .gitignore 09:22:29 -rw-r--r--. 1 jenkins jenkins 517 Oct 14 09:22 go.mod 09:22:29 -rw-r--r--. 1 jenkins jenkins 13652 Oct 14 09:22 go.sum 09:22:29 drwxrwxr-x. 15 jenkins jenkins 211 Oct 14 09:19 internal 09:22:29 -rw-rw-r--. 1 jenkins jenkins 901 Oct 14 09:19 Jenkinsfile 09:22:29 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 09:19 LICENSE 09:22:29 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 14 09:19 Makefile 09:22:29 drwxrwxr-x. 4 jenkins jenkins 26 Oct 14 09:19 openapi 09:22:29 drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 09:19 pkg 09:22:29 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 14 09:19 README.md 09:22:29 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 14 09:19 RELEASE-NOTES.txt 09:22:29 drwxrwxr-x. 3 jenkins jenkins 58 Oct 14 09:19 .semver 09:22:29 drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 09:19 snap 09:22:29 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 09:16 VERSION 09:22:29 -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 09:19 version.go [Pipeline] isUnix [Pipeline] sh 09:22:29 + 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=454e627786fe47feacdf0b88105356060870c5cb --label arch=amd64 --label version=0.0.0 . 09:22:30 Sending build context to Docker daemon 3.748MB 09:22:30 Step 1/24 : ARG BASE=golang:1.15-alpine 09:22:30 Step 2/24 : FROM ${BASE} AS builder 09:22:30 ---> 12a6ce13c732 09:22:30 Step 3/24 : ARG MAKE='make build' 09:22:30 ---> Running in 08d01b3758fa 09:22:31 Removing intermediate container 08d01b3758fa 09:22:31 ---> be3b7c879ee8 09:22:31 Step 4/24 : WORKDIR /device-sdk-go 09:22:31 ---> Running in 9fbdf1cc33a3 09:22:31 Removing intermediate container 9fbdf1cc33a3 09:22:31 ---> 483cb86f52b7 09:22:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:22:31 ---> Running in a82ac56cd487 09:22:31 Removing intermediate container a82ac56cd487 09:22:31 ---> c0d29ef45c6f 09:22:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:31 ---> Running in d11e3c79bdb8 09:22:33 Removing intermediate container d11e3c79bdb8 09:22:33 ---> eb0cb12ecc89 09:22:33 Step 7/24 : RUN apk add --update --no-cache make git 09:22:33 ---> Running in 01ea0cbf197a 09:22:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:22:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:22:38 OK: 166 MiB in 39 packages 09:22:39 Removing intermediate container 01ea0cbf197a 09:22:39 ---> c6500eb82b58 09:22:39 Step 8/24 : COPY . . 09:22:40 ---> 53528d35451e 09:22:40 Step 9/24 : RUN ${MAKE} 09:22:40 ---> Running in 2f7498cab26b 09:22:40 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 09:22:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:22:57 Removing intermediate container 2f7498cab26b 09:22:57 ---> 0c6e4749c922 09:22:57 Step 10/24 : FROM scratch 09:22:57 ---> 09:22:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:22:57 ---> Running in e7685eb9c242 09:22:57 Removing intermediate container e7685eb9c242 09:22:57 ---> b39f33dae110 09:22:57 Step 12/24 : ENV APP_PORT=49990 09:22:57 ---> Running in 57c76813544d 09:22:57 Removing intermediate container 57c76813544d 09:22:57 ---> 03cbc8b2660c 09:22:57 Step 13/24 : EXPOSE $APP_PORT 09:22:57 ---> Running in 8364a4d95d84 09:22:58 Removing intermediate container 8364a4d95d84 09:22:58 ---> b4e016d8414f 09:22:58 Step 14/24 : WORKDIR / 09:22:58 ---> Running in f8e4d0f60b73 09:22:58 Removing intermediate container f8e4d0f60b73 09:22:58 ---> 3ee65a27ce0c 09:22:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:22:59 ---> 3c6cf07ab470 09:22:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:22:59 ---> a5adad2d4ce8 09:22:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:22:59 ---> 044978f70387 09:22:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:23:00 ---> 115b2b8a1ea2 09:23:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:23:00 ---> 66ff014e2b61 09:23:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:23:00 ---> Running in 4ad45b03a488 09:23:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:23:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:23:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.166s coverage: 21.6% of statements 09:23:01 Removing intermediate container 4ad45b03a488 09:23:01 ---> 45a1ff5e7e9f 09:23:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:23:01 ---> Running in 0562765d8b94 09:23:01 Removing intermediate container 0562765d8b94 09:23:01 ---> 8de9c35635d5 09:23:01 Step 22/24 : LABEL arch=amd64 09:23:01 ---> Running in a7acc9429726 09:23:01 Removing intermediate container a7acc9429726 09:23:01 ---> 7de1ecf82a84 09:23:01 Step 23/24 : LABEL git_sha=454e627786fe47feacdf0b88105356060870c5cb 09:23:01 ---> Running in bb8e846ac8e0 09:23:01 Removing intermediate container bb8e846ac8e0 09:23:01 ---> 2ab68f5f7540 09:23:01 Step 24/24 : LABEL version=0.0.0 09:23:01 ---> Running in a6361c75deca 09:23:02 Removing intermediate container a6361c75deca 09:23:02 ---> 8561a6c1cfc7 09:23:02 [Warning] One or more build-args [ARCH] were not consumed 09:23:02 Successfully built 8561a6c1cfc7 09:23:02 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] } 09:23:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.201s coverage: 97.1% of statements 09:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.207s coverage: 9.4% of statements 09:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.149s coverage: 21.9% of statements 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.551s coverage: 41.5% of statements 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.769s coverage: 68.9% of statements 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 52.6% of statements 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:23:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.662s coverage: 68.9% of statements 09:23:31 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:23:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:23:31 GO111MODULE=on go vet ./... 09:24:04 gofmt -l . 09:24:04 [ "`gofmt -l .`" = "" ] 09:24:04 ./bin/test-attribution-txt.sh 09:24:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:24:04 Warning: overwriting stash ‘coverage-report’ 09:24:05 Stashed 1 file(s) [Pipeline] } 09:24:05 $ docker stop --time=1 e5ca03f733072d3b5ddc34176cbd7b970b9129dd9e0b00b68be366fae63b8c27 09:24:07 $ docker rm -f e5ca03f733072d3b5ddc34176cbd7b970b9129dd9e0b00b68be366fae63b8c27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:09 + ls -al . 09:24:09 total 228 09:24:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 09:24 . 09:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:20 .. 09:24:09 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 09:20 .dockerignore 09:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 09:20 .git 09:24:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 09:20 .github 09:24:09 -rw-rw-r-- 1 jenkins jenkins 138 Oct 14 09:20 .gitignore 09:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 09:20 .semver 09:24:09 -rw-rw-r-- 1 jenkins jenkins 936 Oct 14 09:20 Dockerfile.build 09:24:09 -rw-rw-r-- 1 jenkins jenkins 901 Oct 14 09:20 Jenkinsfile 09:24:09 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 09:20 LICENSE 09:24:09 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 14 09:20 Makefile 09:24:09 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 14 09:20 README.md 09:24:09 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 14 09:20 RELEASE-NOTES.txt 09:24:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 09:16 VERSION 09:24:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 09:20 bin 09:24:09 -rw-r--r-- 1 jenkins jenkins 110397 Oct 14 09:23 coverage.out 09:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:20 example 09:24:09 -rw-r--r-- 1 jenkins jenkins 517 Oct 14 09:24 go.mod 09:24:09 -rw-r--r-- 1 jenkins jenkins 13652 Oct 14 09:24 go.sum 09:24:09 drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 09:20 internal 09:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:20 openapi 09:24:09 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 09:20 pkg 09:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 09:20 snap 09:24:09 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 09:20 version.go [Pipeline] isUnix [Pipeline] sh 09:24:09 + 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=454e627786fe47feacdf0b88105356060870c5cb --label arch=arm64 --label version=0.0.0 . 09:24:10 Sending build context to Docker daemon 3.75MB 09:24:10 Step 1/24 : ARG BASE=golang:1.15-alpine 09:24:10 Step 2/24 : FROM ${BASE} AS builder 09:24:10 ---> 9c20f2505765 09:24:10 Step 3/24 : ARG MAKE='make build' 09:24:10 ---> Running in 2380205b285a 09:24:11 Removing intermediate container 2380205b285a 09:24:11 ---> f545b85aa0f7 09:24:11 Step 4/24 : WORKDIR /device-sdk-go 09:24:11 ---> Running in cbb93eaa55e8 09:24:11 Removing intermediate container cbb93eaa55e8 09:24:11 ---> f7be479ffb63 09:24:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:24:11 ---> Running in 322c34168bb6 09:24:11 Removing intermediate container 322c34168bb6 09:24:11 ---> f06cfc91a9ab 09:24:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:12 ---> Running in e064476be0ed 09:24:14 Removing intermediate container e064476be0ed 09:24:14 ---> 2b58a11100a5 09:24:14 Step 7/24 : RUN apk add --update --no-cache make git 09:24:14 ---> Running in 6042b7b413c4 09:24:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:24:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:24:18 OK: 142 MiB in 39 packages 09:24:19 Removing intermediate container 6042b7b413c4 09:24:19 ---> b1eb417b8228 09:24:19 Step 8/24 : COPY . . 09:24:21 ---> 0f74a50303c2 09:24:21 Step 9/24 : RUN ${MAKE} 09:24:21 ---> Running in fc74bf91fb88 09:24:22 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 09:24:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:24:49 Removing intermediate container fc74bf91fb88 09:24:49 ---> 1e1ab0300b10 09:24:49 Step 10/24 : FROM scratch 09:24:49 ---> 09:24:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:24:49 ---> Running in 05d69e576309 09:24:49 Removing intermediate container 05d69e576309 09:24:49 ---> 0875c7aaeec3 09:24:49 Step 12/24 : ENV APP_PORT=49990 09:24:49 ---> Running in 0e2ade614eff 09:24:49 Removing intermediate container 0e2ade614eff 09:24:49 ---> a2817bf880a8 09:24:49 Step 13/24 : EXPOSE $APP_PORT 09:24:49 ---> Running in c94b8dac2f3b 09:24:50 Removing intermediate container c94b8dac2f3b 09:24:50 ---> fd9424e57482 09:24:50 Step 14/24 : WORKDIR / 09:24:50 ---> Running in 50a45ed87637 09:24:50 Removing intermediate container 50a45ed87637 09:24:50 ---> 72c1eaf8a8cb 09:24:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:24:52 ---> 6ce58da4e0ef 09:24:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:24:52 ---> 3a215681ba93 09:24:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:24:53 ---> 1b382d721c01 09:24:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:24:54 ---> cd01bfe042da 09:24:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:24:54 ---> 778e90a26342 09:24:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:24:54 ---> Running in 2ca523aedbb4 09:24:55 Removing intermediate container 2ca523aedbb4 09:24:55 ---> 85bc85036d74 09:24:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:24:55 ---> Running in 534824239a17 09:24:55 Removing intermediate container 534824239a17 09:24:55 ---> 6fb78196a16d 09:24:55 Step 22/24 : LABEL arch=arm64 09:24:55 ---> Running in 30ed8ef1f23d 09:24:56 Removing intermediate container 30ed8ef1f23d 09:24:56 ---> 2ee19ab4abec 09:24:56 Step 23/24 : LABEL git_sha=454e627786fe47feacdf0b88105356060870c5cb 09:24:56 ---> Running in 321d87b0433b 09:24:56 Removing intermediate container 321d87b0433b 09:24:56 ---> e22533c35839 09:24:56 Step 24/24 : LABEL version=0.0.0 09:24:57 ---> Running in 1d2ab67fbd86 09:24:57 Removing intermediate container 1d2ab67fbd86 09:24:57 ---> 4af64f95d135 09:24:57 [Warning] One or more build-args [ARCH] were not consumed 09:24:57 Successfully built 4af64f95d135 09:24:57 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:24:59 provisioning config files... 09:24:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config829549350307867741tmp [Pipeline] { [Pipeline] sh 09:24:59 + set +x 09:24:59 + curl -s https://codecov.io/bash 09:24:59 + bash -s -- 09:25:00 09:25:00 _____ _ 09:25:00 / ____| | | 09:25:00 | | ___ __| | ___ ___ _____ __ 09:25:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:25:00 | |___| (_) | (_| | __/ (_| (_) \ V / 09:25:00 \_____\___/ \__,_|\___|\___\___/ \_/ 09:25:00 Bash-20201009-048fee3 09:25:00 09:25:00 09:25:00 ==> Jenkins CI detected. 09:25:00 project root: . 09:25:00 --> token set from env 09:25:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:25:00 ==> Running gcov in . (disable via -X gcov) 09:25:00 ==> Python coveragepy not found 09:25:00 ==> Searching for coverage reports in: 09:25:00 + . 09:25:00 -> Found 1 reports 09:25:00 ==> Detecting git/mercurial file structure 09:25:00 ==> Reading reports 09:25:00 + ./coverage.out bytes=110397 09:25:00 ==> Appending adjustments 09:25:00 https://docs.codecov.io/docs/fixing-reports 09:25:00 + Found adjustments 09:25:00 ==> Gzipping contents 09:25:00 ==> Uploading reports 09:25:00 url: https://codecov.io 09:25:00 query: branch=PR-605&commit=454e627786fe47feacdf0b88105356060870c5cb&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 09:25:00 -> Pinging Codecov 09:25:00 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-605&commit=454e627786fe47feacdf0b88105356060870c5cb&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= 09:25:00 -> Uploading to 09:25:00 09:25:00 % Total % Received % Xferd Average Speed Time Time Time Current 09:25:00 Dload Upload Total Spent Left Speed 09:25:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 09:25:00 X> Failed to upload 09:25:00 ==> Uploading to Codecov 09:25:00 % Total % Received % Xferd Average Speed Time Time Time Current 09:25:00 Dload Upload Total Spent Left Speed 09:25:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18825 0 0 100 18715 0 26185 --:--:-- --:--:-- --:--:-- 26174 100 18825 100 110 100 18715 153 26179 --:--:-- --:--:-- --:--:-- 26174 09:25:01 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/454e627786fe47feacdf0b88105356060870c5cb [Pipeline] } 09:25:01 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 09:25:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:25:04 ---> package-listing.sh 09:25:04 ++ facter osfamily 09:25:04 ++ tr '[:upper:]' '[:lower:]' 09:25:04 + OS_FAMILY=redhat 09:25:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 09:25:04 + START_PACKAGES=/tmp/packages_start.txt 09:25:04 + END_PACKAGES=/tmp/packages_end.txt 09:25:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:25:04 + PACKAGES=/tmp/packages_start.txt 09:25:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 09:25:04 + PACKAGES=/tmp/packages_end.txt 09:25:04 + case "${OS_FAMILY}" in 09:25:04 + rpm -qa 09:25:04 + sort 09:25:08 + '[' -f /tmp/packages_start.txt ']' 09:25:08 + '[' -f /tmp/packages_end.txt ']' 09:25:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:25:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 09:25:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 09:25:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:09 provisioning config files... 09:25:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config2901889802862733975tmp [Pipeline] { [Pipeline] echo 09:25:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:25:09 ---> create-netrc.sh [Pipeline] } 09:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:25:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:25:09 ---> python-tools-install.sh 09:25:09 Generating Requirements File 09:26:17 Python 3.6.8 09:26:17 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 09:26:17 appdirs==1.4.3 09:26:17 argcomplete==1.12.1 09:26:17 aspy.yaml==1.3.0 09:26:17 attrs==19.3.0 09:26:17 Babel==2.8.0 09:26:17 beautifulsoup4==4.8.2 09:26:17 boto3==1.11.6 09:26:17 botocore==1.14.6 09:26:17 bs4==0.0.1 09:26:17 cachetools==4.1.1 09:26:17 certifi==2019.11.28 09:26:17 cffi==1.14.3 09:26:17 cfgv==2.0.1 09:26:17 chardet==3.0.4 09:26:17 click==7.1 09:26:17 cliff==3.4.0 09:26:17 cmd2==1.3.11 09:26:17 colorama==0.4.4 09:26:17 cryptography==3.1.1 09:26:17 debtcollector==2.2.0 09:26:17 decorator==4.4.2 09:26:17 defusedxml==0.6.0 09:26:17 Deprecated==1.2.7 09:26:17 distlib==0.3.1 09:26:17 distro==1.2.0 09:26:17 dnspython==1.16.0 09:26:17 docker==4.2.0 09:26:17 docutils==0.15.2 09:26:17 dogpile.cache==1.0.2 09:26:17 email-validator==1.0.5 09:26:17 filelock==3.0.12 09:26:17 future==0.18.2 09:26:17 google-auth==1.22.1 09:26:17 httplib2==0.17.0 09:26:17 identify==1.4.11 09:26:17 idna==2.9 09:26:17 importlib-metadata==2.0.0 09:26:17 importlib-resources==1.5.0 09:26:17 iso8601==0.1.13 09:26:17 Jinja2==2.11.1 09:26:17 jmespath==0.10.0 09:26:17 jsonpatch==1.26 09:26:17 jsonpointer==2.0 09:26:17 jsonschema==3.2.0 09:26:17 keystoneauth1==4.2.1 09:26:17 kubernetes==11.0.0 09:26:17 lftools==0.34.2 09:26:17 lxml==4.5.0 09:26:17 MarkupSafe==0.23 09:26:17 msgpack==1.0.0 09:26:17 multi-key-dict==2.0.3 09:26:17 munch==2.5.0 09:26:17 netaddr==0.8.0 09:26:17 netifaces==0.10.9 09:26:17 niet==1.4.2 09:26:17 nodeenv==1.3.5 09:26:17 oauth2client==4.1.3 09:26:17 oauthlib==3.1.0 09:26:17 openstacksdk==0.50.0 09:26:17 os-client-config==2.1.0 09:26:17 os-service-types==1.7.0 09:26:17 osc-lib==2.2.1 09:26:17 oslo.config==8.3.2 09:26:17 oslo.context==3.1.1 09:26:17 oslo.i18n==5.0.1 09:26:17 oslo.log==4.4.0 09:26:17 oslo.serialization==4.0.1 09:26:17 oslo.utils==4.6.0 09:26:17 packaging==20.4 09:26:17 pbr==5.4.4 09:26:17 pluggy==0.13.1 09:26:17 prettytable==0.7.2 09:26:17 py==1.9.0 09:26:17 pyasn1==0.4.8 09:26:17 pyasn1-modules==0.2.8 09:26:17 pycparser==2.20 09:26:17 pygerrit2==2.0.10 09:26:17 PyGithub==1.46 09:26:17 pyinotify==0.9.6 09:26:17 PyJWT==1.7.1 09:26:17 pyparsing==2.4.7 09:26:17 pyperclip==1.8.1 09:26:17 pyroute2==0.4.13 09:26:17 pyrsistent==0.15.7 09:26:17 PySocks==1.6.8 09:26:17 python-cinderclient==7.2.0 09:26:17 python-dateutil==2.8.1 09:26:17 python-heatclient==2.2.1 09:26:17 python-jenkins==1.7.0 09:26:17 python-keystoneclient==4.1.1 09:26:17 python-magnumclient==3.2.1 09:26:17 python-novaclient==17.2.1 09:26:17 python-openstackclient==5.4.0 09:26:17 python-swiftclient==3.10.1 09:26:17 pytz==2020.1 09:26:17 PyYAML==5.3 09:26:17 requests==2.23.0 09:26:17 requests-oauthlib==1.3.0 09:26:17 requestsexceptions==1.4.0 09:26:17 rfc3986==1.4.0 09:26:17 rpm==4.11.3 09:26:17 rsa==4.0 09:26:17 ruamel.yaml==0.16.10 09:26:17 ruamel.yaml.clib==0.2.0 09:26:17 s3transfer==0.3.3 09:26:17 shade==1.27.2 09:26:17 simplejson==3.17.2 09:26:17 six==1.14.0 09:26:17 soupsieve==2.0 09:26:17 stevedore==3.2.2 09:26:17 tabulate==0.8.6 09:26:17 toml==0.10.0 09:26:17 tox==3.20.1 09:26:17 tqdm==4.43.0 09:26:17 urllib3==1.25.8 09:26:17 virtualenv==20.0.34 09:26:17 wcwidth==0.2.5 09:26:17 websocket-client==0.57.0 09:26:17 wrapt==1.12.1 09:26:17 xdg==3.0.2 09:26:17 xmltodict==0.12.0 09:26:17 yq==2.11.1 09:26:17 zipp==3.3.0 09:26:18 Cache entry deserialization failed, entry ignored 09:26:21 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 09:26:23 Python 2.7.5 09:26:23 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 09:26:24 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 09:26:24 ansible==2.9.7 09:26:24 Babel==0.9.6 09:26:24 backports.ssl-match-hostname==3.5.0.1 09:26:24 beautifulsoup4==4.4.1 09:26:24 bodhi==2.11.0 09:26:24 bodhi-client==2.11.0 09:26:24 CCColUtils==1.4 09:26:24 cffi==1.6.0 09:26:24 chardet==2.2.1 09:26:24 click==6.7 09:26:24 cloud-init==18.5 09:26:24 configobj==4.7.2 09:26:24 cryptography==1.7.2 09:26:24 decorator==3.4.0 09:26:24 distro==1.2.0 09:26:24 enum34==1.0.4 09:26:24 fedpkg==1.38 09:26:24 futures==3.1.1 09:26:24 gitdb==0.6.4 09:26:24 GitPython==1.0.1 09:26:24 html5lib==0.999 09:26:24 httplib2==0.9.2 09:26:24 idna==2.4 09:26:24 iniparse==0.4 09:26:24 ipaddress==1.0.16 09:26:24 IPy==0.75 09:26:24 javapackages==1.0.0 09:26:24 Jinja2==2.7.2 09:26:24 jmespath==0.9.4 09:26:24 jsonpatch==1.2 09:26:24 jsonpointer==1.9 09:26:24 kerberos==1.1 09:26:24 kitchen==1.1.1 09:26:24 langtable==0.0.31 09:26:24 lockfile==0.9.1 09:26:24 lxml==3.2.1 09:26:24 MarkupSafe==0.11 09:26:24 munch==2.0.2 09:26:24 offtrac==0.1.0 09:26:24 openidc-client==0.6.0 09:26:24 packagedb-cli==2.14.1 09:26:24 paramiko==2.1.1 09:26:24 perf==0.1 09:26:24 ply==3.4 09:26:24 policycoreutils-default-encoding==0.1 09:26:24 prettytable==0.7.2 09:26:24 pyasn1==0.1.9 09:26:24 pycparser==2.14 09:26:24 pycurl==7.19.0 09:26:24 pygobject==3.22.0 09:26:24 pygpgme==0.3 09:26:24 pyliblzma==0.5.3 09:26:24 pyOpenSSL==0.13.1 09:26:24 pyparsing==1.5.6 09:26:24 pyserial==2.6 09:26:24 python-augeas==0.5.0 09:26:24 python-bugzilla==2.3.0 09:26:24 python-dateutil==1.5 09:26:24 python-fedora==0.10.0 09:26:24 python-linux-procfs==0.4.9 09:26:24 python-yubico==1.2.3 09:26:24 pyudev==0.15 09:26:24 pyusb==1.0.0b1 09:26:24 pyxattr==0.5.1 09:26:24 PyYAML==3.10 09:26:24 requests==2.6.0 09:26:24 requests-kerberos==0.7.0 09:26:24 rpkg==1.60 09:26:24 schedutils==0.4 09:26:24 seobject==0.1 09:26:24 sepolicy==1.1 09:26:24 six==1.9.0 09:26:24 smmap==0.9.0 09:26:24 urlgrabber==3.10 09:26:24 urllib3==1.10.2 09:26:24 virtualenv==15.1.0 09:26:24 yum-langpacks==0.4.2 09:26:24 yum-metadata-parser==1.1.4 [Pipeline] echo 09:26:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:26:24 ---> sudo-logs.sh 09:26:24 Archiving 'sudo' log.. [Pipeline] echo 09:26:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:26:25 ---> job-cost.sh 09:26:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZXeH 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:35 Cache entry deserialization failed, entry ignored 09:26:37 Cache entry deserialization failed, entry ignored 09:26:37 Cache entry deserialization failed, entry ignored 09:26:37 Cache entry deserialization failed, entry ignored 09:26:38 Cache entry deserialization failed, entry ignored 09:26:39 Cache entry deserialization failed, entry ignored 09:26:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:27:09 lf-activate-venv(): INFO: Adding /tmp/venv-ZXeH/bin to PATH 09:27:09 INFO: No Stack... 09:27:09 INFO: Retrieving Pricing Info for: v1-standard-2 09:27:09 INFO: Archiving Costs [Pipeline] echo 09:27:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:27:10 ---> logs-deploy.sh 09:27:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/12 09:27:10 INFO: archiving workspace using pattern(s): 09:27:11 Archives upload complete. 09:27:11 INFO: archiving logs to Nexus 09:27:12 ---> uname -a: 09:27:12 Linux prd-centos7-docker-4c-2g-5361.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 09:27:12 09:27:12 09:27:12 ---> lscpu: 09:27:12 Architecture: x86_64 09:27:12 CPU op-mode(s): 32-bit, 64-bit 09:27:12 Byte Order: Little Endian 09:27:12 CPU(s): 4 09:27:12 On-line CPU(s) list: 0-3 09:27:12 Thread(s) per core: 1 09:27:12 Core(s) per socket: 1 09:27:12 Socket(s): 4 09:27:12 NUMA node(s): 1 09:27:12 Vendor ID: GenuineIntel 09:27:12 CPU family: 6 09:27:12 Model: 44 09:27:12 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:27:12 Stepping: 1 09:27:12 CPU MHz: 2933.438 09:27:12 BogoMIPS: 5866.87 09:27:12 Virtualization: VT-x 09:27:12 Hypervisor vendor: KVM 09:27:12 Virtualization type: full 09:27:12 L1d cache: 32K 09:27:12 L1i cache: 32K 09:27:12 L2 cache: 4096K 09:27:12 L3 cache: 16384K 09:27:12 NUMA node0 CPU(s): 0-3 09:27:12 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 09:27:12 09:27:12 09:27:12 ---> nproc: 09:27:12 4 09:27:12 09:27:12 09:27:12 ---> df -h: 09:27:12 Filesystem Size Used Avail Use% Mounted on 09:27:12 devtmpfs 887M 0 887M 0% /dev 09:27:12 tmpfs 919M 0 919M 0% /dev/shm 09:27:12 tmpfs 919M 17M 903M 2% /run 09:27:12 tmpfs 919M 0 919M 0% /sys/fs/cgroup 09:27:12 /dev/vda1 50G 7.3G 43G 15% / 09:27:12 tmpfs 184M 0 184M 0% /run/user/1001 09:27:12 09:27:12 09:27:12 ---> free -m: 09:27:12 total used free shared buff/cache available 09:27:12 Mem: 1837 594 79 16 1164 1044 09:27:12 Swap: 1023 0 1023 09:27:12 09:27:12 09:27:12 ---> ip addr: 09:27:12 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 09:27:12 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:27:12 inet 127.0.0.1/8 scope host lo 09:27:12 valid_lft forever preferred_lft forever 09:27:12 inet6 ::1/128 scope host 09:27:12 valid_lft forever preferred_lft forever 09:27:12 2: eth0: mtu 1458 qdisc pfifo_fast state UP group default qlen 1000 09:27:12 link/ether fa:16:3e:8d:f0:94 brd ff:ff:ff:ff:ff:ff 09:27:12 inet 10.30.123.228/23 brd 10.30.123.255 scope global dynamic eth0 09:27:12 valid_lft 85720sec preferred_lft 85720sec 09:27:12 inet6 fe80::f816:3eff:fe8d:f094/64 scope link 09:27:12 valid_lft forever preferred_lft forever 09:27:12 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 09:27:12 link/ether 02:42:c4:df:e3:11 brd ff:ff:ff:ff:ff:ff 09:27:12 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:27:12 valid_lft forever preferred_lft forever 09:27:12 inet6 fe80::42:c4ff:fedf:e311/64 scope link 09:27:12 valid_lft forever preferred_lft forever 09:27:12 09:27:12 09:27:12 ---> sar -b -r -n DEV: 09:27:12 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/14/2020 _x86_64_ (4 CPU) 09:27:12 09:27:12 09:15:35 AM LINUX RESTART 09:27:12 09:27:12 09:16:01 AM tps rtps wtps bread/s bwrtn/s 09:27:12 09:17:01 AM 123.69 41.90 81.79 7529.22 39058.27 09:27:12 09:18:01 AM 3.41 0.00 3.41 0.00 112.82 09:27:12 09:19:01 AM 0.40 0.00 0.40 0.00 5.56 09:27:12 09:20:01 AM 0.53 0.00 0.53 0.00 6.89 09:27:12 09:21:01 AM 0.23 0.00 0.23 0.00 4.05 09:27:12 09:22:01 AM 0.25 0.00 0.25 0.00 3.91 09:27:12 09:23:01 AM 0.45 0.02 0.43 0.13 6.16 09:27:12 09:24:01 AM 0.17 0.00 0.17 0.00 1.62 09:27:12 09:25:01 AM 0.92 0.65 0.27 148.57 3.50 09:27:12 09:26:02 AM 113.41 60.52 52.89 5384.45 6872.12 09:27:12 09:27:01 AM 96.68 19.75 76.93 828.18 9313.19 09:27:12 Average: 30.83 11.16 19.67 1263.80 5030.51 09:27:12 09:27:12 09:16:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:27:12 09:17:01 AM 167892 1713664 91.08 2620 1149316 1069832 36.51 437236 1115248 120 09:27:12 09:18:01 AM 173520 1708036 90.78 2620 1149532 1033168 35.26 434080 1113900 16 09:27:12 09:19:01 AM 172904 1708652 90.81 2620 1149540 1033312 35.27 435952 1113032 8 09:27:12 09:20:01 AM 173012 1708544 90.80 2620 1149540 1033300 35.26 435864 1113032 8 09:27:12 09:21:01 AM 171680 1709876 90.88 2620 1149544 1033352 35.27 444176 1105780 8 09:27:12 09:22:01 AM 168696 1712860 91.03 2620 1149552 1033440 35.27 464072 1088952 8 09:27:12 09:23:01 AM 169988 1711568 90.97 2620 1149560 1033296 35.26 463244 1088952 12 09:27:12 09:24:01 AM 169108 1712448 91.01 2620 1149568 1033440 35.27 458808 1094312 20 09:27:12 09:25:01 AM 155648 1725908 91.73 2620 1154208 1035024 35.32 461264 1098292 164 09:27:12 09:26:02 AM 69164 1812392 96.32 2620 1152872 1094496 37.35 494108 1122864 56540 09:27:12 09:27:01 AM 97604 1783952 94.81 2620 1085312 1079928 36.86 542864 1004292 88588 09:27:12 Average: 153565 1727991 91.84 2620 1144413 1046599 35.72 461061 1096241 13227 09:27:12 09:27:12 09:16:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 09:27:12 09:17:01 AM eth0 328.27 244.60 1072.37 110.35 0.00 0.00 0.00 09:27:12 09:17:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:17:01 AM docker0 7.06 4.36 1.09 19.58 0.00 0.00 0.00 09:27:12 09:18:01 AM eth0 0.53 0.10 0.05 0.02 0.00 0.00 0.00 09:27:12 09:18:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:18:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:19:01 AM eth0 1.23 0.28 0.31 0.17 0.00 0.00 0.00 09:27:12 09:19:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:19:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:20:01 AM eth0 1.35 0.32 0.35 0.20 0.00 0.00 0.00 09:27:12 09:20:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:20:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:21:01 AM eth0 1.03 0.28 0.31 0.20 0.00 0.00 0.00 09:27:12 09:21:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:21:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:22:01 AM eth0 0.98 0.52 0.44 0.27 0.00 0.00 0.00 09:27:12 09:22:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:22:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:23:01 AM eth0 0.43 0.10 0.04 0.04 0.00 0.00 0.00 09:27:12 09:23:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:23:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:24:01 AM eth0 0.73 0.35 0.30 0.20 0.00 0.00 0.00 09:27:12 09:24:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:24:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:25:01 AM eth0 5.00 3.35 4.80 1.95 0.00 0.00 0.00 09:27:12 09:25:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:25:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:26:02 AM eth0 117.82 100.05 826.31 14.02 0.00 0.00 0.00 09:27:12 09:26:02 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:26:02 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:27:01 AM eth0 49.55 41.30 135.94 45.29 0.00 0.00 0.00 09:27:12 09:27:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 09:27:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 Average: eth0 46.09 35.57 185.69 15.66 0.00 0.00 0.00 09:27:12 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:27:12 Average: docker0 0.64 0.40 0.10 1.78 0.00 0.00 0.00 09:27:12 09:27:12 09:27:12 ---> sar -P ALL: 09:27:12 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/14/2020 _x86_64_ (4 CPU) 09:27:12 09:27:12 09:15:35 AM LINUX RESTART 09:27:12 09:27:12 09:16:01 AM CPU %user %nice %system %iowait %steal %idle 09:27:12 09:17:01 AM all 13.45 0.00 5.19 9.10 0.04 72.21 09:27:12 09:17:01 AM 0 13.21 0.00 5.41 8.91 0.03 72.43 09:27:12 09:17:01 AM 1 13.92 0.00 5.14 9.01 0.07 71.87 09:27:12 09:17:01 AM 2 12.88 0.00 5.95 10.55 0.03 70.59 09:27:12 09:17:01 AM 3 13.83 0.00 4.29 7.95 0.03 73.90 09:27:12 09:18:01 AM all 0.16 0.00 0.04 0.00 0.00 99.80 09:27:12 09:18:01 AM 0 0.32 0.00 0.05 0.00 0.00 99.63 09:27:12 09:18:01 AM 1 0.17 0.00 0.03 0.00 0.00 99.80 09:27:12 09:18:01 AM 2 0.08 0.00 0.05 0.00 0.00 99.87 09:27:12 09:18:01 AM 3 0.03 0.00 0.02 0.00 0.00 99.95 09:27:12 09:19:01 AM all 0.16 0.00 0.02 0.00 0.00 99.81 09:27:12 09:19:01 AM 0 0.05 0.00 0.03 0.00 0.00 99.92 09:27:12 09:19:01 AM 1 0.53 0.00 0.02 0.00 0.00 99.45 09:27:12 09:19:01 AM 2 0.05 0.00 0.02 0.00 0.00 99.93 09:27:12 09:19:01 AM 3 0.03 0.00 0.03 0.00 0.00 99.93 09:27:12 09:20:01 AM all 0.10 0.00 0.04 0.00 0.00 99.85 09:27:12 09:20:01 AM 0 0.05 0.00 0.03 0.00 0.00 99.92 09:27:12 09:20:01 AM 1 0.30 0.00 0.08 0.00 0.00 99.62 09:27:12 09:20:01 AM 2 0.07 0.00 0.03 0.00 0.00 99.90 09:27:12 09:20:01 AM 3 0.00 0.00 0.03 0.00 0.00 99.97 09:27:12 09:21:01 AM all 0.04 0.00 0.03 0.00 0.00 99.92 09:27:12 09:21:01 AM 0 0.02 0.00 0.05 0.00 0.00 99.93 09:27:12 09:21:01 AM 1 0.05 0.00 0.02 0.00 0.00 99.93 09:27:12 09:21:01 AM 2 0.05 0.00 0.05 0.00 0.00 99.90 09:27:12 09:21:01 AM 3 0.03 0.00 0.02 0.00 0.00 99.95 09:27:12 09:22:01 AM all 0.20 0.00 0.04 0.00 0.00 99.75 09:27:12 09:22:01 AM 0 0.28 0.00 0.07 0.00 0.00 99.65 09:27:12 09:22:01 AM 1 0.47 0.00 0.03 0.00 0.00 99.50 09:27:12 09:22:01 AM 2 0.08 0.00 0.05 0.00 0.02 99.85 09:27:12 09:22:01 AM 3 0.00 0.00 0.02 0.00 0.00 99.98 09:27:12 09:23:01 AM all 0.16 0.00 0.02 0.00 0.00 99.81 09:27:12 09:23:01 AM 0 0.05 0.00 0.05 0.00 0.00 99.90 09:27:12 09:23:01 AM 1 0.53 0.00 0.00 0.00 0.00 99.47 09:27:12 09:23:01 AM 2 0.03 0.00 0.00 0.00 0.00 99.97 09:27:12 09:23:01 AM 3 0.03 0.00 0.02 0.00 0.00 99.95 09:27:12 09:24:01 AM all 0.15 0.00 0.02 0.00 0.00 99.83 09:27:12 09:24:01 AM 0 0.03 0.00 0.03 0.00 0.00 99.93 09:27:12 09:24:01 AM 1 0.53 0.00 0.03 0.00 0.00 99.43 09:27:12 09:24:01 AM 2 0.05 0.00 0.03 0.00 0.00 99.92 09:27:12 09:24:01 AM 3 0.00 0.00 0.02 0.00 0.00 99.98 09:27:12 09:25:01 AM all 0.40 0.00 0.25 0.01 0.00 99.35 09:27:12 09:25:01 AM 0 0.33 0.00 0.28 0.02 0.00 99.37 09:27:12 09:25:01 AM 1 0.73 0.00 0.33 0.00 0.00 98.93 09:27:12 09:25:01 AM 2 0.15 0.00 0.13 0.00 0.00 99.72 09:27:12 09:25:01 AM 3 0.37 0.00 0.18 0.00 0.00 99.45 09:27:12 09:26:02 AM all 15.55 0.00 1.99 1.86 0.01 80.58 09:27:12 09:26:02 AM 0 23.55 0.00 1.81 1.26 0.02 73.36 09:27:12 09:26:02 AM 1 8.93 0.00 2.05 2.02 0.00 86.99 09:27:12 09:26:02 AM 2 19.88 0.00 2.31 3.85 0.00 73.96 09:27:12 09:26:02 AM 3 9.88 0.00 1.83 0.30 0.02 87.97 09:27:12 09:27:01 AM all 16.74 0.00 2.84 1.21 0.01 79.20 09:27:12 09:27:01 AM 0 20.81 0.00 2.28 1.89 0.00 75.02 09:27:12 09:27:01 AM 1 11.60 0.00 1.72 1.34 0.02 85.32 09:27:12 09:27:01 AM 2 23.52 0.00 4.55 0.89 0.03 71.01 09:27:12 09:27:01 AM 3 11.03 0.00 2.78 0.75 0.02 85.42 09:27:12 09:27:12 Average: CPU %user %nice %system %iowait %steal %idle 09:27:12 Average: all 4.25 0.00 0.95 1.10 0.01 93.70 09:27:12 Average: 0 5.29 0.00 0.91 1.09 0.00 92.70 09:27:12 Average: 1 3.41 0.00 0.86 1.12 0.01 94.61 09:27:12 Average: 2 5.12 0.00 1.19 1.38 0.01 92.30 09:27:12 Average: 3 3.17 0.00 0.83 0.81 0.01 95.18 09:27:12 09:27:12 09:27:12