Branch indexing 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 cherrycl for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch main at b10469f13584187c4bd7f7cff58f5aa0259e83b1 rather than d51d541f257a7b5bae36629c803b1edc728dd05d Obtained Jenkinsfile from b10469f13584187c4bd7f7cff58f5aa0259e83b1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5832296510510668465.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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-ssh7820882049651130779.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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-918/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-918/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3948855114797797042.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh9087702343886392597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-918/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-918/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2960319659227005678.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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-2003 in /w/workspace/ndry_app-functions-sdk-go_PR-918 [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-918 # 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-918@tmp/jenkins-gitclient-ssh7729077522847597119.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-918@tmp/jenkins-gitclient-ssh7989515162875141088.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/918/head:refs/remotes/origin/PR-918 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit d51d541f257a7b5bae36629c803b1edc728dd05d Merge succeeded, producing ce88d66002491c98523ab5a22bd13153b9f5fdf7 Checking out Revision ce88d66002491c98523ab5a22bd13153b9f5fdf7 (PR-918) > git config core.sparsecheckout # timeout=10 > git checkout -f d51d541f257a7b5bae36629c803b1edc728dd05d # 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-918@tmp/jenkins-gitclient-ssh7302415866406396448.key > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce88d66002491c98523ab5a22bd13153b9f5fdf7 # timeout=10 Commit message: "Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:46:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:46:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:46:49 ========================================================= 03:46:49 EdgeX Global Pipelines Version Info 03:46:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4713cf9b2f7877595b2096caf2bd140c05d01eca # timeout=10 03:46:50 ------------------- 03:46:50 stable info: 03:46:50 ------------------- 03:46:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:46:50 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 03:46:50 Message: update stable to v1.0.196 03:46:51 ------------------- 03:46:51 experimental info: 03:46:51 ------------------- 03:46:51 Commited By: **** collab-it+edgex@linuxfoundation.org 03:46:51 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 03:46:51 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:46:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-918 [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-918 [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-918 [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce88d66002491c98523ab5a22bd13153b9f5fdf7 [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce88d66 [Pipeline] echo 03:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:46:52 + git log --format=format:%s -1 ce88d66002491c98523ab5a22bd13153b9f5fdf7 [Pipeline] echo 03:46:52 GIT_COMMIT: ce88d66002491c98523ab5a22bd13153b9f5fdf7, Commit Message: Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD [Pipeline] echo 03:46:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:46:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:46:53 03:46:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:46:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:46:53 latest: Pulling from edgex-devops/git-semver 03:46:53 31603596830f: Pulling fs layer 03:46:53 b6dc333f4379: Pulling fs layer 03:46:53 3d9ef1400e77: Pulling fs layer 03:46:53 fd332fbdc1db: Pulling fs layer 03:46:53 fd332fbdc1db: Waiting 03:46:53 b6dc333f4379: Verifying Checksum 03:46:53 b6dc333f4379: Download complete 03:46:53 31603596830f: Verifying Checksum 03:46:53 31603596830f: Download complete 03:46:53 fd332fbdc1db: Verifying Checksum 03:46:53 fd332fbdc1db: Download complete 03:46:53 3d9ef1400e77: Verifying Checksum 03:46:53 3d9ef1400e77: Download complete 03:46:53 31603596830f: Pull complete 03:46:54 b6dc333f4379: Pull complete 03:46:54 3d9ef1400e77: Pull complete 03:46:54 fd332fbdc1db: Pull complete 03:46:54 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 03:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:46:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:46:55 prd-centos7-docker-4c-2g-2003 does not seem to be running inside a container 03:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-918 -v /w/workspace/ndry_app-functions-sdk-go_PR-918:/w/workspace/ndry_app-functions-sdk-go_PR-918:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:46:56 $ docker top 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:46:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:46:56 [ssh-agent] Looking for ssh-agent implementation... 03:46:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:46:56 $ docker exec 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent 03:46:56 SSH_AUTH_SOCK=/tmp/ssh-TutU18tfsySC/agent.13 03:46:56 SSH_AGENT_PID=20 03:46:56 Running ssh-add (command line suppressed) 03:46:56 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_3073008006276413351.key (/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_3073008006276413351.key) 03:46:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:46:56 + git tag --points-at HEAD [Pipeline] } 03:46:56 $ docker exec --env ******** --env ******** 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent -k 03:46:57 unset SSH_AUTH_SOCK; 03:46:57 unset SSH_AGENT_PID; 03:46:57 echo Agent pid 20 killed; 03:46:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:46:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:46:57 [ssh-agent] Looking for ssh-agent implementation... 03:46:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:46:57 $ docker exec 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent 03:46:57 SSH_AUTH_SOCK=/tmp/ssh-UhXUeiGam53p/agent.55 03:46:57 SSH_AGENT_PID=61 03:46:57 Running ssh-add (command line suppressed) 03:46:57 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_8701501187729160876.key (/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/private_key_8701501187729160876.key) 03:46:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:46:57 + git semver init 03:46:57 # -> Open(): unable to determine branch for HEAD 03:46:57 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-918/.git 03:46:57 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-918 03:46:57 # $SEMVER_REMOTE_NAME = origin 03:46:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:46:57 # $SEMVER_USER_NAME = edgex-jenkins 03:46:57 # $SEMVER_BRANCH = PR-918 03:46:57 # $SEMVER_TEMP = /tmp/semver-543615905 03:46:57 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 03:46:59 # '/tmp/semver-543615905' -> '/w/workspace/ndry_app-functions-sdk-go_PR-918/.semver' 03:46:59 # -> Force: false 03:46:59 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-918/.semver [Pipeline] } 03:46:59 $ docker exec --env ******** --env ******** 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d ssh-agent -k 03:46:59 unset SSH_AUTH_SOCK; 03:46:59 unset SSH_AGENT_PID; 03:46:59 echo Agent pid 61 killed; 03:46:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:00 + git semver [Pipeline] } 03:47:00 $ docker stop --time=1 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d 03:47:01 $ docker rm -f 5f9daac808b8b09c2aec384e22f1f9ac9a6b8c0f3721a708cecc367b601e023d [Pipeline] // withDockerContainer [Pipeline] sh 03:47:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:47:02 Stashed 1 file(s) [Pipeline] echo 03:47:02 [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 03:47:17 Still waiting to schedule task 03:47:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:47:17 Still waiting to schedule task 03:47:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:49:15 Running on prd-centos7-docker-4c-2g-2006 in /w/workspace/ndry_app-functions-sdk-go_PR-918 [Pipeline] { [Pipeline] ws 03:49:15 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 03:49:15 The recommended git tool is: git 03:49:17 using credential edgex-jenkins-ssh 03:49:17 Cloning the remote Git repository 03:49:17 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 03:49:17 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 03:49:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 03:49:17 > git --version # timeout=10 03:49:17 > git --version # 'git version 2.24.4' 03:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:49:17 [INFO] Currently running in a labeled security context 03:49:17 [INFO] Currently SELinux is 'enforcing' on the host 03:49:17 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh3781882521710520999.key 03:49:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:49:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 03:49:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:49:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 03:49:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 03:49:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:49:18 [INFO] Currently running in a labeled security context 03:49:18 [INFO] Currently SELinux is 'enforcing' on the host 03:49:18 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5133576660943646000.key 03:49:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/918/head:refs/remotes/origin/PR-918 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:49:19 Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit d51d541f257a7b5bae36629c803b1edc728dd05d 03:49:19 Merge succeeded, producing 7ce3eedefa59f1cf018f30925490f3c660090192 03:49:19 Checking out Revision 7ce3eedefa59f1cf018f30925490f3c660090192 (PR-918) 03:49:19 > git config core.sparsecheckout # timeout=10 03:49:19 > git checkout -f d51d541f257a7b5bae36629c803b1edc728dd05d # timeout=10 03:49:19 > git remote # timeout=10 03:49:19 > git config --get remote.origin.url # timeout=10 03:49:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:49:19 [INFO] Currently running in a labeled security context 03:49:19 [INFO] Currently SELinux is 'enforcing' on the host 03:49:19 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8331280629858832326.key 03:49:19 > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 03:49:19 > git rev-parse HEAD^{commit} # timeout=10 03:49:19 > git config core.sparsecheckout # timeout=10 03:49:19 > git checkout -f 7ce3eedefa59f1cf018f30925490f3c660090192 # timeout=10 03:49:23 Commit message: "Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD" 03:49:23 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:49:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:49:23 > git rev-list --no-walk 4713cf9b2f7877595b2096caf2bd140c05d01eca # timeout=10 03:49:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:49:24 + true 03:49:24 + sudo service docker restart 03:49:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 03:49:43 ========================================================= 03:49:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:49:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:49:43 + 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 . 03:49:43 Sending build context to Docker daemon 19.72MB 03:49:43 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:49:43 Step 2/8 : FROM ${BASE} 03:49:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:49:43 540db60ca938: Pulling fs layer 03:49:43 adcc1eea9eea: Pulling fs layer 03:49:43 4c4ab2625f07: Pulling fs layer 03:49:43 0510c868ecb4: Pulling fs layer 03:49:43 afea3b2eda06: Pulling fs layer 03:49:43 7809a108b3ef: Pulling fs layer 03:49:43 f706445af74f: Pulling fs layer 03:49:43 0510c868ecb4: Waiting 03:49:43 afea3b2eda06: Waiting 03:49:43 7809a108b3ef: Waiting 03:49:43 f706445af74f: Waiting 03:49:44 4c4ab2625f07: Verifying Checksum 03:49:44 4c4ab2625f07: Download complete 03:49:44 adcc1eea9eea: Verifying Checksum 03:49:44 adcc1eea9eea: Download complete 03:49:44 afea3b2eda06: Verifying Checksum 03:49:44 afea3b2eda06: Download complete 03:49:44 7809a108b3ef: Verifying Checksum 03:49:44 7809a108b3ef: Download complete 03:49:44 540db60ca938: Verifying Checksum 03:49:44 540db60ca938: Download complete 03:49:44 540db60ca938: Pull complete 03:49:44 adcc1eea9eea: Pull complete 03:49:44 4c4ab2625f07: Pull complete 03:49:45 f706445af74f: Verifying Checksum 03:49:45 f706445af74f: Download complete 03:49:46 0510c868ecb4: Verifying Checksum 03:49:46 0510c868ecb4: Download complete 03:49:50 0510c868ecb4: Pull complete 03:49:50 afea3b2eda06: Pull complete 03:49:50 7809a108b3ef: Pull complete 03:49:51 f706445af74f: Pull complete 03:49:51 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 03:49:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:49:51 ---> b068be0155e3 03:49:51 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 03:49:51 20.10.0: Pulling from library/docker 03:49:51 05e7bc50f07f: Pulling fs layer 03:49:51 6db28d0fdbf6: Pulling fs layer 03:49:51 292df0bc6bf3: Pulling fs layer 03:49:51 2e060f4bd70b: Pulling fs layer 03:49:51 80e8d568a223: Pulling fs layer 03:49:51 8dc6ef1a942a: Pulling fs layer 03:49:51 2312dd95470a: Pulling fs layer 03:49:51 2e060f4bd70b: Waiting 03:49:51 80e8d568a223: Waiting 03:49:51 8dc6ef1a942a: Waiting 03:49:51 2312dd95470a: Waiting 03:49:51 292df0bc6bf3: Download complete 03:49:51 6db28d0fdbf6: Verifying Checksum 03:49:51 6db28d0fdbf6: Download complete 03:49:51 05e7bc50f07f: Verifying Checksum 03:49:51 05e7bc50f07f: Download complete 03:49:51 80e8d568a223: Verifying Checksum 03:49:51 80e8d568a223: Download complete 03:49:51 8dc6ef1a942a: Verifying Checksum 03:49:51 8dc6ef1a942a: Download complete 03:49:51 2312dd95470a: Verifying Checksum 03:49:51 2312dd95470a: Download complete 03:49:52 05e7bc50f07f: Pull complete 03:49:52 6db28d0fdbf6: Pull complete 03:49:52 292df0bc6bf3: Pull complete 03:49:52 2e060f4bd70b: Verifying Checksum 03:49:52 2e060f4bd70b: Download complete 03:49:54 2e060f4bd70b: Pull complete 03:49:54 80e8d568a223: Pull complete 03:49:54 8dc6ef1a942a: Pull complete 03:49:54 2312dd95470a: Pull complete 03:49:54 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 03:49:54 Status: Downloaded newer image for docker:20.10.0 03:49:57 ---> 8e33b87ef0b7 03:49:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:49:57 ---> Running in 38bb1cb51711 03:49:57 Removing intermediate container 38bb1cb51711 03:49:57 ---> a99dcee6584b 03:49:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 03:49:57 ---> Running in ef7e321b27cf 03:49:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:49:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:49:59 (1/5) Installing libsodium (1.0.18-r0) 03:49:59 (2/5) Installing libzmq (4.3.3-r1) 03:49:59 (3/5) Installing pkgconf (1.7.3-r0) 03:49:59 (4/5) Installing libsodium-dev (1.0.18-r0) 03:49:59 (5/5) Installing zeromq-dev (4.3.3-r1) 03:49:59 Executing busybox-1.32.1-r6.trigger 03:49:59 OK: 150 MiB in 45 packages 03:49:59 Removing intermediate container ef7e321b27cf 03:49:59 ---> 5370bc6fc4f9 03:49:59 Step 6/8 : WORKDIR /build 03:49:59 ---> Running in c642113374d8 03:49:59 Removing intermediate container c642113374d8 03:49:59 ---> 146041ab7b2d 03:49:59 Step 7/8 : COPY go.mod . 03:50:00 ---> 9e2d6ade21a4 03:50:00 Step 8/8 : RUN go mod download 03:50:00 ---> Running in 6d52005802a4 03:50:12 Removing intermediate container 6d52005802a4 03:50:12 ---> 71ac65075e58 03:50:12 Successfully built 71ac65075e58 03:50:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:50:12 + docker inspect -f . ci-base-image-x86_64 03:50:12 . [Pipeline] withDockerContainer 03:50:12 prd-centos7-docker-4c-2g-2006 does not seem to be running inside a container 03:50:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:50:13 $ docker top da84ddac33418f32fc0f91349ba48258dc59be37c88a9df79a776a6be98d4aa3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:50:13 + go version 03:50:13 go version go1.16.3 linux/amd64 [Pipeline] } 03:50:13 $ docker stop --time=1 da84ddac33418f32fc0f91349ba48258dc59be37c88a9df79a776a6be98d4aa3 03:50:14 $ docker rm -f da84ddac33418f32fc0f91349ba48258dc59be37c88a9df79a776a6be98d4aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:50:15 + docker inspect -f . ci-base-image-x86_64 03:50:15 . [Pipeline] withDockerContainer 03:50:15 prd-centos7-docker-4c-2g-2006 does not seem to be running inside a container 03:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:50:16 $ docker top 3715677b2b78ccf87e8a94ae039f788536f8fe6c80c02ea6f66e519070cf981d -eo pid,comm [Pipeline] { [Pipeline] sh 03:50:16 + go mod tidy [Pipeline] sh 03:50:17 + make test 03:50:17 make -C ./app-service-template build 03:50:17 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:50:17 go mod tidy 03:50:17 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 03:50:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2007 in /w/workspace/ndry_app-functions-sdk-go_PR-918 [Pipeline] { [Pipeline] ws 03:50:21 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 03:50:21 The recommended git tool is: git 03:50:27 using credential edgex-jenkins-ssh 03:50:27 Cloning the remote Git repository 03:50:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 03:50:27 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 03:50:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 03:50:27 > git --version # timeout=10 03:50:27 > git --version # 'git version 2.17.1' 03:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:50:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:50:29 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:50:29 make -C ./app-service-template test 03:50:29 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:50:29 go mod tidy 03:50:29 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 03:50:31 Merging remotes/origin/main commit b10469f13584187c4bd7f7cff58f5aa0259e83b1 into PR head commit d51d541f257a7b5bae36629c803b1edc728dd05d 03:50:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 03:50:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:50:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 03:50:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 03:50:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:50:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/918/head:refs/remotes/origin/PR-918 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:50:31 > git config core.sparsecheckout # timeout=10 03:50:31 > git checkout -f d51d541f257a7b5bae36629c803b1edc728dd05d # timeout=10 03:50:32 > git remote # timeout=10 03:50:32 Merge succeeded, producing a151734a66af3de5a4a537bd3f609c8dfc47f978 03:50:32 Checking out Revision a151734a66af3de5a4a537bd3f609c8dfc47f978 (PR-918) 03:50:32 > git config --get remote.origin.url # timeout=10 03:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 03:50:32 > git merge b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 03:50:32 > git rev-parse HEAD^{commit} # timeout=10 03:50:32 > git config core.sparsecheckout # timeout=10 03:50:32 > git checkout -f a151734a66af3de5a4a537bd3f609c8dfc47f978 # timeout=10 03:50:36 Commit message: "Merge commit 'b10469f13584187c4bd7f7cff58f5aa0259e83b1' into HEAD" 03:50:36 First time build. Skipping changelog. 03:50:36 > git rev-list --no-walk 4713cf9b2f7877595b2096caf2bd140c05d01eca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:50:38 ok new-app-service 0.009s coverage: 47.8% of statements 03:50:38 ? new-app-service/config [no test files] 03:50:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:50:38 ok new-app-service/functions 0.009s 03:50:38 CGO_ENABLED=1 go vet ./... 03:50:38 + true 03:50:38 + sudo service docker restart 03:50:46 gofmt -l . 03:50:46 [ "`gofmt -l .`" = "" ] 03:50:46 ./bin/test-attribution-txt.sh 03:50:46 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:50:46 go mod tidy 03:50:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:50:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 03:50:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 63.6% of statements 03:50:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.010s coverage: 96.5% of statements 03:50:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 03:50:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.018s coverage: 61.8% of statements 03:50:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 03:50:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s 03:50:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.019s coverage: 74.5% of statements 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 03:50:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.1% of statements 03:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 03:50:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 03:50:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.740s coverage: 76.1% of statements 03:50:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 03:50:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements 03:50:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 03:50:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 03:50:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 03:50:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [Pipeline] unstash [Pipeline] echo 03:50:57 ========================================================= 03:50:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:50:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:50:57 + 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 . 03:50:58 Sending build context to Docker daemon 19.74MB 03:50:58 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:50:58 Step 2/8 : FROM ${BASE} 03:50:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:50:59 595b0fe564bb: Pulling fs layer 03:50:59 3088b5b3c5c0: Pulling fs layer 03:50:59 5b7225fbf94c: Pulling fs layer 03:50:59 ba82ee9f976e: Pulling fs layer 03:50:59 506bd15cee9f: Pulling fs layer 03:50:59 75a0a4a0db45: Pulling fs layer 03:50:59 618dc40b7e24: Pulling fs layer 03:50:59 75a0a4a0db45: Waiting 03:50:59 ba82ee9f976e: Waiting 03:50:59 618dc40b7e24: Waiting 03:50:59 506bd15cee9f: Waiting 03:50:59 5b7225fbf94c: Verifying Checksum 03:50:59 5b7225fbf94c: Download complete 03:50:59 3088b5b3c5c0: Verifying Checksum 03:50:59 3088b5b3c5c0: Download complete 03:50:59 506bd15cee9f: Verifying Checksum 03:50:59 506bd15cee9f: Download complete 03:50:59 75a0a4a0db45: Verifying Checksum 03:50:59 75a0a4a0db45: Download complete 03:50:59 595b0fe564bb: Verifying Checksum 03:50:59 595b0fe564bb: Download complete 03:50:59 595b0fe564bb: Pull complete 03:51:00 3088b5b3c5c0: Pull complete 03:51:01 5b7225fbf94c: Pull complete 03:51:02 618dc40b7e24: Verifying Checksum 03:51:02 618dc40b7e24: Download complete 03:51:03 ba82ee9f976e: Download complete 03:51:13 ba82ee9f976e: Pull complete 03:51:13 506bd15cee9f: Pull complete 03:51:13 75a0a4a0db45: Pull complete 03:51:17 618dc40b7e24: Pull complete 03:51:17 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 03:51:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:51:17 ---> a36622ca3599 03:51:17 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 03:51:17 20.10.0: Pulling from library/docker 03:51:17 a3cc7d3b244e: Pulling fs layer 03:51:17 02a3295e0d61: Pulling fs layer 03:51:17 0f4f2e6d8100: Pulling fs layer 03:51:17 330b718f631f: Pulling fs layer 03:51:17 a93816041522: Pulling fs layer 03:51:17 bdb6da89ff94: Pulling fs layer 03:51:17 2a70c0c122f4: Pulling fs layer 03:51:17 330b718f631f: Waiting 03:51:17 a93816041522: Waiting 03:51:17 bdb6da89ff94: Waiting 03:51:17 2a70c0c122f4: Waiting 03:51:17 0f4f2e6d8100: Verifying Checksum 03:51:17 0f4f2e6d8100: Download complete 03:51:17 02a3295e0d61: Verifying Checksum 03:51:17 02a3295e0d61: Download complete 03:51:17 a93816041522: Verifying Checksum 03:51:17 a93816041522: Download complete 03:51:17 bdb6da89ff94: Verifying Checksum 03:51:17 bdb6da89ff94: Download complete 03:51:17 a3cc7d3b244e: Verifying Checksum 03:51:17 a3cc7d3b244e: Download complete 03:51:17 2a70c0c122f4: Verifying Checksum 03:51:17 2a70c0c122f4: Download complete 03:51:18 a3cc7d3b244e: Pull complete 03:51:19 02a3295e0d61: Pull complete 03:51:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.049s coverage: 78.0% of statements 03:51:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 03:51:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:51:19 gofmt -l . 03:51:19 [ "`gofmt -l .`" = "" ] [Pipeline] } 03:51:19 $ docker stop --time=1 3715677b2b78ccf87e8a94ae039f788536f8fe6c80c02ea6f66e519070cf981d 03:51:19 330b718f631f: Verifying Checksum 03:51:19 330b718f631f: Download complete 03:51:19 0f4f2e6d8100: Pull complete 03:51:21 $ docker rm -f 3715677b2b78ccf87e8a94ae039f788536f8fe6c80c02ea6f66e519070cf981d [Pipeline] // withDockerContainer [Pipeline] sh 03:51:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:51:21 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 03:51:22 ---> job-cost.sh 03:51:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1YLY 03:51:24 330b718f631f: Pull complete 03:51:24 a93816041522: Pull complete 03:51:24 bdb6da89ff94: Pull complete 03:51:24 2a70c0c122f4: Pull complete 03:51:24 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 03:51:24 Status: Downloaded newer image for docker:20.10.0 03:51:30 ---> 6756659b4026 03:51:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:51:30 ---> Running in c1d7d732a48d 03:51:30 Removing intermediate container c1d7d732a48d 03:51:30 ---> cede4449a696 03:51:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 03:51:30 ---> Running in 58eb93c4fde0 03:51:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:51:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:51:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:51:34 (1/5) Installing libsodium (1.0.18-r0) 03:51:34 (2/5) Installing libzmq (4.3.3-r1) 03:51:34 (3/5) Installing pkgconf (1.7.3-r0) 03:51:34 (4/5) Installing libsodium-dev (1.0.18-r0) 03:51:34 (5/5) Installing zeromq-dev (4.3.3-r1) 03:51:34 Executing busybox-1.32.1-r6.trigger 03:51:34 OK: 139 MiB in 45 packages 03:51:36 Removing intermediate container 58eb93c4fde0 03:51:36 ---> 1fb6a2cb33e3 03:51:36 Step 6/8 : WORKDIR /build 03:51:36 ---> Running in a0b8ff78a763 03:51:36 Removing intermediate container a0b8ff78a763 03:51:36 ---> 8cda913c8991 03:51:36 Step 7/8 : COPY go.mod . 03:51:37 ---> 59e0c0be43b0 03:51:37 Step 8/8 : RUN go mod download 03:51:37 ---> Running in 1529a22c3bb1 03:51:45 lf-activate-venv(): INFO: Adding /tmp/venv-1YLY/bin to PATH 03:51:45 INFO: No Stack... 03:51:46 INFO: Retrieving Pricing Info for: v3-standard-2 03:51:46 INFO: Archiving Costs [Pipeline] sh 03:51:46 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 03:51:46 + cut -d, -f6 [Pipeline] lock 03:51:46 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] 03:51:46 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] did not exist. Created. 03:51:46 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:51:47 + echo total: 0.05999999865889549 [Pipeline] stash 03:51:47 Stashed 1 file(s) [Pipeline] } 03:51:47 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:52:04 Removing intermediate container 1529a22c3bb1 03:52:04 ---> a8836810a5ed 03:52:04 Successfully built a8836810a5ed 03:52:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:52:04 + docker inspect -f . ci-base-image-arm64 03:52:04 . [Pipeline] withDockerContainer 03:52:05 prd-ubuntu18.04-docker-arm64-4c-16g-2007 does not seem to be running inside a container 03:52:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:52:06 $ docker top 68902f55f042516a40fc4bcbd090e70d1f676a6f55b6fc6eed18148074cc2f11 -eo pid,comm [Pipeline] { [Pipeline] sh 03:52:07 + go version 03:52:07 go version go1.16.5 linux/arm64 [Pipeline] } 03:52:07 $ docker stop --time=1 68902f55f042516a40fc4bcbd090e70d1f676a6f55b6fc6eed18148074cc2f11 03:52:09 $ docker rm -f 68902f55f042516a40fc4bcbd090e70d1f676a6f55b6fc6eed18148074cc2f11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:52:10 + docker inspect -f . ci-base-image-arm64 03:52:10 . [Pipeline] withDockerContainer 03:52:10 prd-ubuntu18.04-docker-arm64-4c-16g-2007 does not seem to be running inside a container 03:52:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:52:12 $ docker top 1040311f41a40f3f3eebbdc04f7a4775fab84396051afc941845bc48ac6ab6fd -eo pid,comm [Pipeline] { [Pipeline] sh 03:52:13 + go mod tidy [Pipeline] sh 03:52:14 + make test 03:52:14 make -C ./app-service-template build 03:52:14 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:52:14 go mod tidy 03:52:15 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 03:52:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:52:54 make -C ./app-service-template test 03:52:54 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:52:54 go mod tidy 03:52:54 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 03:53:21 ok new-app-service 0.040s coverage: 47.8% of statements 03:53:21 ? new-app-service/config [no test files] 03:53:21 ok new-app-service/functions 0.036s 03:53:21 CGO_ENABLED=1 go vet ./... 03:53:48 gofmt -l . 03:53:48 [ "`gofmt -l .`" = "" ] 03:53:48 ./bin/test-attribution-txt.sh 03:53:49 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 03:53:49 go mod tidy 03:53:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:53:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 03:53:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.082s coverage: 63.6% of statements 03:53:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.068s coverage: 96.5% of statements 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 03:53:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.8% of statements 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 03:53:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.059s 03:53:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.207s coverage: 74.5% of statements 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 03:53:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.024s coverage: 97.1% of statements 03:53:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 03:54:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 10.5% of statements 03:54:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.823s coverage: 76.1% of statements 03:54:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 03:54:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.046s coverage: 12.5% of statements 03:54:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements 03:54:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 03:54:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 03:54:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.050s coverage: 51.4% of statements 03:54:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.119s coverage: 78.0% of statements 03:54:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements 03:54:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:54:35 gofmt -l . 03:54:35 [ "`gofmt -l .`" = "" ] [Pipeline] } 03:54:36 $ docker stop --time=1 1040311f41a40f3f3eebbdc04f7a4775fab84396051afc941845bc48ac6ab6fd 03:54:38 $ docker rm -f 1040311f41a40f3f3eebbdc04f7a4775fab84396051afc941845bc48ac6ab6fd [Pipeline] // withDockerContainer [Pipeline] sh 03:54:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:54:39 Warning: overwriting stash ‘coverage-report’ 03:54:39 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 03:54:40 ---> job-cost.sh 03:54:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zcrx 03:55:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:56:56 lf-activate-venv(): INFO: Adding /tmp/venv-zcrx/bin to PATH 03:56:56 INFO: No Stack... 03:56:56 INFO: Retrieving Pricing Info for: v2-standard-4 03:56:56 INFO: Archiving Costs [Pipeline] sh 03:56:56 + cut -d, -f6 03:56:56 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [Pipeline] lock 03:56:56 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] 03:56:56 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] did not exist. Created. 03:56:56 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:56:57 /w/workspace/app-functions-sdk-go/3@tmp/durable-5c8addd5/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-5c8addd5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:56:57 + echo total: 0.18000000715255737 [Pipeline] stash 03:56:57 Warning: overwriting stash ‘stack-cost’ 03:56:57 Stashed 1 file(s) [Pipeline] } 03:56:57 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-918-3-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 03:56:58 provisioning config files... 03:56:58 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/config7831483237598562369tmp [Pipeline] { [Pipeline] sh 03:56:58 + set +x 03:56:58 + curl -s https://codecov.io/bash 03:56:58 + bash -s -- 03:56:59 03:56:59 _____ _ 03:56:59 / ____| | | 03:56:59 | | ___ __| | ___ ___ _____ __ 03:56:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:56:59 | |___| (_) | (_| | __/ (_| (_) \ V / 03:56:59 \_____\___/ \__,_|\___|\___\___/ \_/ 03:56:59 Bash-1.0.3 03:56:59 03:56:59 03:56:59 ==> git version 2.24.4 found 03:56:59 ==> 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 03:56:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:56:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:56:59 ==> Jenkins CI detected. 03:56:59 project root: . 03:56:59 --> token set from env 03:56:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:56:59 ==> Running gcov in . (disable via -X gcov) 03:56:59 ==> Python coveragepy not found 03:56:59 ==> Searching for coverage reports in: 03:56:59 + . 03:56:59 -> Found 2 reports 03:56:59 ==> Detecting git/mercurial file structure 03:56:59 ==> Reading reports 03:56:59 + ./app-service-template/coverage.out bytes=1055 03:56:59 + ./coverage.out bytes=95181 03:56:59 ==> Appending adjustments 03:56:59 https://docs.codecov.io/docs/fixing-reports 03:56:59 + Found adjustments 03:56:59 ==> Gzipping contents 03:56:59 20K /tmp/codecov.NrjcWg.gz 03:56:59 ==> Uploading reports 03:56:59 url: https://codecov.io 03:56:59 query: branch=PR-918&commit=ce88d66002491c98523ab5a22bd13153b9f5fdf7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-918%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=918&job=&cmd_args= 03:56:59 -> Pinging Codecov 03:56:59 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-918&commit=ce88d66002491c98523ab5a22bd13153b9f5fdf7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-918%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=918&job=&cmd_args= 03:56:59 -> Uploading to 03:56:59 https://storage.googleapis.com/codecov/v4/raw/2021-07-07/3D8B5DFFC46A037C893635FACE044666/ce88d66002491c98523ab5a22bd13153b9f5fdf7/d3cd807e-a74d-4f95-83cc-c0ddd488e75e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T035659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24073f61620085e7b3774ab278d909a4f0481701c9d01c826bb4a8688aa03722 03:56:59 % Total % Received % Xferd Average Speed Time Time Time Current 03:56:59 Dload Upload Total Spent Left Speed 03:57:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16854 0 0 100 16854 0 39506 --:--:-- --:--:-- --:--:-- 39563 03:57:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ce88d66002491c98523ab5a22bd13153b9f5fdf7 [Pipeline] } 03:57:00 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 03:57:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:57:02 ---> package-listing.sh 03:57:02 ++ tr '[:upper:]' '[:lower:]' 03:57:02 ++ facter osfamily 03:57:03 + OS_FAMILY=redhat 03:57:03 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-918 03:57:03 + START_PACKAGES=/tmp/packages_start.txt 03:57:03 + END_PACKAGES=/tmp/packages_end.txt 03:57:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:57:03 + PACKAGES=/tmp/packages_start.txt 03:57:03 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-918 ']' 03:57:03 + PACKAGES=/tmp/packages_end.txt 03:57:03 + case "${OS_FAMILY}" in 03:57:03 + sort 03:57:03 + rpm -qa 03:57:03 + '[' -f /tmp/packages_start.txt ']' 03:57:03 + '[' -f /tmp/packages_end.txt ']' 03:57:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:57:03 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-918 ']' 03:57:03 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-918/archives/ 03:57:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-918/archives/ [Pipeline] echo 03:57:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-918/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:57:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:57:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:57:04 03:57:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:57:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:57:05 alpine: Pulling from edgex-lftools-log-publisher 03:57:05 df20fa9351a1: Pulling fs layer 03:57:05 36b3adc4ff6f: Pulling fs layer 03:57:05 8ad3a11d3b57: Pulling fs layer 03:57:05 46f8f816bc3b: Pulling fs layer 03:57:05 93b61091891f: Pulling fs layer 03:57:05 93b9cdb0e59b: Pulling fs layer 03:57:05 5e14af77c1be: Pulling fs layer 03:57:05 01666e4c0597: Pulling fs layer 03:57:05 aa168da1d23b: Pulling fs layer 03:57:05 93b61091891f: Waiting 03:57:05 93b9cdb0e59b: Waiting 03:57:05 5e14af77c1be: Waiting 03:57:05 01666e4c0597: Waiting 03:57:05 aa168da1d23b: Waiting 03:57:05 46f8f816bc3b: Waiting 03:57:05 36b3adc4ff6f: Verifying Checksum 03:57:05 36b3adc4ff6f: Download complete 03:57:05 46f8f816bc3b: Verifying Checksum 03:57:05 46f8f816bc3b: Download complete 03:57:05 df20fa9351a1: Verifying Checksum 03:57:05 df20fa9351a1: Download complete 03:57:05 93b9cdb0e59b: Verifying Checksum 03:57:05 93b9cdb0e59b: Download complete 03:57:05 93b61091891f: Verifying Checksum 03:57:05 93b61091891f: Download complete 03:57:05 01666e4c0597: Verifying Checksum 03:57:05 01666e4c0597: Download complete 03:57:05 5e14af77c1be: Verifying Checksum 03:57:05 5e14af77c1be: Download complete 03:57:05 8ad3a11d3b57: Verifying Checksum 03:57:05 8ad3a11d3b57: Download complete 03:57:05 df20fa9351a1: Pull complete 03:57:05 36b3adc4ff6f: Pull complete 03:57:06 8ad3a11d3b57: Pull complete 03:57:06 46f8f816bc3b: Pull complete 03:57:06 93b61091891f: Pull complete 03:57:06 93b9cdb0e59b: Pull complete 03:57:06 5e14af77c1be: Pull complete 03:57:06 01666e4c0597: Pull complete 03:57:07 aa168da1d23b: Verifying Checksum 03:57:07 aa168da1d23b: Download complete 03:57:11 aa168da1d23b: Pull complete 03:57:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:57:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:57:11 prd-centos7-docker-4c-2g-2003 does not seem to be running inside a container 03:57:11 $ 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-918/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-918 -v /w/workspace/ndry_app-functions-sdk-go_PR-918:/w/workspace/ndry_app-functions-sdk-go_PR-918:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:57:13 $ docker top 848d0a7b0cc4b23d6da0985eb0a4c316d8478bd102736854398003ccd2150a44 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:14 + touch /tmp/pre-build-complete [Pipeline] sh 03:57:14 + mkdir -p /var/log/sa [Pipeline] sh 03:57:14 + ls /var/log/sa-host 03:57:14 + sadf -c /var/log/sa-host/sa05 03:57:14 file_magic: OK 03:57:14 HZ: Using current value: 100 03:57:14 file_header: OK 03:57:14 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 03:57:14 Statistics: 03:57:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:57:14 File successfully converted to sysstat format version 12.2.1 03:57:14 + sadf -c /var/log/sa-host/sa07 03:57:14 file_magic: OK 03:57:14 HZ: Using current value: 100 03:57:14 file_header: OK 03:57:14 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 03:57:14 Statistics: 03:57:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:57:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:57:14 provisioning config files... 03:57:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-918@tmp/config3525205343086633656tmp [Pipeline] { [Pipeline] echo 03:57:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:57:15 ---> create-netrc.sh [Pipeline] } 03:57:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:57:15 ---> python-tools-install.sh [Pipeline] echo 03:57:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:57:16 ---> sudo-logs.sh 03:57:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:57:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:57:16 ---> job-cost.sh 03:57:16 lf-activate-venv: SKIPPING 03:57:16 DEBUG: total: 0.18000000715255737 03:57:16 INFO: Retrieving Stack Cost... 03:57:17 INFO: Retrieving Pricing Info for: v3-standard-2 03:57:18 INFO: Archiving Costs [Pipeline] echo 03:57:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:57:18 ---> logs-deploy.sh 03:57:18 lf-activate-venv: SKIPPING 03:57:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-918/3 03:57:18 INFO: archiving workspace using pattern(s): 03:57:19 Archives upload complete. 03:57:19 INFO: archiving logs to Nexus 03:57:19 ---> uname -a: 03:57:19 Linux prd-centos7-docker-4c-2g-2003.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 03:57:19 03:57:19 03:57:19 ---> lscpu: 03:57:19 Architecture: x86_64 03:57:19 CPU op-mode(s): 32-bit, 64-bit 03:57:19 Byte Order: Little Endian 03:57:19 Address sizes: 40 bits physical, 48 bits virtual 03:57:19 CPU(s): 2 03:57:19 On-line CPU(s) list: 0,1 03:57:19 Thread(s) per core: 1 03:57:19 Core(s) per socket: 1 03:57:19 Socket(s): 2 03:57:19 NUMA node(s): 1 03:57:19 Vendor ID: AuthenticAMD 03:57:19 CPU family: 23 03:57:19 Model: 49 03:57:19 Model name: AMD EPYC-Rome Processor 03:57:19 Stepping: 0 03:57:19 CPU MHz: 2800.000 03:57:19 BogoMIPS: 5600.00 03:57:19 Virtualization: AMD-V 03:57:19 Hypervisor vendor: KVM 03:57:19 Virtualization type: full 03:57:19 L1d cache: 64 KiB 03:57:19 L1i cache: 64 KiB 03:57:19 L2 cache: 1 MiB 03:57:19 L3 cache: 32 MiB 03:57:19 NUMA node0 CPU(s): 0,1 03:57:19 Vulnerability Itlb multihit: Not affected 03:57:19 Vulnerability L1tf: Not affected 03:57:19 Vulnerability Mds: Not affected 03:57:19 Vulnerability Meltdown: Not affected 03:57:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:57:19 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:57:19 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:57:19 Vulnerability Srbds: Not affected 03:57:19 Vulnerability Tsx async abort: Not affected 03:57:19 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 03:57:19 03:57:19 03:57:19 ---> nproc: 03:57:19 2 03:57:19 03:57:19 03:57:19 ---> df -h: 03:57:19 Filesystem Size Used Available Use% Mounted on 03:57:19 overlay 40.0G 7.6G 32.4G 19% / 03:57:19 tmpfs 64.0M 0 64.0M 0% /dev 03:57:19 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 03:57:19 shm 64.0M 0 64.0M 0% /dev/shm 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-918 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-918@tmp 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 03:57:19 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 03:57:19 03:57:19 03:57:20 ---> free -m: 03:57:20 total used free shared buff/cache available 03:57:20 Mem: 7821 964 4728 0 2128 6679 03:57:20 Swap: 1023 0 1023 03:57:20 03:57:20 03:57:20 ---> ip addr: 03:57:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:57:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:57:20 inet 127.0.0.1/8 scope host lo 03:57:20 valid_lft forever preferred_lft forever 03:57:20 inet6 ::1/128 scope host 03:57:20 valid_lft forever preferred_lft forever 03:57:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:57:20 link/ether fa:16:3e:73:17:7a brd ff:ff:ff:ff:ff:ff 03:57:20 inet 10.30.123.127/23 brd 10.30.123.255 scope global dynamic eth0 03:57:20 valid_lft 85737sec preferred_lft 85737sec 03:57:20 inet6 fe80::f816:3eff:fe73:177a/64 scope link 03:57:20 valid_lft forever preferred_lft forever 03:57:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:57:20 link/ether 02:42:24:33:ce:11 brd ff:ff:ff:ff:ff:ff 03:57:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:57:20 valid_lft forever preferred_lft forever 03:57:20 inet6 fe80::42:24ff:fe33:ce11/64 scope link 03:57:20 valid_lft forever preferred_lft forever 03:57:20 03:57:20 03:57:20 ---> sar -b -r -n DEV: 03:57:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/07/21 _x86_64_ (2 CPU) 03:57:20 03:57:20 03:46:06 LINUX RESTART (2 CPU) 03:57:20 03:57:20 03:47:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:57:20 03:48:01 3.98 0.18 3.80 0.00 23.18 407.35 0.00 03:57:20 03:49:01 0.48 0.00 0.48 0.00 0.00 7.18 0.00 03:57:20 03:50:01 0.27 0.00 0.27 0.00 0.00 3.12 0.00 03:57:20 03:51:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 03:57:20 03:52:01 0.30 0.00 0.30 0.00 0.00 3.40 0.00 03:57:20 03:53:01 0.32 0.00 0.32 0.00 0.00 3.91 0.00 03:57:20 03:54:01 0.22 0.00 0.22 0.00 0.00 3.60 0.00 03:57:20 03:55:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 03:57:20 03:56:01 0.22 0.00 0.22 0.00 0.00 2.33 0.00 03:57:20 03:57:01 0.28 0.03 0.25 0.00 3.73 2.93 0.00 03:57:20 Average: 0.64 0.02 0.62 0.00 2.69 43.90 0.00 03:57:20 03:57:20 03:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:57:20 03:48:01 5444864 0 789380 9.86 2620 1772076 1247352 13.77 576032 1588232 20 03:57:20 03:49:01 5446784 0 787456 9.83 2620 1772080 1205432 13.31 576016 1587260 20 03:57:20 03:50:01 5447032 0 787204 9.83 2620 1772084 1205372 13.31 575856 1587204 20 03:57:20 03:51:01 5446864 0 787364 9.83 2620 1772092 1205324 13.31 569028 1594732 8 03:57:20 03:52:01 5444108 0 790112 9.87 2620 1772100 1205288 13.31 571552 1594732 16 03:57:20 03:53:01 5443560 0 790660 9.87 2620 1772100 1205192 13.31 572024 1594732 12 03:57:20 03:54:01 5442204 0 792008 9.89 2620 1772108 1205192 13.31 573664 1594732 8 03:57:20 03:55:01 5433292 0 800916 10.00 2620 1772112 1205228 13.31 582536 1594732 12 03:57:20 03:56:01 5432544 0 801660 10.01 2620 1772116 1205192 13.31 584980 1592760 12 03:57:20 03:57:01 5430380 0 803588 10.03 2620 1772352 1205772 13.31 587268 1592796 140 03:57:20 Average: 5441163 0 793035 9.90 2620 1772122 1209534 13.35 576896 1592191 27 03:57:20 03:57:20 03:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:57:20 03:48:01 eth0 7.96 4.80 6.78 2.26 0.00 0.00 0.00 0.00 03:57:20 03:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:49:01 eth0 3.27 1.37 2.06 0.45 0.00 0.00 0.00 0.00 03:57:20 03:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:50:01 eth0 0.98 0.30 0.32 0.20 0.00 0.00 0.00 0.00 03:57:20 03:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:51:01 eth0 0.53 0.30 0.27 0.20 0.00 0.00 0.00 0.00 03:57:20 03:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:52:01 eth0 0.20 0.15 0.08 0.07 0.00 0.00 0.00 0.00 03:57:20 03:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:53:01 eth0 0.55 0.08 0.06 0.01 0.00 0.00 0.00 0.00 03:57:20 03:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:54:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:57:20 03:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:55:01 eth0 0.18 0.10 0.07 0.01 0.00 0.00 0.00 0.00 03:57:20 03:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:56:01 eth0 0.13 0.15 0.01 0.01 0.00 0.00 0.00 0.00 03:57:20 03:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:57:01 eth0 5.45 3.73 5.14 2.02 0.00 0.00 0.00 0.00 03:57:20 03:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 Average: eth0 1.94 1.11 1.48 0.52 0.00 0.00 0.00 0.00 03:57:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:57:20 03:57:20 03:57:20 ---> sar -P ALL: 03:57:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/07/21 _x86_64_ (2 CPU) 03:57:20 03:57:20 03:46:06 LINUX RESTART (2 CPU) 03:57:20 03:57:20 03:47:01 CPU %user %nice %system %iowait %steal %idle 03:57:20 03:48:01 all 0.42 0.00 0.16 0.03 0.03 99.37 03:57:20 03:48:01 0 0.44 0.00 0.17 0.03 0.03 99.33 03:57:20 03:48:01 1 0.40 0.00 0.15 0.02 0.02 99.42 03:57:20 03:49:01 all 0.20 0.00 0.07 0.00 0.03 99.71 03:57:20 03:49:01 0 0.12 0.00 0.07 0.00 0.02 99.80 03:57:20 03:49:01 1 0.28 0.00 0.07 0.00 0.03 99.62 03:57:20 03:50:01 all 0.13 0.00 0.05 0.00 0.03 99.79 03:57:20 03:50:01 0 0.05 0.00 0.05 0.00 0.03 99.87 03:57:20 03:50:01 1 0.20 0.00 0.05 0.00 0.03 99.72 03:57:20 03:51:01 all 0.15 0.00 0.07 0.00 0.03 99.76 03:57:20 03:51:01 0 0.10 0.00 0.08 0.00 0.03 99.78 03:57:20 03:51:01 1 0.20 0.00 0.05 0.00 0.02 99.73 03:57:20 03:52:01 all 0.18 0.00 0.07 0.00 0.01 99.74 03:57:20 03:52:01 0 0.05 0.00 0.08 0.00 0.02 99.85 03:57:20 03:52:01 1 0.32 0.00 0.05 0.00 0.00 99.63 03:57:20 03:53:01 all 0.16 0.00 0.05 0.00 0.03 99.77 03:57:20 03:53:01 0 0.07 0.00 0.07 0.00 0.03 99.83 03:57:20 03:53:01 1 0.25 0.00 0.03 0.00 0.02 99.70 03:57:20 03:54:01 all 0.08 0.00 0.04 0.00 0.02 99.86 03:57:20 03:54:01 0 0.07 0.00 0.05 0.00 0.02 99.87 03:57:20 03:54:01 1 0.10 0.00 0.03 0.00 0.02 99.85 03:57:20 03:55:01 all 0.17 0.00 0.07 0.00 0.03 99.74 03:57:20 03:55:01 0 0.03 0.00 0.07 0.00 0.03 99.87 03:57:20 03:55:01 1 0.30 0.00 0.07 0.00 0.02 99.62 03:57:20 03:56:01 all 0.19 0.00 0.05 0.00 0.03 99.73 03:57:20 03:56:01 0 0.05 0.00 0.03 0.00 0.02 99.90 03:57:20 03:56:01 1 0.33 0.00 0.07 0.00 0.03 99.57 03:57:20 03:57:01 all 0.67 0.00 0.37 0.00 0.02 98.95 03:57:20 03:57:01 0 0.55 0.00 0.45 0.00 0.00 99.00 03:57:20 03:57:01 1 0.79 0.00 0.28 0.00 0.03 98.90 03:57:20 Average: all 0.23 0.00 0.10 0.00 0.02 99.64 03:57:20 Average: 0 0.15 0.00 0.11 0.00 0.02 99.71 03:57:20 Average: 1 0.32 0.00 0.09 0.00 0.02 99.57 03:57:20 03:57:20 03:57:20