Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at 29697069f250b3a6652f4279ffd582c48bc37000 rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from 29697069f250b3a6652f4279ffd582c48bc37000 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-ssh11852020635607435448.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-ssh14973008381836027137.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2661327796864404944.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14130576986801131488.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16368124300638110621.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-917’ Running on prd-centos7-docker-4c-2g-920 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/7 [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/7 # 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/7@tmp/jenkins-gitclient-ssh7735470207073060278.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/7@tmp/jenkins-gitclient-ssh6432349092214436676.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 29697069f250b3a6652f4279ffd582c48bc37000 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Merge succeeded, producing 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e Checking out Revision 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e (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/7@tmp/jenkins-gitclient-ssh922214706370777643.key > git merge 29697069f250b3a6652f4279ffd582c48bc37000 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e # timeout=10 Commit message: "Merge commit '29697069f250b3a6652f4279ffd582c48bc37000' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-06T20:30:27.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-06T20:30:27.657Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-06T20:30:27.671Z] ========================================================= [2022-01-06T20:30:27.671Z] EdgeX Global Pipelines Version Info [2022-01-06T20:30:27.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9c26ed3593920a1167ef1db2b4fd2bbc61900d76 # timeout=10 [2022-01-06T20:30:28.806Z] ------------------- [2022-01-06T20:30:28.806Z] stable info: [2022-01-06T20:30:28.806Z] ------------------- [2022-01-06T20:30:28.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-06T20:30:28.806Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-06T20:30:28.806Z] Message: update stable to v1.0.217 [2022-01-06T20:30:29.378Z] ------------------- [2022-01-06T20:30:29.378Z] experimental info: [2022-01-06T20:30:29.378Z] ------------------- [2022-01-06T20:30:29.378Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-06T20:30:29.378Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-06T20:30:29.378Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-06T20:30:29.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-01-06T20:30:29.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-01-06T20:30:29.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-06T20:30:29.530Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-06T20:30:29.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-06T20:30:29.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-06T20:30:29.563Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-06T20:30:29.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-01-06T20:30:29.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-01-06T20:30:29.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-01-06T20:30:29.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-06T20:30:29.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-06T20:30:29.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-06T20:30:29.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-06T20:30:29.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-06T20:30:29.651Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-06T20:30:29.658Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-06T20:30:29.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-06T20:30:29.693Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-06T20:30:29.703Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-06T20:30:29.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-06T20:30:29.727Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-06T20:30:29.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-01-06T20:30:29.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-01-06T20:30:29.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-01-06T20:30:29.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e [Pipeline] echo [2022-01-06T20:30:29.787Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37236a7 [Pipeline] echo [2022-01-06T20:30:29.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-06T20:30:29.847Z] provisioning config files... [2022-01-06T20:30:29.862Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config7497536721173120677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:30:30.171Z] ---> docker-login.sh [2022-01-06T20:30:30.171Z] nexus3.edgexfoundry.org:10001 [2022-01-06T20:30:30.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:30:30.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:30:30.171Z] Configure a credential helper to remove this warning. See [2022-01-06T20:30:30.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:30:30.171Z] [2022-01-06T20:30:30.171Z] Login Succeeded [2022-01-06T20:30:30.171Z] nexus3.edgexfoundry.org:10002 [2022-01-06T20:30:30.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:30:30.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:30:30.439Z] Configure a credential helper to remove this warning. See [2022-01-06T20:30:30.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:30:30.439Z] [2022-01-06T20:30:30.439Z] Login Succeeded [2022-01-06T20:30:30.439Z] nexus3.edgexfoundry.org:10003 [2022-01-06T20:30:30.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:30:30.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:30:30.439Z] Configure a credential helper to remove this warning. See [2022-01-06T20:30:30.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:30:30.439Z] [2022-01-06T20:30:30.439Z] Login Succeeded [2022-01-06T20:30:30.439Z] nexus3.edgexfoundry.org:10004 [2022-01-06T20:30:30.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:30:30.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:30:30.701Z] Configure a credential helper to remove this warning. See [2022-01-06T20:30:30.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:30:30.701Z] [2022-01-06T20:30:30.701Z] Login Succeeded [2022-01-06T20:30:30.701Z] docker.io [2022-01-06T20:30:30.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:30:30.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:30:30.967Z] Configure a credential helper to remove this warning. See [2022-01-06T20:30:30.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:30:30.967Z] [2022-01-06T20:30:30.967Z] Login Succeeded [2022-01-06T20:30:30.967Z] ---> docker-login.sh ends [Pipeline] } [2022-01-06T20:30:30.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-06T20:30:31.296Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/core-command/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo core-command,cmd/core-command/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/core-data/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo core-data,cmd/core-data/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/core-metadata/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/support-notifications/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-01-06T20:30:31.296Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-06T20:30:31.296Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-01-06T20:30:31.296Z] ++ cut -d/ -f2 [2022-01-06T20:30:31.296Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-01-06T20:30:31.326Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-06T20:30:31.655Z] + git rev-list -1 --merges 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e~1..37236a7faa25c8a4b5543f3d3ac37a14d6dd844e [Pipeline] echo [2022-01-06T20:30:31.668Z] -----------> git rev-list -1 --merges 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e~1..37236a7faa25c8a4b5543f3d3ac37a14d6dd844e 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e [2022-01-06T20:30:31.668Z] 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e [false] [Pipeline] sh [2022-01-06T20:30:31.967Z] + git log --format=format:%s -1 37236a7faa25c8a4b5543f3d3ac37a14d6dd844e [Pipeline] echo [2022-01-06T20:30:31.987Z] ========================================================= [2022-01-06T20:30:31.987Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-06T20:30:31.987Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-01-06T20:30:32.392Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-06T20:30:32.392Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-06T20:30:32.392Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-06T20:30:32.392Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-06T20:30:32.392Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-06T20:30:32.392Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-06T20:30:32.392Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:30:32.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-06T20:30:32.741Z] [2022-01-06T20:30:32.741Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:30:33.055Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-06T20:30:33.055Z] latest: Pulling from edgex-devops/git-semver [2022-01-06T20:30:33.055Z] a0d0a0d46f8b: Pulling fs layer [2022-01-06T20:30:33.055Z] 3e5f54012d9b: Pulling fs layer [2022-01-06T20:30:33.055Z] 4c7163046ea9: Pulling fs layer [2022-01-06T20:30:33.055Z] 0c2d73faf560: Pulling fs layer [2022-01-06T20:30:33.055Z] 0c2d73faf560: Waiting [2022-01-06T20:30:33.055Z] 3e5f54012d9b: Verifying Checksum [2022-01-06T20:30:33.055Z] 3e5f54012d9b: Download complete [2022-01-06T20:30:33.055Z] a0d0a0d46f8b: Verifying Checksum [2022-01-06T20:30:33.055Z] a0d0a0d46f8b: Download complete [2022-01-06T20:30:33.055Z] 4c7163046ea9: Verifying Checksum [2022-01-06T20:30:33.055Z] 4c7163046ea9: Download complete [2022-01-06T20:30:33.056Z] 0c2d73faf560: Verifying Checksum [2022-01-06T20:30:33.056Z] 0c2d73faf560: Download complete [2022-01-06T20:30:33.339Z] a0d0a0d46f8b: Pull complete [2022-01-06T20:30:33.339Z] 3e5f54012d9b: Pull complete [2022-01-06T20:30:33.607Z] 4c7163046ea9: Pull complete [2022-01-06T20:30:33.871Z] 0c2d73faf560: Pull complete [2022-01-06T20:30:33.871Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-06T20:30:33.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-06T20:30:33.871Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-06T20:30:33.959Z] prd-centos7-docker-4c-2g-920 does not seem to be running inside a container [2022-01-06T20:30:34.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-06T20:30:34.886Z] $ docker top b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-06T20:30:34.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-06T20:30:34.986Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-06T20:30:35.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-06T20:30:35.089Z] $ docker exec b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c ssh-agent [2022-01-06T20:30:35.195Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJIdki/agent.13 [2022-01-06T20:30:35.195Z] SSH_AGENT_PID=19 [2022-01-06T20:30:35.203Z] Running ssh-add (command line suppressed) [2022-01-06T20:30:35.292Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_697176369289589670.key (/w/workspace/edgex-go/7@tmp/private_key_697176369289589670.key) [2022-01-06T20:30:35.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-06T20:30:35.598Z] + git tag --points-at HEAD [Pipeline] } [2022-01-06T20:30:35.617Z] $ docker exec --env ******** --env ******** b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c ssh-agent -k [2022-01-06T20:30:35.710Z] unset SSH_AUTH_SOCK; [2022-01-06T20:30:35.711Z] unset SSH_AGENT_PID; [2022-01-06T20:30:35.711Z] echo Agent pid 19 killed; [2022-01-06T20:30:35.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-06T20:30:35.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-06T20:30:35.744Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-06T20:30:35.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-06T20:30:35.846Z] $ docker exec b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c ssh-agent [2022-01-06T20:30:35.942Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeLfOiL/agent.53 [2022-01-06T20:30:35.942Z] SSH_AGENT_PID=59 [2022-01-06T20:30:35.947Z] Running ssh-add (command line suppressed) [2022-01-06T20:30:36.035Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_7352279688947796702.key (/w/workspace/edgex-go/7@tmp/private_key_7352279688947796702.key) [2022-01-06T20:30:36.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-06T20:30:36.342Z] + git semver init [2022-01-06T20:30:36.342Z] # -> Open(): unable to determine branch for HEAD [2022-01-06T20:30:36.342Z] # $GIT_DIR = /w/workspace/edgex-go/7/.git [2022-01-06T20:30:36.342Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/7 [2022-01-06T20:30:36.342Z] # $SEMVER_REMOTE_NAME = origin [2022-01-06T20:30:36.342Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-06T20:30:36.342Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-06T20:30:36.342Z] # $SEMVER_BRANCH = PR-3842 [2022-01-06T20:30:36.342Z] # $SEMVER_TEMP = /tmp/semver-176143429 [2022-01-06T20:30:36.342Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-01-06T20:30:51.298Z] # '/tmp/semver-176143429' -> '/w/workspace/edgex-go/7/.semver' [2022-01-06T20:30:51.298Z] # -> Force: false [2022-01-06T20:30:51.298Z] # $SEMVER_DIR = /w/workspace/edgex-go/7/.semver [Pipeline] } [2022-01-06T20:30:51.306Z] $ docker exec --env ******** --env ******** b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c ssh-agent -k [2022-01-06T20:30:51.405Z] unset SSH_AUTH_SOCK; [2022-01-06T20:30:51.405Z] unset SSH_AGENT_PID; [2022-01-06T20:30:51.405Z] echo Agent pid 59 killed; [2022-01-06T20:30:51.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-06T20:30:51.718Z] + git semver [Pipeline] } [2022-01-06T20:30:51.729Z] $ docker stop --time=1 b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c [2022-01-06T20:30:54.012Z] $ docker rm -f b135094f25dc66fd969b6c80587ff91f8b0310b9f85723be94e6a54527ac458c [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-06T20:30:54.388Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-06T20:30:54.613Z] Stashed 1 file(s) [Pipeline] echo [2022-01-06T20:30:54.617Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-01-06T20:30:54.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-06T20:30:54.720Z] ========================================================= [2022-01-06T20:30:54.720Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-06T20:30:54.720Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-06T20:30:55.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-06T20:30:55.022Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-06T20:30:55.022Z] a0d0a0d46f8b: Already exists [2022-01-06T20:30:55.022Z] 31adcdaf11c8: Pulling fs layer [2022-01-06T20:30:55.022Z] b8b176561691: Pulling fs layer [2022-01-06T20:30:55.022Z] 4527c011a84f: Pulling fs layer [2022-01-06T20:30:55.022Z] 5d74067f8e1e: Pulling fs layer [2022-01-06T20:30:55.022Z] e0aca202a116: Pulling fs layer [2022-01-06T20:30:55.022Z] 3a43be97a3b4: Pulling fs layer [2022-01-06T20:30:55.022Z] 34cad66bf833: Pulling fs layer [2022-01-06T20:30:55.022Z] b4e3c513aaa6: Pulling fs layer [2022-01-06T20:30:55.022Z] 5d74067f8e1e: Waiting [2022-01-06T20:30:55.022Z] e0aca202a116: Waiting [2022-01-06T20:30:55.022Z] 3a43be97a3b4: Waiting [2022-01-06T20:30:55.022Z] 34cad66bf833: Waiting [2022-01-06T20:30:55.022Z] b4e3c513aaa6: Waiting [2022-01-06T20:30:55.022Z] b8b176561691: Verifying Checksum [2022-01-06T20:30:55.022Z] b8b176561691: Download complete [2022-01-06T20:30:55.022Z] 31adcdaf11c8: Verifying Checksum [2022-01-06T20:30:55.022Z] 31adcdaf11c8: Download complete [2022-01-06T20:30:55.022Z] 5d74067f8e1e: Verifying Checksum [2022-01-06T20:30:55.022Z] 5d74067f8e1e: Download complete [2022-01-06T20:30:55.022Z] 3a43be97a3b4: Verifying Checksum [2022-01-06T20:30:55.022Z] 3a43be97a3b4: Download complete [2022-01-06T20:30:55.022Z] e0aca202a116: Verifying Checksum [2022-01-06T20:30:55.022Z] e0aca202a116: Download complete [2022-01-06T20:30:55.285Z] 34cad66bf833: Verifying Checksum [2022-01-06T20:30:55.285Z] 34cad66bf833: Download complete [2022-01-06T20:30:55.285Z] 31adcdaf11c8: Pull complete [2022-01-06T20:30:55.285Z] b8b176561691: Pull complete [2022-01-06T20:30:55.551Z] 4527c011a84f: Verifying Checksum [2022-01-06T20:30:55.551Z] 4527c011a84f: Download complete [2022-01-06T20:30:55.823Z] b4e3c513aaa6: Verifying Checksum [2022-01-06T20:30:55.823Z] b4e3c513aaa6: Download complete [2022-01-06T20:30:59.195Z] 4527c011a84f: Pull complete [2022-01-06T20:30:59.457Z] 5d74067f8e1e: Pull complete [2022-01-06T20:30:59.457Z] e0aca202a116: Pull complete [2022-01-06T20:30:59.457Z] 3a43be97a3b4: Pull complete [2022-01-06T20:30:59.725Z] 34cad66bf833: Pull complete [2022-01-06T20:31:02.316Z] b4e3c513aaa6: Pull complete [2022-01-06T20:31:02.316Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-06T20:31:02.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-06T20:31:02.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-06T20:31:02.622Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-06T20:31:02.622Z] WORKDIR /edgex [2022-01-06T20:31:02.622Z] COPY go.mod . [2022-01-06T20:31:02.622Z] RUN go mod download' [2022-01-06T20:31:02.622Z] + docker build -t ci-base-image-x86_64 -f - . [2022-01-06T20:31:04.032Z] Sending build context to Docker daemon 333.8MB [2022-01-06T20:31:04.032Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-06T20:31:04.032Z] ---> 9f6097aaca64 [2022-01-06T20:31:04.032Z] Step 2/4 : WORKDIR /edgex [2022-01-06T20:31:07.365Z] ---> Running in 77c0a9f3cd54 [2022-01-06T20:31:07.365Z] Removing intermediate container 77c0a9f3cd54 [2022-01-06T20:31:07.365Z] ---> 78752ad389f8 [2022-01-06T20:31:07.365Z] Step 3/4 : COPY go.mod . [2022-01-06T20:31:07.365Z] ---> 667feee4f93a [2022-01-06T20:31:07.365Z] Step 4/4 : RUN go mod download [2022-01-06T20:31:07.365Z] ---> Running in c1622c0ab205 [2022-01-06T20:31:09.680Z] Still waiting to schedule task [2022-01-06T20:31:09.681Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-918’ [2022-01-06T20:31:39.531Z] Removing intermediate container c1622c0ab205 [2022-01-06T20:31:39.531Z] ---> a0f7b01e7b7b [2022-01-06T20:31:39.531Z] Successfully built a0f7b01e7b7b [2022-01-06T20:31:39.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:31:39.828Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-06T20:31:39.828Z] . [Pipeline] withDockerContainer [2022-01-06T20:31:39.896Z] prd-centos7-docker-4c-2g-920 does not seem to be running inside a container [2022-01-06T20:31:39.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-06T20:31:40.297Z] $ docker top d156ea3eeedd47c2ab94265dea4f9db422c47dc8bb2a0e33dd86170b6ae40a27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-06T20:31:40.647Z] + go version [2022-01-06T20:31:40.647Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-06T20:31:40.658Z] $ docker stop --time=1 d156ea3eeedd47c2ab94265dea4f9db422c47dc8bb2a0e33dd86170b6ae40a27 [2022-01-06T20:31:41.840Z] $ docker rm -f d156ea3eeedd47c2ab94265dea4f9db422c47dc8bb2a0e33dd86170b6ae40a27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:31:42.241Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-06T20:31:42.241Z] . [Pipeline] withDockerContainer [2022-01-06T20:31:42.306Z] prd-centos7-docker-4c-2g-920 does not seem to be running inside a container [2022-01-06T20:31:42.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-06T20:31:42.662Z] $ docker top 31b518ab5045e3179a997cc12bbcf6399bb6f52f6806a8e7937055aaa6753c28 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-06T20:31:42.742Z] ========================================================= [2022-01-06T20:31:42.742Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-06T20:31:42.742Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-06T20:31:43.039Z] + make test [2022-01-06T20:31:43.039Z] go mod tidy [2022-01-06T20:31:43.300Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-06T20:31:48.630Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-06T20:32:10.689Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-06T20:32:16.026Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-06T20:32:16.292Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-06T20:32:16.878Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-06T20:32:19.478Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-06T20:32:19.745Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-06T20:32:19.745Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-06T20:32:19.745Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-06T20:32:20.327Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-06T20:32:20.906Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-06T20:32:21.172Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-06T20:32:21.172Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-06T20:32:21.172Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-06T20:32:21.172Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-06T20:32:23.109Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.053s coverage: 28.7% of statements [2022-01-06T20:32:23.109Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-06T20:32:23.109Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-06T20:32:23.686Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.058s coverage: 98.5% of statements [2022-01-06T20:32:23.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-06T20:32:24.269Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.064s coverage: 44.7% of statements [2022-01-06T20:32:24.269Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-06T20:32:24.269Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-06T20:32:25.246Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.125s coverage: 89.5% of statements [2022-01-06T20:32:25.246Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-06T20:32:25.246Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:32:26.642Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.053s coverage: 84.4% of statements [2022-01-06T20:32:26.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-06T20:32:26.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-06T20:32:26.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-06T20:32:26.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-06T20:32:26.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-06T20:32:27.231Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.274s coverage: 94.2% of statements [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:32:27.231Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.045s coverage: 59.1% of statements [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-06T20:32:27.231Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-06T20:32:27.519Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.051s coverage: 60.0% of statements [2022-01-06T20:32:27.519Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-06T20:32:27.519Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-06T20:32:27.519Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-06T20:32:28.499Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.049s coverage: 0.9% of statements [2022-01-06T20:32:28.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-06T20:32:28.499Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements [2022-01-06T20:32:29.075Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.049s coverage: 21.7% of statements [2022-01-06T20:32:29.075Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-06T20:32:29.075Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.046s coverage: 47.1% of statements [2022-01-06T20:32:29.334Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.073s coverage: 79.5% of statements [2022-01-06T20:32:29.598Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.057s coverage: 94.1% of statements [2022-01-06T20:32:29.864Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.057s coverage: 96.3% of statements [2022-01-06T20:32:30.134Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.065s coverage: 87.5% of statements [2022-01-06T20:32:42.369Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.063s coverage: 94.4% of statements [2022-01-06T20:32:42.369Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2022-01-06T20:32:48.947Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.198s coverage: 82.5% of statements [2022-01-06T20:32:48.947Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-06T20:33:07.084Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.078s coverage: 92.9% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.0% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.064s coverage: 85.4% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.149s coverage: 91.2% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.127s coverage: 64.4% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.047s coverage: 100.0% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.025s coverage: 89.4% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.023s coverage: 100.0% of statements [2022-01-06T20:33:07.085Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.214s coverage: 65.4% of statements [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-06T20:33:07.085Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-06T20:33:07.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.127s coverage: 43.8% of statements [2022-01-06T20:33:07.352Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-06T20:33:07.352Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-06T20:33:07.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.050s coverage: 89.5% of statements [2022-01-06T20:33:07.352Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-06T20:33:07.933Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.045s coverage: 84.8% of statements [2022-01-06T20:33:07.933Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-01-06T20:33:14.563Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.056s coverage: 17.7% of statements [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-06T20:33:14.563Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.126s coverage: 92.3% of statements [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-06T20:33:14.563Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 63.2% of statements [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-06T20:33:14.563Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-06T20:33:14.563Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.087s coverage: 97.7% of statements [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-06T20:33:14.564Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.051s coverage: 28.9% of statements [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-06T20:33:14.564Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-06T20:33:14.564Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements [2022-01-06T20:33:14.564Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-01-06T20:33:14.823Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2022-01-06T20:33:52.188Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-923 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-01-06T20:33:52.200Z] Running in /w/workspace/edgex-go/7 [Pipeline] { [Pipeline] checkout [2022-01-06T20:33:52.395Z] The recommended git tool is: git [2022-01-06T20:33:53.684Z] GO111MODULE=on go vet ./... [2022-01-06T20:33:57.232Z] using credential edgex-jenkins-ssh [2022-01-06T20:33:57.256Z] Cloning the remote Git repository [2022-01-06T20:33:57.332Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-01-06T20:33:57.414Z] > git init /w/workspace/edgex-go/7 # timeout=10 [2022-01-06T20:33:57.507Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-06T20:33:57.507Z] > git --version # timeout=10 [2022-01-06T20:33:57.527Z] > git --version # 'git version 2.17.1' [2022-01-06T20:33:57.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-06T20:33:57.628Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-06T20:34:05.955Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-06T20:34:05.955Z] ./internal/core/command/prometheus.go [2022-01-06T20:34:05.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-06T20:34:05.955Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2022-01-06T20:34:05.968Z] $ docker stop --time=1 31b518ab5045e3179a997cc12bbcf6399bb6f52f6806a8e7937055aaa6753c28 [2022-01-06T20:34:07.336Z] $ docker rm -f 31b518ab5045e3179a997cc12bbcf6399bb6f52f6806a8e7937055aaa6753c28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-06T20:34:07.772Z] Failed in branch amd64 [2022-01-06T20:34:14.596Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-06T20:34:14.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-06T20:34:15.533Z] Merging remotes/origin/main commit 29697069f250b3a6652f4279ffd582c48bc37000 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 [2022-01-06T20:34:16.078Z] Merge succeeded, producing 8c90d433748e16c6687b5f23afc718cf86d04b59 [2022-01-06T20:34:16.079Z] Checking out Revision 8c90d433748e16c6687b5f23afc718cf86d04b59 (PR-3842) [2022-01-06T20:34:14.638Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-06T20:34:14.669Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-06T20:34:14.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-06T20:34:14.687Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-06T20:34:15.555Z] > git config core.sparsecheckout # timeout=10 [2022-01-06T20:34:15.573Z] > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 [2022-01-06T20:34:15.781Z] > git remote # timeout=10 [2022-01-06T20:34:15.799Z] > git config --get remote.origin.url # timeout=10 [2022-01-06T20:34:15.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-06T20:34:15.829Z] > git merge 29697069f250b3a6652f4279ffd582c48bc37000 # timeout=10 [2022-01-06T20:34:16.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-06T20:34:16.083Z] > git config core.sparsecheckout # timeout=10 [2022-01-06T20:34:16.103Z] > git checkout -f 8c90d433748e16c6687b5f23afc718cf86d04b59 # timeout=10 [2022-01-06T20:34:20.304Z] Commit message: "Merge commit '29697069f250b3a6652f4279ffd582c48bc37000' into HEAD" [2022-01-06T20:34:20.331Z] First time build. Skipping changelog. [2022-01-06T20:34:20.312Z] > git rev-list --no-walk 9c26ed3593920a1167ef1db2b4fd2bbc61900d76 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-06T20:34:21.781Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-06T20:34:21.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-06T20:34:21.781Z] Dload Upload Total Spent Left Speed [2022-01-06T20:34:21.781Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2022-01-06T20:34:22.311Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-06T20:34:22.710Z] + sudo tee /etc/docker/daemon.new [2022-01-06T20:34:22.710Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-06T20:34:22.710Z] { [2022-01-06T20:34:22.710Z] "registry-mirrors": [ [2022-01-06T20:34:22.710Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-06T20:34:22.710Z] ], [2022-01-06T20:34:22.710Z] "bip": "10.250.0.254/24", [2022-01-06T20:34:22.710Z] "hosts": [ [2022-01-06T20:34:22.710Z] "tcp://0.0.0.0:5555", [2022-01-06T20:34:22.710Z] "unix:///var/run/docker.sock" [2022-01-06T20:34:22.710Z] ], [2022-01-06T20:34:22.710Z] "mtu": 1458, [2022-01-06T20:34:22.710Z] "selinux-enabled": true, [2022-01-06T20:34:22.710Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-06T20:34:22.710Z] } [Pipeline] sh [2022-01-06T20:34:23.053Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-06T20:34:23.394Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-06T20:34:41.728Z] provisioning config files... [2022-01-06T20:34:41.753Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config1037907095494016240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:34:42.116Z] ---> docker-login.sh [2022-01-06T20:34:42.116Z] nexus3.edgexfoundry.org:10001 [2022-01-06T20:34:42.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:34:42.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:34:42.988Z] Configure a credential helper to remove this warning. See [2022-01-06T20:34:42.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:34:42.988Z] [2022-01-06T20:34:42.988Z] Login Succeeded [2022-01-06T20:34:42.988Z] nexus3.edgexfoundry.org:10002 [2022-01-06T20:34:43.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:34:43.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:34:43.544Z] Configure a credential helper to remove this warning. See [2022-01-06T20:34:43.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:34:43.544Z] [2022-01-06T20:34:43.544Z] Login Succeeded [2022-01-06T20:34:43.544Z] nexus3.edgexfoundry.org:10003 [2022-01-06T20:34:43.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:34:43.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:34:43.816Z] Configure a credential helper to remove this warning. See [2022-01-06T20:34:43.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:34:43.816Z] [2022-01-06T20:34:43.816Z] Login Succeeded [2022-01-06T20:34:43.816Z] nexus3.edgexfoundry.org:10004 [2022-01-06T20:34:44.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:34:44.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:34:44.364Z] Configure a credential helper to remove this warning. See [2022-01-06T20:34:44.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:34:44.364Z] [2022-01-06T20:34:44.364Z] Login Succeeded [2022-01-06T20:34:44.364Z] docker.io [2022-01-06T20:34:44.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-06T20:34:45.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-06T20:34:45.236Z] Configure a credential helper to remove this warning. See [2022-01-06T20:34:45.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-06T20:34:45.236Z] [2022-01-06T20:34:45.236Z] Login Succeeded [2022-01-06T20:34:45.236Z] ---> docker-login.sh ends [Pipeline] } [2022-01-06T20:34:45.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-06T20:34:45.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-06T20:34:45.790Z] ========================================================= [2022-01-06T20:34:45.790Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-06T20:34:45.790Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-06T20:34:46.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-06T20:34:46.412Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-06T20:34:46.412Z] 552d1f2373af: Pulling fs layer [2022-01-06T20:34:46.412Z] ea3f2d53f512: Pulling fs layer [2022-01-06T20:34:46.412Z] 9e70ebbbe112: Pulling fs layer [2022-01-06T20:34:46.412Z] 7a9cfe048b4a: Pulling fs layer [2022-01-06T20:34:46.412Z] 72dc09318566: Pulling fs layer [2022-01-06T20:34:46.412Z] f4f7b4309257: Pulling fs layer [2022-01-06T20:34:46.412Z] 0ac9a79272e3: Pulling fs layer [2022-01-06T20:34:46.412Z] b78e95d17946: Pulling fs layer [2022-01-06T20:34:46.412Z] 72dc09318566: Waiting [2022-01-06T20:34:46.412Z] f4f7b4309257: Waiting [2022-01-06T20:34:46.412Z] 0ac9a79272e3: Waiting [2022-01-06T20:34:46.412Z] b78e95d17946: Waiting [2022-01-06T20:34:46.412Z] 7a9cfe048b4a: Waiting [2022-01-06T20:34:46.412Z] 9e70ebbbe112: Verifying Checksum [2022-01-06T20:34:46.412Z] 9e70ebbbe112: Download complete [2022-01-06T20:34:46.412Z] ea3f2d53f512: Verifying Checksum [2022-01-06T20:34:46.412Z] ea3f2d53f512: Download complete [2022-01-06T20:34:46.412Z] 72dc09318566: Verifying Checksum [2022-01-06T20:34:46.412Z] 72dc09318566: Download complete [2022-01-06T20:34:46.412Z] f4f7b4309257: Verifying Checksum [2022-01-06T20:34:46.412Z] f4f7b4309257: Download complete [2022-01-06T20:34:46.412Z] 552d1f2373af: Verifying Checksum [2022-01-06T20:34:46.412Z] 552d1f2373af: Download complete [2022-01-06T20:34:46.412Z] 0ac9a79272e3: Verifying Checksum [2022-01-06T20:34:46.412Z] 0ac9a79272e3: Download complete [2022-01-06T20:34:47.012Z] 552d1f2373af: Pull complete [2022-01-06T20:34:47.624Z] ea3f2d53f512: Pull complete [2022-01-06T20:34:47.902Z] 9e70ebbbe112: Pull complete [2022-01-06T20:34:48.501Z] b78e95d17946: Verifying Checksum [2022-01-06T20:34:48.501Z] b78e95d17946: Download complete [2022-01-06T20:34:48.774Z] 7a9cfe048b4a: Verifying Checksum [2022-01-06T20:34:48.774Z] 7a9cfe048b4a: Download complete [2022-01-06T20:35:01.169Z] 7a9cfe048b4a: Pull complete [2022-01-06T20:35:01.169Z] 72dc09318566: Pull complete [2022-01-06T20:35:01.169Z] f4f7b4309257: Pull complete [2022-01-06T20:35:01.169Z] 0ac9a79272e3: Pull complete [2022-01-06T20:35:06.575Z] b78e95d17946: Pull complete [2022-01-06T20:35:06.575Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-06T20:35:06.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-06T20:35:06.575Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-06T20:35:06.942Z] + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-06T20:35:06.942Z] WORKDIR /edgex [2022-01-06T20:35:06.942Z] COPY go.mod . [2022-01-06T20:35:06.942Z] RUN go mod download build [2022-01-06T20:35:06.942Z] -t ci-base-image-arm64 -f - . [2022-01-06T20:35:09.565Z] Sending build context to Docker daemon 168.6MB [2022-01-06T20:35:09.565Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-06T20:35:09.565Z] ---> 8b459fc5aaf0 [2022-01-06T20:35:09.565Z] Step 2/4 : WORKDIR /edgex [2022-01-06T20:35:11.547Z] ---> Running in b119904e4383 [2022-01-06T20:35:11.820Z] Removing intermediate container b119904e4383 [2022-01-06T20:35:11.820Z] ---> b063d0a1e030 [2022-01-06T20:35:11.820Z] Step 3/4 : COPY go.mod . [2022-01-06T20:35:12.415Z] ---> e805c80e7ec6 [2022-01-06T20:35:12.415Z] Step 4/4 : RUN go mod download [2022-01-06T20:35:12.415Z] ---> Running in e29e81090d78 [2022-01-06T20:36:34.203Z] Removing intermediate container e29e81090d78 [2022-01-06T20:36:34.203Z] ---> 7634dc6e5d47 [2022-01-06T20:36:34.203Z] Successfully built 7634dc6e5d47 [2022-01-06T20:36:34.203Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:36:34.550Z] + docker inspect -f . ci-base-image-arm64 [2022-01-06T20:36:34.550Z] . [Pipeline] withDockerContainer [2022-01-06T20:36:34.777Z] prd-ubuntu18.04-docker-arm64-4c-16g-923 does not seem to be running inside a container [2022-01-06T20:36:34.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-06T20:36:36.318Z] $ docker top bca0f5a5382aa77a974020bf3e7d99ff7a7e5a42ab054c74b098ce3b5ea1066d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-06T20:36:37.215Z] + go version [2022-01-06T20:36:37.215Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-06T20:36:37.239Z] $ docker stop --time=1 bca0f5a5382aa77a974020bf3e7d99ff7a7e5a42ab054c74b098ce3b5ea1066d [2022-01-06T20:36:38.921Z] $ docker rm -f bca0f5a5382aa77a974020bf3e7d99ff7a7e5a42ab054c74b098ce3b5ea1066d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:36:39.549Z] + docker inspect -f . ci-base-image-arm64 [2022-01-06T20:36:39.549Z] . [Pipeline] withDockerContainer [2022-01-06T20:36:39.788Z] prd-ubuntu18.04-docker-arm64-4c-16g-923 does not seem to be running inside a container [2022-01-06T20:36:39.874Z] $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-06T20:36:41.195Z] $ docker top 3e1e097f7cc141a53f2023715b09d1b425d203336bb6a2f8b3e16f70aa4ced7c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-06T20:36:41.444Z] ========================================================= [2022-01-06T20:36:41.444Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-06T20:36:41.444Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-06T20:36:42.099Z] + make test [2022-01-06T20:36:42.099Z] go mod tidy [2022-01-06T20:36:43.082Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-06T20:37:15.444Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-06T20:38:37.305Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-06T20:38:52.442Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-06T20:38:52.442Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-06T20:38:52.442Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-06T20:38:56.769Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-06T20:38:56.769Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-06T20:38:56.769Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-06T20:38:56.769Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-06T20:39:00.189Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-06T20:39:00.189Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-06T20:39:01.183Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-06T20:39:01.183Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-06T20:39:01.183Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-06T20:39:01.183Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-06T20:39:09.519Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.225s coverage: 28.7% of statements [2022-01-06T20:39:09.520Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-06T20:39:09.520Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-06T20:39:13.856Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.399s coverage: 98.5% of statements [2022-01-06T20:39:13.856Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-06T20:39:14.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.436s coverage: 44.7% of statements [2022-01-06T20:39:14.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-06T20:39:14.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-06T20:39:18.256Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.724s coverage: 89.5% of statements [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:39:18.256Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.232s coverage: 84.4% of statements [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-06T20:39:18.256Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.795s coverage: 94.2% of statements [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.246s coverage: 59.1% of statements [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.315s coverage: 60.0% of statements [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.327s coverage: 0.9% of statements [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.185s coverage: 58.8% of statements [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.215s coverage: 21.7% of statements [2022-01-06T20:39:28.424Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.255s coverage: 47.1% of statements [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.295s coverage: 79.5% of statements [2022-01-06T20:39:28.424Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.192s coverage: 94.1% of statements [2022-01-06T20:39:28.425Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.236s coverage: 96.3% of statements [2022-01-06T20:39:29.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.278s coverage: 87.5% of statements [2022-01-06T20:39:42.044Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.323s coverage: 94.4% of statements [2022-01-06T20:39:42.044Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.236s coverage: 44.8% of statements [2022-01-06T20:39:48.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.623s coverage: 82.5% of statements [2022-01-06T20:39:48.761Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.351s coverage: 92.9% of statements [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.067s coverage: 65.1% of statements [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.210s coverage: 87.2% of statements [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.171s coverage: 100.0% of statements [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.255s coverage: 58.8% of statements [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.321s coverage: 80.0% of statements [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.293s coverage: 87.2% of statements [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.283s coverage: 85.4% of statements [2022-01-06T20:39:55.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.849s coverage: 91.2% of statements [2022-01-06T20:39:55.494Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-06T20:39:57.486Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.965s coverage: 64.4% of statements [2022-01-06T20:39:57.486Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-06T20:39:57.486Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-06T20:39:57.486Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.205s coverage: 100.0% of statements [2022-01-06T20:39:58.091Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.142s coverage: 89.4% of statements [2022-01-06T20:39:58.091Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.074s coverage: 100.0% of statements [2022-01-06T20:39:58.370Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.137s coverage: 73.7% of statements [2022-01-06T20:39:59.823Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.060s coverage: 100.0% of statements [2022-01-06T20:40:04.142Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.464s coverage: 65.4% of statements [2022-01-06T20:40:04.142Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-06T20:40:04.142Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-06T20:40:04.142Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-06T20:40:06.774Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.889s coverage: 43.8% of statements [2022-01-06T20:40:06.774Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-06T20:40:06.774Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-06T20:40:06.774Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.298s coverage: 89.5% of statements [2022-01-06T20:40:06.774Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-06T20:40:06.774Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.295s coverage: 84.8% of statements [2022-01-06T20:40:06.774Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.273s coverage: 17.7% of statements [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.722s coverage: 92.3% of statements [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.240s coverage: 63.2% of statements [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.479s coverage: 97.7% of statements [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.226s coverage: 28.9% of statements [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-06T20:40:15.093Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.193s coverage: 100.0% of statements [2022-01-06T20:40:15.093Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 96.9% of statements [2022-01-06T20:40:16.080Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2022-01-06T20:40:16.080Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-06T20:40:16.080Z] GO111MODULE=on go vet ./... [2022-01-06T20:41:52.901Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-06T20:41:52.901Z] ./internal/core/command/prometheus.go [2022-01-06T20:41:53.887Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-06T20:41:55.857Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2022-01-06T20:41:55.870Z] $ docker stop --time=1 3e1e097f7cc141a53f2023715b09d1b425d203336bb6a2f8b3e16f70aa4ced7c [2022-01-06T20:41:57.808Z] $ docker rm -f 3e1e097f7cc141a53f2023715b09d1b425d203336bb6a2f8b3e16f70aa4ced7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:41:59.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-06T20:41:59.442Z] [2022-01-06T20:41:59.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:41:59.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-06T20:42:00.061Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-06T20:42:00.061Z] 448f6bf000e3: Pulling fs layer [2022-01-06T20:42:00.061Z] f757da607395: Pulling fs layer [2022-01-06T20:42:00.061Z] 05883995daec: Pulling fs layer [2022-01-06T20:42:00.061Z] 8603b9c90790: Pulling fs layer [2022-01-06T20:42:00.061Z] 1560dd03e051: Pulling fs layer [2022-01-06T20:42:00.061Z] 27f5ce0e4adf: Pulling fs layer [2022-01-06T20:42:00.061Z] c2d8d7efcc4b: Pulling fs layer [2022-01-06T20:42:00.061Z] 8603b9c90790: Waiting [2022-01-06T20:42:00.061Z] 1560dd03e051: Waiting [2022-01-06T20:42:00.061Z] f757da607395: Verifying Checksum [2022-01-06T20:42:00.061Z] f757da607395: Download complete [2022-01-06T20:42:00.061Z] 8603b9c90790: Verifying Checksum [2022-01-06T20:42:00.061Z] 8603b9c90790: Download complete [2022-01-06T20:42:00.061Z] 1560dd03e051: Verifying Checksum [2022-01-06T20:42:00.061Z] 1560dd03e051: Download complete [2022-01-06T20:42:00.335Z] 27f5ce0e4adf: Verifying Checksum [2022-01-06T20:42:00.335Z] 27f5ce0e4adf: Download complete [2022-01-06T20:42:00.335Z] 05883995daec: Verifying Checksum [2022-01-06T20:42:00.335Z] 05883995daec: Download complete [2022-01-06T20:42:00.609Z] 448f6bf000e3: Verifying Checksum [2022-01-06T20:42:00.609Z] 448f6bf000e3: Download complete [2022-01-06T20:42:03.229Z] c2d8d7efcc4b: Verifying Checksum [2022-01-06T20:42:03.229Z] c2d8d7efcc4b: Download complete [2022-01-06T20:42:04.204Z] 448f6bf000e3: Pull complete [2022-01-06T20:42:04.798Z] f757da607395: Pull complete [2022-01-06T20:42:06.228Z] 05883995daec: Pull complete [2022-01-06T20:42:06.499Z] 8603b9c90790: Pull complete [2022-01-06T20:42:07.484Z] 1560dd03e051: Pull complete [2022-01-06T20:42:07.757Z] 27f5ce0e4adf: Pull complete [2022-01-06T20:42:22.829Z] c2d8d7efcc4b: Pull complete [2022-01-06T20:42:22.829Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-06T20:42:22.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-06T20:42:22.829Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-06T20:42:23.046Z] prd-ubuntu18.04-docker-arm64-4c-16g-923 does not seem to be running inside a container [2022-01-06T20:42:23.113Z] $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-06T20:42:25.842Z] $ docker top 8f1c80fe2b62fed7d0b4326a2ff4609b2e457931f82a8e406c91233dc54d70c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:26.839Z] ---> job-cost.sh [2022-01-06T20:42:26.839Z] lf-activate-venv: SKIPPING [2022-01-06T20:42:26.839Z] INFO: No Stack... [2022-01-06T20:42:27.113Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-06T20:42:27.392Z] INFO: Archiving Costs [Pipeline] sh [2022-01-06T20:42:28.079Z] + cat /w/workspace/edgex-go/7/archives/cost.csv [2022-01-06T20:42:28.079Z] + cut -d, -f6 [Pipeline] lock [2022-01-06T20:42:28.149Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-7-stack-cost] [2022-01-06T20:42:28.156Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-7-stack-cost] did not exist. Created. [2022-01-06T20:42:28.156Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-06T20:42:28.815Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-06T20:42:29.412Z] Stashed 1 file(s) [Pipeline] } [2022-01-06T20:42:29.420Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-06T20:42:29.428Z] $ docker stop --time=1 8f1c80fe2b62fed7d0b4326a2ff4609b2e457931f82a8e406c91233dc54d70c5 [2022-01-06T20:42:30.933Z] $ docker rm -f 8f1c80fe2b62fed7d0b4326a2ff4609b2e457931f82a8e406c91233dc54d70c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-06T20:42:31.222Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-06T20:42:31.755Z] + '[' -d /w/workspace/edgex-go/7/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:32.322Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:32.835Z] ---> package-listing.sh [2022-01-06T20:42:32.836Z] ++ facter osfamily [2022-01-06T20:42:32.836Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-06T20:42:32.836Z] + OS_FAMILY=redhat [2022-01-06T20:42:32.836Z] + workspace=/w/workspace/edgex-go/7 [2022-01-06T20:42:32.836Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-06T20:42:32.836Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-06T20:42:32.836Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-06T20:42:32.836Z] + PACKAGES=/tmp/packages_start.txt [2022-01-06T20:42:32.836Z] + '[' /w/workspace/edgex-go/7 ']' [2022-01-06T20:42:32.836Z] + PACKAGES=/tmp/packages_end.txt [2022-01-06T20:42:32.836Z] + case "${OS_FAMILY}" in [2022-01-06T20:42:32.836Z] + sort [2022-01-06T20:42:32.836Z] + rpm -qa [2022-01-06T20:42:33.886Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-06T20:42:33.886Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-06T20:42:33.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-06T20:42:33.886Z] + '[' /w/workspace/edgex-go/7 ']' [2022-01-06T20:42:33.886Z] + mkdir -p /w/workspace/edgex-go/7/archives/ [2022-01-06T20:42:33.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/7/archives/ [Pipeline] echo [2022-01-06T20:42:33.899Z] 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/7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-06T20:42:34.185Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:42:34.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-06T20:42:34.740Z] [2022-01-06T20:42:34.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-06T20:42:35.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-06T20:42:35.044Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-06T20:42:35.044Z] b4d181a07f80: Pulling fs layer [2022-01-06T20:42:35.044Z] a1111a8f2ec3: Pulling fs layer [2022-01-06T20:42:35.044Z] ed53099fbce6: Pulling fs layer [2022-01-06T20:42:35.044Z] dc539afda2c1: Pulling fs layer [2022-01-06T20:42:35.044Z] 77bc0d833cb6: Pulling fs layer [2022-01-06T20:42:35.044Z] 9065ff56babe: Pulling fs layer [2022-01-06T20:42:35.044Z] d287ab97295c: Pulling fs layer [2022-01-06T20:42:35.044Z] dc539afda2c1: Waiting [2022-01-06T20:42:35.044Z] 77bc0d833cb6: Waiting [2022-01-06T20:42:35.044Z] 9065ff56babe: Waiting [2022-01-06T20:42:35.044Z] d287ab97295c: Waiting [2022-01-06T20:42:35.044Z] a1111a8f2ec3: Verifying Checksum [2022-01-06T20:42:35.044Z] a1111a8f2ec3: Download complete [2022-01-06T20:42:35.044Z] dc539afda2c1: Verifying Checksum [2022-01-06T20:42:35.044Z] dc539afda2c1: Download complete [2022-01-06T20:42:35.044Z] ed53099fbce6: Verifying Checksum [2022-01-06T20:42:35.044Z] ed53099fbce6: Download complete [2022-01-06T20:42:35.304Z] 9065ff56babe: Verifying Checksum [2022-01-06T20:42:35.304Z] 9065ff56babe: Download complete [2022-01-06T20:42:35.304Z] 77bc0d833cb6: Verifying Checksum [2022-01-06T20:42:35.304Z] 77bc0d833cb6: Download complete [2022-01-06T20:42:35.304Z] b4d181a07f80: Verifying Checksum [2022-01-06T20:42:35.304Z] b4d181a07f80: Download complete [2022-01-06T20:42:35.888Z] d287ab97295c: Verifying Checksum [2022-01-06T20:42:35.888Z] d287ab97295c: Download complete [2022-01-06T20:42:36.860Z] b4d181a07f80: Pull complete [2022-01-06T20:42:36.860Z] a1111a8f2ec3: Pull complete [2022-01-06T20:42:37.435Z] ed53099fbce6: Pull complete [2022-01-06T20:42:37.697Z] dc539afda2c1: Pull complete [2022-01-06T20:42:37.967Z] 77bc0d833cb6: Pull complete [2022-01-06T20:42:37.967Z] 9065ff56babe: Pull complete [2022-01-06T20:42:43.279Z] d287ab97295c: Pull complete [2022-01-06T20:42:43.279Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-06T20:42:43.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-06T20:42:43.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-06T20:42:43.351Z] prd-centos7-docker-4c-2g-920 does not seem to be running inside a container [2022-01-06T20:42:43.385Z] $ 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/7/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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-06T20:42:45.848Z] $ docker top 243b7bddcc02930742f497f1e2c64086776559b985bf34c5ca3ed44eac0f2487 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-06T20:42:46.207Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-06T20:42:46.497Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-06T20:42:46.793Z] + ls /var/log/sa-host [2022-01-06T20:42:46.793Z] + sadf -c /var/log/sa-host/sa06 [2022-01-06T20:42:46.793Z] file_magic: OK [2022-01-06T20:42:46.793Z] HZ: Using current value: 100 [2022-01-06T20:42:46.793Z] file_header: OK [2022-01-06T20:42:46.793Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-06T20:42:46.793Z] Statistics: [2022-01-06T20:42:46.793Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-06T20:42:46.793Z] File successfully converted to sysstat format version 12.0.3 [2022-01-06T20:42:46.793Z] + sadf -c /var/log/sa-host/sa17 [2022-01-06T20:42:46.793Z] file_magic: OK [2022-01-06T20:42:46.793Z] HZ: Using current value: 100 [2022-01-06T20:42:46.793Z] file_header: OK [2022-01-06T20:42:46.793Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-06T20:42:46.794Z] Statistics: [2022-01-06T20:42:46.794Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-06T20:42:46.794Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-06T20:42:46.871Z] provisioning config files... [2022-01-06T20:42:46.879Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/7@tmp/config5276872885657081990tmp [Pipeline] { [Pipeline] echo [2022-01-06T20:42:46.889Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:47.175Z] ---> create-netrc.sh [Pipeline] } [2022-01-06T20:42:47.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:47.515Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-06T20:42:47.523Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:47.813Z] ---> sudo-logs.sh [2022-01-06T20:42:47.813Z] Archiving 'sudo' log.. [2022-01-06T20:42:47.813Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-920.novalocal: Name or service not known [2022-01-06T20:42:47.813Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-920.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-06T20:42:47.854Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:48.144Z] ---> job-cost.sh [2022-01-06T20:42:48.144Z] lf-activate-venv: SKIPPING [2022-01-06T20:42:48.144Z] DEBUG: total: 0.10999999940395355 [2022-01-06T20:42:48.144Z] INFO: Retrieving Stack Cost... [2022-01-06T20:42:48.714Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-06T20:42:48.975Z] INFO: Archiving Costs [Pipeline] echo [2022-01-06T20:42:48.990Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-06T20:42:49.278Z] ---> logs-deploy.sh [2022-01-06T20:42:49.278Z] lf-activate-venv: SKIPPING [2022-01-06T20:42:49.278Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/7 [2022-01-06T20:42:49.278Z] INFO: archiving workspace using pattern(s): [2022-01-06T20:42:49.854Z] Archives upload complete. [2022-01-06T20:42:50.116Z] INFO: archiving logs to Nexus