Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (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 e67b96f43125f529184b400ebdcefa80e8ea1f21 rather than f72980ee2e3b65de4e42a8ac343d76ba1da632ca Obtained Jenkinsfile from e67b96f43125f529184b400ebdcefa80e8ea1f21 Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5706816436511248076.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5105225732911791857.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 144eb70ba3d470a427e699408e811d3f535e987a 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-3577/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6135874325629259236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6098554052581431202.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3888864804470435082.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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_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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1973 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/7 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/7 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/7@tmp/jenkins-gitclient-ssh8065308249971241705.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e67b96f43125f529184b400ebdcefa80e8ea1f21 into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/7@tmp/jenkins-gitclient-ssh4759285491708160662.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 Merge succeeded, producing e9d228040b74e010b16b0309abe16a4db18f2f5a Checking out Revision e9d228040b74e010b16b0309abe16a4db18f2f5a (PR-3577) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/7@tmp/jenkins-gitclient-ssh8850285882151621063.key > git merge e67b96f43125f529184b400ebdcefa80e8ea1f21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9d228040b74e010b16b0309abe16a4db18f2f5a # timeout=10 Commit message: "Merge commit 'e67b96f43125f529184b400ebdcefa80e8ea1f21' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T00:31:55.969Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T00:31:56.065Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T00:31:56.093Z] ========================================================= [2021-07-07T00:31:56.093Z] EdgeX Global Pipelines Version Info [2021-07-07T00:31:56.093Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dde3a1eb3237ae223acf4a78b29e7aeecc5b4995 # timeout=10 [2021-07-07T00:31:57.621Z] ------------------- [2021-07-07T00:31:57.621Z] stable info: [2021-07-07T00:31:57.621Z] ------------------- [2021-07-07T00:31:57.621Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T00:31:57.621Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T00:31:57.621Z] Message: update stable to v1.0.196 [2021-07-07T00:31:58.196Z] ------------------- [2021-07-07T00:31:58.196Z] experimental info: [2021-07-07T00:31:58.196Z] ------------------- [2021-07-07T00:31:58.196Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T00:31:58.196Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T00:31:58.196Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T00:31:58.326Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-07-07T00:31:58.349Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-07-07T00:31:58.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T00:31:58.392Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T00:31:58.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T00:31:58.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T00:31:58.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T00:31:58.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-07-07T00:31:58.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-07-07T00:31:58.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-07-07T00:31:58.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T00:31:58.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T00:31:58.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T00:31:58.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T00:31:58.635Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-07T00:31:58.658Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-07T00:31:58.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T00:31:58.702Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T00:31:58.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-07T00:31:58.753Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-07T00:31:58.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-07T00:31:58.815Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T00:31:58.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3577 [Pipeline] echo [2021-07-07T00:31:58.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3577 [Pipeline] echo [2021-07-07T00:31:58.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3577 [Pipeline] echo [2021-07-07T00:31:58.918Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9d228040b74e010b16b0309abe16a4db18f2f5a [Pipeline] echo [2021-07-07T00:31:58.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9d2280 [Pipeline] echo [2021-07-07T00:31:58.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T00:31:59.054Z] provisioning config files... [2021-07-07T00:31:59.076Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config8541123801253603945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:31:59.402Z] ---> docker-login.sh [2021-07-07T00:31:59.402Z] nexus3.edgexfoundry.org:10001 [2021-07-07T00:31:59.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:32:00.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:32:00.256Z] Configure a credential helper to remove this warning. See [2021-07-07T00:32:00.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:32:00.256Z] [2021-07-07T00:32:00.256Z] Login Succeeded [2021-07-07T00:32:00.256Z] nexus3.edgexfoundry.org:10002 [2021-07-07T00:32:00.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:32:00.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:32:00.256Z] Configure a credential helper to remove this warning. See [2021-07-07T00:32:00.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:32:00.256Z] [2021-07-07T00:32:00.256Z] Login Succeeded [2021-07-07T00:32:00.256Z] nexus3.edgexfoundry.org:10003 [2021-07-07T00:32:00.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:32:00.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:32:00.526Z] Configure a credential helper to remove this warning. See [2021-07-07T00:32:00.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:32:00.526Z] [2021-07-07T00:32:00.526Z] Login Succeeded [2021-07-07T00:32:00.526Z] nexus3.edgexfoundry.org:10004 [2021-07-07T00:32:00.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:32:00.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:32:00.787Z] Configure a credential helper to remove this warning. See [2021-07-07T00:32:00.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:32:00.787Z] [2021-07-07T00:32:00.787Z] Login Succeeded [2021-07-07T00:32:00.787Z] docker.io [2021-07-07T00:32:00.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:32:01.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:32:01.057Z] Configure a credential helper to remove this warning. See [2021-07-07T00:32:01.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:32:01.057Z] [2021-07-07T00:32:01.057Z] Login Succeeded [2021-07-07T00:32:01.057Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T00:32:01.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T00:32:01.404Z] ++ 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-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/core-command/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo core-command,cmd/core-command/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/core-data/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo core-data,cmd/core-data/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] ++ dirname cmd/core-metadata/Dockerfile [2021-07-07T00:32:01.404Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/support-notifications/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-07-07T00:32:01.404Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-07T00:32:01.404Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-07-07T00:32:01.404Z] ++ cut -d/ -f2 [2021-07-07T00:32:01.404Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-07-07T00:32:01.451Z] 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-07-07T00:32:02.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T00:32:02.204Z] [2021-07-07T00:32:02.204Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:32:02.525Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T00:32:02.790Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T00:32:02.790Z] 31603596830f: Pulling fs layer [2021-07-07T00:32:02.790Z] b6dc333f4379: Pulling fs layer [2021-07-07T00:32:02.790Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T00:32:02.790Z] fd332fbdc1db: Pulling fs layer [2021-07-07T00:32:02.790Z] fd332fbdc1db: Waiting [2021-07-07T00:32:02.790Z] b6dc333f4379: Verifying Checksum [2021-07-07T00:32:02.790Z] b6dc333f4379: Download complete [2021-07-07T00:32:03.053Z] 31603596830f: Verifying Checksum [2021-07-07T00:32:03.053Z] 31603596830f: Download complete [2021-07-07T00:32:03.053Z] fd332fbdc1db: Verifying Checksum [2021-07-07T00:32:03.053Z] fd332fbdc1db: Download complete [2021-07-07T00:32:03.053Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T00:32:03.053Z] 3d9ef1400e77: Download complete [2021-07-07T00:32:03.626Z] 31603596830f: Pull complete [2021-07-07T00:32:03.893Z] b6dc333f4379: Pull complete [2021-07-07T00:32:05.285Z] 3d9ef1400e77: Pull complete [2021-07-07T00:32:05.545Z] fd332fbdc1db: Pull complete [2021-07-07T00:32:05.807Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T00:32:05.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T00:32:05.807Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T00:32:05.891Z] prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container [2021-07-07T00:32:05.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-07T00:32:09.370Z] $ docker top 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T00:32:09.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T00:32:09.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T00:32:09.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T00:32:09.659Z] $ docker exec 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 ssh-agent [2021-07-07T00:32:09.782Z] SSH_AUTH_SOCK=/tmp/ssh-aXKn2E8MFBY4/agent.15 [2021-07-07T00:32:09.782Z] SSH_AGENT_PID=21 [2021-07-07T00:32:09.793Z] Running ssh-add (command line suppressed) [2021-07-07T00:32:09.913Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_1241760213020823921.key (/w/workspace/edgex-go/7@tmp/private_key_1241760213020823921.key) [2021-07-07T00:32:09.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T00:32:10.239Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T00:32:10.253Z] $ docker exec --env ******** --env ******** 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 ssh-agent -k [2021-07-07T00:32:10.359Z] unset SSH_AUTH_SOCK; [2021-07-07T00:32:10.361Z] unset SSH_AGENT_PID; [2021-07-07T00:32:10.361Z] echo Agent pid 21 killed; [2021-07-07T00:32:10.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T00:32:10.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T00:32:10.424Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T00:32:10.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T00:32:10.550Z] $ docker exec 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 ssh-agent [2021-07-07T00:32:10.671Z] SSH_AUTH_SOCK=/tmp/ssh-OJjYqYHWbouN/agent.55 [2021-07-07T00:32:10.671Z] SSH_AGENT_PID=61 [2021-07-07T00:32:10.677Z] Running ssh-add (command line suppressed) [2021-07-07T00:32:10.774Z] Identity added: /w/workspace/edgex-go/7@tmp/private_key_8777071267944530322.key (/w/workspace/edgex-go/7@tmp/private_key_8777071267944530322.key) [2021-07-07T00:32:10.792Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T00:32:11.104Z] + git semver init [2021-07-07T00:32:11.104Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T00:32:11.104Z] # $GIT_DIR = /w/workspace/edgex-go/7/.git [2021-07-07T00:32:11.104Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/7 [2021-07-07T00:32:11.104Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T00:32:11.104Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T00:32:11.104Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T00:32:11.104Z] # $SEMVER_BRANCH = PR-3577 [2021-07-07T00:32:11.104Z] # $SEMVER_TEMP = /tmp/semver-968192959 [2021-07-07T00:32:11.104Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-07-07T00:32:37.749Z] # '/tmp/semver-968192959' -> '/w/workspace/edgex-go/7/.semver' [2021-07-07T00:32:37.749Z] # -> Force: false [2021-07-07T00:32:37.749Z] # $SEMVER_DIR = /w/workspace/edgex-go/7/.semver [Pipeline] } [2021-07-07T00:32:37.757Z] $ docker exec --env ******** --env ******** 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 ssh-agent -k [2021-07-07T00:32:37.862Z] unset SSH_AUTH_SOCK; [2021-07-07T00:32:37.862Z] unset SSH_AGENT_PID; [2021-07-07T00:32:37.862Z] echo Agent pid 61 killed; [2021-07-07T00:32:37.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T00:32:38.213Z] + git semver [Pipeline] } [2021-07-07T00:32:38.224Z] $ docker stop --time=1 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 [2021-07-07T00:32:40.582Z] $ docker rm -f 53fcbc6c44302b9af8d1a1d09630f0e0127d5a456af1a196a83d67c97371fb48 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T00:32:40.985Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T00:32:41.257Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T00:32:41.261Z] [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] sh [2021-07-07T00:32:41.868Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T00:32:42.184Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T00:32:42.484Z] + sudo service docker restart [2021-07-07T00:32:42.484Z] + true [2021-07-07T00:32:42.484Z] Redirecting to /bin/systemctl restart docker.service [2021-07-07T00:32:56.487Z] Still waiting to schedule task [2021-07-07T00:32:56.488Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2021-07-07T00:33:00.642Z] ========================================================= [2021-07-07T00:33:00.642Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T00:33:00.642Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:33:00.959Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-07T00:33:02.370Z] Sending build context to Docker daemon 328.3MB [2021-07-07T00:33:02.370Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T00:33:02.370Z] Step 2/6 : FROM ${BASE} [2021-07-07T00:33:02.646Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T00:33:02.646Z] 540db60ca938: Pulling fs layer [2021-07-07T00:33:02.646Z] adcc1eea9eea: Pulling fs layer [2021-07-07T00:33:02.646Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T00:33:02.646Z] 0510c868ecb4: Pulling fs layer [2021-07-07T00:33:02.646Z] afea3b2eda06: Pulling fs layer [2021-07-07T00:33:02.646Z] 7809a108b3ef: Pulling fs layer [2021-07-07T00:33:02.646Z] f706445af74f: Pulling fs layer [2021-07-07T00:33:02.646Z] 0510c868ecb4: Waiting [2021-07-07T00:33:02.646Z] afea3b2eda06: Waiting [2021-07-07T00:33:02.646Z] 7809a108b3ef: Waiting [2021-07-07T00:33:02.646Z] f706445af74f: Waiting [2021-07-07T00:33:02.646Z] 4c4ab2625f07: Verifying Checksum [2021-07-07T00:33:02.646Z] 4c4ab2625f07: Download complete [2021-07-07T00:33:02.646Z] adcc1eea9eea: Verifying Checksum [2021-07-07T00:33:02.646Z] adcc1eea9eea: Download complete [2021-07-07T00:33:02.646Z] 540db60ca938: Verifying Checksum [2021-07-07T00:33:02.646Z] 540db60ca938: Download complete [2021-07-07T00:33:02.646Z] afea3b2eda06: Verifying Checksum [2021-07-07T00:33:02.646Z] afea3b2eda06: Download complete [2021-07-07T00:33:02.646Z] 7809a108b3ef: Verifying Checksum [2021-07-07T00:33:02.646Z] 7809a108b3ef: Download complete [2021-07-07T00:33:02.918Z] 540db60ca938: Pull complete [2021-07-07T00:33:02.918Z] adcc1eea9eea: Pull complete [2021-07-07T00:33:03.192Z] 4c4ab2625f07: Pull complete [2021-07-07T00:33:03.764Z] f706445af74f: Verifying Checksum [2021-07-07T00:33:03.764Z] f706445af74f: Download complete [2021-07-07T00:33:04.335Z] 0510c868ecb4: Verifying Checksum [2021-07-07T00:33:04.335Z] 0510c868ecb4: Download complete [2021-07-07T00:33:07.669Z] 0510c868ecb4: Pull complete [2021-07-07T00:33:07.669Z] afea3b2eda06: Pull complete [2021-07-07T00:33:07.934Z] 7809a108b3ef: Pull complete [2021-07-07T00:33:12.160Z] f706445af74f: Pull complete [2021-07-07T00:33:12.160Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T00:33:12.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T00:33:12.160Z] ---> b068be0155e3 [2021-07-07T00:33:12.160Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-07-07T00:33:14.086Z] ---> Running in c47b33982ae4 [2021-07-07T00:33:14.086Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T00:33:15.032Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T00:33:15.295Z] (1/12) Installing libmagic (5.39-r0) [2021-07-07T00:33:15.867Z] (2/12) Installing file (5.39-r0) [2021-07-07T00:33:15.867Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-07T00:33:16.128Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-07T00:33:21.434Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-07T00:33:21.434Z] (6/12) Installing patch (2.7.6-r7) [2021-07-07T00:33:21.434Z] (7/12) Installing build-base (0.5-r2) [2021-07-07T00:33:21.434Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-07T00:33:21.434Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-07T00:33:21.434Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-07T00:33:21.434Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-07T00:33:21.434Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-07T00:33:21.434Z] Executing busybox-1.32.1-r6.trigger [2021-07-07T00:33:21.434Z] OK: 219 MiB in 52 packages [2021-07-07T00:33:23.350Z] Removing intermediate container c47b33982ae4 [2021-07-07T00:33:23.350Z] ---> d3e92a7c5d37 [2021-07-07T00:33:23.350Z] Step 4/6 : WORKDIR /edgex-go [2021-07-07T00:33:23.350Z] ---> Running in 9380513b01d6 [2021-07-07T00:33:23.350Z] Removing intermediate container 9380513b01d6 [2021-07-07T00:33:23.350Z] ---> 5b6dc3874eb1 [2021-07-07T00:33:23.350Z] Step 5/6 : COPY go.mod . [2021-07-07T00:33:23.350Z] ---> fac9e34723c0 [2021-07-07T00:33:23.350Z] Step 6/6 : RUN go mod download [2021-07-07T00:33:23.350Z] ---> Running in d229d651bcad [2021-07-07T00:33:35.624Z] Removing intermediate container d229d651bcad [2021-07-07T00:33:35.624Z] ---> c0ef4e91f454 [2021-07-07T00:33:35.624Z] Successfully built c0ef4e91f454 [2021-07-07T00:33:35.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:33:35.942Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T00:33:35.942Z] . [Pipeline] withDockerContainer [2021-07-07T00:33:36.024Z] prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container [2021-07-07T00:33:36.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T00:33:36.444Z] $ docker top f2d47fab21057d4d69646eabd586897e53027fac1ae3ac059e45850ac41c869a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T00:33:36.843Z] + go version [2021-07-07T00:33:36.843Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T00:33:36.852Z] $ docker stop --time=1 f2d47fab21057d4d69646eabd586897e53027fac1ae3ac059e45850ac41c869a [2021-07-07T00:33:38.051Z] $ docker rm -f f2d47fab21057d4d69646eabd586897e53027fac1ae3ac059e45850ac41c869a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:33:38.580Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T00:33:38.580Z] . [Pipeline] withDockerContainer [2021-07-07T00:33:38.657Z] prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container [2021-07-07T00:33:38.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-07T00:33:39.060Z] $ docker top cafd2711185f87906d4e987c55e17d43d194e07f2ff45dca000e551ee5222bee -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-07T00:33:39.168Z] ========================================================= [2021-07-07T00:33:39.168Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-07T00:33:39.168Z] ========================================================= [Pipeline] sh [2021-07-07T00:33:39.469Z] + go mod tidy [Pipeline] sh [2021-07-07T00:33:40.048Z] + make test [2021-07-07T00:33:40.048Z] go mod tidy [2021-07-07T00:33:40.048Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-07T00:33:45.417Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-07-07T00:34:03.593Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-07-07T00:34:04.563Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-07-07T00:34:04.563Z] internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-07T00:34:14.648Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.041s coverage: 28.7% of statements [2021-07-07T00:34:14.648Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.060s coverage: 100.0% of statements [2021-07-07T00:34:14.648Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-07-07T00:34:14.648Z] internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-07T00:34:14.648Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.069s coverage: 50.5% of statements [2021-07-07T00:34:14.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-07-07T00:34:14.648Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.043s coverage: 78.9% of statements [2021-07-07T00:34:16.042Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.056s coverage: 81.2% of statements [2021-07-07T00:34:16.619Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.264s coverage: 95.1% of statements [2021-07-07T00:34:16.619Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.048s coverage: 60.0% of statements [2021-07-07T00:34:17.576Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.074s coverage: 0.8% of statements [2021-07-07T00:34:17.576Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.065s coverage: 58.8% of statements [2021-07-07T00:34:17.576Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.049s coverage: 22.0% of statements [2021-07-07T00:34:17.576Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.065s coverage: 47.1% of statements [2021-07-07T00:34:18.971Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.050s coverage: 79.5% of statements [2021-07-07T00:34:18.971Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.048s coverage: 94.1% of statements [2021-07-07T00:34:18.971Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.052s coverage: 96.3% of statements [2021-07-07T00:34:18.971Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.052s coverage: 87.5% of statements [2021-07-07T00:34:31.228Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.047s coverage: 94.4% of statements [2021-07-07T00:34:31.228Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.051s coverage: 44.8% of statements [2021-07-07T00:34:37.825Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.180s coverage: 81.8% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.084s coverage: 92.9% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.055s coverage: 87.2% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.052s coverage: 58.8% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.053s coverage: 85.4% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.071s coverage: 91.2% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.140s coverage: 64.4% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.046s coverage: 100.0% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 91.3% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.027s coverage: 73.7% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.165s coverage: 66.9% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.111s coverage: 43.6% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.049s coverage: 89.5% of statements [2021-07-07T00:34:55.974Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.041s coverage: 84.8% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.064s coverage: 19.3% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.108s coverage: 91.9% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 62.7% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.083s coverage: 97.6% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.053s coverage: 28.9% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements [2021-07-07T00:35:02.601Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 95.4% of statements [2021-07-07T00:35:02.863Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-07-07T00:35:02.882Z] $ docker stop --time=1 cafd2711185f87906d4e987c55e17d43d194e07f2ff45dca000e551ee5222bee [2021-07-07T00:35:04.341Z] $ docker rm -f cafd2711185f87906d4e987c55e17d43d194e07f2ff45dca000e551ee5222bee [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-07-07T00:35:05.327Z] Failed in branch amd64 [2021-07-07T00:36:06.147Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1977 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws [2021-07-07T00:36:06.165Z] Running in /w/workspace/edgex-go/7 [Pipeline] { [Pipeline] checkout [2021-07-07T00:36:06.367Z] The recommended git tool is: git [2021-07-07T00:36:12.188Z] using credential edgex-jenkins-ssh [2021-07-07T00:36:12.210Z] Cloning the remote Git repository [2021-07-07T00:36:12.268Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-07-07T00:36:12.399Z] > git init /w/workspace/edgex-go/7 # timeout=10 [2021-07-07T00:36:12.532Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-07T00:36:12.533Z] > git --version # timeout=10 [2021-07-07T00:36:12.576Z] > git --version # 'git version 2.17.1' [2021-07-07T00:36:12.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T00:36:12.766Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T00:36:28.634Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-07T00:36:28.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T00:36:28.676Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-07T00:36:29.486Z] Merging remotes/origin/main commit e67b96f43125f529184b400ebdcefa80e8ea1f21 into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca [2021-07-07T00:36:30.071Z] Merge succeeded, producing af363eb9a958e705fbbb39980ea2fba7eb09370c [2021-07-07T00:36:30.071Z] Checking out Revision af363eb9a958e705fbbb39980ea2fba7eb09370c (PR-3577) [2021-07-07T00:36:28.723Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-07T00:36:28.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T00:36:28.737Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T00:36:29.504Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T00:36:29.518Z] > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 [2021-07-07T00:36:29.728Z] > git remote # timeout=10 [2021-07-07T00:36:29.745Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T00:36:29.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T00:36:29.773Z] > git merge e67b96f43125f529184b400ebdcefa80e8ea1f21 # timeout=10 [2021-07-07T00:36:30.059Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T00:36:30.079Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T00:36:30.089Z] > git checkout -f af363eb9a958e705fbbb39980ea2fba7eb09370c # timeout=10 [2021-07-07T00:36:34.278Z] Commit message: "Merge commit 'e67b96f43125f529184b400ebdcefa80e8ea1f21' into HEAD" [2021-07-07T00:36:34.302Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T00:36:34.289Z] > git rev-list --no-walk dde3a1eb3237ae223acf4a78b29e7aeecc5b4995 # timeout=10 [2021-07-07T00:36:35.649Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T00:36:36.096Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T00:36:36.444Z] + sudo service docker restart [2021-07-07T00:36:36.444Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T00:36:54.826Z] provisioning config files... [2021-07-07T00:36:54.866Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config3573697595146848891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:36:55.264Z] ---> docker-login.sh [2021-07-07T00:36:55.264Z] nexus3.edgexfoundry.org:10001 [2021-07-07T00:36:56.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:36:56.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:36:56.528Z] Configure a credential helper to remove this warning. See [2021-07-07T00:36:56.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:36:56.528Z] [2021-07-07T00:36:56.528Z] Login Succeeded [2021-07-07T00:36:56.528Z] nexus3.edgexfoundry.org:10002 [2021-07-07T00:36:57.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:36:57.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:36:57.130Z] Configure a credential helper to remove this warning. See [2021-07-07T00:36:57.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:36:57.130Z] [2021-07-07T00:36:57.130Z] Login Succeeded [2021-07-07T00:36:57.130Z] nexus3.edgexfoundry.org:10003 [2021-07-07T00:36:57.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:36:57.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:36:57.732Z] Configure a credential helper to remove this warning. See [2021-07-07T00:36:57.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:36:57.732Z] [2021-07-07T00:36:57.732Z] Login Succeeded [2021-07-07T00:36:57.732Z] nexus3.edgexfoundry.org:10004 [2021-07-07T00:36:58.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:36:58.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:36:58.333Z] Configure a credential helper to remove this warning. See [2021-07-07T00:36:58.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:36:58.333Z] [2021-07-07T00:36:58.333Z] Login Succeeded [2021-07-07T00:36:58.333Z] docker.io [2021-07-07T00:36:58.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-07T00:36:59.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-07T00:36:59.212Z] Configure a credential helper to remove this warning. See [2021-07-07T00:36:59.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-07T00:36:59.212Z] [2021-07-07T00:36:59.212Z] Login Succeeded [2021-07-07T00:36:59.212Z] ---> docker-login.sh ends [Pipeline] } [2021-07-07T00:36:59.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-07T00:36:59.577Z] ========================================================= [2021-07-07T00:36:59.577Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T00:36:59.577Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:36:59.924Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-07T00:37:01.909Z] Sending build context to Docker daemon 165.8MB [2021-07-07T00:37:01.909Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-07T00:37:01.909Z] Step 2/6 : FROM ${BASE} [2021-07-07T00:37:02.186Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T00:37:02.186Z] 595b0fe564bb: Pulling fs layer [2021-07-07T00:37:02.186Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T00:37:02.186Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T00:37:02.186Z] ba82ee9f976e: Pulling fs layer [2021-07-07T00:37:02.186Z] 506bd15cee9f: Pulling fs layer [2021-07-07T00:37:02.186Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T00:37:02.186Z] 618dc40b7e24: Pulling fs layer [2021-07-07T00:37:02.186Z] ba82ee9f976e: Waiting [2021-07-07T00:37:02.186Z] 506bd15cee9f: Waiting [2021-07-07T00:37:02.186Z] 75a0a4a0db45: Waiting [2021-07-07T00:37:02.186Z] 618dc40b7e24: Waiting [2021-07-07T00:37:02.186Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T00:37:02.186Z] 5b7225fbf94c: Download complete [2021-07-07T00:37:02.464Z] 3088b5b3c5c0: Verifying Checksum [2021-07-07T00:37:02.464Z] 3088b5b3c5c0: Download complete [2021-07-07T00:37:02.464Z] 506bd15cee9f: Verifying Checksum [2021-07-07T00:37:02.464Z] 506bd15cee9f: Download complete [2021-07-07T00:37:02.464Z] 595b0fe564bb: Verifying Checksum [2021-07-07T00:37:02.464Z] 595b0fe564bb: Download complete [2021-07-07T00:37:02.464Z] 75a0a4a0db45: Verifying Checksum [2021-07-07T00:37:02.464Z] 75a0a4a0db45: Download complete [2021-07-07T00:37:03.071Z] 595b0fe564bb: Pull complete [2021-07-07T00:37:03.677Z] 3088b5b3c5c0: Pull complete [2021-07-07T00:37:04.290Z] 5b7225fbf94c: Pull complete [2021-07-07T00:37:04.567Z] 618dc40b7e24: Verifying Checksum [2021-07-07T00:37:04.567Z] 618dc40b7e24: Download complete [2021-07-07T00:37:06.006Z] ba82ee9f976e: Verifying Checksum [2021-07-07T00:37:06.006Z] ba82ee9f976e: Download complete [2021-07-07T00:37:16.199Z] ba82ee9f976e: Pull complete [2021-07-07T00:37:16.199Z] 506bd15cee9f: Pull complete [2021-07-07T00:37:16.199Z] 75a0a4a0db45: Pull complete [2021-07-07T00:37:19.601Z] 618dc40b7e24: Pull complete [2021-07-07T00:37:19.601Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T00:37:19.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T00:37:19.601Z] ---> a36622ca3599 [2021-07-07T00:37:19.601Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-07-07T00:37:22.306Z] ---> Running in 54b9e3eb4820 [2021-07-07T00:37:23.763Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T00:37:24.745Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T00:37:25.341Z] (1/12) Installing libmagic (5.39-r0) [2021-07-07T00:37:25.612Z] (2/12) Installing file (5.39-r0) [2021-07-07T00:37:25.612Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-07T00:37:25.883Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-07T00:37:31.271Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-07T00:37:31.271Z] (6/12) Installing patch (2.7.6-r7) [2021-07-07T00:37:31.271Z] (7/12) Installing build-base (0.5-r2) [2021-07-07T00:37:31.271Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-07T00:37:31.271Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-07T00:37:31.271Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-07T00:37:31.271Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-07T00:37:31.271Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-07T00:37:31.271Z] Executing busybox-1.32.1-r6.trigger [2021-07-07T00:37:31.544Z] OK: 218 MiB in 52 packages [2021-07-07T00:37:35.903Z] Removing intermediate container 54b9e3eb4820 [2021-07-07T00:37:35.903Z] ---> c164e56de8b8 [2021-07-07T00:37:35.903Z] Step 4/6 : WORKDIR /edgex-go [2021-07-07T00:37:35.903Z] ---> Running in b195544dc2f3 [2021-07-07T00:37:35.903Z] Removing intermediate container b195544dc2f3 [2021-07-07T00:37:35.903Z] ---> 494a8b37a4ba [2021-07-07T00:37:35.903Z] Step 5/6 : COPY go.mod . [2021-07-07T00:37:36.500Z] ---> 3d7a73782c88 [2021-07-07T00:37:36.500Z] Step 6/6 : RUN go mod download [2021-07-07T00:37:36.779Z] ---> Running in e4ce9ac47fb2 [2021-07-07T00:38:03.591Z] Removing intermediate container e4ce9ac47fb2 [2021-07-07T00:38:03.591Z] ---> b58626bc1cd4 [2021-07-07T00:38:03.591Z] Successfully built b58626bc1cd4 [2021-07-07T00:38:03.591Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:38:03.941Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T00:38:03.941Z] . [Pipeline] withDockerContainer [2021-07-07T00:38:04.224Z] prd-ubuntu18.04-docker-arm64-4c-16g-1977 does not seem to be running inside a container [2021-07-07T00:38:04.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T00:38:06.088Z] $ docker top 57c4fd9be4c965de4d182d7165ed1b044cb8a7a4ba73b1d2ba3aa54ab8d2176e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T00:38:07.085Z] + go version [2021-07-07T00:38:07.085Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T00:38:07.116Z] $ docker stop --time=1 57c4fd9be4c965de4d182d7165ed1b044cb8a7a4ba73b1d2ba3aa54ab8d2176e [2021-07-07T00:38:09.028Z] $ docker rm -f 57c4fd9be4c965de4d182d7165ed1b044cb8a7a4ba73b1d2ba3aa54ab8d2176e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:38:09.865Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T00:38:09.865Z] . [Pipeline] withDockerContainer [2021-07-07T00:38:10.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-1977 does not seem to be running inside a container [2021-07-07T00:38:10.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T00:38:11.918Z] $ docker top ab9e7407adac333a2f991df3664f65ac6d77e6cee21504e4dd47c8d495b811e1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-07T00:38:12.269Z] ========================================================= [2021-07-07T00:38:12.269Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-07T00:38:12.269Z] ========================================================= [Pipeline] sh [2021-07-07T00:38:12.923Z] + go mod tidy [Pipeline] sh [2021-07-07T00:38:14.198Z] + make test [2021-07-07T00:38:14.198Z] go mod tidy [2021-07-07T00:38:14.800Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-07T00:38:41.640Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-07-07T00:39:49.718Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-07-07T00:39:49.718Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-07-07T00:39:49.718Z] internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-07T00:40:16.609Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.210s coverage: 28.7% of statements [2021-07-07T00:40:17.215Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-07-07T00:40:17.215Z] internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-07T00:40:20.634Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.312s coverage: 100.0% of statements [2021-07-07T00:40:22.080Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.341s coverage: 50.5% of statements [2021-07-07T00:40:22.081Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-07-07T00:40:22.081Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.250s coverage: 78.9% of statements [2021-07-07T00:40:24.088Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.244s coverage: 81.2% of statements [2021-07-07T00:40:29.537Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.453s coverage: 95.1% of statements [2021-07-07T00:40:29.537Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.188s coverage: 60.0% of statements [2021-07-07T00:40:29.537Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.328s coverage: 0.8% of statements [2021-07-07T00:40:29.537Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.170s coverage: 58.8% of statements [2021-07-07T00:40:29.537Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.311s coverage: 22.0% of statements [2021-07-07T00:40:29.537Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.235s coverage: 47.1% of statements [2021-07-07T00:40:30.137Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.329s coverage: 79.5% of statements [2021-07-07T00:40:30.414Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.170s coverage: 94.1% of statements [2021-07-07T00:40:31.402Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.299s coverage: 96.3% of statements [2021-07-07T00:40:31.676Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.175s coverage: 87.5% of statements [2021-07-07T00:40:46.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.236s coverage: 94.4% of statements [2021-07-07T00:40:46.793Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.168s coverage: 44.8% of statements [2021-07-07T00:40:49.473Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.593s coverage: 81.8% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.273s coverage: 92.9% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.063s coverage: 65.1% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.190s coverage: 87.2% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.163s coverage: 100.0% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.190s coverage: 58.8% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.184s coverage: 80.0% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.293s coverage: 87.2% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.276s coverage: 85.4% of statements [2021-07-07T00:40:56.305Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.351s coverage: 91.2% of statements [2021-07-07T00:40:58.949Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.830s coverage: 64.4% of statements [2021-07-07T00:40:58.949Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.206s coverage: 100.0% of statements [2021-07-07T00:40:58.949Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.109s coverage: 91.3% of statements [2021-07-07T00:40:58.949Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements [2021-07-07T00:40:58.949Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.091s coverage: 73.7% of statements [2021-07-07T00:40:59.227Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.051s coverage: 100.0% of statements [2021-07-07T00:41:04.656Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.050s coverage: 66.9% of statements [2021-07-07T00:41:06.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.703s coverage: 43.6% of statements [2021-07-07T00:41:06.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.279s coverage: 89.5% of statements [2021-07-07T00:41:06.108Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.352s coverage: 84.8% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.273s coverage: 19.3% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.572s coverage: 91.9% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.212s coverage: 62.7% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.415s coverage: 97.6% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.160s coverage: 28.9% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.190s coverage: 100.0% of statements [2021-07-07T00:41:14.418Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 95.4% of statements [2021-07-07T00:41:14.418Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-07-07T00:41:14.459Z] $ docker stop --time=1 ab9e7407adac333a2f991df3664f65ac6d77e6cee21504e4dd47c8d495b811e1 [2021-07-07T00:41:16.772Z] $ docker rm -f ab9e7407adac333a2f991df3664f65ac6d77e6cee21504e4dd47c8d495b811e1 [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] libraryResource [Pipeline] sh [2021-07-07T00:41:18.602Z] ---> job-cost.sh [2021-07-07T00:41:18.602Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Xwe8 [2021-07-07T00:42:05.574Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T00:43:57.400Z] lf-activate-venv(): INFO: Adding /tmp/venv-Xwe8/bin to PATH [2021-07-07T00:43:57.400Z] INFO: No Stack... [2021-07-07T00:43:57.400Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T00:43:57.400Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T00:43:57.755Z] + cat /w/workspace/edgex-go/7/archives/cost.csv [2021-07-07T00:43:57.755Z] + cut -d, -f6 [Pipeline] lock [2021-07-07T00:43:57.825Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3577-7-stack-cost] [2021-07-07T00:43:57.847Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3577-7-stack-cost] did not exist. Created. [2021-07-07T00:43:57.847Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3577-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T00:43:58.203Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T00:43:58.935Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T00:43:58.950Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3577-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-07T00:43:59.274Z] 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] libraryResource [Pipeline] sh [2021-07-07T00:44:01.136Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:44:01.705Z] ---> package-listing.sh [2021-07-07T00:44:01.705Z] ++ facter osfamily [2021-07-07T00:44:01.705Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T00:44:01.966Z] + OS_FAMILY=redhat [2021-07-07T00:44:01.966Z] + workspace=/w/workspace/edgex-go/7 [2021-07-07T00:44:01.966Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T00:44:01.967Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T00:44:01.967Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T00:44:01.967Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T00:44:01.967Z] + '[' /w/workspace/edgex-go/7 ']' [2021-07-07T00:44:01.967Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T00:44:01.967Z] + case "${OS_FAMILY}" in [2021-07-07T00:44:01.967Z] + sort [2021-07-07T00:44:01.967Z] + rpm -qa [2021-07-07T00:44:02.539Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T00:44:02.539Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T00:44:02.539Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T00:44:02.539Z] + '[' /w/workspace/edgex-go/7 ']' [2021-07-07T00:44:02.539Z] + mkdir -p /w/workspace/edgex-go/7/archives/ [2021-07-07T00:44:02.539Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/7/archives/ [Pipeline] echo [2021-07-07T00:44:02.552Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T00:44:02.845Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:44:03.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T00:44:03.422Z] [2021-07-07T00:44:03.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T00:44:03.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T00:44:03.738Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T00:44:03.738Z] df20fa9351a1: Pulling fs layer [2021-07-07T00:44:03.738Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T00:44:03.738Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T00:44:03.738Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T00:44:03.738Z] 93b61091891f: Pulling fs layer [2021-07-07T00:44:03.738Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T00:44:03.738Z] 5e14af77c1be: Pulling fs layer [2021-07-07T00:44:03.738Z] 01666e4c0597: Pulling fs layer [2021-07-07T00:44:03.738Z] aa168da1d23b: Pulling fs layer [2021-07-07T00:44:03.738Z] 93b9cdb0e59b: Waiting [2021-07-07T00:44:03.738Z] 5e14af77c1be: Waiting [2021-07-07T00:44:03.738Z] 01666e4c0597: Waiting [2021-07-07T00:44:03.738Z] aa168da1d23b: Waiting [2021-07-07T00:44:03.738Z] 46f8f816bc3b: Waiting [2021-07-07T00:44:03.738Z] 93b61091891f: Waiting [2021-07-07T00:44:03.738Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T00:44:03.738Z] 36b3adc4ff6f: Download complete [2021-07-07T00:44:03.738Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T00:44:03.738Z] 46f8f816bc3b: Download complete [2021-07-07T00:44:03.998Z] df20fa9351a1: Verifying Checksum [2021-07-07T00:44:03.998Z] df20fa9351a1: Download complete [2021-07-07T00:44:03.998Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T00:44:03.998Z] 93b9cdb0e59b: Download complete [2021-07-07T00:44:03.998Z] 5e14af77c1be: Verifying Checksum [2021-07-07T00:44:03.998Z] 5e14af77c1be: Download complete [2021-07-07T00:44:03.998Z] 01666e4c0597: Verifying Checksum [2021-07-07T00:44:03.998Z] 01666e4c0597: Download complete [2021-07-07T00:44:03.998Z] 93b61091891f: Verifying Checksum [2021-07-07T00:44:03.998Z] 93b61091891f: Download complete [2021-07-07T00:44:03.998Z] df20fa9351a1: Pull complete [2021-07-07T00:44:04.259Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T00:44:04.259Z] 8ad3a11d3b57: Download complete [2021-07-07T00:44:04.259Z] 36b3adc4ff6f: Pull complete [2021-07-07T00:44:04.838Z] 8ad3a11d3b57: Pull complete [2021-07-07T00:44:04.838Z] 46f8f816bc3b: Pull complete [2021-07-07T00:44:05.107Z] 93b61091891f: Pull complete [2021-07-07T00:44:05.107Z] 93b9cdb0e59b: Pull complete [2021-07-07T00:44:05.369Z] 5e14af77c1be: Pull complete [2021-07-07T00:44:05.369Z] 01666e4c0597: Pull complete [2021-07-07T00:44:05.942Z] aa168da1d23b: Verifying Checksum [2021-07-07T00:44:05.942Z] aa168da1d23b: Download complete [2021-07-07T00:44:10.190Z] aa168da1d23b: Pull complete [2021-07-07T00:44:10.190Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T00:44:10.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T00:44:10.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T00:44:10.266Z] prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container [2021-07-07T00:44:10.305Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-07T00:44:13.117Z] $ docker top cc0e6a33fdcbe40b73f116c3e8e94d7052a7c7340ae9e1119d8117bae027224f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T00:44:13.497Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T00:44:13.793Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T00:44:14.092Z] + ls /var/log/sa-host [2021-07-07T00:44:14.092Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T00:44:14.092Z] file_magic: OK [2021-07-07T00:44:14.092Z] HZ: Using current value: 100 [2021-07-07T00:44:14.092Z] file_header: OK [2021-07-07T00:44:14.092Z] 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-07-07T00:44:14.092Z] Statistics: [2021-07-07T00:44:14.092Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T00:44:14.092Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T00:44:14.092Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T00:44:14.092Z] file_magic: OK [2021-07-07T00:44:14.092Z] HZ: Using current value: 100 [2021-07-07T00:44:14.092Z] file_header: OK [2021-07-07T00:44:14.092Z] 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-07-07T00:44:14.092Z] Statistics: [2021-07-07T00:44:14.092Z] 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... [2021-07-07T00:44:14.092Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T00:44:14.298Z] provisioning config files... [2021-07-07T00:44:14.312Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/7@tmp/config164679532763397618tmp [Pipeline] { [Pipeline] echo [2021-07-07T00:44:14.333Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:44:14.629Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T00:44:14.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:44:15.013Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T00:44:15.025Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:44:15.326Z] ---> sudo-logs.sh [2021-07-07T00:44:15.326Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T00:44:15.375Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:44:15.676Z] ---> job-cost.sh [2021-07-07T00:44:15.676Z] lf-activate-venv: SKIPPING [2021-07-07T00:44:15.676Z] DEBUG: total: 0.18000000715255737 [2021-07-07T00:44:15.676Z] INFO: Retrieving Stack Cost... [2021-07-07T00:44:16.618Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T00:44:17.196Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T00:44:17.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T00:44:17.510Z] ---> logs-deploy.sh [2021-07-07T00:44:17.510Z] lf-activate-venv: SKIPPING [2021-07-07T00:44:17.510Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3577/7 [2021-07-07T00:44:17.510Z] INFO: archiving workspace using pattern(s): [2021-07-07T00:44:18.462Z] Archives upload complete. [2021-07-07T00:44:18.462Z] INFO: archiving logs to Nexus