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 9e22069fcd2ccadbe001935d29c439c09ed736f9 rather than f72980ee2e3b65de4e42a8ac343d76ba1da632ca Obtained Jenkinsfile from 9e22069fcd2ccadbe001935d29c439c09ed736f9 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-ssh64487235810976584.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-ssh1671830071536187661.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-ssh7036804527138864839.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-ssh7826685025350926573.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh2591760558075491741.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2514 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/10 [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/10 # 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/10@tmp/jenkins-gitclient-ssh47829804117525946.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 9e22069fcd2ccadbe001935d29c439c09ed736f9 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/10@tmp/jenkins-gitclient-ssh4753698903350048716.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 > 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/10@tmp/jenkins-gitclient-ssh4248938755366703162.key > git merge 9e22069fcd2ccadbe001935d29c439c09ed736f9 # timeout=10 Merge succeeded, producing 61770d8af46fc3e43d5753994671b8e513327a0f Checking out Revision 61770d8af46fc3e43d5753994671b8e513327a0f (PR-3577) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61770d8af46fc3e43d5753994671b8e513327a0f # timeout=10 Commit message: "Merge commit '9e22069fcd2ccadbe001935d29c439c09ed736f9' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-12T00:30:58.454Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 96cc2a34c2f8f4f5af6484dc0fc8dc59b02262ac # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-12T00:30:58.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-12T00:30:58.567Z] ========================================================= [2021-07-12T00:30:58.567Z] EdgeX Global Pipelines Version Info [2021-07-12T00:30:58.567Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:30:59.952Z] ------------------- [2021-07-12T00:30:59.953Z] stable info: [2021-07-12T00:30:59.953Z] ------------------- [2021-07-12T00:30:59.953Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-12T00:30:59.953Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-12T00:30:59.953Z] Message: update stable to v1.0.196 [2021-07-12T00:31:00.528Z] ------------------- [2021-07-12T00:31:00.528Z] experimental info: [2021-07-12T00:31:00.528Z] ------------------- [2021-07-12T00:31:00.528Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-12T00:31:00.528Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-12T00:31:00.528Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-12T00:31:00.655Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-07-12T00:31:00.678Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-07-12T00:31:00.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-12T00:31:00.723Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-12T00:31:00.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-12T00:31:00.773Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-12T00:31:00.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-12T00:31:00.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-07-12T00:31:00.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-07-12T00:31:00.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-07-12T00:31:00.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-12T00:31:00.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-12T00:31:00.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-12T00:31:00.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-12T00:31:00.978Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-12T00:31:01.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-12T00:31:01.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-12T00:31:01.058Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-12T00:31:01.080Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-12T00:31:01.103Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-12T00:31:01.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-12T00:31:01.148Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-12T00:31:01.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3577 [Pipeline] echo [2021-07-12T00:31:01.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3577 [Pipeline] echo [2021-07-12T00:31:01.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3577 [Pipeline] echo [2021-07-12T00:31:01.242Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61770d8af46fc3e43d5753994671b8e513327a0f [Pipeline] echo [2021-07-12T00:31:01.265Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61770d8 [Pipeline] echo [2021-07-12T00:31:01.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-12T00:31:01.379Z] provisioning config files... [2021-07-12T00:31:01.405Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/10@tmp/config2965814733420273292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:31:01.730Z] ---> docker-login.sh [2021-07-12T00:31:01.731Z] nexus3.edgexfoundry.org:10001 [2021-07-12T00:31:01.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:31:02.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:31:02.258Z] Configure a credential helper to remove this warning. See [2021-07-12T00:31:02.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:31:02.258Z] [2021-07-12T00:31:02.258Z] Login Succeeded [2021-07-12T00:31:02.258Z] nexus3.edgexfoundry.org:10002 [2021-07-12T00:31:02.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:31:02.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:31:02.258Z] Configure a credential helper to remove this warning. See [2021-07-12T00:31:02.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:31:02.258Z] [2021-07-12T00:31:02.258Z] Login Succeeded [2021-07-12T00:31:02.258Z] nexus3.edgexfoundry.org:10003 [2021-07-12T00:31:02.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:31:02.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:31:02.520Z] Configure a credential helper to remove this warning. See [2021-07-12T00:31:02.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:31:02.520Z] [2021-07-12T00:31:02.520Z] Login Succeeded [2021-07-12T00:31:02.520Z] nexus3.edgexfoundry.org:10004 [2021-07-12T00:31:02.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:31:02.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:31:02.781Z] Configure a credential helper to remove this warning. See [2021-07-12T00:31:02.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:31:02.781Z] [2021-07-12T00:31:02.781Z] Login Succeeded [2021-07-12T00:31:02.781Z] docker.io [2021-07-12T00:31:02.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:31:03.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:31:03.044Z] Configure a credential helper to remove this warning. See [2021-07-12T00:31:03.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:31:03.044Z] [2021-07-12T00:31:03.044Z] Login Succeeded [2021-07-12T00:31:03.044Z] ---> docker-login.sh ends [Pipeline] } [2021-07-12T00:31:03.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-12T00:31:03.388Z] ++ 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-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/core-command/Dockerfile [2021-07-12T00:31:03.388Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.388Z] + echo core-command,cmd/core-command/Dockerfile [2021-07-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/core-data/Dockerfile [2021-07-12T00:31:03.388Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.388Z] + echo core-data,cmd/core-data/Dockerfile [2021-07-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/core-metadata/Dockerfile [2021-07-12T00:31:03.388Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.388Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-07-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-07-12T00:31:03.388Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.388Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-07-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-07-12T00:31:03.388Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.388Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-07-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-07-12T00:31:03.388Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.388Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-07-12T00:31:03.388Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.388Z] ++ dirname cmd/support-notifications/Dockerfile [2021-07-12T00:31:03.389Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.389Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-07-12T00:31:03.389Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.389Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-07-12T00:31:03.389Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.389Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-07-12T00:31:03.389Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-12T00:31:03.389Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-07-12T00:31:03.389Z] ++ cut -d/ -f2 [2021-07-12T00:31:03.389Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-07-12T00:31:03.436Z] 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-12T00:31:05.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-12T00:31:05.037Z] [2021-07-12T00:31:05.037Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:31:05.351Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-12T00:31:05.352Z] latest: Pulling from edgex-devops/git-semver [2021-07-12T00:31:05.352Z] 31603596830f: Pulling fs layer [2021-07-12T00:31:05.352Z] b6dc333f4379: Pulling fs layer [2021-07-12T00:31:05.352Z] 3d9ef1400e77: Pulling fs layer [2021-07-12T00:31:05.352Z] fd332fbdc1db: Pulling fs layer [2021-07-12T00:31:05.352Z] fd332fbdc1db: Waiting [2021-07-12T00:31:05.352Z] b6dc333f4379: Verifying Checksum [2021-07-12T00:31:05.352Z] b6dc333f4379: Download complete [2021-07-12T00:31:05.612Z] 31603596830f: Verifying Checksum [2021-07-12T00:31:05.612Z] 31603596830f: Download complete [2021-07-12T00:31:05.612Z] fd332fbdc1db: Verifying Checksum [2021-07-12T00:31:05.612Z] fd332fbdc1db: Download complete [2021-07-12T00:31:05.612Z] 3d9ef1400e77: Verifying Checksum [2021-07-12T00:31:05.612Z] 3d9ef1400e77: Download complete [2021-07-12T00:31:05.612Z] 31603596830f: Pull complete [2021-07-12T00:31:05.877Z] b6dc333f4379: Pull complete [2021-07-12T00:31:06.452Z] 3d9ef1400e77: Pull complete [2021-07-12T00:31:06.452Z] fd332fbdc1db: Pull complete [2021-07-12T00:31:06.452Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-12T00:31:06.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-12T00:31:06.452Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-12T00:31:06.532Z] prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container [2021-07-12T00:31:06.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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-12T00:31:07.633Z] $ docker top aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-12T00:31:07.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-12T00:31:07.774Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-12T00:31:07.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-12T00:31:07.889Z] $ docker exec aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 ssh-agent [2021-07-12T00:31:08.005Z] SSH_AUTH_SOCK=/tmp/ssh-uHjh9UBz0f3A/agent.15 [2021-07-12T00:31:08.005Z] SSH_AGENT_PID=22 [2021-07-12T00:31:08.015Z] Running ssh-add (command line suppressed) [2021-07-12T00:31:08.122Z] Identity added: /w/workspace/edgex-go/10@tmp/private_key_6592446281818410090.key (/w/workspace/edgex-go/10@tmp/private_key_6592446281818410090.key) [2021-07-12T00:31:08.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-12T00:31:08.452Z] + git tag --points-at HEAD [Pipeline] } [2021-07-12T00:31:08.464Z] $ docker exec --env ******** --env ******** aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 ssh-agent -k [2021-07-12T00:31:08.557Z] unset SSH_AUTH_SOCK; [2021-07-12T00:31:08.558Z] unset SSH_AGENT_PID; [2021-07-12T00:31:08.558Z] echo Agent pid 22 killed; [2021-07-12T00:31:08.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-12T00:31:08.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-12T00:31:08.623Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-12T00:31:08.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-12T00:31:08.738Z] $ docker exec aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 ssh-agent [2021-07-12T00:31:08.846Z] SSH_AUTH_SOCK=/tmp/ssh-NLVnUl3TqvhN/agent.55 [2021-07-12T00:31:08.846Z] SSH_AGENT_PID=62 [2021-07-12T00:31:08.852Z] Running ssh-add (command line suppressed) [2021-07-12T00:31:08.953Z] Identity added: /w/workspace/edgex-go/10@tmp/private_key_6302430260277884847.key (/w/workspace/edgex-go/10@tmp/private_key_6302430260277884847.key) [2021-07-12T00:31:08.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-12T00:31:09.272Z] + git semver init [2021-07-12T00:31:09.272Z] # -> Open(): unable to determine branch for HEAD [2021-07-12T00:31:09.272Z] # $GIT_DIR = /w/workspace/edgex-go/10/.git [2021-07-12T00:31:09.272Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/10 [2021-07-12T00:31:09.272Z] # $SEMVER_REMOTE_NAME = origin [2021-07-12T00:31:09.272Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-12T00:31:09.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-12T00:31:09.272Z] # $SEMVER_BRANCH = PR-3577 [2021-07-12T00:31:09.272Z] # $SEMVER_TEMP = /tmp/semver-168071536 [2021-07-12T00:31:09.272Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-07-12T00:31:27.425Z] # '/tmp/semver-168071536' -> '/w/workspace/edgex-go/10/.semver' [2021-07-12T00:31:27.426Z] # -> Force: false [2021-07-12T00:31:27.426Z] # $SEMVER_DIR = /w/workspace/edgex-go/10/.semver [Pipeline] } [2021-07-12T00:31:27.433Z] $ docker exec --env ******** --env ******** aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 ssh-agent -k [2021-07-12T00:31:27.523Z] unset SSH_AUTH_SOCK; [2021-07-12T00:31:27.524Z] unset SSH_AGENT_PID; [2021-07-12T00:31:27.524Z] echo Agent pid 62 killed; [2021-07-12T00:31:27.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-12T00:31:27.875Z] + git semver [Pipeline] } [2021-07-12T00:31:27.886Z] $ docker stop --time=1 aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 [2021-07-12T00:31:31.437Z] $ docker rm -f aaebcb8ae4fabcc65cc940f329b16ff206578a4cdad432f0e7ff780534aadf24 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-12T00:31:31.855Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-12T00:31:32.124Z] Stashed 1 file(s) [Pipeline] echo [2021-07-12T00:31:32.144Z] [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-12T00:31:32.802Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-12T00:31:33.102Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-12T00:31:33.408Z] + true [2021-07-12T00:31:33.408Z] + sudo service docker restart [2021-07-12T00:31:33.408Z] Redirecting to /bin/systemctl restart docker.service [2021-07-12T00:31:47.395Z] Still waiting to schedule task [2021-07-12T00:31:47.395Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2512’ [Pipeline] echo [2021-07-12T00:31:51.570Z] ========================================================= [2021-07-12T00:31:51.570Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-12T00:31:51.570Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:31:51.885Z] + 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-12T00:31:53.303Z] Sending build context to Docker daemon 328.4MB [2021-07-12T00:31:53.303Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-12T00:31:53.303Z] Step 2/6 : FROM ${BASE} [2021-07-12T00:31:53.303Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-12T00:31:53.303Z] 540db60ca938: Pulling fs layer [2021-07-12T00:31:53.303Z] adcc1eea9eea: Pulling fs layer [2021-07-12T00:31:53.303Z] 4c4ab2625f07: Pulling fs layer [2021-07-12T00:31:53.303Z] 0773c198feca: Pulling fs layer [2021-07-12T00:31:53.303Z] 345f892a5656: Pulling fs layer [2021-07-12T00:31:53.303Z] 9ac62484cfdc: Pulling fs layer [2021-07-12T00:31:53.303Z] 5ac4037533be: Pulling fs layer [2021-07-12T00:31:53.303Z] dc6bda0758c5: Pulling fs layer [2021-07-12T00:31:53.303Z] 0773c198feca: Waiting [2021-07-12T00:31:53.303Z] 345f892a5656: Waiting [2021-07-12T00:31:53.303Z] 9ac62484cfdc: Waiting [2021-07-12T00:31:53.303Z] 5ac4037533be: Waiting [2021-07-12T00:31:53.303Z] dc6bda0758c5: Waiting [2021-07-12T00:31:53.303Z] 4c4ab2625f07: Verifying Checksum [2021-07-12T00:31:53.303Z] 4c4ab2625f07: Download complete [2021-07-12T00:31:53.303Z] adcc1eea9eea: Verifying Checksum [2021-07-12T00:31:53.303Z] adcc1eea9eea: Download complete [2021-07-12T00:31:53.303Z] 345f892a5656: Verifying Checksum [2021-07-12T00:31:53.303Z] 345f892a5656: Download complete [2021-07-12T00:31:53.303Z] 9ac62484cfdc: Verifying Checksum [2021-07-12T00:31:53.303Z] 9ac62484cfdc: Download complete [2021-07-12T00:31:53.303Z] 540db60ca938: Verifying Checksum [2021-07-12T00:31:53.303Z] 540db60ca938: Download complete [2021-07-12T00:31:53.565Z] 540db60ca938: Pull complete [2021-07-12T00:31:53.827Z] adcc1eea9eea: Pull complete [2021-07-12T00:31:53.827Z] 5ac4037533be: Verifying Checksum [2021-07-12T00:31:53.827Z] 5ac4037533be: Download complete [2021-07-12T00:31:53.827Z] 4c4ab2625f07: Pull complete [2021-07-12T00:31:55.211Z] dc6bda0758c5: Verifying Checksum [2021-07-12T00:31:55.211Z] dc6bda0758c5: Download complete [2021-07-12T00:31:56.156Z] 0773c198feca: Verifying Checksum [2021-07-12T00:31:56.156Z] 0773c198feca: Download complete [2021-07-12T00:31:58.734Z] 0773c198feca: Pull complete [2021-07-12T00:31:58.998Z] 345f892a5656: Pull complete [2021-07-12T00:31:58.999Z] 9ac62484cfdc: Pull complete [2021-07-12T00:31:59.260Z] 5ac4037533be: Pull complete [2021-07-12T00:32:01.931Z] dc6bda0758c5: Pull complete [2021-07-12T00:32:01.931Z] Digest: sha256:693441261ed0de8fcf303aa2a0eae3a43e217b849db77d7793b1d2a0399e3ec4 [2021-07-12T00:32:01.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-12T00:32:01.931Z] ---> eb58bd16d52e [2021-07-12T00:32:01.931Z] 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-12T00:32:04.486Z] ---> Running in 30d42a210519 [2021-07-12T00:32:04.486Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-12T00:32:05.434Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-12T00:32:06.011Z] (1/12) Installing libmagic (5.39-r0) [2021-07-12T00:32:06.272Z] (2/12) Installing file (5.39-r0) [2021-07-12T00:32:06.272Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-12T00:32:06.272Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-12T00:32:12.861Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-12T00:32:12.861Z] (6/12) Installing patch (2.7.6-r7) [2021-07-12T00:32:12.861Z] (7/12) Installing build-base (0.5-r2) [2021-07-12T00:32:12.861Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-12T00:32:12.861Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-12T00:32:12.861Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-12T00:32:12.861Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-12T00:32:12.861Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-12T00:32:12.861Z] Executing busybox-1.32.1-r6.trigger [2021-07-12T00:32:12.861Z] OK: 219 MiB in 52 packages [2021-07-12T00:32:14.253Z] Removing intermediate container 30d42a210519 [2021-07-12T00:32:14.253Z] ---> e27acc91115e [2021-07-12T00:32:14.253Z] Step 4/6 : WORKDIR /edgex-go [2021-07-12T00:32:14.253Z] ---> Running in b12b78fd64db [2021-07-12T00:32:14.253Z] Removing intermediate container b12b78fd64db [2021-07-12T00:32:14.253Z] ---> 1064949487a3 [2021-07-12T00:32:14.253Z] Step 5/6 : COPY go.mod . [2021-07-12T00:32:14.520Z] ---> 70da5ffe7b49 [2021-07-12T00:32:14.520Z] Step 6/6 : RUN go mod download [2021-07-12T00:32:14.520Z] ---> Running in 4eea2e431c47 [2021-07-12T00:32:32.658Z] Removing intermediate container 4eea2e431c47 [2021-07-12T00:32:32.658Z] ---> db91b6fe745d [2021-07-12T00:32:32.658Z] Successfully built db91b6fe745d [2021-07-12T00:32:32.658Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:32:32.964Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-12T00:32:32.964Z] . [Pipeline] withDockerContainer [2021-07-12T00:32:33.040Z] prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container [2021-07-12T00:32:33.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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-12T00:32:33.495Z] $ docker top ce39f3bb0fe417694192f31e3745e4a2a23c3524197ba7ee465738eb9d718c5b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-12T00:32:33.868Z] + go version [2021-07-12T00:32:33.868Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-12T00:32:33.883Z] $ docker stop --time=1 ce39f3bb0fe417694192f31e3745e4a2a23c3524197ba7ee465738eb9d718c5b [2021-07-12T00:32:35.154Z] $ docker rm -f ce39f3bb0fe417694192f31e3745e4a2a23c3524197ba7ee465738eb9d718c5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:32:35.664Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-12T00:32:35.664Z] . [Pipeline] withDockerContainer [2021-07-12T00:32:35.750Z] prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container [2021-07-12T00:32:35.789Z] $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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-12T00:32:36.116Z] $ docker top b08caa298d4476df301078fd0b9df0bb829ceea8b19d016607503b104a3e7481 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-12T00:32:36.211Z] ========================================================= [2021-07-12T00:32:36.212Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-12T00:32:36.212Z] ========================================================= [Pipeline] sh [2021-07-12T00:32:36.506Z] + go mod tidy [Pipeline] sh [2021-07-12T00:32:36.808Z] + make test [2021-07-12T00:32:36.808Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-07-12T00:32:37.071Z] go mod tidy [2021-07-12T00:32:37.071Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-12T00:32:42.433Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-07-12T00:33:00.620Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-07-12T00:33:03.281Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-07-12T00:33:03.281Z] internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-12T00:33:11.508Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.038s coverage: 28.7% of statements [2021-07-12T00:33:12.464Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.062s coverage: 100.0% of statements [2021-07-12T00:33:12.464Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-07-12T00:33:12.464Z] internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-12T00:33:12.734Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.061s coverage: 50.5% of statements [2021-07-12T00:33:12.734Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-07-12T00:33:12.734Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.044s coverage: 78.9% of statements [2021-07-12T00:33:14.662Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.042s coverage: 81.2% of statements [2021-07-12T00:33:14.662Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.256s coverage: 95.1% of statements [2021-07-12T00:33:14.922Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.044s coverage: 60.0% of statements [2021-07-12T00:33:15.888Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.046s coverage: 0.8% of statements [2021-07-12T00:33:15.888Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements [2021-07-12T00:33:15.888Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.049s coverage: 22.0% of statements [2021-07-12T00:33:16.159Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.058s coverage: 47.1% of statements [2021-07-12T00:33:16.159Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.050s coverage: 79.5% of statements [2021-07-12T00:33:16.435Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.042s coverage: 94.1% of statements [2021-07-12T00:33:16.702Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.056s coverage: 96.3% of statements [2021-07-12T00:33:16.965Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements [2021-07-12T00:33:29.226Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.070s coverage: 94.4% of statements [2021-07-12T00:33:29.226Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.044s coverage: 44.8% of statements [2021-07-12T00:33:33.444Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.205s coverage: 81.8% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.083s coverage: 92.9% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 65.1% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.052s coverage: 58.8% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.042s coverage: 80.0% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.057s coverage: 85.4% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.077s coverage: 91.2% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.127s coverage: 64.4% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.043s coverage: 100.0% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 91.3% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2021-07-12T00:33:51.585Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.024s coverage: 100.0% of statements [2021-07-12T00:33:52.176Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.184s coverage: 66.9% of statements [2021-07-12T00:33:53.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.129s coverage: 43.6% of statements [2021-07-12T00:33:53.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.056s coverage: 89.5% of statements [2021-07-12T00:33:53.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.062s coverage: 19.3% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.128s coverage: 91.9% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 62.7% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.105s coverage: 97.6% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.043s coverage: 28.9% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.043s coverage: 100.0% of statements [2021-07-12T00:33:59.952Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 95.4% of statements [2021-07-12T00:34:00.339Z] make: *** [Makefile:101: test] Error 2 [Pipeline] } [2021-07-12T00:34:00.519Z] $ docker stop --time=1 b08caa298d4476df301078fd0b9df0bb829ceea8b19d016607503b104a3e7481 [2021-07-12T00:34:01.916Z] $ docker rm -f b08caa298d4476df301078fd0b9df0bb829ceea8b19d016607503b104a3e7481 [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-12T00:34:03.088Z] Failed in branch amd64 [2021-07-12T00:35:44.015Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2516 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws [2021-07-12T00:35:44.042Z] Running in /w/workspace/edgex-go/10 [Pipeline] { [Pipeline] checkout [2021-07-12T00:35:44.295Z] The recommended git tool is: git [2021-07-12T00:35:50.099Z] using credential edgex-jenkins-ssh [2021-07-12T00:35:50.123Z] Cloning the remote Git repository [2021-07-12T00:35:50.180Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-07-12T00:35:50.294Z] > git init /w/workspace/edgex-go/10 # timeout=10 [2021-07-12T00:35:50.378Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-12T00:35:50.379Z] > git --version # timeout=10 [2021-07-12T00:35:50.395Z] > git --version # 'git version 2.17.1' [2021-07-12T00:35:50.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-12T00:35:50.484Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-12T00:36:05.892Z] Merging remotes/origin/main commit 9e22069fcd2ccadbe001935d29c439c09ed736f9 into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca [2021-07-12T00:36:06.418Z] Merge succeeded, producing fb95957937b8c71a97c5d3ae83dfdae1a29090cb [2021-07-12T00:36:06.420Z] Checking out Revision fb95957937b8c71a97c5d3ae83dfdae1a29090cb (PR-3577) [2021-07-12T00:36:05.097Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-12T00:36:05.117Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-12T00:36:05.145Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-12T00:36:05.183Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-12T00:36:05.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-12T00:36:05.199Z] > 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-12T00:36:05.913Z] > git config core.sparsecheckout # timeout=10 [2021-07-12T00:36:05.930Z] > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 [2021-07-12T00:36:06.145Z] > git remote # timeout=10 [2021-07-12T00:36:06.163Z] > git config --get remote.origin.url # timeout=10 [2021-07-12T00:36:06.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-12T00:36:06.190Z] > git merge 9e22069fcd2ccadbe001935d29c439c09ed736f9 # timeout=10 [2021-07-12T00:36:06.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-12T00:36:06.425Z] > git config core.sparsecheckout # timeout=10 [2021-07-12T00:36:06.443Z] > git checkout -f fb95957937b8c71a97c5d3ae83dfdae1a29090cb # timeout=10 [2021-07-12T00:36:10.793Z] Commit message: "Merge commit '9e22069fcd2ccadbe001935d29c439c09ed736f9' into HEAD" [2021-07-12T00:36:10.821Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-12T00:36:12.451Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-12T00:36:12.864Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-12T00:36:10.799Z] > git rev-list --no-walk 96cc2a34c2f8f4f5af6484dc0fc8dc59b02262ac # timeout=10 [2021-07-12T00:36:13.205Z] + + truesudo [2021-07-12T00:36:13.205Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-12T00:36:31.559Z] provisioning config files... [2021-07-12T00:36:31.596Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/10@tmp/config8633970909923080867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:36:31.969Z] ---> docker-login.sh [2021-07-12T00:36:31.969Z] nexus3.edgexfoundry.org:10001 [2021-07-12T00:36:32.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:36:33.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:36:33.230Z] Configure a credential helper to remove this warning. See [2021-07-12T00:36:33.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:36:33.230Z] [2021-07-12T00:36:33.230Z] Login Succeeded [2021-07-12T00:36:33.230Z] nexus3.edgexfoundry.org:10002 [2021-07-12T00:36:33.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:36:33.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:36:33.784Z] Configure a credential helper to remove this warning. See [2021-07-12T00:36:33.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:36:33.784Z] [2021-07-12T00:36:33.784Z] Login Succeeded [2021-07-12T00:36:33.784Z] nexus3.edgexfoundry.org:10003 [2021-07-12T00:36:34.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:36:34.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:36:34.388Z] Configure a credential helper to remove this warning. See [2021-07-12T00:36:34.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:36:34.388Z] [2021-07-12T00:36:34.388Z] Login Succeeded [2021-07-12T00:36:34.388Z] nexus3.edgexfoundry.org:10004 [2021-07-12T00:36:34.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:36:34.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:36:34.942Z] Configure a credential helper to remove this warning. See [2021-07-12T00:36:34.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:36:34.942Z] [2021-07-12T00:36:34.942Z] Login Succeeded [2021-07-12T00:36:34.942Z] docker.io [2021-07-12T00:36:35.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-12T00:36:35.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-12T00:36:35.815Z] Configure a credential helper to remove this warning. See [2021-07-12T00:36:35.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-12T00:36:35.815Z] [2021-07-12T00:36:35.815Z] Login Succeeded [2021-07-12T00:36:35.815Z] ---> docker-login.sh ends [Pipeline] } [2021-07-12T00:36:35.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-12T00:36:36.165Z] ========================================================= [2021-07-12T00:36:36.166Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-12T00:36:36.166Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:36:36.524Z] + 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-12T00:36:38.522Z] Sending build context to Docker daemon 165.8MB [2021-07-12T00:36:38.522Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-12T00:36:38.522Z] Step 2/6 : FROM ${BASE} [2021-07-12T00:36:38.796Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-12T00:36:38.796Z] 595b0fe564bb: Pulling fs layer [2021-07-12T00:36:38.796Z] 24495759ef45: Pulling fs layer [2021-07-12T00:36:38.796Z] d148012ef14d: Pulling fs layer [2021-07-12T00:36:38.796Z] cb65c68fc2e2: Pulling fs layer [2021-07-12T00:36:38.796Z] 093eec477d81: Pulling fs layer [2021-07-12T00:36:38.796Z] 20fd20ab2234: Pulling fs layer [2021-07-12T00:36:38.796Z] 43245461236d: Pulling fs layer [2021-07-12T00:36:38.796Z] 5a37c24eccbd: Pulling fs layer [2021-07-12T00:36:38.796Z] cb65c68fc2e2: Waiting [2021-07-12T00:36:38.796Z] 093eec477d81: Waiting [2021-07-12T00:36:38.796Z] 20fd20ab2234: Waiting [2021-07-12T00:36:38.796Z] 43245461236d: Waiting [2021-07-12T00:36:38.796Z] 5a37c24eccbd: Waiting [2021-07-12T00:36:38.796Z] d148012ef14d: Verifying Checksum [2021-07-12T00:36:38.796Z] d148012ef14d: Download complete [2021-07-12T00:36:38.796Z] 24495759ef45: Verifying Checksum [2021-07-12T00:36:38.796Z] 24495759ef45: Download complete [2021-07-12T00:36:38.796Z] 093eec477d81: Verifying Checksum [2021-07-12T00:36:38.796Z] 093eec477d81: Download complete [2021-07-12T00:36:38.796Z] 595b0fe564bb: Verifying Checksum [2021-07-12T00:36:38.796Z] 20fd20ab2234: Verifying Checksum [2021-07-12T00:36:38.796Z] 20fd20ab2234: Download complete [2021-07-12T00:36:38.796Z] 595b0fe564bb: Download complete [2021-07-12T00:36:38.796Z] 43245461236d: Verifying Checksum [2021-07-12T00:36:38.796Z] 43245461236d: Download complete [2021-07-12T00:36:39.796Z] 595b0fe564bb: Pull complete [2021-07-12T00:36:40.401Z] 24495759ef45: Pull complete [2021-07-12T00:36:40.689Z] d148012ef14d: Pull complete [2021-07-12T00:36:41.291Z] 5a37c24eccbd: Verifying Checksum [2021-07-12T00:36:41.291Z] 5a37c24eccbd: Download complete [2021-07-12T00:36:42.270Z] cb65c68fc2e2: Verifying Checksum [2021-07-12T00:36:42.270Z] cb65c68fc2e2: Download complete [2021-07-12T00:36:52.458Z] cb65c68fc2e2: Pull complete [2021-07-12T00:36:52.732Z] 093eec477d81: Pull complete [2021-07-12T00:36:53.007Z] 20fd20ab2234: Pull complete [2021-07-12T00:36:53.604Z] 43245461236d: Pull complete [2021-07-12T00:36:57.942Z] 5a37c24eccbd: Pull complete [2021-07-12T00:36:57.942Z] Digest: sha256:1f93be31992c0c85398b36ba92fe0466778821d351774b6a75e3069a3cd419d7 [2021-07-12T00:36:57.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-12T00:36:57.942Z] ---> 274d7007c78b [2021-07-12T00:36:57.942Z] 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-12T00:36:59.934Z] ---> Running in 7e33be0c1942 [2021-07-12T00:37:01.370Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-12T00:37:01.964Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-12T00:37:02.940Z] (1/12) Installing libmagic (5.39-r0) [2021-07-12T00:37:03.210Z] (2/12) Installing file (5.39-r0) [2021-07-12T00:37:03.210Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-12T00:37:03.210Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-12T00:37:08.598Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-12T00:37:08.598Z] (6/12) Installing patch (2.7.6-r7) [2021-07-12T00:37:08.598Z] (7/12) Installing build-base (0.5-r2) [2021-07-12T00:37:08.598Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-12T00:37:08.598Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-12T00:37:08.598Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-12T00:37:08.598Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-12T00:37:08.598Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-12T00:37:08.880Z] Executing busybox-1.32.1-r6.trigger [2021-07-12T00:37:08.880Z] OK: 218 MiB in 52 packages [2021-07-12T00:37:13.193Z] Removing intermediate container 7e33be0c1942 [2021-07-12T00:37:13.193Z] ---> d964f4f9573e [2021-07-12T00:37:13.193Z] Step 4/6 : WORKDIR /edgex-go [2021-07-12T00:37:13.193Z] ---> Running in 33c96caf7d0f [2021-07-12T00:37:13.193Z] Removing intermediate container 33c96caf7d0f [2021-07-12T00:37:13.193Z] ---> 59695b306b0f [2021-07-12T00:37:13.193Z] Step 5/6 : COPY go.mod . [2021-07-12T00:37:14.198Z] ---> 35904cedb6db [2021-07-12T00:37:14.198Z] Step 6/6 : RUN go mod download [2021-07-12T00:37:14.198Z] ---> Running in 29eb8efb64d2 [2021-07-12T00:37:41.001Z] Removing intermediate container 29eb8efb64d2 [2021-07-12T00:37:41.001Z] ---> f759605a508e [2021-07-12T00:37:41.001Z] Successfully built f759605a508e [2021-07-12T00:37:41.001Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:37:41.349Z] + docker inspect -f . ci-base-image-arm64 [2021-07-12T00:37:41.349Z] . [Pipeline] withDockerContainer [2021-07-12T00:37:41.799Z] prd-ubuntu18.04-docker-arm64-4c-16g-2516 does not seem to be running inside a container [2021-07-12T00:37:41.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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-arm64 cat [2021-07-12T00:37:43.625Z] $ docker top 90a76c0cb2543c37754d850f9481e7a1f10f08b37a9810e6c4a1dfd40d59b105 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-12T00:37:44.659Z] + go version [2021-07-12T00:37:44.659Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-12T00:37:44.682Z] $ docker stop --time=1 90a76c0cb2543c37754d850f9481e7a1f10f08b37a9810e6c4a1dfd40d59b105 [2021-07-12T00:37:46.953Z] $ docker rm -f 90a76c0cb2543c37754d850f9481e7a1f10f08b37a9810e6c4a1dfd40d59b105 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:37:47.727Z] + docker inspect -f . ci-base-image-arm64 [2021-07-12T00:37:47.728Z] . [Pipeline] withDockerContainer [2021-07-12T00:37:47.965Z] prd-ubuntu18.04-docker-arm64-4c-16g-2516 does not seem to be running inside a container [2021-07-12T00:37:48.047Z] $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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-arm64 cat [2021-07-12T00:37:49.650Z] $ docker top 26d8b198e88741b03a20e71df63d712c16b21f50b18059cda2f720d1ee99fb05 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-12T00:37:49.981Z] ========================================================= [2021-07-12T00:37:49.981Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-12T00:37:49.981Z] ========================================================= [Pipeline] sh [2021-07-12T00:37:50.643Z] + go mod tidy [Pipeline] sh [2021-07-12T00:37:52.020Z] + make test [2021-07-12T00:37:52.020Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-07-12T00:37:52.020Z] go mod tidy [2021-07-12T00:37:52.623Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-12T00:38:19.434Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-07-12T00:39:16.061Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-07-12T00:39:16.061Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-07-12T00:39:16.061Z] internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-12T00:39:42.949Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-07-12T00:39:42.949Z] internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-12T00:39:42.949Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.229s coverage: 28.7% of statements [2021-07-12T00:39:43.947Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.395s coverage: 100.0% of statements [2021-07-12T00:39:45.391Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.324s coverage: 50.5% of statements [2021-07-12T00:39:45.391Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-07-12T00:39:45.391Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.185s coverage: 78.9% of statements [2021-07-12T00:39:47.380Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.190s coverage: 81.2% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.468s coverage: 95.1% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.162s coverage: 60.0% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.359s coverage: 0.8% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.147s coverage: 58.8% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.161s coverage: 22.0% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.235s coverage: 47.1% of statements [2021-07-12T00:39:52.806Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.204s coverage: 79.5% of statements [2021-07-12T00:39:53.082Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.164s coverage: 94.1% of statements [2021-07-12T00:39:54.075Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.232s coverage: 96.3% of statements [2021-07-12T00:39:55.068Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.164s coverage: 87.5% of statements [2021-07-12T00:40:07.489Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.197s coverage: 94.4% of statements [2021-07-12T00:40:07.489Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.149s coverage: 44.8% of statements [2021-07-12T00:40:11.803Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.547s coverage: 81.8% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.254s coverage: 92.9% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.168s coverage: 87.2% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.150s coverage: 100.0% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.162s coverage: 58.8% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.209s coverage: 80.0% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.225s coverage: 87.2% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.252s coverage: 85.4% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.301s coverage: 91.2% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.634s coverage: 64.4% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.154s coverage: 100.0% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.088s coverage: 91.3% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.055s coverage: 100.0% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.125s coverage: 73.7% of statements [2021-07-12T00:40:20.136Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.071s coverage: 100.0% of statements [2021-07-12T00:40:24.473Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.069s coverage: 66.9% of statements [2021-07-12T00:40:26.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.755s coverage: 43.6% of statements [2021-07-12T00:40:26.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.212s coverage: 89.5% of statements [2021-07-12T00:40:26.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.247s coverage: 84.8% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.208s coverage: 19.3% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.529s coverage: 91.9% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.209s coverage: 62.7% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.352s coverage: 97.6% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.166s coverage: 28.9% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.162s coverage: 100.0% of statements [2021-07-12T00:40:34.774Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 95.4% of statements [2021-07-12T00:40:35.397Z] make: *** [Makefile:101: test] Error 2 [Pipeline] } [2021-07-12T00:40:35.418Z] $ docker stop --time=1 26d8b198e88741b03a20e71df63d712c16b21f50b18059cda2f720d1ee99fb05 [2021-07-12T00:40:37.439Z] $ docker rm -f 26d8b198e88741b03a20e71df63d712c16b21f50b18059cda2f720d1ee99fb05 [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-12T00:40:39.392Z] ---> job-cost.sh [2021-07-12T00:40:39.392Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GS4M [2021-07-12T00:41:18.360Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-12T00:42:55.133Z] lf-activate-venv(): INFO: Adding /tmp/venv-GS4M/bin to PATH [2021-07-12T00:42:55.133Z] INFO: No Stack... [2021-07-12T00:42:55.133Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-12T00:42:55.133Z] INFO: Archiving Costs [Pipeline] sh [2021-07-12T00:42:55.511Z] + + cutcat -d, /w/workspace/edgex-go/10/archives/cost.csv -f6 [2021-07-12T00:42:55.511Z] [Pipeline] lock [2021-07-12T00:42:55.592Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3577-10-stack-cost] [2021-07-12T00:42:55.601Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3577-10-stack-cost] did not exist. Created. [2021-07-12T00:42:55.601Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3577-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-12T00:42:55.995Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-12T00:42:56.720Z] Stashed 1 file(s) [Pipeline] } [2021-07-12T00:42:56.754Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3577-10-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-12T00:42:57.075Z] 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-12T00:42:58.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:42:59.102Z] ---> package-listing.sh [2021-07-12T00:42:59.102Z] ++ facter osfamily [2021-07-12T00:42:59.102Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-12T00:42:59.363Z] + OS_FAMILY=redhat [2021-07-12T00:42:59.363Z] + workspace=/w/workspace/edgex-go/10 [2021-07-12T00:42:59.363Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-12T00:42:59.363Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-12T00:42:59.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-12T00:42:59.363Z] + PACKAGES=/tmp/packages_start.txt [2021-07-12T00:42:59.363Z] + '[' /w/workspace/edgex-go/10 ']' [2021-07-12T00:42:59.363Z] + PACKAGES=/tmp/packages_end.txt [2021-07-12T00:42:59.363Z] + case "${OS_FAMILY}" in [2021-07-12T00:42:59.363Z] + rpm -qa [2021-07-12T00:42:59.363Z] + sort [2021-07-12T00:42:59.940Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-12T00:42:59.940Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-12T00:42:59.940Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-12T00:42:59.940Z] + '[' /w/workspace/edgex-go/10 ']' [2021-07-12T00:42:59.940Z] + mkdir -p /w/workspace/edgex-go/10/archives/ [2021-07-12T00:42:59.940Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/10/archives/ [Pipeline] echo [2021-07-12T00:42:59.955Z] 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/10/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-12T00:43:00.240Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:43:00.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-12T00:43:00.806Z] [2021-07-12T00:43:00.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-12T00:43:01.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-12T00:43:01.119Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-12T00:43:01.119Z] df20fa9351a1: Pulling fs layer [2021-07-12T00:43:01.119Z] 36b3adc4ff6f: Pulling fs layer [2021-07-12T00:43:01.119Z] 8ad3a11d3b57: Pulling fs layer [2021-07-12T00:43:01.119Z] 46f8f816bc3b: Pulling fs layer [2021-07-12T00:43:01.119Z] 93b61091891f: Pulling fs layer [2021-07-12T00:43:01.119Z] 93b9cdb0e59b: Pulling fs layer [2021-07-12T00:43:01.119Z] 5e14af77c1be: Pulling fs layer [2021-07-12T00:43:01.119Z] 01666e4c0597: Pulling fs layer [2021-07-12T00:43:01.119Z] aa168da1d23b: Pulling fs layer [2021-07-12T00:43:01.119Z] 93b9cdb0e59b: Waiting [2021-07-12T00:43:01.119Z] 5e14af77c1be: Waiting [2021-07-12T00:43:01.119Z] 01666e4c0597: Waiting [2021-07-12T00:43:01.119Z] aa168da1d23b: Waiting [2021-07-12T00:43:01.119Z] 46f8f816bc3b: Waiting [2021-07-12T00:43:01.119Z] 93b61091891f: Waiting [2021-07-12T00:43:01.119Z] 36b3adc4ff6f: Verifying Checksum [2021-07-12T00:43:01.119Z] 36b3adc4ff6f: Download complete [2021-07-12T00:43:01.379Z] 46f8f816bc3b: Verifying Checksum [2021-07-12T00:43:01.379Z] 46f8f816bc3b: Download complete [2021-07-12T00:43:01.379Z] df20fa9351a1: Verifying Checksum [2021-07-12T00:43:01.379Z] df20fa9351a1: Download complete [2021-07-12T00:43:01.379Z] 93b9cdb0e59b: Verifying Checksum [2021-07-12T00:43:01.379Z] 93b9cdb0e59b: Download complete [2021-07-12T00:43:01.379Z] 93b61091891f: Verifying Checksum [2021-07-12T00:43:01.379Z] 93b61091891f: Download complete [2021-07-12T00:43:01.379Z] 5e14af77c1be: Verifying Checksum [2021-07-12T00:43:01.379Z] 5e14af77c1be: Download complete [2021-07-12T00:43:01.379Z] 01666e4c0597: Verifying Checksum [2021-07-12T00:43:01.379Z] 01666e4c0597: Download complete [2021-07-12T00:43:01.379Z] 8ad3a11d3b57: Verifying Checksum [2021-07-12T00:43:01.379Z] 8ad3a11d3b57: Download complete [2021-07-12T00:43:01.379Z] df20fa9351a1: Pull complete [2021-07-12T00:43:01.646Z] 36b3adc4ff6f: Pull complete [2021-07-12T00:43:02.225Z] 8ad3a11d3b57: Pull complete [2021-07-12T00:43:02.226Z] 46f8f816bc3b: Pull complete [2021-07-12T00:43:02.487Z] 93b61091891f: Pull complete [2021-07-12T00:43:02.752Z] 93b9cdb0e59b: Pull complete [2021-07-12T00:43:02.752Z] 5e14af77c1be: Pull complete [2021-07-12T00:43:02.752Z] 01666e4c0597: Pull complete [2021-07-12T00:43:03.701Z] aa168da1d23b: Verifying Checksum [2021-07-12T00:43:03.701Z] aa168da1d23b: Download complete [2021-07-12T00:43:07.951Z] aa168da1d23b: Pull complete [2021-07-12T00:43:07.951Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-12T00:43:07.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-12T00:43:07.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-12T00:43:08.026Z] prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container [2021-07-12T00:43:08.062Z] $ 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/10/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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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-12T00:43:10.640Z] $ docker top 08c4d803db5456760c1feb36bdc6c6a3f0eba1bf6dd467b4b0e90b2dfe989dbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-12T00:43:11.026Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-12T00:43:11.324Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-12T00:43:11.631Z] + ls /var/log/sa-host [2021-07-12T00:43:11.631Z] + sadf -c /var/log/sa-host/sa05 [2021-07-12T00:43:11.631Z] file_magic: OK [2021-07-12T00:43:11.631Z] HZ: Using current value: 100 [2021-07-12T00:43:11.631Z] file_header: OK [2021-07-12T00:43:11.631Z] 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-12T00:43:11.631Z] Statistics: [2021-07-12T00:43:11.631Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-12T00:43:11.631Z] File successfully converted to sysstat format version 12.2.1 [2021-07-12T00:43:11.631Z] + sadf -c /var/log/sa-host/sa12 [2021-07-12T00:43:11.631Z] file_magic: OK [2021-07-12T00:43:11.631Z] HZ: Using current value: 100 [2021-07-12T00:43:11.631Z] file_header: OK [2021-07-12T00:43:11.631Z] 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-12T00:43:11.631Z] Statistics: [2021-07-12T00:43:11.631Z] 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-12T00:43:11.631Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-12T00:43:12.256Z] provisioning config files... [2021-07-12T00:43:12.274Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/10@tmp/config1219065665225504398tmp [Pipeline] { [Pipeline] echo [2021-07-12T00:43:12.299Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:43:12.594Z] ---> create-netrc.sh [Pipeline] } [2021-07-12T00:43:12.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:43:13.003Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-12T00:43:13.013Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:43:13.311Z] ---> sudo-logs.sh [2021-07-12T00:43:13.311Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-12T00:43:13.350Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:43:13.644Z] ---> job-cost.sh [2021-07-12T00:43:13.644Z] lf-activate-venv: SKIPPING [2021-07-12T00:43:13.644Z] DEBUG: total: 0.18000000715255737 [2021-07-12T00:43:13.644Z] INFO: Retrieving Stack Cost... [2021-07-12T00:43:15.029Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-12T00:43:15.290Z] INFO: Archiving Costs [Pipeline] echo [2021-07-12T00:43:15.305Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-12T00:43:15.602Z] ---> logs-deploy.sh [2021-07-12T00:43:15.602Z] lf-activate-venv: SKIPPING [2021-07-12T00:43:15.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3577/10 [2021-07-12T00:43:15.602Z] INFO: archiving workspace using pattern(s): [2021-07-12T00:43:16.549Z] Archives upload complete. [2021-07-12T00:43:16.549Z] INFO: archiving logs to Nexus