Pull request #3791 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 tonyespy for edgexfoundry/edgex-go Obtained Jenkinsfile from d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2+b757e3986260d98ca516b4d2b666fd27cfb0acf3 (17f4a7674208921c290798d58b396b0647039812) 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-ssh2991532712163716752.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8048409284073877105.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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/edgex-go/branches/PR-3791/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/edgex-go/branches/PR-3791/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3690582089950833720.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/edgex-go/branches/PR-3791/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1615003620166299689.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1129345814683433866.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/edgex-go/branches/PR-3791/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/edgex-go/branches/PR-3791/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4168230743519740160.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13867’ Running on prd-centos7-docker-4c-2g-14113 in /w/workspace/edgexfoundry_edgex-go_PR-3791 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go/1@tmp/jenkins-gitclient-ssh8627047834817372517.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b757e3986260d98ca516b4d2b666fd27cfb0acf3 into PR head commit d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 > git config remote.origin.url git@github.com:edgexfoundry/edgex-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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go/1@tmp/jenkins-gitclient-ssh6657067179901038018.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3791/head:refs/remotes/origin/PR-3791 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 # timeout=10 Merge succeeded, producing d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 Checking out Revision d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 (PR-3791) > 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/edgex-go/1@tmp/jenkins-gitclient-ssh7202629963334650059.key > git merge b757e3986260d98ca516b4d2b666fd27cfb0acf3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 # timeout=10 Commit message: "fix(snap): support non-secure consul" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-03T01:29:40.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-03T01:29:40.405Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-03T01:29:40.490Z] ========================================================= [2021-11-03T01:29:40.490Z] EdgeX Global Pipelines Version Info [2021-11-03T01:29:40.490Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-03T01:29:41.671Z] ------------------- [2021-11-03T01:29:41.671Z] stable info: [2021-11-03T01:29:41.671Z] ------------------- [2021-11-03T01:29:41.671Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-03T01:29:41.671Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-03T01:29:41.671Z] Message: update stable to v1.0.211 [2021-11-03T01:29:42.242Z] ------------------- [2021-11-03T01:29:42.242Z] experimental info: [2021-11-03T01:29:42.242Z] ------------------- [2021-11-03T01:29:42.242Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-03T01:29:42.242Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-03T01:29:42.242Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-03T01:29:42.403Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-11-03T01:29:42.441Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-11-03T01:29:42.477Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-03T01:29:42.513Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-03T01:29:42.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-03T01:29:42.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-03T01:29:42.646Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-03T01:29:42.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-11-03T01:29:42.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-11-03T01:29:42.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-11-03T01:29:42.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-03T01:29:42.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-03T01:29:42.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-03T01:29:42.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-03T01:29:42.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-03T01:29:42.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-03T01:29:42.977Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-03T01:29:43.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-03T01:29:43.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-03T01:29:43.079Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-03T01:29:43.118Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-03T01:29:43.155Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-03T01:29:43.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3791 [Pipeline] echo [2021-11-03T01:29:43.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3791 [Pipeline] echo [2021-11-03T01:29:43.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3791 [Pipeline] echo [2021-11-03T01:29:43.299Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 [Pipeline] echo [2021-11-03T01:29:43.341Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d86a8d9 [Pipeline] echo [2021-11-03T01:29:43.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-03T01:29:43.476Z] provisioning config files... [2021-11-03T01:29:43.490Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6216482551538933620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-03T01:29:43.831Z] ---> docker-login.sh [2021-11-03T01:29:43.831Z] nexus3.edgexfoundry.org:10001 [2021-11-03T01:29:43.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-03T01:29:44.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-03T01:29:44.095Z] Configure a credential helper to remove this warning. See [2021-11-03T01:29:44.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-03T01:29:44.095Z] [2021-11-03T01:29:44.095Z] Login Succeeded [2021-11-03T01:29:44.095Z] nexus3.edgexfoundry.org:10002 [2021-11-03T01:29:44.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-03T01:29:44.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-03T01:29:44.095Z] Configure a credential helper to remove this warning. See [2021-11-03T01:29:44.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-03T01:29:44.095Z] [2021-11-03T01:29:44.095Z] Login Succeeded [2021-11-03T01:29:44.095Z] nexus3.edgexfoundry.org:10003 [2021-11-03T01:29:44.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-03T01:29:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-03T01:29:44.360Z] Configure a credential helper to remove this warning. See [2021-11-03T01:29:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-03T01:29:44.360Z] [2021-11-03T01:29:44.360Z] Login Succeeded [2021-11-03T01:29:44.360Z] nexus3.edgexfoundry.org:10004 [2021-11-03T01:29:44.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-03T01:29:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-03T01:29:44.360Z] Configure a credential helper to remove this warning. See [2021-11-03T01:29:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-03T01:29:44.360Z] [2021-11-03T01:29:44.360Z] Login Succeeded [2021-11-03T01:29:44.360Z] docker.io [2021-11-03T01:29:44.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-03T01:29:44.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-03T01:29:44.930Z] Configure a credential helper to remove this warning. See [2021-11-03T01:29:44.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-03T01:29:44.930Z] [2021-11-03T01:29:44.930Z] Login Succeeded [2021-11-03T01:29:44.930Z] ---> docker-login.sh ends [Pipeline] } [2021-11-03T01:29:44.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-03T01:29:45.338Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/core-command/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo core-command,cmd/core-command/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/core-data/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo core-data,cmd/core-data/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/core-metadata/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/support-notifications/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-11-03T01:29:45.339Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-03T01:29:45.339Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-11-03T01:29:45.339Z] ++ cut -d/ -f2 [2021-11-03T01:29:45.339Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-11-03T01:29:45.395Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-03T01:29:45.880Z] + git rev-list -1 --merges d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2~1..d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 [Pipeline] echo [2021-11-03T01:29:45.906Z] -----------> git rev-list -1 --merges d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2~1..d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 [false] [Pipeline] sh [2021-11-03T01:29:46.216Z] + git log --format=format:%s -1 d86a8d9cc1a7850e45f324d33ed68995a7a7b9b2 [Pipeline] echo [2021-11-03T01:29:46.248Z] ========================================================= [2021-11-03T01:29:46.248Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-03T01:29:46.248Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-11-03T01:29:47.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-03T01:29:47.062Z] [2021-11-03T01:29:47.062Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-03T01:29:47.397Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-03T01:29:47.397Z] latest: Pulling from edgex-devops/git-semver [2021-11-03T01:29:47.397Z] a0d0a0d46f8b: Pulling fs layer [2021-11-03T01:29:47.397Z] 3e5f54012d9b: Pulling fs layer [2021-11-03T01:29:47.397Z] 4c7163046ea9: Pulling fs layer [2021-11-03T01:29:47.397Z] 0c2d73faf560: Pulling fs layer [2021-11-03T01:29:47.397Z] 0c2d73faf560: Waiting [2021-11-03T01:29:47.397Z] 3e5f54012d9b: Verifying Checksum [2021-11-03T01:29:47.397Z] 3e5f54012d9b: Download complete [2021-11-03T01:29:47.397Z] a0d0a0d46f8b: Verifying Checksum [2021-11-03T01:29:47.397Z] a0d0a0d46f8b: Download complete [2021-11-03T01:29:47.397Z] 0c2d73faf560: Verifying Checksum [2021-11-03T01:29:47.397Z] 0c2d73faf560: Download complete [2021-11-03T01:29:47.397Z] 4c7163046ea9: Verifying Checksum [2021-11-03T01:29:47.397Z] 4c7163046ea9: Download complete [2021-11-03T01:29:47.661Z] a0d0a0d46f8b: Pull complete [2021-11-03T01:29:47.661Z] 3e5f54012d9b: Pull complete [2021-11-03T01:29:47.923Z] 4c7163046ea9: Pull complete [2021-11-03T01:29:48.188Z] 0c2d73faf560: Pull complete [2021-11-03T01:29:48.188Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-03T01:29:48.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-03T01:29:48.188Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-03T01:29:48.267Z] prd-centos7-docker-4c-2g-14113 does not seem to be running inside a container [2021-11-03T01:29:48.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-03T01:29:48.935Z] $ docker top 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-03T01:29:49.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-03T01:29:49.097Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-03T01:29:49.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-03T01:29:49.217Z] $ docker exec 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 ssh-agent [2021-11-03T01:29:49.324Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjKPFB/agent.14 [2021-11-03T01:29:49.324Z] SSH_AGENT_PID=20 [2021-11-03T01:29:49.333Z] Running ssh-add (command line suppressed) [2021-11-03T01:29:49.421Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_1913476161278371710.key (/w/workspace/edgex-go/1@tmp/private_key_1913476161278371710.key) [2021-11-03T01:29:49.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-03T01:29:49.763Z] + git tag --points-at HEAD [Pipeline] } [2021-11-03T01:29:49.778Z] $ docker exec --env ******** --env ******** 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 ssh-agent -k [2021-11-03T01:29:49.871Z] unset SSH_AUTH_SOCK; [2021-11-03T01:29:49.871Z] unset SSH_AGENT_PID; [2021-11-03T01:29:49.871Z] echo Agent pid 20 killed; [2021-11-03T01:29:49.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-03T01:29:49.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-03T01:29:49.951Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-03T01:29:50.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-03T01:29:50.084Z] $ docker exec 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 ssh-agent [2021-11-03T01:29:50.195Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXihfMNI/agent.53 [2021-11-03T01:29:50.195Z] SSH_AGENT_PID=59 [2021-11-03T01:29:50.199Z] Running ssh-add (command line suppressed) [2021-11-03T01:29:50.312Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_1532793778684297238.key (/w/workspace/edgex-go/1@tmp/private_key_1532793778684297238.key) [2021-11-03T01:29:50.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-03T01:29:50.655Z] + git semver init [2021-11-03T01:29:50.655Z] # -> Open(): unable to determine branch for HEAD [2021-11-03T01:29:50.655Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-11-03T01:29:50.655Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-11-03T01:29:50.655Z] # $SEMVER_REMOTE_NAME = origin [2021-11-03T01:29:50.655Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-03T01:29:50.655Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-03T01:29:50.655Z] # $SEMVER_BRANCH = PR-3791 [2021-11-03T01:29:50.655Z] # $SEMVER_TEMP = /tmp/semver-569904087 [2021-11-03T01:29:50.655Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-11-03T01:30:05.635Z] # '/tmp/semver-569904087' -> '/w/workspace/edgex-go/1/.semver' [2021-11-03T01:30:05.635Z] # -> Force: false [2021-11-03T01:30:05.635Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-11-03T01:30:05.652Z] $ docker exec --env ******** --env ******** 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 ssh-agent -k [2021-11-03T01:30:05.751Z] unset SSH_AUTH_SOCK; [2021-11-03T01:30:05.751Z] unset SSH_AGENT_PID; [2021-11-03T01:30:05.751Z] echo Agent pid 59 killed; [2021-11-03T01:30:05.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-03T01:30:06.165Z] + git semver [Pipeline] } [2021-11-03T01:30:06.191Z] $ docker stop --time=1 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 [2021-11-03T01:30:08.405Z] $ docker rm -f 3e5c6643cc2838fe5ce1eb92eb52589636aa4873ab89785c3ecb380e34792f76 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-03T01:30:08.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-03T01:30:09.172Z] Stashed 1 file(s) [Pipeline] echo [2021-11-03T01:30:09.188Z] [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-11-03T01:30:09.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-03T01:30:09.706Z] ========================================================= [2021-11-03T01:30:09.706Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-03T01:30:09.706Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-11-03T01:30:10.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-03T01:30:10.037Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-03T01:30:10.037Z] a0d0a0d46f8b: Already exists [2021-11-03T01:30:10.037Z] 31adcdaf11c8: Pulling fs layer [2021-11-03T01:30:10.037Z] b8b176561691: Pulling fs layer [2021-11-03T01:30:10.037Z] 4527c011a84f: Pulling fs layer [2021-11-03T01:30:10.037Z] 5d74067f8e1e: Pulling fs layer [2021-11-03T01:30:10.037Z] e0aca202a116: Pulling fs layer [2021-11-03T01:30:10.037Z] 3a43be97a3b4: Pulling fs layer [2021-11-03T01:30:10.037Z] 34cad66bf833: Pulling fs layer [2021-11-03T01:30:10.037Z] b4e3c513aaa6: Pulling fs layer [2021-11-03T01:30:10.037Z] 5d74067f8e1e: Waiting [2021-11-03T01:30:10.037Z] 3a43be97a3b4: Waiting [2021-11-03T01:30:10.037Z] 34cad66bf833: Waiting [2021-11-03T01:30:10.037Z] e0aca202a116: Waiting [2021-11-03T01:30:10.037Z] b4e3c513aaa6: Waiting [2021-11-03T01:30:10.037Z] b8b176561691: Verifying Checksum [2021-11-03T01:30:10.037Z] b8b176561691: Download complete [2021-11-03T01:30:10.037Z] 31adcdaf11c8: Verifying Checksum [2021-11-03T01:30:10.037Z] 31adcdaf11c8: Download complete [2021-11-03T01:30:10.037Z] 5d74067f8e1e: Verifying Checksum [2021-11-03T01:30:10.037Z] 5d74067f8e1e: Download complete [2021-11-03T01:30:10.037Z] e0aca202a116: Verifying Checksum [2021-11-03T01:30:10.037Z] e0aca202a116: Download complete [2021-11-03T01:30:10.037Z] 3a43be97a3b4: Verifying Checksum [2021-11-03T01:30:10.037Z] 3a43be97a3b4: Download complete [2021-11-03T01:30:10.298Z] 31adcdaf11c8: Pull complete [2021-11-03T01:30:10.298Z] b8b176561691: Pull complete [2021-11-03T01:30:10.298Z] 34cad66bf833: Verifying Checksum [2021-11-03T01:30:10.298Z] 34cad66bf833: Download complete [2021-11-03T01:30:10.873Z] 4527c011a84f: Verifying Checksum [2021-11-03T01:30:10.873Z] 4527c011a84f: Download complete [2021-11-03T01:30:10.873Z] b4e3c513aaa6: Verifying Checksum [2021-11-03T01:30:10.873Z] b4e3c513aaa6: Download complete [2021-11-03T01:30:15.105Z] 4527c011a84f: Pull complete [2021-11-03T01:30:15.105Z] 5d74067f8e1e: Pull complete [2021-11-03T01:30:15.105Z] e0aca202a116: Pull complete [2021-11-03T01:30:15.105Z] 3a43be97a3b4: Pull complete [2021-11-03T01:30:15.105Z] 34cad66bf833: Pull complete [2021-11-03T01:30:17.043Z] b4e3c513aaa6: Pull complete [2021-11-03T01:30:17.043Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-03T01:30:17.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-03T01:30:17.043Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-11-03T01:30:17.406Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-03T01:30:17.406Z] WORKDIR /edgex [2021-11-03T01:30:17.406Z] COPY go.mod . [2021-11-03T01:30:17.406Z] RUN go mod download' [2021-11-03T01:30:17.406Z] + docker build -t ci-base-image-x86_64 -f - . [2021-11-03T01:30:19.375Z] Sending build context to Docker daemon 329.9MB [2021-11-03T01:30:19.375Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-03T01:30:19.375Z] ---> 9f6097aaca64 [2021-11-03T01:30:19.375Z] Step 2/4 : WORKDIR /edgex [2021-11-03T01:30:20.334Z] ---> Running in 8e963ff0de7d [2021-11-03T01:30:20.334Z] Removing intermediate container 8e963ff0de7d [2021-11-03T01:30:20.334Z] ---> b91077ac642a [2021-11-03T01:30:20.334Z] Step 3/4 : COPY go.mod . [2021-11-03T01:30:20.334Z] ---> 4f65e7ee4a0a [2021-11-03T01:30:20.334Z] Step 4/4 : RUN go mod download [2021-11-03T01:30:20.334Z] ---> Running in 3ab7a49759df [2021-11-03T01:30:24.548Z] Still waiting to schedule task [2021-11-03T01:30:24.548Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-03T01:30:59.122Z] Removing intermediate container 3ab7a49759df [2021-11-03T01:30:59.122Z] ---> 672a96033453 [2021-11-03T01:30:59.122Z] Successfully built 672a96033453 [2021-11-03T01:30:59.122Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-03T01:30:59.445Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-03T01:30:59.445Z] . [Pipeline] withDockerContainer [2021-11-03T01:30:59.521Z] prd-centos7-docker-4c-2g-14113 does not seem to be running inside a container [2021-11-03T01:30:59.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-03T01:30:59.910Z] $ docker top 3e45c3dc6911bc3ff5ca2f581fc0be8d061974f106df4cf7c786b058dfedde9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-03T01:31:00.295Z] + go version [2021-11-03T01:31:00.295Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-03T01:31:00.323Z] $ docker stop --time=1 3e45c3dc6911bc3ff5ca2f581fc0be8d061974f106df4cf7c786b058dfedde9e [2021-11-03T01:31:01.512Z] $ docker rm -f 3e45c3dc6911bc3ff5ca2f581fc0be8d061974f106df4cf7c786b058dfedde9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-03T01:31:02.203Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-03T01:31:02.203Z] . [Pipeline] withDockerContainer [2021-11-03T01:31:02.280Z] prd-centos7-docker-4c-2g-14113 does not seem to be running inside a container [2021-11-03T01:31:02.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-03T01:31:02.648Z] $ docker top b1ca6c01aecf361570c8c396882b2e9b3add6f6a4cc37426740053d95da5ad08 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-03T01:31:02.746Z] ========================================================= [2021-11-03T01:31:02.746Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-11-03T01:31:02.746Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-11-03T01:31:03.073Z] + make test [2021-11-03T01:31:03.073Z] go mod tidy [2021-11-03T01:31:03.346Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-03T01:31:08.693Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-11-03T01:31:27.017Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-11-03T01:31:31.284Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-11-03T01:31:31.284Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-11-03T01:31:31.860Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-11-03T01:31:34.458Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-11-03T01:31:34.728Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-11-03T01:31:34.728Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-11-03T01:31:34.728Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-11-03T01:31:35.672Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-11-03T01:31:35.673Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-11-03T01:31:35.939Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-11-03T01:31:35.939Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-11-03T01:31:35.939Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-11-03T01:31:35.939Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-11-03T01:31:37.901Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.061s coverage: 28.7% of statements [2021-11-03T01:31:37.901Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-11-03T01:31:37.901Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-11-03T01:31:38.861Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.063s coverage: 98.5% of statements [2021-11-03T01:31:38.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-11-03T01:31:39.125Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.072s coverage: 44.7% of statements [2021-11-03T01:31:39.125Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-11-03T01:31:39.125Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-11-03T01:31:40.095Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.132s coverage: 89.5% of statements [2021-11-03T01:31:40.095Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-11-03T01:31:40.095Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-11-03T01:31:41.040Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.075s coverage: 84.4% of statements [2021-11-03T01:31:41.040Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-11-03T01:31:41.040Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-11-03T01:31:41.040Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-11-03T01:31:41.040Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-11-03T01:31:41.040Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-11-03T01:31:42.014Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.282s coverage: 94.2% of statements [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-11-03T01:31:42.014Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.051s coverage: 59.1% of statements [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-11-03T01:31:42.014Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-11-03T01:31:42.276Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.073s coverage: 60.0% of statements [2021-11-03T01:31:42.276Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-11-03T01:31:42.276Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-11-03T01:31:42.276Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-11-03T01:31:43.690Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.066s coverage: 0.9% of statements [2021-11-03T01:31:43.690Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-11-03T01:31:43.690Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2021-11-03T01:31:43.690Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.055s coverage: 21.7% of statements [2021-11-03T01:31:43.690Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-11-03T01:31:43.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.055s coverage: 47.1% of statements [2021-11-03T01:31:45.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.064s coverage: 79.5% of statements [2021-11-03T01:31:45.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.051s coverage: 94.1% of statements [2021-11-03T01:31:45.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.072s coverage: 96.3% of statements [2021-11-03T01:31:45.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.044s coverage: 87.5% of statements [2021-11-03T01:31:57.576Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.049s coverage: 94.4% of statements [2021-11-03T01:31:57.576Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.043s coverage: 44.8% of statements [2021-11-03T01:32:01.782Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.190s coverage: 82.5% of statements [2021-11-03T01:32:01.782Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.074s coverage: 92.9% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.063s coverage: 87.2% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.050s coverage: 100.0% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.0% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.077s coverage: 87.2% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 85.4% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.135s coverage: 91.2% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.123s coverage: 64.4% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.053s coverage: 100.0% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.023s coverage: 73.7% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.273s coverage: 65.4% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.128s coverage: 43.8% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.050s coverage: 89.5% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-11-03T01:32:23.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements [2021-11-03T01:32:23.748Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.059s coverage: 17.7% of statements [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.134s coverage: 92.3% of statements [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.051s coverage: 63.2% of statements [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.086s coverage: 97.7% of statements [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-11-03T01:32:29.045Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements [2021-11-03T01:32:29.045Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements [2021-11-03T01:32:29.045Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-11-03T01:33:07.882Z] GO111MODULE=on go vet ./... [2021-11-03T01:33:12.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-03T01:33:12.139Z] ./snap/local/hooks/cmd/configure/configure.go [2021-11-03T01:33:12.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-03T01:33:12.139Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-11-03T01:33:12.173Z] $ docker stop --time=1 b1ca6c01aecf361570c8c396882b2e9b3add6f6a4cc37426740053d95da5ad08 [2021-11-03T01:33:13.504Z] $ docker rm -f b1ca6c01aecf361570c8c396882b2e9b3add6f6a4cc37426740053d95da5ad08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-03T01:33:14.733Z] Failed in branch amd64 [2021-11-03T07:29:40.256Z] Cancelling nested steps due to timeout [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-03T07:29:40.522Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" 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] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-03T07:29:42.258Z] + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:42.584Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:43.178Z] ---> package-listing.sh [2021-11-03T07:29:43.178Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-03T07:29:43.178Z] ++ facter osfamily [2021-11-03T07:29:43.441Z] + OS_FAMILY=redhat [2021-11-03T07:29:43.441Z] + workspace=/w/workspace/edgex-go/1 [2021-11-03T07:29:43.441Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-03T07:29:43.441Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-03T07:29:43.441Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-03T07:29:43.441Z] + PACKAGES=/tmp/packages_start.txt [2021-11-03T07:29:43.441Z] + '[' /w/workspace/edgex-go/1 ']' [2021-11-03T07:29:43.441Z] + PACKAGES=/tmp/packages_end.txt [2021-11-03T07:29:43.441Z] + case "${OS_FAMILY}" in [2021-11-03T07:29:43.441Z] + rpm -qa [2021-11-03T07:29:43.441Z] + sort [2021-11-03T07:29:44.010Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-03T07:29:44.010Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-03T07:29:44.010Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-03T07:29:44.010Z] + '[' /w/workspace/edgex-go/1 ']' [2021-11-03T07:29:44.010Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-11-03T07:29:44.010Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-11-03T07:29:44.033Z] 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-03T07:29:44.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-03T07:29:44.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-03T07:29:44.920Z] [2021-11-03T07:29:44.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-03T07:29:45.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-03T07:29:45.258Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-03T07:29:45.258Z] b4d181a07f80: Pulling fs layer [2021-11-03T07:29:45.258Z] a1111a8f2ec3: Pulling fs layer [2021-11-03T07:29:45.258Z] ed53099fbce6: Pulling fs layer [2021-11-03T07:29:45.258Z] dc539afda2c1: Pulling fs layer [2021-11-03T07:29:45.258Z] 77bc0d833cb6: Pulling fs layer [2021-11-03T07:29:45.258Z] 9065ff56babe: Pulling fs layer [2021-11-03T07:29:45.258Z] d287ab97295c: Pulling fs layer [2021-11-03T07:29:45.258Z] dc539afda2c1: Waiting [2021-11-03T07:29:45.258Z] 77bc0d833cb6: Waiting [2021-11-03T07:29:45.258Z] 9065ff56babe: Waiting [2021-11-03T07:29:45.258Z] d287ab97295c: Waiting [2021-11-03T07:29:45.258Z] a1111a8f2ec3: Verifying Checksum [2021-11-03T07:29:45.258Z] a1111a8f2ec3: Download complete [2021-11-03T07:29:45.258Z] dc539afda2c1: Verifying Checksum [2021-11-03T07:29:45.258Z] dc539afda2c1: Download complete [2021-11-03T07:29:45.527Z] ed53099fbce6: Verifying Checksum [2021-11-03T07:29:45.527Z] ed53099fbce6: Download complete [2021-11-03T07:29:45.527Z] 9065ff56babe: Verifying Checksum [2021-11-03T07:29:45.527Z] 9065ff56babe: Download complete [2021-11-03T07:29:45.527Z] 77bc0d833cb6: Verifying Checksum [2021-11-03T07:29:45.527Z] 77bc0d833cb6: Download complete [2021-11-03T07:29:45.527Z] b4d181a07f80: Verifying Checksum [2021-11-03T07:29:45.527Z] b4d181a07f80: Download complete [2021-11-03T07:29:46.102Z] d287ab97295c: Verifying Checksum [2021-11-03T07:29:46.102Z] d287ab97295c: Download complete [2021-11-03T07:29:47.058Z] b4d181a07f80: Pull complete [2021-11-03T07:29:47.058Z] a1111a8f2ec3: Pull complete [2021-11-03T07:29:47.660Z] ed53099fbce6: Pull complete [2021-11-03T07:29:47.660Z] dc539afda2c1: Pull complete [2021-11-03T07:29:47.921Z] 77bc0d833cb6: Pull complete [2021-11-03T07:29:47.921Z] 9065ff56babe: Pull complete [2021-11-03T07:29:53.265Z] d287ab97295c: Pull complete [2021-11-03T07:29:53.265Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-03T07:29:53.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-03T07:29:53.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-03T07:29:53.349Z] prd-centos7-docker-4c-2g-14113 does not seem to be running inside a container [2021-11-03T07:29:53.381Z] $ 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/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-03T07:29:55.581Z] $ docker top 27d529d5adf7854396780f4e0243e79dc11dbc87ca3e4470d1c55f04a1b221cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-03T07:29:55.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-03T07:29:56.374Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-03T07:29:56.680Z] + ls /var/log/sa-host [2021-11-03T07:29:56.680Z] + sadf -c /var/log/sa-host/sa03 [2021-11-03T07:29:56.680Z] file_magic: OK [2021-11-03T07:29:56.680Z] HZ: Using current value: 100 [2021-11-03T07:29:56.680Z] file_header: OK [2021-11-03T07:29:56.680Z] 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-11-03T07:29:56.680Z] Statistics: [2021-11-03T07:29:56.681Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-03T07:29:56.681Z] File successfully converted to sysstat format version 12.0.3 [2021-11-03T07:29:56.681Z] + sadf -c /var/log/sa-host/sa30 [2021-11-03T07:29:56.681Z] file_magic: OK [2021-11-03T07:29:56.681Z] HZ: Using current value: 100 [2021-11-03T07:29:56.681Z] file_header: OK [2021-11-03T07:29:56.681Z] 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-11-03T07:29:56.681Z] Statistics: [2021-11-03T07:29:56.681Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-03T07:29:56.681Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-03T07:29:56.988Z] provisioning config files... [2021-11-03T07:29:56.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config6267631414598847769tmp [Pipeline] { [Pipeline] echo [2021-11-03T07:29:57.033Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:57.348Z] ---> create-netrc.sh [Pipeline] } [2021-11-03T07:29:57.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:57.779Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-03T07:29:57.807Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:58.120Z] ---> sudo-logs.sh [2021-11-03T07:29:58.120Z] Archiving 'sudo' log.. [2021-11-03T07:29:58.120Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-14113.novalocal: Name or service not known [2021-11-03T07:29:58.120Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-14113.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-03T07:29:58.189Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:58.509Z] ---> job-cost.sh [2021-11-03T07:29:58.509Z] lf-activate-venv: SKIPPING [2021-11-03T07:29:58.509Z] INFO: No Stack... [2021-11-03T07:29:58.768Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-03T07:29:59.340Z] INFO: Archiving Costs [Pipeline] echo [2021-11-03T07:29:59.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-03T07:29:59.691Z] ---> logs-deploy.sh [2021-11-03T07:29:59.691Z] lf-activate-venv: SKIPPING [2021-11-03T07:29:59.691Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3791/1 [2021-11-03T07:29:59.691Z] INFO: archiving workspace using pattern(s): [2021-11-03T07:30:00.260Z] Archives upload complete. [2021-11-03T07:30:00.521Z] INFO: archiving logs to Nexus