Pull request #3842 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at 1e57bbc099614f4d228215007f2f57534723e43b rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from 1e57bbc099614f4d228215007f2f57534723e43b 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-ssh5884023482169593890.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-ssh1025457673194846462.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13599825330492408462.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14457164036307438316.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7783059716589734936.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15527095044728268873.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-597 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh6474904582636715760.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh567697672833114310.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1e57bbc099614f4d228215007f2f57534723e43b into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Merge succeeded, producing 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Checking out Revision 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 (PR-3842) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7371403494221836568.key > git merge 1e57bbc099614f4d228215007f2f57534723e43b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 Commit message: "add prometheus metrics collect" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-10T05:48:46.402Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-10T05:48:46.556Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-10T05:48:46.647Z] ========================================================= [2021-12-10T05:48:46.647Z] EdgeX Global Pipelines Version Info [2021-12-10T05:48:46.647Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:48:47.798Z] ------------------- [2021-12-10T05:48:47.798Z] stable info: [2021-12-10T05:48:47.798Z] ------------------- [2021-12-10T05:48:47.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-10T05:48:47.798Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-10T05:48:47.798Z] Message: update stable to v1.0.217 [2021-12-10T05:48:48.369Z] ------------------- [2021-12-10T05:48:48.369Z] experimental info: [2021-12-10T05:48:48.369Z] ------------------- [2021-12-10T05:48:48.369Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-10T05:48:48.369Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-10T05:48:48.369Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-10T05:48:48.594Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-12-10T05:48:48.633Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-12-10T05:48:48.669Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-10T05:48:48.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-10T05:48:48.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-10T05:48:48.796Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-10T05:48:48.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-10T05:48:48.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-12-10T05:48:48.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-12-10T05:48:48.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-12-10T05:48:48.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-10T05:48:49.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-10T05:48:49.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-10T05:48:49.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-10T05:48:49.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-10T05:48:49.198Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-10T05:48:49.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-10T05:48:49.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-10T05:48:49.322Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-12-10T05:48:49.362Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-12-10T05:48:49.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-10T05:48:49.436Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-10T05:48:49.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2021-12-10T05:48:49.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2021-12-10T05:48:49.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2021-12-10T05:48:49.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [Pipeline] echo [2021-12-10T05:48:49.628Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ab70ab [Pipeline] echo [2021-12-10T05:48:49.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:48:49.771Z] provisioning config files... [2021-12-10T05:48:49.788Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config801908306699300189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:48:50.151Z] ---> docker-login.sh [2021-12-10T05:48:50.151Z] nexus3.edgexfoundry.org:10001 [2021-12-10T05:48:50.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:48:50.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:48:50.425Z] Configure a credential helper to remove this warning. See [2021-12-10T05:48:50.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:48:50.425Z] [2021-12-10T05:48:50.425Z] Login Succeeded [2021-12-10T05:48:50.425Z] nexus3.edgexfoundry.org:10002 [2021-12-10T05:48:50.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:48:50.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:48:50.425Z] Configure a credential helper to remove this warning. See [2021-12-10T05:48:50.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:48:50.425Z] [2021-12-10T05:48:50.425Z] Login Succeeded [2021-12-10T05:48:50.425Z] nexus3.edgexfoundry.org:10003 [2021-12-10T05:48:50.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:48:50.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:48:50.689Z] Configure a credential helper to remove this warning. See [2021-12-10T05:48:50.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:48:50.689Z] [2021-12-10T05:48:50.689Z] Login Succeeded [2021-12-10T05:48:50.689Z] nexus3.edgexfoundry.org:10004 [2021-12-10T05:48:50.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:48:50.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:48:50.689Z] Configure a credential helper to remove this warning. See [2021-12-10T05:48:50.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:48:50.689Z] [2021-12-10T05:48:50.689Z] Login Succeeded [2021-12-10T05:48:50.689Z] docker.io [2021-12-10T05:48:50.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:48:51.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:48:51.261Z] Configure a credential helper to remove this warning. See [2021-12-10T05:48:51.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:48:51.261Z] [2021-12-10T05:48:51.261Z] Login Succeeded [2021-12-10T05:48:51.261Z] ---> docker-login.sh ends [Pipeline] } [2021-12-10T05:48:51.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-10T05:48:51.678Z] ++ 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-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/core-command/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo core-command,cmd/core-command/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/core-data/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo core-data,cmd/core-data/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/core-metadata/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/support-notifications/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-12-10T05:48:51.678Z] + for file in '`ls cmd/**/Dockerfile`' [2021-12-10T05:48:51.678Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-12-10T05:48:51.678Z] ++ cut -d/ -f2 [2021-12-10T05:48:51.678Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-12-10T05:48:51.724Z] 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-10T05:48:52.324Z] + git rev-list -1 --merges 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11~1..4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [Pipeline] echo [2021-12-10T05:48:52.364Z] -----------> git rev-list -1 --merges 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11~1..4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [false] [Pipeline] sh [2021-12-10T05:48:52.676Z] + git log --format=format:%s -1 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [Pipeline] echo [2021-12-10T05:48:52.708Z] ========================================================= [2021-12-10T05:48:52.708Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-10T05:48:52.708Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2021-12-10T05:48:53.165Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-10T05:48:53.165Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-10T05:48:53.165Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-10T05:48:53.165Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-10T05:48:53.165Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-10T05:48:53.165Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-10T05:48:53.165Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:48:53.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-10T05:48:53.537Z] [2021-12-10T05:48:53.537Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:48:53.870Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-10T05:48:53.870Z] latest: Pulling from edgex-devops/git-semver [2021-12-10T05:48:53.870Z] a0d0a0d46f8b: Pulling fs layer [2021-12-10T05:48:53.870Z] 3e5f54012d9b: Pulling fs layer [2021-12-10T05:48:53.870Z] 4c7163046ea9: Pulling fs layer [2021-12-10T05:48:53.870Z] 0c2d73faf560: Pulling fs layer [2021-12-10T05:48:53.870Z] 0c2d73faf560: Waiting [2021-12-10T05:48:53.870Z] 3e5f54012d9b: Verifying Checksum [2021-12-10T05:48:53.870Z] 3e5f54012d9b: Download complete [2021-12-10T05:48:53.870Z] a0d0a0d46f8b: Verifying Checksum [2021-12-10T05:48:53.870Z] a0d0a0d46f8b: Download complete [2021-12-10T05:48:53.870Z] 0c2d73faf560: Verifying Checksum [2021-12-10T05:48:53.870Z] 0c2d73faf560: Download complete [2021-12-10T05:48:53.870Z] 4c7163046ea9: Verifying Checksum [2021-12-10T05:48:53.870Z] 4c7163046ea9: Download complete [2021-12-10T05:48:54.132Z] a0d0a0d46f8b: Pull complete [2021-12-10T05:48:54.132Z] 3e5f54012d9b: Pull complete [2021-12-10T05:48:54.393Z] 4c7163046ea9: Pull complete [2021-12-10T05:48:54.652Z] 0c2d73faf560: Pull complete [2021-12-10T05:48:54.652Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-10T05:48:54.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-10T05:48:54.652Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-10T05:48:54.736Z] prd-centos7-docker-4c-2g-597 does not seem to be running inside a container [2021-12-10T05:48:54.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-10T05:48:55.402Z] $ docker top cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-10T05:48:55.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-10T05:48:55.568Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-10T05:48:55.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-10T05:48:55.670Z] $ docker exec cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 ssh-agent [2021-12-10T05:48:55.767Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGHNgag/agent.14 [2021-12-10T05:48:55.767Z] SSH_AGENT_PID=21 [2021-12-10T05:48:55.774Z] Running ssh-add (command line suppressed) [2021-12-10T05:48:55.860Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7321136542173570789.key (/w/workspace/edgex-go/1@tmp/private_key_7321136542173570789.key) [2021-12-10T05:48:55.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-10T05:48:56.201Z] + git tag --points-at HEAD [Pipeline] } [2021-12-10T05:48:56.222Z] $ docker exec --env ******** --env ******** cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 ssh-agent -k [2021-12-10T05:48:56.306Z] unset SSH_AUTH_SOCK; [2021-12-10T05:48:56.307Z] unset SSH_AGENT_PID; [2021-12-10T05:48:56.307Z] echo Agent pid 21 killed; [2021-12-10T05:48:56.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-10T05:48:56.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-10T05:48:56.391Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-10T05:48:56.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-10T05:48:56.487Z] $ docker exec cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 ssh-agent [2021-12-10T05:48:56.613Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXppnNmo/agent.55 [2021-12-10T05:48:56.613Z] SSH_AGENT_PID=62 [2021-12-10T05:48:56.618Z] Running ssh-add (command line suppressed) [2021-12-10T05:48:56.733Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_227174562914765421.key (/w/workspace/edgex-go/1@tmp/private_key_227174562914765421.key) [2021-12-10T05:48:56.745Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-10T05:48:57.066Z] + git semver init [2021-12-10T05:48:57.067Z] # -> Open(): unable to determine branch for HEAD [2021-12-10T05:48:57.067Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-12-10T05:48:57.067Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-12-10T05:48:57.067Z] # $SEMVER_REMOTE_NAME = origin [2021-12-10T05:48:57.067Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-10T05:48:57.067Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-10T05:48:57.067Z] # $SEMVER_BRANCH = PR-3842 [2021-12-10T05:48:57.067Z] # $SEMVER_TEMP = /tmp/semver-649519078 [2021-12-10T05:48:57.067Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-12-10T05:49:12.015Z] # '/tmp/semver-649519078' -> '/w/workspace/edgex-go/1/.semver' [2021-12-10T05:49:12.015Z] # -> Force: false [2021-12-10T05:49:12.015Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-12-10T05:49:12.033Z] $ docker exec --env ******** --env ******** cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 ssh-agent -k [2021-12-10T05:49:12.122Z] unset SSH_AUTH_SOCK; [2021-12-10T05:49:12.124Z] unset SSH_AGENT_PID; [2021-12-10T05:49:12.124Z] echo Agent pid 62 killed; [2021-12-10T05:49:12.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-10T05:49:12.535Z] + git semver [Pipeline] } [2021-12-10T05:49:12.562Z] $ docker stop --time=1 cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 [2021-12-10T05:49:14.410Z] $ docker rm -f cfeb8380b16019e3fd876cab3ec992d00789a76956a37b90ab1a10ff81469d02 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-10T05:49:14.824Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-10T05:49:15.074Z] Stashed 1 file(s) [Pipeline] echo [2021-12-10T05:49:15.091Z] [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-10T05:49:15.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-10T05:49:15.589Z] ========================================================= [2021-12-10T05:49:15.589Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-10T05:49:15.589Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-10T05:49:15.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-10T05:49:15.936Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-10T05:49:15.936Z] a0d0a0d46f8b: Already exists [2021-12-10T05:49:15.936Z] 31adcdaf11c8: Pulling fs layer [2021-12-10T05:49:15.936Z] b8b176561691: Pulling fs layer [2021-12-10T05:49:15.936Z] 4527c011a84f: Pulling fs layer [2021-12-10T05:49:15.936Z] 5d74067f8e1e: Pulling fs layer [2021-12-10T05:49:15.936Z] e0aca202a116: Pulling fs layer [2021-12-10T05:49:15.936Z] 3a43be97a3b4: Pulling fs layer [2021-12-10T05:49:15.936Z] 34cad66bf833: Pulling fs layer [2021-12-10T05:49:15.936Z] b4e3c513aaa6: Pulling fs layer [2021-12-10T05:49:15.936Z] e0aca202a116: Waiting [2021-12-10T05:49:15.936Z] 3a43be97a3b4: Waiting [2021-12-10T05:49:15.936Z] 34cad66bf833: Waiting [2021-12-10T05:49:15.936Z] b4e3c513aaa6: Waiting [2021-12-10T05:49:15.936Z] 5d74067f8e1e: Waiting [2021-12-10T05:49:15.936Z] b8b176561691: Verifying Checksum [2021-12-10T05:49:15.936Z] b8b176561691: Download complete [2021-12-10T05:49:15.936Z] 31adcdaf11c8: Verifying Checksum [2021-12-10T05:49:15.936Z] 31adcdaf11c8: Download complete [2021-12-10T05:49:15.936Z] e0aca202a116: Verifying Checksum [2021-12-10T05:49:15.936Z] e0aca202a116: Download complete [2021-12-10T05:49:15.936Z] 5d74067f8e1e: Verifying Checksum [2021-12-10T05:49:15.936Z] 5d74067f8e1e: Download complete [2021-12-10T05:49:15.936Z] 3a43be97a3b4: Verifying Checksum [2021-12-10T05:49:15.936Z] 3a43be97a3b4: Download complete [2021-12-10T05:49:16.208Z] 34cad66bf833: Verifying Checksum [2021-12-10T05:49:16.208Z] 34cad66bf833: Download complete [2021-12-10T05:49:16.208Z] 31adcdaf11c8: Pull complete [2021-12-10T05:49:16.208Z] b8b176561691: Pull complete [2021-12-10T05:49:16.476Z] 4527c011a84f: Verifying Checksum [2021-12-10T05:49:16.476Z] 4527c011a84f: Download complete [2021-12-10T05:49:16.736Z] b4e3c513aaa6: Verifying Checksum [2021-12-10T05:49:16.736Z] b4e3c513aaa6: Download complete [2021-12-10T05:49:20.077Z] 4527c011a84f: Pull complete [2021-12-10T05:49:20.077Z] 5d74067f8e1e: Pull complete [2021-12-10T05:49:20.077Z] e0aca202a116: Pull complete [2021-12-10T05:49:20.077Z] 3a43be97a3b4: Pull complete [2021-12-10T05:49:20.342Z] 34cad66bf833: Pull complete [2021-12-10T05:49:22.304Z] b4e3c513aaa6: Pull complete [2021-12-10T05:49:22.304Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-10T05:49:22.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-10T05:49:22.304Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-12-10T05:49:22.653Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-10T05:49:22.653Z] WORKDIR /edgex [2021-12-10T05:49:22.653Z] COPY go.mod . [2021-12-10T05:49:22.653Z] RUN go mod download' [2021-12-10T05:49:22.653Z] + docker build -t ci-base-image-x86_64 -f - . [2021-12-10T05:49:24.073Z] Sending build context to Docker daemon 334.6MB [2021-12-10T05:49:24.073Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-10T05:49:24.073Z] ---> 9f6097aaca64 [2021-12-10T05:49:24.073Z] Step 2/4 : WORKDIR /edgex [2021-12-10T05:49:25.995Z] ---> Running in d3485c7fd2fd [2021-12-10T05:49:25.995Z] Removing intermediate container d3485c7fd2fd [2021-12-10T05:49:25.995Z] ---> 8d6655cf08d5 [2021-12-10T05:49:25.995Z] Step 3/4 : COPY go.mod . [2021-12-10T05:49:25.995Z] ---> fb6d56fa2d26 [2021-12-10T05:49:25.995Z] Step 4/4 : RUN go mod download [2021-12-10T05:49:25.995Z] ---> Running in f7f75a500a34 [2021-12-10T05:49:30.391Z] Still waiting to schedule task [2021-12-10T05:49:30.391Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-10T05:49:58.201Z] Removing intermediate container f7f75a500a34 [2021-12-10T05:49:58.201Z] ---> 1783b8f5c450 [2021-12-10T05:49:58.201Z] Successfully built 1783b8f5c450 [2021-12-10T05:49:58.201Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:49:58.531Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-10T05:49:58.531Z] . [Pipeline] withDockerContainer [2021-12-10T05:49:58.612Z] prd-centos7-docker-4c-2g-597 does not seem to be running inside a container [2021-12-10T05:49:58.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-10T05:49:58.981Z] $ docker top f3e58eca89e6af373d81b40309b05fb5d31b40953f1b25377d9053ccdfab0f4a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-10T05:49:59.364Z] + go version [2021-12-10T05:49:59.364Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-10T05:49:59.394Z] $ docker stop --time=1 f3e58eca89e6af373d81b40309b05fb5d31b40953f1b25377d9053ccdfab0f4a [2021-12-10T05:50:00.570Z] $ docker rm -f f3e58eca89e6af373d81b40309b05fb5d31b40953f1b25377d9053ccdfab0f4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:50:01.312Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-10T05:50:01.312Z] . [Pipeline] withDockerContainer [2021-12-10T05:50:01.396Z] prd-centos7-docker-4c-2g-597 does not seem to be running inside a container [2021-12-10T05:50:01.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-10T05:50:01.775Z] $ docker top 40e1058195e09099aa204cc6086d92a1c689fb079afd2eec6b04eb3985256799 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-10T05:50:01.883Z] ========================================================= [2021-12-10T05:50:01.884Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-12-10T05:50:01.884Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-10T05:50:02.222Z] + make test [2021-12-10T05:50:02.222Z] go mod tidy [2021-12-10T05:50:02.486Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-12-10T05:50:07.832Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-12-10T05:50:29.905Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-12-10T05:50:34.168Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-12-10T05:50:34.168Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-12-10T05:50:34.433Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-12-10T05:50:37.033Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-12-10T05:50:37.296Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-12-10T05:50:37.296Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-12-10T05:50:37.296Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-12-10T05:50:37.872Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-12-10T05:50:38.131Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-12-10T05:50:38.394Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-12-10T05:50:38.394Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-12-10T05:50:38.394Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-12-10T05:50:38.394Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-12-10T05:50:40.329Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.046s coverage: 28.7% of statements [2021-12-10T05:50:40.329Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-12-10T05:50:40.329Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-12-10T05:50:40.918Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.062s coverage: 98.5% of statements [2021-12-10T05:50:40.918Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-12-10T05:50:41.190Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.057s coverage: 44.7% of statements [2021-12-10T05:50:41.190Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-12-10T05:50:41.190Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-12-10T05:50:42.153Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.119s coverage: 89.5% of statements [2021-12-10T05:50:42.153Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-12-10T05:50:42.153Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:50:43.099Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.046s coverage: 84.4% of statements [2021-12-10T05:50:43.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-12-10T05:50:43.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-12-10T05:50:43.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-12-10T05:50:43.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-12-10T05:50:43.099Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-12-10T05:50:43.682Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.265s coverage: 94.2% of statements [2021-12-10T05:50:43.682Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-12-10T05:50:43.682Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:50:43.949Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.055s coverage: 59.1% of statements [2021-12-10T05:50:43.949Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-12-10T05:50:43.949Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-12-10T05:50:43.949Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-12-10T05:50:43.949Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-12-10T05:50:43.949Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-12-10T05:50:44.217Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.046s coverage: 60.0% of statements [2021-12-10T05:50:44.217Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-12-10T05:50:44.217Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-12-10T05:50:44.217Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-12-10T05:50:44.869Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.055s coverage: 0.9% of statements [2021-12-10T05:50:44.869Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-12-10T05:50:44.869Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.047s coverage: 58.8% of statements [2021-12-10T05:50:45.453Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.050s coverage: 21.7% of statements [2021-12-10T05:50:45.453Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-12-10T05:50:45.453Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.043s coverage: 47.1% of statements [2021-12-10T05:50:45.720Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.048s coverage: 79.5% of statements [2021-12-10T05:50:45.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.049s coverage: 94.1% of statements [2021-12-10T05:50:46.257Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.069s coverage: 96.3% of statements [2021-12-10T05:50:46.520Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.048s coverage: 87.5% of statements [2021-12-10T05:50:57.090Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-598 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2021-12-10T05:50:57.128Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-12-10T05:50:57.325Z] The recommended git tool is: git [2021-12-10T05:50:58.779Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.056s coverage: 94.4% of statements [2021-12-10T05:50:58.779Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.064s coverage: 44.8% of statements [2021-12-10T05:51:01.844Z] using credential edgex-jenkins-ssh [2021-12-10T05:51:01.859Z] Cloning the remote Git repository [2021-12-10T05:51:01.904Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-12-10T05:51:01.967Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-12-10T05:51:02.054Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-12-10T05:51:02.054Z] > git --version # timeout=10 [2021-12-10T05:51:02.074Z] > git --version # 'git version 2.17.1' [2021-12-10T05:51:02.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:51:02.141Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-10T05:51:04.060Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.192s coverage: 82.5% of statements [2021-12-10T05:51:04.060Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-12-10T05:51:18.704Z] Merging remotes/origin/main commit 1e57bbc099614f4d228215007f2f57534723e43b into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [2021-12-10T05:51:19.035Z] Merge succeeded, producing 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [2021-12-10T05:51:19.035Z] Checking out Revision 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 (PR-3842) [2021-12-10T05:51:17.775Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-12-10T05:51:17.793Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-10T05:51:17.819Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-12-10T05:51:17.852Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-12-10T05:51:17.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:51:17.865Z] > 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-10T05:51:18.719Z] > git config core.sparsecheckout # timeout=10 [2021-12-10T05:51:18.735Z] > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [2021-12-10T05:51:18.949Z] > git remote # timeout=10 [2021-12-10T05:51:18.973Z] > git config --get remote.origin.url # timeout=10 [2021-12-10T05:51:18.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-10T05:51:18.999Z] > git merge 1e57bbc099614f4d228215007f2f57534723e43b # timeout=10 [2021-12-10T05:51:19.021Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-10T05:51:19.041Z] > git config core.sparsecheckout # timeout=10 [2021-12-10T05:51:19.059Z] > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.077s coverage: 92.9% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 65.1% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.061s coverage: 87.2% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.0% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.074s coverage: 87.2% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.062s coverage: 85.4% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.134s coverage: 91.2% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.136s coverage: 64.4% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.020s coverage: 100.0% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.029s coverage: 73.7% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements [2021-12-10T05:51:22.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.212s coverage: 65.4% of statements [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-12-10T05:51:22.181Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-12-10T05:51:22.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.136s coverage: 43.8% of statements [2021-12-10T05:51:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-12-10T05:51:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-12-10T05:51:22.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.078s coverage: 89.5% of statements [2021-12-10T05:51:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-12-10T05:51:22.703Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.045s coverage: 84.8% of statements [2021-12-10T05:51:22.703Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-12-10T05:51:23.268Z] Commit message: "add prometheus metrics collect" [2021-12-10T05:51:23.319Z] > git --version # timeout=10 [2021-12-10T05:51:23.327Z] > git --version # 'git version 2.17.1' [2021-12-10T05:51:23.343Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-10T05:51:24.428Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-10T05:51:24.428Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-10T05:51:24.428Z] Dload Upload Total Spent Left Speed [2021-12-10T05:51:24.428Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 88 11824 88 10501 0 0 77213 0 --:--:-- --:--:-- --:--:-- 76649 100 11824 100 11824 0 0 85681 0 --:--:-- --:--:-- --:--:-- 85681 [Pipeline] sh [2021-12-10T05:51:24.933Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-10T05:51:25.281Z] + sudo tee /etc/docker/daemon.new [2021-12-10T05:51:25.281Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-10T05:51:25.281Z] { [2021-12-10T05:51:25.281Z] "registry-mirrors": [ [2021-12-10T05:51:25.281Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-10T05:51:25.281Z] ], [2021-12-10T05:51:25.281Z] "bip": "10.250.0.254/24", [2021-12-10T05:51:25.281Z] "hosts": [ [2021-12-10T05:51:25.281Z] "tcp://0.0.0.0:5555", [2021-12-10T05:51:25.281Z] "unix:///var/run/docker.sock" [2021-12-10T05:51:25.281Z] ], [2021-12-10T05:51:25.281Z] "mtu": 1458, [2021-12-10T05:51:25.281Z] "selinux-enabled": true, [2021-12-10T05:51:25.281Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-10T05:51:25.281Z] } [Pipeline] sh [2021-12-10T05:51:25.639Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-10T05:51:26.072Z] + sudo service docker restart [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.070s coverage: 17.7% of statements [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.127s coverage: 92.3% of statements [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.055s coverage: 63.2% of statements [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.092s coverage: 97.7% of statements [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-12-10T05:51:30.853Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements [2021-12-10T05:51:30.853Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 96.9% of statements [2021-12-10T05:51:30.853Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:51:44.424Z] provisioning config files... [2021-12-10T05:51:44.448Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7882305914661510223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:51:44.959Z] ---> docker-login.sh [2021-12-10T05:51:44.959Z] nexus3.edgexfoundry.org:10001 [2021-12-10T05:51:45.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:51:45.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:51:45.555Z] Configure a credential helper to remove this warning. See [2021-12-10T05:51:45.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:51:45.555Z] [2021-12-10T05:51:45.555Z] Login Succeeded [2021-12-10T05:51:45.555Z] nexus3.edgexfoundry.org:10002 [2021-12-10T05:51:45.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:51:46.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:51:46.098Z] Configure a credential helper to remove this warning. See [2021-12-10T05:51:46.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:51:46.098Z] [2021-12-10T05:51:46.098Z] Login Succeeded [2021-12-10T05:51:46.098Z] nexus3.edgexfoundry.org:10003 [2021-12-10T05:51:46.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:51:46.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:51:46.370Z] Configure a credential helper to remove this warning. See [2021-12-10T05:51:46.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:51:46.370Z] [2021-12-10T05:51:46.370Z] Login Succeeded [2021-12-10T05:51:46.370Z] nexus3.edgexfoundry.org:10004 [2021-12-10T05:51:46.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:51:46.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:51:46.909Z] Configure a credential helper to remove this warning. See [2021-12-10T05:51:46.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:51:46.909Z] [2021-12-10T05:51:46.909Z] Login Succeeded [2021-12-10T05:51:46.909Z] docker.io [2021-12-10T05:51:47.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-10T05:51:47.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-10T05:51:47.453Z] Configure a credential helper to remove this warning. See [2021-12-10T05:51:47.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-10T05:51:47.453Z] [2021-12-10T05:51:47.453Z] Login Succeeded [2021-12-10T05:51:47.453Z] ---> docker-login.sh ends [Pipeline] } [2021-12-10T05:51:47.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-10T05:51:47.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-10T05:51:47.840Z] ========================================================= [2021-12-10T05:51:47.840Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-10T05:51:47.840Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-10T05:51:48.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-10T05:51:48.201Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-10T05:51:48.201Z] 552d1f2373af: Pulling fs layer [2021-12-10T05:51:48.201Z] ea3f2d53f512: Pulling fs layer [2021-12-10T05:51:48.201Z] 9e70ebbbe112: Pulling fs layer [2021-12-10T05:51:48.201Z] 7a9cfe048b4a: Pulling fs layer [2021-12-10T05:51:48.201Z] 72dc09318566: Pulling fs layer [2021-12-10T05:51:48.201Z] f4f7b4309257: Pulling fs layer [2021-12-10T05:51:48.201Z] 0ac9a79272e3: Pulling fs layer [2021-12-10T05:51:48.201Z] b78e95d17946: Pulling fs layer [2021-12-10T05:51:48.201Z] 7a9cfe048b4a: Waiting [2021-12-10T05:51:48.201Z] f4f7b4309257: Waiting [2021-12-10T05:51:48.201Z] 0ac9a79272e3: Waiting [2021-12-10T05:51:48.201Z] b78e95d17946: Waiting [2021-12-10T05:51:48.201Z] 72dc09318566: Waiting [2021-12-10T05:51:48.472Z] 9e70ebbbe112: Verifying Checksum [2021-12-10T05:51:48.472Z] 9e70ebbbe112: Download complete [2021-12-10T05:51:48.472Z] ea3f2d53f512: Verifying Checksum [2021-12-10T05:51:48.472Z] ea3f2d53f512: Download complete [2021-12-10T05:51:48.472Z] 72dc09318566: Verifying Checksum [2021-12-10T05:51:48.472Z] 72dc09318566: Download complete [2021-12-10T05:51:48.472Z] f4f7b4309257: Verifying Checksum [2021-12-10T05:51:48.472Z] f4f7b4309257: Download complete [2021-12-10T05:51:48.472Z] 552d1f2373af: Download complete [2021-12-10T05:51:48.472Z] 0ac9a79272e3: Verifying Checksum [2021-12-10T05:51:48.472Z] 0ac9a79272e3: Download complete [2021-12-10T05:51:49.069Z] 552d1f2373af: Pull complete [2021-12-10T05:51:49.669Z] ea3f2d53f512: Pull complete [2021-12-10T05:51:49.941Z] 9e70ebbbe112: Pull complete [2021-12-10T05:51:50.214Z] b78e95d17946: Verifying Checksum [2021-12-10T05:51:50.214Z] b78e95d17946: Download complete [2021-12-10T05:51:50.810Z] 7a9cfe048b4a: Verifying Checksum [2021-12-10T05:51:50.810Z] 7a9cfe048b4a: Download complete [2021-12-10T05:52:03.202Z] 7a9cfe048b4a: Pull complete [2021-12-10T05:52:03.202Z] 72dc09318566: Pull complete [2021-12-10T05:52:03.202Z] f4f7b4309257: Pull complete [2021-12-10T05:52:03.202Z] 0ac9a79272e3: Pull complete [2021-12-10T05:52:08.609Z] b78e95d17946: Pull complete [2021-12-10T05:52:08.609Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-10T05:52:08.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-10T05:52:08.609Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-12-10T05:52:09.004Z] + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-10T05:52:09.005Z] WORKDIR /edgex [2021-12-10T05:52:09.005Z] COPY go.mod . [2021-12-10T05:52:09.005Z] RUN go mod downloaddocker [2021-12-10T05:52:09.005Z] build -t ci-base-image-arm64 -f - . [2021-12-10T05:52:09.710Z] GO111MODULE=on go vet ./... [2021-12-10T05:52:11.632Z] Sending build context to Docker daemon 168.9MB [2021-12-10T05:52:11.632Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-10T05:52:11.632Z] ---> 8b459fc5aaf0 [2021-12-10T05:52:11.632Z] Step 2/4 : WORKDIR /edgex [2021-12-10T05:52:13.066Z] ---> Running in 1e88b218d4cc [2021-12-10T05:52:13.342Z] Removing intermediate container 1e88b218d4cc [2021-12-10T05:52:13.342Z] ---> 500717f4f67d [2021-12-10T05:52:13.342Z] Step 3/4 : COPY go.mod . [2021-12-10T05:52:13.935Z] ---> c212ab8e1c22 [2021-12-10T05:52:13.935Z] Step 4/4 : RUN go mod download [2021-12-10T05:52:13.935Z] ---> Running in b4207cead301 [2021-12-10T05:52:17.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-10T05:52:17.915Z] ./internal/core/command/prometheus.go [2021-12-10T05:52:17.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-10T05:52:18.176Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-12-10T05:52:18.215Z] $ docker stop --time=1 40e1058195e09099aa204cc6086d92a1c689fb079afd2eec6b04eb3985256799 [2021-12-10T05:52:19.528Z] $ docker rm -f 40e1058195e09099aa204cc6086d92a1c689fb079afd2eec6b04eb3985256799 [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-10T05:52:21.286Z] Failed in branch amd64 [2021-12-10T05:53:35.735Z] Removing intermediate container b4207cead301 [2021-12-10T05:53:35.735Z] ---> f690c4fc6928 [2021-12-10T05:53:35.735Z] Successfully built f690c4fc6928 [2021-12-10T05:53:35.735Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:53:36.099Z] + docker inspect -f . ci-base-image-arm64 [2021-12-10T05:53:36.099Z] . [Pipeline] withDockerContainer [2021-12-10T05:53:36.306Z] prd-ubuntu18.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2021-12-10T05:53:36.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-10T05:53:37.675Z] $ docker top ec6ed09f559ab9620fb9d734a8fca89e3f379b960fbb42692b32c81648175714 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-10T05:53:38.561Z] + go version [2021-12-10T05:53:38.561Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-10T05:53:38.601Z] $ docker stop --time=1 ec6ed09f559ab9620fb9d734a8fca89e3f379b960fbb42692b32c81648175714 [2021-12-10T05:53:40.182Z] $ docker rm -f ec6ed09f559ab9620fb9d734a8fca89e3f379b960fbb42692b32c81648175714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:53:41.083Z] + docker inspect -f . ci-base-image-arm64 [2021-12-10T05:53:41.083Z] . [Pipeline] withDockerContainer [2021-12-10T05:53:41.290Z] prd-ubuntu18.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2021-12-10T05:53:41.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-10T05:53:42.532Z] $ docker top 3899997c50d531e773147c9625cc6a7ac4cbb8e34f54bc465737e0204efc1912 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-10T05:53:42.820Z] ========================================================= [2021-12-10T05:53:42.820Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-12-10T05:53:42.820Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-12-10T05:53:43.507Z] + make test [2021-12-10T05:53:43.507Z] go mod tidy [2021-12-10T05:53:44.105Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-12-10T05:54:10.891Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-12-10T05:55:18.941Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-12-10T05:55:27.242Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-12-10T05:55:27.242Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-12-10T05:55:27.242Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-12-10T05:55:39.695Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-12-10T05:55:39.695Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-12-10T05:55:39.695Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-12-10T05:55:39.695Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-12-10T05:55:39.695Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-12-10T05:55:39.695Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-12-10T05:55:39.973Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-12-10T05:55:39.973Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-12-10T05:55:39.973Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-12-10T05:55:39.973Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-12-10T05:55:48.269Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.264s coverage: 28.7% of statements [2021-12-10T05:55:48.269Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-12-10T05:55:48.269Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-12-10T05:55:50.907Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.346s coverage: 98.5% of statements [2021-12-10T05:55:50.907Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-12-10T05:55:52.376Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.334s coverage: 44.7% of statements [2021-12-10T05:55:52.376Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-12-10T05:55:52.376Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-12-10T05:55:55.030Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.661s coverage: 89.5% of statements [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:55:55.030Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.223s coverage: 84.4% of statements [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-12-10T05:55:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.610s coverage: 94.2% of statements [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.202s coverage: 59.1% of statements [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.197s coverage: 60.0% of statements [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.287s coverage: 0.9% of statements [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.208s coverage: 58.8% of statements [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.215s coverage: 21.7% of statements [2021-12-10T05:56:03.340Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.193s coverage: 47.1% of statements [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.230s coverage: 79.5% of statements [2021-12-10T05:56:03.340Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.186s coverage: 94.1% of statements [2021-12-10T05:56:03.613Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.220s coverage: 96.3% of statements [2021-12-10T05:56:05.057Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.269s coverage: 87.5% of statements [2021-12-10T05:56:17.624Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.194s coverage: 94.4% of statements [2021-12-10T05:56:17.624Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.184s coverage: 44.8% of statements [2021-12-10T05:56:21.923Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.614s coverage: 82.5% of statements [2021-12-10T05:56:21.923Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.260s coverage: 92.9% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.175s coverage: 87.2% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.152s coverage: 100.0% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.266s coverage: 58.8% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.273s coverage: 80.0% of statements [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.224s coverage: 87.2% of statements [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.254s coverage: 85.4% of statements [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.756s coverage: 91.2% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-12-10T05:56:30.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.787s coverage: 64.4% of statements [2021-12-10T05:56:30.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-12-10T05:56:30.221Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-12-10T05:56:30.221Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.188s coverage: 100.0% of statements [2021-12-10T05:56:30.496Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.161s coverage: 89.4% of statements [2021-12-10T05:56:30.496Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.091s coverage: 100.0% of statements [2021-12-10T05:56:31.480Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.082s coverage: 73.7% of statements [2021-12-10T05:56:31.480Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.058s coverage: 100.0% of statements [2021-12-10T05:56:36.886Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.254s coverage: 65.4% of statements [2021-12-10T05:56:36.886Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-12-10T05:56:36.887Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-12-10T05:56:36.887Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-12-10T05:56:37.868Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.776s coverage: 43.8% of statements [2021-12-10T05:56:37.868Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-12-10T05:56:37.868Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-12-10T05:56:37.868Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.237s coverage: 89.5% of statements [2021-12-10T05:56:37.868Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-12-10T05:56:37.868Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.225s coverage: 84.8% of statements [2021-12-10T05:56:37.868Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-12-10T05:56:46.135Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.246s coverage: 17.7% of statements [2021-12-10T05:56:46.135Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-12-10T05:56:46.135Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-12-10T05:56:46.136Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.598s coverage: 92.3% of statements [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-12-10T05:56:46.136Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.194s coverage: 63.2% of statements [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-12-10T05:56:46.136Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.361s coverage: 97.7% of statements [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-12-10T05:56:46.136Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.186s coverage: 28.9% of statements [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-12-10T05:56:46.136Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-12-10T05:56:46.136Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.166s coverage: 100.0% of statements [2021-12-10T05:56:46.136Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 96.9% of statements [2021-12-10T05:56:46.730Z] 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-10T05:56:47.002Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2021-12-10T05:56:47.002Z] GO111MODULE=on go vet ./... [2021-12-10T05:58:23.778Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-10T05:58:23.778Z] ./internal/core/command/prometheus.go [2021-12-10T05:58:23.778Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-10T05:58:23.778Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-12-10T05:58:23.824Z] $ docker stop --time=1 3899997c50d531e773147c9625cc6a7ac4cbb8e34f54bc465737e0204efc1912 [2021-12-10T05:58:25.649Z] $ docker rm -f 3899997c50d531e773147c9625cc6a7ac4cbb8e34f54bc465737e0204efc1912 [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-10T05:58:27.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-10T05:58:27.768Z] [2021-12-10T05:58:27.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:58:28.141Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-10T05:58:28.415Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-10T05:58:28.416Z] 448f6bf000e3: Pulling fs layer [2021-12-10T05:58:28.416Z] f757da607395: Pulling fs layer [2021-12-10T05:58:28.416Z] 05883995daec: Pulling fs layer [2021-12-10T05:58:28.416Z] 8603b9c90790: Pulling fs layer [2021-12-10T05:58:28.416Z] 1560dd03e051: Pulling fs layer [2021-12-10T05:58:28.416Z] 27f5ce0e4adf: Pulling fs layer [2021-12-10T05:58:28.416Z] c2d8d7efcc4b: Pulling fs layer [2021-12-10T05:58:28.416Z] 8603b9c90790: Waiting [2021-12-10T05:58:28.416Z] 1560dd03e051: Waiting [2021-12-10T05:58:28.416Z] 27f5ce0e4adf: Waiting [2021-12-10T05:58:28.416Z] c2d8d7efcc4b: Waiting [2021-12-10T05:58:28.416Z] f757da607395: Verifying Checksum [2021-12-10T05:58:28.416Z] f757da607395: Download complete [2021-12-10T05:58:28.416Z] 8603b9c90790: Verifying Checksum [2021-12-10T05:58:28.416Z] 8603b9c90790: Download complete [2021-12-10T05:58:28.689Z] 1560dd03e051: Verifying Checksum [2021-12-10T05:58:28.689Z] 1560dd03e051: Download complete [2021-12-10T05:58:28.689Z] 05883995daec: Verifying Checksum [2021-12-10T05:58:28.689Z] 05883995daec: Download complete [2021-12-10T05:58:28.689Z] 27f5ce0e4adf: Verifying Checksum [2021-12-10T05:58:28.689Z] 27f5ce0e4adf: Download complete [2021-12-10T05:58:28.965Z] 448f6bf000e3: Verifying Checksum [2021-12-10T05:58:28.965Z] 448f6bf000e3: Download complete [2021-12-10T05:58:31.585Z] c2d8d7efcc4b: Download complete [2021-12-10T05:58:32.563Z] 448f6bf000e3: Pull complete [2021-12-10T05:58:33.158Z] f757da607395: Pull complete [2021-12-10T05:58:34.589Z] 05883995daec: Pull complete [2021-12-10T05:58:34.861Z] 8603b9c90790: Pull complete [2021-12-10T05:58:35.834Z] 1560dd03e051: Pull complete [2021-12-10T05:58:36.106Z] 27f5ce0e4adf: Pull complete [2021-12-10T05:58:51.176Z] c2d8d7efcc4b: Pull complete [2021-12-10T05:58:51.176Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-10T05:58:51.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-10T05:58:51.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-10T05:58:51.380Z] prd-ubuntu18.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2021-12-10T05:58:51.465Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-10T05:58:54.002Z] $ docker top dd6c39ff99780260c1ae2343c17e79515bee012a7b0c3a83a666b7477a0deefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:58:55.004Z] ---> job-cost.sh [2021-12-10T05:58:55.004Z] lf-activate-venv: SKIPPING [2021-12-10T05:58:55.004Z] INFO: No Stack... [2021-12-10T05:58:55.274Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-10T05:58:55.864Z] INFO: Archiving Costs [Pipeline] sh [2021-12-10T05:58:56.529Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-12-10T05:58:56.529Z] + cut -d, -f6 [Pipeline] lock [2021-12-10T05:58:56.610Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-1-stack-cost] [2021-12-10T05:58:56.615Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-1-stack-cost] did not exist. Created. [2021-12-10T05:58:56.615Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-10T05:58:57.341Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-10T05:58:58.064Z] Stashed 1 file(s) [Pipeline] } [2021-12-10T05:58:58.080Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-10T05:58:58.145Z] $ docker stop --time=1 dd6c39ff99780260c1ae2343c17e79515bee012a7b0c3a83a666b7477a0deefc [2021-12-10T05:58:59.664Z] $ docker rm -f dd6c39ff99780260c1ae2343c17e79515bee012a7b0c3a83a666b7477a0deefc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-10T05:59:00.440Z] 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-10T05:59:02.402Z] + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:02.730Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:03.321Z] ---> package-listing.sh [2021-12-10T05:59:03.321Z] ++ facter osfamily [2021-12-10T05:59:03.321Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-10T05:59:03.580Z] + OS_FAMILY=redhat [2021-12-10T05:59:03.580Z] + workspace=/w/workspace/edgex-go/1 [2021-12-10T05:59:03.580Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-10T05:59:03.580Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-10T05:59:03.580Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-10T05:59:03.580Z] + PACKAGES=/tmp/packages_start.txt [2021-12-10T05:59:03.580Z] + '[' /w/workspace/edgex-go/1 ']' [2021-12-10T05:59:03.580Z] + PACKAGES=/tmp/packages_end.txt [2021-12-10T05:59:03.580Z] + case "${OS_FAMILY}" in [2021-12-10T05:59:03.580Z] + rpm -qa [2021-12-10T05:59:03.580Z] + sort [2021-12-10T05:59:04.164Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-10T05:59:04.164Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-10T05:59:04.164Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-10T05:59:04.164Z] + '[' /w/workspace/edgex-go/1 ']' [2021-12-10T05:59:04.164Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-12-10T05:59:04.164Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-12-10T05:59:04.201Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-10T05:59:04.616Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:59:05.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:59:05.074Z] [2021-12-10T05:59:05.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-10T05:59:05.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:59:05.408Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-10T05:59:05.408Z] b4d181a07f80: Pulling fs layer [2021-12-10T05:59:05.408Z] a1111a8f2ec3: Pulling fs layer [2021-12-10T05:59:05.408Z] ed53099fbce6: Pulling fs layer [2021-12-10T05:59:05.408Z] dc539afda2c1: Pulling fs layer [2021-12-10T05:59:05.408Z] 77bc0d833cb6: Pulling fs layer [2021-12-10T05:59:05.408Z] 9065ff56babe: Pulling fs layer [2021-12-10T05:59:05.408Z] d287ab97295c: Pulling fs layer [2021-12-10T05:59:05.408Z] dc539afda2c1: Waiting [2021-12-10T05:59:05.408Z] 77bc0d833cb6: Waiting [2021-12-10T05:59:05.408Z] 9065ff56babe: Waiting [2021-12-10T05:59:05.408Z] d287ab97295c: Waiting [2021-12-10T05:59:05.408Z] a1111a8f2ec3: Verifying Checksum [2021-12-10T05:59:05.408Z] a1111a8f2ec3: Download complete [2021-12-10T05:59:05.408Z] dc539afda2c1: Verifying Checksum [2021-12-10T05:59:05.408Z] dc539afda2c1: Download complete [2021-12-10T05:59:05.668Z] ed53099fbce6: Verifying Checksum [2021-12-10T05:59:05.668Z] ed53099fbce6: Download complete [2021-12-10T05:59:05.668Z] 9065ff56babe: Verifying Checksum [2021-12-10T05:59:05.668Z] 9065ff56babe: Download complete [2021-12-10T05:59:05.668Z] 77bc0d833cb6: Verifying Checksum [2021-12-10T05:59:05.668Z] 77bc0d833cb6: Download complete [2021-12-10T05:59:05.668Z] b4d181a07f80: Verifying Checksum [2021-12-10T05:59:05.668Z] b4d181a07f80: Download complete [2021-12-10T05:59:06.247Z] d287ab97295c: Verifying Checksum [2021-12-10T05:59:06.247Z] d287ab97295c: Download complete [2021-12-10T05:59:07.203Z] b4d181a07f80: Pull complete [2021-12-10T05:59:07.203Z] a1111a8f2ec3: Pull complete [2021-12-10T05:59:07.783Z] ed53099fbce6: Pull complete [2021-12-10T05:59:07.783Z] dc539afda2c1: Pull complete [2021-12-10T05:59:08.045Z] 77bc0d833cb6: Pull complete [2021-12-10T05:59:08.306Z] 9065ff56babe: Pull complete [2021-12-10T05:59:13.610Z] d287ab97295c: Pull complete [2021-12-10T05:59:13.610Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-10T05:59:13.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-10T05:59:13.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-10T05:59:13.688Z] prd-centos7-docker-4c-2g-597 does not seem to be running inside a container [2021-12-10T05:59:13.723Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-10T05:59:16.022Z] $ docker top 549e6c2a929abb2ca6784b798203c98beab8926f7653ac245b1bd7b18a616fa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-10T05:59:16.421Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-10T05:59:16.725Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-10T05:59:17.033Z] + ls /var/log/sa-host [2021-12-10T05:59:17.033Z] + sadf -c /var/log/sa-host/sa10 [2021-12-10T05:59:17.033Z] file_magic: OK [2021-12-10T05:59:17.033Z] HZ: Using current value: 100 [2021-12-10T05:59:17.033Z] file_header: OK [2021-12-10T05:59:17.033Z] 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-10T05:59:17.033Z] Statistics: [2021-12-10T05:59:17.033Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-10T05:59:17.033Z] File successfully converted to sysstat format version 12.0.3 [2021-12-10T05:59:17.033Z] + sadf -c /var/log/sa-host/sa17 [2021-12-10T05:59:17.033Z] file_magic: OK [2021-12-10T05:59:17.033Z] HZ: Using current value: 100 [2021-12-10T05:59:17.033Z] file_header: OK [2021-12-10T05:59:17.033Z] 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-10T05:59:17.033Z] Statistics: [2021-12-10T05:59:17.033Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-10T05:59:17.033Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-10T05:59:17.281Z] provisioning config files... [2021-12-10T05:59:17.292Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1542404975722399425tmp [Pipeline] { [Pipeline] echo [2021-12-10T05:59:17.338Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:17.654Z] ---> create-netrc.sh [Pipeline] } [2021-12-10T05:59:17.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:18.063Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-10T05:59:18.087Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:18.412Z] ---> sudo-logs.sh [2021-12-10T05:59:18.412Z] Archiving 'sudo' log.. [2021-12-10T05:59:18.412Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-597.novalocal: Name or service not known [2021-12-10T05:59:18.412Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-597.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-10T05:59:18.474Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:18.792Z] ---> job-cost.sh [2021-12-10T05:59:18.792Z] lf-activate-venv: SKIPPING [2021-12-10T05:59:18.792Z] DEBUG: total: 0.10999999940395355 [2021-12-10T05:59:18.792Z] INFO: Retrieving Stack Cost... [2021-12-10T05:59:19.053Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-10T05:59:19.314Z] INFO: Archiving Costs [Pipeline] echo [2021-12-10T05:59:19.344Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-10T05:59:19.669Z] ---> logs-deploy.sh [2021-12-10T05:59:19.669Z] lf-activate-venv: SKIPPING [2021-12-10T05:59:19.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/1 [2021-12-10T05:59:19.669Z] INFO: archiving workspace using pattern(s): [2021-12-10T05:59:20.240Z] Archives upload complete. [2021-12-10T05:59:20.499Z] INFO: archiving logs to Nexus