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 1876cd192641e06e6c48213757fa64687e1ce8f0 rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from 1876cd192641e06e6c48213757fa64687e1ce8f0 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-ssh5482440981702476612.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-ssh17116062505637666362.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-ssh13078604377806543615.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-ssh12474439861418242151.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-ssh1383868001118399582.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 ‘prd-centos7-docker-4c-2g-776’ Running on prd-centos7-docker-4c-2g-779 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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/2@tmp/jenkins-gitclient-ssh7316729227874506778.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1876cd192641e06e6c48213757fa64687e1ce8f0 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Merge succeeded, producing f870a80194d5ebcbf3f42fb6108a06c1312a41c1 Checking out Revision f870a80194d5ebcbf3f42fb6108a06c1312a41c1 (PR-3842) > 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/2@tmp/jenkins-gitclient-ssh907161203841744714.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 > 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/2@tmp/jenkins-gitclient-ssh1184210436891301708.key > git merge 1876cd192641e06e6c48213757fa64687e1ce8f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f870a80194d5ebcbf3f42fb6108a06c1312a41c1 # timeout=10 Commit message: "Merge commit '1876cd192641e06e6c48213757fa64687e1ce8f0' into HEAD" > git rev-list --no-walk 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-13T20:30:33.570Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-13T20:30:33.623Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-13T20:30:33.639Z] ========================================================= [2021-12-13T20:30:33.639Z] EdgeX Global Pipelines Version Info [2021-12-13T20:30:33.639Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:30:34.764Z] ------------------- [2021-12-13T20:30:34.764Z] stable info: [2021-12-13T20:30:34.764Z] ------------------- [2021-12-13T20:30:34.764Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-13T20:30:34.764Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-13T20:30:34.764Z] Message: update stable to v1.0.217 [2021-12-13T20:30:35.337Z] ------------------- [2021-12-13T20:30:35.337Z] experimental info: [2021-12-13T20:30:35.337Z] ------------------- [2021-12-13T20:30:35.337Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-13T20:30:35.337Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-13T20:30:35.337Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-13T20:30:35.481Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-12-13T20:30:35.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-12-13T20:30:35.508Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-13T20:30:35.522Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-13T20:30:35.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-13T20:30:35.543Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-13T20:30:35.554Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-13T20:30:35.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-12-13T20:30:35.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-12-13T20:30:35.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-12-13T20:30:35.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-13T20:30:35.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-13T20:30:35.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-13T20:30:35.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-13T20:30:35.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-13T20:30:35.660Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-13T20:30:35.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-13T20:30:35.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-13T20:30:35.700Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-12-13T20:30:35.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-12-13T20:30:35.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-13T20:30:35.734Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-13T20:30:35.745Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2021-12-13T20:30:35.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2021-12-13T20:30:35.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2021-12-13T20:30:35.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f870a80194d5ebcbf3f42fb6108a06c1312a41c1 [Pipeline] echo [2021-12-13T20:30:35.792Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f870a80 [Pipeline] echo [2021-12-13T20:30:35.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-13T20:30:35.843Z] provisioning config files... [2021-12-13T20:30:35.857Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8151314786619264608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:30:36.155Z] ---> docker-login.sh [2021-12-13T20:30:36.155Z] nexus3.edgexfoundry.org:10001 [2021-12-13T20:30:36.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:30:36.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:30:36.418Z] Configure a credential helper to remove this warning. See [2021-12-13T20:30:36.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:30:36.418Z] [2021-12-13T20:30:36.418Z] Login Succeeded [2021-12-13T20:30:36.418Z] nexus3.edgexfoundry.org:10002 [2021-12-13T20:30:36.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:30:36.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:30:36.418Z] Configure a credential helper to remove this warning. See [2021-12-13T20:30:36.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:30:36.418Z] [2021-12-13T20:30:36.418Z] Login Succeeded [2021-12-13T20:30:36.418Z] nexus3.edgexfoundry.org:10003 [2021-12-13T20:30:36.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:30:36.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:30:36.418Z] Configure a credential helper to remove this warning. See [2021-12-13T20:30:36.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:30:36.418Z] [2021-12-13T20:30:36.418Z] Login Succeeded [2021-12-13T20:30:36.418Z] nexus3.edgexfoundry.org:10004 [2021-12-13T20:30:36.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:30:36.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:30:36.683Z] Configure a credential helper to remove this warning. See [2021-12-13T20:30:36.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:30:36.683Z] [2021-12-13T20:30:36.683Z] Login Succeeded [2021-12-13T20:30:36.683Z] docker.io [2021-12-13T20:30:36.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:30:36.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:30:36.947Z] Configure a credential helper to remove this warning. See [2021-12-13T20:30:36.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:30:36.947Z] [2021-12-13T20:30:36.947Z] Login Succeeded [2021-12-13T20:30:36.947Z] ---> docker-login.sh ends [Pipeline] } [2021-12-13T20:30:36.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-13T20:30:37.253Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/core-command/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo core-command,cmd/core-command/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/core-data/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo core-data,cmd/core-data/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/core-metadata/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/support-notifications/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-12-13T20:30:37.254Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-13T20:30:37.254Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-12-13T20:30:37.254Z] ++ cut -d/ -f2 [2021-12-13T20:30:37.254Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-12-13T20:30:37.282Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-13T20:30:37.669Z] + git rev-list -1 --merges f870a80194d5ebcbf3f42fb6108a06c1312a41c1~1..f870a80194d5ebcbf3f42fb6108a06c1312a41c1 [Pipeline] echo [2021-12-13T20:30:37.681Z] -----------> git rev-list -1 --merges f870a80194d5ebcbf3f42fb6108a06c1312a41c1~1..f870a80194d5ebcbf3f42fb6108a06c1312a41c1 f870a80194d5ebcbf3f42fb6108a06c1312a41c1 [2021-12-13T20:30:37.681Z] f870a80194d5ebcbf3f42fb6108a06c1312a41c1 [false] [Pipeline] sh [2021-12-13T20:30:37.970Z] + git log --format=format:%s -1 f870a80194d5ebcbf3f42fb6108a06c1312a41c1 [Pipeline] echo [2021-12-13T20:30:37.988Z] ========================================================= [2021-12-13T20:30:37.988Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-13T20:30:37.988Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2021-12-13T20:30:38.406Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-13T20:30:38.406Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-13T20:30:38.406Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-13T20:30:38.406Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-13T20:30:38.406Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-13T20:30:38.406Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-13T20:30:38.406Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:30:38.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-13T20:30:38.748Z] [2021-12-13T20:30:38.748Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:30:39.073Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-13T20:30:39.073Z] latest: Pulling from edgex-devops/git-semver [2021-12-13T20:30:39.073Z] a0d0a0d46f8b: Pulling fs layer [2021-12-13T20:30:39.073Z] 3e5f54012d9b: Pulling fs layer [2021-12-13T20:30:39.073Z] 4c7163046ea9: Pulling fs layer [2021-12-13T20:30:39.073Z] 0c2d73faf560: Pulling fs layer [2021-12-13T20:30:39.073Z] 0c2d73faf560: Waiting [2021-12-13T20:30:39.073Z] 3e5f54012d9b: Verifying Checksum [2021-12-13T20:30:39.073Z] 3e5f54012d9b: Download complete [2021-12-13T20:30:39.073Z] a0d0a0d46f8b: Verifying Checksum [2021-12-13T20:30:39.073Z] a0d0a0d46f8b: Download complete [2021-12-13T20:30:39.073Z] 4c7163046ea9: Verifying Checksum [2021-12-13T20:30:39.073Z] 4c7163046ea9: Download complete [2021-12-13T20:30:39.073Z] 0c2d73faf560: Verifying Checksum [2021-12-13T20:30:39.073Z] 0c2d73faf560: Download complete [2021-12-13T20:30:39.337Z] a0d0a0d46f8b: Pull complete [2021-12-13T20:30:39.337Z] 3e5f54012d9b: Pull complete [2021-12-13T20:30:39.603Z] 4c7163046ea9: Pull complete [2021-12-13T20:30:39.866Z] 0c2d73faf560: Pull complete [2021-12-13T20:30:39.866Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-13T20:30:39.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-13T20:30:39.866Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-13T20:30:39.936Z] prd-centos7-docker-4c-2g-779 does not seem to be running inside a container [2021-12-13T20:30:39.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-13T20:30:40.580Z] $ docker top 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-13T20:30:40.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-13T20:30:40.670Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-13T20:30:40.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-13T20:30:40.769Z] $ docker exec 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c ssh-agent [2021-12-13T20:30:40.869Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfPPDCD/agent.13 [2021-12-13T20:30:40.869Z] SSH_AGENT_PID=20 [2021-12-13T20:30:40.876Z] Running ssh-add (command line suppressed) [2021-12-13T20:30:40.971Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_945569006652985169.key (/w/workspace/edgex-go/2@tmp/private_key_945569006652985169.key) [2021-12-13T20:30:40.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-13T20:30:41.285Z] + git tag --points-at HEAD [Pipeline] } [2021-12-13T20:30:41.305Z] $ docker exec --env ******** --env ******** 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c ssh-agent -k [2021-12-13T20:30:41.395Z] unset SSH_AUTH_SOCK; [2021-12-13T20:30:41.396Z] unset SSH_AGENT_PID; [2021-12-13T20:30:41.396Z] echo Agent pid 20 killed; [2021-12-13T20:30:41.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-13T20:30:41.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-13T20:30:41.424Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-13T20:30:41.532Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-13T20:30:41.534Z] $ docker exec 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c ssh-agent [2021-12-13T20:30:41.637Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNFJiMB/agent.55 [2021-12-13T20:30:41.637Z] SSH_AGENT_PID=61 [2021-12-13T20:30:41.640Z] Running ssh-add (command line suppressed) [2021-12-13T20:30:41.739Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_4270538037686294623.key (/w/workspace/edgex-go/2@tmp/private_key_4270538037686294623.key) [2021-12-13T20:30:41.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-13T20:30:42.034Z] + git semver init [2021-12-13T20:30:42.034Z] # -> Open(): unable to determine branch for HEAD [2021-12-13T20:30:42.034Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-12-13T20:30:42.034Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-12-13T20:30:42.034Z] # $SEMVER_REMOTE_NAME = origin [2021-12-13T20:30:42.034Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-13T20:30:42.034Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-13T20:30:42.034Z] # $SEMVER_BRANCH = PR-3842 [2021-12-13T20:30:42.034Z] # $SEMVER_TEMP = /tmp/semver-277967390 [2021-12-13T20:30:42.034Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-12-13T20:31:38.335Z] # '/tmp/semver-277967390' -> '/w/workspace/edgex-go/2/.semver' [2021-12-13T20:31:38.335Z] # -> Force: false [2021-12-13T20:31:38.335Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-12-13T20:31:38.343Z] $ docker exec --env ******** --env ******** 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c ssh-agent -k [2021-12-13T20:31:38.438Z] unset SSH_AUTH_SOCK; [2021-12-13T20:31:38.439Z] unset SSH_AGENT_PID; [2021-12-13T20:31:38.439Z] echo Agent pid 61 killed; [2021-12-13T20:31:38.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-13T20:31:38.744Z] + git semver [Pipeline] } [2021-12-13T20:31:38.763Z] $ docker stop --time=1 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c [2021-12-13T20:31:40.532Z] $ docker rm -f 4d03874ce74ce506ed57d97b26473153e72cc50b1a1a949df64a612117a83b9c [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-13T20:31:40.894Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-13T20:31:41.112Z] Stashed 1 file(s) [Pipeline] echo [2021-12-13T20:31:41.115Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-12-13T20:31:41.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-13T20:31:41.377Z] ========================================================= [2021-12-13T20:31:41.377Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-13T20:31:41.377Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-13T20:31:41.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-13T20:31:41.672Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-13T20:31:41.672Z] a0d0a0d46f8b: Already exists [2021-12-13T20:31:41.672Z] 31adcdaf11c8: Pulling fs layer [2021-12-13T20:31:41.672Z] b8b176561691: Pulling fs layer [2021-12-13T20:31:41.672Z] 4527c011a84f: Pulling fs layer [2021-12-13T20:31:41.672Z] 5d74067f8e1e: Pulling fs layer [2021-12-13T20:31:41.672Z] e0aca202a116: Pulling fs layer [2021-12-13T20:31:41.672Z] 3a43be97a3b4: Pulling fs layer [2021-12-13T20:31:41.672Z] 34cad66bf833: Pulling fs layer [2021-12-13T20:31:41.672Z] b4e3c513aaa6: Pulling fs layer [2021-12-13T20:31:41.672Z] 3a43be97a3b4: Waiting [2021-12-13T20:31:41.672Z] 34cad66bf833: Waiting [2021-12-13T20:31:41.672Z] b4e3c513aaa6: Waiting [2021-12-13T20:31:41.672Z] 5d74067f8e1e: Waiting [2021-12-13T20:31:41.672Z] e0aca202a116: Waiting [2021-12-13T20:31:41.672Z] b8b176561691: Verifying Checksum [2021-12-13T20:31:41.672Z] b8b176561691: Download complete [2021-12-13T20:31:41.672Z] 31adcdaf11c8: Verifying Checksum [2021-12-13T20:31:41.672Z] 31adcdaf11c8: Download complete [2021-12-13T20:31:41.672Z] 5d74067f8e1e: Verifying Checksum [2021-12-13T20:31:41.672Z] 5d74067f8e1e: Download complete [2021-12-13T20:31:41.672Z] e0aca202a116: Verifying Checksum [2021-12-13T20:31:41.672Z] e0aca202a116: Download complete [2021-12-13T20:31:41.672Z] 3a43be97a3b4: Download complete [2021-12-13T20:31:41.939Z] 31adcdaf11c8: Pull complete [2021-12-13T20:31:41.939Z] 34cad66bf833: Verifying Checksum [2021-12-13T20:31:41.939Z] 34cad66bf833: Download complete [2021-12-13T20:31:41.939Z] b8b176561691: Pull complete [2021-12-13T20:31:42.211Z] 4527c011a84f: Verifying Checksum [2021-12-13T20:31:42.211Z] 4527c011a84f: Download complete [2021-12-13T20:31:42.479Z] b4e3c513aaa6: Verifying Checksum [2021-12-13T20:31:42.479Z] b4e3c513aaa6: Download complete [2021-12-13T20:31:45.834Z] 4527c011a84f: Pull complete [2021-12-13T20:31:45.834Z] 5d74067f8e1e: Pull complete [2021-12-13T20:31:46.093Z] e0aca202a116: Pull complete [2021-12-13T20:31:46.093Z] 3a43be97a3b4: Pull complete [2021-12-13T20:31:46.358Z] 34cad66bf833: Pull complete [2021-12-13T20:31:48.923Z] b4e3c513aaa6: Pull complete [2021-12-13T20:31:48.923Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-13T20:31:48.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-13T20:31:48.923Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-12-13T20:31:49.226Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-13T20:31:49.226Z] WORKDIR /edgex [2021-12-13T20:31:49.226Z] COPY go.mod . [2021-12-13T20:31:49.226Z] RUN go mod download' [2021-12-13T20:31:49.226Z] + docker build -t ci-base-image-x86_64 -f - . [2021-12-13T20:31:51.187Z] Sending build context to Docker daemon 334.6MB [2021-12-13T20:31:51.187Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-13T20:31:51.187Z] ---> 9f6097aaca64 [2021-12-13T20:31:51.187Z] Step 2/4 : WORKDIR /edgex [2021-12-13T20:31:52.129Z] ---> Running in b22a775c15d0 [2021-12-13T20:31:52.389Z] Removing intermediate container b22a775c15d0 [2021-12-13T20:31:52.389Z] ---> a591069e311f [2021-12-13T20:31:52.389Z] Step 3/4 : COPY go.mod . [2021-12-13T20:31:52.389Z] ---> 9fa82c413c5c [2021-12-13T20:31:52.389Z] Step 4/4 : RUN go mod download [2021-12-13T20:31:52.389Z] ---> Running in 538d916c21b5 [2021-12-13T20:31:56.319Z] Still waiting to schedule task [2021-12-13T20:31:56.319Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-777’ [2021-12-13T20:32:24.549Z] Removing intermediate container 538d916c21b5 [2021-12-13T20:32:24.549Z] ---> 6f9702aea7e5 [2021-12-13T20:32:24.549Z] Successfully built 6f9702aea7e5 [2021-12-13T20:32:24.549Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:32:24.849Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-13T20:32:24.849Z] . [Pipeline] withDockerContainer [2021-12-13T20:32:24.916Z] prd-centos7-docker-4c-2g-779 does not seem to be running inside a container [2021-12-13T20:32:24.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-13T20:32:25.349Z] $ docker top 4a0ec6d770409925babaa863b8206fc5ff417eb40c8afab7bbad77f83c9df5a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-13T20:32:25.699Z] + go version [2021-12-13T20:32:25.700Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-13T20:32:25.709Z] $ docker stop --time=1 4a0ec6d770409925babaa863b8206fc5ff417eb40c8afab7bbad77f83c9df5a2 [2021-12-13T20:32:26.888Z] $ docker rm -f 4a0ec6d770409925babaa863b8206fc5ff417eb40c8afab7bbad77f83c9df5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:32:27.484Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-13T20:32:27.484Z] . [Pipeline] withDockerContainer [2021-12-13T20:32:27.561Z] prd-centos7-docker-4c-2g-779 does not seem to be running inside a container [2021-12-13T20:32:27.592Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-13T20:32:27.917Z] $ docker top 85271d0332e6c5fadd63b68678e1b8ca88ebabda71f604999c8202479b68e53b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-13T20:32:27.994Z] ========================================================= [2021-12-13T20:32:27.994Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-12-13T20:32:27.994Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-13T20:32:28.293Z] + make test [2021-12-13T20:32:28.293Z] go mod tidy [2021-12-13T20:32:28.556Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-12-13T20:32:33.897Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-12-13T20:32:55.924Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-12-13T20:33:00.217Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-12-13T20:33:00.217Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-12-13T20:33:00.804Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-12-13T20:33:03.372Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-12-13T20:33:03.968Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-12-13T20:33:03.968Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-12-13T20:33:03.968Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-12-13T20:33:04.548Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-12-13T20:33:04.548Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-12-13T20:33:05.136Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-12-13T20:33:05.136Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-12-13T20:33:05.136Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-12-13T20:33:05.136Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-12-13T20:33:06.537Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.044s coverage: 28.7% of statements [2021-12-13T20:33:06.537Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-12-13T20:33:06.537Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-12-13T20:33:07.497Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.063s coverage: 98.5% of statements [2021-12-13T20:33:07.497Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-12-13T20:33:07.760Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.068s coverage: 44.7% of statements [2021-12-13T20:33:07.760Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-12-13T20:33:07.760Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-12-13T20:33:09.154Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.127s coverage: 89.5% of statements [2021-12-13T20:33:09.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-12-13T20:33:09.155Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:33:10.099Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.048s coverage: 84.4% of statements [2021-12-13T20:33:10.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-12-13T20:33:10.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-12-13T20:33:10.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-12-13T20:33:10.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-12-13T20:33:10.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-12-13T20:33:10.684Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.249s coverage: 94.2% of statements [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:33:10.684Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.041s coverage: 59.1% of statements [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-12-13T20:33:10.684Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-12-13T20:33:11.265Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.049s coverage: 60.0% of statements [2021-12-13T20:33:11.265Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-12-13T20:33:11.265Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-12-13T20:33:11.265Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-12-13T20:33:11.847Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.050s coverage: 0.9% of statements [2021-12-13T20:33:11.847Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-12-13T20:33:11.847Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements [2021-12-13T20:33:12.110Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.047s coverage: 21.7% of statements [2021-12-13T20:33:12.110Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-12-13T20:33:12.372Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.040s coverage: 47.1% of statements [2021-12-13T20:33:12.640Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.051s coverage: 79.5% of statements [2021-12-13T20:33:12.640Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.052s coverage: 94.1% of statements [2021-12-13T20:33:13.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.070s coverage: 96.3% of statements [2021-12-13T20:33:13.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.048s coverage: 87.5% of statements [2021-12-13T20:33:25.458Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.061s coverage: 94.4% of statements [2021-12-13T20:33:25.458Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.041s coverage: 44.8% of statements [2021-12-13T20:33:29.670Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.194s coverage: 82.5% of statements [2021-12-13T20:33:29.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.075s coverage: 92.9% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.027s coverage: 65.1% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.054s coverage: 87.2% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.051s coverage: 100.0% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s coverage: 58.8% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.051s coverage: 80.0% of statements [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.061s coverage: 87.2% of statements [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.056s coverage: 85.4% of statements [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.125s coverage: 91.2% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.151s coverage: 64.4% of statements [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-12-13T20:33:51.643Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.041s coverage: 100.0% of statements [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.019s coverage: 100.0% of statements [2021-12-13T20:33:51.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.018s coverage: 73.7% of statements [2021-12-13T20:33:51.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.018s coverage: 100.0% of statements [2021-12-13T20:33:51.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.271s coverage: 65.4% of statements [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-12-13T20:33:51.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.111s coverage: 43.8% of statements [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-12-13T20:33:51.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-12-13T20:33:51.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements [2021-12-13T20:33:51.644Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.064s coverage: 17.7% of statements [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.126s coverage: 92.3% of statements [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.051s coverage: 63.2% of statements [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.085s coverage: 97.7% of statements [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.051s coverage: 28.9% of statements [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-12-13T20:33:56.934Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements [2021-12-13T20:33:56.934Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements [2021-12-13T20:33:56.934Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-12-13T20:34:35.824Z] GO111MODULE=on go vet ./... [2021-12-13T20:34:44.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-13T20:34:44.018Z] ./internal/core/command/prometheus.go [2021-12-13T20:34:44.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-13T20:34:44.281Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-12-13T20:34:44.290Z] $ docker stop --time=1 85271d0332e6c5fadd63b68678e1b8ca88ebabda71f604999c8202479b68e53b [2021-12-13T20:34:45.747Z] $ docker rm -f 85271d0332e6c5fadd63b68678e1b8ca88ebabda71f604999c8202479b68e53b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-13T20:34:46.600Z] Failed in branch amd64 [2021-12-13T20:35:09.497Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-781 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2021-12-13T20:35:09.505Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-12-13T20:35:09.768Z] The recommended git tool is: git [2021-12-13T20:35:14.314Z] using credential edgex-jenkins-ssh [2021-12-13T20:35:14.333Z] Cloning the remote Git repository [2021-12-13T20:35:14.378Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-12-13T20:35:14.452Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-12-13T20:35:14.526Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-12-13T20:35:14.527Z] > git --version # timeout=10 [2021-12-13T20:35:14.543Z] > git --version # 'git version 2.17.1' [2021-12-13T20:35:14.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-13T20:35:14.676Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-13T20:35:35.818Z] Merging remotes/origin/main commit 1876cd192641e06e6c48213757fa64687e1ce8f0 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [2021-12-13T20:35:34.868Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-12-13T20:35:34.886Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-13T20:35:34.916Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-12-13T20:35:34.956Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-12-13T20:35:34.957Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-13T20:35:34.970Z] > 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 [2021-12-13T20:35:35.834Z] > git config core.sparsecheckout # timeout=10 [2021-12-13T20:35:35.852Z] > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [2021-12-13T20:35:36.067Z] > git remote # timeout=10 [2021-12-13T20:35:36.096Z] > git config --get remote.origin.url # timeout=10 [2021-12-13T20:35:36.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-13T20:35:36.123Z] > git merge 1876cd192641e06e6c48213757fa64687e1ce8f0 # timeout=10 [2021-12-13T20:35:36.317Z] Merge succeeded, producing aaf98ea6ec434e06f691586c68ed470fcf1923b2 [2021-12-13T20:35:36.317Z] Checking out Revision aaf98ea6ec434e06f691586c68ed470fcf1923b2 (PR-3842) [2021-12-13T20:35:36.298Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-13T20:35:36.321Z] > git config core.sparsecheckout # timeout=10 [2021-12-13T20:35:36.348Z] > git checkout -f aaf98ea6ec434e06f691586c68ed470fcf1923b2 # timeout=10 [2021-12-13T20:35:40.481Z] Commit message: "Merge commit '1876cd192641e06e6c48213757fa64687e1ce8f0' into HEAD" [2021-12-13T20:35:40.486Z] > git rev-list --no-walk 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-13T20:35:41.581Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-13T20:35:41.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-13T20:35:41.581Z] Dload Upload Total Spent Left Speed [2021-12-13T20:35:41.581Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 79355 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh [2021-12-13T20:35:42.149Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-13T20:35:42.483Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-13T20:35:42.483Z] + sudo tee /etc/docker/daemon.new [2021-12-13T20:35:42.483Z] { [2021-12-13T20:35:42.483Z] "registry-mirrors": [ [2021-12-13T20:35:42.483Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-13T20:35:42.483Z] ], [2021-12-13T20:35:42.483Z] "bip": "10.250.0.254/24", [2021-12-13T20:35:42.483Z] "hosts": [ [2021-12-13T20:35:42.483Z] "tcp://0.0.0.0:5555", [2021-12-13T20:35:42.483Z] "unix:///var/run/docker.sock" [2021-12-13T20:35:42.483Z] ], [2021-12-13T20:35:42.483Z] "mtu": 1458, [2021-12-13T20:35:42.483Z] "selinux-enabled": true, [2021-12-13T20:35:42.483Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-13T20:35:42.483Z] } [Pipeline] sh [2021-12-13T20:35:42.825Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-13T20:35:43.169Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-13T20:36:01.493Z] provisioning config files... [2021-12-13T20:36:01.518Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8910163778347773276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:36:01.876Z] ---> docker-login.sh [2021-12-13T20:36:01.876Z] nexus3.edgexfoundry.org:10001 [2021-12-13T20:36:02.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:36:02.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:36:02.475Z] Configure a credential helper to remove this warning. See [2021-12-13T20:36:02.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:36:02.475Z] [2021-12-13T20:36:02.475Z] Login Succeeded [2021-12-13T20:36:02.475Z] nexus3.edgexfoundry.org:10002 [2021-12-13T20:36:03.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:36:03.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:36:03.072Z] Configure a credential helper to remove this warning. See [2021-12-13T20:36:03.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:36:03.072Z] [2021-12-13T20:36:03.072Z] Login Succeeded [2021-12-13T20:36:03.072Z] nexus3.edgexfoundry.org:10003 [2021-12-13T20:36:03.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:36:03.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:36:03.620Z] Configure a credential helper to remove this warning. See [2021-12-13T20:36:03.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:36:03.620Z] [2021-12-13T20:36:03.620Z] Login Succeeded [2021-12-13T20:36:03.620Z] nexus3.edgexfoundry.org:10004 [2021-12-13T20:36:03.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:36:03.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:36:03.896Z] Configure a credential helper to remove this warning. See [2021-12-13T20:36:03.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:36:03.896Z] [2021-12-13T20:36:03.896Z] Login Succeeded [2021-12-13T20:36:03.896Z] docker.io [2021-12-13T20:36:04.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-13T20:36:04.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-13T20:36:04.763Z] Configure a credential helper to remove this warning. See [2021-12-13T20:36:04.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-13T20:36:04.763Z] [2021-12-13T20:36:04.763Z] Login Succeeded [2021-12-13T20:36:04.763Z] ---> docker-login.sh ends [Pipeline] } [2021-12-13T20:36:04.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-13T20:36:05.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-13T20:36:05.320Z] ========================================================= [2021-12-13T20:36:05.320Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-13T20:36:05.320Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-13T20:36:05.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-13T20:36:05.919Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-13T20:36:05.919Z] 552d1f2373af: Pulling fs layer [2021-12-13T20:36:05.919Z] ea3f2d53f512: Pulling fs layer [2021-12-13T20:36:05.919Z] 9e70ebbbe112: Pulling fs layer [2021-12-13T20:36:05.919Z] 7a9cfe048b4a: Pulling fs layer [2021-12-13T20:36:05.919Z] 72dc09318566: Pulling fs layer [2021-12-13T20:36:05.919Z] f4f7b4309257: Pulling fs layer [2021-12-13T20:36:05.919Z] 0ac9a79272e3: Pulling fs layer [2021-12-13T20:36:05.919Z] b78e95d17946: Pulling fs layer [2021-12-13T20:36:05.919Z] f4f7b4309257: Waiting [2021-12-13T20:36:05.919Z] 0ac9a79272e3: Waiting [2021-12-13T20:36:05.919Z] 7a9cfe048b4a: Waiting [2021-12-13T20:36:05.919Z] b78e95d17946: Waiting [2021-12-13T20:36:05.919Z] 72dc09318566: Waiting [2021-12-13T20:36:05.919Z] 9e70ebbbe112: Verifying Checksum [2021-12-13T20:36:05.919Z] 9e70ebbbe112: Download complete [2021-12-13T20:36:05.919Z] ea3f2d53f512: Download complete [2021-12-13T20:36:05.919Z] 72dc09318566: Verifying Checksum [2021-12-13T20:36:05.919Z] 72dc09318566: Download complete [2021-12-13T20:36:05.919Z] f4f7b4309257: Verifying Checksum [2021-12-13T20:36:05.919Z] f4f7b4309257: Download complete [2021-12-13T20:36:05.919Z] 552d1f2373af: Verifying Checksum [2021-12-13T20:36:05.919Z] 552d1f2373af: Download complete [2021-12-13T20:36:05.919Z] 0ac9a79272e3: Verifying Checksum [2021-12-13T20:36:05.919Z] 0ac9a79272e3: Download complete [2021-12-13T20:36:06.523Z] 552d1f2373af: Pull complete [2021-12-13T20:36:07.121Z] ea3f2d53f512: Pull complete [2021-12-13T20:36:07.719Z] 9e70ebbbe112: Pull complete [2021-12-13T20:36:07.719Z] b78e95d17946: Verifying Checksum [2021-12-13T20:36:07.719Z] b78e95d17946: Download complete [2021-12-13T20:36:08.318Z] 7a9cfe048b4a: Verifying Checksum [2021-12-13T20:36:08.318Z] 7a9cfe048b4a: Download complete [2021-12-13T20:36:20.704Z] 7a9cfe048b4a: Pull complete [2021-12-13T20:36:20.704Z] 72dc09318566: Pull complete [2021-12-13T20:36:20.704Z] f4f7b4309257: Pull complete [2021-12-13T20:36:20.704Z] 0ac9a79272e3: Pull complete [2021-12-13T20:36:26.102Z] b78e95d17946: Pull complete [2021-12-13T20:36:26.102Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-13T20:36:26.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-13T20:36:26.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-12-13T20:36:26.455Z] + echo+ FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-13T20:36:26.455Z] WORKDIR /edgex [2021-12-13T20:36:26.455Z] COPY go.mod . [2021-12-13T20:36:26.455Z] RUN go mod download [2021-12-13T20:36:26.455Z] docker build -t ci-base-image-arm64 -f - . [2021-12-13T20:36:29.086Z] Sending build context to Docker daemon 169MB [2021-12-13T20:36:29.086Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-13T20:36:29.086Z] ---> 8b459fc5aaf0 [2021-12-13T20:36:29.086Z] Step 2/4 : WORKDIR /edgex [2021-12-13T20:36:30.519Z] ---> Running in 3fa2ea31eb52 [2021-12-13T20:36:31.114Z] Removing intermediate container 3fa2ea31eb52 [2021-12-13T20:36:31.114Z] ---> 0509dfd32bf2 [2021-12-13T20:36:31.114Z] Step 3/4 : COPY go.mod . [2021-12-13T20:36:31.707Z] ---> 09c103c5c6c6 [2021-12-13T20:36:31.707Z] Step 4/4 : RUN go mod download [2021-12-13T20:36:31.707Z] ---> Running in cd1359b7c998 [2021-12-13T20:37:53.478Z] Removing intermediate container cd1359b7c998 [2021-12-13T20:37:53.478Z] ---> db74704776d3 [2021-12-13T20:37:53.478Z] Successfully built db74704776d3 [2021-12-13T20:37:53.478Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:37:53.812Z] + docker inspect -f . ci-base-image-arm64 [2021-12-13T20:37:53.812Z] . [Pipeline] withDockerContainer [2021-12-13T20:37:54.013Z] prd-ubuntu18.04-docker-arm64-4c-16g-781 does not seem to be running inside a container [2021-12-13T20:37:54.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-12-13T20:37:55.358Z] $ docker top 81bb28dc6d81b22947e59fc140650def5f91a5b361a033eea6833d909cb02086 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-13T20:37:56.220Z] + go version [2021-12-13T20:37:56.220Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-13T20:37:56.243Z] $ docker stop --time=1 81bb28dc6d81b22947e59fc140650def5f91a5b361a033eea6833d909cb02086 [2021-12-13T20:37:57.826Z] $ docker rm -f 81bb28dc6d81b22947e59fc140650def5f91a5b361a033eea6833d909cb02086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:37:58.562Z] + docker inspect -f . ci-base-image-arm64 [2021-12-13T20:37:58.562Z] . [Pipeline] withDockerContainer [2021-12-13T20:37:58.777Z] prd-ubuntu18.04-docker-arm64-4c-16g-781 does not seem to be running inside a container [2021-12-13T20:37:58.856Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-12-13T20:38:00.077Z] $ docker top 3c537cb84c312de36781e270989bd462f21945ed67aeaa6691901b033f1aa2b6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-13T20:38:00.334Z] ========================================================= [2021-12-13T20:38:00.335Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-12-13T20:38:00.335Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-13T20:38:00.993Z] + make test [2021-12-13T20:38:00.994Z] go mod tidy [2021-12-13T20:38:01.593Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-12-13T20:38:28.405Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-12-13T20:39:36.504Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-12-13T20:39:48.933Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-12-13T20:39:48.933Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-12-13T20:39:48.933Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-12-13T20:39:53.242Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-12-13T20:39:53.242Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-12-13T20:39:53.242Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-12-13T20:39:53.242Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-12-13T20:39:55.873Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-12-13T20:39:55.873Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-12-13T20:39:56.852Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-12-13T20:39:56.852Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-12-13T20:39:56.852Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-12-13T20:39:56.852Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-12-13T20:40:03.569Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.159s coverage: 28.7% of statements [2021-12-13T20:40:03.570Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-12-13T20:40:03.570Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-12-13T20:40:07.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.413s coverage: 98.5% of statements [2021-12-13T20:40:07.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-12-13T20:40:08.888Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.359s coverage: 44.7% of statements [2021-12-13T20:40:08.888Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-12-13T20:40:08.888Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-12-13T20:40:12.297Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.633s coverage: 89.5% of statements [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:40:12.297Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.265s coverage: 84.4% of statements [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-12-13T20:40:12.297Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.608s coverage: 94.2% of statements [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.198s coverage: 59.1% of statements [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.197s coverage: 60.0% of statements [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.385s coverage: 0.9% of statements [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.196s coverage: 58.8% of statements [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.167s coverage: 21.7% of statements [2021-12-13T20:40:20.595Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.268s coverage: 47.1% of statements [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.210s coverage: 79.5% of statements [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.167s coverage: 94.1% of statements [2021-12-13T20:40:20.595Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.212s coverage: 96.3% of statements [2021-12-13T20:40:21.583Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.189s coverage: 87.5% of statements [2021-12-13T20:40:34.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.203s coverage: 94.4% of statements [2021-12-13T20:40:34.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.275s coverage: 44.8% of statements [2021-12-13T20:40:39.508Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.613s coverage: 82.5% of statements [2021-12-13T20:40:39.508Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.256s coverage: 92.9% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.180s coverage: 87.2% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.155s coverage: 100.0% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.265s coverage: 58.8% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.261s coverage: 80.0% of statements [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.240s coverage: 87.2% of statements [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.284s coverage: 85.4% of statements [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.747s coverage: 91.2% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.773s coverage: 64.4% of statements [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-12-13T20:40:47.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.168s coverage: 100.0% of statements [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.129s coverage: 89.4% of statements [2021-12-13T20:40:47.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.060s coverage: 100.0% of statements [2021-12-13T20:40:48.789Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.071s coverage: 73.7% of statements [2021-12-13T20:40:48.789Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.065s coverage: 100.0% of statements [2021-12-13T20:40:53.100Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.357s coverage: 65.4% of statements [2021-12-13T20:40:53.100Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-12-13T20:40:53.100Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-12-13T20:40:53.100Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-12-13T20:40:54.530Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.769s coverage: 43.8% of statements [2021-12-13T20:40:54.530Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-12-13T20:40:54.530Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-12-13T20:40:54.530Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.212s coverage: 89.5% of statements [2021-12-13T20:40:54.530Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-12-13T20:40:54.530Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.237s coverage: 84.8% of statements [2021-12-13T20:40:54.530Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.230s coverage: 17.7% of statements [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.598s coverage: 92.3% of statements [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.250s coverage: 63.2% of statements [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.416s coverage: 97.7% of statements [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.184s coverage: 28.9% of statements [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-12-13T20:41:04.687Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.276s coverage: 100.0% of statements [2021-12-13T20:41:04.687Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements [2021-12-13T20:41:04.687Z] 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 [2021-12-13T20:41:04.687Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2021-12-13T20:41:04.687Z] GO111MODULE=on go vet ./... [2021-12-13T20:42:41.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-13T20:42:41.484Z] ./internal/core/command/prometheus.go [2021-12-13T20:42:41.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-13T20:42:41.484Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-12-13T20:42:41.510Z] $ docker stop --time=1 3c537cb84c312de36781e270989bd462f21945ed67aeaa6691901b033f1aa2b6 [2021-12-13T20:42:43.239Z] $ docker rm -f 3c537cb84c312de36781e270989bd462f21945ed67aeaa6691901b033f1aa2b6 [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 [2021-12-13T20:42:44.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-13T20:42:44.875Z] [2021-12-13T20:42:44.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:42:45.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-13T20:42:45.489Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-13T20:42:45.489Z] 448f6bf000e3: Pulling fs layer [2021-12-13T20:42:45.489Z] f757da607395: Pulling fs layer [2021-12-13T20:42:45.489Z] 05883995daec: Pulling fs layer [2021-12-13T20:42:45.489Z] 8603b9c90790: Pulling fs layer [2021-12-13T20:42:45.489Z] 1560dd03e051: Pulling fs layer [2021-12-13T20:42:45.489Z] 27f5ce0e4adf: Pulling fs layer [2021-12-13T20:42:45.489Z] c2d8d7efcc4b: Pulling fs layer [2021-12-13T20:42:45.489Z] 8603b9c90790: Waiting [2021-12-13T20:42:45.489Z] 1560dd03e051: Waiting [2021-12-13T20:42:45.489Z] 27f5ce0e4adf: Waiting [2021-12-13T20:42:45.489Z] c2d8d7efcc4b: Waiting [2021-12-13T20:42:45.489Z] f757da607395: Verifying Checksum [2021-12-13T20:42:45.489Z] f757da607395: Download complete [2021-12-13T20:42:45.489Z] 8603b9c90790: Verifying Checksum [2021-12-13T20:42:45.489Z] 8603b9c90790: Download complete [2021-12-13T20:42:45.764Z] 1560dd03e051: Verifying Checksum [2021-12-13T20:42:45.764Z] 1560dd03e051: Download complete [2021-12-13T20:42:45.764Z] 27f5ce0e4adf: Download complete [2021-12-13T20:42:45.764Z] 05883995daec: Verifying Checksum [2021-12-13T20:42:45.764Z] 05883995daec: Download complete [2021-12-13T20:42:46.036Z] 448f6bf000e3: Verifying Checksum [2021-12-13T20:42:46.036Z] 448f6bf000e3: Download complete [2021-12-13T20:42:48.657Z] c2d8d7efcc4b: Verifying Checksum [2021-12-13T20:42:48.657Z] c2d8d7efcc4b: Download complete [2021-12-13T20:42:49.633Z] 448f6bf000e3: Pull complete [2021-12-13T20:42:50.232Z] f757da607395: Pull complete [2021-12-13T20:42:51.660Z] 05883995daec: Pull complete [2021-12-13T20:42:51.932Z] 8603b9c90790: Pull complete [2021-12-13T20:42:52.907Z] 1560dd03e051: Pull complete [2021-12-13T20:42:52.907Z] 27f5ce0e4adf: Pull complete [2021-12-13T20:43:07.967Z] c2d8d7efcc4b: Pull complete [2021-12-13T20:43:07.967Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-13T20:43:07.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-13T20:43:07.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-13T20:43:08.163Z] prd-ubuntu18.04-docker-arm64-4c-16g-781 does not seem to be running inside a container [2021-12-13T20:43:08.243Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-12-13T20:43:10.857Z] $ docker top eff86bf514d5069edc6675220c50884c1cd285b61579701ab8d5d4785a89460f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:11.491Z] ---> job-cost.sh [2021-12-13T20:43:11.764Z] lf-activate-venv: SKIPPING [2021-12-13T20:43:11.764Z] INFO: No Stack... [2021-12-13T20:43:12.033Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-13T20:43:12.624Z] INFO: Archiving Costs [Pipeline] sh [2021-12-13T20:43:13.278Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2021-12-13T20:43:13.278Z] + cut -d, -f6 [Pipeline] lock [2021-12-13T20:43:13.337Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-2-stack-cost] [2021-12-13T20:43:13.343Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-2-stack-cost] did not exist. Created. [2021-12-13T20:43:13.343Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-13T20:43:14.004Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-13T20:43:14.716Z] Stashed 1 file(s) [Pipeline] } [2021-12-13T20:43:14.723Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-13T20:43:14.749Z] $ docker stop --time=1 eff86bf514d5069edc6675220c50884c1cd285b61579701ab8d5d4785a89460f [2021-12-13T20:43:16.287Z] $ docker rm -f eff86bf514d5069edc6675220c50884c1cd285b61579701ab8d5d4785a89460f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-13T20:43:16.737Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-13T20:43:17.906Z] + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:18.202Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:19.098Z] ---> package-listing.sh [2021-12-13T20:43:19.098Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-13T20:43:19.098Z] ++ facter osfamily [2021-12-13T20:43:19.098Z] + OS_FAMILY=redhat [2021-12-13T20:43:19.098Z] + workspace=/w/workspace/edgex-go/2 [2021-12-13T20:43:19.098Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-13T20:43:19.098Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-13T20:43:19.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-13T20:43:19.098Z] + PACKAGES=/tmp/packages_start.txt [2021-12-13T20:43:19.098Z] + '[' /w/workspace/edgex-go/2 ']' [2021-12-13T20:43:19.098Z] + PACKAGES=/tmp/packages_end.txt [2021-12-13T20:43:19.098Z] + case "${OS_FAMILY}" in [2021-12-13T20:43:19.098Z] + sort [2021-12-13T20:43:19.098Z] + rpm -qa [2021-12-13T20:43:19.830Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-13T20:43:19.830Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-13T20:43:19.830Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-13T20:43:19.830Z] + '[' /w/workspace/edgex-go/2 ']' [2021-12-13T20:43:19.830Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-12-13T20:43:19.830Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-12-13T20:43:19.841Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-13T20:43:20.117Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:43:20.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-13T20:43:20.676Z] [2021-12-13T20:43:20.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-13T20:43:20.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-13T20:43:20.979Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-13T20:43:20.979Z] b4d181a07f80: Pulling fs layer [2021-12-13T20:43:20.979Z] a1111a8f2ec3: Pulling fs layer [2021-12-13T20:43:20.979Z] ed53099fbce6: Pulling fs layer [2021-12-13T20:43:20.979Z] dc539afda2c1: Pulling fs layer [2021-12-13T20:43:20.979Z] 77bc0d833cb6: Pulling fs layer [2021-12-13T20:43:20.979Z] 9065ff56babe: Pulling fs layer [2021-12-13T20:43:20.979Z] d287ab97295c: Pulling fs layer [2021-12-13T20:43:20.979Z] dc539afda2c1: Waiting [2021-12-13T20:43:20.979Z] 77bc0d833cb6: Waiting [2021-12-13T20:43:20.979Z] 9065ff56babe: Waiting [2021-12-13T20:43:20.979Z] d287ab97295c: Waiting [2021-12-13T20:43:20.979Z] a1111a8f2ec3: Verifying Checksum [2021-12-13T20:43:20.979Z] a1111a8f2ec3: Download complete [2021-12-13T20:43:20.979Z] dc539afda2c1: Verifying Checksum [2021-12-13T20:43:20.979Z] dc539afda2c1: Download complete [2021-12-13T20:43:20.979Z] ed53099fbce6: Verifying Checksum [2021-12-13T20:43:20.979Z] ed53099fbce6: Download complete [2021-12-13T20:43:20.979Z] 9065ff56babe: Verifying Checksum [2021-12-13T20:43:20.979Z] 9065ff56babe: Download complete [2021-12-13T20:43:20.979Z] 77bc0d833cb6: Verifying Checksum [2021-12-13T20:43:20.979Z] 77bc0d833cb6: Download complete [2021-12-13T20:43:21.244Z] b4d181a07f80: Verifying Checksum [2021-12-13T20:43:21.244Z] b4d181a07f80: Download complete [2021-12-13T20:43:21.819Z] d287ab97295c: Verifying Checksum [2021-12-13T20:43:21.819Z] d287ab97295c: Download complete [2021-12-13T20:43:22.776Z] b4d181a07f80: Pull complete [2021-12-13T20:43:22.776Z] a1111a8f2ec3: Pull complete [2021-12-13T20:43:23.349Z] ed53099fbce6: Pull complete [2021-12-13T20:43:23.349Z] dc539afda2c1: Pull complete [2021-12-13T20:43:23.610Z] 77bc0d833cb6: Pull complete [2021-12-13T20:43:23.871Z] 9065ff56babe: Pull complete [2021-12-13T20:43:29.216Z] d287ab97295c: Pull complete [2021-12-13T20:43:29.216Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-13T20:43:29.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-13T20:43:29.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-13T20:43:29.276Z] prd-centos7-docker-4c-2g-779 does not seem to be running inside a container [2021-12-13T20:43:29.305Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-13T20:43:31.719Z] $ docker top 4e41df77482f14231898eb31d0bc26cf228a5f99c946dd3fe63a7774b05fb789 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-13T20:43:32.068Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-13T20:43:32.367Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-13T20:43:32.653Z] + ls /var/log/sa-host [2021-12-13T20:43:32.653Z] + sadf -c /var/log/sa-host/sa13 [2021-12-13T20:43:32.653Z] file_magic: OK [2021-12-13T20:43:32.653Z] HZ: Using current value: 100 [2021-12-13T20:43:32.653Z] file_header: OK [2021-12-13T20:43:32.653Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-13T20:43:32.653Z] Statistics: [2021-12-13T20:43:32.654Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-13T20:43:32.654Z] File successfully converted to sysstat format version 12.0.3 [2021-12-13T20:43:32.654Z] + sadf -c /var/log/sa-host/sa17 [2021-12-13T20:43:32.654Z] file_magic: OK [2021-12-13T20:43:32.654Z] HZ: Using current value: 100 [2021-12-13T20:43:32.654Z] file_header: OK [2021-12-13T20:43:32.654Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-13T20:43:32.654Z] Statistics: [2021-12-13T20:43:32.654Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-13T20:43:32.654Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-13T20:43:32.738Z] provisioning config files... [2021-12-13T20:43:32.753Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config5173335926729586225tmp [Pipeline] { [Pipeline] echo [2021-12-13T20:43:32.768Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:33.057Z] ---> create-netrc.sh [Pipeline] } [2021-12-13T20:43:33.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:33.393Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-13T20:43:33.402Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:33.692Z] ---> sudo-logs.sh [2021-12-13T20:43:33.692Z] Archiving 'sudo' log.. [2021-12-13T20:43:33.692Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-779.novalocal: Name or service not known [2021-12-13T20:43:33.692Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-779.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-13T20:43:33.729Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:34.029Z] ---> job-cost.sh [2021-12-13T20:43:34.029Z] lf-activate-venv: SKIPPING [2021-12-13T20:43:34.029Z] DEBUG: total: 0.10999999940395355 [2021-12-13T20:43:34.029Z] INFO: Retrieving Stack Cost... [2021-12-13T20:43:34.289Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-13T20:43:34.863Z] INFO: Archiving Costs [Pipeline] echo [2021-12-13T20:43:34.875Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-13T20:43:35.162Z] ---> logs-deploy.sh [2021-12-13T20:43:35.162Z] lf-activate-venv: SKIPPING [2021-12-13T20:43:35.162Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/2 [2021-12-13T20:43:35.162Z] INFO: archiving workspace using pattern(s): [2021-12-13T20:43:35.733Z] Archives upload complete. [2021-12-13T20:43:35.993Z] INFO: archiving logs to Nexus