Branch indexing 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 edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 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-ssh5934301779560569846.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh5276777605048013728.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13989676596794441230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2207776978875152328.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13213907595362681774.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.17 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4220 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/16 [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/16 # 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/16@tmp/jenkins-gitclient-ssh8879262466623884126.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/16@tmp/jenkins-gitclient-ssh5727965682699469001.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Merge succeeded, producing 4f02799c2e49c0b2412899c4cf72544a1465f7b9 Checking out Revision 4f02799c2e49c0b2412899c4cf72544a1465f7b9 (PR-3842) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # 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/edgex-go/16@tmp/jenkins-gitclient-ssh5396941719509490357.key > git merge 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f02799c2e49c0b2412899c4cf72544a1465f7b9 # timeout=10 Commit message: "Merge commit '6e64952caa3c3a65fc9a01095a97c9e8f8653b98' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 62766322485d4452473c19c7d9b822bd905f83a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-29T20:29:25.331Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-29T20:29:25.383Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-29T20:29:25.405Z] ========================================================= [2022-01-29T20:29:25.405Z] EdgeX Global Pipelines Version Info [2022-01-29T20:29:25.405Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:29:26.558Z] ------------------- [2022-01-29T20:29:26.558Z] stable info: [2022-01-29T20:29:26.558Z] ------------------- [2022-01-29T20:29:26.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-29T20:29:26.558Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-29T20:29:26.558Z] Message: update stable to v1.0.219 [2022-01-29T20:29:27.140Z] ------------------- [2022-01-29T20:29:27.140Z] experimental info: [2022-01-29T20:29:27.140Z] ------------------- [2022-01-29T20:29:27.140Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-29T20:29:27.140Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-29T20:29:27.140Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-29T20:29:27.287Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-01-29T20:29:27.303Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-01-29T20:29:27.318Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-29T20:29:27.331Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-29T20:29:27.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-29T20:29:27.360Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-29T20:29:27.371Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-29T20:29:27.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-01-29T20:29:27.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-01-29T20:29:27.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-01-29T20:29:27.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-29T20:29:27.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-29T20:29:27.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-29T20:29:27.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-29T20:29:27.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-29T20:29:27.480Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-29T20:29:27.493Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-29T20:29:27.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-29T20:29:27.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-29T20:29:27.525Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-29T20:29:27.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-29T20:29:27.549Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-29T20:29:27.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-01-29T20:29:27.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-01-29T20:29:27.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-01-29T20:29:27.609Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f02799c2e49c0b2412899c4cf72544a1465f7b9 [Pipeline] echo [2022-01-29T20:29:27.622Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f02799 [Pipeline] echo [2022-01-29T20:29:27.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-29T20:29:27.678Z] provisioning config files... [2022-01-29T20:29:27.694Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/16@tmp/config1577157748687501362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:29:28.009Z] ---> docker-login.sh [2022-01-29T20:29:28.010Z] nexus3.edgexfoundry.org:10001 [2022-01-29T20:29:28.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:29:28.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:29:28.272Z] Configure a credential helper to remove this warning. See [2022-01-29T20:29:28.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:29:28.272Z] [2022-01-29T20:29:28.272Z] Login Succeeded [2022-01-29T20:29:28.272Z] nexus3.edgexfoundry.org:10002 [2022-01-29T20:29:28.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:29:28.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:29:28.272Z] Configure a credential helper to remove this warning. See [2022-01-29T20:29:28.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:29:28.272Z] [2022-01-29T20:29:28.272Z] Login Succeeded [2022-01-29T20:29:28.272Z] nexus3.edgexfoundry.org:10003 [2022-01-29T20:29:28.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:29:28.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:29:28.543Z] Configure a credential helper to remove this warning. See [2022-01-29T20:29:28.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:29:28.543Z] [2022-01-29T20:29:28.543Z] Login Succeeded [2022-01-29T20:29:28.543Z] nexus3.edgexfoundry.org:10004 [2022-01-29T20:29:28.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:29:28.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:29:28.543Z] Configure a credential helper to remove this warning. See [2022-01-29T20:29:28.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:29:28.543Z] [2022-01-29T20:29:28.543Z] Login Succeeded [2022-01-29T20:29:28.543Z] docker.io [2022-01-29T20:29:28.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:29:29.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:29:29.116Z] Configure a credential helper to remove this warning. See [2022-01-29T20:29:29.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:29:29.116Z] [2022-01-29T20:29:29.116Z] Login Succeeded [2022-01-29T20:29:29.116Z] ---> docker-login.sh ends [Pipeline] } [2022-01-29T20:29:29.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-29T20:29:29.442Z] ++ 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 [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/core-command/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo core-command,cmd/core-command/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/core-data/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo core-data,cmd/core-data/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/core-metadata/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/support-notifications/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-01-29T20:29:29.442Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.442Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-01-29T20:29:29.442Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-29T20:29:29.442Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-01-29T20:29:29.443Z] ++ cut -d/ -f2 [2022-01-29T20:29:29.443Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-01-29T20:29:29.483Z] 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 [2022-01-29T20:29:29.861Z] + git rev-list -1 --merges 4f02799c2e49c0b2412899c4cf72544a1465f7b9~1..4f02799c2e49c0b2412899c4cf72544a1465f7b9 [Pipeline] echo [2022-01-29T20:29:29.875Z] -----------> git rev-list -1 --merges 4f02799c2e49c0b2412899c4cf72544a1465f7b9~1..4f02799c2e49c0b2412899c4cf72544a1465f7b9 4f02799c2e49c0b2412899c4cf72544a1465f7b9 [2022-01-29T20:29:29.875Z] 4f02799c2e49c0b2412899c4cf72544a1465f7b9 [false] [Pipeline] sh [2022-01-29T20:29:30.171Z] + git log --format=format:%s -1 4f02799c2e49c0b2412899c4cf72544a1465f7b9 [Pipeline] echo [2022-01-29T20:29:30.189Z] ========================================================= [2022-01-29T20:29:30.189Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-29T20:29:30.189Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-01-29T20:29:30.730Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-29T20:29:30.730Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-29T20:29:30.730Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-29T20:29:30.730Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-29T20:29:30.730Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-29T20:29:30.730Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-29T20:29:30.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:29:31.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-29T20:29:31.161Z] [2022-01-29T20:29:31.161Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:29:31.473Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-29T20:29:31.473Z] latest: Pulling from edgex-devops/git-semver [2022-01-29T20:29:31.473Z] a0d0a0d46f8b: Pulling fs layer [2022-01-29T20:29:31.473Z] 3e5f54012d9b: Pulling fs layer [2022-01-29T20:29:31.473Z] 4c7163046ea9: Pulling fs layer [2022-01-29T20:29:31.473Z] 0c2d73faf560: Pulling fs layer [2022-01-29T20:29:31.473Z] 0c2d73faf560: Waiting [2022-01-29T20:29:31.473Z] 3e5f54012d9b: Verifying Checksum [2022-01-29T20:29:31.473Z] 3e5f54012d9b: Download complete [2022-01-29T20:29:31.473Z] a0d0a0d46f8b: Verifying Checksum [2022-01-29T20:29:31.473Z] a0d0a0d46f8b: Download complete [2022-01-29T20:29:31.473Z] 4c7163046ea9: Verifying Checksum [2022-01-29T20:29:31.473Z] 4c7163046ea9: Download complete [2022-01-29T20:29:31.747Z] 0c2d73faf560: Verifying Checksum [2022-01-29T20:29:31.747Z] 0c2d73faf560: Download complete [2022-01-29T20:29:31.747Z] a0d0a0d46f8b: Pull complete [2022-01-29T20:29:31.747Z] 3e5f54012d9b: Pull complete [2022-01-29T20:29:32.009Z] 4c7163046ea9: Pull complete [2022-01-29T20:29:32.272Z] 0c2d73faf560: Pull complete [2022-01-29T20:29:32.272Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-29T20:29:32.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-29T20:29:32.272Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-29T20:29:32.357Z] prd-centos7-docker-4c-2g-4220 does not seem to be running inside a container [2022-01-29T20:29:32.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-29T20:29:33.204Z] $ docker top 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-29T20:29:33.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-29T20:29:33.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-29T20:29:33.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-29T20:29:33.431Z] $ docker exec 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 ssh-agent [2022-01-29T20:29:33.544Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhNhdmF/agent.14 [2022-01-29T20:29:33.544Z] SSH_AGENT_PID=20 [2022-01-29T20:29:33.552Z] Running ssh-add (command line suppressed) [2022-01-29T20:29:33.655Z] Identity added: /w/workspace/edgex-go/16@tmp/private_key_7876845695338414715.key (/w/workspace/edgex-go/16@tmp/private_key_7876845695338414715.key) [2022-01-29T20:29:33.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-29T20:29:33.980Z] + git tag --points-at HEAD [Pipeline] } [2022-01-29T20:29:34.000Z] $ docker exec --env ******** --env ******** 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 ssh-agent -k [2022-01-29T20:29:34.120Z] unset SSH_AUTH_SOCK; [2022-01-29T20:29:34.121Z] unset SSH_AGENT_PID; [2022-01-29T20:29:34.121Z] echo Agent pid 20 killed; [2022-01-29T20:29:34.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-29T20:29:34.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-29T20:29:34.156Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-29T20:29:34.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-29T20:29:34.271Z] $ docker exec 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 ssh-agent [2022-01-29T20:29:34.377Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjKMlIg/agent.53 [2022-01-29T20:29:34.377Z] SSH_AGENT_PID=59 [2022-01-29T20:29:34.383Z] Running ssh-add (command line suppressed) [2022-01-29T20:29:34.479Z] Identity added: /w/workspace/edgex-go/16@tmp/private_key_5175965177706766003.key (/w/workspace/edgex-go/16@tmp/private_key_5175965177706766003.key) [2022-01-29T20:29:34.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-29T20:29:34.790Z] + git semver init [2022-01-29T20:29:34.790Z] # -> Open(): unable to determine branch for HEAD [2022-01-29T20:29:34.790Z] # $GIT_DIR = /w/workspace/edgex-go/16/.git [2022-01-29T20:29:34.790Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/16 [2022-01-29T20:29:34.790Z] # $SEMVER_REMOTE_NAME = origin [2022-01-29T20:29:34.790Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-29T20:29:34.790Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-29T20:29:34.790Z] # $SEMVER_BRANCH = PR-3842 [2022-01-29T20:29:34.790Z] # $SEMVER_TEMP = /tmp/semver-829678019 [2022-01-29T20:29:34.790Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-01-29T20:29:49.743Z] # '/tmp/semver-829678019' -> '/w/workspace/edgex-go/16/.semver' [2022-01-29T20:29:49.743Z] # -> Force: false [2022-01-29T20:29:49.743Z] # $SEMVER_DIR = /w/workspace/edgex-go/16/.semver [Pipeline] } [2022-01-29T20:29:49.754Z] $ docker exec --env ******** --env ******** 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 ssh-agent -k [2022-01-29T20:29:49.855Z] unset SSH_AUTH_SOCK; [2022-01-29T20:29:49.855Z] unset SSH_AGENT_PID; [2022-01-29T20:29:49.855Z] echo Agent pid 59 killed; [2022-01-29T20:29:49.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-29T20:29:50.170Z] + git semver [Pipeline] } [2022-01-29T20:29:50.185Z] $ docker stop --time=1 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 [2022-01-29T20:29:52.435Z] $ docker rm -f 474760de7d8238ccf153a6d2b1e8a549c3eedf1a0a2741e9fd5fb6bc5054cd47 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-29T20:29:52.819Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-29T20:29:53.043Z] Stashed 1 file(s) [Pipeline] echo [2022-01-29T20:29:53.047Z] [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 [2022-01-29T20:29:53.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-29T20:29:53.158Z] ========================================================= [2022-01-29T20:29:53.158Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-29T20:29:53.158Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-29T20:29:53.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-29T20:29:53.467Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-29T20:29:53.467Z] 59bf1c3509f3: Pulling fs layer [2022-01-29T20:29:53.467Z] 666ba61612fd: Pulling fs layer [2022-01-29T20:29:53.467Z] 8ed8ca486205: Pulling fs layer [2022-01-29T20:29:53.467Z] 4fe6c5a15a65: Pulling fs layer [2022-01-29T20:29:53.467Z] 22a0e8bec74d: Pulling fs layer [2022-01-29T20:29:53.467Z] f965cba54748: Pulling fs layer [2022-01-29T20:29:53.467Z] 861ffc35075e: Pulling fs layer [2022-01-29T20:29:53.467Z] 4b385c91608e: Pulling fs layer [2022-01-29T20:29:53.467Z] 560528eb2ebb: Pulling fs layer [2022-01-29T20:29:53.467Z] 4fe6c5a15a65: Waiting [2022-01-29T20:29:53.467Z] 22a0e8bec74d: Waiting [2022-01-29T20:29:53.467Z] f965cba54748: Waiting [2022-01-29T20:29:53.467Z] 861ffc35075e: Waiting [2022-01-29T20:29:53.467Z] 4b385c91608e: Waiting [2022-01-29T20:29:53.467Z] 560528eb2ebb: Waiting [2022-01-29T20:29:53.467Z] 8ed8ca486205: Verifying Checksum [2022-01-29T20:29:53.467Z] 8ed8ca486205: Download complete [2022-01-29T20:29:53.467Z] 666ba61612fd: Verifying Checksum [2022-01-29T20:29:53.467Z] 666ba61612fd: Download complete [2022-01-29T20:29:53.467Z] 22a0e8bec74d: Verifying Checksum [2022-01-29T20:29:53.467Z] 22a0e8bec74d: Download complete [2022-01-29T20:29:53.467Z] f965cba54748: Verifying Checksum [2022-01-29T20:29:53.467Z] f965cba54748: Download complete [2022-01-29T20:29:53.467Z] 59bf1c3509f3: Verifying Checksum [2022-01-29T20:29:53.467Z] 59bf1c3509f3: Download complete [2022-01-29T20:29:53.467Z] 861ffc35075e: Verifying Checksum [2022-01-29T20:29:53.467Z] 861ffc35075e: Download complete [2022-01-29T20:29:53.742Z] 4b385c91608e: Verifying Checksum [2022-01-29T20:29:53.742Z] 4b385c91608e: Download complete [2022-01-29T20:29:54.008Z] 59bf1c3509f3: Pull complete [2022-01-29T20:29:54.008Z] 560528eb2ebb: Verifying Checksum [2022-01-29T20:29:54.008Z] 560528eb2ebb: Download complete [2022-01-29T20:29:54.008Z] 4fe6c5a15a65: Verifying Checksum [2022-01-29T20:29:54.008Z] 4fe6c5a15a65: Download complete [2022-01-29T20:29:54.269Z] 666ba61612fd: Pull complete [2022-01-29T20:29:54.269Z] 8ed8ca486205: Pull complete [2022-01-29T20:29:58.522Z] 4fe6c5a15a65: Pull complete [2022-01-29T20:29:58.522Z] 22a0e8bec74d: Pull complete [2022-01-29T20:29:58.522Z] f965cba54748: Pull complete [2022-01-29T20:29:58.522Z] 861ffc35075e: Pull complete [2022-01-29T20:29:58.797Z] 4b385c91608e: Pull complete [2022-01-29T20:30:01.405Z] 560528eb2ebb: Pull complete [2022-01-29T20:30:01.405Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-29T20:30:01.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-29T20:30:01.405Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-29T20:30:01.714Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-29T20:30:01.714Z] WORKDIR /edgex [2022-01-29T20:30:01.714Z] COPY go.mod . [2022-01-29T20:30:01.714Z] RUN go mod download' [2022-01-29T20:30:01.714Z] + docker build -t ci-base-image-x86_64 -f - . [2022-01-29T20:30:04.275Z] Sending build context to Docker daemon 334MB [2022-01-29T20:30:04.275Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-29T20:30:04.275Z] ---> dd4a08f94e63 [2022-01-29T20:30:04.275Z] Step 2/4 : WORKDIR /edgex [2022-01-29T20:30:05.234Z] ---> Running in 064e3851d815 [2022-01-29T20:30:05.501Z] Removing intermediate container 064e3851d815 [2022-01-29T20:30:05.501Z] ---> 9b904108bc96 [2022-01-29T20:30:05.501Z] Step 3/4 : COPY go.mod . [2022-01-29T20:30:05.764Z] ---> 9c16a4609b75 [2022-01-29T20:30:05.764Z] Step 4/4 : RUN go mod download [2022-01-29T20:30:05.764Z] ---> Running in e10cc9704d73 [2022-01-29T20:30:08.116Z] Still waiting to schedule task [2022-01-29T20:30:08.116Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-29T20:30:52.525Z] Removing intermediate container e10cc9704d73 [2022-01-29T20:30:52.525Z] ---> f80e030db465 [2022-01-29T20:30:52.525Z] Successfully built f80e030db465 [2022-01-29T20:30:52.525Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:30:52.822Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-29T20:30:52.822Z] . [Pipeline] withDockerContainer [2022-01-29T20:30:52.888Z] prd-centos7-docker-4c-2g-4220 does not seem to be running inside a container [2022-01-29T20:30:52.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** ci-base-image-x86_64 cat [2022-01-29T20:30:53.302Z] $ docker top c909fc3e95f211fc6d93d99f6f785cce5d6ec2bf4c7ef207c91b19c020db909b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-29T20:30:53.657Z] + go version [2022-01-29T20:30:53.657Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-29T20:30:53.667Z] $ docker stop --time=1 c909fc3e95f211fc6d93d99f6f785cce5d6ec2bf4c7ef207c91b19c020db909b [2022-01-29T20:30:54.846Z] $ docker rm -f c909fc3e95f211fc6d93d99f6f785cce5d6ec2bf4c7ef207c91b19c020db909b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:30:55.239Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-29T20:30:55.239Z] . [Pipeline] withDockerContainer [2022-01-29T20:30:55.305Z] prd-centos7-docker-4c-2g-4220 does not seem to be running inside a container [2022-01-29T20:30:55.336Z] $ 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/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** ci-base-image-x86_64 cat [2022-01-29T20:30:55.674Z] $ docker top eb2a9596ff72551687d90698ff137f51a4cd6bddbe3ef8472fd84bc0bf236274 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-29T20:30:55.850Z] ========================================================= [2022-01-29T20:30:55.850Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-29T20:30:55.850Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-29T20:30:56.226Z] + make test [2022-01-29T20:30:56.226Z] go mod tidy [2022-01-29T20:30:56.226Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-29T20:31:02.859Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-29T20:31:25.014Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-29T20:31:30.356Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-29T20:31:30.356Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-29T20:31:30.627Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-29T20:31:32.566Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-29T20:31:33.150Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-29T20:31:33.150Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-29T20:31:33.150Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-29T20:31:33.730Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-29T20:31:33.993Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-29T20:31:34.259Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-29T20:31:34.259Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-29T20:31:34.259Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-29T20:31:34.259Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-29T20:31:35.684Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4222 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-01-29T20:31:35.696Z] Running in /w/workspace/edgex-go/16 [Pipeline] { [Pipeline] checkout [2022-01-29T20:31:35.870Z] The recommended git tool is: git [2022-01-29T20:31:36.180Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.058s coverage: 28.7% of statements [2022-01-29T20:31:36.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-29T20:31:36.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-29T20:31:36.789Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.048s coverage: 98.5% of statements [2022-01-29T20:31:36.789Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-29T20:31:37.367Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.052s coverage: 44.7% of statements [2022-01-29T20:31:37.367Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-29T20:31:37.367Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-29T20:31:37.941Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.112s coverage: 89.5% of statements [2022-01-29T20:31:37.941Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-29T20:31:37.941Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:31:39.330Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.051s coverage: 84.4% of statements [2022-01-29T20:31:39.330Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-29T20:31:39.330Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-29T20:31:39.330Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-29T20:31:39.330Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-29T20:31:39.330Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-29T20:31:39.926Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.307s coverage: 94.2% of statements [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:31:39.926Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.057s coverage: 59.1% of statements [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-29T20:31:39.926Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-29T20:31:40.512Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.061s coverage: 60.0% of statements [2022-01-29T20:31:40.512Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-29T20:31:40.512Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-29T20:31:40.512Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-29T20:31:40.702Z] using credential edgex-jenkins-ssh [2022-01-29T20:31:40.725Z] Cloning the remote Git repository [2022-01-29T20:31:40.782Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-01-29T20:31:40.855Z] > git init /w/workspace/edgex-go/16 # timeout=10 [2022-01-29T20:31:41.479Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.053s coverage: 0.9% of statements [2022-01-29T20:31:41.479Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-29T20:31:41.479Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.048s coverage: 58.8% of statements [2022-01-29T20:31:41.479Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.050s coverage: 21.7% of statements [2022-01-29T20:31:41.479Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-29T20:31:42.073Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.045s coverage: 47.1% of statements [2022-01-29T20:31:42.073Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.059s coverage: 79.5% of statements [2022-01-29T20:31:40.934Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-29T20:31:40.935Z] > git --version # timeout=10 [2022-01-29T20:31:40.960Z] > git --version # 'git version 2.17.1' [2022-01-29T20:31:40.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-29T20:31:41.020Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-29T20:31:42.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.043s coverage: 94.1% of statements [2022-01-29T20:31:42.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.062s coverage: 96.3% of statements [2022-01-29T20:31:42.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements [2022-01-29T20:31:54.859Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.065s coverage: 94.4% of statements [2022-01-29T20:31:54.859Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.044s coverage: 44.8% of statements [2022-01-29T20:31:55.970Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-29T20:31:55.986Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-29T20:31:56.013Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-29T20:31:56.053Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-29T20:31:56.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-29T20:31:56.074Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-29T20:31:56.900Z] Merging remotes/origin/main commit 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [2022-01-29T20:31:57.504Z] Merge succeeded, producing ad6d50be0ac41af52577970264dbfcfd0f7eb2f3 [2022-01-29T20:31:57.505Z] Checking out Revision ad6d50be0ac41af52577970264dbfcfd0f7eb2f3 (PR-3842) [2022-01-29T20:31:56.921Z] > git config core.sparsecheckout # timeout=10 [2022-01-29T20:31:56.936Z] > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [2022-01-29T20:31:57.219Z] > git remote # timeout=10 [2022-01-29T20:31:57.244Z] > git config --get remote.origin.url # timeout=10 [2022-01-29T20:31:57.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-29T20:31:57.268Z] > git merge 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 # timeout=10 [2022-01-29T20:31:57.489Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-29T20:31:57.513Z] > git config core.sparsecheckout # timeout=10 [2022-01-29T20:31:57.524Z] > git checkout -f ad6d50be0ac41af52577970264dbfcfd0f7eb2f3 # timeout=10 [2022-01-29T20:32:00.157Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.184s coverage: 82.5% of statements [2022-01-29T20:32:00.157Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-29T20:32:01.732Z] Commit message: "Merge commit '6e64952caa3c3a65fc9a01095a97c9e8f8653b98' into HEAD" [2022-01-29T20:32:01.757Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-29T20:32:01.743Z] > git rev-list --no-walk 62766322485d4452473c19c7d9b822bd905f83a1 # timeout=10 [2022-01-29T20:32:02.619Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-29T20:32:02.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-29T20:32:02.619Z] Dload Upload Total Spent Left Speed [2022-01-29T20:32:02.619Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 71775 0 --:--:-- --:--:-- --:--:-- 71775 [Pipeline] sh [2022-01-29T20:32:03.141Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-29T20:32:03.475Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-01-29T20:32:03.475Z] /etc/docker/daemon.new [2022-01-29T20:32:03.475Z] { [2022-01-29T20:32:03.475Z] "registry-mirrors": [ [2022-01-29T20:32:03.475Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-29T20:32:03.475Z] ], [2022-01-29T20:32:03.475Z] "bip": "10.250.0.254/24", [2022-01-29T20:32:03.475Z] "hosts": [ [2022-01-29T20:32:03.475Z] "tcp://0.0.0.0:5555", [2022-01-29T20:32:03.475Z] "unix:///var/run/docker.sock" [2022-01-29T20:32:03.475Z] ], [2022-01-29T20:32:03.475Z] "mtu": 1458, [2022-01-29T20:32:03.475Z] "selinux-enabled": true, [2022-01-29T20:32:03.475Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-29T20:32:03.475Z] } [Pipeline] sh [2022-01-29T20:32:03.817Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-29T20:32:04.219Z] + sudo service docker restart [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.083s coverage: 92.9% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.0% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 85.4% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.114s coverage: 91.2% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.147s coverage: 64.4% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.029s coverage: 73.7% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.024s coverage: 100.0% of statements [2022-01-29T20:32:18.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.211s coverage: 65.4% of statements [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-29T20:32:18.304Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-29T20:32:18.574Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.137s coverage: 43.8% of statements [2022-01-29T20:32:18.574Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-29T20:32:18.574Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-29T20:32:18.574Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.074s coverage: 89.5% of statements [2022-01-29T20:32:18.574Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-29T20:32:18.838Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.071s coverage: 84.8% of statements [2022-01-29T20:32:18.838Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-29T20:32:22.532Z] provisioning config files... [2022-01-29T20:32:22.553Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/16@tmp/config184102802320233148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:32:22.921Z] ---> docker-login.sh [2022-01-29T20:32:22.921Z] nexus3.edgexfoundry.org:10001 [2022-01-29T20:32:23.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:32:23.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:32:23.789Z] Configure a credential helper to remove this warning. See [2022-01-29T20:32:23.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:32:23.789Z] [2022-01-29T20:32:23.789Z] Login Succeeded [2022-01-29T20:32:23.789Z] nexus3.edgexfoundry.org:10002 [2022-01-29T20:32:24.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:32:24.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:32:24.062Z] Configure a credential helper to remove this warning. See [2022-01-29T20:32:24.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:32:24.062Z] [2022-01-29T20:32:24.062Z] Login Succeeded [2022-01-29T20:32:24.062Z] nexus3.edgexfoundry.org:10003 [2022-01-29T20:32:24.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:32:24.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:32:24.608Z] Configure a credential helper to remove this warning. See [2022-01-29T20:32:24.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:32:24.608Z] [2022-01-29T20:32:24.608Z] Login Succeeded [2022-01-29T20:32:24.608Z] nexus3.edgexfoundry.org:10004 [2022-01-29T20:32:24.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:32:24.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:32:24.884Z] Configure a credential helper to remove this warning. See [2022-01-29T20:32:24.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:32:24.884Z] [2022-01-29T20:32:24.884Z] Login Succeeded [2022-01-29T20:32:24.884Z] docker.io [2022-01-29T20:32:25.451Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.064s coverage: 17.7% of statements [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-29T20:32:25.451Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.130s coverage: 92.3% of statements [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-29T20:32:25.451Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-29T20:32:25.451Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.093s coverage: 97.7% of statements [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-29T20:32:25.451Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.056s coverage: 28.9% of statements [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-29T20:32:25.451Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-29T20:32:25.452Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-29T20:32:25.452Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements [2022-01-29T20:32:25.452Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-01-29T20:32:25.452Z] 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 [2022-01-29T20:32:25.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T20:32:25.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T20:32:25.751Z] Configure a credential helper to remove this warning. See [2022-01-29T20:32:25.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T20:32:25.751Z] [2022-01-29T20:32:25.751Z] Login Succeeded [2022-01-29T20:32:25.751Z] ---> docker-login.sh ends [Pipeline] } [2022-01-29T20:32:25.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-29T20:32:26.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-29T20:32:26.243Z] ========================================================= [2022-01-29T20:32:26.243Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-29T20:32:26.244Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-29T20:32:26.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-29T20:32:26.573Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-29T20:32:26.573Z] 9b3977197b4f: Pulling fs layer [2022-01-29T20:32:26.573Z] 1a89e8eeedd5: Pulling fs layer [2022-01-29T20:32:26.573Z] 94645a83ff95: Pulling fs layer [2022-01-29T20:32:26.573Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-29T20:32:26.573Z] 0c92f367c5e7: Pulling fs layer [2022-01-29T20:32:26.573Z] 4b8299f9d1f4: Pulling fs layer [2022-01-29T20:32:26.573Z] 9a6b49a46696: Pulling fs layer [2022-01-29T20:32:26.573Z] cf05db05a679: Pulling fs layer [2022-01-29T20:32:26.573Z] 9a6b49a46696: Waiting [2022-01-29T20:32:26.573Z] cf05db05a679: Waiting [2022-01-29T20:32:26.573Z] 0c92f367c5e7: Waiting [2022-01-29T20:32:26.573Z] 4b8299f9d1f4: Waiting [2022-01-29T20:32:26.573Z] 3f3a8bcf1eab: Waiting [2022-01-29T20:32:26.849Z] 94645a83ff95: Verifying Checksum [2022-01-29T20:32:26.849Z] 94645a83ff95: Download complete [2022-01-29T20:32:26.849Z] 1a89e8eeedd5: Verifying Checksum [2022-01-29T20:32:26.849Z] 1a89e8eeedd5: Download complete [2022-01-29T20:32:26.849Z] 0c92f367c5e7: Download complete [2022-01-29T20:32:26.849Z] 4b8299f9d1f4: Verifying Checksum [2022-01-29T20:32:26.849Z] 4b8299f9d1f4: Download complete [2022-01-29T20:32:26.849Z] 9b3977197b4f: Download complete [2022-01-29T20:32:26.849Z] 9a6b49a46696: Verifying Checksum [2022-01-29T20:32:26.849Z] 9a6b49a46696: Download complete [2022-01-29T20:32:27.451Z] 9b3977197b4f: Pull complete [2022-01-29T20:32:28.060Z] 1a89e8eeedd5: Pull complete [2022-01-29T20:32:28.664Z] 94645a83ff95: Pull complete [2022-01-29T20:32:28.664Z] cf05db05a679: Download complete [2022-01-29T20:32:29.647Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-29T20:32:29.647Z] 3f3a8bcf1eab: Download complete [2022-01-29T20:32:42.061Z] 3f3a8bcf1eab: Pull complete [2022-01-29T20:32:42.061Z] 0c92f367c5e7: Pull complete [2022-01-29T20:32:42.061Z] 4b8299f9d1f4: Pull complete [2022-01-29T20:32:42.061Z] 9a6b49a46696: Pull complete [2022-01-29T20:32:47.464Z] cf05db05a679: Pull complete [2022-01-29T20:32:47.464Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-29T20:32:47.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-29T20:32:47.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-29T20:32:47.811Z] + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-29T20:32:47.811Z] WORKDIR /edgex [2022-01-29T20:32:47.811Z] COPY go.mod . [2022-01-29T20:32:47.811Z] RUN go mod download [2022-01-29T20:32:47.811Z] docker build -t ci-base-image-arm64 -f - . [2022-01-29T20:32:50.432Z] Sending build context to Docker daemon 168.7MB [2022-01-29T20:32:50.432Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-29T20:32:50.432Z] ---> 0ccda1f7e2ee [2022-01-29T20:32:50.432Z] Step 2/4 : WORKDIR /edgex [2022-01-29T20:32:52.407Z] ---> Running in 4c7debaf5258 [2022-01-29T20:32:52.407Z] Removing intermediate container 4c7debaf5258 [2022-01-29T20:32:52.407Z] ---> 61b9a157f3d0 [2022-01-29T20:32:52.407Z] Step 3/4 : COPY go.mod . [2022-01-29T20:32:53.000Z] ---> bbfd42b0780c [2022-01-29T20:32:53.000Z] Step 4/4 : RUN go mod download [2022-01-29T20:32:53.000Z] ---> Running in 74c32d9118aa [2022-01-29T20:33:12.309Z] GO111MODULE=on go vet ./... [2022-01-29T20:33:13.736Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-29T20:33:13.736Z] ./internal/core/command/prometheus.go [2022-01-29T20:33:13.736Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-29T20:33:13.995Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2022-01-29T20:33:14.009Z] $ docker stop --time=1 eb2a9596ff72551687d90698ff137f51a4cd6bddbe3ef8472fd84bc0bf236274 [2022-01-29T20:33:15.452Z] $ docker rm -f eb2a9596ff72551687d90698ff137f51a4cd6bddbe3ef8472fd84bc0bf236274 [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] } [2022-01-29T20:33:16.059Z] Failed in branch amd64 [2022-01-29T20:34:14.798Z] Removing intermediate container 74c32d9118aa [2022-01-29T20:34:14.798Z] ---> aca85984ba29 [2022-01-29T20:34:14.798Z] Successfully built aca85984ba29 [2022-01-29T20:34:14.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:34:15.142Z] + docker inspect -f . ci-base-image-arm64 [2022-01-29T20:34:15.142Z] . [Pipeline] withDockerContainer [2022-01-29T20:34:15.344Z] prd-ubuntu18.04-docker-arm64-4c-16g-4222 does not seem to be running inside a container [2022-01-29T20:34:15.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** ci-base-image-arm64 cat [2022-01-29T20:34:16.858Z] $ docker top 113dbdb7ca0e6d6a2065aad5df13741e2a59ebc8be43dbf2914242684d0fba49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-29T20:34:17.770Z] + go version [2022-01-29T20:34:17.770Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-29T20:34:17.794Z] $ docker stop --time=1 113dbdb7ca0e6d6a2065aad5df13741e2a59ebc8be43dbf2914242684d0fba49 [2022-01-29T20:34:19.443Z] $ docker rm -f 113dbdb7ca0e6d6a2065aad5df13741e2a59ebc8be43dbf2914242684d0fba49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:34:20.076Z] + docker inspect -f . ci-base-image-arm64 [2022-01-29T20:34:20.076Z] . [Pipeline] withDockerContainer [2022-01-29T20:34:20.309Z] prd-ubuntu18.04-docker-arm64-4c-16g-4222 does not seem to be running inside a container [2022-01-29T20:34:20.390Z] $ 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/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** ci-base-image-arm64 cat [2022-01-29T20:34:21.718Z] $ docker top 58ca8bfc8d22bc97575516311f0dc93d7ab0cd12d3278d627d00432178addb13 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-29T20:34:21.983Z] ========================================================= [2022-01-29T20:34:21.983Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-29T20:34:21.983Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-29T20:34:22.649Z] + make test [2022-01-29T20:34:22.649Z] go mod tidy [2022-01-29T20:34:23.635Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-29T20:34:55.974Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-29T20:36:04.011Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-29T20:36:14.199Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-29T20:36:14.199Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-29T20:36:14.199Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-29T20:36:22.513Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-29T20:36:22.513Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-29T20:36:22.513Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-29T20:36:22.513Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-29T20:36:22.513Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-29T20:36:22.787Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-29T20:36:23.068Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-29T20:36:23.068Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-29T20:36:23.068Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-29T20:36:23.068Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-29T20:36:31.354Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.182s coverage: 28.7% of statements [2022-01-29T20:36:31.354Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-29T20:36:31.354Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-29T20:36:36.771Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.404s coverage: 98.5% of statements [2022-01-29T20:36:36.771Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-29T20:36:36.771Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.426s coverage: 44.7% of statements [2022-01-29T20:36:36.771Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-29T20:36:36.771Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-29T20:36:37.373Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.616s coverage: 89.5% of statements [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:36:37.373Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.228s coverage: 84.4% of statements [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-29T20:36:37.373Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.742s coverage: 94.2% of statements [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.262s coverage: 59.1% of statements [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.193s coverage: 60.0% of statements [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.340s coverage: 0.9% of statements [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.194s coverage: 58.8% of statements [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.236s coverage: 21.7% of statements [2022-01-29T20:36:49.795Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.213s coverage: 47.1% of statements [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.231s coverage: 79.5% of statements [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.173s coverage: 94.1% of statements [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.242s coverage: 96.3% of statements [2022-01-29T20:36:49.795Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.201s coverage: 87.5% of statements [2022-01-29T20:37:02.300Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.216s coverage: 94.4% of statements [2022-01-29T20:37:02.300Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.184s coverage: 44.8% of statements [2022-01-29T20:37:06.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.757s coverage: 82.5% of statements [2022-01-29T20:37:06.590Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-29T20:37:13.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.276s coverage: 92.9% of statements [2022-01-29T20:37:13.327Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-29T20:37:13.327Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.073s coverage: 65.1% of statements [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.187s coverage: 87.2% of statements [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.162s coverage: 100.0% of statements [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.259s coverage: 58.8% of statements [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.277s coverage: 80.0% of statements [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.248s coverage: 87.2% of statements [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.259s coverage: 85.4% of statements [2022-01-29T20:37:13.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.758s coverage: 91.2% of statements [2022-01-29T20:37:13.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-29T20:37:13.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.805s coverage: 64.4% of statements [2022-01-29T20:37:13.601Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-29T20:37:13.601Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-29T20:37:13.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.168s coverage: 100.0% of statements [2022-01-29T20:37:13.874Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.099s coverage: 89.4% of statements [2022-01-29T20:37:13.874Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements [2022-01-29T20:37:15.322Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.065s coverage: 73.7% of statements [2022-01-29T20:37:15.595Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.054s coverage: 100.0% of statements [2022-01-29T20:37:19.930Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.303s coverage: 65.4% of statements [2022-01-29T20:37:19.930Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-29T20:37:19.930Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-29T20:37:19.930Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-29T20:37:22.563Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.849s coverage: 43.8% of statements [2022-01-29T20:37:22.563Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-29T20:37:22.563Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-29T20:37:22.563Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.230s coverage: 89.5% of statements [2022-01-29T20:37:22.563Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-29T20:37:22.563Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.228s coverage: 84.8% of statements [2022-01-29T20:37:22.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.246s coverage: 17.7% of statements [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.623s coverage: 92.3% of statements [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.295s coverage: 63.2% of statements [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.416s coverage: 97.7% of statements [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.195s coverage: 28.9% of statements [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-29T20:37:30.849Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.192s coverage: 100.0% of statements [2022-01-29T20:37:30.849Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements [2022-01-29T20:37:30.849Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "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 [2022-01-29T20:37:30.849Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-29T20:37:30.849Z] GO111MODULE=on go vet ./... [2022-01-29T20:39:07.698Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-29T20:39:07.698Z] ./internal/core/command/prometheus.go [2022-01-29T20:39:07.698Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-29T20:39:07.698Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2022-01-29T20:39:07.712Z] $ docker stop --time=1 58ca8bfc8d22bc97575516311f0dc93d7ab0cd12d3278d627d00432178addb13 [2022-01-29T20:39:09.625Z] $ docker rm -f 58ca8bfc8d22bc97575516311f0dc93d7ab0cd12d3278d627d00432178addb13 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:39:11.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-29T20:39:11.252Z] [2022-01-29T20:39:11.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:39:11.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-29T20:39:11.872Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-29T20:39:11.872Z] 448f6bf000e3: Pulling fs layer [2022-01-29T20:39:11.872Z] f757da607395: Pulling fs layer [2022-01-29T20:39:11.872Z] 05883995daec: Pulling fs layer [2022-01-29T20:39:11.872Z] 8603b9c90790: Pulling fs layer [2022-01-29T20:39:11.872Z] 1560dd03e051: Pulling fs layer [2022-01-29T20:39:11.872Z] 27f5ce0e4adf: Pulling fs layer [2022-01-29T20:39:11.872Z] c2d8d7efcc4b: Pulling fs layer [2022-01-29T20:39:11.872Z] 8603b9c90790: Waiting [2022-01-29T20:39:11.872Z] 1560dd03e051: Waiting [2022-01-29T20:39:11.873Z] 27f5ce0e4adf: Waiting [2022-01-29T20:39:11.873Z] c2d8d7efcc4b: Waiting [2022-01-29T20:39:11.873Z] f757da607395: Verifying Checksum [2022-01-29T20:39:11.873Z] f757da607395: Download complete [2022-01-29T20:39:11.873Z] 8603b9c90790: Verifying Checksum [2022-01-29T20:39:11.873Z] 8603b9c90790: Download complete [2022-01-29T20:39:11.873Z] 1560dd03e051: Verifying Checksum [2022-01-29T20:39:11.873Z] 1560dd03e051: Download complete [2022-01-29T20:39:12.146Z] 27f5ce0e4adf: Verifying Checksum [2022-01-29T20:39:12.146Z] 27f5ce0e4adf: Download complete [2022-01-29T20:39:12.146Z] 05883995daec: Verifying Checksum [2022-01-29T20:39:12.146Z] 05883995daec: Download complete [2022-01-29T20:39:12.417Z] 448f6bf000e3: Verifying Checksum [2022-01-29T20:39:12.417Z] 448f6bf000e3: Download complete [2022-01-29T20:39:15.031Z] c2d8d7efcc4b: Verifying Checksum [2022-01-29T20:39:15.031Z] c2d8d7efcc4b: Download complete [2022-01-29T20:39:16.006Z] 448f6bf000e3: Pull complete [2022-01-29T20:39:16.602Z] f757da607395: Pull complete [2022-01-29T20:39:18.037Z] 05883995daec: Pull complete [2022-01-29T20:39:18.310Z] 8603b9c90790: Pull complete [2022-01-29T20:39:19.290Z] 1560dd03e051: Pull complete [2022-01-29T20:39:19.565Z] 27f5ce0e4adf: Pull complete [2022-01-29T20:39:34.646Z] c2d8d7efcc4b: Pull complete [2022-01-29T20:39:34.646Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-29T20:39:34.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-29T20:39:34.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-29T20:39:34.880Z] prd-ubuntu18.04-docker-arm64-4c-16g-4222 does not seem to be running inside a container [2022-01-29T20:39:34.951Z] $ 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/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-29T20:39:37.908Z] $ docker top 059002ea6f66238399c7847cced21b267d54f26d3ac21b16a635a9ab859737ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:39:38.909Z] ---> job-cost.sh [2022-01-29T20:39:38.909Z] lf-activate-venv: SKIPPING [2022-01-29T20:39:38.909Z] INFO: No Stack... [2022-01-29T20:39:39.181Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-29T20:39:39.452Z] INFO: Archiving Costs [Pipeline] sh [2022-01-29T20:39:40.110Z] + cut -d, -f6 [2022-01-29T20:39:40.110Z] + cat /w/workspace/edgex-go/16/archives/cost.csv [Pipeline] lock [2022-01-29T20:39:40.176Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-16-stack-cost] [2022-01-29T20:39:40.183Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-16-stack-cost] did not exist. Created. [2022-01-29T20:39:40.183Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-29T20:39:40.847Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-29T20:39:41.591Z] Stashed 1 file(s) [Pipeline] } [2022-01-29T20:39:41.603Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-29T20:39:41.617Z] $ docker stop --time=1 059002ea6f66238399c7847cced21b267d54f26d3ac21b16a635a9ab859737ab [2022-01-29T20:39:43.193Z] $ docker rm -f 059002ea6f66238399c7847cced21b267d54f26d3ac21b16a635a9ab859737ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-29T20:39:43.544Z] 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 [2022-01-29T20:39:44.172Z] + '[' -d /w/workspace/edgex-go/16/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:39:44.474Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:39:45.035Z] ---> package-listing.sh [2022-01-29T20:39:45.035Z] ++ facter osfamily [2022-01-29T20:39:45.035Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-29T20:39:45.400Z] + OS_FAMILY=redhat [2022-01-29T20:39:45.400Z] + workspace=/w/workspace/edgex-go/16 [2022-01-29T20:39:45.400Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-29T20:39:45.400Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-29T20:39:45.400Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-29T20:39:45.400Z] + PACKAGES=/tmp/packages_start.txt [2022-01-29T20:39:45.400Z] + '[' /w/workspace/edgex-go/16 ']' [2022-01-29T20:39:45.400Z] + PACKAGES=/tmp/packages_end.txt [2022-01-29T20:39:45.400Z] + case "${OS_FAMILY}" in [2022-01-29T20:39:45.400Z] + rpm -qa [2022-01-29T20:39:45.400Z] + sort [2022-01-29T20:39:46.093Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-29T20:39:46.093Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-29T20:39:46.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-29T20:39:46.093Z] + '[' /w/workspace/edgex-go/16 ']' [2022-01-29T20:39:46.093Z] + mkdir -p /w/workspace/edgex-go/16/archives/ [2022-01-29T20:39:46.093Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/16/archives/ [Pipeline] echo [2022-01-29T20:39:46.160Z] 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/16/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-29T20:39:46.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:39:46.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T20:39:46.831Z] [2022-01-29T20:39:46.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T20:39:47.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T20:39:47.135Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-29T20:39:47.135Z] b4d181a07f80: Pulling fs layer [2022-01-29T20:39:47.135Z] a1111a8f2ec3: Pulling fs layer [2022-01-29T20:39:47.135Z] ed53099fbce6: Pulling fs layer [2022-01-29T20:39:47.135Z] dc539afda2c1: Pulling fs layer [2022-01-29T20:39:47.135Z] 77bc0d833cb6: Pulling fs layer [2022-01-29T20:39:47.135Z] 9065ff56babe: Pulling fs layer [2022-01-29T20:39:47.135Z] d287ab97295c: Pulling fs layer [2022-01-29T20:39:47.135Z] dc539afda2c1: Waiting [2022-01-29T20:39:47.135Z] 77bc0d833cb6: Waiting [2022-01-29T20:39:47.135Z] 9065ff56babe: Waiting [2022-01-29T20:39:47.135Z] d287ab97295c: Waiting [2022-01-29T20:39:47.135Z] a1111a8f2ec3: Verifying Checksum [2022-01-29T20:39:47.135Z] a1111a8f2ec3: Download complete [2022-01-29T20:39:47.135Z] dc539afda2c1: Verifying Checksum [2022-01-29T20:39:47.135Z] dc539afda2c1: Download complete [2022-01-29T20:39:47.135Z] ed53099fbce6: Verifying Checksum [2022-01-29T20:39:47.135Z] ed53099fbce6: Download complete [2022-01-29T20:39:47.135Z] 9065ff56babe: Verifying Checksum [2022-01-29T20:39:47.135Z] 9065ff56babe: Download complete [2022-01-29T20:39:47.135Z] 77bc0d833cb6: Verifying Checksum [2022-01-29T20:39:47.135Z] 77bc0d833cb6: Download complete [2022-01-29T20:39:47.398Z] b4d181a07f80: Verifying Checksum [2022-01-29T20:39:47.398Z] b4d181a07f80: Download complete [2022-01-29T20:39:47.981Z] d287ab97295c: Verifying Checksum [2022-01-29T20:39:47.981Z] d287ab97295c: Download complete [2022-01-29T20:39:48.928Z] b4d181a07f80: Pull complete [2022-01-29T20:39:48.928Z] a1111a8f2ec3: Pull complete [2022-01-29T20:39:49.501Z] ed53099fbce6: Pull complete [2022-01-29T20:39:49.764Z] dc539afda2c1: Pull complete [2022-01-29T20:39:50.028Z] 77bc0d833cb6: Pull complete [2022-01-29T20:39:50.028Z] 9065ff56babe: Pull complete [2022-01-29T20:39:55.355Z] d287ab97295c: Pull complete [2022-01-29T20:39:55.355Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-29T20:39:55.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T20:39:55.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-29T20:39:55.422Z] prd-centos7-docker-4c-2g-4220 does not seem to be running inside a container [2022-01-29T20:39:55.456Z] $ 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/16/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/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-29T20:39:57.660Z] $ docker top 365e37d07aab852e7104bfcea36507dfaec916c270b615e627ce53c92397daac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-29T20:39:58.019Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-29T20:39:58.310Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-29T20:39:58.608Z] + ls /var/log/sa-host [2022-01-29T20:39:58.608Z] + sadf -c /var/log/sa-host/sa17 [2022-01-29T20:39:58.608Z] file_magic: OK [2022-01-29T20:39:58.608Z] HZ: Using current value: 100 [2022-01-29T20:39:58.608Z] file_header: OK [2022-01-29T20:39:58.608Z] 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 [2022-01-29T20:39:58.608Z] Statistics: [2022-01-29T20:39:58.608Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-29T20:39:58.608Z] File successfully converted to sysstat format version 12.0.3 [2022-01-29T20:39:58.608Z] + sadf -c /var/log/sa-host/sa29 [2022-01-29T20:39:58.608Z] file_magic: OK [2022-01-29T20:39:58.608Z] HZ: Using current value: 100 [2022-01-29T20:39:58.608Z] file_header: OK [2022-01-29T20:39:58.608Z] 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 [2022-01-29T20:39:58.608Z] Statistics: [2022-01-29T20:39:58.608Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-29T20:39:58.608Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-29T20:39:58.827Z] provisioning config files... [2022-01-29T20:39:58.837Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/16@tmp/config1091249439542350358tmp [Pipeline] { [Pipeline] echo [2022-01-29T20:39:58.851Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:39:59.136Z] ---> create-netrc.sh [Pipeline] } [2022-01-29T20:39:59.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:39:59.481Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-29T20:39:59.492Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:39:59.781Z] ---> sudo-logs.sh [2022-01-29T20:39:59.781Z] Archiving 'sudo' log.. [2022-01-29T20:39:59.781Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4220.novalocal: Name or service not known [2022-01-29T20:39:59.781Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4220.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-29T20:39:59.828Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:40:00.118Z] ---> job-cost.sh [2022-01-29T20:40:00.118Z] lf-activate-venv: SKIPPING [2022-01-29T20:40:00.118Z] DEBUG: total: 0.10999999940395355 [2022-01-29T20:40:00.118Z] INFO: Retrieving Stack Cost... [2022-01-29T20:40:00.376Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-29T20:40:00.945Z] INFO: Archiving Costs [Pipeline] echo [2022-01-29T20:40:00.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T20:40:01.244Z] ---> logs-deploy.sh [2022-01-29T20:40:01.244Z] lf-activate-venv: SKIPPING [2022-01-29T20:40:01.244Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/16 [2022-01-29T20:40:01.244Z] INFO: archiving workspace using pattern(s): [2022-01-29T20:40:01.814Z] Archives upload complete. [2022-01-29T20:40:02.077Z] INFO: archiving logs to Nexus