Pull request #3474 updated 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 master at 7e9ba5b981db46d7eaa29bdee31d80878b461756 rather than f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc Obtained Jenkinsfile from 7e9ba5b981db46d7eaa29bdee31d80878b461756 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-ssh2056016548397311413.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh1411685992523414008.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 9d0281235b943b7ad605f650702698f9078b2862 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-3474/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-3474/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7512316167739518886.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh4490988785478560582.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-3474/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-3474/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5841817594449882264.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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/v1, 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/v1 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-341 in /w/workspace/edgexfoundry_edgex-go_PR-3474 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/2@tmp/jenkins-gitclient-ssh139091076320751353.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh5014591574286756618.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3474/head:refs/remotes/origin/PR-3474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7e9ba5b981db46d7eaa29bdee31d80878b461756 into PR head commit f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc Merge succeeded, producing f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc Checking out Revision f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc (PR-3474) > git config core.sparsecheckout # timeout=10 > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # 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/2@tmp/jenkins-gitclient-ssh5369610701836854703.key > git merge 7e9ba5b981db46d7eaa29bdee31d80878b461756 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 Commit message: "feat(data): Implement events subscribing from message bus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-17T13:12:27.380Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-17T13:12:27.461Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-17T13:12:27.486Z] ========================================================= [2021-05-17T13:12:27.486Z] EdgeX Global Pipelines Version Info [2021-05-17T13:12:27.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:12:29.197Z] ------------------- [2021-05-17T13:12:29.197Z] stable info: [2021-05-17T13:12:29.197Z] ------------------- [2021-05-17T13:12:29.197Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-17T13:12:29.197Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T13:12:29.197Z] Message: update stable to v1.0.192 > git rev-list --no-walk b47c3b3a446bac6f29aad41a0bc3be85dc4aa247 # timeout=10 [2021-05-17T13:12:30.654Z] ------------------- [2021-05-17T13:12:30.654Z] experimental info: [2021-05-17T13:12:30.654Z] ------------------- [2021-05-17T13:12:30.654Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-17T13:12:30.654Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T13:12:30.654Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-17T13:12:30.839Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-17T13:12:30.870Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-17T13:12:30.892Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-17T13:12:30.914Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-17T13:12:30.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-17T13:12:30.965Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-17T13:12:31.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-17T13:12:31.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-17T13:12:31.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-05-17T13:12:31.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-05-17T13:12:31.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-17T13:12:31.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-17T13:12:31.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-17T13:12:31.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-17T13:12:31.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T13:12:31.211Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T13:12:31.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-17T13:12:31.254Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-17T13:12:31.279Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-17T13:12:31.305Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-17T13:12:31.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-17T13:12:31.349Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-17T13:12:31.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3474 [Pipeline] echo [2021-05-17T13:12:31.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3474 [Pipeline] echo [2021-05-17T13:12:31.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3474 [Pipeline] echo [2021-05-17T13:12:31.439Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc [Pipeline] echo [2021-05-17T13:12:31.460Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f92cfa1 [Pipeline] echo [2021-05-17T13:12:31.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T13:12:31.552Z] provisioning config files... [2021-05-17T13:12:31.577Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8647457545188342662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:12:31.940Z] ---> docker-login.sh [2021-05-17T13:12:31.940Z] nexus3.edgexfoundry.org:10001 [2021-05-17T13:12:32.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:12:32.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:12:32.814Z] Configure a credential helper to remove this warning. See [2021-05-17T13:12:32.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:12:32.814Z] [2021-05-17T13:12:32.814Z] Login Succeeded [2021-05-17T13:12:32.814Z] nexus3.edgexfoundry.org:10002 [2021-05-17T13:12:32.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:12:33.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:12:33.096Z] Configure a credential helper to remove this warning. See [2021-05-17T13:12:33.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:12:33.096Z] [2021-05-17T13:12:33.096Z] Login Succeeded [2021-05-17T13:12:33.096Z] nexus3.edgexfoundry.org:10003 [2021-05-17T13:12:33.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:12:33.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:12:33.388Z] Configure a credential helper to remove this warning. See [2021-05-17T13:12:33.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:12:33.388Z] [2021-05-17T13:12:33.388Z] Login Succeeded [2021-05-17T13:12:33.388Z] nexus3.edgexfoundry.org:10004 [2021-05-17T13:12:33.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:12:33.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:12:33.671Z] Configure a credential helper to remove this warning. See [2021-05-17T13:12:33.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:12:33.671Z] [2021-05-17T13:12:33.671Z] Login Succeeded [2021-05-17T13:12:33.671Z] docker.io [2021-05-17T13:12:33.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:12:34.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:12:34.220Z] Configure a credential helper to remove this warning. See [2021-05-17T13:12:34.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:12:34.220Z] [2021-05-17T13:12:34.220Z] Login Succeeded [2021-05-17T13:12:34.220Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T13:12:34.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T13:12:34.598Z] ++ 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-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/core-command/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/core-data/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-17T13:12:34.598Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-17T13:12:34.598Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-17T13:12:34.598Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-17T13:12:34.598Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-17T13:12:34.598Z] ++ cut -d/ -f2 [2021-05-17T13:12:34.598Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-17T13:12:34.717Z] 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-05-17T13:12:35.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T13:12:35.452Z] [2021-05-17T13:12:35.452Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:12:35.841Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T13:12:35.841Z] latest: Pulling from edgex-devops/git-semver [2021-05-17T13:12:35.841Z] 31603596830f: Pulling fs layer [2021-05-17T13:12:35.841Z] 54011a49482f: Pulling fs layer [2021-05-17T13:12:35.841Z] a6820b24f6d8: Pulling fs layer [2021-05-17T13:12:35.841Z] f581987b2513: Pulling fs layer [2021-05-17T13:12:35.841Z] f581987b2513: Waiting [2021-05-17T13:12:35.841Z] 54011a49482f: Verifying Checksum [2021-05-17T13:12:35.841Z] 54011a49482f: Download complete [2021-05-17T13:12:36.122Z] 31603596830f: Verifying Checksum [2021-05-17T13:12:36.122Z] 31603596830f: Download complete [2021-05-17T13:12:36.392Z] a6820b24f6d8: Verifying Checksum [2021-05-17T13:12:36.392Z] a6820b24f6d8: Download complete [2021-05-17T13:12:36.690Z] f581987b2513: Verifying Checksum [2021-05-17T13:12:36.690Z] f581987b2513: Download complete [2021-05-17T13:12:36.966Z] 31603596830f: Pull complete [2021-05-17T13:12:37.279Z] 54011a49482f: Pull complete [2021-05-17T13:12:38.791Z] a6820b24f6d8: Pull complete [2021-05-17T13:12:39.065Z] f581987b2513: Pull complete [2021-05-17T13:12:39.065Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-17T13:12:39.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T13:12:39.065Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-17T13:12:39.321Z] prd-centos7-docker-4c-2g-341 does not seem to be running inside a container [2021-05-17T13:12:39.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-17T13:12:42.758Z] $ docker top d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T13:12:42.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T13:12:42.941Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T13:12:43.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T13:12:43.549Z] $ docker exec d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent [2021-05-17T13:12:43.795Z] SSH_AUTH_SOCK=/tmp/ssh-X19vAHXPLTyD/agent.11 [2021-05-17T13:12:43.795Z] SSH_AGENT_PID=17 [2021-05-17T13:12:43.823Z] Running ssh-add (command line suppressed) [2021-05-17T13:12:44.024Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_3238703081293785833.key (/w/workspace/edgex-go/2@tmp/private_key_3238703081293785833.key) [2021-05-17T13:12:44.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T13:12:44.548Z] + git tag --points-at HEAD [Pipeline] } [2021-05-17T13:12:44.613Z] $ docker exec --env ******** --env ******** d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent -k [2021-05-17T13:12:44.888Z] unset SSH_AUTH_SOCK; [2021-05-17T13:12:44.889Z] unset SSH_AGENT_PID; [2021-05-17T13:12:44.889Z] echo Agent pid 17 killed; [2021-05-17T13:12:44.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-17T13:12:45.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T13:12:45.003Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T13:12:45.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T13:12:45.437Z] $ docker exec d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent [2021-05-17T13:12:45.815Z] SSH_AUTH_SOCK=/tmp/ssh-7S8GkJxJ6Aa7/agent.46 [2021-05-17T13:12:45.815Z] SSH_AGENT_PID=51 [2021-05-17T13:12:45.824Z] Running ssh-add (command line suppressed) [2021-05-17T13:12:46.004Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_4291496480820066864.key (/w/workspace/edgex-go/2@tmp/private_key_4291496480820066864.key) [2021-05-17T13:12:46.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T13:12:46.485Z] + git semver init [2021-05-17T13:12:46.485Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T13:12:46.485Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-05-17T13:12:46.485Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-05-17T13:12:46.485Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T13:12:46.485Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T13:12:46.485Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T13:12:46.485Z] # $SEMVER_BRANCH = PR-3474 [2021-05-17T13:12:46.485Z] # $SEMVER_TEMP = /tmp/semver-947004010 [2021-05-17T13:12:46.485Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-17T13:13:54.747Z] # '/tmp/semver-947004010' -> '/w/workspace/edgex-go/2/.semver' [2021-05-17T13:13:54.747Z] # -> Force: false [2021-05-17T13:13:54.747Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-05-17T13:13:54.776Z] $ docker exec --env ******** --env ******** d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a ssh-agent -k [2021-05-17T13:13:55.119Z] unset SSH_AUTH_SOCK; [2021-05-17T13:13:55.119Z] unset SSH_AGENT_PID; [2021-05-17T13:13:55.120Z] echo Agent pid 51 killed; [2021-05-17T13:13:55.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T13:13:55.640Z] + git semver [Pipeline] } [2021-05-17T13:13:55.729Z] $ docker stop --time=1 d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a [2021-05-17T13:13:57.894Z] $ docker rm -f d4565cf6fd5bca54ed8945d1a38157e43960d8804beda4c35e20342cb6b9378a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T13:13:58.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-17T13:13:59.208Z] Stashed 1 file(s) [Pipeline] echo [2021-05-17T13:13:59.211Z] [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-05-17T13:13:59.841Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-17T13:14:00.184Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T13:14:00.495Z] + sudo service docker restart [2021-05-17T13:14:00.495Z] + true [2021-05-17T13:14:00.495Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-17T13:14:01.535Z] ========================================================= [2021-05-17T13:14:01.535Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-17T13:14:01.535Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:14:01.917Z] + 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-05-17T13:14:07.736Z] Sending build context to Docker daemon 330.4MB [2021-05-17T13:14:07.736Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T13:14:07.736Z] Step 2/6 : FROM ${BASE} [2021-05-17T13:14:08.024Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-17T13:14:08.024Z] 540db60ca938: Pulling fs layer [2021-05-17T13:14:08.024Z] adcc1eea9eea: Pulling fs layer [2021-05-17T13:14:08.024Z] 4c4ab2625f07: Pulling fs layer [2021-05-17T13:14:08.024Z] 0510c868ecb4: Pulling fs layer [2021-05-17T13:14:08.024Z] afea3b2eda06: Pulling fs layer [2021-05-17T13:14:08.024Z] 7809a108b3ef: Pulling fs layer [2021-05-17T13:14:08.024Z] f706445af74f: Pulling fs layer [2021-05-17T13:14:08.024Z] afea3b2eda06: Waiting [2021-05-17T13:14:08.024Z] 7809a108b3ef: Waiting [2021-05-17T13:14:08.024Z] f706445af74f: Waiting [2021-05-17T13:14:08.024Z] 0510c868ecb4: Waiting [2021-05-17T13:14:08.024Z] 4c4ab2625f07: Download complete [2021-05-17T13:14:08.024Z] adcc1eea9eea: Verifying Checksum [2021-05-17T13:14:08.024Z] adcc1eea9eea: Download complete [2021-05-17T13:14:08.024Z] afea3b2eda06: Verifying Checksum [2021-05-17T13:14:08.024Z] afea3b2eda06: Download complete [2021-05-17T13:14:08.323Z] 7809a108b3ef: Verifying Checksum [2021-05-17T13:14:08.323Z] 7809a108b3ef: Download complete [2021-05-17T13:14:08.594Z] 540db60ca938: Verifying Checksum [2021-05-17T13:14:08.594Z] 540db60ca938: Download complete [2021-05-17T13:14:08.862Z] 540db60ca938: Pull complete [2021-05-17T13:14:09.135Z] adcc1eea9eea: Pull complete [2021-05-17T13:14:09.739Z] 4c4ab2625f07: Pull complete [2021-05-17T13:14:11.692Z] f706445af74f: Verifying Checksum [2021-05-17T13:14:11.692Z] f706445af74f: Download complete [2021-05-17T13:14:11.692Z] 0510c868ecb4: Verifying Checksum [2021-05-17T13:14:11.692Z] 0510c868ecb4: Download complete [2021-05-17T13:14:14.466Z] Still waiting to schedule task [2021-05-17T13:14:14.466Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-17T13:14:19.988Z] 0510c868ecb4: Pull complete [2021-05-17T13:14:19.988Z] afea3b2eda06: Pull complete [2021-05-17T13:14:19.988Z] 7809a108b3ef: Pull complete [2021-05-17T13:14:24.262Z] f706445af74f: Pull complete [2021-05-17T13:14:24.262Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-17T13:14:24.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-17T13:14:24.262Z] ---> b068be0155e3 [2021-05-17T13:14:24.262Z] 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-05-17T13:14:24.262Z] ---> Running in 81d02d735f02 [2021-05-17T13:14:25.221Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T13:14:26.174Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T13:14:26.440Z] (1/12) Installing libmagic (5.39-r0) [2021-05-17T13:14:27.395Z] (2/12) Installing file (5.39-r0) [2021-05-17T13:14:27.395Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-17T13:14:27.395Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-17T13:14:31.634Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-17T13:14:31.634Z] (6/12) Installing patch (2.7.6-r6) [2021-05-17T13:14:31.634Z] (7/12) Installing build-base (0.5-r2) [2021-05-17T13:14:31.634Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-17T13:14:31.634Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-17T13:14:31.634Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-17T13:14:31.897Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-17T13:14:31.897Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-17T13:14:31.897Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T13:14:31.897Z] OK: 219 MiB in 52 packages [2021-05-17T13:14:36.174Z] Removing intermediate container 81d02d735f02 [2021-05-17T13:14:36.174Z] ---> 523f5a6faaff [2021-05-17T13:14:36.174Z] Step 4/6 : WORKDIR /edgex-go [2021-05-17T13:14:36.174Z] ---> Running in 4650f89bf735 [2021-05-17T13:14:36.446Z] Removing intermediate container 4650f89bf735 [2021-05-17T13:14:36.446Z] ---> 33dcb956878c [2021-05-17T13:14:36.446Z] Step 5/6 : COPY go.mod . [2021-05-17T13:14:37.053Z] ---> c2253b895bf5 [2021-05-17T13:14:37.053Z] Step 6/6 : RUN go mod download [2021-05-17T13:14:37.053Z] ---> Running in 27bc804dbe50 [2021-05-17T13:15:09.768Z] Removing intermediate container 27bc804dbe50 [2021-05-17T13:15:09.768Z] ---> a04186c6b77c [2021-05-17T13:15:09.768Z] Successfully built a04186c6b77c [2021-05-17T13:15:09.768Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:15:10.143Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T13:15:10.420Z] . [Pipeline] withDockerContainer [2021-05-17T13:15:10.654Z] prd-centos7-docker-4c-2g-341 does not seem to be running inside a container [2021-05-17T13:15:10.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-17T13:15:13.135Z] $ docker top 6f0706ea2a171d33fe156c5d7b917a18a4ff66382816467311ae5596d7ae78d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T13:15:13.770Z] + go version [2021-05-17T13:15:13.770Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-17T13:15:14.089Z] $ docker stop --time=1 6f0706ea2a171d33fe156c5d7b917a18a4ff66382816467311ae5596d7ae78d2 [2021-05-17T13:15:16.161Z] $ docker rm -f 6f0706ea2a171d33fe156c5d7b917a18a4ff66382816467311ae5596d7ae78d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:15:16.957Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T13:15:16.957Z] . [Pipeline] withDockerContainer [2021-05-17T13:15:17.309Z] prd-centos7-docker-4c-2g-341 does not seem to be running inside a container [2021-05-17T13:15:17.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-17T13:15:19.129Z] $ docker top bd5d52e839dba809067d59eb55b0bbb215e83830e3f39cb54892a4e6eb26ef84 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-17T13:15:19.566Z] ========================================================= [2021-05-17T13:15:19.566Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-17T13:15:19.566Z] ========================================================= [Pipeline] sh [2021-05-17T13:15:20.262Z] + go mod tidy [Pipeline] sh [2021-05-17T13:15:23.761Z] + make test [2021-05-17T13:15:23.762Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-17T13:15:42.535Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-17T13:16:15.569Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-17T13:16:15.758Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-342 in /w/workspace/edgexfoundry_edgex-go_PR-3474 [Pipeline] { [Pipeline] ws [2021-05-17T13:16:15.777Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-05-17T13:16:15.962Z] The recommended git tool is: git [2021-05-17T13:16:21.651Z] using credential edgex-jenkins-ssh [2021-05-17T13:16:21.707Z] Cloning the remote Git repository [2021-05-17T13:16:21.784Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-17T13:16:21.931Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-05-17T13:16:22.010Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-17T13:16:22.011Z] > git --version # timeout=10 [2021-05-17T13:16:22.026Z] > git --version # 'git version 2.17.1' [2021-05-17T13:16:22.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T13:16:22.139Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T13:16:24.250Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-05-17T13:16:24.251Z] internal/core/data/init.go:77:31: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) [2021-05-17T13:16:37.170Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-17T13:16:37.194Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T13:16:37.222Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-17T13:16:37.258Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-17T13:16:37.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T13:16:37.270Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3474/head:refs/remotes/origin/PR-3474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T13:16:38.107Z] Merging remotes/origin/master commit 7e9ba5b981db46d7eaa29bdee31d80878b461756 into PR head commit f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc [2021-05-17T13:16:38.552Z] Merge succeeded, producing f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc [2021-05-17T13:16:38.553Z] Checking out Revision f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc (PR-3474) [2021-05-17T13:16:39.528Z] # github.com/edgexfoundry/edgex-go/internal/core/data [github.com/edgexfoundry/edgex-go/internal/core/data.test] [2021-05-17T13:16:39.529Z] internal/core/data/init.go:77: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) [2021-05-17T13:16:39.529Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.198s coverage: 46.1% of statements [2021-05-17T13:16:39.529Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.107s coverage: 28.7% of statements [2021-05-17T13:16:39.828Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.150s coverage: 100.0% of statements [2021-05-17T13:16:39.828Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-17T13:16:38.130Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T13:16:38.149Z] > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 [2021-05-17T13:16:38.461Z] > git remote # timeout=10 [2021-05-17T13:16:38.482Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T13:16:38.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T13:16:38.505Z] > git merge 7e9ba5b981db46d7eaa29bdee31d80878b461756 # timeout=10 [2021-05-17T13:16:38.531Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T13:16:38.564Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T13:16:38.575Z] > git checkout -f f92cfa15b10f9417ccf7c0dd5e8abfb4d60ffddc # timeout=10 [2021-05-17T13:16:41.859Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.267s coverage: 81.2% of statements [2021-05-17T13:16:41.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.113s coverage: 100.0% of statements [2021-05-17T13:16:41.860Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.152s coverage: 100.0% of statements [2021-05-17T13:16:42.988Z] Commit message: "feat(data): Implement events subscribing from message bus" [2021-05-17T13:16:43.316Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.162s coverage: 54.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T13:16:43.635Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.315s coverage: 87.7% of statements [2021-05-17T13:16:43.635Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.124s coverage: 78.9% of statements [2021-05-17T13:16:44.430Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-17T13:16:44.835Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T13:16:45.182Z] + sudo service docker restart [2021-05-17T13:16:45.182Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T13:16:47.233Z] provisioning config files... [2021-05-17T13:16:47.265Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6221331063678775158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:16:47.651Z] ---> docker-login.sh [2021-05-17T13:16:47.651Z] nexus3.edgexfoundry.org:10001 [2021-05-17T13:16:47.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.393s coverage: 28.6% of statements [2021-05-17T13:16:47.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.121s coverage: 100.0% of statements [2021-05-17T13:16:47.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.113s coverage: 100.0% of statements [2021-05-17T13:16:47.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.205s coverage: 86.7% of statements [2021-05-17T13:16:47.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.164s coverage: 97.5% of statements [2021-05-17T13:16:47.985Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.118s coverage: 78.3% of statements [2021-05-17T13:16:48.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:16:48.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:16:48.915Z] Configure a credential helper to remove this warning. See [2021-05-17T13:16:48.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:16:48.915Z] [2021-05-17T13:16:48.915Z] Login Succeeded [2021-05-17T13:16:48.915Z] nexus3.edgexfoundry.org:10002 [2021-05-17T13:16:49.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:16:49.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:16:49.514Z] Configure a credential helper to remove this warning. See [2021-05-17T13:16:49.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:16:49.514Z] [2021-05-17T13:16:49.514Z] Login Succeeded [2021-05-17T13:16:49.514Z] nexus3.edgexfoundry.org:10003 [2021-05-17T13:16:50.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:16:50.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:16:50.114Z] Configure a credential helper to remove this warning. See [2021-05-17T13:16:50.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:16:50.114Z] [2021-05-17T13:16:50.114Z] Login Succeeded [2021-05-17T13:16:50.114Z] nexus3.edgexfoundry.org:10004 [2021-05-17T13:16:50.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:16:50.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:16:50.712Z] Configure a credential helper to remove this warning. See [2021-05-17T13:16:50.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:16:50.712Z] [2021-05-17T13:16:50.712Z] Login Succeeded [2021-05-17T13:16:50.712Z] docker.io [2021-05-17T13:16:51.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T13:16:51.417Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.713s coverage: 95.1% of statements [2021-05-17T13:16:51.417Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.101s coverage: 58.8% of statements [2021-05-17T13:16:51.417Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.107s coverage: 0.8% of statements [2021-05-17T13:16:51.417Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.090s coverage: 22.0% of statements [2021-05-17T13:16:51.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.175s coverage: 47.1% of statements [2021-05-17T13:16:51.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.097s coverage: 79.5% of statements [2021-05-17T13:16:51.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T13:16:51.583Z] Configure a credential helper to remove this warning. See [2021-05-17T13:16:51.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T13:16:51.583Z] [2021-05-17T13:16:51.583Z] Login Succeeded [2021-05-17T13:16:51.583Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T13:16:51.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-17T13:16:51.698Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.073s coverage: 94.1% of statements [Pipeline] echo [2021-05-17T13:16:51.908Z] ========================================================= [2021-05-17T13:16:51.908Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-17T13:16:51.908Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:16:51.979Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.138s coverage: 96.3% of statements [2021-05-17T13:16:52.253Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.084s coverage: 87.5% of statements [2021-05-17T13:16:52.284Z] + 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-05-17T13:16:54.931Z] Sending build context to Docker daemon 167.8MB [2021-05-17T13:16:54.931Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T13:16:54.931Z] Step 2/6 : FROM ${BASE} [2021-05-17T13:16:54.931Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-17T13:16:54.931Z] 595b0fe564bb: Pulling fs layer [2021-05-17T13:16:54.931Z] 7186ed65a4f7: Pulling fs layer [2021-05-17T13:16:54.931Z] 316046926c0a: Pulling fs layer [2021-05-17T13:16:54.931Z] 4ebd0625c992: Pulling fs layer [2021-05-17T13:16:54.931Z] 207e8628e3a3: Pulling fs layer [2021-05-17T13:16:54.931Z] c791037a9be2: Pulling fs layer [2021-05-17T13:16:54.931Z] ffd874e62e21: Pulling fs layer [2021-05-17T13:16:54.931Z] 4ebd0625c992: Waiting [2021-05-17T13:16:54.931Z] 207e8628e3a3: Waiting [2021-05-17T13:16:54.931Z] c791037a9be2: Waiting [2021-05-17T13:16:54.931Z] ffd874e62e21: Waiting [2021-05-17T13:16:54.931Z] 316046926c0a: Download complete [2021-05-17T13:16:54.931Z] 7186ed65a4f7: Verifying Checksum [2021-05-17T13:16:54.931Z] 7186ed65a4f7: Download complete [2021-05-17T13:16:54.931Z] 207e8628e3a3: Download complete [2021-05-17T13:16:54.931Z] c791037a9be2: Download complete [2021-05-17T13:16:54.931Z] 595b0fe564bb: Verifying Checksum [2021-05-17T13:16:54.931Z] 595b0fe564bb: Download complete [2021-05-17T13:16:55.545Z] 595b0fe564bb: Pull complete [2021-05-17T13:16:56.148Z] 7186ed65a4f7: Pull complete [2021-05-17T13:16:56.423Z] 316046926c0a: Pull complete [2021-05-17T13:16:57.414Z] ffd874e62e21: Verifying Checksum [2021-05-17T13:16:57.414Z] ffd874e62e21: Download complete [2021-05-17T13:16:58.392Z] 4ebd0625c992: Verifying Checksum [2021-05-17T13:16:58.392Z] 4ebd0625c992: Download complete [2021-05-17T13:17:04.717Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.089s coverage: 94.4% of statements [2021-05-17T13:17:04.717Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.083s coverage: 44.8% of statements [2021-05-17T13:17:07.312Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.359s coverage: 81.8% of statements [2021-05-17T13:17:08.565Z] 4ebd0625c992: Pull complete [2021-05-17T13:17:09.161Z] 207e8628e3a3: Pull complete [2021-05-17T13:17:09.440Z] c791037a9be2: Pull complete [2021-05-17T13:17:13.779Z] ffd874e62e21: Pull complete [2021-05-17T13:17:13.779Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-17T13:17:13.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-17T13:17:13.779Z] ---> cfc18b08335c [2021-05-17T13:17:13.779Z] 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-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.139s coverage: 92.9% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.043s coverage: 87.2% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.064s coverage: 100.0% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.085s coverage: 76.0% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.076s coverage: 80.0% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.146s coverage: 87.2% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.108s coverage: 85.4% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.165s coverage: 91.2% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.233s coverage: 64.4% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.090s coverage: 100.0% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.043s coverage: 91.3% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.057s coverage: 73.7% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.008s coverage: 66.9% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.363s coverage: 43.4% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.071s coverage: 89.5% of statements [2021-05-17T13:17:15.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.092s coverage: 84.8% of statements [2021-05-17T13:17:16.412Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.295s coverage: 47.1% of statements [2021-05-17T13:17:16.412Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.074s coverage: 100.0% of statements [2021-05-17T13:17:16.412Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.115s coverage: 100.0% of statements [2021-05-17T13:17:17.170Z] ---> Running in b11730be0b15 [2021-05-17T13:17:18.153Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T13:17:19.144Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T13:17:19.793Z] (1/12) Installing libmagic (5.39-r0) [2021-05-17T13:17:20.068Z] (2/12) Installing file (5.39-r0) [2021-05-17T13:17:20.345Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-17T13:17:20.345Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-17T13:17:21.125Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.219s coverage: 21.5% of statements [2021-05-17T13:17:21.125Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.385s coverage: 92.2% of statements [2021-05-17T13:17:21.125Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.023s coverage: 28.8% of statements [2021-05-17T13:17:21.125Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.146s coverage: 99.0% of statements [2021-05-17T13:17:21.125Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.141s coverage: 100.0% of statements [2021-05-17T13:17:22.191Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.096s coverage: 64.6% of statements [2021-05-17T13:17:22.780Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.183s coverage: 97.6% of statements [2021-05-17T13:17:22.780Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.050s coverage: 0.0% of statements [2021-05-17T13:17:22.780Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.037s coverage: 100.0% of statements [2021-05-17T13:17:22.780Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.060s coverage: 87.9% of statements [2021-05-17T13:17:23.063Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements [2021-05-17T13:17:23.656Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.088s coverage: 28.1% of statements [2021-05-17T13:17:23.656Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.046s coverage: 85.7% of statements [2021-05-17T13:17:23.929Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.045s coverage: 100.0% of statements [2021-05-17T13:17:24.514Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-17T13:17:24.539Z] $ docker stop --time=1 bd5d52e839dba809067d59eb55b0bbb215e83830e3f39cb54892a4e6eb26ef84 [2021-05-17T13:17:27.048Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-17T13:17:27.048Z] (6/12) Installing patch (2.7.6-r6) [2021-05-17T13:17:27.048Z] (7/12) Installing build-base (0.5-r2) [2021-05-17T13:17:27.048Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-17T13:17:27.048Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-17T13:17:27.048Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-17T13:17:27.048Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-17T13:17:27.048Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-17T13:17:27.048Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T13:17:27.048Z] OK: 218 MiB in 52 packages [2021-05-17T13:17:27.239Z] $ docker rm -f bd5d52e839dba809067d59eb55b0bbb215e83830e3f39cb54892a4e6eb26ef84 [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-05-17T13:17:28.345Z] Failed in branch amd64 [2021-05-17T13:17:31.360Z] Removing intermediate container b11730be0b15 [2021-05-17T13:17:31.360Z] ---> b437c5f722f3 [2021-05-17T13:17:31.360Z] Step 4/6 : WORKDIR /edgex-go [2021-05-17T13:17:31.360Z] ---> Running in d946ca63f377 [2021-05-17T13:17:31.635Z] Removing intermediate container d946ca63f377 [2021-05-17T13:17:31.635Z] ---> e093b506133a [2021-05-17T13:17:31.635Z] Step 5/6 : COPY go.mod . [2021-05-17T13:17:32.227Z] ---> 04c288ed9871 [2021-05-17T13:17:32.227Z] Step 6/6 : RUN go mod download [2021-05-17T13:17:32.503Z] ---> Running in afcb6bfee605 [2021-05-17T13:18:04.848Z] Removing intermediate container afcb6bfee605 [2021-05-17T13:18:04.848Z] ---> ad2b3d430f09 [2021-05-17T13:18:04.848Z] Successfully built ad2b3d430f09 [2021-05-17T13:18:04.848Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:18:05.200Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T13:18:05.200Z] . [Pipeline] withDockerContainer [2021-05-17T13:18:05.478Z] prd-ubuntu18.04-docker-arm64-4c-16g-342 does not seem to be running inside a container [2021-05-17T13:18:05.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-17T13:18:07.198Z] $ docker top 9999d1a837e44decdd6ce2ab1866d8a7dbad5731229f8ca01a19865c197ac219 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T13:18:08.164Z] + go version [2021-05-17T13:18:08.164Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-17T13:18:08.194Z] $ docker stop --time=1 9999d1a837e44decdd6ce2ab1866d8a7dbad5731229f8ca01a19865c197ac219 [2021-05-17T13:18:10.151Z] $ docker rm -f 9999d1a837e44decdd6ce2ab1866d8a7dbad5731229f8ca01a19865c197ac219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:18:10.996Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T13:18:10.996Z] . [Pipeline] withDockerContainer [2021-05-17T13:18:11.270Z] prd-ubuntu18.04-docker-arm64-4c-16g-342 does not seem to be running inside a container [2021-05-17T13:18:11.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-17T13:18:12.939Z] $ docker top 8cd4cdc6940a02d6c975d63813288cc20bb5ef47be86870ef9f0a549464fee06 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-17T13:18:13.308Z] ========================================================= [2021-05-17T13:18:13.309Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-17T13:18:13.309Z] ========================================================= [Pipeline] sh [2021-05-17T13:18:13.957Z] + go mod tidy [Pipeline] sh [2021-05-17T13:18:15.625Z] + make test [2021-05-17T13:18:15.625Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-17T13:18:42.459Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-17T13:19:39.106Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-05-17T13:19:41.755Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-05-17T13:19:41.755Z] internal/core/data/init.go:77:31: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) [2021-05-17T13:20:20.839Z] # github.com/edgexfoundry/edgex-go/internal/core/data [github.com/edgexfoundry/edgex-go/internal/core/data.test] [2021-05-17T13:20:20.839Z] internal/core/data/init.go:77: configuration.MessageQueue.SubscribeEnabled undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v2/config".MessageBusInfo has no field or method SubscribeEnabled) [2021-05-17T13:20:20.839Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.394s coverage: 46.1% of statements [2021-05-17T13:20:20.839Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.201s coverage: 28.7% of statements [2021-05-17T13:20:20.839Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.322s coverage: 100.0% of statements [2021-05-17T13:20:20.839Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-17T13:20:22.289Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.203s coverage: 81.2% of statements [2021-05-17T13:20:22.289Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.216s coverage: 100.0% of statements [2021-05-17T13:20:22.289Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.207s coverage: 100.0% of statements [2021-05-17T13:20:24.313Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.423s coverage: 54.5% of statements [2021-05-17T13:20:26.976Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.490s coverage: 87.7% of statements [2021-05-17T13:20:26.976Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.193s coverage: 78.9% of statements [2021-05-17T13:20:37.173Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.213s coverage: 28.6% of statements [2021-05-17T13:20:37.173Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.282s coverage: 100.0% of statements [2021-05-17T13:20:37.173Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.360s coverage: 100.0% of statements [2021-05-17T13:20:37.173Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.443s coverage: 86.7% of statements [2021-05-17T13:20:37.173Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.536s coverage: 97.5% of statements [2021-05-17T13:20:37.173Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.276s coverage: 78.3% of statements [2021-05-17T13:20:42.590Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.330s coverage: 95.1% of statements [2021-05-17T13:20:42.590Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.194s coverage: 58.8% of statements [2021-05-17T13:20:42.590Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.321s coverage: 0.8% of statements [2021-05-17T13:20:42.590Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.164s coverage: 22.0% of statements [2021-05-17T13:20:42.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.216s coverage: 47.1% of statements [2021-05-17T13:20:42.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.187s coverage: 79.5% of statements [2021-05-17T13:20:42.868Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.221s coverage: 94.1% of statements [2021-05-17T13:20:44.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.254s coverage: 96.3% of statements [2021-05-17T13:20:44.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.242s coverage: 87.5% of statements [2021-05-17T13:20:57.316Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.237s coverage: 94.4% of statements [2021-05-17T13:20:57.316Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.175s coverage: 44.8% of statements [2021-05-17T13:21:02.837Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.576s coverage: 81.8% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.267s coverage: 92.9% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.079s coverage: 87.2% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.181s coverage: 100.0% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.220s coverage: 76.0% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.199s coverage: 80.0% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.276s coverage: 87.2% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.290s coverage: 85.4% of statements [2021-05-17T13:21:09.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.323s coverage: 91.2% of statements [2021-05-17T13:21:11.050Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.788s coverage: 64.4% of statements [2021-05-17T13:21:11.050Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.167s coverage: 100.0% of statements [2021-05-17T13:21:11.050Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.150s coverage: 91.3% of statements [2021-05-17T13:21:11.050Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.062s coverage: 100.0% of statements [2021-05-17T13:21:11.654Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.086s coverage: 73.7% of statements [2021-05-17T13:21:11.933Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements [2021-05-17T13:21:16.264Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.044s coverage: 66.9% of statements [2021-05-17T13:21:17.723Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.716s coverage: 43.4% of statements [2021-05-17T13:21:17.723Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.185s coverage: 89.5% of statements [2021-05-17T13:21:17.723Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements [2021-05-17T13:21:23.150Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.481s coverage: 47.1% of statements [2021-05-17T13:21:23.151Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.147s coverage: 100.0% of statements [2021-05-17T13:21:23.151Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.100s coverage: 100.0% of statements [2021-05-17T13:21:25.788Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.245s coverage: 21.5% of statements [2021-05-17T13:21:25.788Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.432s coverage: 92.2% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.627s coverage: 28.8% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.175s coverage: 99.0% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.199s coverage: 100.0% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.192s coverage: 64.6% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.373s coverage: 97.6% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.048s coverage: 0.0% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.080s coverage: 100.0% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.092s coverage: 87.9% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.064s coverage: 100.0% of statements [2021-05-17T13:21:34.109Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.169s coverage: 28.1% of statements [2021-05-17T13:21:35.090Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application 0.051s coverage: 85.7% of statements [2021-05-17T13:21:35.685Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 100.0% of statements [2021-05-17T13:21:36.280Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-17T13:21:36.311Z] $ docker stop --time=1 8cd4cdc6940a02d6c975d63813288cc20bb5ef47be86870ef9f0a549464fee06 [2021-05-17T13:21:38.522Z] $ docker rm -f 8cd4cdc6940a02d6c975d63813288cc20bb5ef47be86870ef9f0a549464fee06 [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-05-17T13:21:40.510Z] ---> job-cost.sh [2021-05-17T13:21:40.510Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-axfj [2021-05-17T13:22:19.486Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T13:23:41.226Z] lf-activate-venv(): INFO: Adding /tmp/venv-axfj/bin to PATH [2021-05-17T13:23:41.226Z] INFO: No Stack... [2021-05-17T13:23:41.820Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-17T13:23:42.096Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T13:23:42.453Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2021-05-17T13:23:42.453Z] + cut -d, -f6 [Pipeline] lock [2021-05-17T13:23:42.518Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] [2021-05-17T13:23:42.527Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] did not exist. Created. [2021-05-17T13:23:42.527Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T13:23:42.885Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-17T13:23:43.654Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T13:23:43.664Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3474-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T13:23:43.900Z] 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-05-17T13:23:45.253Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:23:46.151Z] ---> package-listing.sh [2021-05-17T13:23:46.151Z] ++ facter osfamily [2021-05-17T13:23:46.151Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-17T13:23:46.151Z] + OS_FAMILY=redhat [2021-05-17T13:23:46.151Z] + workspace=/w/workspace/edgex-go/2 [2021-05-17T13:23:46.151Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-17T13:23:46.151Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-17T13:23:46.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-17T13:23:46.151Z] + PACKAGES=/tmp/packages_start.txt [2021-05-17T13:23:46.151Z] + '[' /w/workspace/edgex-go/2 ']' [2021-05-17T13:23:46.151Z] + PACKAGES=/tmp/packages_end.txt [2021-05-17T13:23:46.151Z] + case "${OS_FAMILY}" in [2021-05-17T13:23:46.151Z] + rpm -qa [2021-05-17T13:23:46.151Z] + sort [2021-05-17T13:23:51.483Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-17T13:23:51.483Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-17T13:23:51.483Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-17T13:23:51.483Z] + '[' /w/workspace/edgex-go/2 ']' [2021-05-17T13:23:51.483Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-05-17T13:23:51.483Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-05-17T13:23:51.500Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-17T13:23:51.819Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:23:52.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T13:23:52.403Z] [2021-05-17T13:23:52.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-17T13:23:52.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T13:23:52.740Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-17T13:23:52.740Z] df20fa9351a1: Pulling fs layer [2021-05-17T13:23:52.740Z] 36b3adc4ff6f: Pulling fs layer [2021-05-17T13:23:52.740Z] 8ad3a11d3b57: Pulling fs layer [2021-05-17T13:23:52.740Z] 46f8f816bc3b: Pulling fs layer [2021-05-17T13:23:52.740Z] 93b61091891f: Pulling fs layer [2021-05-17T13:23:52.740Z] 93b9cdb0e59b: Pulling fs layer [2021-05-17T13:23:52.740Z] 5e14af77c1be: Pulling fs layer [2021-05-17T13:23:52.740Z] 01666e4c0597: Pulling fs layer [2021-05-17T13:23:52.740Z] aa168da1d23b: Pulling fs layer [2021-05-17T13:23:52.740Z] 93b61091891f: Waiting [2021-05-17T13:23:52.740Z] 93b9cdb0e59b: Waiting [2021-05-17T13:23:52.740Z] 5e14af77c1be: Waiting [2021-05-17T13:23:52.740Z] 01666e4c0597: Waiting [2021-05-17T13:23:52.740Z] aa168da1d23b: Waiting [2021-05-17T13:23:52.740Z] 46f8f816bc3b: Waiting [2021-05-17T13:23:52.740Z] 36b3adc4ff6f: Verifying Checksum [2021-05-17T13:23:52.740Z] 36b3adc4ff6f: Download complete [2021-05-17T13:23:53.021Z] 46f8f816bc3b: Verifying Checksum [2021-05-17T13:23:53.021Z] 46f8f816bc3b: Download complete [2021-05-17T13:23:53.021Z] df20fa9351a1: Verifying Checksum [2021-05-17T13:23:53.021Z] 93b9cdb0e59b: Verifying Checksum [2021-05-17T13:23:53.021Z] 93b9cdb0e59b: Download complete [2021-05-17T13:23:53.021Z] 93b61091891f: Verifying Checksum [2021-05-17T13:23:53.021Z] 93b61091891f: Download complete [2021-05-17T13:23:53.021Z] 5e14af77c1be: Verifying Checksum [2021-05-17T13:23:53.021Z] 5e14af77c1be: Download complete [2021-05-17T13:23:53.021Z] 01666e4c0597: Verifying Checksum [2021-05-17T13:23:53.021Z] 01666e4c0597: Download complete [2021-05-17T13:23:53.614Z] df20fa9351a1: Pull complete [2021-05-17T13:23:53.614Z] 8ad3a11d3b57: Verifying Checksum [2021-05-17T13:23:53.614Z] 8ad3a11d3b57: Download complete [2021-05-17T13:23:53.614Z] 36b3adc4ff6f: Pull complete [2021-05-17T13:23:55.047Z] 8ad3a11d3b57: Pull complete [2021-05-17T13:23:55.047Z] 46f8f816bc3b: Pull complete [2021-05-17T13:23:55.635Z] 93b61091891f: Pull complete [2021-05-17T13:23:55.635Z] 93b9cdb0e59b: Pull complete [2021-05-17T13:23:55.907Z] 5e14af77c1be: Pull complete [2021-05-17T13:23:56.172Z] 01666e4c0597: Pull complete [2021-05-17T13:23:56.172Z] aa168da1d23b: Verifying Checksum [2021-05-17T13:23:56.172Z] aa168da1d23b: Download complete [2021-05-17T13:24:04.427Z] aa168da1d23b: Pull complete [2021-05-17T13:24:04.427Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-17T13:24:04.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T13:24:04.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-17T13:24:04.594Z] prd-centos7-docker-4c-2g-341 does not seem to be running inside a container [2021-05-17T13:24:04.662Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-17T13:24:07.976Z] $ docker top ea79ffa36d9c05019a739c95a9ebb7a07bd8c73b3e44312f902e59bc1483e189 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T13:24:08.498Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-17T13:24:08.848Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-17T13:24:09.185Z] + ls /var/log/sa-host [2021-05-17T13:24:09.185Z] + sadf -c /var/log/sa-host/sa17 [2021-05-17T13:24:09.185Z] file_magic: OK [2021-05-17T13:24:09.185Z] HZ: Using current value: 100 [2021-05-17T13:24:09.185Z] file_header: OK [2021-05-17T13:24:09.185Z] 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-05-17T13:24:09.185Z] Statistics: [2021-05-17T13:24:09.185Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-17T13:24:09.185Z] File successfully converted to sysstat format version 12.2.1 [2021-05-17T13:24:09.185Z] + sadf -c /var/log/sa-host/sa23 [2021-05-17T13:24:09.185Z] file_magic: OK [2021-05-17T13:24:09.185Z] HZ: Using current value: 100 [2021-05-17T13:24:09.185Z] file_header: OK [2021-05-17T13:24:09.185Z] 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-05-17T13:24:09.185Z] Statistics: [2021-05-17T13:24:09.185Z] Hnuu...uuuununununu... [2021-05-17T13:24:09.185Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T13:24:09.390Z] provisioning config files... [2021-05-17T13:24:09.411Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config1936741551480569484tmp [Pipeline] { [Pipeline] echo [2021-05-17T13:24:09.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:24:09.752Z] ---> create-netrc.sh [Pipeline] } [2021-05-17T13:24:09.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-17T13:24:09.786Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:24:10.096Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-17T13:24:10.109Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:24:10.415Z] ---> sudo-logs.sh [2021-05-17T13:24:10.415Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-17T13:24:10.498Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:24:10.808Z] ---> job-cost.sh [2021-05-17T13:24:10.808Z] lf-activate-venv: SKIPPING [2021-05-17T13:24:10.808Z] DEBUG: total: 0.20999999344348907 [2021-05-17T13:24:10.808Z] INFO: Retrieving Stack Cost... [2021-05-17T13:24:11.758Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T13:24:12.336Z] INFO: Archiving Costs [Pipeline] echo [2021-05-17T13:24:12.352Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T13:24:12.657Z] ---> logs-deploy.sh [2021-05-17T13:24:12.657Z] lf-activate-venv: SKIPPING [2021-05-17T13:24:12.657Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3474/2 [2021-05-17T13:24:12.657Z] INFO: archiving workspace using pattern(s): [2021-05-17T13:24:14.585Z] Archives upload complete. [2021-05-17T13:24:14.585Z] INFO: archiving logs to Nexus