Pull request #3742 updated 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 weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at 607227328259ecd44c116bffe7eac8d5ffeb6de4 rather than db3e3a7f84e48aff441fbc2507b15175d93525e6 Obtained Jenkinsfile from 607227328259ecd44c116bffe7eac8d5ffeb6de4 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-ssh2519079660717078786.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh1318990977348979301.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3742/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3742/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9179147037421026251.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7008485175875979493.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-3742/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-3742/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7801994264182591914.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 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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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-1414 in /w/workspace/edgexfoundry_edgex-go_PR-3742 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh5929757386757005005.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/2@tmp/jenkins-gitclient-ssh1817473471676859728.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3742/head:refs/remotes/origin/PR-3742 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 607227328259ecd44c116bffe7eac8d5ffeb6de4 into PR head commit db3e3a7f84e48aff441fbc2507b15175d93525e6 Merge succeeded, producing db3e3a7f84e48aff441fbc2507b15175d93525e6 Checking out Revision db3e3a7f84e48aff441fbc2507b15175d93525e6 (PR-3742) > git config core.sparsecheckout # timeout=10 > git checkout -f db3e3a7f84e48aff441fbc2507b15175d93525e6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh8426077934642904441.key > git merge 607227328259ecd44c116bffe7eac8d5ffeb6de4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db3e3a7f84e48aff441fbc2507b15175d93525e6 # timeout=10 Commit message: "Merge branch 'main' into issue-3679" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-04T23:28:06.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-04T23:28:06.384Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-04T23:28:06.496Z] ========================================================= [2021-10-04T23:28:06.496Z] EdgeX Global Pipelines Version Info [2021-10-04T23:28:06.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:28:07.934Z] ------------------- [2021-10-04T23:28:07.934Z] stable info: [2021-10-04T23:28:07.934Z] ------------------- [2021-10-04T23:28:07.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T23:28:07.934Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T23:28:07.934Z] Message: update stable to v1.0.206 [2021-10-04T23:28:08.521Z] ------------------- [2021-10-04T23:28:08.521Z] experimental info: [2021-10-04T23:28:08.521Z] ------------------- [2021-10-04T23:28:08.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T23:28:08.522Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T23:28:08.522Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-04T23:28:08.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-10-04T23:28:08.821Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-10-04T23:28:08.880Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-04T23:28:08.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-04T23:28:08.999Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-04T23:28:09.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-04T23:28:09.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-04T23:28:09.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-10-04T23:28:09.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-10-04T23:28:09.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-10-04T23:28:09.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-04T23:28:09.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-04T23:28:09.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-04T23:28:09.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-04T23:28:09.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-04T23:28:09.674Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-04T23:28:09.733Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-04T23:28:09.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-04T23:28:09.844Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-04T23:28:09.906Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-04T23:28:09.965Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-04T23:28:10.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-04T23:28:10.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-04T23:28:10.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3742 [Pipeline] echo [2021-10-04T23:28:10.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3742 [Pipeline] echo [2021-10-04T23:28:10.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3742 [Pipeline] echo [2021-10-04T23:28:10.340Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db3e3a7f84e48aff441fbc2507b15175d93525e6 [Pipeline] echo [2021-10-04T23:28:10.394Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db3e3a7 [Pipeline] echo [2021-10-04T23:28:10.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T23:28:10.643Z] provisioning config files... [2021-10-04T23:28:10.666Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3908953954245742114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:28:11.057Z] ---> docker-login.sh [2021-10-04T23:28:11.057Z] nexus3.edgexfoundry.org:10001 [2021-10-04T23:28:11.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:28:11.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:28:11.328Z] Configure a credential helper to remove this warning. See [2021-10-04T23:28:11.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:28:11.329Z] [2021-10-04T23:28:11.329Z] Login Succeeded [2021-10-04T23:28:11.329Z] nexus3.edgexfoundry.org:10002 [2021-10-04T23:28:11.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:28:11.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:28:11.596Z] Configure a credential helper to remove this warning. See [2021-10-04T23:28:11.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:28:11.596Z] [2021-10-04T23:28:11.596Z] Login Succeeded [2021-10-04T23:28:11.596Z] nexus3.edgexfoundry.org:10003 [2021-10-04T23:28:11.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:28:11.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:28:11.597Z] Configure a credential helper to remove this warning. See [2021-10-04T23:28:11.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:28:11.597Z] [2021-10-04T23:28:11.597Z] Login Succeeded [2021-10-04T23:28:11.597Z] nexus3.edgexfoundry.org:10004 [2021-10-04T23:28:11.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:28:11.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:28:11.865Z] Configure a credential helper to remove this warning. See [2021-10-04T23:28:11.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:28:11.865Z] [2021-10-04T23:28:11.865Z] Login Succeeded [2021-10-04T23:28:11.865Z] docker.io [2021-10-04T23:28:11.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:28:12.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:28:12.134Z] Configure a credential helper to remove this warning. See [2021-10-04T23:28:12.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:28:12.134Z] [2021-10-04T23:28:12.134Z] Login Succeeded [2021-10-04T23:28:12.134Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T23:28:12.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-04T23:28:12.611Z] ++ 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-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] ++ dirname cmd/core-command/Dockerfile [2021-10-04T23:28:12.611Z] + echo core-command,cmd/core-command/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/core-data/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] + echo core-data,cmd/core-data/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/core-metadata/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/support-notifications/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.611Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-10-04T23:28:12.611Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.611Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-10-04T23:28:12.611Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.612Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-10-04T23:28:12.612Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-04T23:28:12.612Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-10-04T23:28:12.612Z] ++ cut -d/ -f2 [2021-10-04T23:28:12.612Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-10-04T23:28:12.699Z] 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] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:28:14.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T23:28:14.236Z] [2021-10-04T23:28:14.236Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:28:14.608Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T23:28:14.608Z] latest: Pulling from edgex-devops/git-semver [2021-10-04T23:28:14.608Z] 31603596830f: Pulling fs layer [2021-10-04T23:28:14.608Z] 04fac38145f0: Pulling fs layer [2021-10-04T23:28:14.608Z] 701f6daf10bf: Pulling fs layer [2021-10-04T23:28:14.608Z] 24f72da36158: Pulling fs layer [2021-10-04T23:28:14.608Z] 24f72da36158: Waiting [2021-10-04T23:28:14.608Z] 04fac38145f0: Download complete [2021-10-04T23:28:14.893Z] 31603596830f: Verifying Checksum [2021-10-04T23:28:14.893Z] 31603596830f: Download complete [2021-10-04T23:28:14.893Z] 24f72da36158: Verifying Checksum [2021-10-04T23:28:14.893Z] 24f72da36158: Download complete [2021-10-04T23:28:14.893Z] 701f6daf10bf: Verifying Checksum [2021-10-04T23:28:14.893Z] 701f6daf10bf: Download complete [2021-10-04T23:28:14.893Z] 31603596830f: Pull complete [2021-10-04T23:28:15.163Z] 04fac38145f0: Pull complete [2021-10-04T23:28:15.769Z] 701f6daf10bf: Pull complete [2021-10-04T23:28:15.769Z] 24f72da36158: Pull complete [2021-10-04T23:28:15.769Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-04T23:28:15.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T23:28:15.769Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-04T23:28:15.887Z] prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container [2021-10-04T23:28:15.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-04T23:28:16.881Z] $ docker top af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-04T23:28:17.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T23:28:17.105Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T23:28:17.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T23:28:17.238Z] $ docker exec af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 ssh-agent [2021-10-04T23:28:17.349Z] SSH_AUTH_SOCK=/tmp/ssh-QbcCmLSC38iG/agent.15 [2021-10-04T23:28:17.349Z] SSH_AGENT_PID=22 [2021-10-04T23:28:17.362Z] Running ssh-add (command line suppressed) [2021-10-04T23:28:17.480Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2662763767562508035.key (/w/workspace/edgex-go/2@tmp/private_key_2662763767562508035.key) [2021-10-04T23:28:17.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T23:28:17.865Z] + git tag --points-at HEAD [Pipeline] } [2021-10-04T23:28:17.904Z] $ docker exec --env ******** --env ******** af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 ssh-agent -k [2021-10-04T23:28:18.008Z] unset SSH_AUTH_SOCK; [2021-10-04T23:28:18.009Z] unset SSH_AGENT_PID; [2021-10-04T23:28:18.009Z] echo Agent pid 22 killed; [2021-10-04T23:28:18.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-04T23:28:18.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T23:28:18.120Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T23:28:18.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T23:28:18.237Z] $ docker exec af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 ssh-agent [2021-10-04T23:28:18.349Z] SSH_AUTH_SOCK=/tmp/ssh-bfYxmr5TnICf/agent.56 [2021-10-04T23:28:18.349Z] SSH_AGENT_PID=62 [2021-10-04T23:28:18.361Z] Running ssh-add (command line suppressed) [2021-10-04T23:28:18.458Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_3642990943541030845.key (/w/workspace/edgex-go/2@tmp/private_key_3642990943541030845.key) [2021-10-04T23:28:18.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T23:28:18.856Z] + git semver init [2021-10-04T23:28:18.856Z] # -> Open(): unable to determine branch for HEAD [2021-10-04T23:28:18.856Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-10-04T23:28:18.856Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-10-04T23:28:18.856Z] # $SEMVER_REMOTE_NAME = origin [2021-10-04T23:28:18.856Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-04T23:28:18.856Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-04T23:28:18.856Z] # $SEMVER_BRANCH = PR-3742 [2021-10-04T23:28:18.856Z] # $SEMVER_TEMP = /tmp/semver-739118273 [2021-10-04T23:28:18.856Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-10-04T23:28:31.206Z] # '/tmp/semver-739118273' -> '/w/workspace/edgex-go/2/.semver' [2021-10-04T23:28:31.206Z] # -> Force: false [2021-10-04T23:28:31.206Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-10-04T23:28:31.247Z] $ docker exec --env ******** --env ******** af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 ssh-agent -k [2021-10-04T23:28:31.349Z] unset SSH_AUTH_SOCK; [2021-10-04T23:28:31.350Z] unset SSH_AGENT_PID; [2021-10-04T23:28:31.350Z] echo Agent pid 62 killed; [2021-10-04T23:28:31.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-04T23:28:31.821Z] + git semver [Pipeline] } [2021-10-04T23:28:31.855Z] $ docker stop --time=1 af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 [2021-10-04T23:28:33.995Z] $ docker rm -f af5c78001e11f6f01c059b489d708a37eec9f795015612fd3dbaec4801b31145 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T23:28:34.474Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-04T23:28:34.900Z] Stashed 1 file(s) [Pipeline] echo [2021-10-04T23:28:34.925Z] [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-10-04T23:28:35.680Z] ========================================================= [2021-10-04T23:28:35.680Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-04T23:28:35.680Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-04T23:28:36.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T23:28:36.066Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-04T23:28:36.066Z] 540db60ca938: Pulling fs layer [2021-10-04T23:28:36.066Z] adcc1eea9eea: Pulling fs layer [2021-10-04T23:28:36.066Z] 4c4ab2625f07: Pulling fs layer [2021-10-04T23:28:36.066Z] db62176df00c: Pulling fs layer [2021-10-04T23:28:36.066Z] 3b30891b0d05: Pulling fs layer [2021-10-04T23:28:36.066Z] 06b49ca38bd5: Pulling fs layer [2021-10-04T23:28:36.066Z] c788192a36de: Pulling fs layer [2021-10-04T23:28:36.066Z] a77e37c0d609: Pulling fs layer [2021-10-04T23:28:36.066Z] c3185cebc471: Pulling fs layer [2021-10-04T23:28:36.066Z] db62176df00c: Waiting [2021-10-04T23:28:36.066Z] 3b30891b0d05: Waiting [2021-10-04T23:28:36.066Z] 06b49ca38bd5: Waiting [2021-10-04T23:28:36.066Z] c788192a36de: Waiting [2021-10-04T23:28:36.066Z] a77e37c0d609: Waiting [2021-10-04T23:28:36.066Z] c3185cebc471: Waiting [2021-10-04T23:28:36.066Z] 4c4ab2625f07: Verifying Checksum [2021-10-04T23:28:36.066Z] 4c4ab2625f07: Download complete [2021-10-04T23:28:36.066Z] adcc1eea9eea: Download complete [2021-10-04T23:28:36.066Z] 3b30891b0d05: Verifying Checksum [2021-10-04T23:28:36.066Z] 3b30891b0d05: Download complete [2021-10-04T23:28:36.066Z] 06b49ca38bd5: Verifying Checksum [2021-10-04T23:28:36.066Z] 06b49ca38bd5: Download complete [2021-10-04T23:28:36.339Z] c788192a36de: Verifying Checksum [2021-10-04T23:28:36.339Z] c788192a36de: Download complete [2021-10-04T23:28:36.339Z] 540db60ca938: Verifying Checksum [2021-10-04T23:28:36.339Z] 540db60ca938: Download complete [2021-10-04T23:28:36.339Z] 540db60ca938: Pull complete [2021-10-04T23:28:36.609Z] adcc1eea9eea: Pull complete [2021-10-04T23:28:36.609Z] 4c4ab2625f07: Pull complete [2021-10-04T23:28:36.876Z] a77e37c0d609: Verifying Checksum [2021-10-04T23:28:36.876Z] a77e37c0d609: Download complete [2021-10-04T23:28:38.829Z] db62176df00c: Verifying Checksum [2021-10-04T23:28:38.829Z] db62176df00c: Download complete [2021-10-04T23:28:38.829Z] c3185cebc471: Verifying Checksum [2021-10-04T23:28:38.829Z] c3185cebc471: Download complete [2021-10-04T23:28:43.095Z] db62176df00c: Pull complete [2021-10-04T23:28:43.095Z] 3b30891b0d05: Pull complete [2021-10-04T23:28:43.095Z] 06b49ca38bd5: Pull complete [2021-10-04T23:28:43.095Z] c788192a36de: Pull complete [2021-10-04T23:28:43.095Z] a77e37c0d609: Pull complete [2021-10-04T23:28:45.051Z] c3185cebc471: Pull complete [2021-10-04T23:28:45.052Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-04T23:28:45.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T23:28:45.052Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-10-04T23:28:45.447Z] + docker build -t ci-base-image-x86_64 -f - . [2021-10-04T23:28:45.447Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T23:28:45.447Z] WORKDIR /edgex [2021-10-04T23:28:45.447Z] COPY go.mod . [2021-10-04T23:28:45.447Z] RUN go mod download' [2021-10-04T23:28:46.926Z] Sending build context to Docker daemon 329.2MB [2021-10-04T23:28:46.926Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T23:28:46.926Z] ---> 031687cdd783 [2021-10-04T23:28:46.926Z] Step 2/4 : WORKDIR /edgex [2021-10-04T23:28:48.882Z] ---> Running in 2305dc5beb44 [2021-10-04T23:28:48.882Z] Removing intermediate container 2305dc5beb44 [2021-10-04T23:28:48.882Z] ---> d96af32b93ae [2021-10-04T23:28:48.882Z] Step 3/4 : COPY go.mod . [2021-10-04T23:28:48.882Z] ---> 7170e1a59ded [2021-10-04T23:28:48.882Z] Step 4/4 : RUN go mod download [2021-10-04T23:28:48.882Z] ---> Running in 797b57de89ac [2021-10-04T23:28:50.446Z] Still waiting to schedule task [2021-10-04T23:28:50.447Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-04T23:29:27.939Z] Removing intermediate container 797b57de89ac [2021-10-04T23:29:27.939Z] ---> e4666eb2b839 [2021-10-04T23:29:27.939Z] Successfully built e4666eb2b839 [2021-10-04T23:29:27.939Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:29:28.308Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-04T23:29:28.309Z] . [Pipeline] withDockerContainer [2021-10-04T23:29:28.437Z] prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container [2021-10-04T23:29:28.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-04T23:29:28.887Z] $ docker top 39dad260793cce18a3e5afbcc13c0167ef109d570342849a5d79cceb19336218 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T23:29:29.339Z] + go version [2021-10-04T23:29:29.340Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-04T23:29:29.373Z] $ docker stop --time=1 39dad260793cce18a3e5afbcc13c0167ef109d570342849a5d79cceb19336218 [2021-10-04T23:29:30.562Z] $ docker rm -f 39dad260793cce18a3e5afbcc13c0167ef109d570342849a5d79cceb19336218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:29:31.401Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-04T23:29:31.401Z] . [Pipeline] withDockerContainer [2021-10-04T23:29:31.516Z] prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container [2021-10-04T23:29:31.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-04T23:29:31.923Z] $ docker top 04127f32434261ac88d074d95615b35d6fdb8d7fb81d4ba29709eeb8ef512f68 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-04T23:29:32.104Z] ========================================================= [2021-10-04T23:29:32.104Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-10-04T23:29:32.104Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-04T23:29:32.486Z] + go mod tidy [Pipeline] sh [2021-10-04T23:29:33.090Z] + make test [2021-10-04T23:29:33.090Z] go mod tidy [2021-10-04T23:29:33.090Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-04T23:29:38.477Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-10-04T23:29:56.775Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-10-04T23:29:59.389Z] # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [2021-10-04T23:29:59.389Z] internal/pkg/infrastructure/redis/reading.go:116:7: undefined: models.ObjectReading [2021-10-04T23:29:59.389Z] internal/pkg/infrastructure/redis/reading.go:271:32: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ValueTypeObject [2021-10-04T23:29:59.389Z] internal/pkg/infrastructure/redis/reading.go:272:22: undefined: models.ObjectReading [2021-10-04T23:30:06.088Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.045s coverage: 28.7% of statements [2021-10-04T23:30:06.688Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.048s coverage: 98.5% of statements [2021-10-04T23:30:07.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.046s coverage: 46.3% of statements [2021-10-04T23:30:08.274Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.121s coverage: 90.1% of statements [2021-10-04T23:30:09.260Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.061s coverage: 84.4% of statements [2021-10-04T23:30:09.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.279s coverage: 94.2% of statements [2021-10-04T23:30:09.860Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.058s coverage: 59.1% of statements [2021-10-04T23:30:09.860Z] # github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis.test] [2021-10-04T23:30:09.860Z] internal/pkg/infrastructure/redis/reading.go:116: undefined: models.ObjectReading [2021-10-04T23:30:09.860Z] internal/pkg/infrastructure/redis/reading.go:271: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ValueTypeObject [2021-10-04T23:30:09.860Z] internal/pkg/infrastructure/redis/reading.go:272: undefined: models.ObjectReading [2021-10-04T23:30:09.860Z] internal/pkg/infrastructure/redis/reading_test.go:54:26: undefined: models.ObjectReading [2021-10-04T23:30:09.860Z] internal/pkg/infrastructure/redis/reading_test.go:55:9: undefined: models.ObjectReading [2021-10-04T23:30:10.132Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.045s coverage: 60.0% of statements [2021-10-04T23:30:10.132Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis [build failed] [2021-10-04T23:30:10.398Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.045s coverage: 58.8% of statements [2021-10-04T23:30:10.666Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.041s coverage: 21.7% of statements [2021-10-04T23:30:10.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.055s coverage: 47.1% of statements [2021-10-04T23:30:12.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.053s coverage: 79.5% of statements [2021-10-04T23:30:12.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.052s coverage: 94.1% of statements [2021-10-04T23:30:12.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.114s coverage: 96.3% of statements [2021-10-04T23:30:12.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.041s coverage: 87.5% of statements [2021-10-04T23:30:24.698Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.059s coverage: 94.4% of statements [2021-10-04T23:30:24.698Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.051s coverage: 44.8% of statements [2021-10-04T23:30:28.953Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.192s coverage: 82.5% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.069s coverage: 92.9% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.027s coverage: 65.1% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.063s coverage: 87.2% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s coverage: 58.8% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.053s coverage: 87.2% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.064s coverage: 85.4% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.136s coverage: 91.2% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.136s coverage: 64.4% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.053s coverage: 100.0% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2021-10-04T23:30:47.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements [2021-10-04T23:30:47.453Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.250s coverage: 70.4% of statements [2021-10-04T23:30:48.428Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.125s coverage: 43.4% of statements [2021-10-04T23:30:48.428Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements [2021-10-04T23:30:48.704Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.074s coverage: 19.5% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.119s coverage: 92.0% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 63.2% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.089s coverage: 97.7% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements [2021-10-04T23:30:55.362Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.029s coverage: 96.9% of statements [2021-10-04T23:30:55.630Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2021-10-04T23:30:55.672Z] $ docker stop --time=1 04127f32434261ac88d074d95615b35d6fdb8d7fb81d4ba29709eeb8ef512f68 [2021-10-04T23:30:57.065Z] $ docker rm -f 04127f32434261ac88d074d95615b35d6fdb8d7fb81d4ba29709eeb8ef512f68 [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-10-04T23:30:58.520Z] Failed in branch amd64 [2021-10-04T23:32:55.720Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1416 in /w/workspace/edgexfoundry_edgex-go_PR-3742 [Pipeline] { [Pipeline] ws [2021-10-04T23:32:55.781Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-10-04T23:32:56.074Z] The recommended git tool is: git [2021-10-04T23:33:02.309Z] using credential edgex-jenkins-ssh [2021-10-04T23:33:02.330Z] Cloning the remote Git repository [2021-10-04T23:33:02.385Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-10-04T23:33:02.507Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-10-04T23:33:02.586Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-10-04T23:33:02.587Z] > git --version # timeout=10 [2021-10-04T23:33:02.607Z] > git --version # 'git version 2.17.1' [2021-10-04T23:33:02.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T23:33:02.709Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T23:33:20.065Z] Merging remotes/origin/main commit 607227328259ecd44c116bffe7eac8d5ffeb6de4 into PR head commit db3e3a7f84e48aff441fbc2507b15175d93525e6 [2021-10-04T23:33:20.425Z] Merge succeeded, producing db3e3a7f84e48aff441fbc2507b15175d93525e6 [2021-10-04T23:33:20.426Z] Checking out Revision db3e3a7f84e48aff441fbc2507b15175d93525e6 (PR-3742) [2021-10-04T23:33:19.080Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-10-04T23:33:19.095Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T23:33:19.125Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-10-04T23:33:19.165Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-10-04T23:33:19.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T23:33:19.187Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3742/head:refs/remotes/origin/PR-3742 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-04T23:33:20.091Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T23:33:20.104Z] > git checkout -f db3e3a7f84e48aff441fbc2507b15175d93525e6 # timeout=10 [2021-10-04T23:33:20.333Z] > git remote # timeout=10 [2021-10-04T23:33:20.356Z] > git config --get remote.origin.url # timeout=10 [2021-10-04T23:33:20.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T23:33:20.379Z] > git merge 607227328259ecd44c116bffe7eac8d5ffeb6de4 # timeout=10 [2021-10-04T23:33:20.406Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-04T23:33:20.435Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T23:33:20.447Z] > git checkout -f db3e3a7f84e48aff441fbc2507b15175d93525e6 # timeout=10 [2021-10-04T23:33:25.531Z] Commit message: "Merge branch 'main' into issue-3679" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T23:33:26.403Z] provisioning config files... [2021-10-04T23:33:26.442Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2253229031585496134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:33:27.139Z] ---> docker-login.sh [2021-10-04T23:33:27.139Z] nexus3.edgexfoundry.org:10001 [2021-10-04T23:33:28.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:33:29.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:33:29.648Z] Configure a credential helper to remove this warning. See [2021-10-04T23:33:29.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:33:29.648Z] [2021-10-04T23:33:29.648Z] Login Succeeded [2021-10-04T23:33:29.648Z] nexus3.edgexfoundry.org:10002 [2021-10-04T23:33:29.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:33:29.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:33:29.943Z] Configure a credential helper to remove this warning. See [2021-10-04T23:33:29.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:33:29.943Z] [2021-10-04T23:33:29.943Z] Login Succeeded [2021-10-04T23:33:29.943Z] nexus3.edgexfoundry.org:10003 [2021-10-04T23:33:30.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:33:30.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:33:30.575Z] Configure a credential helper to remove this warning. See [2021-10-04T23:33:30.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:33:30.575Z] [2021-10-04T23:33:30.575Z] Login Succeeded [2021-10-04T23:33:30.575Z] nexus3.edgexfoundry.org:10004 [2021-10-04T23:33:31.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:33:31.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:33:31.195Z] Configure a credential helper to remove this warning. See [2021-10-04T23:33:31.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:33:31.195Z] [2021-10-04T23:33:31.195Z] Login Succeeded [2021-10-04T23:33:31.195Z] docker.io [2021-10-04T23:33:31.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-04T23:33:32.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-04T23:33:32.109Z] Configure a credential helper to remove this warning. See [2021-10-04T23:33:32.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-04T23:33:32.109Z] [2021-10-04T23:33:32.109Z] Login Succeeded [2021-10-04T23:33:32.109Z] ---> docker-login.sh ends [Pipeline] } [2021-10-04T23:33:32.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-04T23:33:32.968Z] ========================================================= [2021-10-04T23:33:32.968Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-04T23:33:32.968Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-04T23:33:33.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-04T23:33:43.754Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10003/v2/: net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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-10-04T23:33:45.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T23:33:45.149Z] [2021-10-04T23:33:45.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:33:45.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T23:33:45.923Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-04T23:33:45.923Z] 448f6bf000e3: Pulling fs layer [2021-10-04T23:33:45.923Z] f757da607395: Pulling fs layer [2021-10-04T23:33:45.923Z] 05883995daec: Pulling fs layer [2021-10-04T23:33:45.923Z] 8603b9c90790: Pulling fs layer [2021-10-04T23:33:45.923Z] 1560dd03e051: Pulling fs layer [2021-10-04T23:33:45.923Z] 27f5ce0e4adf: Pulling fs layer [2021-10-04T23:33:45.923Z] c2d8d7efcc4b: Pulling fs layer [2021-10-04T23:33:45.923Z] 1560dd03e051: Waiting [2021-10-04T23:33:45.923Z] 27f5ce0e4adf: Waiting [2021-10-04T23:33:45.923Z] c2d8d7efcc4b: Waiting [2021-10-04T23:33:45.923Z] 8603b9c90790: Waiting [2021-10-04T23:33:46.212Z] f757da607395: Verifying Checksum [2021-10-04T23:33:46.212Z] f757da607395: Download complete [2021-10-04T23:33:46.212Z] 8603b9c90790: Download complete [2021-10-04T23:33:46.510Z] 1560dd03e051: Verifying Checksum [2021-10-04T23:33:46.510Z] 1560dd03e051: Download complete [2021-10-04T23:33:46.510Z] 05883995daec: Verifying Checksum [2021-10-04T23:33:46.510Z] 05883995daec: Download complete [2021-10-04T23:33:46.510Z] 27f5ce0e4adf: Verifying Checksum [2021-10-04T23:33:46.510Z] 27f5ce0e4adf: Download complete [2021-10-04T23:33:47.538Z] 448f6bf000e3: Download complete [2021-10-04T23:33:49.655Z] c2d8d7efcc4b: Verifying Checksum [2021-10-04T23:33:49.655Z] c2d8d7efcc4b: Download complete [2021-10-04T23:33:51.209Z] 448f6bf000e3: Pull complete [2021-10-04T23:33:51.867Z] f757da607395: Pull complete [2021-10-04T23:33:53.405Z] 05883995daec: Pull complete [2021-10-04T23:33:53.712Z] 8603b9c90790: Pull complete [2021-10-04T23:33:54.764Z] 1560dd03e051: Pull complete [2021-10-04T23:33:55.059Z] 27f5ce0e4adf: Pull complete [2021-10-04T23:34:10.796Z] c2d8d7efcc4b: Pull complete [2021-10-04T23:34:10.796Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-04T23:34:10.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T23:34:10.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-04T23:34:11.155Z] prd-ubuntu18.04-docker-arm64-4c-16g-1416 does not seem to be running inside a container [2021-10-04T23:34:11.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-04T23:34:18.049Z] $ docker top 76a4809764080c4b3e141db2fbcc0640a1b54de7ffd24de02bc975f23beaa154 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:19.418Z] ---> job-cost.sh [2021-10-04T23:34:19.418Z] lf-activate-venv: SKIPPING [2021-10-04T23:34:19.418Z] INFO: No Stack... [2021-10-04T23:34:19.703Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-04T23:34:20.319Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T23:34:21.077Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2021-10-04T23:34:21.077Z] + cut -d, -f6 [Pipeline] lock [2021-10-04T23:34:21.190Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3742-2-stack-cost] [2021-10-04T23:34:21.196Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3742-2-stack-cost] did not exist. Created. [2021-10-04T23:34:21.196Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3742-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T23:34:22.063Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-04T23:34:22.858Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T23:34:22.878Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3742-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T23:34:22.975Z] $ docker stop --time=1 76a4809764080c4b3e141db2fbcc0640a1b54de7ffd24de02bc975f23beaa154 [2021-10-04T23:34:24.650Z] $ docker rm -f 76a4809764080c4b3e141db2fbcc0640a1b54de7ffd24de02bc975f23beaa154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T23:34:25.506Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-04T23:34:29.969Z] + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:30.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:30.997Z] ---> package-listing.sh [2021-10-04T23:34:30.997Z] ++ facter osfamily [2021-10-04T23:34:30.997Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-04T23:34:31.264Z] + OS_FAMILY=redhat [2021-10-04T23:34:31.264Z] + workspace=/w/workspace/edgex-go/2 [2021-10-04T23:34:31.264Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-04T23:34:31.264Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-04T23:34:31.264Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-04T23:34:31.264Z] + PACKAGES=/tmp/packages_start.txt [2021-10-04T23:34:31.264Z] + '[' /w/workspace/edgex-go/2 ']' [2021-10-04T23:34:31.264Z] + PACKAGES=/tmp/packages_end.txt [2021-10-04T23:34:31.264Z] + case "${OS_FAMILY}" in [2021-10-04T23:34:31.264Z] + rpm -qa [2021-10-04T23:34:31.264Z] + sort [2021-10-04T23:34:31.850Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-04T23:34:31.850Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-04T23:34:31.850Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-04T23:34:31.850Z] + '[' /w/workspace/edgex-go/2 ']' [2021-10-04T23:34:31.850Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-10-04T23:34:31.850Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-10-04T23:34:31.891Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-04T23:34:32.220Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:34:32.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T23:34:32.859Z] [2021-10-04T23:34:32.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T23:34:33.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T23:34:33.237Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T23:34:33.237Z] b4d181a07f80: Pulling fs layer [2021-10-04T23:34:33.237Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T23:34:33.237Z] ed53099fbce6: Pulling fs layer [2021-10-04T23:34:33.237Z] dc539afda2c1: Pulling fs layer [2021-10-04T23:34:33.237Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T23:34:33.237Z] 9065ff56babe: Pulling fs layer [2021-10-04T23:34:33.237Z] d287ab97295c: Pulling fs layer [2021-10-04T23:34:33.237Z] dc539afda2c1: Waiting [2021-10-04T23:34:33.237Z] 77bc0d833cb6: Waiting [2021-10-04T23:34:33.237Z] 9065ff56babe: Waiting [2021-10-04T23:34:33.237Z] d287ab97295c: Waiting [2021-10-04T23:34:33.506Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T23:34:33.506Z] a1111a8f2ec3: Download complete [2021-10-04T23:34:33.506Z] dc539afda2c1: Verifying Checksum [2021-10-04T23:34:33.506Z] dc539afda2c1: Download complete [2021-10-04T23:34:33.506Z] ed53099fbce6: Verifying Checksum [2021-10-04T23:34:33.506Z] ed53099fbce6: Download complete [2021-10-04T23:34:33.506Z] 9065ff56babe: Verifying Checksum [2021-10-04T23:34:33.506Z] 9065ff56babe: Download complete [2021-10-04T23:34:33.776Z] b4d181a07f80: Verifying Checksum [2021-10-04T23:34:33.776Z] b4d181a07f80: Download complete [2021-10-04T23:34:33.776Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T23:34:33.776Z] 77bc0d833cb6: Download complete [2021-10-04T23:34:34.751Z] d287ab97295c: Verifying Checksum [2021-10-04T23:34:34.751Z] d287ab97295c: Download complete [2021-10-04T23:34:35.339Z] b4d181a07f80: Pull complete [2021-10-04T23:34:35.339Z] a1111a8f2ec3: Pull complete [2021-10-04T23:34:35.960Z] ed53099fbce6: Pull complete [2021-10-04T23:34:35.960Z] dc539afda2c1: Pull complete [2021-10-04T23:34:36.228Z] 77bc0d833cb6: Pull complete [2021-10-04T23:34:36.228Z] 9065ff56babe: Pull complete [2021-10-04T23:34:41.802Z] d287ab97295c: Pull complete [2021-10-04T23:34:41.802Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T23:34:41.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T23:34:41.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T23:34:41.913Z] prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container [2021-10-04T23:34:41.971Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-04T23:34:44.159Z] $ docker top 33b01034ac54d4cc6a3db7a2b9b6bcf5f2707992f4c4c9aab7ea1092596d9134 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T23:34:44.624Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-04T23:34:44.974Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-04T23:34:45.320Z] + ls /var/log/sa-host [2021-10-04T23:34:45.320Z] + sadf -c /var/log/sa-host/sa04 [2021-10-04T23:34:45.320Z] file_magic: OK [2021-10-04T23:34:45.320Z] HZ: Using current value: 100 [2021-10-04T23:34:45.320Z] file_header: OK [2021-10-04T23:34:45.320Z] 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-10-04T23:34:45.320Z] Statistics: [2021-10-04T23:34:45.320Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T23:34:45.320Z] File successfully converted to sysstat format version 12.0.3 [2021-10-04T23:34:45.320Z] + sadf -c /var/log/sa-host/sa30 [2021-10-04T23:34:45.320Z] file_magic: OK [2021-10-04T23:34:45.320Z] HZ: Using current value: 100 [2021-10-04T23:34:45.320Z] file_header: OK [2021-10-04T23:34:45.320Z] 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-10-04T23:34:45.320Z] Statistics: [2021-10-04T23:34:45.320Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T23:34:45.320Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T23:34:45.972Z] provisioning config files... [2021-10-04T23:34:45.988Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2822910846632901996tmp [Pipeline] { [Pipeline] echo [2021-10-04T23:34:46.053Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:46.410Z] ---> create-netrc.sh [Pipeline] } [2021-10-04T23:34:46.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:46.979Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-04T23:34:47.016Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:47.369Z] ---> sudo-logs.sh [2021-10-04T23:34:47.369Z] Archiving 'sudo' log.. [2021-10-04T23:34:47.369Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1414.novalocal: Name or service not known [2021-10-04T23:34:47.369Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1414.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-04T23:34:47.464Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:47.821Z] ---> job-cost.sh [2021-10-04T23:34:47.821Z] lf-activate-venv: SKIPPING [2021-10-04T23:34:47.821Z] DEBUG: total: 0.10999999940395355 [2021-10-04T23:34:47.821Z] INFO: Retrieving Stack Cost... [2021-10-04T23:34:48.087Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T23:34:48.668Z] INFO: Archiving Costs [Pipeline] echo [2021-10-04T23:34:48.720Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T23:34:49.089Z] ---> logs-deploy.sh [2021-10-04T23:34:49.089Z] lf-activate-venv: SKIPPING [2021-10-04T23:34:49.089Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3742/2 [2021-10-04T23:34:49.089Z] INFO: archiving workspace using pattern(s): [2021-10-04T23:34:49.672Z] Archives upload complete. [2021-10-04T23:34:49.938Z] INFO: archiving logs to Nexus