Pull request #628 opened 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 e2910eae30c90f31d7fa9147c6880f90b3bc1d16+abee7d5846637e135dd277469e99a0143c7ff265 (a9ddd374926425c94cafab3834e7a3482e24f945) Running in Durability level: MAX_SURVIVABILITY 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-628/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-628/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5586 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [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-628 # 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/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit e2910eae30c90f31d7fa9147c6880f90b3bc1d16 Merge succeeded, producing e2910eae30c90f31d7fa9147c6880f90b3bc1d16 Checking out Revision e2910eae30c90f31d7fa9147c6880f90b3bc1d16 (PR-628) > git config core.sparsecheckout # timeout=10 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 Commit message: "feat(sdk): start auto-discovery upon service startup" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:13:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:13:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:13:42 ========================================================= 09:13:42 EdgeX Global Pipelines Version Info 09:13:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:13:44 ------------------- 09:13:44 stable info: 09:13:44 ------------------- 09:13:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:13:44 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 09:13:44 Message: update stable to v1.0.142 09:13:45 ------------------- 09:13:45 experimental info: 09:13:45 ------------------- 09:13:45 Commited By: **** collab-it+edgex@linuxfoundation.org 09:13:45 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 09:13:45 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:13:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:13:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:13:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:13:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:13:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:13:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:13:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:13:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-628 [Pipeline] echo 09:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-628 [Pipeline] echo 09:13:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-628 [Pipeline] echo 09:13:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [Pipeline] echo 09:13:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2910ea [Pipeline] echo 09:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:51 + git log --format=format:%s -1 e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [Pipeline] echo 09:13:51 GIT_COMMIT: e2910eae30c90f31d7fa9147c6880f90b3bc1d16, Commit Message: feat(sdk): start auto-discovery upon service startup [Pipeline] echo 09:13:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:13:52 09:13:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:13:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:13:53 latest: Pulling from edgex-devops/git-semver 09:13:53 31603596830f: Pulling fs layer 09:13:53 2a8b12db71e7: Pulling fs layer 09:13:53 6ca5941a6612: Pulling fs layer 09:13:53 ecc8261a40a4: Pulling fs layer 09:13:53 2a8b12db71e7: Verifying Checksum 09:13:53 2a8b12db71e7: Download complete 09:13:53 31603596830f: Download complete 09:13:53 ecc8261a40a4: Verifying Checksum 09:13:53 ecc8261a40a4: Download complete 09:13:53 6ca5941a6612: Verifying Checksum 09:13:53 6ca5941a6612: Download complete 09:13:53 31603596830f: Pull complete 09:13:54 2a8b12db71e7: Pull complete 09:13:54 6ca5941a6612: Pull complete 09:13:54 ecc8261a40a4: Pull complete 09:13:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:13:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:13:55 prd-centos7-docker-4c-2g-5586 does not seem to be running inside a container 09:13:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@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 09:13:57 $ docker top 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:13:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:57 [ssh-agent] Looking for ssh-agent implementation... 09:13:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:57 $ docker exec 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent 09:13:58 SSH_AUTH_SOCK=/tmp/ssh-0AdhUgDCboqD/agent.11 09:13:58 SSH_AGENT_PID=16 09:13:58 Running ssh-add (command line suppressed) 09:13:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_8493595146338897653.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_8493595146338897653.key) 09:13:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:58 + git tag --points-at HEAD [Pipeline] } 09:13:58 $ docker exec --env ******** --env ******** 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent -k 09:13:58 unset SSH_AUTH_SOCK; 09:13:58 unset SSH_AGENT_PID; 09:13:58 echo Agent pid 16 killed; 09:13:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:13:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:59 [ssh-agent] Looking for ssh-agent implementation... 09:13:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:59 $ docker exec 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent 09:13:59 SSH_AUTH_SOCK=/tmp/ssh-lQmvDQrJTz3F/agent.45 09:13:59 SSH_AGENT_PID=50 09:13:59 Running ssh-add (command line suppressed) 09:13:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_1673446991440330368.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_1673446991440330368.key) 09:13:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:59 + git semver init 09:13:59 # -> Open(): unable to determine branch for HEAD 09:13:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.git 09:13:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-628 09:13:59 # $SEMVER_REMOTE_NAME = origin 09:13:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:13:59 # $SEMVER_USER_NAME = edgex-jenkins 09:13:59 # $SEMVER_BRANCH = PR-628 09:13:59 # $SEMVER_TEMP = /tmp/semver-272162755 09:13:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:14:00 # '/tmp/semver-272162755' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver' 09:14:00 # -> Force: false 09:14:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver [Pipeline] } 09:14:00 $ docker exec --env ******** --env ******** 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent -k 09:14:01 unset SSH_AUTH_SOCK; 09:14:01 unset SSH_AGENT_PID; 09:14:01 echo Agent pid 50 killed; 09:14:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:01 + git semver [Pipeline] } 09:14:01 $ docker stop --time=1 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 09:14:03 $ docker rm -f 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:14:03 Stashed 1 file(s) [Pipeline] echo 09:14:04 [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 09:14:19 Still waiting to schedule task 09:14:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:14:19 Still waiting to schedule task 09:14:19 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 09:16:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5587 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws 09:16:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:16:19 using credential edgex-jenkins-ssh 09:16:19 Cloning the remote Git repository 09:16:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:16:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:16:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:16:19 > git --version # timeout=10 09:16:19 > git --version # 'git version 2.17.1' 09:16:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:21 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit e2910eae30c90f31d7fa9147c6880f90b3bc1d16 09:16:21 Merge succeeded, producing e2910eae30c90f31d7fa9147c6880f90b3bc1d16 09:16:21 Checking out Revision e2910eae30c90f31d7fa9147c6880f90b3bc1d16 (PR-628) 09:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:16:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:16:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:16:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:16:21 > git config core.sparsecheckout # timeout=10 09:16:21 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 09:16:21 > git remote # timeout=10 09:16:21 > git config --get remote.origin.url # timeout=10 09:16:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:21 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 09:16:21 > git rev-parse HEAD^{commit} # timeout=10 09:16:21 > git config core.sparsecheckout # timeout=10 09:16:21 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 09:16:26 Commit message: "feat(sdk): start auto-discovery upon service startup" 09:16:26 > git --version # timeout=10 09:16:26 > git --version # 'git version 2.17.1' 09:16:26 fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:16:27 ========================================================= 09:16:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:16:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:16:28 + 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:16:29 Sending build context to Docker daemon 2.313MB 09:16:29 Step 1/8 : ARG BASE=golang:1.15-alpine 09:16:29 Step 2/8 : FROM ${BASE} 09:16:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:29 b538f80385f9: Pulling fs layer 09:16:29 74f711af9a0d: Pulling fs layer 09:16:29 99f96fe45779: Pulling fs layer 09:16:29 8529a6b9a6be: Pulling fs layer 09:16:29 45590311c82a: Pulling fs layer 09:16:29 69ca0ff8b7b3: Pulling fs layer 09:16:29 8529a6b9a6be: Waiting 09:16:29 209524e5b208: Pulling fs layer 09:16:29 45590311c82a: Waiting 09:16:29 69ca0ff8b7b3: Waiting 09:16:29 209524e5b208: Waiting 09:16:29 99f96fe45779: Download complete 09:16:29 74f711af9a0d: Verifying Checksum 09:16:29 74f711af9a0d: Download complete 09:16:29 45590311c82a: Verifying Checksum 09:16:29 45590311c82a: Download complete 09:16:30 69ca0ff8b7b3: Download complete 09:16:30 b538f80385f9: Verifying Checksum 09:16:30 b538f80385f9: Download complete 09:16:31 b538f80385f9: Pull complete 09:16:31 74f711af9a0d: Pull complete 09:16:32 99f96fe45779: Pull complete 09:16:32 209524e5b208: Verifying Checksum 09:16:32 209524e5b208: Download complete 09:16:34 8529a6b9a6be: Verifying Checksum 09:16:34 8529a6b9a6be: Download complete 09:16:44 8529a6b9a6be: Pull complete 09:16:44 45590311c82a: Pull complete 09:16:44 69ca0ff8b7b3: Pull complete 09:16:47 209524e5b208: Pull complete 09:16:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:16:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:16:47 ---> 5bddaf1c2fca 09:16:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:16:50 ---> Running in 2b01f7b212ea 09:16:50 Removing intermediate container 2b01f7b212ea 09:16:50 ---> ce614d1f4dbf 09:16:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:50 ---> Running in 7b5ebc9d0390 09:16:53 Removing intermediate container 7b5ebc9d0390 09:16:53 ---> 7f3306d6020a 09:16:53 Step 5/8 : RUN apk add --no-cache make git 09:16:53 ---> Running in d6dd1f948ab2 09:16:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:16:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:16:56 OK: 142 MiB in 39 packages 09:16:57 Removing intermediate container d6dd1f948ab2 09:16:57 ---> b544beb74e50 09:16:57 Step 6/8 : WORKDIR /device-sdk-go 09:16:57 ---> Running in 46209086bf29 09:16:58 Removing intermediate container 46209086bf29 09:16:58 ---> 058cb4fb37f8 09:16:58 Step 7/8 : COPY . . 09:16:59 ---> 0d6009c182da 09:16:59 Step 8/8 : RUN go mod download 09:16:59 ---> Running in 677641e42e98 09:17:07 Running on prd-centos7-docker-4c-2g-5588 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws 09:17:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:17:10 using credential edgex-jenkins-ssh 09:17:10 Cloning the remote Git repository 09:17:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:17:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:17:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:17:10 > git --version # timeout=10 09:17:10 > git --version # 'git version 2.16.5' 09:17:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:12 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit e2910eae30c90f31d7fa9147c6880f90b3bc1d16 09:17:12 Merge succeeded, producing e2910eae30c90f31d7fa9147c6880f90b3bc1d16 09:17:12 Checking out Revision e2910eae30c90f31d7fa9147c6880f90b3bc1d16 (PR-628) 09:17:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:17:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:17:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:17:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:17:12 > git config core.sparsecheckout # timeout=10 09:17:12 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 09:17:12 > git remote # timeout=10 09:17:12 > git config --get remote.origin.url # timeout=10 09:17:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:12 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 09:17:12 > git rev-parse HEAD^{commit} # timeout=10 09:17:12 > git config core.sparsecheckout # timeout=10 09:17:12 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 09:17:15 Commit message: "feat(sdk): start auto-discovery upon service startup" 09:17:15 > git --version # timeout=10 09:17:15 > git --version # 'git version 2.16.5' 09:17:15 fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:17:16 ========================================================= 09:17:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:17:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:17:17 + 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:17:18 Sending build context to Docker daemon 2.313MB 09:17:18 Step 1/8 : ARG BASE=golang:1.15-alpine 09:17:18 Step 2/8 : FROM ${BASE} 09:17:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:17:18 df20fa9351a1: Pulling fs layer 09:17:18 ed8968b2872e: Pulling fs layer 09:17:18 a92cc7c5fd73: Pulling fs layer 09:17:18 e871e8e8d7a9: Pulling fs layer 09:17:18 e73272ec9a57: Pulling fs layer 09:17:18 1e910a182e73: Pulling fs layer 09:17:18 4e634b169226: Pulling fs layer 09:17:18 1e910a182e73: Waiting 09:17:18 e73272ec9a57: Waiting 09:17:18 4e634b169226: Waiting 09:17:18 e871e8e8d7a9: Waiting 09:17:18 a92cc7c5fd73: Verifying Checksum 09:17:18 a92cc7c5fd73: Download complete 09:17:18 ed8968b2872e: Verifying Checksum 09:17:18 ed8968b2872e: Download complete 09:17:18 e73272ec9a57: Verifying Checksum 09:17:18 e73272ec9a57: Download complete 09:17:18 df20fa9351a1: Verifying Checksum 09:17:18 df20fa9351a1: Download complete 09:17:18 1e910a182e73: Verifying Checksum 09:17:18 1e910a182e73: Download complete 09:17:19 df20fa9351a1: Pull complete 09:17:19 ed8968b2872e: Pull complete 09:17:19 a92cc7c5fd73: Pull complete 09:17:21 4e634b169226: Verifying Checksum 09:17:21 4e634b169226: Download complete 09:17:21 e871e8e8d7a9: Verifying Checksum 09:17:21 e871e8e8d7a9: Download complete 09:17:22 Removing intermediate container 677641e42e98 09:17:22 ---> f40f609f12b4 09:17:22 Successfully built f40f609f12b4 09:17:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:17:22 + docker inspect -f . ci-base-image-arm64 09:17:22 . [Pipeline] withDockerContainer 09:17:22 prd-ubuntu18.04-docker-arm64-4c-16g-5587 does not seem to be running inside a container 09:17:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 09:17:24 $ docker top 3c764d579261200f40a428383ff3cb412d47deff93bed3622a814d22abe94247 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:27 e871e8e8d7a9: Pull complete 09:17:27 e73272ec9a57: Pull complete 09:17:27 1e910a182e73: Pull complete 09:17:27 + go version 09:17:27 go version go1.15.2 linux/arm64 [Pipeline] } 09:17:28 $ docker stop --time=1 3c764d579261200f40a428383ff3cb412d47deff93bed3622a814d22abe94247 09:17:30 $ docker rm -f 3c764d579261200f40a428383ff3cb412d47deff93bed3622a814d22abe94247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:31 + docker inspect -f . ci-base-image-arm64 09:17:31 . [Pipeline] withDockerContainer 09:17:31 prd-ubuntu18.04-docker-arm64-4c-16g-5587 does not seem to be running inside a container 09:17:31 4e634b169226: Pull complete 09:17:31 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:17:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:17:31 ---> f7629b54cfaa 09:17:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:17:31 ---> Running in 33e981ecc2f8 09:17:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 09:17:32 Removing intermediate container 33e981ecc2f8 09:17:32 ---> 374c1cf05f1e 09:17:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:32 ---> Running in 48bb203549aa 09:17:33 Removing intermediate container 48bb203549aa 09:17:33 ---> 2f83d806521e 09:17:33 Step 5/8 : RUN apk add --no-cache make git 09:17:33 ---> Running in cbbba69ccfac 09:17:33 $ docker top bcd81208f7d1b6709767c189d8247acf9982d45987d41bc6f4fefdd882a396e6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:17:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:17:35 + make test 09:17:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:17:35 OK: 166 MiB in 39 packages 09:17:35 Removing intermediate container cbbba69ccfac 09:17:35 ---> 1c48ebc0cdc6 09:17:35 Step 6/8 : WORKDIR /device-sdk-go 09:17:36 ---> Running in 8df16577b45b 09:17:36 Removing intermediate container 8df16577b45b 09:17:36 ---> fa93bbc6ece7 09:17:36 Step 7/8 : COPY . . 09:17:37 ---> 19a77205be6d 09:17:37 Step 8/8 : RUN go mod download 09:17:37 ---> Running in 38a4d94ec8ec 09:17:55 Removing intermediate container 38a4d94ec8ec 09:17:55 ---> d99a3ba575e2 09:17:55 Successfully built d99a3ba575e2 09:17:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:17:56 + docker inspect -f . ci-base-image-x86_64 09:17:56 . [Pipeline] withDockerContainer 09:17:56 prd-centos7-docker-4c-2g-5588 does not seem to be running inside a container 09:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-x86_64 cat 09:17:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:17:57 $ docker top 0bd45f85d1f3b8de6378fc444f31ae2ddac217ca5e95dc2d06972f7bdfb494ad -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:58 + go version 09:17:58 go version go1.15.2 linux/amd64 [Pipeline] } 09:17:58 $ docker stop --time=1 0bd45f85d1f3b8de6378fc444f31ae2ddac217ca5e95dc2d06972f7bdfb494ad 09:17:59 $ docker rm -f 0bd45f85d1f3b8de6378fc444f31ae2ddac217ca5e95dc2d06972f7bdfb494ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:18:01 + docker inspect -f . ci-base-image-x86_64 09:18:01 . [Pipeline] withDockerContainer 09:18:01 prd-centos7-docker-4c-2g-5588 does not seem to be running inside a container 09:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-x86_64 cat 09:18:01 $ docker top 499cf7ff0574df59b6473df35c8fc0ed5f2d5f00c691d87f2e6dc50badca1e9b -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:02 + make test 09:18:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:18:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:18:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:18:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:18:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:18:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.099s coverage: 21.6% of statements 09:18:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.432s coverage: 97.1% of statements 09:18:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:18:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:18:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:18:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 21.6% of statements 09:18:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.230s coverage: 97.1% of statements 09:18:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 09:18:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:18:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.186s coverage: 40.8% of statements 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:18:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 68.9% of statements 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:18:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:18:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:18:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.259s coverage: 68.9% of statements 09:18:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:18:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:18:56 GO111MODULE=on go vet ./... 09:19:03 gofmt -l . 09:19:03 [ "`gofmt -l .`" = "" ] 09:19:03 ./bin/test-attribution-txt.sh 09:19:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:19:04 Stashed 1 file(s) [Pipeline] } 09:19:04 $ docker stop --time=1 499cf7ff0574df59b6473df35c8fc0ed5f2d5f00c691d87f2e6dc50badca1e9b 09:19:06 $ docker rm -f 499cf7ff0574df59b6473df35c8fc0ed5f2d5f00c691d87f2e6dc50badca1e9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:19:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:19:10 + ls -al . 09:19:10 total 188 09:19:10 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 09:19 . 09:19:10 drwxrwxr-x. 4 jenkins jenkins 28 Oct 15 09:17 .. 09:19:10 drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 09:17 bin 09:19:10 -rw-r--r--. 1 jenkins jenkins 110396 Oct 15 09:18 coverage.out 09:19:10 -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 09:17 Dockerfile.build 09:19:10 -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 09:17 .dockerignore 09:19:10 drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 09:17 example 09:19:10 drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 09:17 .git 09:19:10 drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 09:17 .github 09:19:10 -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 09:17 .gitignore 09:19:10 -rw-r--r--. 1 jenkins jenkins 517 Oct 15 09:19 go.mod 09:19:10 -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 09:19 go.sum 09:19:10 drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 09:17 internal 09:19:10 -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 09:17 Jenkinsfile 09:19:10 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 09:17 LICENSE 09:19:10 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 09:17 Makefile 09:19:10 drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 09:17 openapi 09:19:10 drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 09:17 pkg 09:19:10 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 09:17 README.md 09:19:10 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 09:17 RELEASE-NOTES.txt 09:19:10 drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 09:17 snap 09:19:10 -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 09:14 VERSION 09:19:10 -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 09:17 version.go [Pipeline] isUnix [Pipeline] sh 09:19:10 + 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=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 --label arch=amd64 --label version=0.0.0 . 09:19:10 Sending build context to Docker daemon 2.424MB 09:19:10 Step 1/24 : ARG BASE=golang:1.15-alpine 09:19:10 Step 2/24 : FROM ${BASE} AS builder 09:19:10 ---> d99a3ba575e2 09:19:10 Step 3/24 : ARG MAKE='make build' 09:19:11 ---> Running in cce1822446fb 09:19:11 Removing intermediate container cce1822446fb 09:19:11 ---> 7a16c01b797f 09:19:11 Step 4/24 : WORKDIR /device-sdk-go 09:19:11 ---> Running in 9595755e4eb3 09:19:11 Removing intermediate container 9595755e4eb3 09:19:11 ---> a13871190e3b 09:19:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:11 ---> Running in 5472b6cba104 09:19:12 Removing intermediate container 5472b6cba104 09:19:12 ---> d2a7389caa88 09:19:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:12 ---> Running in dc69cb4249f9 09:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements 09:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.542s coverage: 40.8% of statements 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 68.9% of statements 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.172s coverage: 52.6% of statements 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:19:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.780s coverage: 68.9% of statements 09:19:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:19:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:19:12 GO111MODULE=on go vet ./... 09:19:13 Removing intermediate container dc69cb4249f9 09:19:13 ---> 38884e647403 09:19:13 Step 7/24 : RUN apk add --update --no-cache make git 09:19:13 ---> Running in aa5757083b9f 09:19:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:19:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:19:14 OK: 166 MiB in 39 packages 09:19:15 Removing intermediate container aa5757083b9f 09:19:15 ---> c268b20fd2e0 09:19:15 Step 8/24 : COPY . . 09:19:16 ---> a3e48ae86b5c 09:19:16 Step 9/24 : RUN ${MAKE} 09:19:16 ---> Running in 129d995baff1 09:19:17 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:19:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:19:26 Removing intermediate container 129d995baff1 09:19:26 ---> 019606845799 09:19:26 Step 10/24 : FROM scratch 09:19:26 ---> 09:19:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:26 ---> Running in 74dd2220d46a 09:19:26 Removing intermediate container 74dd2220d46a 09:19:26 ---> 9670243908c6 09:19:26 Step 12/24 : ENV APP_PORT=49990 09:19:27 ---> Running in e12bee42a6f4 09:19:27 Removing intermediate container e12bee42a6f4 09:19:27 ---> 793072f7c330 09:19:27 Step 13/24 : EXPOSE $APP_PORT 09:19:27 ---> Running in 4d126865fa00 09:19:28 Removing intermediate container 4d126865fa00 09:19:28 ---> dc4172f0f64a 09:19:28 Step 14/24 : WORKDIR / 09:19:28 ---> Running in 342a5359bf95 09:19:28 Removing intermediate container 342a5359bf95 09:19:28 ---> 59ab64f5d898 09:19:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:19:28 ---> 0a562ba45346 09:19:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:19:28 ---> 0c85f7b68a59 09:19:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:19:29 ---> 36fcced47559 09:19:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:19:29 ---> bff6aa21be2a 09:19:29 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:19:29 ---> 17a25aac856f 09:19:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:19:29 ---> Running in d1a730d65b5c 09:19:30 Removing intermediate container d1a730d65b5c 09:19:30 ---> c7e25950e6dc 09:19:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:19:30 ---> Running in a04b008788a2 09:19:30 Removing intermediate container a04b008788a2 09:19:30 ---> 2ddbfc154167 09:19:30 Step 22/24 : LABEL arch=amd64 09:19:30 ---> Running in 86e7748d23d1 09:19:30 Removing intermediate container 86e7748d23d1 09:19:30 ---> 3a5f96265e37 09:19:30 Step 23/24 : LABEL git_sha=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 09:19:30 ---> Running in 87304b525f96 09:19:30 Removing intermediate container 87304b525f96 09:19:30 ---> 1297e0a9e649 09:19:30 Step 24/24 : LABEL version=0.0.0 09:19:30 ---> Running in 19bbee8feaad 09:19:30 Removing intermediate container 19bbee8feaad 09:19:30 ---> e81d022bc8ac 09:19:30 [Warning] One or more build-args [ARCH] were not consumed 09:19:30 Successfully built e81d022bc8ac 09:19:31 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:19:39 gofmt -l . 09:19:39 [ "`gofmt -l .`" = "" ] 09:19:39 ./bin/test-attribution-txt.sh 09:19:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:19:39 Warning: overwriting stash ‘coverage-report’ 09:19:40 Stashed 1 file(s) [Pipeline] } 09:19:40 $ docker stop --time=1 bcd81208f7d1b6709767c189d8247acf9982d45987d41bc6f4fefdd882a396e6 09:19:42 $ docker rm -f bcd81208f7d1b6709767c189d8247acf9982d45987d41bc6f4fefdd882a396e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:19:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:19:44 + ls -al . 09:19:44 total 224 09:19:44 drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 09:19 . 09:19:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 .. 09:19:44 -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 09:16 .dockerignore 09:19:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 09:16 .git 09:19:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 09:16 .github 09:19:44 -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 09:16 .gitignore 09:19:44 -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 09:16 Dockerfile.build 09:19:44 -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 09:16 Jenkinsfile 09:19:44 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 09:16 LICENSE 09:19:44 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 09:16 Makefile 09:19:44 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 09:16 README.md 09:19:44 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 09:16 RELEASE-NOTES.txt 09:19:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 09:14 VERSION 09:19:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 09:16 bin 09:19:44 -rw-r--r-- 1 jenkins jenkins 110396 Oct 15 09:19 coverage.out 09:19:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 example 09:19:44 -rw-r--r-- 1 jenkins jenkins 517 Oct 15 09:19 go.mod 09:19:44 -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 09:19 go.sum 09:19:44 drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 09:16 internal 09:19:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 openapi 09:19:44 drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 09:16 pkg 09:19:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 snap 09:19:44 -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 09:16 version.go [Pipeline] isUnix [Pipeline] sh 09:19:45 + 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=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 --label arch=arm64 --label version=0.0.0 . 09:19:45 Sending build context to Docker daemon 2.424MB 09:19:45 Step 1/24 : ARG BASE=golang:1.15-alpine 09:19:45 Step 2/24 : FROM ${BASE} AS builder 09:19:45 ---> f40f609f12b4 09:19:45 Step 3/24 : ARG MAKE='make build' 09:19:46 ---> Running in d27819046577 09:19:46 Removing intermediate container d27819046577 09:19:46 ---> 0f24fe67df61 09:19:46 Step 4/24 : WORKDIR /device-sdk-go 09:19:46 ---> Running in b15f0e732be3 09:19:46 Removing intermediate container b15f0e732be3 09:19:46 ---> 137566108e78 09:19:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:47 ---> Running in 279c1b784a3d 09:19:47 Removing intermediate container 279c1b784a3d 09:19:47 ---> 3edfb1f3c024 09:19:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:47 ---> Running in 9cbfa76deb83 09:19:50 Removing intermediate container 9cbfa76deb83 09:19:50 ---> 0eafa697a811 09:19:50 Step 7/24 : RUN apk add --update --no-cache make git 09:19:50 ---> Running in 58241b787ded 09:19:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:19:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:19:53 OK: 142 MiB in 39 packages 09:19:54 Removing intermediate container 58241b787ded 09:19:54 ---> ab48eb01d6a2 09:19:54 Step 8/24 : COPY . . 09:19:55 ---> 10365d8bd312 09:19:55 Step 9/24 : RUN ${MAKE} 09:19:55 ---> Running in 103d4804400d 09:19:57 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:20:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:20:24 Removing intermediate container 103d4804400d 09:20:24 ---> 8ceb2c57e323 09:20:24 Step 10/24 : FROM scratch 09:20:24 ---> 09:20:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:20:24 ---> Running in c68d77bcddf2 09:20:24 Removing intermediate container c68d77bcddf2 09:20:24 ---> a1acbd131cba 09:20:24 Step 12/24 : ENV APP_PORT=49990 09:20:24 ---> Running in d8d57742a17d 09:20:24 Removing intermediate container d8d57742a17d 09:20:24 ---> 3077a5f8f4d3 09:20:24 Step 13/24 : EXPOSE $APP_PORT 09:20:24 ---> Running in 842a0e667744 09:20:25 Removing intermediate container 842a0e667744 09:20:25 ---> 136879a29109 09:20:25 Step 14/24 : WORKDIR / 09:20:25 ---> Running in 03829fdf1af8 09:20:25 Removing intermediate container 03829fdf1af8 09:20:25 ---> 36e2195fd9fe 09:20:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:20:26 ---> 1e8aea7deda9 09:20:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:20:27 ---> ac35850d3dc8 09:20:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:20:28 ---> 931c074740f6 09:20:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:20:28 ---> b4a110fa54f8 09:20:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:20:29 ---> a6996ea09f2c 09:20:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:20:29 ---> Running in 93687fc24140 09:20:30 Removing intermediate container 93687fc24140 09:20:30 ---> 0163879a6b58 09:20:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:20:30 ---> Running in 4b8b545ff0d6 09:20:30 Removing intermediate container 4b8b545ff0d6 09:20:30 ---> 045a92bc3659 09:20:30 Step 22/24 : LABEL arch=arm64 09:20:30 ---> Running in 6a583ce31ab1 09:20:31 Removing intermediate container 6a583ce31ab1 09:20:31 ---> 0f7de6af3fd7 09:20:31 Step 23/24 : LABEL git_sha=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 09:20:31 ---> Running in 99931a691209 09:20:32 Removing intermediate container 99931a691209 09:20:32 ---> c5e691e7731f 09:20:32 Step 24/24 : LABEL version=0.0.0 09:20:32 ---> Running in 99497d326eef 09:20:32 Removing intermediate container 99497d326eef 09:20:32 ---> c65478694161 09:20:32 [Warning] One or more build-args [ARCH] were not consumed 09:20:32 Successfully built c65478694161 09:20:32 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:20:35 provisioning config files... 09:20:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config7060155763904857693tmp [Pipeline] { [Pipeline] sh 09:20:35 + set +x 09:20:35 + curl -s https://codecov.io/bash 09:20:35 + bash -s -- 09:20:36 09:20:36 _____ _ 09:20:36 / ____| | | 09:20:36 | | ___ __| | ___ ___ _____ __ 09:20:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:20:36 | |___| (_) | (_| | __/ (_| (_) \ V / 09:20:36 \_____\___/ \__,_|\___|\___\___/ \_/ 09:20:36 Bash-20201009-048fee3 09:20:36 09:20:36 09:20:36 ==> Jenkins CI detected. 09:20:36 project root: . 09:20:36 --> token set from env 09:20:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:20:36 ==> Running gcov in . (disable via -X gcov) 09:20:36 find: ‘./.semver’: Permission denied 09:20:36 ==> Python coveragepy not found 09:20:36 ==> Searching for coverage reports in: 09:20:36 + . 09:20:36 -> Found 1 reports 09:20:36 ==> Detecting git/mercurial file structure 09:20:36 ==> Reading reports 09:20:36 + ./coverage.out bytes=110396 09:20:36 ==> Appending adjustments 09:20:36 https://docs.codecov.io/docs/fixing-reports 09:20:36 find: ‘./.semver’: Permission denied 09:20:36 find: ‘./.semver’: Permission denied 09:20:36 find: ‘./.semver’: Permission denied 09:20:36 09:20:36 + Found adjustments 09:20:36 ==> Gzipping contents 09:20:36 ==> Uploading reports 09:20:36 url: https://codecov.io 09:20:36 query: branch=PR-628&commit=e2910eae30c90f31d7fa9147c6880f90b3bc1d16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= 09:20:36 -> Pinging Codecov 09:20:36 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-628&commit=e2910eae30c90f31d7fa9147c6880f90b3bc1d16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= 09:20:36 -> Uploading to 09:20:36 09:20:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:20:36 Dload Upload Total Spent Left Speed 09:20:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 09:20:36 X> Failed to upload 09:20:36 ==> Uploading to Codecov 09:20:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:20:36 Dload Upload Total Spent Left Speed 09:20:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18889 0 0 100 18889 0 16127 0:00:01 0:00:01 --:--:-- 16116 100 18999 100 110 100 18889 82 14177 0:00:01 0:00:01 --:--:-- 14170 09:20:38 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [Pipeline] } 09:20:38 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:20:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:20:45 ---> package-listing.sh 09:20:45 ++ facter osfamily 09:20:45 ++ tr '[:upper:]' '[:lower:]' 09:20:45 + OS_FAMILY=redhat 09:20:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-628 09:20:45 + START_PACKAGES=/tmp/packages_start.txt 09:20:45 + END_PACKAGES=/tmp/packages_end.txt 09:20:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:20:45 + PACKAGES=/tmp/packages_start.txt 09:20:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' 09:20:45 + PACKAGES=/tmp/packages_end.txt 09:20:45 + case "${OS_FAMILY}" in 09:20:45 + rpm -qa 09:20:45 + sort 09:20:49 + '[' -f /tmp/packages_start.txt ']' 09:20:49 + '[' -f /tmp/packages_end.txt ']' 09:20:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:20:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' 09:20:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ 09:20:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ [Pipeline] echo 09:20:49 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-628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:20:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:49 09:20:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:20:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:50 alpine: Pulling from edgex-lftools-log-publisher 09:20:50 df20fa9351a1: Pulling fs layer 09:20:50 36b3adc4ff6f: Pulling fs layer 09:20:50 8ad3a11d3b57: Pulling fs layer 09:20:50 46f8f816bc3b: Pulling fs layer 09:20:50 93b61091891f: Pulling fs layer 09:20:50 93b9cdb0e59b: Pulling fs layer 09:20:50 5e14af77c1be: Pulling fs layer 09:20:50 01666e4c0597: Pulling fs layer 09:20:50 aa168da1d23b: Pulling fs layer 09:20:50 93b9cdb0e59b: Waiting 09:20:50 5e14af77c1be: Waiting 09:20:50 01666e4c0597: Waiting 09:20:50 aa168da1d23b: Waiting 09:20:50 93b61091891f: Waiting 09:20:50 46f8f816bc3b: Waiting 09:20:50 36b3adc4ff6f: Verifying Checksum 09:20:50 36b3adc4ff6f: Download complete 09:20:50 46f8f816bc3b: Verifying Checksum 09:20:50 46f8f816bc3b: Download complete 09:20:50 df20fa9351a1: Verifying Checksum 09:20:50 df20fa9351a1: Download complete 09:20:50 93b9cdb0e59b: Verifying Checksum 09:20:50 93b9cdb0e59b: Download complete 09:20:50 5e14af77c1be: Verifying Checksum 09:20:50 5e14af77c1be: Download complete 09:20:50 93b61091891f: Verifying Checksum 09:20:50 93b61091891f: Download complete 09:20:50 01666e4c0597: Verifying Checksum 09:20:50 01666e4c0597: Download complete 09:20:50 df20fa9351a1: Pull complete 09:20:51 36b3adc4ff6f: Pull complete 09:20:51 8ad3a11d3b57: Verifying Checksum 09:20:51 8ad3a11d3b57: Download complete 09:20:52 8ad3a11d3b57: Pull complete 09:20:52 46f8f816bc3b: Pull complete 09:20:52 93b61091891f: Pull complete 09:20:53 aa168da1d23b: Verifying Checksum 09:20:53 aa168da1d23b: Download complete 09:20:53 93b9cdb0e59b: Pull complete 09:20:53 5e14af77c1be: Pull complete 09:20:53 01666e4c0597: Pull complete 09:21:00 aa168da1d23b: Pull complete 09:21:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:21:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:21:00 prd-centos7-docker-4c-2g-5586 does not seem to be running inside a container 09:21:00 $ 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-628/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-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@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 09:21:04 $ docker top 263aa885b057ffa7284fcfe8006535c53284a8f70fa1729058af1b777506bea8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:04 + touch /tmp/pre-build-complete [Pipeline] sh 09:21:04 + mkdir -p /var/log/sa [Pipeline] sh 09:21:05 + ls /var/log/sa-host 09:21:05 + sadf -c /var/log/sa-host/sa05 09:21:05 file_magic: OK 09:21:05 HZ: Using current value: 100 09:21:05 file_header: OK 09:21:05 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 09:21:05 Statistics: 09:21:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:21:05 File successfully converted to sysstat format version 12.2.1 09:21:05 + sadf -c /var/log/sa-host/sa15 09:21:05 file_magic: OK 09:21:05 HZ: Using current value: 100 09:21:05 file_header: OK 09:21:05 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 09:21:05 Statistics: 09:21:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:21:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:06 provisioning config files... 09:21:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config2398241493356853346tmp [Pipeline] { [Pipeline] echo 09:21:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:21:06 ---> create-netrc.sh [Pipeline] } 09:21:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:21:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:21:07 ---> python-tools-install.sh [Pipeline] echo 09:21:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:21:07 ---> sudo-logs.sh 09:21:07 Archiving 'sudo' log.. [Pipeline] echo 09:21:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:21:07 ---> job-cost.sh 09:21:07 lf-activate-venv: SKIPPING 09:21:07 INFO: No Stack... 09:21:09 INFO: Retrieving Pricing Info for: v1-standard-2 09:21:09 INFO: Archiving Costs [Pipeline] echo 09:21:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:21:10 ---> logs-deploy.sh 09:21:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-628/1 09:21:10 INFO: archiving workspace using pattern(s): 09:21:12 Archives upload complete. 09:21:12 INFO: archiving logs to Nexus 09:21:12 ---> uname -a: 09:21:12 Linux prd-centos7-docker-4c-2g-5586.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 09:21:12 09:21:12 09:21:12 ---> lscpu: 09:21:12 Architecture: x86_64 09:21:12 CPU op-mode(s): 32-bit, 64-bit 09:21:12 Byte Order: Little Endian 09:21:12 Address sizes: 40 bits physical, 48 bits virtual 09:21:12 CPU(s): 4 09:21:12 On-line CPU(s) list: 0-3 09:21:12 Thread(s) per core: 1 09:21:12 Core(s) per socket: 1 09:21:12 Socket(s): 4 09:21:12 NUMA node(s): 1 09:21:12 Vendor ID: GenuineIntel 09:21:12 CPU family: 6 09:21:12 Model: 44 09:21:12 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:21:12 Stepping: 1 09:21:12 CPU MHz: 2933.436 09:21:12 BogoMIPS: 5866.87 09:21:12 Virtualization: VT-x 09:21:12 Hypervisor vendor: KVM 09:21:12 Virtualization type: full 09:21:12 L1d cache: 128 KiB 09:21:12 L1i cache: 128 KiB 09:21:12 L2 cache: 16 MiB 09:21:12 L3 cache: 64 MiB 09:21:12 NUMA node0 CPU(s): 0-3 09:21:12 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:21:12 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:21:12 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:21:12 Vulnerability Meltdown: Mitigation; PTI 09:21:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:21:12 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:21:12 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:21:12 Vulnerability Tsx async abort: Not affected 09:21: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:21:12 09:21:12 09:21:12 ---> nproc: 09:21:12 4 09:21:12 09:21:12 09:21:12 ---> df -h: 09:21:12 Filesystem Size Used Available Use% Mounted on 09:21:12 overlay 50.0G 7.2G 42.8G 14% / 09:21:12 tmpfs 64.0M 0 64.0M 0% /dev 09:21:12 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:21:12 shm 64.0M 0 64.0M 0% /dev/shm 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-628 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 09:21:12 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 09:21:12 09:21:12 09:21:12 ---> free -m: 09:21:12 total used free shared buff/cache available 09:21:12 Mem: 1837 660 114 0 1062 1074 09:21:12 Swap: 1023 1 1022 09:21:12 09:21:12 09:21:12 ---> ip addr: 09:21:12 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:21:12 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:21:12 inet 127.0.0.1/8 scope host lo 09:21:12 valid_lft forever preferred_lft forever 09:21:12 inet6 ::1/128 scope host 09:21:12 valid_lft forever preferred_lft forever 09:21:12 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:21:12 link/ether fa:16:3e:67:72:e5 brd ff:ff:ff:ff:ff:ff 09:21:12 inet 10.30.123.63/23 brd 10.30.123.255 scope global dynamic eth0 09:21:12 valid_lft 85916sec preferred_lft 85916sec 09:21:12 inet6 fe80::f816:3eff:fe67:72e5/64 scope link 09:21:12 valid_lft forever preferred_lft forever 09:21:12 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:21:12 link/ether 02:42:1e:33:ba:9c brd ff:ff:ff:ff:ff:ff 09:21:12 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:21:12 valid_lft forever preferred_lft forever 09:21:12 inet6 fe80::42:1eff:fe33:ba9c/64 scope link 09:21:12 valid_lft forever preferred_lft forever 09:21:12 09:21:12 09:21:12 ---> sar -b -r -n DEV: 09:21:12 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/15/20 _x86_64_ (4 CPU) 09:21:12 09:21:12 09:12:51 LINUX RESTART (4 CPU) 09:21:12 09:21:12 09:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:21:12 09:15:01 7.03 1.42 5.61 0.00 53.81 219.25 0.00 09:21:12 09:16:01 0.32 0.00 0.32 0.00 0.00 4.46 0.00 09:21:12 09:17:01 0.42 0.00 0.42 0.00 0.00 5.71 0.00 09:21:12 09:18:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 09:21:12 09:19:01 0.32 0.00 0.32 0.00 0.00 4.50 0.00 09:21:12 09:20:01 0.28 0.02 0.27 0.00 0.13 2.75 0.00 09:21:12 09:21:02 112.47 61.08 51.39 0.00 6049.88 16951.09 0.00 09:21:12 Average: 17.35 8.96 8.39 0.00 875.14 2464.64 0.00 09:21:12 09:21:12 09:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:21:12 09:15:01 181700 0 560904 29.81 2620 1136332 1083964 36.99 418224 1122132 20 09:21:12 09:16:01 184440 0 558160 29.66 2620 1136336 1063392 36.29 417436 1120512 8 09:21:12 09:17:01 183556 0 559036 29.71 2620 1136344 1063572 36.30 418412 1120516 8 09:21:12 09:18:01 182380 0 560212 29.77 2620 1136344 1063524 36.30 428636 1111272 8 09:21:12 09:19:01 182892 0 559696 29.75 2620 1136348 1063488 36.29 430628 1108932 8 09:21:12 09:20:01 183212 0 559364 29.73 2620 1136360 1063428 36.29 430340 1108932 12 09:21:12 09:21:02 169748 0 666808 35.44 2620 1042380 1253520 42.78 438144 1045480 17980 09:21:12 Average: 181133 0 574883 30.55 2620 1122921 1093555 37.32 425974 1105397 2578 09:21:12 09:21:12 09:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:21:12 09:15:01 eth0 9.64 6.14 9.98 2.51 0.00 0.00 0.00 0.00 09:21:12 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:15:01 docker0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:16:01 eth0 0.60 0.08 0.06 0.01 0.00 0.00 0.00 0.00 09:21:12 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:17:01 eth0 1.37 0.53 0.67 0.21 0.00 0.00 0.00 0.00 09:21:12 09:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:18:01 eth0 0.53 0.42 0.29 0.21 0.00 0.00 0.00 0.00 09:21:12 09:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:19:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 09:21:12 09:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:20:01 eth0 0.22 0.15 0.07 0.01 0.00 0.00 0.00 0.00 09:21:12 09:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:21:02 eth0 213.45 172.42 2167.17 19.61 0.00 0.00 0.00 0.00 09:21:12 09:21:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:21:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 Average: eth0 32.40 25.79 312.32 3.24 0.00 0.00 0.00 0.00 09:21:12 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:12 09:21:12 09:21:12 ---> sar -P ALL: 09:21:12 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/15/20 _x86_64_ (4 CPU) 09:21:12 09:21:12 09:12:51 LINUX RESTART (4 CPU) 09:21:12 09:21:12 09:14:01 CPU %user %nice %system %iowait %steal %idle 09:21:12 09:15:01 all 0.34 0.00 0.20 0.04 0.01 99.41 09:21:12 09:15:01 0 0.30 0.00 0.15 0.05 0.02 99.48 09:21:12 09:15:01 1 0.35 0.00 0.25 0.02 0.02 99.37 09:21:12 09:15:01 2 0.47 0.00 0.22 0.05 0.00 99.26 09:21:12 09:15:01 3 0.23 0.00 0.20 0.03 0.00 99.53 09:21:12 09:16:01 all 0.13 0.00 0.04 0.00 0.00 99.83 09:21:12 09:16:01 0 0.00 0.00 0.03 0.00 0.00 99.97 09:21:12 09:16:01 1 0.07 0.00 0.03 0.00 0.00 99.90 09:21:12 09:16:01 2 0.42 0.00 0.07 0.00 0.02 99.50 09:21:12 09:16:01 3 0.02 0.00 0.02 0.00 0.00 99.97 09:21:12 09:17:01 all 0.16 0.00 0.04 0.00 0.00 99.80 09:21:12 09:17:01 0 0.02 0.00 0.03 0.00 0.00 99.95 09:21:12 09:17:01 1 0.05 0.00 0.05 0.00 0.00 99.90 09:21:12 09:17:01 2 0.53 0.00 0.03 0.00 0.00 99.43 09:21:12 09:17:01 3 0.03 0.00 0.03 0.00 0.00 99.93 09:21:12 09:18:01 all 0.17 0.00 0.03 0.00 0.00 99.80 09:21:12 09:18:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:21:12 09:18:01 1 0.08 0.00 0.07 0.00 0.00 99.85 09:21:12 09:18:01 2 0.53 0.00 0.03 0.00 0.00 99.43 09:21:12 09:18:01 3 0.02 0.00 0.00 0.00 0.00 99.98 09:21:12 09:19:01 all 0.12 0.00 0.05 0.00 0.00 99.82 09:21:12 09:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:21:12 09:19:01 1 0.03 0.00 0.08 0.00 0.02 99.87 09:21:12 09:19:01 2 0.40 0.00 0.08 0.00 0.00 99.52 09:21:12 09:19:01 3 0.02 0.00 0.03 0.00 0.00 99.95 09:21:12 09:20:01 all 0.03 0.00 0.04 0.00 0.00 99.93 09:21:12 09:20:01 0 0.00 0.00 0.02 0.00 0.00 99.98 09:21:12 09:20:01 1 0.03 0.00 0.07 0.00 0.00 99.90 09:21:12 09:20:01 2 0.07 0.00 0.05 0.00 0.00 99.88 09:21:12 09:20:01 3 0.02 0.00 0.02 0.00 0.02 99.95 09:21:12 09:21:02 all 5.43 0.00 3.31 1.47 0.05 89.74 09:21:12 09:21:02 0 5.67 0.00 3.31 2.33 0.05 88.63 09:21:12 09:21:02 1 4.37 0.00 3.47 1.11 0.05 91.00 09:21:12 09:21:02 2 6.06 0.00 3.46 2.18 0.03 88.26 09:21:12 09:21:02 3 5.61 0.00 3.01 0.27 0.07 91.05 09:21:12 Average: all 0.90 0.00 0.53 0.21 0.01 98.34 09:21:12 Average: 0 0.86 0.00 0.51 0.34 0.01 98.29 09:21:12 Average: 1 0.71 0.00 0.57 0.16 0.01 98.55 09:21:12 Average: 2 1.21 0.00 0.56 0.32 0.01 97.91 09:21:12 Average: 3 0.84 0.00 0.47 0.04 0.01 98.63 09:21:12 09:21:12 09:21:12