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 744b2ca0a98b60adf4684d7292cc95234626d583 rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from 744b2ca0a98b60adf4684d7292cc95234626d583 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-ssh4774611920885243081.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh14876212917223525880.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh621158941544710063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh15264620804956324331.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-ssh10299912295581868414.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.16 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-815 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # 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/6@tmp/jenkins-gitclient-ssh7480062780103570526.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/6@tmp/jenkins-gitclient-ssh3473912625642695843.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 744b2ca0a98b60adf4684d7292cc95234626d583 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Merge succeeded, producing eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 Checking out Revision eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 (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/6@tmp/jenkins-gitclient-ssh3732819903849547161.key > git merge 744b2ca0a98b60adf4684d7292cc95234626d583 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 # timeout=10 Commit message: "Merge commit '744b2ca0a98b60adf4684d7292cc95234626d583' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9f2a22df3f872bda3ac61e92c6ea2bfd48b447b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-05T20:30:16.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-05T20:30:16.852Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-05T20:30:16.871Z] ========================================================= [2022-01-05T20:30:16.871Z] EdgeX Global Pipelines Version Info [2022-01-05T20:30:16.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:30:17.991Z] ------------------- [2022-01-05T20:30:17.991Z] stable info: [2022-01-05T20:30:17.991Z] ------------------- [2022-01-05T20:30:17.991Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-05T20:30:17.991Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-05T20:30:17.991Z] Message: update stable to v1.0.217 [2022-01-05T20:30:19.388Z] ------------------- [2022-01-05T20:30:19.388Z] experimental info: [2022-01-05T20:30:19.388Z] ------------------- [2022-01-05T20:30:19.388Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-05T20:30:19.388Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-05T20:30:19.388Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-05T20:30:19.522Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-01-05T20:30:19.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-01-05T20:30:19.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-05T20:30:19.624Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-05T20:30:19.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-05T20:30:19.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-05T20:30:19.665Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-05T20:30:19.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-01-05T20:30:19.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-01-05T20:30:19.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-01-05T20:30:19.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-05T20:30:19.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-05T20:30:19.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-05T20:30:19.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-05T20:30:19.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-05T20:30:19.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-05T20:30:19.781Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-05T20:30:19.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-05T20:30:19.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-05T20:30:19.815Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-05T20:30:19.824Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-05T20:30:19.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-05T20:30:19.842Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-01-05T20:30:19.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-01-05T20:30:19.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-01-05T20:30:19.871Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 [Pipeline] echo [2022-01-05T20:30:19.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb4a70a [Pipeline] echo [2022-01-05T20:30:19.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T20:30:19.931Z] provisioning config files... [2022-01-05T20:30:19.948Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config3576435540075470050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:30:20.262Z] ---> docker-login.sh [2022-01-05T20:30:20.262Z] nexus3.edgexfoundry.org:10001 [2022-01-05T20:30:20.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:30:20.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:30:20.531Z] Configure a credential helper to remove this warning. See [2022-01-05T20:30:20.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:30:20.531Z] [2022-01-05T20:30:20.531Z] Login Succeeded [2022-01-05T20:30:20.531Z] nexus3.edgexfoundry.org:10002 [2022-01-05T20:30:20.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:30:20.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:30:20.531Z] Configure a credential helper to remove this warning. See [2022-01-05T20:30:20.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:30:20.531Z] [2022-01-05T20:30:20.531Z] Login Succeeded [2022-01-05T20:30:20.531Z] nexus3.edgexfoundry.org:10003 [2022-01-05T20:30:20.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:30:20.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:30:20.531Z] Configure a credential helper to remove this warning. See [2022-01-05T20:30:20.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:30:20.531Z] [2022-01-05T20:30:20.531Z] Login Succeeded [2022-01-05T20:30:20.531Z] nexus3.edgexfoundry.org:10004 [2022-01-05T20:30:20.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:30:20.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:30:20.792Z] Configure a credential helper to remove this warning. See [2022-01-05T20:30:20.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:30:20.792Z] [2022-01-05T20:30:20.792Z] Login Succeeded [2022-01-05T20:30:20.792Z] docker.io [2022-01-05T20:30:20.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:30:21.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:30:21.053Z] Configure a credential helper to remove this warning. See [2022-01-05T20:30:21.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:30:21.053Z] [2022-01-05T20:30:21.053Z] Login Succeeded [2022-01-05T20:30:21.053Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T20:30:21.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-05T20:30:21.374Z] ++ 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-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/core-command/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo core-command,cmd/core-command/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/core-data/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo core-data,cmd/core-data/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/core-metadata/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/support-notifications/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-01-05T20:30:21.374Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-05T20:30:21.374Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-01-05T20:30:21.374Z] ++ cut -d/ -f2 [2022-01-05T20:30:21.374Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-01-05T20:30:21.410Z] 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-05T20:30:21.751Z] + git rev-list -1 --merges eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6~1..eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 [Pipeline] echo [2022-01-05T20:30:21.764Z] -----------> git rev-list -1 --merges eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6~1..eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 [2022-01-05T20:30:21.764Z] eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 [false] [Pipeline] sh [2022-01-05T20:30:22.058Z] + git log --format=format:%s -1 eb4a70abe637c4c5da89d3c43d0fa7d2e19172e6 [Pipeline] echo [2022-01-05T20:30:22.074Z] ========================================================= [2022-01-05T20:30:22.074Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-05T20:30:22.074Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-01-05T20:30:22.494Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-05T20:30:22.494Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-05T20:30:22.494Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-05T20:30:22.494Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-05T20:30:22.494Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-05T20:30:22.494Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-05T20:30:22.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:30:22.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T20:30:22.837Z] [2022-01-05T20:30:22.837Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:30:23.160Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T20:30:23.160Z] latest: Pulling from edgex-devops/git-semver [2022-01-05T20:30:23.160Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T20:30:23.160Z] 3e5f54012d9b: Pulling fs layer [2022-01-05T20:30:23.160Z] 4c7163046ea9: Pulling fs layer [2022-01-05T20:30:23.160Z] 0c2d73faf560: Pulling fs layer [2022-01-05T20:30:23.160Z] 0c2d73faf560: Waiting [2022-01-05T20:30:23.160Z] 3e5f54012d9b: Verifying Checksum [2022-01-05T20:30:23.160Z] 3e5f54012d9b: Download complete [2022-01-05T20:30:23.160Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T20:30:23.160Z] a0d0a0d46f8b: Download complete [2022-01-05T20:30:23.160Z] 4c7163046ea9: Verifying Checksum [2022-01-05T20:30:23.160Z] 4c7163046ea9: Download complete [2022-01-05T20:30:23.160Z] 0c2d73faf560: Verifying Checksum [2022-01-05T20:30:23.160Z] 0c2d73faf560: Download complete [2022-01-05T20:30:23.428Z] a0d0a0d46f8b: Pull complete [2022-01-05T20:30:23.428Z] 3e5f54012d9b: Pull complete [2022-01-05T20:30:23.690Z] 4c7163046ea9: Pull complete [2022-01-05T20:30:23.952Z] 0c2d73faf560: Pull complete [2022-01-05T20:30:23.952Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-05T20:30:23.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T20:30:23.952Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-05T20:30:24.022Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2022-01-05T20:30:24.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-05T20:30:24.766Z] $ docker top 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-05T20:30:24.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T20:30:24.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T20:30:24.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T20:30:24.967Z] $ docker exec 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 ssh-agent [2022-01-05T20:30:25.091Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnKFjLe/agent.14 [2022-01-05T20:30:25.091Z] SSH_AGENT_PID=21 [2022-01-05T20:30:25.098Z] Running ssh-add (command line suppressed) [2022-01-05T20:30:25.204Z] Identity added: /w/workspace/edgex-go/6@tmp/private_key_3933487206695457587.key (/w/workspace/edgex-go/6@tmp/private_key_3933487206695457587.key) [2022-01-05T20:30:25.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T20:30:25.510Z] + git tag --points-at HEAD [Pipeline] } [2022-01-05T20:30:25.535Z] $ docker exec --env ******** --env ******** 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 ssh-agent -k [2022-01-05T20:30:25.623Z] unset SSH_AUTH_SOCK; [2022-01-05T20:30:25.623Z] unset SSH_AGENT_PID; [2022-01-05T20:30:25.623Z] echo Agent pid 21 killed; [2022-01-05T20:30:25.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-05T20:30:25.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T20:30:25.654Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T20:30:25.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T20:30:25.771Z] $ docker exec 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 ssh-agent [2022-01-05T20:30:25.867Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjPFKOb/agent.53 [2022-01-05T20:30:25.867Z] SSH_AGENT_PID=59 [2022-01-05T20:30:25.873Z] Running ssh-add (command line suppressed) [2022-01-05T20:30:25.969Z] Identity added: /w/workspace/edgex-go/6@tmp/private_key_3458468010951973476.key (/w/workspace/edgex-go/6@tmp/private_key_3458468010951973476.key) [2022-01-05T20:30:25.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T20:30:26.273Z] + git semver init [2022-01-05T20:30:26.273Z] # -> Open(): unable to determine branch for HEAD [2022-01-05T20:30:26.273Z] # $GIT_DIR = /w/workspace/edgex-go/6/.git [2022-01-05T20:30:26.273Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/6 [2022-01-05T20:30:26.273Z] # $SEMVER_REMOTE_NAME = origin [2022-01-05T20:30:26.273Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-05T20:30:26.273Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-05T20:30:26.273Z] # $SEMVER_BRANCH = PR-3842 [2022-01-05T20:30:26.273Z] # $SEMVER_TEMP = /tmp/semver-047357456 [2022-01-05T20:30:26.273Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-01-05T20:30:41.282Z] # '/tmp/semver-047357456' -> '/w/workspace/edgex-go/6/.semver' [2022-01-05T20:30:41.282Z] # -> Force: false [2022-01-05T20:30:41.282Z] # $SEMVER_DIR = /w/workspace/edgex-go/6/.semver [Pipeline] } [2022-01-05T20:30:41.299Z] $ docker exec --env ******** --env ******** 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 ssh-agent -k [2022-01-05T20:30:41.390Z] unset SSH_AUTH_SOCK; [2022-01-05T20:30:41.391Z] unset SSH_AGENT_PID; [2022-01-05T20:30:41.391Z] echo Agent pid 59 killed; [2022-01-05T20:30:41.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-05T20:30:41.706Z] + git semver [Pipeline] } [2022-01-05T20:30:41.724Z] $ docker stop --time=1 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 [2022-01-05T20:30:43.915Z] $ docker rm -f 750e0e5ef289b5760363688216704276a3a553b7645a9f4e4401653dec3f2c60 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T20:30:44.274Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-05T20:30:44.509Z] Stashed 1 file(s) [Pipeline] echo [2022-01-05T20:30:44.512Z] [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-05T20:30:44.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T20:30:44.636Z] ========================================================= [2022-01-05T20:30:44.636Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-05T20:30:44.636Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-05T20:30:44.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T20:30:44.934Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-05T20:30:44.934Z] a0d0a0d46f8b: Already exists [2022-01-05T20:30:44.934Z] 31adcdaf11c8: Pulling fs layer [2022-01-05T20:30:44.934Z] b8b176561691: Pulling fs layer [2022-01-05T20:30:44.934Z] 4527c011a84f: Pulling fs layer [2022-01-05T20:30:44.934Z] 5d74067f8e1e: Pulling fs layer [2022-01-05T20:30:44.934Z] e0aca202a116: Pulling fs layer [2022-01-05T20:30:44.934Z] 3a43be97a3b4: Pulling fs layer [2022-01-05T20:30:44.934Z] 34cad66bf833: Pulling fs layer [2022-01-05T20:30:44.934Z] b4e3c513aaa6: Pulling fs layer [2022-01-05T20:30:44.934Z] 5d74067f8e1e: Waiting [2022-01-05T20:30:44.934Z] 3a43be97a3b4: Waiting [2022-01-05T20:30:44.934Z] e0aca202a116: Waiting [2022-01-05T20:30:44.934Z] 34cad66bf833: Waiting [2022-01-05T20:30:44.934Z] b4e3c513aaa6: Waiting [2022-01-05T20:30:44.934Z] b8b176561691: Verifying Checksum [2022-01-05T20:30:44.934Z] b8b176561691: Download complete [2022-01-05T20:30:44.934Z] 31adcdaf11c8: Verifying Checksum [2022-01-05T20:30:44.934Z] 31adcdaf11c8: Download complete [2022-01-05T20:30:44.934Z] 5d74067f8e1e: Verifying Checksum [2022-01-05T20:30:44.934Z] 5d74067f8e1e: Download complete [2022-01-05T20:30:44.934Z] e0aca202a116: Verifying Checksum [2022-01-05T20:30:44.934Z] e0aca202a116: Download complete [2022-01-05T20:30:44.934Z] 3a43be97a3b4: Verifying Checksum [2022-01-05T20:30:44.934Z] 3a43be97a3b4: Download complete [2022-01-05T20:30:45.194Z] 34cad66bf833: Verifying Checksum [2022-01-05T20:30:45.194Z] 34cad66bf833: Download complete [2022-01-05T20:30:45.194Z] 31adcdaf11c8: Pull complete [2022-01-05T20:30:45.454Z] b8b176561691: Pull complete [2022-01-05T20:30:45.454Z] b4e3c513aaa6: Verifying Checksum [2022-01-05T20:30:45.454Z] b4e3c513aaa6: Download complete [2022-01-05T20:30:45.454Z] 4527c011a84f: Verifying Checksum [2022-01-05T20:30:45.454Z] 4527c011a84f: Download complete [2022-01-05T20:30:49.694Z] 4527c011a84f: Pull complete [2022-01-05T20:30:49.694Z] 5d74067f8e1e: Pull complete [2022-01-05T20:30:49.694Z] e0aca202a116: Pull complete [2022-01-05T20:30:49.694Z] 3a43be97a3b4: Pull complete [2022-01-05T20:30:49.694Z] 34cad66bf833: Pull complete [2022-01-05T20:30:52.267Z] b4e3c513aaa6: Pull complete [2022-01-05T20:30:52.267Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-05T20:30:52.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T20:30:52.267Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-05T20:30:52.575Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T20:30:52.575Z] WORKDIR /edgex [2022-01-05T20:30:52.575Z] COPY go.mod . [2022-01-05T20:30:52.575Z] RUN go mod download' [2022-01-05T20:30:52.575Z] + docker build -t ci-base-image-x86_64 -f - . [2022-01-05T20:30:53.961Z] Sending build context to Docker daemon 333.7MB [2022-01-05T20:30:53.961Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T20:30:53.961Z] ---> 9f6097aaca64 [2022-01-05T20:30:53.961Z] Step 2/4 : WORKDIR /edgex [2022-01-05T20:30:56.544Z] ---> Running in 72f49d3e4def [2022-01-05T20:30:56.544Z] Removing intermediate container 72f49d3e4def [2022-01-05T20:30:56.544Z] ---> edd37726f871 [2022-01-05T20:30:56.544Z] Step 3/4 : COPY go.mod . [2022-01-05T20:30:56.544Z] ---> ce38847330a5 [2022-01-05T20:30:56.544Z] Step 4/4 : RUN go mod download [2022-01-05T20:30:56.544Z] ---> Running in 54b9960f1bb3 [2022-01-05T20:30:59.593Z] Still waiting to schedule task [2022-01-05T20:30:59.593Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-812’ is offline [2022-01-05T20:31:28.733Z] Removing intermediate container 54b9960f1bb3 [2022-01-05T20:31:28.733Z] ---> 00867a0148f1 [2022-01-05T20:31:28.733Z] Successfully built 00867a0148f1 [2022-01-05T20:31:28.733Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:31:29.037Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T20:31:29.037Z] . [Pipeline] withDockerContainer [2022-01-05T20:31:29.113Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2022-01-05T20:31:29.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-05T20:31:29.553Z] $ docker top 95af05432068a2f40ef69c60063a1d5049b262222012a26dcc2cffe659153243 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T20:31:29.929Z] + go version [2022-01-05T20:31:29.929Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-05T20:31:29.944Z] $ docker stop --time=1 95af05432068a2f40ef69c60063a1d5049b262222012a26dcc2cffe659153243 [2022-01-05T20:31:31.121Z] $ docker rm -f 95af05432068a2f40ef69c60063a1d5049b262222012a26dcc2cffe659153243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:31:31.506Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T20:31:31.506Z] . [Pipeline] withDockerContainer [2022-01-05T20:31:31.567Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2022-01-05T20:31:31.604Z] $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-05T20:31:31.941Z] $ docker top a295b64080bc8b537f52c4dd00995bd0643e78bd941531f916880d626d052a73 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-05T20:31:32.007Z] ========================================================= [2022-01-05T20:31:32.007Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-05T20:31:32.007Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-05T20:31:32.298Z] + make test [2022-01-05T20:31:32.298Z] go mod tidy [2022-01-05T20:31:32.558Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-05T20:31:37.903Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-05T20:32:00.004Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-05T20:32:05.360Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-05T20:32:05.360Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-05T20:32:05.626Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-05T20:32:08.231Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-05T20:32:08.817Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-05T20:32:08.817Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-05T20:32:08.817Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-05T20:32:09.390Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-05T20:32:09.651Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-05T20:32:09.919Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-05T20:32:09.919Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-05T20:32:09.919Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-05T20:32:09.919Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-05T20:32:11.871Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.047s coverage: 28.7% of statements [2022-01-05T20:32:11.871Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-05T20:32:11.871Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-05T20:32:12.459Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.066s coverage: 98.5% of statements [2022-01-05T20:32:12.459Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-05T20:32:12.721Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.078s coverage: 44.7% of statements [2022-01-05T20:32:12.721Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-05T20:32:12.721Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-05T20:32:13.668Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.126s coverage: 89.5% of statements [2022-01-05T20:32:13.668Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-05T20:32:13.668Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:32:14.609Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.052s coverage: 84.4% of statements [2022-01-05T20:32:14.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-05T20:32:14.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-05T20:32:14.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-05T20:32:14.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-05T20:32:14.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-05T20:32:15.599Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.287s coverage: 94.2% of statements [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:32:15.599Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.056s coverage: 59.1% of statements [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-05T20:32:15.599Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-05T20:32:15.864Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.054s coverage: 60.0% of statements [2022-01-05T20:32:15.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-05T20:32:15.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-05T20:32:15.864Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-05T20:32:16.821Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.057s coverage: 0.9% of statements [2022-01-05T20:32:16.821Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-05T20:32:16.821Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.045s coverage: 58.8% of statements [2022-01-05T20:32:16.821Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.042s coverage: 21.7% of statements [2022-01-05T20:32:16.821Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-05T20:32:17.086Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.046s coverage: 47.1% of statements [2022-01-05T20:32:17.086Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.056s coverage: 79.5% of statements [2022-01-05T20:32:17.686Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.083s coverage: 94.1% of statements [2022-01-05T20:32:17.686Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.047s coverage: 96.3% of statements [2022-01-05T20:32:17.946Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.051s coverage: 87.5% of statements [2022-01-05T20:32:30.198Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.064s coverage: 94.4% of statements [2022-01-05T20:32:30.198Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2022-01-05T20:32:34.403Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.175s coverage: 82.5% of statements [2022-01-05T20:32:34.403Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.085s coverage: 92.9% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.052s coverage: 100.0% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.0% of statements [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.068s coverage: 85.4% of statements [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.140s coverage: 91.2% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.133s coverage: 64.4% of statements [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-05T20:32:56.387Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2022-01-05T20:32:56.387Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.021s coverage: 100.0% of statements [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.259s coverage: 65.4% of statements [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.131s coverage: 43.8% of statements [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.064s coverage: 89.5% of statements [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-05T20:32:56.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.044s coverage: 84.8% of statements [2022-01-05T20:32:56.388Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.073s coverage: 17.7% of statements [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.148s coverage: 92.3% of statements [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 63.2% of statements [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.085s coverage: 97.7% of statements [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.045s coverage: 28.9% of statements [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-05T20:33:01.690Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements [2022-01-05T20:33:01.690Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.028s coverage: 96.9% of statements [2022-01-05T20:33:01.691Z] 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-05T20:33:29.508Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-817 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-01-05T20:33:29.519Z] Running in /w/workspace/edgex-go/6 [Pipeline] { [Pipeline] checkout [2022-01-05T20:33:29.706Z] The recommended git tool is: git [2022-01-05T20:33:34.116Z] using credential edgex-jenkins-ssh [2022-01-05T20:33:34.132Z] Cloning the remote Git repository [2022-01-05T20:33:34.158Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-01-05T20:33:34.238Z] > git init /w/workspace/edgex-go/6 # timeout=10 [2022-01-05T20:33:34.311Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-05T20:33:34.311Z] > git --version # timeout=10 [2022-01-05T20:33:34.329Z] > git --version # 'git version 2.17.1' [2022-01-05T20:33:34.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T20:33:34.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T20:33:40.553Z] GO111MODULE=on go vet ./... [2022-01-05T20:33:50.670Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T20:33:50.670Z] ./internal/core/command/prometheus.go [2022-01-05T20:33:50.670Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-05T20:33:50.670Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2022-01-05T20:33:50.685Z] $ docker stop --time=1 a295b64080bc8b537f52c4dd00995bd0643e78bd941531f916880d626d052a73 [2022-01-05T20:33:50.910Z] Merging remotes/origin/main commit 744b2ca0a98b60adf4684d7292cc95234626d583 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [2022-01-05T20:33:51.442Z] Merge succeeded, producing 9c26ed3593920a1167ef1db2b4fd2bbc61900d76 [2022-01-05T20:33:51.443Z] Checking out Revision 9c26ed3593920a1167ef1db2b4fd2bbc61900d76 (PR-3842) [2022-01-05T20:33:49.837Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-05T20:33:49.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T20:33:49.900Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-05T20:33:49.942Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-05T20:33:49.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T20:33:49.955Z] > 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-05T20:33:50.919Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T20:33:50.940Z] > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [2022-01-05T20:33:51.162Z] > git remote # timeout=10 [2022-01-05T20:33:51.183Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T20:33:51.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T20:33:51.208Z] > git merge 744b2ca0a98b60adf4684d7292cc95234626d583 # timeout=10 [2022-01-05T20:33:51.417Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T20:33:51.438Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T20:33:51.456Z] > git checkout -f 9c26ed3593920a1167ef1db2b4fd2bbc61900d76 # timeout=10 [2022-01-05T20:33:52.087Z] $ docker rm -f a295b64080bc8b537f52c4dd00995bd0643e78bd941531f916880d626d052a73 [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-05T20:33:52.533Z] Failed in branch amd64 [2022-01-05T20:33:55.677Z] Commit message: "Merge commit '744b2ca0a98b60adf4684d7292cc95234626d583' into HEAD" [2022-01-05T20:33:55.703Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-01-05T20:33:55.678Z] > git rev-list --no-walk 9f2a22df3f872bda3ac61e92c6ea2bfd48b447b8 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T20:33:56.509Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-05T20:33:56.509Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T20:33:56.509Z] Dload Upload Total Spent Left Speed [2022-01-05T20:33:56.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2022-01-05T20:33:57.028Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-05T20:33:57.373Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-05T20:33:57.373Z] + sudo tee /etc/docker/daemon.new [2022-01-05T20:33:57.373Z] { [2022-01-05T20:33:57.373Z] "registry-mirrors": [ [2022-01-05T20:33:57.373Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-05T20:33:57.373Z] ], [2022-01-05T20:33:57.373Z] "bip": "10.250.0.254/24", [2022-01-05T20:33:57.373Z] "hosts": [ [2022-01-05T20:33:57.373Z] "tcp://0.0.0.0:5555", [2022-01-05T20:33:57.373Z] "unix:///var/run/docker.sock" [2022-01-05T20:33:57.373Z] ], [2022-01-05T20:33:57.373Z] "mtu": 1458, [2022-01-05T20:33:57.373Z] "selinux-enabled": true, [2022-01-05T20:33:57.373Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-05T20:33:57.373Z] } [Pipeline] sh [2022-01-05T20:33:57.722Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-05T20:33:58.136Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T20:34:16.469Z] provisioning config files... [2022-01-05T20:34:16.492Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config1113564057579161423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:34:16.841Z] ---> docker-login.sh [2022-01-05T20:34:16.841Z] nexus3.edgexfoundry.org:10001 [2022-01-05T20:34:17.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:34:17.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:34:17.704Z] Configure a credential helper to remove this warning. See [2022-01-05T20:34:17.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:34:17.704Z] [2022-01-05T20:34:17.704Z] Login Succeeded [2022-01-05T20:34:17.704Z] nexus3.edgexfoundry.org:10002 [2022-01-05T20:34:17.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:34:17.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:34:17.977Z] Configure a credential helper to remove this warning. See [2022-01-05T20:34:17.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:34:17.977Z] [2022-01-05T20:34:17.977Z] Login Succeeded [2022-01-05T20:34:17.977Z] nexus3.edgexfoundry.org:10003 [2022-01-05T20:34:18.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:34:18.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:34:18.528Z] Configure a credential helper to remove this warning. See [2022-01-05T20:34:18.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:34:18.528Z] [2022-01-05T20:34:18.528Z] Login Succeeded [2022-01-05T20:34:18.528Z] nexus3.edgexfoundry.org:10004 [2022-01-05T20:34:18.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:34:18.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:34:18.799Z] Configure a credential helper to remove this warning. See [2022-01-05T20:34:18.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:34:18.799Z] [2022-01-05T20:34:18.799Z] Login Succeeded [2022-01-05T20:34:18.799Z] docker.io [2022-01-05T20:34:19.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T20:34:19.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T20:34:19.661Z] Configure a credential helper to remove this warning. See [2022-01-05T20:34:19.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T20:34:19.661Z] [2022-01-05T20:34:19.661Z] Login Succeeded [2022-01-05T20:34:19.661Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T20:34:19.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-05T20:34:20.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T20:34:20.271Z] ========================================================= [2022-01-05T20:34:20.271Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-05T20:34:20.271Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-05T20:34:20.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T20:34:20.877Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-05T20:34:20.877Z] 552d1f2373af: Pulling fs layer [2022-01-05T20:34:20.877Z] ea3f2d53f512: Pulling fs layer [2022-01-05T20:34:20.877Z] 9e70ebbbe112: Pulling fs layer [2022-01-05T20:34:20.877Z] 7a9cfe048b4a: Pulling fs layer [2022-01-05T20:34:20.877Z] 72dc09318566: Pulling fs layer [2022-01-05T20:34:20.877Z] f4f7b4309257: Pulling fs layer [2022-01-05T20:34:20.877Z] 0ac9a79272e3: Pulling fs layer [2022-01-05T20:34:20.877Z] b78e95d17946: Pulling fs layer [2022-01-05T20:34:20.877Z] 72dc09318566: Waiting [2022-01-05T20:34:20.877Z] f4f7b4309257: Waiting [2022-01-05T20:34:20.877Z] 0ac9a79272e3: Waiting [2022-01-05T20:34:20.877Z] b78e95d17946: Waiting [2022-01-05T20:34:20.877Z] 7a9cfe048b4a: Waiting [2022-01-05T20:34:20.877Z] 9e70ebbbe112: Verifying Checksum [2022-01-05T20:34:20.877Z] 9e70ebbbe112: Download complete [2022-01-05T20:34:20.877Z] ea3f2d53f512: Download complete [2022-01-05T20:34:20.877Z] 72dc09318566: Download complete [2022-01-05T20:34:20.877Z] f4f7b4309257: Download complete [2022-01-05T20:34:20.877Z] 552d1f2373af: Verifying Checksum [2022-01-05T20:34:20.877Z] 552d1f2373af: Download complete [2022-01-05T20:34:20.877Z] 0ac9a79272e3: Verifying Checksum [2022-01-05T20:34:20.877Z] 0ac9a79272e3: Download complete [2022-01-05T20:34:21.484Z] 552d1f2373af: Pull complete [2022-01-05T20:34:22.088Z] ea3f2d53f512: Pull complete [2022-01-05T20:34:22.363Z] 9e70ebbbe112: Pull complete [2022-01-05T20:34:22.638Z] b78e95d17946: Verifying Checksum [2022-01-05T20:34:22.638Z] b78e95d17946: Download complete [2022-01-05T20:34:23.235Z] 7a9cfe048b4a: Verifying Checksum [2022-01-05T20:34:23.235Z] 7a9cfe048b4a: Download complete [2022-01-05T20:34:35.621Z] 7a9cfe048b4a: Pull complete [2022-01-05T20:34:35.621Z] 72dc09318566: Pull complete [2022-01-05T20:34:35.621Z] f4f7b4309257: Pull complete [2022-01-05T20:34:35.621Z] 0ac9a79272e3: Pull complete [2022-01-05T20:34:41.030Z] b78e95d17946: Pull complete [2022-01-05T20:34:41.030Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-05T20:34:41.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T20:34:41.030Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-05T20:34:41.379Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T20:34:41.379Z] WORKDIR /edgex [2022-01-05T20:34:41.379Z] COPY go.mod . [2022-01-05T20:34:41.379Z] RUN go mod download+ [2022-01-05T20:34:41.379Z] docker build -t ci-base-image-arm64 -f - . [2022-01-05T20:34:43.371Z] Sending build context to Docker daemon 168.6MB [2022-01-05T20:34:43.371Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T20:34:43.371Z] ---> 8b459fc5aaf0 [2022-01-05T20:34:43.371Z] Step 2/4 : WORKDIR /edgex [2022-01-05T20:34:45.350Z] ---> Running in e482b9cae081 [2022-01-05T20:34:45.628Z] Removing intermediate container e482b9cae081 [2022-01-05T20:34:45.628Z] ---> 9fc4d0719d08 [2022-01-05T20:34:45.628Z] Step 3/4 : COPY go.mod . [2022-01-05T20:34:46.224Z] ---> a06a64aa5a9c [2022-01-05T20:34:46.224Z] Step 4/4 : RUN go mod download [2022-01-05T20:34:46.498Z] ---> Running in 4a3172949c5c [2022-01-05T20:36:08.294Z] Removing intermediate container 4a3172949c5c [2022-01-05T20:36:08.294Z] ---> 3c8e5bbc3267 [2022-01-05T20:36:08.294Z] Successfully built 3c8e5bbc3267 [2022-01-05T20:36:08.294Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:36:08.657Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T20:36:08.657Z] . [Pipeline] withDockerContainer [2022-01-05T20:36:08.907Z] prd-ubuntu18.04-docker-arm64-4c-16g-817 does not seem to be running inside a container [2022-01-05T20:36:09.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-05T20:36:10.494Z] $ docker top d39eb17e7b6861b480bb87aa45aa253bc7a4309107cdfa4e0e4b4b179339a333 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T20:36:11.416Z] + go version [2022-01-05T20:36:11.416Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-05T20:36:11.445Z] $ docker stop --time=1 d39eb17e7b6861b480bb87aa45aa253bc7a4309107cdfa4e0e4b4b179339a333 [2022-01-05T20:36:13.096Z] $ docker rm -f d39eb17e7b6861b480bb87aa45aa253bc7a4309107cdfa4e0e4b4b179339a333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:36:13.739Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T20:36:13.739Z] . [Pipeline] withDockerContainer [2022-01-05T20:36:13.984Z] prd-ubuntu18.04-docker-arm64-4c-16g-817 does not seem to be running inside a container [2022-01-05T20:36:14.074Z] $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-05T20:36:15.467Z] $ docker top 84a3e6021100ead6f285138617fbb87d487ed32f415d69bbf4e07d7c5b9a570f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-05T20:36:15.750Z] ========================================================= [2022-01-05T20:36:15.750Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-05T20:36:15.750Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-05T20:36:16.404Z] + make test [2022-01-05T20:36:16.404Z] go mod tidy [2022-01-05T20:36:17.386Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-05T20:36:44.189Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-05T20:38:06.057Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-05T20:38:14.515Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-05T20:38:14.515Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-05T20:38:14.515Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-05T20:38:19.940Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-05T20:38:20.217Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-05T20:38:20.217Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-05T20:38:20.217Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-05T20:38:22.873Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-05T20:38:22.873Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-05T20:38:24.319Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-05T20:38:24.319Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-05T20:38:24.319Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-05T20:38:24.319Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-05T20:38:32.641Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.258s coverage: 28.7% of statements [2022-01-05T20:38:32.641Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-05T20:38:32.641Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-05T20:38:36.977Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.388s coverage: 98.5% of statements [2022-01-05T20:38:36.977Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-05T20:38:37.965Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.463s coverage: 44.7% of statements [2022-01-05T20:38:37.965Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-05T20:38:37.965Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-05T20:38:41.673Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 1.080s coverage: 89.5% of statements [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:38:41.673Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.255s coverage: 84.4% of statements [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-05T20:38:41.673Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.595s coverage: 94.2% of statements [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.271s coverage: 59.1% of statements [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.269s coverage: 60.0% of statements [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.288s coverage: 0.9% of statements [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.186s coverage: 58.8% of statements [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.190s coverage: 21.7% of statements [2022-01-05T20:38:50.001Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.280s coverage: 47.1% of statements [2022-01-05T20:38:50.001Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.311s coverage: 79.5% of statements [2022-01-05T20:38:50.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.222s coverage: 94.1% of statements [2022-01-05T20:38:52.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.282s coverage: 96.3% of statements [2022-01-05T20:38:52.581Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.216s coverage: 87.5% of statements [2022-01-05T20:39:05.005Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.206s coverage: 94.4% of statements [2022-01-05T20:39:05.005Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.175s coverage: 44.8% of statements [2022-01-05T20:39:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.595s coverage: 82.5% of statements [2022-01-05T20:39:10.399Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.280s coverage: 92.9% of statements [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.182s coverage: 87.2% of statements [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.159s coverage: 100.0% of statements [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.235s coverage: 58.8% of statements [2022-01-05T20:39:17.121Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.260s coverage: 80.0% of statements [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.241s coverage: 87.2% of statements [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.266s coverage: 85.4% of statements [2022-01-05T20:39:17.121Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.766s coverage: 91.2% of statements [2022-01-05T20:39:17.122Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-05T20:39:19.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.919s coverage: 64.4% of statements [2022-01-05T20:39:19.111Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-05T20:39:19.111Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-05T20:39:19.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.265s coverage: 100.0% of statements [2022-01-05T20:39:19.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 89.4% of statements [2022-01-05T20:39:19.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.060s coverage: 100.0% of statements [2022-01-05T20:39:19.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.123s coverage: 73.7% of statements [2022-01-05T20:39:20.839Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.059s coverage: 100.0% of statements [2022-01-05T20:39:25.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.332s coverage: 65.4% of statements [2022-01-05T20:39:25.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-05T20:39:25.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-05T20:39:25.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-05T20:39:26.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.751s coverage: 43.8% of statements [2022-01-05T20:39:26.606Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-05T20:39:26.606Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-05T20:39:26.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.230s coverage: 89.5% of statements [2022-01-05T20:39:26.606Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-05T20:39:26.606Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.257s coverage: 84.8% of statements [2022-01-05T20:39:26.606Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.268s coverage: 17.7% of statements [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.559s coverage: 92.3% of statements [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.233s coverage: 63.2% of statements [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.411s coverage: 97.7% of statements [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.214s coverage: 28.9% of statements [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-05T20:39:36.759Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.190s coverage: 100.0% of statements [2022-01-05T20:39:36.759Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 96.9% of statements [2022-01-05T20:39:36.759Z] 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-05T20:39:36.759Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-05T20:39:36.759Z] GO111MODULE=on go vet ./... [2022-01-05T20:41:13.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T20:41:13.569Z] ./internal/core/command/prometheus.go [2022-01-05T20:41:13.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-05T20:41:13.841Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2022-01-05T20:41:13.879Z] $ docker stop --time=1 84a3e6021100ead6f285138617fbb87d487ed32f415d69bbf4e07d7c5b9a570f [2022-01-05T20:41:15.777Z] $ docker rm -f 84a3e6021100ead6f285138617fbb87d487ed32f415d69bbf4e07d7c5b9a570f [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-05T20:41:17.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T20:41:17.288Z] [2022-01-05T20:41:17.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:41:17.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T20:41:17.906Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-05T20:41:17.906Z] 448f6bf000e3: Pulling fs layer [2022-01-05T20:41:17.906Z] f757da607395: Pulling fs layer [2022-01-05T20:41:17.906Z] 05883995daec: Pulling fs layer [2022-01-05T20:41:17.906Z] 8603b9c90790: Pulling fs layer [2022-01-05T20:41:17.906Z] 1560dd03e051: Pulling fs layer [2022-01-05T20:41:17.906Z] 27f5ce0e4adf: Pulling fs layer [2022-01-05T20:41:17.906Z] c2d8d7efcc4b: Pulling fs layer [2022-01-05T20:41:17.906Z] 8603b9c90790: Waiting [2022-01-05T20:41:17.906Z] 27f5ce0e4adf: Waiting [2022-01-05T20:41:17.906Z] c2d8d7efcc4b: Waiting [2022-01-05T20:41:17.906Z] f757da607395: Verifying Checksum [2022-01-05T20:41:17.906Z] f757da607395: Download complete [2022-01-05T20:41:17.906Z] 8603b9c90790: Verifying Checksum [2022-01-05T20:41:17.906Z] 8603b9c90790: Download complete [2022-01-05T20:41:18.180Z] 1560dd03e051: Verifying Checksum [2022-01-05T20:41:18.180Z] 1560dd03e051: Download complete [2022-01-05T20:41:18.180Z] 27f5ce0e4adf: Verifying Checksum [2022-01-05T20:41:18.180Z] 27f5ce0e4adf: Download complete [2022-01-05T20:41:18.180Z] 05883995daec: Verifying Checksum [2022-01-05T20:41:18.180Z] 05883995daec: Download complete [2022-01-05T20:41:18.452Z] 448f6bf000e3: Verifying Checksum [2022-01-05T20:41:18.452Z] 448f6bf000e3: Download complete [2022-01-05T20:41:21.103Z] c2d8d7efcc4b: Verifying Checksum [2022-01-05T20:41:21.103Z] c2d8d7efcc4b: Download complete [2022-01-05T20:41:22.076Z] 448f6bf000e3: Pull complete [2022-01-05T20:41:22.669Z] f757da607395: Pull complete [2022-01-05T20:41:24.110Z] 05883995daec: Pull complete [2022-01-05T20:41:24.384Z] 8603b9c90790: Pull complete [2022-01-05T20:41:25.367Z] 1560dd03e051: Pull complete [2022-01-05T20:41:25.639Z] 27f5ce0e4adf: Pull complete [2022-01-05T20:41:43.927Z] c2d8d7efcc4b: Pull complete [2022-01-05T20:41:43.927Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-05T20:41:43.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T20:41:43.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-05T20:41:44.141Z] prd-ubuntu18.04-docker-arm64-4c-16g-817 does not seem to be running inside a container [2022-01-05T20:41:44.242Z] $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@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:arm64 cat [2022-01-05T20:41:47.300Z] $ docker top 6422c109c46a90812b5f1161a8cb7f5cbef2b4a9d82457762e9e98d645cdff33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:41:48.290Z] ---> job-cost.sh [2022-01-05T20:41:48.290Z] lf-activate-venv: SKIPPING [2022-01-05T20:41:48.290Z] INFO: No Stack... [2022-01-05T20:41:48.882Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-05T20:41:49.154Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T20:41:49.858Z] + cat /w/workspace/edgex-go/6/archives/cost.csv [2022-01-05T20:41:49.858Z] + cut -d, -f6 [Pipeline] lock [2022-01-05T20:41:49.935Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-6-stack-cost] [2022-01-05T20:41:49.940Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-6-stack-cost] did not exist. Created. [2022-01-05T20:41:49.941Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T20:41:50.626Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-05T20:41:51.433Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T20:41:51.442Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T20:41:51.483Z] $ docker stop --time=1 6422c109c46a90812b5f1161a8cb7f5cbef2b4a9d82457762e9e98d645cdff33 [2022-01-05T20:41:53.038Z] $ docker rm -f 6422c109c46a90812b5f1161a8cb7f5cbef2b4a9d82457762e9e98d645cdff33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-05T20:41:53.332Z] 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-05T20:41:53.939Z] + '[' -d /w/workspace/edgex-go/6/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:41:54.233Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:41:54.984Z] ---> package-listing.sh [2022-01-05T20:41:54.984Z] ++ facter osfamily [2022-01-05T20:41:54.984Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-05T20:41:54.984Z] + OS_FAMILY=redhat [2022-01-05T20:41:54.984Z] + workspace=/w/workspace/edgex-go/6 [2022-01-05T20:41:54.984Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-05T20:41:54.984Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-05T20:41:54.984Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-05T20:41:54.984Z] + PACKAGES=/tmp/packages_start.txt [2022-01-05T20:41:54.984Z] + '[' /w/workspace/edgex-go/6 ']' [2022-01-05T20:41:54.984Z] + PACKAGES=/tmp/packages_end.txt [2022-01-05T20:41:54.984Z] + case "${OS_FAMILY}" in [2022-01-05T20:41:54.984Z] + sort [2022-01-05T20:41:54.984Z] + rpm -qa [2022-01-05T20:41:55.801Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-05T20:41:55.801Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-05T20:41:55.801Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-05T20:41:55.801Z] + '[' /w/workspace/edgex-go/6 ']' [2022-01-05T20:41:55.801Z] + mkdir -p /w/workspace/edgex-go/6/archives/ [2022-01-05T20:41:55.801Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo [2022-01-05T20:41:55.810Z] 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/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-05T20:41:56.094Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:41:56.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T20:41:56.655Z] [2022-01-05T20:41:56.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T20:41:56.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T20:41:56.955Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T20:41:56.955Z] b4d181a07f80: Pulling fs layer [2022-01-05T20:41:56.955Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T20:41:56.955Z] ed53099fbce6: Pulling fs layer [2022-01-05T20:41:56.955Z] dc539afda2c1: Pulling fs layer [2022-01-05T20:41:56.955Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T20:41:56.955Z] 9065ff56babe: Pulling fs layer [2022-01-05T20:41:56.955Z] d287ab97295c: Pulling fs layer [2022-01-05T20:41:56.955Z] 77bc0d833cb6: Waiting [2022-01-05T20:41:56.955Z] 9065ff56babe: Waiting [2022-01-05T20:41:56.955Z] d287ab97295c: Waiting [2022-01-05T20:41:56.955Z] dc539afda2c1: Waiting [2022-01-05T20:41:56.955Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T20:41:56.955Z] a1111a8f2ec3: Download complete [2022-01-05T20:41:56.955Z] dc539afda2c1: Verifying Checksum [2022-01-05T20:41:56.955Z] dc539afda2c1: Download complete [2022-01-05T20:41:56.955Z] ed53099fbce6: Verifying Checksum [2022-01-05T20:41:56.955Z] ed53099fbce6: Download complete [2022-01-05T20:41:56.955Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T20:41:56.955Z] 77bc0d833cb6: Download complete [2022-01-05T20:41:56.955Z] 9065ff56babe: Verifying Checksum [2022-01-05T20:41:56.955Z] 9065ff56babe: Download complete [2022-01-05T20:41:57.213Z] b4d181a07f80: Verifying Checksum [2022-01-05T20:41:57.213Z] b4d181a07f80: Download complete [2022-01-05T20:41:57.790Z] d287ab97295c: Verifying Checksum [2022-01-05T20:41:57.790Z] d287ab97295c: Download complete [2022-01-05T20:41:58.735Z] b4d181a07f80: Pull complete [2022-01-05T20:41:58.735Z] a1111a8f2ec3: Pull complete [2022-01-05T20:41:59.308Z] ed53099fbce6: Pull complete [2022-01-05T20:41:59.308Z] dc539afda2c1: Pull complete [2022-01-05T20:41:59.568Z] 77bc0d833cb6: Pull complete [2022-01-05T20:41:59.568Z] 9065ff56babe: Pull complete [2022-01-05T20:42:04.883Z] d287ab97295c: Pull complete [2022-01-05T20:42:04.883Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T20:42:04.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T20:42:04.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T20:42:04.948Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2022-01-05T20:42:04.984Z] $ 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/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-05T20:42:07.098Z] $ docker top 67d988af556f018a739903ab72d38d81570f40ff7bd363f596ab49ca999b6d02 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T20:42:07.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-05T20:42:07.745Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-05T20:42:08.047Z] + ls /var/log/sa-host [2022-01-05T20:42:08.047Z] + sadf -c /var/log/sa-host/sa05 [2022-01-05T20:42:08.047Z] file_magic: OK [2022-01-05T20:42:08.047Z] HZ: Using current value: 100 [2022-01-05T20:42:08.047Z] file_header: OK [2022-01-05T20:42:08.047Z] 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-05T20:42:08.047Z] Statistics: [2022-01-05T20:42:08.047Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T20:42:08.047Z] File successfully converted to sysstat format version 12.0.3 [2022-01-05T20:42:08.047Z] + sadf -c /var/log/sa-host/sa17 [2022-01-05T20:42:08.047Z] file_magic: OK [2022-01-05T20:42:08.047Z] HZ: Using current value: 100 [2022-01-05T20:42:08.047Z] file_header: OK [2022-01-05T20:42:08.047Z] 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-05T20:42:08.047Z] Statistics: [2022-01-05T20:42:08.047Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T20:42:08.047Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T20:42:08.256Z] provisioning config files... [2022-01-05T20:42:08.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config723889015103370081tmp [Pipeline] { [Pipeline] echo [2022-01-05T20:42:08.278Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:42:08.565Z] ---> create-netrc.sh [Pipeline] } [2022-01-05T20:42:08.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:42:08.905Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-05T20:42:08.915Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:42:09.213Z] ---> sudo-logs.sh [2022-01-05T20:42:09.214Z] Archiving 'sudo' log.. [2022-01-05T20:42:09.214Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-815.novalocal: Name or service not known [2022-01-05T20:42:09.214Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-815.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-05T20:42:09.259Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:42:09.551Z] ---> job-cost.sh [2022-01-05T20:42:09.552Z] lf-activate-venv: SKIPPING [2022-01-05T20:42:09.552Z] DEBUG: total: 0.10999999940395355 [2022-01-05T20:42:09.552Z] INFO: Retrieving Stack Cost... [2022-01-05T20:42:09.812Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T20:42:10.381Z] INFO: Archiving Costs [Pipeline] echo [2022-01-05T20:42:10.394Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T20:42:10.680Z] ---> logs-deploy.sh [2022-01-05T20:42:10.680Z] lf-activate-venv: SKIPPING [2022-01-05T20:42:10.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/6 [2022-01-05T20:42:10.680Z] INFO: archiving workspace using pattern(s): [2022-01-05T20:42:11.251Z] Archives upload complete. [2022-01-05T20:42:11.512Z] INFO: archiving logs to Nexus