Pull request #874 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ed77be24645ab2af13bd57d023d4e09868037d8e+881afdccbfdadc5bb0aa286f97c4ef6367ec9127 (46a5390b9f847d326ec597be5fe8486b305f38d0) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8596645045857620843.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4501001790984965618.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git 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/app-functions-sdk-go/branches/PR-874/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-874/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh604270806720751991.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-874/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5670765750996674722.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4860341029919070113.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE 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/app-functions-sdk-go/branches/PR-874/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-874/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1036159210632783187.key > 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 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1707 in /w/workspace/ndry_app-functions-sdk-go_PR-874 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-874 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/jenkins-gitclient-ssh48809705911595104.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 881afdccbfdadc5bb0aa286f97c4ef6367ec9127 into PR head commit ed77be24645ab2af13bd57d023d4e09868037d8e Merge succeeded, producing ed77be24645ab2af13bd57d023d4e09868037d8e Checking out Revision ed77be24645ab2af13bd57d023d4e09868037d8e (PR-874) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/jenkins-gitclient-ssh815664449887945971.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/874/head:refs/remotes/origin/PR-874 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed77be24645ab2af13bd57d023d4e09868037d8e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/jenkins-gitclient-ssh6675821315153320460.key > git merge 881afdccbfdadc5bb0aa286f97c4ef6367ec9127 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed77be24645ab2af13bd57d023d4e09868037d8e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:17:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:01 ========================================================= 06:17:01 EdgeX Global Pipelines Version Info 06:17:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:17:05 ------------------- 06:17:05 stable info: 06:17:05 ------------------- 06:17:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:17:05 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 06:17:05 Message: update stable to v1.0.192 06:17:05 ------------------- 06:17:05 experimental info: 06:17:05 ------------------- 06:17:05 Commited By: **** collab-it+edgex@linuxfoundation.org 06:17:05 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 06:17:05 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 06:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-874 [Pipeline] echo 06:17:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-874 [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-874 [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed77be24645ab2af13bd57d023d4e09868037d8e [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed77be2 [Pipeline] echo 06:17:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:10 + git log --format=format:%s -1 ed77be24645ab2af13bd57d023d4e09868037d8e [Pipeline] echo 06:17:10 GIT_COMMIT: ed77be24645ab2af13bd57d023d4e09868037d8e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:17:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:12 06:17:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:17:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:13 latest: Pulling from edgex-devops/git-semver 06:17:13 31603596830f: Pulling fs layer 06:17:13 54011a49482f: Pulling fs layer 06:17:13 a6820b24f6d8: Pulling fs layer 06:17:13 f581987b2513: Pulling fs layer 06:17:13 f581987b2513: Waiting 06:17:13 54011a49482f: Verifying Checksum 06:17:13 54011a49482f: Download complete 06:17:13 31603596830f: Verifying Checksum 06:17:13 31603596830f: Download complete 06:17:13 a6820b24f6d8: Verifying Checksum 06:17:13 a6820b24f6d8: Download complete 06:17:13 31603596830f: Pull complete 06:17:13 54011a49482f: Pull complete 06:17:13 f581987b2513: Verifying Checksum 06:17:13 f581987b2513: Download complete 06:17:14 a6820b24f6d8: Pull complete 06:17:14 f581987b2513: Pull complete 06:17:14 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:17:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:17:14 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 06:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-874 -v /w/workspace/ndry_app-functions-sdk-go_PR-874:/w/workspace/ndry_app-functions-sdk-go_PR-874:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-874@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:17:18 $ docker top 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:19 [ssh-agent] Looking for ssh-agent implementation... 06:17:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:19 $ docker exec 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 ssh-agent 06:17:19 SSH_AUTH_SOCK=/tmp/ssh-3akbc1CS8LAs/agent.15 06:17:19 SSH_AGENT_PID=21 06:17:19 Running ssh-add (command line suppressed) 06:17:19 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/private_key_7712285728117029107.key (/w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/private_key_7712285728117029107.key) 06:17:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:19 + git tag --points-at HEAD [Pipeline] } 06:17:19 $ docker exec --env ******** --env ******** 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 ssh-agent -k 06:17:19 unset SSH_AUTH_SOCK; 06:17:19 unset SSH_AGENT_PID; 06:17:19 echo Agent pid 21 killed; 06:17:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:17:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:20 [ssh-agent] Looking for ssh-agent implementation... 06:17:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:20 $ docker exec 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 ssh-agent 06:17:20 SSH_AUTH_SOCK=/tmp/ssh-yEdBHe02kWgT/agent.53 06:17:20 SSH_AGENT_PID=59 06:17:20 Running ssh-add (command line suppressed) 06:17:20 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/private_key_5599721505653076477.key (/w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/private_key_5599721505653076477.key) 06:17:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:20 + git semver init 06:17:20 # -> Open(): unable to determine branch for HEAD 06:17:20 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-874/.git 06:17:20 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-874 06:17:20 # $SEMVER_REMOTE_NAME = origin 06:17:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:17:20 # $SEMVER_USER_NAME = edgex-jenkins 06:17:20 # $SEMVER_BRANCH = PR-874 06:17:20 # $SEMVER_TEMP = /tmp/semver-864319251 06:17:20 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 06:17:23 # '/tmp/semver-864319251' -> '/w/workspace/ndry_app-functions-sdk-go_PR-874/.semver' 06:17:23 # -> Force: false 06:17:23 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-874/.semver [Pipeline] } 06:17:23 $ docker exec --env ******** --env ******** 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 ssh-agent -k 06:17:23 unset SSH_AUTH_SOCK; 06:17:23 unset SSH_AGENT_PID; 06:17:23 echo Agent pid 59 killed; 06:17:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:23 + git semver [Pipeline] } 06:17:23 $ docker stop --time=1 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 06:17:25 $ docker rm -f 8dc4468af847326daf750e1d62ebacd71e1c66c567295f4914d3a0515af5ada4 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:17:26 Stashed 1 file(s) [Pipeline] echo 06:17:26 [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 06:17:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1700 in /w/workspace/ndry_app-functions-sdk-go_PR-874 [Pipeline] { [Pipeline] ws 06:17:26 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:17:28 The recommended git tool is: git 06:17:38 using credential edgex-jenkins-ssh 06:17:38 Cloning the remote Git repository 06:17:38 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:17:38 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:17:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:17:38 > git --version # timeout=10 06:17:38 > git --version # 'git version 2.17.1' 06:17:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:41 Still waiting to schedule task 06:17:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:17:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:17:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:17:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:17:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/874/head:refs/remotes/origin/PR-874 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:17:42 Merging remotes/origin/master commit 881afdccbfdadc5bb0aa286f97c4ef6367ec9127 into PR head commit ed77be24645ab2af13bd57d023d4e09868037d8e 06:17:42 Merge succeeded, producing ed77be24645ab2af13bd57d023d4e09868037d8e 06:17:42 Checking out Revision ed77be24645ab2af13bd57d023d4e09868037d8e (PR-874) 06:17:42 > git config core.sparsecheckout # timeout=10 06:17:42 > git checkout -f ed77be24645ab2af13bd57d023d4e09868037d8e # timeout=10 06:17:42 > git remote # timeout=10 06:17:42 > git config --get remote.origin.url # timeout=10 06:17:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:42 > git merge 881afdccbfdadc5bb0aa286f97c4ef6367ec9127 # timeout=10 06:17:42 > git rev-parse HEAD^{commit} # timeout=10 06:17:42 > git config core.sparsecheckout # timeout=10 06:17:42 > git checkout -f ed77be24645ab2af13bd57d023d4e09868037d8e # timeout=10 06:17:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:17:47 > git --version # timeout=10 06:17:47 > git --version # 'git version 2.17.1' 06:17:47 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:49 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:17:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:17:50 + true 06:17:50 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 06:18:08 ========================================================= 06:18:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:18:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:18:09 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 06:18:11 Sending build context to Docker daemon 19.61MB 06:18:11 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:18:11 Step 2/8 : FROM ${BASE} 06:18:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:11 595b0fe564bb: Pulling fs layer 06:18:11 7186ed65a4f7: Pulling fs layer 06:18:11 316046926c0a: Pulling fs layer 06:18:11 4ebd0625c992: Pulling fs layer 06:18:11 207e8628e3a3: Pulling fs layer 06:18:11 c791037a9be2: Pulling fs layer 06:18:11 ffd874e62e21: Pulling fs layer 06:18:11 207e8628e3a3: Waiting 06:18:11 c791037a9be2: Waiting 06:18:11 4ebd0625c992: Waiting 06:18:11 ffd874e62e21: Waiting 06:18:11 316046926c0a: Verifying Checksum 06:18:11 316046926c0a: Download complete 06:18:11 7186ed65a4f7: Download complete 06:18:11 207e8628e3a3: Verifying Checksum 06:18:11 207e8628e3a3: Download complete 06:18:11 c791037a9be2: Verifying Checksum 06:18:11 c791037a9be2: Download complete 06:18:11 595b0fe564bb: Download complete 06:18:11 595b0fe564bb: Pull complete 06:18:12 7186ed65a4f7: Pull complete 06:18:12 316046926c0a: Pull complete 06:18:14 ffd874e62e21: Verifying Checksum 06:18:14 ffd874e62e21: Download complete 06:18:15 4ebd0625c992: Verifying Checksum 06:18:15 4ebd0625c992: Download complete 06:18:25 4ebd0625c992: Pull complete 06:18:25 207e8628e3a3: Pull complete 06:18:25 c791037a9be2: Pull complete 06:18:28 ffd874e62e21: Pull complete 06:18:28 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:18:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:18:28 ---> cfc18b08335c 06:18:28 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:18:28 20.10.0: Pulling from library/docker 06:18:28 a3cc7d3b244e: Pulling fs layer 06:18:28 02a3295e0d61: Pulling fs layer 06:18:28 0f4f2e6d8100: Pulling fs layer 06:18:28 330b718f631f: Pulling fs layer 06:18:28 a93816041522: Pulling fs layer 06:18:28 bdb6da89ff94: Pulling fs layer 06:18:28 2a70c0c122f4: Pulling fs layer 06:18:28 a93816041522: Waiting 06:18:28 bdb6da89ff94: Waiting 06:18:28 2a70c0c122f4: Waiting 06:18:28 330b718f631f: Waiting 06:18:28 0f4f2e6d8100: Verifying Checksum 06:18:28 0f4f2e6d8100: Download complete 06:18:28 02a3295e0d61: Download complete 06:18:28 a93816041522: Verifying Checksum 06:18:28 a93816041522: Download complete 06:18:28 a3cc7d3b244e: Verifying Checksum 06:18:28 a3cc7d3b244e: Download complete 06:18:28 bdb6da89ff94: Verifying Checksum 06:18:28 bdb6da89ff94: Download complete 06:18:28 2a70c0c122f4: Verifying Checksum 06:18:28 2a70c0c122f4: Download complete 06:18:29 a3cc7d3b244e: Pull complete 06:18:29 02a3295e0d61: Pull complete 06:18:30 330b718f631f: Download complete 06:18:30 0f4f2e6d8100: Pull complete 06:18:35 330b718f631f: Pull complete 06:18:35 a93816041522: Pull complete 06:18:35 bdb6da89ff94: Pull complete 06:18:35 2a70c0c122f4: Pull complete 06:18:35 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:18:35 Status: Downloaded newer image for docker:20.10.0 06:18:40 ---> 0203f2235d22 06:18:40 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:18:40 ---> Running in c9f3ef842ea4 06:18:40 Removing intermediate container c9f3ef842ea4 06:18:40 ---> 3c0cf9d163ec 06:18:40 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:18:41 ---> Running in e73d218ef34b 06:18:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:18:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:18:44 (1/5) Installing libsodium (1.0.18-r0) 06:18:44 (2/5) Installing libzmq (4.3.3-r1) 06:18:44 (3/5) Installing pkgconf (1.7.3-r0) 06:18:44 (4/5) Installing libsodium-dev (1.0.18-r0) 06:18:44 (5/5) Installing zeromq-dev (4.3.3-r1) 06:18:44 Executing busybox-1.32.1-r6.trigger 06:18:44 OK: 139 MiB in 45 packages 06:18:45 Removing intermediate container e73d218ef34b 06:18:45 ---> 0e8235feff50 06:18:45 Step 6/8 : WORKDIR /build 06:18:45 ---> Running in cc7523e615ad 06:18:46 Removing intermediate container cc7523e615ad 06:18:46 ---> 1f1286130e77 06:18:46 Step 7/8 : COPY go.mod . 06:18:47 ---> 9dd4d224665e 06:18:47 Step 8/8 : RUN go mod download 06:18:47 ---> Running in 25b9d65eb1e5 06:19:17 Removing intermediate container 25b9d65eb1e5 06:19:17 ---> e0e0e163a620 06:19:17 Successfully built e0e0e163a620 06:19:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:19:17 + docker inspect -f . ci-base-image-arm64 06:19:17 . [Pipeline] withDockerContainer 06:19:17 prd-ubuntu18.04-docker-arm64-4c-16g-1700 does not seem to be running inside a container 06:19:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** ci-base-image-arm64 cat 06:19:19 $ docker top ff28720331a8da84e0da8ad1b1bc1a2075eb13bf881afefea955870fd2d6ea49 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:21 Running on prd-centos7-docker-4c-2g-1710 in /w/workspace/ndry_app-functions-sdk-go_PR-874 [Pipeline] { [Pipeline] ws 06:19:21 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:19:22 The recommended git tool is: git 06:19:22 + go version 06:19:22 go version go1.16.3 linux/arm64 [Pipeline] } 06:19:22 $ docker stop --time=1 ff28720331a8da84e0da8ad1b1bc1a2075eb13bf881afefea955870fd2d6ea49 06:19:24 $ docker rm -f ff28720331a8da84e0da8ad1b1bc1a2075eb13bf881afefea955870fd2d6ea49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 06:19:26 using credential edgex-jenkins-ssh [Pipeline] } 06:19:26 Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:19:26 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:19:26 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:19:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:19:26 > git --version # timeout=10 06:19:26 > git --version # 'git version 2.24.4' 06:19:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:26 [INFO] Currently running in a labeled security context 06:19:26 [INFO] Currently SELinux is 'enforcing' on the host 06:19:26 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh3833521193891257333.key 06:19:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:26 + docker inspect -f . ci-base-image-arm64 06:19:26 . [Pipeline] withDockerContainer 06:19:27 prd-ubuntu18.04-docker-arm64-4c-16g-1700 does not seem to be running inside a container 06:19:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** ci-base-image-arm64 cat 06:19:28 Merging remotes/origin/master commit 881afdccbfdadc5bb0aa286f97c4ef6367ec9127 into PR head commit ed77be24645ab2af13bd57d023d4e09868037d8e 06:19:28 $ docker top 16f0c097fe13aa99e9070c070bf8748d1de3c15d7a00bbaddc75d314eeb63ade -eo pid,comm 06:19:28 Merge succeeded, producing ed77be24645ab2af13bd57d023d4e09868037d8e 06:19:28 Checking out Revision ed77be24645ab2af13bd57d023d4e09868037d8e (PR-874) 06:19:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:19:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:19:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:28 [INFO] Currently running in a labeled security context 06:19:28 [INFO] Currently SELinux is 'enforcing' on the host 06:19:28 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh6148020062683810723.key 06:19:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/874/head:refs/remotes/origin/PR-874 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:19:28 > git config core.sparsecheckout # timeout=10 06:19:28 > git checkout -f ed77be24645ab2af13bd57d023d4e09868037d8e # timeout=10 06:19:28 > git remote # timeout=10 06:19:28 > git config --get remote.origin.url # timeout=10 06:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:28 [INFO] Currently running in a labeled security context 06:19:28 [INFO] Currently SELinux is 'enforcing' on the host 06:19:28 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh5493579797067425523.key 06:19:28 > git merge 881afdccbfdadc5bb0aa286f97c4ef6367ec9127 # timeout=10 06:19:28 > git rev-parse HEAD^{commit} # timeout=10 06:19:28 > git config core.sparsecheckout # timeout=10 06:19:28 > git checkout -f ed77be24645ab2af13bd57d023d4e09868037d8e # timeout=10 [Pipeline] { [Pipeline] sh 06:19:29 + go mod tidy [Pipeline] sh 06:19:33 + make test 06:19:33 make -C ./app-service-template build 06:19:33 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:19:33 go mod tidy 06:19:33 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 06:19:33 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:19:33 > git --version # timeout=10 06:19:33 > git --version # 'git version 2.24.4' 06:19:33 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:19:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:19:35 + sudo service docker restart 06:19:35 + true 06:19:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 06:19:56 ========================================================= 06:19:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:19:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:19:56 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 06:19:56 Sending build context to Docker daemon 19.61MB 06:19:56 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:19:57 Step 2/8 : FROM ${BASE} 06:19:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:19:57 540db60ca938: Pulling fs layer 06:19:57 adcc1eea9eea: Pulling fs layer 06:19:57 4c4ab2625f07: Pulling fs layer 06:19:57 0510c868ecb4: Pulling fs layer 06:19:57 afea3b2eda06: Pulling fs layer 06:19:57 7809a108b3ef: Pulling fs layer 06:19:57 f706445af74f: Pulling fs layer 06:19:57 0510c868ecb4: Waiting 06:19:57 afea3b2eda06: Waiting 06:19:57 7809a108b3ef: Waiting 06:19:57 f706445af74f: Waiting 06:19:57 4c4ab2625f07: Verifying Checksum 06:19:57 4c4ab2625f07: Download complete 06:19:57 adcc1eea9eea: Verifying Checksum 06:19:57 adcc1eea9eea: Download complete 06:19:57 afea3b2eda06: Verifying Checksum 06:19:57 afea3b2eda06: Download complete 06:19:57 7809a108b3ef: Verifying Checksum 06:19:57 7809a108b3ef: Download complete 06:19:57 540db60ca938: Verifying Checksum 06:19:57 540db60ca938: Download complete 06:19:58 540db60ca938: Pull complete 06:19:58 adcc1eea9eea: Pull complete 06:19:58 4c4ab2625f07: Pull complete 06:19:59 f706445af74f: Verifying Checksum 06:19:59 f706445af74f: Download complete 06:20:00 0510c868ecb4: Verifying Checksum 06:20:00 0510c868ecb4: Download complete 06:20:04 0510c868ecb4: Pull complete 06:20:04 afea3b2eda06: Pull complete 06:20:04 7809a108b3ef: Pull complete 06:20:05 f706445af74f: Pull complete 06:20:05 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:20:05 ---> b068be0155e3 06:20:05 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:20:05 20.10.0: Pulling from library/docker 06:20:05 05e7bc50f07f: Pulling fs layer 06:20:05 6db28d0fdbf6: Pulling fs layer 06:20:05 292df0bc6bf3: Pulling fs layer 06:20:05 2e060f4bd70b: Pulling fs layer 06:20:05 80e8d568a223: Pulling fs layer 06:20:05 8dc6ef1a942a: Pulling fs layer 06:20:05 2312dd95470a: Pulling fs layer 06:20:05 2e060f4bd70b: Waiting 06:20:05 80e8d568a223: Waiting 06:20:05 8dc6ef1a942a: Waiting 06:20:05 2312dd95470a: Waiting 06:20:05 292df0bc6bf3: Download complete 06:20:06 6db28d0fdbf6: Verifying Checksum 06:20:06 6db28d0fdbf6: Download complete 06:20:06 05e7bc50f07f: Download complete 06:20:06 80e8d568a223: Verifying Checksum 06:20:06 80e8d568a223: Download complete 06:20:06 8dc6ef1a942a: Verifying Checksum 06:20:06 8dc6ef1a942a: Download complete 06:20:06 2312dd95470a: Verifying Checksum 06:20:06 2312dd95470a: Download complete 06:20:06 05e7bc50f07f: Pull complete 06:20:06 6db28d0fdbf6: Pull complete 06:20:06 292df0bc6bf3: Pull complete 06:20:07 2e060f4bd70b: Verifying Checksum 06:20:07 2e060f4bd70b: Download complete 06:20:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:20:07 make -C ./app-service-template test 06:20:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:20:07 go mod tidy 06:20:07 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 06:20:10 2e060f4bd70b: Pull complete 06:20:10 80e8d568a223: Pull complete 06:20:10 8dc6ef1a942a: Pull complete 06:20:10 2312dd95470a: Pull complete 06:20:10 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:20:10 Status: Downloaded newer image for docker:20.10.0 06:20:26 ---> 4218e42969a7 06:20:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:20:26 ---> Running in 74c0f03fc5cf 06:20:26 Removing intermediate container 74c0f03fc5cf 06:20:26 ---> 7f491b3ad948 06:20:26 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:20:26 ---> Running in 355e7da63419 06:20:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:20:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:20:27 (1/5) Installing libsodium (1.0.18-r0) 06:20:27 (2/5) Installing libzmq (4.3.3-r1) 06:20:27 (3/5) Installing pkgconf (1.7.3-r0) 06:20:27 (4/5) Installing libsodium-dev (1.0.18-r0) 06:20:27 (5/5) Installing zeromq-dev (4.3.3-r1) 06:20:28 Executing busybox-1.32.1-r6.trigger 06:20:28 OK: 150 MiB in 45 packages 06:20:28 Removing intermediate container 355e7da63419 06:20:28 ---> e01bd8ada73b 06:20:28 Step 6/8 : WORKDIR /build 06:20:28 ---> Running in f14edc1fdcad 06:20:28 Removing intermediate container f14edc1fdcad 06:20:28 ---> 25ca324c1e08 06:20:28 Step 7/8 : COPY go.mod . 06:20:28 ---> 8062725fffe2 06:20:28 Step 8/8 : RUN go mod download 06:20:28 ---> Running in 8f017d6b4e86 06:20:43 ok new-app-service 0.049s coverage: 47.8% of statements 06:20:43 ? new-app-service/config [no test files] 06:20:43 ok new-app-service/functions 0.041s 06:20:43 CGO_ENABLED=1 go vet ./... 06:20:51 Removing intermediate container 8f017d6b4e86 06:20:51 ---> 95ce46e3d4b4 06:20:51 Successfully built 95ce46e3d4b4 06:20:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:20:52 + docker inspect -f . ci-base-image-x86_64 06:20:52 . [Pipeline] withDockerContainer 06:20:52 prd-centos7-docker-4c-2g-1710 does not seem to be running inside a container 06:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** ci-base-image-x86_64 cat 06:20:52 $ docker top a9aa61dbfe43fcc1499e5cc4470b0077761225479c34b6fd61b52789bbd58002 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:53 + go version 06:20:53 go version go1.16.3 linux/amd64 [Pipeline] } 06:20:53 $ docker stop --time=1 a9aa61dbfe43fcc1499e5cc4470b0077761225479c34b6fd61b52789bbd58002 06:20:54 $ docker rm -f a9aa61dbfe43fcc1499e5cc4470b0077761225479c34b6fd61b52789bbd58002 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:55 + docker inspect -f . ci-base-image-x86_64 06:20:55 . [Pipeline] withDockerContainer 06:20:55 prd-centos7-docker-4c-2g-1710 does not seem to be running inside a container 06:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** ci-base-image-x86_64 cat 06:20:58 $ docker top 3a964db7b33a2af8b6a60059f08a8aa5c6a9ef112cfbb9429773e97d5011ecb2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:58 + go mod tidy [Pipeline] sh 06:20:59 + make test 06:20:59 make -C ./app-service-template build 06:20:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:20:59 go mod tidy 06:20:59 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 06:21:10 gofmt -l . 06:21:10 [ "`gofmt -l .`" = "" ] 06:21:10 ./bin/test-attribution-txt.sh 06:21:10 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:21:10 go mod tidy 06:21:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:21:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:21:13 make -C ./app-service-template test 06:21:13 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:21:13 go mod tidy 06:21:13 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 56.6% of statements 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.054s coverage: 93.8% of statements 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.100s coverage: 61.5% of statements 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.078s 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.104s coverage: 76.1% of statements 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.1% of statements 06:21:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.037s coverage: 10.5% of statements 06:21:21 ok new-app-service 0.019s coverage: 47.8% of statements 06:21:21 ? new-app-service/config [no test files] 06:21:21 ok new-app-service/functions 0.007s 06:21:21 CGO_ENABLED=1 go vet ./... 06:21:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.865s coverage: 76.9% of statements 06:21:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:21:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.172s coverage: 12.5% of statements 06:21:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.057s coverage: 27.3% of statements 06:21:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 06:21:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:21:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.066s coverage: 51.4% of statements 06:21:27 gofmt -l . 06:21:27 [ "`gofmt -l .`" = "" ] 06:21:27 ./bin/test-attribution-txt.sh 06:21:28 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 06:21:28 go mod tidy 06:21:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:21:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 56.6% of statements 06:21:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.017s coverage: 93.8% of statements 06:21:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.019s coverage: 61.5% of statements 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s 06:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.021s coverage: 76.1% of statements 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.1% of statements 06:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:21:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements 06:21:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.749s coverage: 76.9% of statements 06:21:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:21:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 06:21:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 06:21:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 06:21:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:21:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements 06:21:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.115s coverage: 79.8% of statements 06:21:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.040s coverage: 94.4% of statements 06:21:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:21:54 gofmt -l . 06:21:55 [ "`gofmt -l .`" = "" ] [Pipeline] } 06:21:55 $ docker stop --time=1 16f0c097fe13aa99e9070c070bf8748d1de3c15d7a00bbaddc75d314eeb63ade 06:21:57 $ docker rm -f 16f0c097fe13aa99e9070c070bf8748d1de3c15d7a00bbaddc75d314eeb63ade [Pipeline] // withDockerContainer [Pipeline] sh 06:21:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:21:59 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:22:00 ---> job-cost.sh 06:22:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-poxa 06:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.028s coverage: 79.8% of statements 06:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 06:22:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:22:01 gofmt -l . 06:22:01 [ "`gofmt -l .`" = "" ] [Pipeline] } 06:22:01 $ docker stop --time=1 3a964db7b33a2af8b6a60059f08a8aa5c6a9ef112cfbb9429773e97d5011ecb2 06:22:02 $ docker rm -f 3a964db7b33a2af8b6a60059f08a8aa5c6a9ef112cfbb9429773e97d5011ecb2 [Pipeline] // withDockerContainer [Pipeline] sh 06:22:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:03 Warning: overwriting stash ‘coverage-report’ 06:22:03 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:22:06 ---> job-cost.sh 06:22:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5q2S 06:22:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:22:31 lf-activate-venv(): INFO: Adding /tmp/venv-5q2S/bin to PATH 06:22:31 INFO: No Stack... 06:22:31 INFO: Retrieving Pricing Info for: v3-standard-2 06:22:32 INFO: Archiving Costs [Pipeline] sh 06:22:32 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 06:22:32 + cut -d, -f6 [Pipeline] lock 06:22:32 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] 06:22:32 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] did not exist. Created. 06:22:32 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:22:33 + echo total: 0.05999999865889549 [Pipeline] stash 06:22:33 Stashed 1 file(s) [Pipeline] } 06:22:33 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:22:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:24:22 lf-activate-venv(): INFO: Adding /tmp/venv-poxa/bin to PATH 06:24:22 INFO: No Stack... 06:24:22 INFO: Retrieving Pricing Info for: v2-standard-4 06:24:22 INFO: Archiving Costs [Pipeline] sh 06:24:22 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 06:24:22 + cut -d, -f6 [Pipeline] lock 06:24:22 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] 06:24:22 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] did not exist. Created. 06:24:22 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:23 /w/workspace/app-functions-sdk-go/1@tmp/durable-e8142262/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-e8142262/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:24:23 + echo total: 0.18000000715255737 [Pipeline] stash 06:24:23 Warning: overwriting stash ‘stack-cost’ 06:24:23 Stashed 1 file(s) [Pipeline] } 06:24:23 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-874-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:24:27 provisioning config files... 06:24:27 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/config6427420630616880196tmp [Pipeline] { [Pipeline] sh 06:24:27 + set +x 06:24:27 + curl -s https://codecov.io/bash 06:24:27 + bash -s -- 06:24:27 06:24:27 _____ _ 06:24:27 / ____| | | 06:24:27 | | ___ __| | ___ ___ _____ __ 06:24:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:24:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:24:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:24:27 Bash-1.0.3 06:24:27 06:24:27 06:24:27 ==> git version 2.24.4 found 06:24:27 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:24:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:24:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:24:27 ==> Jenkins CI detected. 06:24:27 project root: . 06:24:27 --> token set from env 06:24:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:24:27 ==> Running gcov in . (disable via -X gcov) 06:24:27 ==> Python coveragepy not found 06:24:27 ==> Searching for coverage reports in: 06:24:27 + . 06:24:27 -> Found 2 reports 06:24:27 ==> Detecting git/mercurial file structure 06:24:27 ==> Reading reports 06:24:27 + ./app-service-template/coverage.out bytes=1055 06:24:27 + ./coverage.out bytes=89805 06:24:27 ==> Appending adjustments 06:24:27 https://docs.codecov.io/docs/fixing-reports 06:24:28 + Found adjustments 06:24:28 ==> Gzipping contents 06:24:28 16K /tmp/codecov.TTexgA.gz 06:24:28 ==> Uploading reports 06:24:28 url: https://codecov.io 06:24:28 query: branch=PR-874&commit=ed77be24645ab2af13bd57d023d4e09868037d8e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-874%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=874&job=&cmd_args= 06:24:28 -> Pinging Codecov 06:24:28 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-874&commit=ed77be24645ab2af13bd57d023d4e09868037d8e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-874%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=874&job=&cmd_args= 06:24:28 -> Uploading to 06:24:28 https://storage.googleapis.com/codecov/v4/raw/2021-05-31/3D8B5DFFC46A037C893635FACE044666/ed77be24645ab2af13bd57d023d4e09868037d8e/2d38f1fd-b8ad-4dc7-9f90-7d62f23f0ef5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210531T062428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ebe377635bbb3d131c12d5683ff53836fc57a327a4e09264ebef69407cc0833 06:24:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:24:28 Dload Upload Total Spent Left Speed 06:24:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15790 0 0 100 15790 0 33032 --:--:-- --:--:-- --:--:-- 33033 06:24:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ed77be24645ab2af13bd57d023d4e09868037d8e [Pipeline] } 06:24:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:24:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:34 ---> package-listing.sh 06:24:34 ++ tr '[:upper:]' '[:lower:]' 06:24:34 ++ facter osfamily 06:24:34 + OS_FAMILY=redhat 06:24:34 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-874 06:24:34 + START_PACKAGES=/tmp/packages_start.txt 06:24:34 + END_PACKAGES=/tmp/packages_end.txt 06:24:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:34 + PACKAGES=/tmp/packages_start.txt 06:24:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-874 ']' 06:24:34 + PACKAGES=/tmp/packages_end.txt 06:24:34 + case "${OS_FAMILY}" in 06:24:34 + rpm -qa 06:24:34 + sort 06:24:35 + '[' -f /tmp/packages_start.txt ']' 06:24:35 + '[' -f /tmp/packages_end.txt ']' 06:24:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-874 ']' 06:24:35 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-874/archives/ 06:24:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-874/archives/ [Pipeline] echo 06:24:35 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/ndry_app-functions-sdk-go_PR-874/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:24:36 06:24:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:24:36 alpine: Pulling from edgex-lftools-log-publisher 06:24:36 df20fa9351a1: Pulling fs layer 06:24:36 36b3adc4ff6f: Pulling fs layer 06:24:36 8ad3a11d3b57: Pulling fs layer 06:24:36 46f8f816bc3b: Pulling fs layer 06:24:36 93b61091891f: Pulling fs layer 06:24:36 93b9cdb0e59b: Pulling fs layer 06:24:36 5e14af77c1be: Pulling fs layer 06:24:36 01666e4c0597: Pulling fs layer 06:24:36 aa168da1d23b: Pulling fs layer 06:24:36 93b9cdb0e59b: Waiting 06:24:36 5e14af77c1be: Waiting 06:24:36 01666e4c0597: Waiting 06:24:36 aa168da1d23b: Waiting 06:24:36 46f8f816bc3b: Waiting 06:24:36 93b61091891f: Waiting 06:24:36 36b3adc4ff6f: Verifying Checksum 06:24:36 36b3adc4ff6f: Download complete 06:24:36 46f8f816bc3b: Verifying Checksum 06:24:36 46f8f816bc3b: Download complete 06:24:36 df20fa9351a1: Verifying Checksum 06:24:36 df20fa9351a1: Download complete 06:24:36 93b9cdb0e59b: Verifying Checksum 06:24:36 93b9cdb0e59b: Download complete 06:24:36 5e14af77c1be: Verifying Checksum 06:24:36 5e14af77c1be: Download complete 06:24:36 01666e4c0597: Verifying Checksum 06:24:36 01666e4c0597: Download complete 06:24:36 93b61091891f: Verifying Checksum 06:24:36 93b61091891f: Download complete 06:24:36 8ad3a11d3b57: Verifying Checksum 06:24:36 8ad3a11d3b57: Download complete 06:24:37 df20fa9351a1: Pull complete 06:24:37 36b3adc4ff6f: Pull complete 06:24:37 8ad3a11d3b57: Pull complete 06:24:37 46f8f816bc3b: Pull complete 06:24:38 93b61091891f: Pull complete 06:24:38 93b9cdb0e59b: Pull complete 06:24:38 5e14af77c1be: Pull complete 06:24:38 01666e4c0597: Pull complete 06:24:39 aa168da1d23b: Verifying Checksum 06:24:39 aa168da1d23b: Download complete 06:24:43 aa168da1d23b: Pull complete 06:24:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:24:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:24:43 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 06:24:43 $ 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/ndry_app-functions-sdk-go_PR-874/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-874 -v /w/workspace/ndry_app-functions-sdk-go_PR-874:/w/workspace/ndry_app-functions-sdk-go_PR-874:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-874@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:24:48 $ docker top 718e39f89bbd7a981c55fd5837f2fe838d606a0461a3a0b70e7c7c7068562323 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:50 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:50 + mkdir -p /var/log/sa [Pipeline] sh 06:24:51 + ls /var/log/sa-host 06:24:51 + sadf -c /var/log/sa-host/sa05 06:24:51 file_magic: OK 06:24:51 HZ: Using current value: 100 06:24:51 file_header: OK 06:24:51 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 06:24:51 Statistics: 06:24:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:24:51 File successfully converted to sysstat format version 12.2.1 06:24:51 + sadf -c /var/log/sa-host/sa31 06:24:51 file_magic: OK 06:24:51 HZ: Using current value: 100 06:24:51 file_header: OK 06:24:51 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 06:24:51 Statistics: 06:24:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:24:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:51 provisioning config files... 06:24:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-874@tmp/config1668478041981113386tmp [Pipeline] { [Pipeline] echo 06:24:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:51 ---> create-netrc.sh [Pipeline] } 06:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:24:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:24:52 ---> python-tools-install.sh [Pipeline] echo 06:24:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:52 ---> sudo-logs.sh 06:24:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:53 ---> job-cost.sh 06:24:53 lf-activate-venv: SKIPPING 06:24:53 DEBUG: total: 0.18000000715255737 06:24:53 INFO: Retrieving Stack Cost... 06:24:54 INFO: Retrieving Pricing Info for: v3-standard-2 06:24:54 INFO: Archiving Costs [Pipeline] echo 06:24:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:57 ---> logs-deploy.sh 06:24:57 lf-activate-venv: SKIPPING 06:24:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-874/1 06:24:57 INFO: archiving workspace using pattern(s): 06:24:57 Archives upload complete. 06:24:57 INFO: archiving logs to Nexus 06:24:57 ---> uname -a: 06:24:57 Linux prd-centos7-docker-4c-2g-1707.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 06:24:57 06:24:57 06:24:57 ---> lscpu: 06:24:57 Architecture: x86_64 06:24:57 CPU op-mode(s): 32-bit, 64-bit 06:24:57 Byte Order: Little Endian 06:24:57 Address sizes: 40 bits physical, 48 bits virtual 06:24:57 CPU(s): 2 06:24:57 On-line CPU(s) list: 0,1 06:24:57 Thread(s) per core: 1 06:24:57 Core(s) per socket: 1 06:24:57 Socket(s): 2 06:24:57 NUMA node(s): 1 06:24:57 Vendor ID: AuthenticAMD 06:24:57 CPU family: 23 06:24:57 Model: 49 06:24:57 Model name: AMD EPYC-Rome Processor 06:24:57 Stepping: 0 06:24:57 CPU MHz: 2800.000 06:24:57 BogoMIPS: 5600.00 06:24:57 Virtualization: AMD-V 06:24:57 Hypervisor vendor: KVM 06:24:57 Virtualization type: full 06:24:57 L1d cache: 64 KiB 06:24:57 L1i cache: 64 KiB 06:24:57 L2 cache: 1 MiB 06:24:57 L3 cache: 32 MiB 06:24:57 NUMA node0 CPU(s): 0,1 06:24:57 Vulnerability Itlb multihit: Not affected 06:24:57 Vulnerability L1tf: Not affected 06:24:57 Vulnerability Mds: Not affected 06:24:57 Vulnerability Meltdown: Not affected 06:24:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:24:57 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:24:57 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:24:57 Vulnerability Srbds: Not affected 06:24:57 Vulnerability Tsx async abort: Not affected 06:24:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 06:24:57 06:24:57 06:24:57 ---> nproc: 06:24:57 2 06:24:57 06:24:57 06:24:57 ---> df -h: 06:24:57 Filesystem Size Used Available Use% Mounted on 06:24:57 overlay 40.0G 7.6G 32.4G 19% / 06:24:57 tmpfs 64.0M 0 64.0M 0% /dev 06:24:57 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 06:24:57 shm 64.0M 0 64.0M 0% /dev/shm 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-874 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-874@tmp 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 06:24:57 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 06:24:57 06:24:57 06:24:57 ---> free -m: 06:24:57 total used free shared buff/cache available 06:24:57 Mem: 7821 935 4756 0 2128 6708 06:24:57 Swap: 1023 0 1023 06:24:57 06:24:57 06:24:57 ---> ip addr: 06:24:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:24:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:24:57 inet 127.0.0.1/8 scope host lo 06:24:57 valid_lft forever preferred_lft forever 06:24:57 inet6 ::1/128 scope host 06:24:57 valid_lft forever preferred_lft forever 06:24:57 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:24:57 link/ether fa:16:3e:d3:7e:e3 brd ff:ff:ff:ff:ff:ff 06:24:57 inet 10.30.123.20/23 brd 10.30.123.255 scope global dynamic eth0 06:24:57 valid_lft 85881sec preferred_lft 85881sec 06:24:57 inet6 fe80::f816:3eff:fed3:7ee3/64 scope link 06:24:57 valid_lft forever preferred_lft forever 06:24:57 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:24:57 link/ether 02:42:63:73:ef:c4 brd ff:ff:ff:ff:ff:ff 06:24:57 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:24:57 valid_lft forever preferred_lft forever 06:24:57 inet6 fe80::42:63ff:fe73:efc4/64 scope link 06:24:57 valid_lft forever preferred_lft forever 06:24:57 06:24:57 06:24:57 ---> sar -b -r -n DEV: 06:24:57 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/31/21 _x86_64_ (2 CPU) 06:24:57 06:24:57 06:16:07 LINUX RESTART (2 CPU) 06:24:57 06:24:57 06:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:24:57 06:18:01 25.28 3.45 21.83 0.00 2559.60 4311.41 0.00 06:24:57 06:19:01 1.67 0.00 1.67 0.00 0.00 32.88 0.00 06:24:57 06:20:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 06:24:57 06:21:01 0.37 0.00 0.37 0.00 0.00 5.05 0.00 06:24:57 06:22:01 0.27 0.00 0.27 0.00 0.00 2.98 0.00 06:24:57 06:23:01 0.37 0.00 0.37 0.00 0.00 5.61 0.00 06:24:57 06:24:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 06:24:57 Average: 4.05 0.49 3.56 0.00 365.75 623.49 0.00 06:24:57 06:24:57 06:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:24:57 06:18:01 5420280 0 813672 10.16 2620 1772360 1295796 14.31 597984 1589172 20 06:24:57 06:19:01 5431992 0 801956 10.01 2620 1772364 1203656 13.29 590528 1587244 8 06:24:57 06:20:01 5430508 0 803436 10.03 2620 1772368 1203968 13.29 588200 1591220 8 06:24:57 06:21:01 5429992 0 803944 10.04 2620 1772376 1203936 13.29 588976 1591220 8 06:24:57 06:22:01 5429752 0 804180 10.04 2620 1772380 1203816 13.29 585452 1594748 16 06:24:57 06:23:01 5428820 0 805108 10.05 2620 1772384 1203780 13.29 586352 1594748 12 06:24:57 06:24:01 5428976 0 804948 10.05 2620 1772388 1203720 13.29 585992 1594748 16 06:24:57 Average: 5428617 0 805321 10.06 2620 1772374 1216953 13.44 589069 1591871 13 06:24:57 06:24:57 06:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:24:57 06:18:01 eth0 206.13 204.60 730.53 35.50 0.00 0.00 0.00 0.00 06:24:57 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:18:01 docker0 104.73 72.52 9.44 309.68 0.00 0.00 0.00 0.00 06:24:57 06:19:01 eth0 0.58 0.08 0.06 0.01 0.00 0.00 0.00 0.00 06:24:57 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:20:01 eth0 1.42 0.58 0.58 0.39 0.00 0.00 0.00 0.00 06:24:57 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:21:01 eth0 0.28 0.17 0.25 0.19 0.00 0.00 0.00 0.00 06:24:57 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:22:01 eth0 0.22 0.15 0.08 0.07 0.00 0.00 0.00 0.00 06:24:57 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:23:01 eth0 0.17 0.12 0.07 0.01 0.00 0.00 0.00 0.00 06:24:57 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:24:01 eth0 0.38 0.08 0.02 0.01 0.00 0.00 0.00 0.00 06:24:57 06:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 Average: eth0 29.89 29.40 104.54 5.17 0.00 0.00 0.00 0.00 06:24:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:57 Average: docker0 14.97 10.36 1.35 44.25 0.00 0.00 0.00 0.00 06:24:57 06:24:57 06:24:57 ---> sar -P ALL: 06:24:57 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/31/21 _x86_64_ (2 CPU) 06:24:57 06:24:57 06:16:07 LINUX RESTART (2 CPU) 06:24:57 06:24:57 06:17:01 CPU %user %nice %system %iowait %steal %idle 06:24:57 06:18:01 all 4.45 0.00 1.69 2.89 0.07 90.90 06:24:57 06:18:01 0 4.25 0.00 1.97 2.07 0.07 91.65 06:24:57 06:18:01 1 4.65 0.00 1.42 3.71 0.07 90.15 06:24:57 06:19:01 all 0.08 0.00 0.05 0.00 0.03 99.84 06:24:57 06:19:01 0 0.07 0.00 0.05 0.00 0.05 99.83 06:24:57 06:19:01 1 0.08 0.00 0.05 0.00 0.02 99.85 06:24:57 06:20:01 all 0.10 0.00 0.02 0.00 0.03 99.86 06:24:57 06:20:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:24:57 06:20:01 1 0.17 0.00 0.02 0.00 0.03 99.78 06:24:57 06:21:01 all 0.10 0.00 0.03 0.00 0.03 99.85 06:24:57 06:21:01 0 0.03 0.00 0.03 0.00 0.03 99.90 06:24:57 06:21:01 1 0.17 0.00 0.02 0.00 0.02 99.80 06:24:57 06:22:01 all 0.11 0.00 0.03 0.00 0.02 99.85 06:24:57 06:22:01 0 0.05 0.00 0.02 0.00 0.02 99.92 06:24:57 06:22:01 1 0.17 0.00 0.03 0.00 0.02 99.78 06:24:57 06:23:01 all 0.10 0.00 0.03 0.00 0.03 99.84 06:24:57 06:23:01 0 0.03 0.00 0.03 0.00 0.03 99.90 06:24:57 06:23:01 1 0.17 0.00 0.02 0.00 0.03 99.78 06:24:57 06:24:01 all 0.12 0.00 0.03 0.00 0.02 99.83 06:24:57 06:24:01 0 0.03 0.00 0.03 0.00 0.02 99.92 06:24:57 06:24:01 1 0.20 0.00 0.03 0.00 0.02 99.75 06:24:57 Average: all 0.71 0.00 0.26 0.41 0.03 98.58 06:24:57 Average: 0 0.64 0.00 0.30 0.29 0.03 98.74 06:24:57 Average: 1 0.79 0.00 0.23 0.52 0.03 98.43 06:24:57 06:24:57 06:24:57