Pull request #877 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 0c9f835a37836674ca781b1a60fdc90635d5e1b7+e5a015aadf82674317b1b80edf4b00daa11f50d1 (800a821967d98fb236bf89fe1533365c1e25b78a) 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-ssh6809523448356908942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh6138204715521610915.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-877/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-877/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4611779162408684024.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-877/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8002457166833382844.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh4071563767257516572.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-877/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-877/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3770869319482557948.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-130 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [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-877 # 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-877@tmp/jenkins-gitclient-ssh2757024509611502019.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 e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 0c9f835a37836674ca781b1a60fdc90635d5e1b7 Merge succeeded, producing 0c9f835a37836674ca781b1a60fdc90635d5e1b7 Checking out Revision 0c9f835a37836674ca781b1a60fdc90635d5e1b7 (PR-877) > 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-877@tmp/jenkins-gitclient-ssh2812621002841217391.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c9f835a37836674ca781b1a60fdc90635d5e1b7 # 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-877@tmp/jenkins-gitclient-ssh1434691402554388671.key > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c9f835a37836674ca781b1a60fdc90635d5e1b7 # timeout=10 Commit message: "feat(SDK): Add URL Formatting to HTTP sender" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T20:13:01.060Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T20:13:01.281Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T20:13:01.448Z] ========================================================= [2021-06-02T20:13:01.448Z] EdgeX Global Pipelines Version Info [2021-06-02T20:13:01.448Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:13:02.945Z] ------------------- [2021-06-02T20:13:02.946Z] stable info: [2021-06-02T20:13:02.946Z] ------------------- [2021-06-02T20:13:02.946Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T20:13:02.946Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T20:13:02.946Z] Message: update stable to v1.0.193 [2021-06-02T20:13:03.521Z] ------------------- [2021-06-02T20:13:03.521Z] experimental info: [2021-06-02T20:13:03.521Z] ------------------- [2021-06-02T20:13:03.521Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T20:13:03.521Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T20:13:03.521Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T20:13:03.817Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-02T20:13:03.884Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-02T20:13:03.955Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T20:13:04.026Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T20:13:04.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T20:13:04.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T20:13:04.228Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T20:13:04.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T20:13:04.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-02T20:13:04.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T20:13:04.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T20:13:04.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-02T20:13:04.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T20:13:04.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T20:13:04.781Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:13:04.841Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:13:04.902Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:13:04.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:13:05.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T20:13:05.083Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T20:13:05.154Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-02T20:13:05.218Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-02T20:13:05.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T20:13:05.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T20:13:05.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-02T20:13:05.492Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T20:13:05.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-877 [Pipeline] echo [2021-06-02T20:13:05.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-877 [Pipeline] echo [2021-06-02T20:13:05.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-877 [Pipeline] echo [2021-06-02T20:13:05.776Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c9f835a37836674ca781b1a60fdc90635d5e1b7 [Pipeline] echo [2021-06-02T20:13:05.853Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c9f835 [Pipeline] echo [2021-06-02T20:13:05.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T20:13:06.717Z] + git log --format=format:%s -1 0c9f835a37836674ca781b1a60fdc90635d5e1b7 [Pipeline] echo [2021-06-02T20:13:06.777Z] GIT_COMMIT: 0c9f835a37836674ca781b1a60fdc90635d5e1b7, Commit Message: feat(SDK): Add URL Formatting to HTTP sender [Pipeline] echo [2021-06-02T20:13:06.823Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:13:07.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:13:07.859Z] [2021-06-02T20:13:07.859Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:13:08.222Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:13:08.223Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T20:13:08.223Z] 31603596830f: Pulling fs layer [2021-06-02T20:13:08.223Z] 54011a49482f: Pulling fs layer [2021-06-02T20:13:08.223Z] a6820b24f6d8: Pulling fs layer [2021-06-02T20:13:08.223Z] f581987b2513: Pulling fs layer [2021-06-02T20:13:08.223Z] f581987b2513: Waiting [2021-06-02T20:13:08.223Z] 54011a49482f: Verifying Checksum [2021-06-02T20:13:08.223Z] 54011a49482f: Download complete [2021-06-02T20:13:08.489Z] 31603596830f: Verifying Checksum [2021-06-02T20:13:08.489Z] 31603596830f: Download complete [2021-06-02T20:13:08.762Z] f581987b2513: Verifying Checksum [2021-06-02T20:13:08.763Z] f581987b2513: Download complete [2021-06-02T20:13:08.763Z] a6820b24f6d8: Verifying Checksum [2021-06-02T20:13:08.763Z] a6820b24f6d8: Download complete [2021-06-02T20:13:08.763Z] 31603596830f: Pull complete [2021-06-02T20:13:08.763Z] 54011a49482f: Pull complete [2021-06-02T20:13:09.351Z] a6820b24f6d8: Pull complete [2021-06-02T20:13:09.612Z] f581987b2513: Pull complete [2021-06-02T20:13:09.612Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T20:13:09.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:13:09.612Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T20:13:09.704Z] prd-centos7-docker-4c-2g-130 does not seem to be running inside a container [2021-06-02T20:13:09.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-877 -v /w/workspace/ndry_app-functions-sdk-go_PR-877:/w/workspace/ndry_app-functions-sdk-go_PR-877:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-877@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:10004/edgex-devops/git-semver:latest cat [2021-06-02T20:13:10.642Z] $ docker top b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T20:13:10.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T20:13:10.888Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T20:13:10.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T20:13:10.988Z] $ docker exec b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 ssh-agent [2021-06-02T20:13:11.094Z] SSH_AUTH_SOCK=/tmp/ssh-LbQ49sQdYxBA/agent.14 [2021-06-02T20:13:11.094Z] SSH_AGENT_PID=20 [2021-06-02T20:13:11.103Z] Running ssh-add (command line suppressed) [2021-06-02T20:13:11.201Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_593448095937403131.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_593448095937403131.key) [2021-06-02T20:13:11.227Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T20:13:11.563Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T20:13:11.580Z] $ docker exec --env ******** --env ******** b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 ssh-agent -k [2021-06-02T20:13:11.665Z] unset SSH_AUTH_SOCK; [2021-06-02T20:13:11.666Z] unset SSH_AGENT_PID; [2021-06-02T20:13:11.666Z] echo Agent pid 20 killed; [2021-06-02T20:13:11.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T20:13:11.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T20:13:11.777Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T20:13:11.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T20:13:11.879Z] $ docker exec b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 ssh-agent [2021-06-02T20:13:11.974Z] SSH_AUTH_SOCK=/tmp/ssh-QqcUphg9nLMD/agent.56 [2021-06-02T20:13:11.974Z] SSH_AGENT_PID=62 [2021-06-02T20:13:11.979Z] Running ssh-add (command line suppressed) [2021-06-02T20:13:12.068Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_8596882247889014040.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_8596882247889014040.key) [2021-06-02T20:13:12.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T20:13:12.438Z] + git semver init [2021-06-02T20:13:12.438Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T20:13:12.438Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.git [2021-06-02T20:13:12.438Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:13:12.438Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T20:13:12.438Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T20:13:12.438Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T20:13:12.438Z] # $SEMVER_BRANCH = PR-877 [2021-06-02T20:13:12.438Z] # $SEMVER_TEMP = /tmp/semver-008288936 [2021-06-02T20:13:12.438Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-02T20:13:15.757Z] # '/tmp/semver-008288936' -> '/w/workspace/ndry_app-functions-sdk-go_PR-877/.semver' [2021-06-02T20:13:15.757Z] # -> Force: false [2021-06-02T20:13:15.757Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.semver [Pipeline] } [2021-06-02T20:13:15.774Z] $ docker exec --env ******** --env ******** b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 ssh-agent -k [2021-06-02T20:13:15.875Z] unset SSH_AUTH_SOCK; [2021-06-02T20:13:15.875Z] unset SSH_AGENT_PID; [2021-06-02T20:13:15.875Z] echo Agent pid 62 killed; [2021-06-02T20:13:15.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T20:13:16.336Z] + git semver [Pipeline] } [2021-06-02T20:13:16.364Z] $ docker stop --time=1 b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 [2021-06-02T20:13:17.700Z] $ docker rm -f b0c0176392a70c870366ab66d9f4ceb32abc5123505a9e369b621c63d4aa7e67 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:13:18.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T20:13:18.432Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T20:13:18.455Z] [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 [2021-06-02T20:13:34.043Z] Still waiting to schedule task [2021-06-02T20:13:34.043Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T20:13:34.073Z] Still waiting to schedule task [2021-06-02T20:13:34.073Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-02T20:15:32.929Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-131 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-06-02T20:15:32.994Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-02T20:15:33.246Z] The recommended git tool is: git [2021-06-02T20:15:38.421Z] using credential edgex-jenkins-ssh [2021-06-02T20:15:38.438Z] Cloning the remote Git repository [2021-06-02T20:15:38.496Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:15:38.609Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-02T20:15:38.742Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:15:38.743Z] > git --version # timeout=10 [2021-06-02T20:15:38.770Z] > git --version # 'git version 2.17.1' [2021-06-02T20:15:38.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:15:38.899Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:15:42.036Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:15:42.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:15:42.084Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:15:42.754Z] Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 0c9f835a37836674ca781b1a60fdc90635d5e1b7 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T20:15:43.209Z] Failed in branch arm64 [2021-06-02T20:15:42.115Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:15:42.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:15:42.127Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T20:15:42.776Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:15:42.789Z] > git checkout -f 0c9f835a37836674ca781b1a60fdc90635d5e1b7 # timeout=10 [2021-06-02T20:15:52.466Z] Running on prd-centos7-docker-4c-2g-132 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-06-02T20:15:52.524Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-02T20:15:52.685Z] The recommended git tool is: git [2021-06-02T20:15:54.945Z] using credential edgex-jenkins-ssh [2021-06-02T20:15:54.959Z] Cloning the remote Git repository [2021-06-02T20:15:54.357Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:15:54.499Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-02T20:15:54.537Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:15:54.537Z] > git --version # timeout=10 [2021-06-02T20:15:54.548Z] > git --version # 'git version 2.24.4' [2021-06-02T20:15:54.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:15:54.574Z] [INFO] Currently running in a labeled security context [2021-06-02T20:15:54.574Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:15:54.575Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh6636135197515052513.key [2021-06-02T20:15:54.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:15:56.846Z] Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 0c9f835a37836674ca781b1a60fdc90635d5e1b7 [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-06-02T20:15:55.816Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:15:55.829Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:15:55.842Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:15:55.856Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:15:55.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:15:55.858Z] [INFO] Currently running in a labeled security context [2021-06-02T20:15:55.858Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:15:55.858Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh6882976947908889557.key [2021-06-02T20:15:55.867Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T20:15:56.395Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:15:56.405Z] > git checkout -f 0c9f835a37836674ca781b1a60fdc90635d5e1b7 # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T20:15:57.239Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:00.291Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:00.928Z] ---> package-listing.sh [2021-06-02T20:16:00.928Z] ++ facter osfamily [2021-06-02T20:16:00.928Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T20:16:01.208Z] + OS_FAMILY=redhat [2021-06-02T20:16:01.208Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:16:01.208Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T20:16:01.208Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T20:16:01.208Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T20:16:01.208Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T20:16:01.208Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' [2021-06-02T20:16:01.208Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T20:16:01.208Z] + case "${OS_FAMILY}" in [2021-06-02T20:16:01.208Z] + sort [2021-06-02T20:16:01.208Z] + rpm -qa [2021-06-02T20:16:01.784Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T20:16:01.784Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T20:16:01.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T20:16:01.784Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' [2021-06-02T20:16:01.784Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ [2021-06-02T20:16:01.784Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ [Pipeline] echo [2021-06-02T20:16:01.822Z] 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-877/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-02T20:16:02.140Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:16:02.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:16:02.747Z] [2021-06-02T20:16:02.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:16:03.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:16:03.102Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T20:16:03.102Z] df20fa9351a1: Pulling fs layer [2021-06-02T20:16:03.102Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T20:16:03.102Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T20:16:03.102Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T20:16:03.102Z] 93b61091891f: Pulling fs layer [2021-06-02T20:16:03.102Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T20:16:03.102Z] 5e14af77c1be: Pulling fs layer [2021-06-02T20:16:03.102Z] 01666e4c0597: Pulling fs layer [2021-06-02T20:16:03.102Z] aa168da1d23b: Pulling fs layer [2021-06-02T20:16:03.102Z] 46f8f816bc3b: Waiting [2021-06-02T20:16:03.102Z] 93b61091891f: Waiting [2021-06-02T20:16:03.102Z] 93b9cdb0e59b: Waiting [2021-06-02T20:16:03.102Z] 5e14af77c1be: Waiting [2021-06-02T20:16:03.102Z] aa168da1d23b: Waiting [2021-06-02T20:16:03.102Z] 01666e4c0597: Waiting [2021-06-02T20:16:03.102Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T20:16:03.102Z] 36b3adc4ff6f: Download complete [2021-06-02T20:16:03.102Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T20:16:03.102Z] 46f8f816bc3b: Download complete [2021-06-02T20:16:03.366Z] df20fa9351a1: Verifying Checksum [2021-06-02T20:16:03.366Z] df20fa9351a1: Download complete [2021-06-02T20:16:03.366Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T20:16:03.366Z] 93b9cdb0e59b: Download complete [2021-06-02T20:16:03.366Z] 5e14af77c1be: Verifying Checksum [2021-06-02T20:16:03.366Z] 5e14af77c1be: Download complete [2021-06-02T20:16:03.366Z] 93b61091891f: Verifying Checksum [2021-06-02T20:16:03.366Z] 93b61091891f: Download complete [2021-06-02T20:16:03.366Z] 01666e4c0597: Verifying Checksum [2021-06-02T20:16:03.366Z] 01666e4c0597: Download complete [2021-06-02T20:16:03.633Z] df20fa9351a1: Pull complete [2021-06-02T20:16:03.633Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T20:16:03.633Z] 8ad3a11d3b57: Download complete [2021-06-02T20:16:03.633Z] 36b3adc4ff6f: Pull complete [2021-06-02T20:16:04.214Z] 8ad3a11d3b57: Pull complete [2021-06-02T20:16:04.215Z] 46f8f816bc3b: Pull complete [2021-06-02T20:16:04.816Z] 93b61091891f: Pull complete [2021-06-02T20:16:04.816Z] 93b9cdb0e59b: Pull complete [2021-06-02T20:16:04.816Z] 5e14af77c1be: Pull complete [2021-06-02T20:16:05.082Z] 01666e4c0597: Pull complete [2021-06-02T20:16:06.475Z] aa168da1d23b: Verifying Checksum [2021-06-02T20:16:06.476Z] aa168da1d23b: Download complete [2021-06-02T20:16:10.714Z] aa168da1d23b: Pull complete [2021-06-02T20:16:10.714Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T20:16:10.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:16:10.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T20:16:10.819Z] prd-centos7-docker-4c-2g-130 does not seem to be running inside a container [2021-06-02T20:16:10.856Z] $ 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-877/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-877 -v /w/workspace/ndry_app-functions-sdk-go_PR-877:/w/workspace/ndry_app-functions-sdk-go_PR-877:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-02T20:16:12.894Z] $ docker top 0a04c631460fdc13e84165e5967139e8462d8c8358673cdd4ec3376b128f15df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:16:13.326Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T20:16:13.647Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T20:16:13.967Z] + ls /var/log/sa-host [2021-06-02T20:16:13.968Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T20:16:13.968Z] file_magic: OK [2021-06-02T20:16:13.968Z] HZ: Using current value: 100 [2021-06-02T20:16:13.968Z] file_header: OK [2021-06-02T20:16:13.968Z] 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 [2021-06-02T20:16:13.968Z] Statistics: [2021-06-02T20:16:13.968Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T20:16:13.968Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T20:16:13.968Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T20:16:13.968Z] file_magic: OK [2021-06-02T20:16:13.968Z] HZ: Using current value: 100 [2021-06-02T20:16:13.968Z] file_header: OK [2021-06-02T20:16:13.968Z] 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 [2021-06-02T20:16:13.968Z] Statistics: [2021-06-02T20:16:13.968Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T20:16:13.968Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T20:16:14.586Z] provisioning config files... [2021-06-02T20:16:14.603Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config752874717322678102tmp [Pipeline] { [Pipeline] echo [2021-06-02T20:16:14.664Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:14.991Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T20:16:15.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T20:16:15.093Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:15.429Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T20:16:15.459Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:15.806Z] ---> sudo-logs.sh [2021-06-02T20:16:15.807Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T20:16:15.890Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:16.219Z] ---> job-cost.sh [2021-06-02T20:16:16.219Z] lf-activate-venv: SKIPPING [2021-06-02T20:16:16.219Z] INFO: No Stack... [2021-06-02T20:16:17.159Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T20:16:17.731Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T20:16:17.769Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:16:18.101Z] ---> logs-deploy.sh [2021-06-02T20:16:18.101Z] lf-activate-venv: SKIPPING [2021-06-02T20:16:18.101Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-877/1 [2021-06-02T20:16:18.101Z] INFO: archiving workspace using pattern(s): [2021-06-02T20:16:19.056Z] Archives upload complete. [2021-06-02T20:16:19.056Z] INFO: archiving logs to Nexus [2021-06-02T20:16:19.631Z] ---> uname -a: [2021-06-02T20:16:19.631Z] Linux prd-centos7-docker-4c-2g-130.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] ---> lscpu: [2021-06-02T20:16:19.631Z] Architecture: x86_64 [2021-06-02T20:16:19.631Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-02T20:16:19.631Z] Byte Order: Little Endian [2021-06-02T20:16:19.631Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-02T20:16:19.631Z] CPU(s): 2 [2021-06-02T20:16:19.631Z] On-line CPU(s) list: 0,1 [2021-06-02T20:16:19.631Z] Thread(s) per core: 1 [2021-06-02T20:16:19.631Z] Core(s) per socket: 1 [2021-06-02T20:16:19.631Z] Socket(s): 2 [2021-06-02T20:16:19.631Z] NUMA node(s): 1 [2021-06-02T20:16:19.631Z] Vendor ID: AuthenticAMD [2021-06-02T20:16:19.631Z] CPU family: 23 [2021-06-02T20:16:19.631Z] Model: 49 [2021-06-02T20:16:19.631Z] Model name: AMD EPYC-Rome Processor [2021-06-02T20:16:19.631Z] Stepping: 0 [2021-06-02T20:16:19.631Z] CPU MHz: 2800.000 [2021-06-02T20:16:19.631Z] BogoMIPS: 5600.00 [2021-06-02T20:16:19.631Z] Virtualization: AMD-V [2021-06-02T20:16:19.631Z] Hypervisor vendor: KVM [2021-06-02T20:16:19.631Z] Virtualization type: full [2021-06-02T20:16:19.631Z] L1d cache: 64 KiB [2021-06-02T20:16:19.631Z] L1i cache: 64 KiB [2021-06-02T20:16:19.631Z] L2 cache: 1 MiB [2021-06-02T20:16:19.631Z] L3 cache: 32 MiB [2021-06-02T20:16:19.631Z] NUMA node0 CPU(s): 0,1 [2021-06-02T20:16:19.631Z] Vulnerability Itlb multihit: Not affected [2021-06-02T20:16:19.631Z] Vulnerability L1tf: Not affected [2021-06-02T20:16:19.631Z] Vulnerability Mds: Not affected [2021-06-02T20:16:19.631Z] Vulnerability Meltdown: Not affected [2021-06-02T20:16:19.631Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-02T20:16:19.631Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-02T20:16:19.631Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-02T20:16:19.631Z] Vulnerability Srbds: Not affected [2021-06-02T20:16:19.631Z] Vulnerability Tsx async abort: Not affected [2021-06-02T20:16:19.631Z] 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 [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] ---> nproc: [2021-06-02T20:16:19.631Z] 2 [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] ---> df -h: [2021-06-02T20:16:19.631Z] Filesystem Size Used Available Use% Mounted on [2021-06-02T20:16:19.631Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-02T20:16:19.631Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-02T20:16:19.631Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-02T20:16:19.631Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-02T20:16:19.631Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] ---> free -m: [2021-06-02T20:16:19.631Z] total used free shared buff/cache available [2021-06-02T20:16:19.631Z] Mem: 7821 909 4783 0 2128 6734 [2021-06-02T20:16:19.631Z] Swap: 1023 0 1023 [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] ---> ip addr: [2021-06-02T20:16:19.631Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-06-02T20:16:19.631Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-06-02T20:16:19.631Z] inet 127.0.0.1/8 scope host lo [2021-06-02T20:16:19.631Z] valid_lft forever preferred_lft forever [2021-06-02T20:16:19.631Z] inet6 ::1/128 scope host [2021-06-02T20:16:19.631Z] valid_lft forever preferred_lft forever [2021-06-02T20:16:19.631Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-06-02T20:16:19.631Z] link/ether fa:16:3e:65:6d:52 brd ff:ff:ff:ff:ff:ff [2021-06-02T20:16:19.631Z] inet 10.30.123.37/23 brd 10.30.123.255 scope global dynamic eth0 [2021-06-02T20:16:19.631Z] valid_lft 86170sec preferred_lft 86170sec [2021-06-02T20:16:19.631Z] inet6 fe80::f816:3eff:fe65:6d52/64 scope link [2021-06-02T20:16:19.631Z] valid_lft forever preferred_lft forever [2021-06-02T20:16:19.631Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-06-02T20:16:19.631Z] link/ether 02:42:d9:3a:22:d2 brd ff:ff:ff:ff:ff:ff [2021-06-02T20:16:19.631Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-06-02T20:16:19.631Z] valid_lft forever preferred_lft forever [2021-06-02T20:16:19.631Z] inet6 fe80::42:d9ff:fe3a:22d2/64 scope link [2021-06-02T20:16:19.631Z] valid_lft forever preferred_lft forever [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] ---> sar -b -r -n DEV: [2021-06-02T20:16:19.631Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/02/21 _x86_64_ (2 CPU) [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] 20:12:18 LINUX RESTART (2 CPU) [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] 20:13:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-06-02T20:16:19.631Z] 20:14:01 22.81 3.37 19.44 0.00 2593.84 4078.89 0.00 [2021-06-02T20:16:19.631Z] 20:15:01 1.83 0.00 1.83 0.00 0.00 35.84 0.00 [2021-06-02T20:16:19.631Z] 20:16:01 0.37 0.07 0.30 0.00 3.46 3.55 0.00 [2021-06-02T20:16:19.631Z] Average: 8.26 1.13 7.12 0.00 856.31 1357.95 0.00 [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] 20:13:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-06-02T20:16:19.631Z] 20:14:01 5434740 0 799156 9.98 2620 1772424 1265444 13.97 583160 1590848 20 [2021-06-02T20:16:19.631Z] 20:15:01 5433736 0 800156 9.99 2620 1772428 1238152 13.67 583796 1590812 8 [2021-06-02T20:16:19.631Z] 20:16:01 5421496 0 812192 10.14 2620 1772632 1271376 14.04 620744 1565436 68 [2021-06-02T20:16:19.631Z] Average: 5429991 0 803835 10.04 2620 1772495 1258324 13.89 595900 1582365 32 [2021-06-02T20:16:19.631Z] [2021-06-02T20:16:19.631Z] 20:13:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-06-02T20:16:19.631Z] 20:14:01 eth0 160.46 181.02 653.53 25.87 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.631Z] 20:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.631Z] 20:14:01 docker0 129.72 95.92 10.40 316.60 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.631Z] 20:15:01 eth0 6.13 4.11 3.95 7.97 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.631Z] 20:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.631Z] 20:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] 20:16:01 eth0 6.43 4.96 3.84 14.02 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] 20:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] 20:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] Average: eth0 57.11 62.72 218.07 15.90 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] Average: docker0 42.77 31.62 3.43 104.38 0.00 0.00 0.00 0.00 [2021-06-02T20:16:19.632Z] [2021-06-02T20:16:19.632Z] [2021-06-02T20:16:19.632Z] ---> sar -P ALL: [2021-06-02T20:16:19.632Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/02/21 _x86_64_ (2 CPU) [2021-06-02T20:16:19.632Z] [2021-06-02T20:16:19.632Z] 20:12:18 LINUX RESTART (2 CPU) [2021-06-02T20:16:19.632Z] [2021-06-02T20:16:19.632Z] 20:13:02 CPU %user %nice %system %iowait %steal %idle [2021-06-02T20:16:19.632Z] 20:14:01 all 4.27 0.00 1.57 0.48 0.04 93.64 [2021-06-02T20:16:19.632Z] 20:14:01 0 3.78 0.00 1.60 0.45 0.05 94.12 [2021-06-02T20:16:19.632Z] 20:14:01 1 4.76 0.00 1.53 0.52 0.03 93.16 [2021-06-02T20:16:19.632Z] 20:15:01 all 0.17 0.00 0.08 0.00 0.03 99.72 [2021-06-02T20:16:19.632Z] 20:15:01 0 0.12 0.00 0.10 0.00 0.05 99.73 [2021-06-02T20:16:19.632Z] 20:15:01 1 0.22 0.00 0.07 0.00 0.02 99.70 [2021-06-02T20:16:19.632Z] 20:16:01 all 0.70 0.00 0.19 0.00 0.03 99.07 [2021-06-02T20:16:19.632Z] 20:16:01 0 0.63 0.00 0.22 0.00 0.05 99.10 [2021-06-02T20:16:19.632Z] 20:16:01 1 0.77 0.00 0.17 0.00 0.02 99.05 [2021-06-02T20:16:19.632Z] Average: all 1.69 0.00 0.60 0.16 0.04 97.51 [2021-06-02T20:16:19.632Z] Average: 0 1.49 0.00 0.63 0.15 0.05 97.69 [2021-06-02T20:16:19.632Z] Average: 1 1.89 0.00 0.58 0.17 0.02 97.34 [2021-06-02T20:16:19.632Z] [2021-06-02T20:16:19.632Z] [2021-06-02T20:16:19.632Z]