Pull request #966 opened Connecting to https://api.github.com using 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 9228a1269615ca070cc51d50891493be8b16ae7c+1d599202cd64a06a276f3b3191668ff2dfc96df6 (e63587f96d625a2a011e0064a124aadc8d500d6d) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7551524403647520354.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5825955819934599056.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-966/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-966/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7172900629829200407.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-966/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3540116670186126018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2328351433227687201.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-966/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-966/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6481726476147990625.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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 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_BUILD_IMAGE_TARGET: builder 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-2391 in /w/workspace/ndry_app-functions-sdk-go_PR-966 [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-966 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/jenkins-gitclient-ssh7672041565552233565.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/main commit 1d599202cd64a06a276f3b3191668ff2dfc96df6 into PR head commit 9228a1269615ca070cc51d50891493be8b16ae7c Merge succeeded, producing 4d2f870ff118e077e01ebd53e948ac199e341a66 Checking out Revision 4d2f870ff118e077e01ebd53e948ac199e341a66 (PR-966) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/jenkins-gitclient-ssh8226539355929635.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9228a1269615ca070cc51d50891493be8b16ae7c # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/jenkins-gitclient-ssh2327290217492463404.key > git merge 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d2f870ff118e077e01ebd53e948ac199e341a66 # timeout=10 Commit message: "Merge commit '1d599202cd64a06a276f3b3191668ff2dfc96df6' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object b96307f5267f6fa8c29f8dc04d3d152726fc6340 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-07T14:27:34.011Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-07T14:27:34.264Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-07T14:27:34.423Z] ========================================================= [2021-10-07T14:27:34.423Z] EdgeX Global Pipelines Version Info [2021-10-07T14:27:34.423Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:27:35.815Z] ------------------- [2021-10-07T14:27:35.815Z] stable info: [2021-10-07T14:27:35.815Z] ------------------- [2021-10-07T14:27:35.815Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-07T14:27:35.815Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T14:27:35.815Z] Message: update stable to v1.0.207 [2021-10-07T14:27:36.405Z] ------------------- [2021-10-07T14:27:36.405Z] experimental info: [2021-10-07T14:27:36.405Z] ------------------- [2021-10-07T14:27:36.405Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-07T14:27:36.405Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T14:27:36.405Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-07T14:27:36.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-07T14:27:36.752Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-07T14:27:36.812Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-07T14:27:36.870Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-07T14:27:36.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-07T14:27:36.994Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-07T14:27:37.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-07T14:27:37.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-07T14:27:37.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-07T14:27:37.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-07T14:27:37.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-07T14:27:37.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-07T14:27:37.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-07T14:27:37.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-07T14:27:37.562Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T14:27:37.622Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T14:27:37.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T14:27:37.748Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T14:27:37.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-07T14:27:37.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-07T14:27:37.927Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-07T14:27:37.986Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-07T14:27:38.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-07T14:27:38.104Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-07T14:27:38.161Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-07T14:27:38.219Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-07T14:27:38.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-966 [Pipeline] echo [2021-10-07T14:27:38.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-966 [Pipeline] echo [2021-10-07T14:27:38.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-966 [Pipeline] echo [2021-10-07T14:27:38.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d2f870ff118e077e01ebd53e948ac199e341a66 [Pipeline] echo [2021-10-07T14:27:38.545Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d2f870 [Pipeline] echo [2021-10-07T14:27:38.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-07T14:27:39.337Z] + git log --format=format:%s -1 4d2f870ff118e077e01ebd53e948ac199e341a66 [Pipeline] echo [2021-10-07T14:27:39.419Z] GIT_COMMIT: 4d2f870ff118e077e01ebd53e948ac199e341a66, Commit Message: Merge commit '1d599202cd64a06a276f3b3191668ff2dfc96df6' into HEAD [Pipeline] echo [2021-10-07T14:27:39.463Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:27:40.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T14:27:40.469Z] [2021-10-07T14:27:40.469Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:27:40.857Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T14:27:41.126Z] latest: Pulling from edgex-devops/git-semver [2021-10-07T14:27:41.126Z] 31603596830f: Pulling fs layer [2021-10-07T14:27:41.126Z] 04fac38145f0: Pulling fs layer [2021-10-07T14:27:41.126Z] 701f6daf10bf: Pulling fs layer [2021-10-07T14:27:41.126Z] 24f72da36158: Pulling fs layer [2021-10-07T14:27:41.126Z] 24f72da36158: Waiting [2021-10-07T14:27:41.126Z] 04fac38145f0: Download complete [2021-10-07T14:27:41.126Z] 31603596830f: Verifying Checksum [2021-10-07T14:27:41.126Z] 31603596830f: Download complete [2021-10-07T14:27:41.126Z] 24f72da36158: Verifying Checksum [2021-10-07T14:27:41.126Z] 24f72da36158: Download complete [2021-10-07T14:27:41.404Z] 701f6daf10bf: Verifying Checksum [2021-10-07T14:27:41.404Z] 701f6daf10bf: Download complete [2021-10-07T14:27:41.404Z] 31603596830f: Pull complete [2021-10-07T14:27:41.404Z] 04fac38145f0: Pull complete [2021-10-07T14:27:42.007Z] 701f6daf10bf: Pull complete [2021-10-07T14:27:42.281Z] 24f72da36158: Pull complete [2021-10-07T14:27:42.281Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-07T14:27:42.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T14:27:42.281Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-07T14:27:42.399Z] prd-centos7-docker-4c-2g-2391 does not seem to be running inside a container [2021-10-07T14:27:42.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-966 -v /w/workspace/ndry_app-functions-sdk-go_PR-966:/w/workspace/ndry_app-functions-sdk-go_PR-966:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-966@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-07T14:27:43.378Z] $ docker top c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T14:27:43.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T14:27:43.609Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T14:27:43.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T14:27:43.749Z] $ docker exec c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 ssh-agent [2021-10-07T14:27:43.872Z] SSH_AUTH_SOCK=/tmp/ssh-cyjmW5TKaTbr/agent.15 [2021-10-07T14:27:43.872Z] SSH_AGENT_PID=21 [2021-10-07T14:27:43.885Z] Running ssh-add (command line suppressed) [2021-10-07T14:27:43.988Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/private_key_4737148683201180156.key (/w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/private_key_4737148683201180156.key) [2021-10-07T14:27:44.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T14:27:44.386Z] + git tag --points-at HEAD [Pipeline] } [2021-10-07T14:27:44.413Z] $ docker exec --env ******** --env ******** c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 ssh-agent -k [2021-10-07T14:27:44.521Z] unset SSH_AUTH_SOCK; [2021-10-07T14:27:44.522Z] unset SSH_AGENT_PID; [2021-10-07T14:27:44.522Z] echo Agent pid 21 killed; [2021-10-07T14:27:44.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-07T14:27:44.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T14:27:44.628Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T14:27:44.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T14:27:44.768Z] $ docker exec c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 ssh-agent [2021-10-07T14:27:44.880Z] SSH_AUTH_SOCK=/tmp/ssh-smTHp2pbtJfE/agent.55 [2021-10-07T14:27:44.880Z] SSH_AGENT_PID=62 [2021-10-07T14:27:44.888Z] Running ssh-add (command line suppressed) [2021-10-07T14:27:44.984Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/private_key_7163969334576045595.key (/w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/private_key_7163969334576045595.key) [2021-10-07T14:27:45.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T14:27:45.370Z] + git semver init [2021-10-07T14:27:45.370Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T14:27:45.370Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-966/.git [2021-10-07T14:27:45.370Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-966 [2021-10-07T14:27:45.370Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T14:27:45.371Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T14:27:45.371Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T14:27:45.371Z] # $SEMVER_BRANCH = PR-966 [2021-10-07T14:27:45.371Z] # $SEMVER_TEMP = /tmp/semver-895491762 [2021-10-07T14:27:45.371Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-07T14:27:47.976Z] # '/tmp/semver-895491762' -> '/w/workspace/ndry_app-functions-sdk-go_PR-966/.semver' [2021-10-07T14:27:47.976Z] # -> Force: false [2021-10-07T14:27:47.976Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-966/.semver [Pipeline] } [2021-10-07T14:27:48.009Z] $ docker exec --env ******** --env ******** c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 ssh-agent -k [2021-10-07T14:27:48.119Z] unset SSH_AUTH_SOCK; [2021-10-07T14:27:48.119Z] unset SSH_AGENT_PID; [2021-10-07T14:27:48.119Z] echo Agent pid 62 killed; [2021-10-07T14:27:48.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T14:27:48.602Z] + git semver [Pipeline] } [2021-10-07T14:27:48.630Z] $ docker stop --time=1 c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 [2021-10-07T14:27:49.988Z] $ docker rm -f c4d93576cba4cb38459d162dd126e334ebedfb63a09c9e45c555c170ad758005 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T14:27:50.453Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-07T14:27:50.879Z] Stashed 1 file(s) [Pipeline] echo [2021-10-07T14:27:50.916Z] [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-10-07T14:28:06.487Z] Still waiting to schedule task [2021-10-07T14:28:06.488Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-07T14:28:06.515Z] Still waiting to schedule task [2021-10-07T14:28:06.515Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-07T14:30:27.842Z] Running on prd-centos7-docker-4c-2g-2394 in /w/workspace/ndry_app-functions-sdk-go_PR-966 [Pipeline] { [Pipeline] ws [2021-10-07T14:30:27.923Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-07T14:30:28.098Z] The recommended git tool is: git [2021-10-07T14:30:31.152Z] using credential edgex-jenkins-ssh [2021-10-07T14:30:31.169Z] Cloning the remote Git repository [2021-10-07T14:30:31.084Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-07T14:30:31.165Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-10-07T14:30:31.213Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-07T14:30:31.213Z] > git --version # timeout=10 [2021-10-07T14:30:31.223Z] > git --version # 'git version 2.24.4' [2021-10-07T14:30:31.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:30:31.252Z] [INFO] Currently running in a labeled security context [2021-10-07T14:30:31.252Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T14:30:31.252Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh2849100911148525744.key [2021-10-07T14:30:31.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:30:33.808Z] Merging remotes/origin/main commit 1d599202cd64a06a276f3b3191668ff2dfc96df6 into PR head commit 9228a1269615ca070cc51d50891493be8b16ae7c [2021-10-07T14:30:33.146Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-07T14:30:33.158Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:30:33.171Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-07T14:30:33.185Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-07T14:30:33.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:30:33.187Z] [INFO] Currently running in a labeled security context [2021-10-07T14:30:33.188Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T14:30:33.188Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh3237498735791124757.key [2021-10-07T14:30:33.196Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-07T14:30:33.823Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T14:30:33.831Z] > git checkout -f 9228a1269615ca070cc51d50891493be8b16ae7c # timeout=10 [2021-10-07T14:30:33.915Z] Merge succeeded, producing c19a59f829e5d0d327fd2e231b1e996b6643c5fe [2021-10-07T14:30:33.916Z] Checking out Revision c19a59f829e5d0d327fd2e231b1e996b6643c5fe (PR-966) [2021-10-07T14:30:33.873Z] > git remote # timeout=10 [2021-10-07T14:30:33.879Z] > git config --get remote.origin.url # timeout=10 [2021-10-07T14:30:33.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:30:33.887Z] [INFO] Currently running in a labeled security context [2021-10-07T14:30:33.887Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T14:30:33.887Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8792873250254702750.key [2021-10-07T14:30:33.892Z] > git merge 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 [2021-10-07T14:30:33.913Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-07T14:30:33.924Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T14:30:33.932Z] > git checkout -f c19a59f829e5d0d327fd2e231b1e996b6643c5fe # timeout=10 [2021-10-07T14:30:37.646Z] Commit message: "Merge commit '1d599202cd64a06a276f3b3191668ff2dfc96df6' into HEAD" [2021-10-07T14:30:37.646Z] First time build. Skipping changelog. [2021-10-07T14:30:37.703Z] > git --version # timeout=10 [2021-10-07T14:30:37.713Z] > git --version # 'git version 2.24.4' [2021-10-07T14:30:37.719Z] fatal: bad object b96307f5267f6fa8c29f8dc04d3d152726fc6340 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-07T14:30:38.759Z] ========================================================= [2021-10-07T14:30:38.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-07T14:30:38.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-07T14:30:39.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-07T14:30:39.591Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-07T14:30:39.591Z] 4e9f2cdf4387: Pulling fs layer [2021-10-07T14:30:39.591Z] 57d31006c564: Pulling fs layer [2021-10-07T14:30:39.591Z] bd5ccded8296: Pulling fs layer [2021-10-07T14:30:39.591Z] 304dd3a0f381: Pulling fs layer [2021-10-07T14:30:39.591Z] d37cda54a23b: Pulling fs layer [2021-10-07T14:30:39.591Z] bae75c0f2455: Pulling fs layer [2021-10-07T14:30:39.591Z] 806579b3d29a: Pulling fs layer [2021-10-07T14:30:39.591Z] c77eb801bf70: Pulling fs layer [2021-10-07T14:30:39.591Z] 6d0567d44e1a: Pulling fs layer [2021-10-07T14:30:39.591Z] 304dd3a0f381: Waiting [2021-10-07T14:30:39.591Z] d37cda54a23b: Waiting [2021-10-07T14:30:39.591Z] bae75c0f2455: Waiting [2021-10-07T14:30:39.591Z] 806579b3d29a: Waiting [2021-10-07T14:30:39.591Z] c77eb801bf70: Waiting [2021-10-07T14:30:39.591Z] 6d0567d44e1a: Waiting [2021-10-07T14:30:39.591Z] bd5ccded8296: Download complete [2021-10-07T14:30:39.591Z] 57d31006c564: Verifying Checksum [2021-10-07T14:30:39.591Z] 57d31006c564: Download complete [2021-10-07T14:30:39.591Z] d37cda54a23b: Verifying Checksum [2021-10-07T14:30:39.591Z] d37cda54a23b: Download complete [2021-10-07T14:30:39.591Z] bae75c0f2455: Verifying Checksum [2021-10-07T14:30:39.591Z] bae75c0f2455: Download complete [2021-10-07T14:30:39.591Z] 806579b3d29a: Verifying Checksum [2021-10-07T14:30:39.591Z] 806579b3d29a: Download complete [2021-10-07T14:30:39.591Z] 4e9f2cdf4387: Verifying Checksum [2021-10-07T14:30:39.867Z] 4e9f2cdf4387: Pull complete [2021-10-07T14:30:39.867Z] 57d31006c564: Pull complete [2021-10-07T14:30:39.867Z] bd5ccded8296: Pull complete [2021-10-07T14:30:40.135Z] c77eb801bf70: Verifying Checksum [2021-10-07T14:30:40.135Z] c77eb801bf70: Download complete [2021-10-07T14:30:42.081Z] 304dd3a0f381: Verifying Checksum [2021-10-07T14:30:42.081Z] 304dd3a0f381: Download complete [2021-10-07T14:30:42.081Z] 6d0567d44e1a: Verifying Checksum [2021-10-07T14:30:42.081Z] 6d0567d44e1a: Download complete [2021-10-07T14:30:45.508Z] 304dd3a0f381: Pull complete [2021-10-07T14:30:45.508Z] d37cda54a23b: Pull complete [2021-10-07T14:30:45.508Z] bae75c0f2455: Pull complete [2021-10-07T14:30:45.508Z] 806579b3d29a: Pull complete [2021-10-07T14:30:45.508Z] c77eb801bf70: Pull complete [2021-10-07T14:30:48.161Z] 6d0567d44e1a: Pull complete [2021-10-07T14:30:48.161Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-07T14:30:48.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-07T14:30:48.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-07T14:30:48.570Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:30:48.948Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T14:30:48.948Z] . [Pipeline] withDockerContainer [2021-10-07T14:30:49.077Z] prd-centos7-docker-4c-2g-2394 does not seem to be running inside a container [2021-10-07T14:30:49.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-07T14:30:51.309Z] $ docker top ab53a629890ebc55d6c3a6f8e168b2921192edf27eba87c132c9ef982da47fa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T14:30:51.768Z] + go version [2021-10-07T14:30:51.768Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-07T14:30:51.813Z] $ docker stop --time=1 ab53a629890ebc55d6c3a6f8e168b2921192edf27eba87c132c9ef982da47fa7 [2021-10-07T14:30:52.995Z] $ docker rm -f ab53a629890ebc55d6c3a6f8e168b2921192edf27eba87c132c9ef982da47fa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:30:53.815Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T14:30:53.815Z] . [Pipeline] withDockerContainer [2021-10-07T14:30:53.922Z] prd-centos7-docker-4c-2g-2394 does not seem to be running inside a container [2021-10-07T14:30:54.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-07T14:30:54.368Z] $ docker top 03acf7f053c4e7eff74ba88dd2756a2adcfe84338fb5b2b7bca3fbeae292516f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T14:30:54.855Z] + make test [2021-10-07T14:30:54.855Z] make -C ./app-service-template build [2021-10-07T14:30:54.855Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-10-07T14:30:54.856Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-10-07T14:30:55.437Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-07T14:30:55.437Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-07T14:30:55.437Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-07T14:30:55.437Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-07T14:30:55.703Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-07T14:30:55.703Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-07T14:30:55.703Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-07T14:30:55.703Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-07T14:30:55.703Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-07T14:30:55.703Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-07T14:30:55.703Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-07T14:30:55.703Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-07T14:30:55.972Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-07T14:30:55.972Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-07T14:30:55.972Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-07T14:30:55.972Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-07T14:30:55.973Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-07T14:30:55.973Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-07T14:30:56.242Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-07T14:30:56.242Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-07T14:30:56.242Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-07T14:30:56.242Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-07T14:30:56.242Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-07T14:30:56.242Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-07T14:30:56.242Z] go: downloading golang.org/x/text v0.3.2 [2021-10-07T14:30:56.510Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-07T14:30:56.510Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-07T14:30:56.510Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-07T14:30:56.510Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-07T14:30:56.510Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-07T14:30:56.510Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-07T14:30:56.798Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-07T14:30:56.798Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-07T14:30:56.798Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-07T14:30:56.798Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-07T14:30:57.070Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-07T14:30:57.070Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-07T14:30:57.070Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-07T14:30:57.351Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-07T14:30:57.351Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-07T14:30:57.351Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-07T14:30:57.351Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-07T14:30:57.351Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-07T14:30:57.351Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-07T14:30:57.617Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-07T14:30:57.617Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-07T14:31:07.747Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-10-07T14:31:07.747Z] make -C ./app-service-template test [2021-10-07T14:31:07.747Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-10-07T14:31:07.747Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-07T14:31:07.747Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-07T14:31:08.020Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-07T14:31:08.020Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-07T14:31:08.020Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-07T14:31:08.020Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-07T14:31:18.171Z] ok new-app-service 0.010s coverage: 48.1% of statements [2021-10-07T14:31:18.171Z] ? new-app-service/config [no test files] [2021-10-07T14:31:18.171Z] ok new-app-service/functions 0.007s [2021-10-07T14:31:18.171Z] CGO_ENABLED=1 go vet ./... [2021-10-07T14:31:23.579Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T14:31:23.579Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T14:31:23.579Z] ./bin/test-attribution-txt.sh [2021-10-07T14:31:23.846Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-07T14:31:23.846Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-07T14:31:24.430Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-10-07T14:31:24.430Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-07T14:31:25.021Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-07T14:31:26.445Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 67.5% of statements [2021-10-07T14:31:26.445Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-07T14:31:26.445Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.009s coverage: 93.7% of statements [2021-10-07T14:31:26.445Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-07T14:31:26.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements [2021-10-07T14:31:26.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-07T14:31:26.993Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s [2021-10-07T14:31:27.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.116s coverage: 75.7% of statements [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-07T14:31:27.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.3% of statements [2021-10-07T14:31:27.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-07T14:31:27.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-10-07T14:31:31.870Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.059s coverage: 77.0% of statements [2021-10-07T14:31:31.870Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-07T14:31:31.870Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.025s coverage: 12.5% of statements [2021-10-07T14:31:31.870Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-10-07T14:31:31.870Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-07T14:31:31.870Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-07T14:31:31.870Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements [2021-10-07T14:31:58.549Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.021s coverage: 77.3% of statements [2021-10-07T14:31:58.549Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements [2021-10-07T14:31:58.549Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-07T14:31:58.549Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T14:31:58.549Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-07T14:31:58.593Z] $ docker stop --time=1 03acf7f053c4e7eff74ba88dd2756a2adcfe84338fb5b2b7bca3fbeae292516f [2021-10-07T14:31:59.855Z] $ docker rm -f 03acf7f053c4e7eff74ba88dd2756a2adcfe84338fb5b2b7bca3fbeae292516f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T14:32:00.515Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2393 in /w/workspace/ndry_app-functions-sdk-go_PR-966 [Pipeline] { [2021-10-07T14:32:00.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] ws [2021-10-07T14:32:00.578Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] stash [Pipeline] checkout [2021-10-07T14:32:00.882Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [2021-10-07T14:32:00.955Z] The recommended git tool is: git [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:32:02.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:32:02.344Z] [2021-10-07T14:32:02.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:32:02.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:32:02.733Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T14:32:02.733Z] b4d181a07f80: Pulling fs layer [2021-10-07T14:32:02.733Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T14:32:02.733Z] ed53099fbce6: Pulling fs layer [2021-10-07T14:32:02.733Z] dc539afda2c1: Pulling fs layer [2021-10-07T14:32:02.733Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T14:32:02.733Z] 9065ff56babe: Pulling fs layer [2021-10-07T14:32:02.733Z] d287ab97295c: Pulling fs layer [2021-10-07T14:32:02.733Z] 77bc0d833cb6: Waiting [2021-10-07T14:32:02.733Z] 9065ff56babe: Waiting [2021-10-07T14:32:02.733Z] d287ab97295c: Waiting [2021-10-07T14:32:02.733Z] dc539afda2c1: Waiting [2021-10-07T14:32:02.998Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T14:32:02.998Z] a1111a8f2ec3: Download complete [2021-10-07T14:32:02.998Z] dc539afda2c1: Verifying Checksum [2021-10-07T14:32:02.998Z] dc539afda2c1: Download complete [2021-10-07T14:32:03.271Z] ed53099fbce6: Verifying Checksum [2021-10-07T14:32:03.271Z] ed53099fbce6: Download complete [2021-10-07T14:32:03.271Z] b4d181a07f80: Verifying Checksum [2021-10-07T14:32:03.271Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T14:32:03.271Z] 77bc0d833cb6: Download complete [2021-10-07T14:32:03.271Z] b4d181a07f80: Download complete [2021-10-07T14:32:03.271Z] 9065ff56babe: Verifying Checksum [2021-10-07T14:32:03.271Z] 9065ff56babe: Download complete [2021-10-07T14:32:04.681Z] d287ab97295c: Verifying Checksum [2021-10-07T14:32:04.681Z] d287ab97295c: Download complete [2021-10-07T14:32:04.951Z] b4d181a07f80: Pull complete [2021-10-07T14:32:04.951Z] a1111a8f2ec3: Pull complete [2021-10-07T14:32:05.542Z] ed53099fbce6: Pull complete [2021-10-07T14:32:05.543Z] dc539afda2c1: Pull complete [2021-10-07T14:32:05.809Z] 77bc0d833cb6: Pull complete [2021-10-07T14:32:05.809Z] 9065ff56babe: Pull complete [2021-10-07T14:32:07.737Z] using credential edgex-jenkins-ssh [2021-10-07T14:32:07.758Z] Cloning the remote Git repository [2021-10-07T14:32:07.816Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-07T14:32:07.941Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-10-07T14:32:08.033Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-07T14:32:08.034Z] > git --version # timeout=10 [2021-10-07T14:32:08.053Z] > git --version # 'git version 2.17.1' [2021-10-07T14:32:08.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:32:08.157Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:32:11.182Z] d287ab97295c: Pull complete [2021-10-07T14:32:11.182Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T14:32:11.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:32:11.182Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T14:32:11.291Z] prd-centos7-docker-4c-2g-2394 does not seem to be running inside a container [2021-10-07T14:32:11.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T14:32:12.684Z] Merging remotes/origin/main commit 1d599202cd64a06a276f3b3191668ff2dfc96df6 into PR head commit 9228a1269615ca070cc51d50891493be8b16ae7c [2021-10-07T14:32:11.722Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-07T14:32:11.745Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T14:32:11.777Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-07T14:32:11.820Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-07T14:32:11.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T14:32:11.837Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-07T14:32:12.706Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T14:32:14.060Z] $ docker top e8736e566cf0bee88466503ea16873243393252b1f0bf707a293c1b4a806a0bf -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-10-07T14:32:12.732Z] > git checkout -f 9228a1269615ca070cc51d50891493be8b16ae7c # timeout=10 [Pipeline] libraryResource [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-10-07T14:32:14.791Z] ---> job-cost.sh [2021-10-07T14:32:14.791Z] lf-activate-venv: SKIPPING [2021-10-07T14:32:14.791Z] INFO: No Stack... [Pipeline] } [2021-10-07T14:32:14.811Z] Failed in branch arm64 [2021-10-07T14:32:37.061Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T14:32:37.330Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T14:32:37.672Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-10-07T14:32:37.672Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T14:32:37.742Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-966-1-stack-cost] [2021-10-07T14:32:37.750Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-966-1-stack-cost] did not exist. Created. [2021-10-07T14:32:37.750Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-966-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T14:32:38.218Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-07T14:32:38.286Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T14:32:38.312Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-966-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T14:32:38.398Z] $ docker stop --time=1 e8736e566cf0bee88466503ea16873243393252b1f0bf707a293c1b4a806a0bf [2021-10-07T14:32:39.559Z] $ docker rm -f e8736e566cf0bee88466503ea16873243393252b1f0bf707a293c1b4a806a0bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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) 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] sh [2021-10-07T14:32:43.522Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-966/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:32:43.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:32:44.533Z] ---> package-listing.sh [2021-10-07T14:32:44.533Z] ++ facter osfamily [2021-10-07T14:32:44.533Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-07T14:32:44.804Z] + OS_FAMILY=redhat [2021-10-07T14:32:44.804Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-966 [2021-10-07T14:32:44.804Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-07T14:32:44.804Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-07T14:32:44.804Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-07T14:32:44.804Z] + PACKAGES=/tmp/packages_start.txt [2021-10-07T14:32:44.804Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-966 ']' [2021-10-07T14:32:44.804Z] + PACKAGES=/tmp/packages_end.txt [2021-10-07T14:32:44.804Z] + case "${OS_FAMILY}" in [2021-10-07T14:32:44.804Z] + sort [2021-10-07T14:32:44.804Z] + rpm -qa [2021-10-07T14:32:45.977Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-07T14:32:45.977Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-07T14:32:45.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-07T14:32:45.977Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-966 ']' [2021-10-07T14:32:45.977Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-966/archives/ [2021-10-07T14:32:45.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-966/archives/ [Pipeline] echo [2021-10-07T14:32:46.045Z] 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-966/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-07T14:32:46.378Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:32:47.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:32:47.299Z] [2021-10-07T14:32:47.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T14:32:47.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:32:47.682Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T14:32:47.682Z] b4d181a07f80: Pulling fs layer [2021-10-07T14:32:47.682Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T14:32:47.682Z] ed53099fbce6: Pulling fs layer [2021-10-07T14:32:47.682Z] dc539afda2c1: Pulling fs layer [2021-10-07T14:32:47.682Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T14:32:47.682Z] 9065ff56babe: Pulling fs layer [2021-10-07T14:32:47.682Z] d287ab97295c: Pulling fs layer [2021-10-07T14:32:47.682Z] 77bc0d833cb6: Waiting [2021-10-07T14:32:47.682Z] 9065ff56babe: Waiting [2021-10-07T14:32:47.682Z] d287ab97295c: Waiting [2021-10-07T14:32:47.683Z] dc539afda2c1: Waiting [2021-10-07T14:32:47.954Z] a1111a8f2ec3: Download complete [2021-10-07T14:32:47.955Z] dc539afda2c1: Verifying Checksum [2021-10-07T14:32:47.955Z] dc539afda2c1: Download complete [2021-10-07T14:32:47.955Z] ed53099fbce6: Verifying Checksum [2021-10-07T14:32:47.955Z] ed53099fbce6: Download complete [2021-10-07T14:32:48.229Z] 9065ff56babe: Verifying Checksum [2021-10-07T14:32:48.229Z] 9065ff56babe: Download complete [2021-10-07T14:32:48.229Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T14:32:48.229Z] 77bc0d833cb6: Download complete [2021-10-07T14:32:48.229Z] b4d181a07f80: Verifying Checksum [2021-10-07T14:32:48.229Z] b4d181a07f80: Download complete [2021-10-07T14:32:49.216Z] d287ab97295c: Verifying Checksum [2021-10-07T14:32:49.216Z] d287ab97295c: Download complete [2021-10-07T14:32:49.799Z] b4d181a07f80: Pull complete [2021-10-07T14:32:50.071Z] a1111a8f2ec3: Pull complete [2021-10-07T14:32:50.660Z] ed53099fbce6: Pull complete [2021-10-07T14:32:50.660Z] dc539afda2c1: Pull complete [2021-10-07T14:32:50.935Z] 77bc0d833cb6: Pull complete [2021-10-07T14:32:50.935Z] 9065ff56babe: Pull complete [2021-10-07T14:32:57.667Z] d287ab97295c: Pull complete [2021-10-07T14:32:57.667Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T14:32:57.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T14:32:57.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T14:32:57.788Z] prd-centos7-docker-4c-2g-2391 does not seem to be running inside a container [2021-10-07T14:32:57.859Z] $ 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-966/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-966 -v /w/workspace/ndry_app-functions-sdk-go_PR-966:/w/workspace/ndry_app-functions-sdk-go_PR-966:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-966@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-966@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:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T14:33:00.259Z] $ docker top 5cfc6b4a30cff93deb554a9a5de84ffa1984ce834e16450d626514eb1df6551c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T14:33:00.712Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-07T14:33:01.053Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-07T14:33:01.394Z] + ls /var/log/sa-host [2021-10-07T14:33:01.394Z] + sadf -c /var/log/sa-host/sa07 [2021-10-07T14:33:01.394Z] file_magic: OK [2021-10-07T14:33:01.394Z] HZ: Using current value: 100 [2021-10-07T14:33:01.394Z] file_header: OK [2021-10-07T14:33:01.394Z] 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-10-07T14:33:01.394Z] Statistics: [2021-10-07T14:33:01.394Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T14:33:01.394Z] File successfully converted to sysstat format version 12.0.3 [2021-10-07T14:33:01.394Z] + sadf -c /var/log/sa-host/sa30 [2021-10-07T14:33:01.394Z] file_magic: OK [2021-10-07T14:33:01.394Z] HZ: Using current value: 100 [2021-10-07T14:33:01.394Z] file_header: OK [2021-10-07T14:33:01.394Z] 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-10-07T14:33:01.394Z] Statistics: [2021-10-07T14:33:01.394Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T14:33:01.394Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T14:33:02.057Z] provisioning config files... [2021-10-07T14:33:02.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-966@tmp/config3823043635251260366tmp [Pipeline] { [Pipeline] echo [2021-10-07T14:33:02.143Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:33:02.501Z] ---> create-netrc.sh [Pipeline] } [2021-10-07T14:33:02.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:33:03.028Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-07T14:33:03.062Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:33:03.411Z] ---> sudo-logs.sh [2021-10-07T14:33:03.411Z] Archiving 'sudo' log.. [2021-10-07T14:33:03.411Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2391.novalocal: Name or service not known [2021-10-07T14:33:03.411Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2391.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-07T14:33:03.503Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:33:03.859Z] ---> job-cost.sh [2021-10-07T14:33:03.859Z] lf-activate-venv: SKIPPING [2021-10-07T14:33:03.859Z] DEBUG: total: 0.05999999865889549 [2021-10-07T14:33:03.859Z] INFO: Retrieving Stack Cost... [2021-10-07T14:33:09.199Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T14:33:09.781Z] INFO: Archiving Costs [Pipeline] echo [2021-10-07T14:33:09.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T14:33:10.169Z] ---> logs-deploy.sh [2021-10-07T14:33:10.169Z] lf-activate-venv: SKIPPING [2021-10-07T14:33:10.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-966/1 [2021-10-07T14:33:10.169Z] INFO: archiving workspace using pattern(s):