Pull request #3813 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/edgex-go Obtained Jenkinsfile from 8b6363ccf32e8e3a142036298fac75a158137c4d+f7c7132b17dbbb881af4d9ccfc6ed9167751e366 (c6373d7cf29fa22b9788bc8597196a7f10f2defc) Running in Durability level: MAX_SURVIVABILITY 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-ssh4634415441315948641.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh1365079969730637212.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 a03e002eace0db65b27acd1444eb3c4392a49323 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3813/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3813/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1200604477144063193.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3813/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2347608482958293115.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3675880605306772239.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3813/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3813/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5983553124794186508.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-287 in /w/workspace/edgexfoundry_edgex-go_PR-3813 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7748442304217970207.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh3426887132138160690.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3813/head:refs/remotes/origin/PR-3813 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7c7132b17dbbb881af4d9ccfc6ed9167751e366 into PR head commit 8b6363ccf32e8e3a142036298fac75a158137c4d Merge succeeded, producing 8b6363ccf32e8e3a142036298fac75a158137c4d Checking out Revision 8b6363ccf32e8e3a142036298fac75a158137c4d (PR-3813) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6363ccf32e8e3a142036298fac75a158137c4d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh6586547740128346074.key > git merge f7c7132b17dbbb881af4d9ccfc6ed9167751e366 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6363ccf32e8e3a142036298fac75a158137c4d # timeout=10 Commit message: "fix(snap): support disabling security" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-12T01:55:03.066Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-12T01:55:03.202Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-12T01:55:03.269Z] ========================================================= [2021-11-12T01:55:03.269Z] EdgeX Global Pipelines Version Info [2021-11-12T01:55:03.269Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-12T01:55:04.471Z] ------------------- [2021-11-12T01:55:04.471Z] stable info: [2021-11-12T01:55:04.471Z] ------------------- [2021-11-12T01:55:04.471Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-12T01:55:04.471Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-12T01:55:04.471Z] Message: update stable to v1.0.213 [2021-11-12T01:55:05.043Z] ------------------- [2021-11-12T01:55:05.043Z] experimental info: [2021-11-12T01:55:05.043Z] ------------------- [2021-11-12T01:55:05.043Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-12T01:55:05.043Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-12T01:55:05.043Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-12T01:55:05.214Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-11-12T01:55:05.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-11-12T01:55:05.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-12T01:55:05.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-12T01:55:05.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-12T01:55:05.396Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-12T01:55:05.424Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-12T01:55:05.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-11-12T01:55:05.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-11-12T01:55:05.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-11-12T01:55:05.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-12T01:55:05.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-12T01:55:05.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-12T01:55:05.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-12T01:55:05.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-12T01:55:05.731Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-12T01:55:05.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-12T01:55:05.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-12T01:55:05.833Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-12T01:55:05.865Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-12T01:55:05.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-12T01:55:05.929Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-12T01:55:05.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3813 [Pipeline] echo [2021-11-12T01:55:05.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3813 [Pipeline] echo [2021-11-12T01:55:06.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3813 [Pipeline] echo [2021-11-12T01:55:06.054Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b6363ccf32e8e3a142036298fac75a158137c4d [Pipeline] echo [2021-11-12T01:55:06.084Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b6363c [Pipeline] echo [2021-11-12T01:55:06.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T01:55:06.207Z] provisioning config files... [2021-11-12T01:55:06.222Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3416256705043968447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T01:55:06.574Z] ---> docker-login.sh [2021-11-12T01:55:06.574Z] nexus3.edgexfoundry.org:10001 [2021-11-12T01:55:06.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T01:55:06.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T01:55:06.837Z] Configure a credential helper to remove this warning. See [2021-11-12T01:55:06.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T01:55:06.837Z] [2021-11-12T01:55:06.837Z] Login Succeeded [2021-11-12T01:55:06.837Z] nexus3.edgexfoundry.org:10002 [2021-11-12T01:55:06.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T01:55:06.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T01:55:06.837Z] Configure a credential helper to remove this warning. See [2021-11-12T01:55:06.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T01:55:06.837Z] [2021-11-12T01:55:06.837Z] Login Succeeded [2021-11-12T01:55:06.837Z] nexus3.edgexfoundry.org:10003 [2021-11-12T01:55:07.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T01:55:07.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T01:55:07.106Z] Configure a credential helper to remove this warning. See [2021-11-12T01:55:07.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T01:55:07.106Z] [2021-11-12T01:55:07.106Z] Login Succeeded [2021-11-12T01:55:07.106Z] nexus3.edgexfoundry.org:10004 [2021-11-12T01:55:07.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T01:55:07.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T01:55:07.106Z] Configure a credential helper to remove this warning. See [2021-11-12T01:55:07.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T01:55:07.106Z] [2021-11-12T01:55:07.106Z] Login Succeeded [2021-11-12T01:55:07.106Z] docker.io [2021-11-12T01:55:07.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T01:55:07.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T01:55:07.632Z] Configure a credential helper to remove this warning. See [2021-11-12T01:55:07.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T01:55:07.632Z] [2021-11-12T01:55:07.632Z] Login Succeeded [2021-11-12T01:55:07.632Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T01:55:07.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-12T01:55:08.024Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] ++ dirname cmd/core-command/Dockerfile [2021-11-12T01:55:08.024Z] + echo core-command,cmd/core-command/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/core-data/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo core-data,cmd/core-data/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/core-metadata/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/support-notifications/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-11-12T01:55:08.024Z] + for file in '`ls cmd/**/Dockerfile`' [2021-11-12T01:55:08.024Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-11-12T01:55:08.024Z] ++ cut -d/ -f2 [2021-11-12T01:55:08.024Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-11-12T01:55:08.088Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-12T01:55:08.607Z] + git rev-list -1 --merges 8b6363ccf32e8e3a142036298fac75a158137c4d~1..8b6363ccf32e8e3a142036298fac75a158137c4d [Pipeline] echo [2021-11-12T01:55:08.639Z] -----------> git rev-list -1 --merges 8b6363ccf32e8e3a142036298fac75a158137c4d~1..8b6363ccf32e8e3a142036298fac75a158137c4d 8b6363ccf32e8e3a142036298fac75a158137c4d [false] [Pipeline] sh [2021-11-12T01:55:08.949Z] + git log --format=format:%s -1 8b6363ccf32e8e3a142036298fac75a158137c4d [Pipeline] echo [2021-11-12T01:55:08.981Z] ========================================================= [2021-11-12T01:55:08.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-12T01:55:08.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-11-12T01:55:09.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-12T01:55:09.740Z] [2021-11-12T01:55:09.740Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T01:55:10.072Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-12T01:55:10.072Z] latest: Pulling from edgex-devops/git-semver [2021-11-12T01:55:10.072Z] a0d0a0d46f8b: Pulling fs layer [2021-11-12T01:55:10.072Z] 3e5f54012d9b: Pulling fs layer [2021-11-12T01:55:10.072Z] 4c7163046ea9: Pulling fs layer [2021-11-12T01:55:10.072Z] 0c2d73faf560: Pulling fs layer [2021-11-12T01:55:10.072Z] 0c2d73faf560: Waiting [2021-11-12T01:55:10.072Z] 3e5f54012d9b: Verifying Checksum [2021-11-12T01:55:10.072Z] 3e5f54012d9b: Download complete [2021-11-12T01:55:10.072Z] a0d0a0d46f8b: Verifying Checksum [2021-11-12T01:55:10.072Z] a0d0a0d46f8b: Download complete [2021-11-12T01:55:10.336Z] 4c7163046ea9: Verifying Checksum [2021-11-12T01:55:10.336Z] 4c7163046ea9: Download complete [2021-11-12T01:55:10.336Z] 0c2d73faf560: Verifying Checksum [2021-11-12T01:55:10.336Z] 0c2d73faf560: Download complete [2021-11-12T01:55:10.336Z] a0d0a0d46f8b: Pull complete [2021-11-12T01:55:10.336Z] 3e5f54012d9b: Pull complete [2021-11-12T01:55:10.603Z] 4c7163046ea9: Pull complete [2021-11-12T01:55:10.867Z] 0c2d73faf560: Pull complete [2021-11-12T01:55:10.867Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-12T01:55:10.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-12T01:55:10.867Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-12T01:55:10.960Z] prd-centos7-docker-4c-2g-287 does not seem to be running inside a container [2021-11-12T01:55:10.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-12T01:55:11.681Z] $ docker top d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-12T01:55:11.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-12T01:55:11.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-12T01:55:11.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-12T01:55:11.948Z] $ docker exec d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 ssh-agent [2021-11-12T01:55:12.047Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkcBIKn/agent.14 [2021-11-12T01:55:12.047Z] SSH_AGENT_PID=20 [2021-11-12T01:55:12.053Z] Running ssh-add (command line suppressed) [2021-11-12T01:55:12.152Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_1319396966741438656.key (/w/workspace/edgex-go/1@tmp/private_key_1319396966741438656.key) [2021-11-12T01:55:12.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-12T01:55:12.497Z] + git tag --points-at HEAD [Pipeline] } [2021-11-12T01:55:12.515Z] $ docker exec --env ******** --env ******** d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 ssh-agent -k [2021-11-12T01:55:12.629Z] unset SSH_AUTH_SOCK; [2021-11-12T01:55:12.629Z] unset SSH_AGENT_PID; [2021-11-12T01:55:12.629Z] echo Agent pid 20 killed; [2021-11-12T01:55:12.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-12T01:55:12.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-12T01:55:12.706Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-12T01:55:12.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-12T01:55:12.829Z] $ docker exec d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 ssh-agent [2021-11-12T01:55:12.931Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMnmjjj/agent.53 [2021-11-12T01:55:12.931Z] SSH_AGENT_PID=59 [2021-11-12T01:55:12.936Z] Running ssh-add (command line suppressed) [2021-11-12T01:55:13.033Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4203333921046899802.key (/w/workspace/edgex-go/1@tmp/private_key_4203333921046899802.key) [2021-11-12T01:55:13.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-12T01:55:13.370Z] + git semver init [2021-11-12T01:55:13.370Z] # -> Open(): unable to determine branch for HEAD [2021-11-12T01:55:13.370Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-11-12T01:55:13.370Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-11-12T01:55:13.370Z] # $SEMVER_REMOTE_NAME = origin [2021-11-12T01:55:13.370Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-12T01:55:13.370Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-12T01:55:13.371Z] # $SEMVER_BRANCH = PR-3813 [2021-11-12T01:55:13.371Z] # $SEMVER_TEMP = /tmp/semver-848586077 [2021-11-12T01:55:13.371Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-11-12T01:55:25.637Z] # '/tmp/semver-848586077' -> '/w/workspace/edgex-go/1/.semver' [2021-11-12T01:55:25.637Z] # -> Force: false [2021-11-12T01:55:25.637Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-11-12T01:55:25.656Z] $ docker exec --env ******** --env ******** d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 ssh-agent -k [2021-11-12T01:55:25.740Z] unset SSH_AUTH_SOCK; [2021-11-12T01:55:25.740Z] unset SSH_AGENT_PID; [2021-11-12T01:55:25.740Z] echo Agent pid 59 killed; [2021-11-12T01:55:25.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-12T01:55:26.173Z] + git semver [Pipeline] } [2021-11-12T01:55:26.198Z] $ docker stop --time=1 d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 [2021-11-12T01:55:28.500Z] $ docker rm -f d878a8bba0c984c3934d1b124937ef5987965f70b83d9651d892e14b4eed0612 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-12T01:55:28.906Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-12T01:55:29.186Z] Stashed 1 file(s) [Pipeline] echo [2021-11-12T01:55:29.206Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-11-12T01:55:29.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T01:55:29.767Z] ========================================================= [2021-11-12T01:55:29.767Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-12T01:55:29.767Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-11-12T01:55:30.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-12T01:55:30.109Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-12T01:55:30.109Z] a0d0a0d46f8b: Already exists [2021-11-12T01:55:30.109Z] 31adcdaf11c8: Pulling fs layer [2021-11-12T01:55:30.109Z] b8b176561691: Pulling fs layer [2021-11-12T01:55:30.109Z] 4527c011a84f: Pulling fs layer [2021-11-12T01:55:30.109Z] 5d74067f8e1e: Pulling fs layer [2021-11-12T01:55:30.109Z] e0aca202a116: Pulling fs layer [2021-11-12T01:55:30.109Z] 3a43be97a3b4: Pulling fs layer [2021-11-12T01:55:30.109Z] 34cad66bf833: Pulling fs layer [2021-11-12T01:55:30.109Z] b4e3c513aaa6: Pulling fs layer [2021-11-12T01:55:30.109Z] 3a43be97a3b4: Waiting [2021-11-12T01:55:30.109Z] 34cad66bf833: Waiting [2021-11-12T01:55:30.109Z] b4e3c513aaa6: Waiting [2021-11-12T01:55:30.109Z] 5d74067f8e1e: Waiting [2021-11-12T01:55:30.109Z] e0aca202a116: Waiting [2021-11-12T01:55:30.109Z] b8b176561691: Verifying Checksum [2021-11-12T01:55:30.109Z] b8b176561691: Download complete [2021-11-12T01:55:30.109Z] 31adcdaf11c8: Verifying Checksum [2021-11-12T01:55:30.109Z] 31adcdaf11c8: Download complete [2021-11-12T01:55:30.109Z] 5d74067f8e1e: Verifying Checksum [2021-11-12T01:55:30.109Z] 5d74067f8e1e: Download complete [2021-11-12T01:55:30.109Z] e0aca202a116: Verifying Checksum [2021-11-12T01:55:30.109Z] e0aca202a116: Download complete [2021-11-12T01:55:30.109Z] 3a43be97a3b4: Verifying Checksum [2021-11-12T01:55:30.109Z] 3a43be97a3b4: Download complete [2021-11-12T01:55:30.378Z] 34cad66bf833: Verifying Checksum [2021-11-12T01:55:30.378Z] 34cad66bf833: Download complete [2021-11-12T01:55:30.378Z] 31adcdaf11c8: Pull complete [2021-11-12T01:55:30.641Z] b8b176561691: Pull complete [2021-11-12T01:55:30.641Z] 4527c011a84f: Verifying Checksum [2021-11-12T01:55:30.641Z] 4527c011a84f: Download complete [2021-11-12T01:55:30.904Z] b4e3c513aaa6: Verifying Checksum [2021-11-12T01:55:30.904Z] b4e3c513aaa6: Download complete [2021-11-12T01:55:35.134Z] 4527c011a84f: Pull complete [2021-11-12T01:55:35.134Z] 5d74067f8e1e: Pull complete [2021-11-12T01:55:35.134Z] e0aca202a116: Pull complete [2021-11-12T01:55:35.134Z] 3a43be97a3b4: Pull complete [2021-11-12T01:55:35.134Z] 34cad66bf833: Pull complete [2021-11-12T01:55:37.692Z] b4e3c513aaa6: Pull complete [2021-11-12T01:55:37.692Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-12T01:55:37.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-12T01:55:37.692Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-11-12T01:55:38.038Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-12T01:55:38.038Z] WORKDIR /edgex [2021-11-12T01:55:38.038Z] COPY go.mod . [2021-11-12T01:55:38.038Z] RUN go mod download' [2021-11-12T01:55:38.038Z] + docker build -t ci-base-image-x86_64 -f - . [2021-11-12T01:55:39.997Z] Sending build context to Docker daemon 330MB [2021-11-12T01:55:39.997Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-12T01:55:39.997Z] ---> 9f6097aaca64 [2021-11-12T01:55:39.997Z] Step 2/4 : WORKDIR /edgex [2021-11-12T01:55:41.912Z] ---> Running in 38109c251903 [2021-11-12T01:55:41.912Z] Removing intermediate container 38109c251903 [2021-11-12T01:55:41.912Z] ---> 58e5866e1a2b [2021-11-12T01:55:41.912Z] Step 3/4 : COPY go.mod . [2021-11-12T01:55:41.912Z] ---> 55bcae84d392 [2021-11-12T01:55:41.912Z] Step 4/4 : RUN go mod download [2021-11-12T01:55:41.912Z] ---> Running in 9d6d047f59b1 [2021-11-12T01:55:44.581Z] Still waiting to schedule task [2021-11-12T01:55:44.582Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-12T01:56:20.685Z] Removing intermediate container 9d6d047f59b1 [2021-11-12T01:56:20.685Z] ---> 3911f9882f75 [2021-11-12T01:56:20.685Z] Successfully built 3911f9882f75 [2021-11-12T01:56:20.685Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T01:56:21.019Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-12T01:56:21.019Z] . [Pipeline] withDockerContainer [2021-11-12T01:56:21.104Z] prd-centos7-docker-4c-2g-287 does not seem to be running inside a container [2021-11-12T01:56:21.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-12T01:56:21.523Z] $ docker top 12b3ffb402aac6dc25a9705d4b2b333761aeea95ec4659bcb3ad905856d9ffba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T01:56:21.933Z] + go version [2021-11-12T01:56:21.933Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-12T01:56:21.952Z] $ docker stop --time=1 12b3ffb402aac6dc25a9705d4b2b333761aeea95ec4659bcb3ad905856d9ffba [2021-11-12T01:56:23.155Z] $ docker rm -f 12b3ffb402aac6dc25a9705d4b2b333761aeea95ec4659bcb3ad905856d9ffba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T01:56:23.798Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-12T01:56:23.798Z] . [Pipeline] withDockerContainer [2021-11-12T01:56:23.879Z] prd-centos7-docker-4c-2g-287 does not seem to be running inside a container [2021-11-12T01:56:23.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-12T01:56:24.273Z] $ docker top 0ce359018d0eec7b3b8d5e906645ccb2640c63f319f46980a8bbd60768e24083 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-12T01:56:24.386Z] ========================================================= [2021-11-12T01:56:24.386Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-11-12T01:56:24.386Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-11-12T01:56:24.725Z] + make test [2021-11-12T01:56:24.725Z] go mod tidy [2021-11-12T01:56:24.993Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-12T01:56:30.342Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-11-12T01:56:48.567Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-11-12T01:56:51.896Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-11-12T01:56:51.896Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-11-12T01:56:52.468Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-11-12T01:56:55.047Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-11-12T01:56:55.315Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-11-12T01:56:55.315Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-11-12T01:56:55.315Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-11-12T01:56:55.893Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-11-12T01:56:56.161Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-11-12T01:56:56.422Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-11-12T01:56:56.422Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-11-12T01:56:56.422Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-11-12T01:56:56.422Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-11-12T01:56:58.364Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.060s coverage: 28.7% of statements [2021-11-12T01:56:58.364Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-11-12T01:56:58.364Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-11-12T01:56:59.319Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.053s coverage: 98.5% of statements [2021-11-12T01:56:59.319Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-11-12T01:56:59.591Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.046s coverage: 44.7% of statements [2021-11-12T01:56:59.591Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-11-12T01:56:59.591Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-11-12T01:57:00.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.123s coverage: 89.5% of statements [2021-11-12T01:57:00.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-11-12T01:57:00.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-11-12T01:57:01.525Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.058s coverage: 84.4% of statements [2021-11-12T01:57:01.525Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-11-12T01:57:01.525Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-11-12T01:57:01.525Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-11-12T01:57:01.525Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-11-12T01:57:01.525Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-11-12T01:57:02.099Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.254s coverage: 94.2% of statements [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-11-12T01:57:02.100Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.045s coverage: 59.1% of statements [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-11-12T01:57:02.100Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-11-12T01:57:02.715Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.090s coverage: 60.0% of statements [2021-11-12T01:57:02.715Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-11-12T01:57:02.715Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-11-12T01:57:02.715Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-11-12T01:57:03.312Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.044s coverage: 0.9% of statements [2021-11-12T01:57:03.312Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-11-12T01:57:03.312Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.040s coverage: 58.8% of statements [2021-11-12T01:57:03.899Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.048s coverage: 21.7% of statements [2021-11-12T01:57:03.899Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-11-12T01:57:03.899Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.041s coverage: 47.1% of statements [2021-11-12T01:57:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.051s coverage: 79.5% of statements [2021-11-12T01:57:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.053s coverage: 94.1% of statements [2021-11-12T01:57:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.062s coverage: 96.3% of statements [2021-11-12T01:57:05.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements [2021-11-12T01:57:17.532Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.047s coverage: 94.4% of statements [2021-11-12T01:57:17.532Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.041s coverage: 44.8% of statements [2021-11-12T01:57:21.742Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.201s coverage: 82.5% of statements [2021-11-12T01:57:21.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.076s coverage: 92.9% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.025s coverage: 65.1% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.062s coverage: 85.4% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.116s coverage: 91.2% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.149s coverage: 64.4% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.023s coverage: 73.7% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.019s coverage: 100.0% of statements [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.261s coverage: 65.4% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.116s coverage: 43.8% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-11-12T01:57:43.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.048s coverage: 84.8% of statements [2021-11-12T01:57:43.716Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.060s coverage: 17.7% of statements [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.151s coverage: 92.3% of statements [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.051s coverage: 63.2% of statements [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.083s coverage: 97.7% of statements [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.041s coverage: 28.9% of statements [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-11-12T01:57:49.016Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements [2021-11-12T01:57:49.016Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 96.9% of statements [2021-11-12T01:57:49.016Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-11-12T01:58:21.239Z] GO111MODULE=on go vet ./... [2021-11-12T01:58:31.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-12T01:58:31.332Z] ./snap/local/hooks/cmd/configure/configure.go [2021-11-12T01:58:31.332Z] ./snap/local/hooks/cmd/install/install.go [2021-11-12T01:58:31.332Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-12T01:58:31.332Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-11-12T01:58:31.373Z] $ docker stop --time=1 0ce359018d0eec7b3b8d5e906645ccb2640c63f319f46980a8bbd60768e24083 [2021-11-12T01:58:33.364Z] $ docker rm -f 0ce359018d0eec7b3b8d5e906645ccb2640c63f319f46980a8bbd60768e24083 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-12T01:58:34.766Z] Failed in branch amd64 [2021-11-12T01:59:26.530Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-288 in /w/workspace/edgexfoundry_edgex-go_PR-3813 [Pipeline] { [Pipeline] ws [2021-11-12T01:59:26.574Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-11-12T01:59:26.848Z] The recommended git tool is: git [2021-11-12T01:59:32.628Z] using credential edgex-jenkins-ssh [2021-11-12T01:59:32.648Z] Cloning the remote Git repository [2021-11-12T01:59:32.755Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-11-12T01:59:32.942Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-11-12T01:59:33.095Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-11-12T01:59:33.096Z] > git --version # timeout=10 [2021-11-12T01:59:33.121Z] > git --version # 'git version 2.17.1' [2021-11-12T01:59:33.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T01:59:33.211Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T01:59:50.082Z] Merging remotes/origin/main commit f7c7132b17dbbb881af4d9ccfc6ed9167751e366 into PR head commit 8b6363ccf32e8e3a142036298fac75a158137c4d [2021-11-12T01:59:50.457Z] Merge succeeded, producing 8b6363ccf32e8e3a142036298fac75a158137c4d [2021-11-12T01:59:50.457Z] Checking out Revision 8b6363ccf32e8e3a142036298fac75a158137c4d (PR-3813) [2021-11-12T01:59:49.079Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-11-12T01:59:49.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T01:59:49.133Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-11-12T01:59:49.166Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-11-12T01:59:49.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T01:59:49.180Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3813/head:refs/remotes/origin/PR-3813 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-12T01:59:50.103Z] > git config core.sparsecheckout # timeout=10 [2021-11-12T01:59:50.127Z] > git checkout -f 8b6363ccf32e8e3a142036298fac75a158137c4d # timeout=10 [2021-11-12T01:59:50.363Z] > git remote # timeout=10 [2021-11-12T01:59:50.377Z] > git config --get remote.origin.url # timeout=10 [2021-11-12T01:59:50.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T01:59:50.414Z] > git merge f7c7132b17dbbb881af4d9ccfc6ed9167751e366 # timeout=10 [2021-11-12T01:59:50.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-12T01:59:50.465Z] > git config core.sparsecheckout # timeout=10 [2021-11-12T01:59:50.478Z] > git checkout -f 8b6363ccf32e8e3a142036298fac75a158137c4d # timeout=10 [2021-11-12T01:59:55.106Z] Commit message: "fix(snap): support disabling security" [2021-11-12T01:59:55.169Z] > git --version # timeout=10 [2021-11-12T01:59:55.185Z] > git --version # 'git version 2.17.1' [2021-11-12T01:59:55.200Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T01:59:56.434Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-12T01:59:56.434Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-12T01:59:56.434Z] Dload Upload Total Spent Left Speed [2021-11-12T01:59:56.434Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 64612 0 --:--:-- --:--:-- --:--:-- 64612 [Pipeline] sh [2021-11-12T01:59:56.871Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-12T01:59:57.232Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-12T01:59:57.232Z] + sudo tee /etc/docker/daemon.new [2021-11-12T01:59:57.232Z] { [2021-11-12T01:59:57.232Z] "registry-mirrors": [ [2021-11-12T01:59:57.232Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-12T01:59:57.232Z] ], [2021-11-12T01:59:57.232Z] "bip": "10.250.0.254/24", [2021-11-12T01:59:57.232Z] "hosts": [ [2021-11-12T01:59:57.232Z] "tcp://0.0.0.0:5555", [2021-11-12T01:59:57.232Z] "unix:///var/run/docker.sock" [2021-11-12T01:59:57.232Z] ], [2021-11-12T01:59:57.232Z] "mtu": 1458, [2021-11-12T01:59:57.232Z] "selinux-enabled": true, [2021-11-12T01:59:57.232Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-12T01:59:57.232Z] } [Pipeline] sh [2021-11-12T01:59:57.595Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-12T01:59:58.003Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T02:00:16.373Z] provisioning config files... [2021-11-12T02:00:16.396Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7473203934942192471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:00:16.788Z] ---> docker-login.sh [2021-11-12T02:00:16.788Z] nexus3.edgexfoundry.org:10001 [2021-11-12T02:00:17.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T02:00:17.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T02:00:17.978Z] Configure a credential helper to remove this warning. See [2021-11-12T02:00:17.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T02:00:17.978Z] [2021-11-12T02:00:17.978Z] Login Succeeded [2021-11-12T02:00:17.978Z] nexus3.edgexfoundry.org:10002 [2021-11-12T02:00:18.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T02:00:18.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T02:00:18.249Z] Configure a credential helper to remove this warning. See [2021-11-12T02:00:18.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T02:00:18.249Z] [2021-11-12T02:00:18.249Z] Login Succeeded [2021-11-12T02:00:18.523Z] nexus3.edgexfoundry.org:10003 [2021-11-12T02:00:18.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T02:00:18.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T02:00:18.796Z] Configure a credential helper to remove this warning. See [2021-11-12T02:00:18.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T02:00:18.796Z] [2021-11-12T02:00:18.796Z] Login Succeeded [2021-11-12T02:00:19.067Z] nexus3.edgexfoundry.org:10004 [2021-11-12T02:00:19.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T02:00:19.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T02:00:19.609Z] Configure a credential helper to remove this warning. See [2021-11-12T02:00:19.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T02:00:19.609Z] [2021-11-12T02:00:19.609Z] Login Succeeded [2021-11-12T02:00:19.609Z] docker.io [2021-11-12T02:00:19.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T02:00:20.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T02:00:20.475Z] Configure a credential helper to remove this warning. See [2021-11-12T02:00:20.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T02:00:20.475Z] [2021-11-12T02:00:20.475Z] Login Succeeded [2021-11-12T02:00:20.475Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T02:00:20.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-12T02:00:21.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T02:00:21.113Z] ========================================================= [2021-11-12T02:00:21.113Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-12T02:00:21.113Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-11-12T02:00:21.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-12T02:00:21.761Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-12T02:00:21.761Z] 552d1f2373af: Pulling fs layer [2021-11-12T02:00:21.761Z] ea3f2d53f512: Pulling fs layer [2021-11-12T02:00:21.761Z] 9e70ebbbe112: Pulling fs layer [2021-11-12T02:00:21.761Z] 7a9cfe048b4a: Pulling fs layer [2021-11-12T02:00:21.761Z] 72dc09318566: Pulling fs layer [2021-11-12T02:00:21.761Z] f4f7b4309257: Pulling fs layer [2021-11-12T02:00:21.761Z] 0ac9a79272e3: Pulling fs layer [2021-11-12T02:00:21.761Z] b78e95d17946: Pulling fs layer [2021-11-12T02:00:21.761Z] 7a9cfe048b4a: Waiting [2021-11-12T02:00:21.761Z] 72dc09318566: Waiting [2021-11-12T02:00:21.761Z] f4f7b4309257: Waiting [2021-11-12T02:00:21.761Z] 0ac9a79272e3: Waiting [2021-11-12T02:00:21.761Z] b78e95d17946: Waiting [2021-11-12T02:00:21.761Z] 9e70ebbbe112: Verifying Checksum [2021-11-12T02:00:21.761Z] 9e70ebbbe112: Download complete [2021-11-12T02:00:21.761Z] ea3f2d53f512: Verifying Checksum [2021-11-12T02:00:21.761Z] ea3f2d53f512: Download complete [2021-11-12T02:00:21.761Z] 72dc09318566: Verifying Checksum [2021-11-12T02:00:21.761Z] 72dc09318566: Download complete [2021-11-12T02:00:21.761Z] f4f7b4309257: Verifying Checksum [2021-11-12T02:00:21.761Z] f4f7b4309257: Download complete [2021-11-12T02:00:21.761Z] 552d1f2373af: Verifying Checksum [2021-11-12T02:00:21.761Z] 552d1f2373af: Download complete [2021-11-12T02:00:21.761Z] 0ac9a79272e3: Verifying Checksum [2021-11-12T02:00:21.761Z] 0ac9a79272e3: Download complete [2021-11-12T02:00:22.748Z] 552d1f2373af: Pull complete [2021-11-12T02:00:23.353Z] ea3f2d53f512: Pull complete [2021-11-12T02:00:23.635Z] 9e70ebbbe112: Pull complete [2021-11-12T02:00:23.910Z] b78e95d17946: Verifying Checksum [2021-11-12T02:00:23.910Z] b78e95d17946: Download complete [2021-11-12T02:00:24.189Z] 7a9cfe048b4a: Verifying Checksum [2021-11-12T02:00:24.189Z] 7a9cfe048b4a: Download complete [2021-11-12T02:00:36.679Z] 7a9cfe048b4a: Pull complete [2021-11-12T02:00:36.679Z] 72dc09318566: Pull complete [2021-11-12T02:00:36.679Z] f4f7b4309257: Pull complete [2021-11-12T02:00:36.679Z] 0ac9a79272e3: Pull complete [2021-11-12T02:00:42.105Z] b78e95d17946: Pull complete [2021-11-12T02:00:42.105Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-12T02:00:42.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-12T02:00:42.105Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-11-12T02:00:42.517Z] + docker build+ echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-12T02:00:42.517Z] WORKDIR /edgex [2021-11-12T02:00:42.517Z] COPY go.mod . [2021-11-12T02:00:42.517Z] RUN go mod download [2021-11-12T02:00:42.517Z] -t ci-base-image-arm64 -f - . [2021-11-12T02:00:45.168Z] Sending build context to Docker daemon 166.7MB [2021-11-12T02:00:45.168Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-12T02:00:45.168Z] ---> 8b459fc5aaf0 [2021-11-12T02:00:45.168Z] Step 2/4 : WORKDIR /edgex [2021-11-12T02:00:47.162Z] ---> Running in 6d77e9372164 [2021-11-12T02:00:47.762Z] Removing intermediate container 6d77e9372164 [2021-11-12T02:00:47.762Z] ---> 3fcfb42b63d6 [2021-11-12T02:00:47.762Z] Step 3/4 : COPY go.mod . [2021-11-12T02:00:48.748Z] ---> 9331e9c148bf [2021-11-12T02:00:48.748Z] Step 4/4 : RUN go mod download [2021-11-12T02:00:48.748Z] ---> Running in dc883129c687 [2021-11-12T02:02:10.578Z] Removing intermediate container dc883129c687 [2021-11-12T02:02:10.578Z] ---> 65cc60a7e9fd [2021-11-12T02:02:10.578Z] Successfully built 65cc60a7e9fd [2021-11-12T02:02:10.578Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T02:02:10.944Z] + docker inspect -f . ci-base-image-arm64 [2021-11-12T02:02:10.945Z] . [Pipeline] withDockerContainer [2021-11-12T02:02:11.227Z] prd-ubuntu18.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2021-11-12T02:02:11.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-12T02:02:13.095Z] $ docker top 85cc48448bd5dab88e6467c8e4901c818c11a797b2a5a9e94b59cfb7e97f075d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T02:02:14.113Z] + go version [2021-11-12T02:02:14.113Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-12T02:02:14.157Z] $ docker stop --time=1 85cc48448bd5dab88e6467c8e4901c818c11a797b2a5a9e94b59cfb7e97f075d [2021-11-12T02:02:15.955Z] $ docker rm -f 85cc48448bd5dab88e6467c8e4901c818c11a797b2a5a9e94b59cfb7e97f075d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T02:02:16.997Z] + docker inspect -f . ci-base-image-arm64 [2021-11-12T02:02:16.997Z] . [Pipeline] withDockerContainer [2021-11-12T02:02:17.327Z] prd-ubuntu18.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2021-11-12T02:02:17.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-12T02:02:19.037Z] $ docker top 969ee8d9f09e29e51fa926e4b0be51401b8c5b71b661723b6789e76b9d9181f6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-12T02:02:19.414Z] ========================================================= [2021-11-12T02:02:19.414Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-11-12T02:02:19.414Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-11-12T02:02:20.113Z] + make test [2021-11-12T02:02:20.113Z] go mod tidy [2021-11-12T02:02:21.096Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-12T02:02:53.491Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-11-12T02:03:50.107Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-11-12T02:04:00.453Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-11-12T02:04:00.453Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-11-12T02:04:01.058Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-11-12T02:04:13.495Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-11-12T02:04:13.495Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-11-12T02:04:13.495Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-11-12T02:04:13.495Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-11-12T02:04:13.495Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-11-12T02:04:13.495Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-11-12T02:04:14.937Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-11-12T02:04:14.937Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-11-12T02:04:14.937Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-11-12T02:04:14.937Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-11-12T02:04:23.237Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.170s coverage: 28.7% of statements [2021-11-12T02:04:23.237Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-11-12T02:04:23.237Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-11-12T02:04:27.556Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.397s coverage: 98.5% of statements [2021-11-12T02:04:27.556Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-11-12T02:04:28.543Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.369s coverage: 44.7% of statements [2021-11-12T02:04:28.543Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-11-12T02:04:28.543Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-11-12T02:04:32.054Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.799s coverage: 89.5% of statements [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-11-12T02:04:32.054Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.232s coverage: 84.4% of statements [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-11-12T02:04:32.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.726s coverage: 94.2% of statements [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.191s coverage: 59.1% of statements [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.460s coverage: 60.0% of statements [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.469s coverage: 0.9% of statements [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.269s coverage: 58.8% of statements [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.193s coverage: 21.7% of statements [2021-11-12T02:04:42.332Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.202s coverage: 47.1% of statements [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.247s coverage: 79.5% of statements [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.179s coverage: 94.1% of statements [2021-11-12T02:04:42.332Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.238s coverage: 96.3% of statements [2021-11-12T02:04:42.933Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.203s coverage: 87.5% of statements [2021-11-12T02:04:55.350Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.218s coverage: 94.4% of statements [2021-11-12T02:04:55.350Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.180s coverage: 44.8% of statements [2021-11-12T02:05:00.770Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.623s coverage: 82.5% of statements [2021-11-12T02:05:00.770Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.253s coverage: 92.9% of statements [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.193s coverage: 87.2% of statements [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.171s coverage: 100.0% of statements [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.317s coverage: 58.8% of statements [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.287s coverage: 80.0% of statements [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.255s coverage: 87.2% of statements [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.347s coverage: 85.4% of statements [2021-11-12T02:05:07.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.943s coverage: 91.2% of statements [2021-11-12T02:05:07.524Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-11-12T02:05:11.850Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.963s coverage: 64.4% of statements [2021-11-12T02:05:11.850Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-11-12T02:05:11.850Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-11-12T02:05:11.850Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.203s coverage: 100.0% of statements [2021-11-12T02:05:11.850Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.107s coverage: 89.4% of statements [2021-11-12T02:05:11.850Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.078s coverage: 100.0% of statements [2021-11-12T02:05:11.850Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.064s coverage: 73.7% of statements [2021-11-12T02:05:12.454Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.059s coverage: 100.0% of statements [2021-11-12T02:05:16.794Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.541s coverage: 65.4% of statements [2021-11-12T02:05:16.794Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-11-12T02:05:16.794Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-11-12T02:05:16.794Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-11-12T02:05:21.138Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.927s coverage: 43.8% of statements [2021-11-12T02:05:21.138Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-11-12T02:05:21.138Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-11-12T02:05:21.138Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.284s coverage: 89.5% of statements [2021-11-12T02:05:21.138Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-11-12T02:05:21.138Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.298s coverage: 84.8% of statements [2021-11-12T02:05:21.138Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-11-12T02:05:29.448Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.306s coverage: 17.7% of statements [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-11-12T02:05:29.448Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.633s coverage: 92.3% of statements [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-11-12T02:05:29.448Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.319s coverage: 63.2% of statements [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-11-12T02:05:29.448Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.506s coverage: 97.7% of statements [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-11-12T02:05:29.448Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.185s coverage: 28.9% of statements [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-11-12T02:05:29.448Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-11-12T02:05:29.449Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-11-12T02:05:29.449Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.211s coverage: 100.0% of statements [2021-11-12T02:05:29.449Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.080s coverage: 96.9% of statements [2021-11-12T02:05:29.449Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-11-12T02:05:29.449Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2021-11-12T02:05:29.449Z] GO111MODULE=on go vet ./... [2021-11-12T02:07:06.316Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-12T02:07:06.316Z] ./snap/local/hooks/cmd/install/install.go [2021-11-12T02:07:06.316Z] ./snap/local/hooks/cmd/configure/configure.go [2021-11-12T02:07:06.316Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-12T02:07:06.316Z] make: *** [Makefile:111: test] Error 1 [Pipeline] } [2021-11-12T02:07:06.354Z] $ docker stop --time=1 969ee8d9f09e29e51fa926e4b0be51401b8c5b71b661723b6789e76b9d9181f6 [2021-11-12T02:07:08.243Z] $ docker rm -f 969ee8d9f09e29e51fa926e4b0be51401b8c5b71b661723b6789e76b9d9181f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T02:07:10.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-12T02:07:10.515Z] [2021-11-12T02:07:10.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-12T02:07:10.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-12T02:07:11.170Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-12T02:07:11.170Z] 448f6bf000e3: Pulling fs layer [2021-11-12T02:07:11.170Z] f757da607395: Pulling fs layer [2021-11-12T02:07:11.170Z] 05883995daec: Pulling fs layer [2021-11-12T02:07:11.170Z] 8603b9c90790: Pulling fs layer [2021-11-12T02:07:11.170Z] 1560dd03e051: Pulling fs layer [2021-11-12T02:07:11.170Z] 27f5ce0e4adf: Pulling fs layer [2021-11-12T02:07:11.170Z] c2d8d7efcc4b: Pulling fs layer [2021-11-12T02:07:11.170Z] 8603b9c90790: Waiting [2021-11-12T02:07:11.170Z] 1560dd03e051: Waiting [2021-11-12T02:07:11.170Z] 27f5ce0e4adf: Waiting [2021-11-12T02:07:11.170Z] c2d8d7efcc4b: Waiting [2021-11-12T02:07:11.170Z] f757da607395: Verifying Checksum [2021-11-12T02:07:11.170Z] f757da607395: Download complete [2021-11-12T02:07:11.170Z] 8603b9c90790: Verifying Checksum [2021-11-12T02:07:11.170Z] 8603b9c90790: Download complete [2021-11-12T02:07:11.448Z] 1560dd03e051: Verifying Checksum [2021-11-12T02:07:11.448Z] 1560dd03e051: Download complete [2021-11-12T02:07:11.448Z] 27f5ce0e4adf: Verifying Checksum [2021-11-12T02:07:11.448Z] 27f5ce0e4adf: Download complete [2021-11-12T02:07:11.448Z] 05883995daec: Verifying Checksum [2021-11-12T02:07:11.448Z] 05883995daec: Download complete [2021-11-12T02:07:11.726Z] 448f6bf000e3: Verifying Checksum [2021-11-12T02:07:11.726Z] 448f6bf000e3: Download complete [2021-11-12T02:07:14.349Z] c2d8d7efcc4b: Verifying Checksum [2021-11-12T02:07:14.349Z] c2d8d7efcc4b: Download complete [2021-11-12T02:07:15.790Z] 448f6bf000e3: Pull complete [2021-11-12T02:07:16.390Z] f757da607395: Pull complete [2021-11-12T02:07:17.833Z] 05883995daec: Pull complete [2021-11-12T02:07:18.107Z] 8603b9c90790: Pull complete [2021-11-12T02:07:19.088Z] 1560dd03e051: Pull complete [2021-11-12T02:07:19.684Z] 27f5ce0e4adf: Pull complete [2021-11-12T02:07:34.779Z] c2d8d7efcc4b: Pull complete [2021-11-12T02:07:34.779Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-12T02:07:34.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-12T02:07:34.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-12T02:07:35.053Z] prd-ubuntu18.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2021-11-12T02:07:35.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-12T02:07:38.357Z] $ docker top a4cc011800fe28e27f8cffaf5fb0c436865c060d6eb9c3a383c1e842b0453fb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:07:39.552Z] ---> job-cost.sh [2021-11-12T02:07:39.552Z] lf-activate-venv: SKIPPING [2021-11-12T02:07:39.552Z] INFO: No Stack... [2021-11-12T02:07:39.838Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-12T02:07:40.451Z] INFO: Archiving Costs [Pipeline] sh [2021-11-12T02:07:41.179Z] + cut -d, -f6 [2021-11-12T02:07:41.179Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock [2021-11-12T02:07:41.346Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3813-1-stack-cost] [2021-11-12T02:07:41.351Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3813-1-stack-cost] did not exist. Created. [2021-11-12T02:07:41.351Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3813-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-12T02:07:42.212Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-12T02:07:42.848Z] Stashed 1 file(s) [Pipeline] } [2021-11-12T02:07:42.864Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3813-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-12T02:07:42.922Z] $ docker stop --time=1 a4cc011800fe28e27f8cffaf5fb0c436865c060d6eb9c3a383c1e842b0453fb6 [2021-11-12T02:07:44.489Z] $ docker rm -f a4cc011800fe28e27f8cffaf5fb0c436865c060d6eb9c3a383c1e842b0453fb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-12T02:07:45.168Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-12T02:07:46.955Z] + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:07:47.280Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:07:47.876Z] ---> package-listing.sh [2021-11-12T02:07:47.876Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-12T02:07:47.876Z] ++ facter osfamily [2021-11-12T02:07:47.876Z] + OS_FAMILY=redhat [2021-11-12T02:07:47.876Z] + workspace=/w/workspace/edgex-go/1 [2021-11-12T02:07:47.876Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-12T02:07:47.876Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-12T02:07:47.876Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-12T02:07:47.876Z] + PACKAGES=/tmp/packages_start.txt [2021-11-12T02:07:47.876Z] + '[' /w/workspace/edgex-go/1 ']' [2021-11-12T02:07:47.876Z] + PACKAGES=/tmp/packages_end.txt [2021-11-12T02:07:47.876Z] + case "${OS_FAMILY}" in [2021-11-12T02:07:47.876Z] + sort [2021-11-12T02:07:47.876Z] + rpm -qa [2021-11-12T02:07:48.815Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-12T02:07:48.815Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-12T02:07:48.815Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-12T02:07:48.815Z] + '[' /w/workspace/edgex-go/1 ']' [2021-11-12T02:07:48.815Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-11-12T02:07:48.815Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-11-12T02:07:48.844Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-12T02:07:49.141Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-12T02:07:49.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T02:07:49.723Z] [2021-11-12T02:07:49.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T02:07:50.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T02:07:50.060Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-12T02:07:50.060Z] b4d181a07f80: Pulling fs layer [2021-11-12T02:07:50.060Z] a1111a8f2ec3: Pulling fs layer [2021-11-12T02:07:50.060Z] ed53099fbce6: Pulling fs layer [2021-11-12T02:07:50.060Z] dc539afda2c1: Pulling fs layer [2021-11-12T02:07:50.060Z] 77bc0d833cb6: Pulling fs layer [2021-11-12T02:07:50.060Z] 9065ff56babe: Pulling fs layer [2021-11-12T02:07:50.060Z] d287ab97295c: Pulling fs layer [2021-11-12T02:07:50.060Z] 77bc0d833cb6: Waiting [2021-11-12T02:07:50.060Z] 9065ff56babe: Waiting [2021-11-12T02:07:50.060Z] d287ab97295c: Waiting [2021-11-12T02:07:50.060Z] dc539afda2c1: Waiting [2021-11-12T02:07:50.060Z] a1111a8f2ec3: Verifying Checksum [2021-11-12T02:07:50.060Z] a1111a8f2ec3: Download complete [2021-11-12T02:07:50.060Z] dc539afda2c1: Verifying Checksum [2021-11-12T02:07:50.060Z] dc539afda2c1: Download complete [2021-11-12T02:07:50.060Z] 77bc0d833cb6: Verifying Checksum [2021-11-12T02:07:50.060Z] 77bc0d833cb6: Download complete [2021-11-12T02:07:50.060Z] ed53099fbce6: Verifying Checksum [2021-11-12T02:07:50.060Z] ed53099fbce6: Download complete [2021-11-12T02:07:50.060Z] 9065ff56babe: Verifying Checksum [2021-11-12T02:07:50.060Z] 9065ff56babe: Download complete [2021-11-12T02:07:50.333Z] b4d181a07f80: Verifying Checksum [2021-11-12T02:07:50.333Z] b4d181a07f80: Download complete [2021-11-12T02:07:50.931Z] d287ab97295c: Verifying Checksum [2021-11-12T02:07:50.931Z] d287ab97295c: Download complete [2021-11-12T02:07:51.518Z] b4d181a07f80: Pull complete [2021-11-12T02:07:51.783Z] a1111a8f2ec3: Pull complete [2021-11-12T02:07:52.356Z] ed53099fbce6: Pull complete [2021-11-12T02:07:52.356Z] dc539afda2c1: Pull complete [2021-11-12T02:07:52.616Z] 77bc0d833cb6: Pull complete [2021-11-12T02:07:52.886Z] 9065ff56babe: Pull complete [2021-11-12T02:07:58.210Z] d287ab97295c: Pull complete [2021-11-12T02:07:58.210Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-12T02:07:58.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T02:07:58.210Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-12T02:07:58.303Z] prd-centos7-docker-4c-2g-287 does not seem to be running inside a container [2021-11-12T02:07:58.529Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-12T02:08:00.899Z] $ docker top ca1475456ea21dcd04118c1322ff906979a65abdef876171de7253ccebc670d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T02:08:01.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-12T02:08:01.697Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-12T02:08:02.010Z] + ls /var/log/sa-host [2021-11-12T02:08:02.010Z] + sadf -c /var/log/sa-host/sa12 [2021-11-12T02:08:02.010Z] file_magic: OK [2021-11-12T02:08:02.010Z] HZ: Using current value: 100 [2021-11-12T02:08:02.010Z] file_header: OK [2021-11-12T02:08:02.010Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-12T02:08:02.010Z] Statistics: [2021-11-12T02:08:02.010Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T02:08:02.010Z] File successfully converted to sysstat format version 12.0.3 [2021-11-12T02:08:02.010Z] + sadf -c /var/log/sa-host/sa30 [2021-11-12T02:08:02.010Z] file_magic: OK [2021-11-12T02:08:02.010Z] HZ: Using current value: 100 [2021-11-12T02:08:02.010Z] file_header: OK [2021-11-12T02:08:02.010Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-12T02:08:02.010Z] Statistics: [2021-11-12T02:08:02.010Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T02:08:02.010Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T02:08:02.304Z] provisioning config files... [2021-11-12T02:08:02.317Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2771495538183628966tmp [Pipeline] { [Pipeline] echo [2021-11-12T02:08:02.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:08:02.668Z] ---> create-netrc.sh [Pipeline] } [2021-11-12T02:08:02.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:08:03.088Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-12T02:08:03.110Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:08:03.419Z] ---> sudo-logs.sh [2021-11-12T02:08:03.420Z] Archiving 'sudo' log.. [2021-11-12T02:08:03.420Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-287.novalocal: Name or service not known [2021-11-12T02:08:03.420Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-287.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-12T02:08:03.488Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:08:03.835Z] ---> job-cost.sh [2021-11-12T02:08:03.835Z] lf-activate-venv: SKIPPING [2021-11-12T02:08:03.835Z] DEBUG: total: 0.10999999940395355 [2021-11-12T02:08:03.835Z] INFO: Retrieving Stack Cost... [2021-11-12T02:08:04.095Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-12T02:08:04.669Z] INFO: Archiving Costs [Pipeline] echo [2021-11-12T02:08:04.696Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T02:08:05.016Z] ---> logs-deploy.sh [2021-11-12T02:08:05.016Z] lf-activate-venv: SKIPPING [2021-11-12T02:08:05.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3813/1 [2021-11-12T02:08:05.016Z] INFO: archiving workspace using pattern(s): [2021-11-12T02:08:05.586Z] Archives upload complete. [2021-11-12T02:08:05.847Z] INFO: archiving logs to Nexus