Pull request #3328 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 beaufrusetta for edgexfoundry/edgex-go Loading trusted files from base branch master at f2bd0815c0e73667d07e5744b61daa5be38d8f92 rather than 7b86f71e7fdb0a234f7db7242a366e17f7e8b6db Obtained Jenkinsfile from f2bd0815c0e73667d07e5744b61daa5be38d8f92 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go 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-32334 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/13 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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/13 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f2bd0815c0e73667d07e5744b61daa5be38d8f92 into PR head commit 7b86f71e7fdb0a234f7db7242a366e17f7e8b6db > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b86f71e7fdb0a234f7db7242a366e17f7e8b6db # timeout=10 Merge succeeded, producing 371e2cabbe3ab8dd03b3055751727bfeaebd12d7 Checking out Revision 371e2cabbe3ab8dd03b3055751727bfeaebd12d7 (PR-3328) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f2bd0815c0e73667d07e5744b61daa5be38d8f92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 371e2cabbe3ab8dd03b3055751727bfeaebd12d7 # timeout=10 Commit message: "Merge commit 'f2bd0815c0e73667d07e5744b61daa5be38d8f92' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T21:23:56.863Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 7075e2b3e320f0a9a2ee2adf8f63676dafc1cc0a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T21:23:57.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T21:23:57.256Z] ========================================================= [2021-03-31T21:23:57.257Z] EdgeX Global Pipelines Version Info [2021-03-31T21:23:57.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:23:58.739Z] ------------------- [2021-03-31T21:23:58.739Z] stable info: [2021-03-31T21:23:58.739Z] ------------------- [2021-03-31T21:23:58.739Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T21:23:58.739Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T21:23:58.739Z] Message: update stable to v1.0.186 [2021-03-31T21:23:59.684Z] ------------------- [2021-03-31T21:23:59.684Z] experimental info: [2021-03-31T21:23:59.684Z] ------------------- [2021-03-31T21:23:59.685Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T21:23:59.685Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T21:23:59.685Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T21:23:59.940Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-03-31T21:24:00.039Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-03-31T21:24:00.138Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T21:24:00.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T21:24:00.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T21:24:00.448Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T21:24:00.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T21:24:00.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-03-31T21:24:01.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-03-31T21:24:01.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-03-31T21:24:01.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T21:24:01.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T21:24:01.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T21:24:01.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T21:24:01.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T21:24:01.753Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T21:24:01.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T21:24:01.950Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T21:24:02.045Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T21:24:02.178Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T21:24:02.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-31T21:24:02.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T21:24:02.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-03-31T21:24:02.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-03-31T21:24:02.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-03-31T21:24:02.769Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 371e2cabbe3ab8dd03b3055751727bfeaebd12d7 [Pipeline] echo [2021-03-31T21:24:02.856Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 371e2ca [Pipeline] echo [2021-03-31T21:24:02.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T21:24:03.115Z] provisioning config files... [2021-03-31T21:24:03.158Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/13@tmp/config5934969079347262663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:24:03.512Z] ---> docker-login.sh [2021-03-31T21:24:03.512Z] nexus3.edgexfoundry.org:10001 [2021-03-31T21:24:03.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:24:04.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:24:04.038Z] Configure a credential helper to remove this warning. See [2021-03-31T21:24:04.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:24:04.038Z] [2021-03-31T21:24:04.038Z] Login Succeeded [2021-03-31T21:24:04.038Z] nexus3.edgexfoundry.org:10002 [2021-03-31T21:24:04.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:24:04.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:24:04.038Z] Configure a credential helper to remove this warning. See [2021-03-31T21:24:04.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:24:04.038Z] [2021-03-31T21:24:04.038Z] Login Succeeded [2021-03-31T21:24:04.038Z] nexus3.edgexfoundry.org:10003 [2021-03-31T21:24:04.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:24:04.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:24:04.301Z] Configure a credential helper to remove this warning. See [2021-03-31T21:24:04.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:24:04.301Z] [2021-03-31T21:24:04.301Z] Login Succeeded [2021-03-31T21:24:04.301Z] nexus3.edgexfoundry.org:10004 [2021-03-31T21:24:04.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:24:04.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:24:04.562Z] Configure a credential helper to remove this warning. See [2021-03-31T21:24:04.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:24:04.562Z] [2021-03-31T21:24:04.562Z] Login Succeeded [2021-03-31T21:24:04.562Z] docker.io [2021-03-31T21:24:04.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:24:04.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:24:04.825Z] Configure a credential helper to remove this warning. See [2021-03-31T21:24:04.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:24:04.825Z] [2021-03-31T21:24:04.825Z] Login Succeeded [2021-03-31T21:24:04.825Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T21:24:04.834Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T21:24:05.376Z] ++ 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-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/core-command/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo core-command,cmd/core-command/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/core-data/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo core-data,cmd/core-data/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/core-metadata/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/support-notifications/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-03-31T21:24:05.376Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:24:05.376Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-03-31T21:24:05.376Z] ++ cut -d/ -f2 [2021-03-31T21:24:05.376Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-03-31T21:24:05.449Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:24:06.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T21:24:06.664Z] [2021-03-31T21:24:06.664Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:24:07.019Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T21:24:07.019Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T21:24:07.019Z] 31603596830f: Pulling fs layer [2021-03-31T21:24:07.019Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T21:24:07.019Z] 6ca5941a6612: Pulling fs layer [2021-03-31T21:24:07.019Z] ecc8261a40a4: Pulling fs layer [2021-03-31T21:24:07.019Z] ecc8261a40a4: Waiting [2021-03-31T21:24:07.019Z] 2a8b12db71e7: Download complete [2021-03-31T21:24:07.019Z] 31603596830f: Verifying Checksum [2021-03-31T21:24:07.019Z] 31603596830f: Download complete [2021-03-31T21:24:07.284Z] 6ca5941a6612: Verifying Checksum [2021-03-31T21:24:07.284Z] 6ca5941a6612: Download complete [2021-03-31T21:24:07.284Z] ecc8261a40a4: Verifying Checksum [2021-03-31T21:24:07.284Z] ecc8261a40a4: Download complete [2021-03-31T21:24:07.547Z] 31603596830f: Pull complete [2021-03-31T21:24:07.547Z] 2a8b12db71e7: Pull complete [2021-03-31T21:24:08.497Z] 6ca5941a6612: Pull complete [2021-03-31T21:24:08.497Z] ecc8261a40a4: Pull complete [2021-03-31T21:24:08.497Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T21:24:08.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T21:24:08.497Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T21:24:08.732Z] prd-centos7-docker-4c-2g-32334 does not seem to be running inside a container [2021-03-31T21:24:08.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/13 -v /w/workspace/edgex-go/13:/w/workspace/edgex-go/13:rw,z -v /w/workspace/edgex-go/13@tmp:/w/workspace/edgex-go/13@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T21:24:11.665Z] $ docker top fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T21:24:12.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T21:24:12.053Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T21:24:12.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T21:24:12.259Z] $ docker exec fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad ssh-agent [2021-03-31T21:24:12.417Z] SSH_AUTH_SOCK=/tmp/ssh-LOvYbU1hj6iY/agent.11 [2021-03-31T21:24:12.417Z] SSH_AGENT_PID=16 [2021-03-31T21:24:12.427Z] Running ssh-add (command line suppressed) [2021-03-31T21:24:12.541Z] Identity added: /w/workspace/edgex-go/13@tmp/private_key_1238266585575667437.key (/w/workspace/edgex-go/13@tmp/private_key_1238266585575667437.key) [2021-03-31T21:24:12.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T21:24:12.932Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T21:24:12.952Z] $ docker exec --env ******** --env ******** fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad ssh-agent -k [2021-03-31T21:24:13.064Z] unset SSH_AUTH_SOCK; [2021-03-31T21:24:13.065Z] unset SSH_AGENT_PID; [2021-03-31T21:24:13.065Z] echo Agent pid 16 killed; [2021-03-31T21:24:13.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T21:24:13.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T21:24:13.270Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T21:24:13.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T21:24:13.425Z] $ docker exec fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad ssh-agent [2021-03-31T21:24:13.579Z] SSH_AUTH_SOCK=/tmp/ssh-ONDYrUeXSmCB/agent.47 [2021-03-31T21:24:13.579Z] SSH_AGENT_PID=52 [2021-03-31T21:24:13.585Z] Running ssh-add (command line suppressed) [2021-03-31T21:24:13.699Z] Identity added: /w/workspace/edgex-go/13@tmp/private_key_4873049756938843636.key (/w/workspace/edgex-go/13@tmp/private_key_4873049756938843636.key) [2021-03-31T21:24:13.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T21:24:14.080Z] + git semver init [2021-03-31T21:24:14.080Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T21:24:14.080Z] # $GIT_DIR = /w/workspace/edgex-go/13/.git [2021-03-31T21:24:14.080Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/13 [2021-03-31T21:24:14.080Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T21:24:14.080Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T21:24:14.080Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T21:24:14.080Z] # $SEMVER_BRANCH = PR-3328 [2021-03-31T21:24:14.080Z] # $SEMVER_TEMP = /tmp/semver-985050475 [2021-03-31T21:24:14.080Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-03-31T21:24:32.229Z] # '/tmp/semver-985050475' -> '/w/workspace/edgex-go/13/.semver' [2021-03-31T21:24:32.229Z] # -> Force: false [2021-03-31T21:24:32.229Z] # $SEMVER_DIR = /w/workspace/edgex-go/13/.semver [Pipeline] } [2021-03-31T21:24:32.241Z] $ docker exec --env ******** --env ******** fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad ssh-agent -k [2021-03-31T21:24:32.509Z] unset SSH_AUTH_SOCK; [2021-03-31T21:24:32.510Z] unset SSH_AGENT_PID; [2021-03-31T21:24:32.510Z] echo Agent pid 52 killed; [2021-03-31T21:24:32.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T21:24:33.101Z] + git semver [Pipeline] } [2021-03-31T21:24:33.119Z] $ docker stop --time=1 fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad [2021-03-31T21:24:34.633Z] $ docker rm -f fbcf0428bb277c06e7f5666e63e54a3863a83284a76aa44963b4b18df1a89dad [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T21:24:35.142Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T21:24:35.673Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T21:24:35.676Z] [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-03-31T21:24:36.602Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T21:24:36.904Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T21:24:37.199Z] + sudo service docker restart [2021-03-31T21:24:37.199Z] + true [2021-03-31T21:24:37.199Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-03-31T21:24:37.791Z] ========================================================= [2021-03-31T21:24:37.791Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T21:24:37.791Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:24:38.134Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-31T21:24:41.456Z] Sending build context to Docker daemon 329.2MB [2021-03-31T21:24:41.456Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T21:24:41.456Z] Step 2/6 : FROM ${BASE} [2021-03-31T21:24:41.456Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T21:24:41.456Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T21:24:41.456Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T21:24:41.456Z] de9db76c5a1d: Pulling fs layer [2021-03-31T21:24:41.456Z] bca2f99d35d6: Pulling fs layer [2021-03-31T21:24:41.456Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T21:24:41.456Z] 7c6f9722023f: Pulling fs layer [2021-03-31T21:24:41.456Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T21:24:41.456Z] 93359f2a8cfa: Waiting [2021-03-31T21:24:41.456Z] 7c6f9722023f: Waiting [2021-03-31T21:24:41.456Z] a35cf1a2eb13: Waiting [2021-03-31T21:24:41.456Z] bca2f99d35d6: Waiting [2021-03-31T21:24:41.719Z] de9db76c5a1d: Verifying Checksum [2021-03-31T21:24:41.719Z] de9db76c5a1d: Download complete [2021-03-31T21:24:41.719Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T21:24:41.719Z] 0ef7d3d256c8: Download complete [2021-03-31T21:24:41.719Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T21:24:41.719Z] 93359f2a8cfa: Download complete [2021-03-31T21:24:41.719Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T21:24:41.719Z] 188c0c94c7c5: Download complete [2021-03-31T21:24:41.719Z] 7c6f9722023f: Verifying Checksum [2021-03-31T21:24:41.719Z] 7c6f9722023f: Download complete [2021-03-31T21:24:42.664Z] 188c0c94c7c5: Pull complete [2021-03-31T21:24:42.665Z] 0ef7d3d256c8: Pull complete [2021-03-31T21:24:42.926Z] de9db76c5a1d: Pull complete [2021-03-31T21:24:44.327Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T21:24:44.327Z] a35cf1a2eb13: Download complete [2021-03-31T21:24:44.905Z] bca2f99d35d6: Verifying Checksum [2021-03-31T21:24:44.905Z] bca2f99d35d6: Download complete [2021-03-31T21:24:49.139Z] bca2f99d35d6: Pull complete [2021-03-31T21:24:49.139Z] 93359f2a8cfa: Pull complete [2021-03-31T21:24:49.403Z] 7c6f9722023f: Pull complete [2021-03-31T21:24:51.053Z] Still waiting to schedule task [2021-03-31T21:24:51.053Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-31T21:24:54.713Z] a35cf1a2eb13: Pull complete [2021-03-31T21:24:54.713Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T21:24:54.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T21:24:54.713Z] ---> a62c8e92a672 [2021-03-31T21:24:54.713Z] 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-03-31T21:24:54.713Z] ---> Running in 08052ed3947b [2021-03-31T21:24:54.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T21:24:55.548Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T21:24:56.496Z] (1/12) Installing libmagic (5.38-r0) [2021-03-31T21:24:56.496Z] (2/12) Installing file (5.38-r0) [2021-03-31T21:24:56.759Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-31T21:24:56.759Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-31T21:25:06.779Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-31T21:25:06.779Z] (6/12) Installing patch (2.7.6-r6) [2021-03-31T21:25:06.779Z] (7/12) Installing build-base (0.5-r2) [2021-03-31T21:25:06.779Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-31T21:25:06.779Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-31T21:25:06.779Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-31T21:25:06.779Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-31T21:25:06.779Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-31T21:25:07.043Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T21:25:07.043Z] OK: 233 MiB in 51 packages [2021-03-31T21:25:10.359Z] Removing intermediate container 08052ed3947b [2021-03-31T21:25:10.359Z] ---> 0698ec344249 [2021-03-31T21:25:10.359Z] Step 4/6 : WORKDIR /edgex-go [2021-03-31T21:25:10.359Z] ---> Running in d278bb025e2b [2021-03-31T21:25:10.619Z] Removing intermediate container d278bb025e2b [2021-03-31T21:25:10.620Z] ---> 501257fccec2 [2021-03-31T21:25:10.620Z] Step 5/6 : COPY go.mod . [2021-03-31T21:25:10.882Z] ---> 6e04ce50a9cc [2021-03-31T21:25:10.882Z] Step 6/6 : RUN go mod download [2021-03-31T21:25:10.882Z] ---> Running in 059f5a27e363 [2021-03-31T21:25:32.875Z] Removing intermediate container 059f5a27e363 [2021-03-31T21:25:32.875Z] ---> f35d23695dba [2021-03-31T21:25:32.875Z] Successfully built f35d23695dba [2021-03-31T21:25:32.875Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:25:33.186Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T21:25:33.186Z] . [Pipeline] withDockerContainer [2021-03-31T21:25:33.289Z] prd-centos7-docker-4c-2g-32334 does not seem to be running inside a container [2021-03-31T21:25:33.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/13 -v /w/workspace/edgex-go/13:/w/workspace/edgex-go/13:rw,z -v /w/workspace/edgex-go/13@tmp:/w/workspace/edgex-go/13@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 ******** ci-base-image-x86_64 cat [2021-03-31T21:25:34.132Z] $ docker top a0053ff838645fe9852c97916f95ab7c73d2717ce0ad2e04203d9d29d8c815d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T21:25:34.660Z] + go version [2021-03-31T21:25:34.660Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T21:25:34.674Z] $ docker stop --time=1 a0053ff838645fe9852c97916f95ab7c73d2717ce0ad2e04203d9d29d8c815d8 [2021-03-31T21:25:36.017Z] $ docker rm -f a0053ff838645fe9852c97916f95ab7c73d2717ce0ad2e04203d9d29d8c815d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:25:36.826Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T21:25:36.826Z] . [Pipeline] withDockerContainer [2021-03-31T21:25:36.914Z] prd-centos7-docker-4c-2g-32334 does not seem to be running inside a container [2021-03-31T21:25:36.955Z] $ 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/13 -v /w/workspace/edgex-go/13:/w/workspace/edgex-go/13:rw,z -v /w/workspace/edgex-go/13@tmp:/w/workspace/edgex-go/13@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 ******** ci-base-image-x86_64 cat [2021-03-31T21:25:37.610Z] $ docker top b93855f2a5d272fe05bde7ac5f94e856179f78247131e54319eed9590ee198fc -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T21:25:37.816Z] ========================================================= [2021-03-31T21:25:37.816Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-31T21:25:37.816Z] ========================================================= [Pipeline] sh [2021-03-31T21:25:38.177Z] + make test [2021-03-31T21:25:38.177Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T21:25:46.379Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-31T21:26:01.409Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-31T21:26:08.088Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-03-31T21:26:08.088Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-03-31T21:26:08.088Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-03-31T21:26:09.483Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-03-31T21:26:09.483Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-03-31T21:26:09.483Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-03-31T21:26:10.061Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-03-31T21:26:10.657Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-03-31T21:26:11.264Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-03-31T21:26:13.218Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-03-31T21:26:13.218Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-03-31T21:26:13.218Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-03-31T21:26:15.897Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.104s coverage: 45.9% of statements [2021-03-31T21:26:15.897Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-03-31T21:26:15.897Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-03-31T21:26:15.897Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-03-31T21:26:15.897Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-03-31T21:26:15.897Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-03-31T21:26:15.897Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-03-31T21:26:15.897Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.048s coverage: 19.8% of statements [2021-03-31T21:26:15.897Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.070s coverage: 100.0% of statements [2021-03-31T21:26:18.488Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.174s coverage: 27.1% of statements [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-03-31T21:26:18.488Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.057s coverage: 100.0% of statements [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-03-31T21:26:18.488Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.049s coverage: 100.0% of statements [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-03-31T21:26:18.488Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-03-31T21:26:19.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.101s coverage: 71.3% of statements [2021-03-31T21:26:19.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-03-31T21:26:19.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-03-31T21:26:19.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.136s coverage: 82.9% of statements [2021-03-31T21:26:19.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-03-31T21:26:19.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:26:19.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.285s coverage: 78.9% of statements [2021-03-31T21:26:19.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-03-31T21:26:22.464Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.298s coverage: 28.6% of statements [2021-03-31T21:26:22.464Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-03-31T21:26:22.464Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-03-31T21:26:22.464Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-03-31T21:26:22.464Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-03-31T21:26:22.465Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.096s coverage: 100.0% of statements [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-03-31T21:26:22.465Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.061s coverage: 100.0% of statements [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-03-31T21:26:22.465Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.140s coverage: 86.7% of statements [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-03-31T21:26:22.465Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.117s coverage: 97.5% of statements [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-03-31T21:26:22.465Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.100s coverage: 78.3% of statements [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-03-31T21:26:22.465Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-03-31T21:26:24.412Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.319s coverage: 92.8% of statements [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-03-31T21:26:24.412Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.043s coverage: 58.8% of statements [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-03-31T21:26:24.412Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.053s coverage: 1.0% of statements [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-03-31T21:26:24.412Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-03-31T21:26:24.412Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 47.1% of statements [2021-03-31T21:26:24.412Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.059s coverage: 79.5% of statements [2021-03-31T21:26:24.412Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.047s coverage: 94.1% of statements [2021-03-31T21:26:24.686Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.070s coverage: 96.3% of statements [2021-03-31T21:26:24.944Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32336 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [2021-03-31T21:26:24.960Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.080s coverage: 87.5% of statements [Pipeline] ws [2021-03-31T21:26:24.997Z] Running in /w/workspace/edgex-go/13 [Pipeline] { [Pipeline] checkout [2021-03-31T21:26:30.148Z] using credential edgex-jenkins-ssh [2021-03-31T21:26:30.205Z] Cloning the remote Git repository [2021-03-31T21:26:30.270Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-03-31T21:26:30.379Z] > git init /w/workspace/edgex-go/13 # timeout=10 [2021-03-31T21:26:30.461Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-31T21:26:30.462Z] > git --version # timeout=10 [2021-03-31T21:26:30.485Z] > git --version # 'git version 2.17.1' [2021-03-31T21:26:30.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T21:26:30.547Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T21:26:37.224Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.057s coverage: 94.4% of statements [2021-03-31T21:26:37.224Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2021-03-31T21:26:39.150Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.210s coverage: 82.6% of statements [2021-03-31T21:26:49.195Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.074s coverage: 92.9% of statements [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-03-31T21:26:49.195Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-03-31T21:26:49.195Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.038s coverage: 87.2% of statements [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-03-31T21:26:49.195Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.065s coverage: 100.0% of statements [2021-03-31T21:26:49.195Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-03-31T21:26:49.195Z] flag provided but not defined: -badarg [2021-03-31T21:26:49.195Z] Usage of adduser: [2021-03-31T21:26:49.195Z] -algorithm string [2021-03-31T21:26:49.195Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-03-31T21:26:49.195Z] -client_id string [2021-03-31T21:26:49.195Z] Optional manually-specified OAuth2 client_id. [2021-03-31T21:26:49.195Z] -client_secret string [2021-03-31T21:26:49.195Z] Optional manually-specified OAuth2 client_secret. [2021-03-31T21:26:49.195Z] -confdir string [2021-03-31T21:26:49.196Z] [2021-03-31T21:26:49.196Z] -group string [2021-03-31T21:26:49.196Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2021-03-31T21:26:49.196Z] -id string [2021-03-31T21:26:49.196Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-03-31T21:26:49.196Z] -public_key string [2021-03-31T21:26:49.196Z] Public key (in PEM format) used to validate the JWT. [2021-03-31T21:26:49.196Z] -redirect_uris string [2021-03-31T21:26:49.196Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-03-31T21:26:49.196Z] -token-type string [2021-03-31T21:26:49.196Z] Type of token to create: jwt or oauth2 [2021-03-31T21:26:49.196Z] -user string [2021-03-31T21:26:49.196Z] Username of the user to add [2021-03-31T21:26:49.196Z] --- FAIL: TestAddUserJWT (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:96: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:96 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestAddUserJWT [2021-03-31T21:26:49.196Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:144: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:144 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestAddUserOAuth2 [2021-03-31T21:26:49.196Z] FAIL [2021-03-31T21:26:49.196Z] coverage: 34.0% of statements [2021-03-31T21:26:49.196Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.039s [2021-03-31T21:26:49.196Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-03-31T21:26:49.196Z] flag provided but not defined: -badarg [2021-03-31T21:26:49.196Z] Usage of deluser: [2021-03-31T21:26:49.196Z] -confdir string [2021-03-31T21:26:49.196Z] [2021-03-31T21:26:49.196Z] -user string [2021-03-31T21:26:49.196Z] Username of the user to delete [2021-03-31T21:26:49.196Z] --- FAIL: TestDelUser (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:73: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:73 [2021-03-31T21:26:49.196Z] command_test.go:79 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send delete consumer request someuser: Delete "http://127.0.0.1:0/admin/consumers/someuser": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestDelUser [2021-03-31T21:26:49.196Z] FAIL [2021-03-31T21:26:49.196Z] coverage: 69.2% of statements [2021-03-31T21:26:49.196Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.035s [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.073s coverage: 87.2% of statements [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.068s coverage: 84.6% of statements [2021-03-31T21:26:49.196Z] flag provided but not defined: -badarg [2021-03-31T21:26:49.196Z] Usage of tls: [2021-03-31T21:26:49.196Z] -confdir string [2021-03-31T21:26:49.196Z] [2021-03-31T21:26:49.196Z] -incert string [2021-03-31T21:26:49.196Z] Path to PEM-encoded leaf certificate [2021-03-31T21:26:49.196Z] -inkey string [2021-03-31T21:26:49.196Z] Path to PEM-encoded private key [2021-03-31T21:26:49.196Z] -snis string [2021-03-31T21:26:49.196Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-03-31T21:26:49.196Z] --- FAIL: TestTLSAddNewCertificate (0.01s) [2021-03-31T21:26:49.196Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:125: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:125 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-03-31T21:26:49.196Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:125: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:125 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-03-31T21:26:49.196Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:125: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:125 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-03-31T21:26:49.196Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) [2021-03-31T21:26:49.196Z] command_test.go:125: [2021-03-31T21:26:49.196Z] Error Trace: command_test.go:125 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-03-31T21:26:49.196Z] FAIL [2021-03-31T21:26:49.196Z] coverage: 44.3% of statements [2021-03-31T21:26:49.196Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.060s [2021-03-31T21:26:49.196Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.171s coverage: 64.4% of statements [2021-03-31T21:26:49.196Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-03-31T21:26:49.196Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.057s coverage: 100.0% of statements [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.044s coverage: 91.3% of statements [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.024s coverage: 100.0% of statements [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.036s coverage: 73.7% of statements [2021-03-31T21:26:49.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements [2021-03-31T21:26:49.196Z] --- FAIL: TestDelete (0.00s) [2021-03-31T21:26:49.196Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-03-31T21:26:49.196Z] resource_test.go:75: failed to delete 1 at services with error Delete "http://127.0.0.1:0/admin/services/1": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] --- FAIL: TestPostCertExists (0.02s) [2021-03-31T21:26:49.196Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-03-31T21:26:49.196Z] --- FAIL: TestInit (0.01s) [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/empty_env (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/empty_env [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_one_unique_route [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_two_unique_routes [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_one_duplicate_route [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-03-31T21:26:49.196Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:220: [2021-03-31T21:26:49.196Z] Error Trace: service_test.go:220 [2021-03-31T21:26:49.196Z] Error: Received unexpected error: [2021-03-31T21:26:49.196Z] failed to read config template: open : no such file or directory [2021-03-31T21:26:49.196Z] Test: TestInit/empty_service_name [2021-03-31T21:26:49.196Z] --- FAIL: TestInitKongService (0.00s) [2021-03-31T21:26:49.196Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:340: failed to set up proxy service: test Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:340: failed to set up proxy service: conflict Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] --- FAIL: TestInitKongRoutes (0.00s) [2021-03-31T21:26:49.196Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:396: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] --- FAIL: TestResetProxy (0.00s) [2021-03-31T21:26:49.196Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:456: failed to get list of routes with error Get "http://127.0.0.1:0/admin/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] --- FAIL: TestGetSvcIDs (0.00s) [2021-03-31T21:26:49.196Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:523: failed to get list of testservice with error Get "http://127.0.0.1:0/admin/testservice": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-03-31T21:26:49.196Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-03-31T21:26:49.196Z] service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:26:49.196Z] FAIL [2021-03-31T21:26:49.197Z] coverage: 28.7% of statements [2021-03-31T21:26:49.197Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.095s [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.130s coverage: 41.5% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.044s coverage: 89.5% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.032s coverage: 84.8% of statements [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.129s coverage: 47.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.052s coverage: 100.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.052s coverage: 100.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.160s coverage: 87.1% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.723s coverage: 29.1% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.057s coverage: 99.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.053s coverage: 100.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.107s coverage: 95.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.027s coverage: 0.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.035s coverage: 100.0% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.035s coverage: 87.9% of statements [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-03-31T21:26:49.197Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.034s coverage: 100.0% of statements [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.045s coverage: 32.1% of statements [2021-03-31T21:26:49.197Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 100.0% of statements [2021-03-31T21:26:49.197Z] FAIL [2021-03-31T21:26:49.197Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-03-31T21:26:49.218Z] $ docker stop --time=1 b93855f2a5d272fe05bde7ac5f94e856179f78247131e54319eed9590ee198fc [2021-03-31T21:26:51.042Z] $ docker rm -f b93855f2a5d272fe05bde7ac5f94e856179f78247131e54319eed9590ee198fc [2021-03-31T21:26:51.105Z] Merging remotes/origin/master commit f2bd0815c0e73667d07e5744b61daa5be38d8f92 into PR head commit 7b86f71e7fdb0a234f7db7242a366e17f7e8b6db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-03-31T21:26:50.142Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-31T21:26:50.158Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T21:26:50.183Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-31T21:26:50.224Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-31T21:26:50.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T21:26:50.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T21:26:51.124Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T21:26:51.142Z] > git checkout -f 7b86f71e7fdb0a234f7db7242a366e17f7e8b6db # timeout=10 [2021-03-31T21:26:51.477Z] > git remote # timeout=10 [2021-03-31T21:26:51.493Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T21:26:51.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T21:26:51.518Z] > git merge f2bd0815c0e73667d07e5744b61daa5be38d8f92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [2021-03-31T21:26:51.883Z] Merge succeeded, producing 071e08f787867ab2e944f9626314464ef934df2b [2021-03-31T21:26:51.884Z] Checking out Revision 071e08f787867ab2e944f9626314464ef934df2b (PR-3328) [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-03-31T21:26:52.475Z] Failed in branch amd64 [2021-03-31T21:26:51.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T21:26:51.888Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T21:26:51.902Z] > git checkout -f 071e08f787867ab2e944f9626314464ef934df2b # timeout=10 [2021-03-31T21:26:56.366Z] Commit message: "Merge commit 'f2bd0815c0e73667d07e5744b61daa5be38d8f92' into HEAD" [2021-03-31T21:26:56.401Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T21:26:57.757Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T21:26:58.180Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T21:26:58.539Z] + + true [2021-03-31T21:26:58.539Z] sudo service docker restart [2021-03-31T21:26:56.370Z] > git rev-list --no-walk 7075e2b3e320f0a9a2ee2adf8f63676dafc1cc0a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T21:27:00.597Z] provisioning config files... [2021-03-31T21:27:00.642Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/13@tmp/config6323373430785814087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:27:01.101Z] ---> docker-login.sh [2021-03-31T21:27:01.101Z] nexus3.edgexfoundry.org:10001 [2021-03-31T21:27:02.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:27:02.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:27:02.381Z] Configure a credential helper to remove this warning. See [2021-03-31T21:27:02.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:27:02.381Z] [2021-03-31T21:27:02.381Z] Login Succeeded [2021-03-31T21:27:02.381Z] nexus3.edgexfoundry.org:10002 [2021-03-31T21:27:02.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:27:02.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:27:02.925Z] Configure a credential helper to remove this warning. See [2021-03-31T21:27:02.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:27:02.925Z] [2021-03-31T21:27:02.925Z] Login Succeeded [2021-03-31T21:27:02.925Z] nexus3.edgexfoundry.org:10003 [2021-03-31T21:27:03.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:27:03.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:27:03.478Z] Configure a credential helper to remove this warning. See [2021-03-31T21:27:03.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:27:03.478Z] [2021-03-31T21:27:03.478Z] Login Succeeded [2021-03-31T21:27:03.478Z] nexus3.edgexfoundry.org:10004 [2021-03-31T21:27:03.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:27:04.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:27:04.031Z] Configure a credential helper to remove this warning. See [2021-03-31T21:27:04.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:27:04.031Z] [2021-03-31T21:27:04.031Z] Login Succeeded [2021-03-31T21:27:04.031Z] docker.io [2021-03-31T21:27:04.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:27:04.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:27:04.576Z] Configure a credential helper to remove this warning. See [2021-03-31T21:27:04.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:27:04.576Z] [2021-03-31T21:27:04.577Z] Login Succeeded [2021-03-31T21:27:04.577Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T21:27:04.595Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T21:27:05.082Z] ========================================================= [2021-03-31T21:27:05.082Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T21:27:05.082Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:27:05.467Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-31T21:27:08.113Z] Sending build context to Docker daemon 167.2MB [2021-03-31T21:27:08.113Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T21:27:08.113Z] Step 2/6 : FROM ${BASE} [2021-03-31T21:27:08.113Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T21:27:08.113Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T21:27:08.113Z] a4357932f1b6: Pulling fs layer [2021-03-31T21:27:08.113Z] 18c013af1878: Pulling fs layer [2021-03-31T21:27:08.113Z] 00ac8860ef70: Pulling fs layer [2021-03-31T21:27:08.114Z] 63d7cb157983: Pulling fs layer [2021-03-31T21:27:08.114Z] b116817d02f9: Pulling fs layer [2021-03-31T21:27:08.114Z] 745a02a5169b: Pulling fs layer [2021-03-31T21:27:08.114Z] 00ac8860ef70: Waiting [2021-03-31T21:27:08.114Z] b116817d02f9: Waiting [2021-03-31T21:27:08.114Z] 63d7cb157983: Waiting [2021-03-31T21:27:08.114Z] 745a02a5169b: Waiting [2021-03-31T21:27:08.114Z] 18c013af1878: Verifying Checksum [2021-03-31T21:27:08.114Z] 18c013af1878: Download complete [2021-03-31T21:27:08.114Z] a4357932f1b6: Verifying Checksum [2021-03-31T21:27:08.114Z] a4357932f1b6: Download complete [2021-03-31T21:27:08.114Z] 63d7cb157983: Verifying Checksum [2021-03-31T21:27:08.114Z] 63d7cb157983: Download complete [2021-03-31T21:27:08.114Z] b116817d02f9: Verifying Checksum [2021-03-31T21:27:08.114Z] b116817d02f9: Download complete [2021-03-31T21:27:08.114Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T21:27:08.114Z] 5f621e34cdf4: Download complete [2021-03-31T21:27:08.719Z] 5f621e34cdf4: Pull complete [2021-03-31T21:27:09.345Z] a4357932f1b6: Pull complete [2021-03-31T21:27:10.325Z] 18c013af1878: Pull complete [2021-03-31T21:27:10.922Z] 745a02a5169b: Verifying Checksum [2021-03-31T21:27:10.922Z] 745a02a5169b: Download complete [2021-03-31T21:27:11.902Z] 00ac8860ef70: Verifying Checksum [2021-03-31T21:27:11.902Z] 00ac8860ef70: Download complete [2021-03-31T21:27:22.110Z] 00ac8860ef70: Pull complete [2021-03-31T21:27:22.110Z] 63d7cb157983: Pull complete [2021-03-31T21:27:22.711Z] b116817d02f9: Pull complete [2021-03-31T21:27:27.029Z] 745a02a5169b: Pull complete [2021-03-31T21:27:27.029Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T21:27:27.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T21:27:27.029Z] ---> b7e6874047d6 [2021-03-31T21:27:27.029Z] 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-03-31T21:27:30.426Z] ---> Running in 533420e3ff57 [2021-03-31T21:27:31.403Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T21:27:32.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T21:27:32.978Z] (1/12) Installing libmagic (5.38-r0) [2021-03-31T21:27:33.249Z] (2/12) Installing file (5.38-r0) [2021-03-31T21:27:33.522Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-31T21:27:33.522Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-31T21:27:43.654Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-31T21:27:43.654Z] (6/12) Installing patch (2.7.6-r6) [2021-03-31T21:27:43.654Z] (7/12) Installing build-base (0.5-r2) [2021-03-31T21:27:43.654Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-31T21:27:43.654Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-31T21:27:43.925Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-31T21:27:43.925Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-31T21:27:43.925Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-31T21:27:44.198Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T21:27:44.198Z] OK: 217 MiB in 51 packages [2021-03-31T21:27:48.518Z] Removing intermediate container 533420e3ff57 [2021-03-31T21:27:48.518Z] ---> 2a2dcc1a271f [2021-03-31T21:27:48.518Z] Step 4/6 : WORKDIR /edgex-go [2021-03-31T21:27:48.518Z] ---> Running in 865cf8ffe24c [2021-03-31T21:27:48.792Z] Removing intermediate container 865cf8ffe24c [2021-03-31T21:27:48.792Z] ---> 7c2eeb2877f2 [2021-03-31T21:27:48.792Z] Step 5/6 : COPY go.mod . [2021-03-31T21:27:49.771Z] ---> 7e853128bdcc [2021-03-31T21:27:49.771Z] Step 6/6 : RUN go mod download [2021-03-31T21:27:49.771Z] ---> Running in 0fb7017bdf05 [2021-03-31T21:28:16.654Z] Removing intermediate container 0fb7017bdf05 [2021-03-31T21:28:16.654Z] ---> d198211150d3 [2021-03-31T21:28:16.654Z] Successfully built d198211150d3 [2021-03-31T21:28:16.654Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:28:17.004Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T21:28:17.004Z] . [Pipeline] withDockerContainer [2021-03-31T21:28:17.260Z] prd-ubuntu18.04-docker-arm64-4c-16g-32336 does not seem to be running inside a container [2021-03-31T21:28:17.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/13 -v /w/workspace/edgex-go/13:/w/workspace/edgex-go/13:rw,z -v /w/workspace/edgex-go/13@tmp:/w/workspace/edgex-go/13@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 ******** ci-base-image-arm64 cat [2021-03-31T21:28:18.851Z] $ docker top 3eed477ede6c71bfb68e895b9ef3bce304a77369f78e5489fbad2f3c34f12208 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T21:28:19.927Z] + go version [2021-03-31T21:28:19.927Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T21:28:19.952Z] $ docker stop --time=1 3eed477ede6c71bfb68e895b9ef3bce304a77369f78e5489fbad2f3c34f12208 [2021-03-31T21:28:21.974Z] $ docker rm -f 3eed477ede6c71bfb68e895b9ef3bce304a77369f78e5489fbad2f3c34f12208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:28:24.684Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T21:28:24.684Z] . [Pipeline] withDockerContainer [2021-03-31T21:28:24.945Z] prd-ubuntu18.04-docker-arm64-4c-16g-32336 does not seem to be running inside a container [2021-03-31T21:28:25.031Z] $ 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/13 -v /w/workspace/edgex-go/13:/w/workspace/edgex-go/13:rw,z -v /w/workspace/edgex-go/13@tmp:/w/workspace/edgex-go/13@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 ******** ci-base-image-arm64 cat [2021-03-31T21:28:26.502Z] $ docker top 8e7d877639cb0f4e89f5e184a0b2af0e63a3d264087d7c3a17edece144bf7e54 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T21:28:26.981Z] ========================================================= [2021-03-31T21:28:26.981Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-31T21:28:26.981Z] ========================================================= [Pipeline] sh [2021-03-31T21:28:27.641Z] + make test [2021-03-31T21:28:27.641Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T21:28:49.880Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-31T21:29:37.058Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-03-31T21:29:55.430Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-03-31T21:29:58.080Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-03-31T21:29:59.067Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-03-31T21:30:07.363Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-03-31T21:30:07.363Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-03-31T21:30:07.363Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-03-31T21:30:12.795Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.301s coverage: 45.9% of statements [2021-03-31T21:30:12.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-03-31T21:30:12.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-03-31T21:30:12.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-03-31T21:30:12.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-03-31T21:30:12.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-03-31T21:30:12.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-03-31T21:30:12.795Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.149s coverage: 19.8% of statements [2021-03-31T21:30:12.795Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.310s coverage: 100.0% of statements [2021-03-31T21:30:21.098Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.506s coverage: 27.1% of statements [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-03-31T21:30:21.098Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.135s coverage: 100.0% of statements [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-03-31T21:30:21.098Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.214s coverage: 100.0% of statements [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-03-31T21:30:21.098Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-03-31T21:30:21.374Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.245s coverage: 71.3% of statements [2021-03-31T21:30:21.374Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-03-31T21:30:21.374Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-03-31T21:30:22.815Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.483s coverage: 82.9% of statements [2021-03-31T21:30:22.815Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-03-31T21:30:22.815Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:30:22.815Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.153s coverage: 78.9% of statements [2021-03-31T21:30:22.815Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-03-31T21:30:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.092s coverage: 28.6% of statements [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-03-31T21:30:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.215s coverage: 100.0% of statements [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-03-31T21:30:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.120s coverage: 100.0% of statements [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-03-31T21:30:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.547s coverage: 86.7% of statements [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-03-31T21:30:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.479s coverage: 97.5% of statements [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-03-31T21:30:33.007Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.258s coverage: 78.3% of statements [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-03-31T21:30:33.007Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-03-31T21:30:41.328Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.154s coverage: 92.8% of statements [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-03-31T21:30:41.328Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.111s coverage: 58.8% of statements [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-03-31T21:30:41.328Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.202s coverage: 1.0% of statements [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-03-31T21:30:41.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-03-31T21:30:41.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.170s coverage: 47.1% of statements [2021-03-31T21:30:41.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.139s coverage: 79.5% of statements [2021-03-31T21:30:41.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.144s coverage: 94.1% of statements [2021-03-31T21:30:41.603Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.135s coverage: 96.3% of statements [2021-03-31T21:30:42.202Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.214s coverage: 87.5% of statements [2021-03-31T21:30:57.286Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.131s coverage: 94.4% of statements [2021-03-31T21:30:57.286Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.120s coverage: 44.8% of statements [2021-03-31T21:31:00.669Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.563s coverage: 82.6% of statements [2021-03-31T21:31:10.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.187s coverage: 92.9% of statements [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-03-31T21:31:10.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-03-31T21:31:10.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.071s coverage: 87.2% of statements [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-03-31T21:31:10.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-03-31T21:31:10.845Z] flag provided but not defined: -badarg [2021-03-31T21:31:10.845Z] Usage of adduser: [2021-03-31T21:31:10.845Z] -algorithm string [2021-03-31T21:31:10.845Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-03-31T21:31:10.845Z] -client_id string [2021-03-31T21:31:10.845Z] Optional manually-specified OAuth2 client_id. [2021-03-31T21:31:10.845Z] -client_secret string [2021-03-31T21:31:10.845Z] Optional manually-specified OAuth2 client_secret. [2021-03-31T21:31:10.845Z] -confdir string [2021-03-31T21:31:10.845Z] [2021-03-31T21:31:10.845Z] -group string [2021-03-31T21:31:10.845Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2021-03-31T21:31:10.845Z] -id string [2021-03-31T21:31:10.845Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-03-31T21:31:10.845Z] -public_key string [2021-03-31T21:31:10.845Z] Public key (in PEM format) used to validate the JWT. [2021-03-31T21:31:10.845Z] -redirect_uris string [2021-03-31T21:31:10.845Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-03-31T21:31:10.845Z] -token-type string [2021-03-31T21:31:10.845Z] Type of token to create: jwt or oauth2 [2021-03-31T21:31:10.845Z] -user string [2021-03-31T21:31:10.845Z] Username of the user to add [2021-03-31T21:31:10.845Z] --- FAIL: TestAddUserJWT (0.01s) [2021-03-31T21:31:10.845Z] command_test.go:96: [2021-03-31T21:31:10.845Z] Error Trace: command_test.go:96 [2021-03-31T21:31:10.845Z] Error: Received unexpected error: [2021-03-31T21:31:10.845Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.845Z] Test: TestAddUserJWT [2021-03-31T21:31:10.845Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-03-31T21:31:10.845Z] command_test.go:144: [2021-03-31T21:31:10.845Z] Error Trace: command_test.go:144 [2021-03-31T21:31:10.845Z] Error: Received unexpected error: [2021-03-31T21:31:10.845Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.845Z] Test: TestAddUserOAuth2 [2021-03-31T21:31:10.845Z] FAIL [2021-03-31T21:31:10.845Z] coverage: 34.0% of statements [2021-03-31T21:31:10.845Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.114s [2021-03-31T21:31:10.845Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-03-31T21:31:10.845Z] flag provided but not defined: -badarg [2021-03-31T21:31:10.845Z] Usage of deluser: [2021-03-31T21:31:10.845Z] -confdir string [2021-03-31T21:31:10.845Z] [2021-03-31T21:31:10.845Z] -user string [2021-03-31T21:31:10.845Z] Username of the user to delete [2021-03-31T21:31:10.845Z] --- FAIL: TestDelUser (0.01s) [2021-03-31T21:31:10.845Z] command_test.go:73: [2021-03-31T21:31:10.845Z] Error Trace: command_test.go:73 [2021-03-31T21:31:10.845Z] command_test.go:79 [2021-03-31T21:31:10.845Z] Error: Received unexpected error: [2021-03-31T21:31:10.845Z] Failed to send delete consumer request someuser: Delete "http://127.0.0.1:0/admin/consumers/someuser": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.845Z] Test: TestDelUser [2021-03-31T21:31:10.845Z] FAIL [2021-03-31T21:31:10.845Z] coverage: 69.2% of statements [2021-03-31T21:31:10.845Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.110s [2021-03-31T21:31:10.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.188s coverage: 87.2% of statements [2021-03-31T21:31:10.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.194s coverage: 84.6% of statements [2021-03-31T21:31:10.845Z] flag provided but not defined: -badarg [2021-03-31T21:31:10.845Z] Usage of tls: [2021-03-31T21:31:10.845Z] -confdir string [2021-03-31T21:31:10.845Z] [2021-03-31T21:31:10.845Z] -incert string [2021-03-31T21:31:10.845Z] Path to PEM-encoded leaf certificate [2021-03-31T21:31:10.845Z] -inkey string [2021-03-31T21:31:10.845Z] Path to PEM-encoded private key [2021-03-31T21:31:10.845Z] -snis string [2021-03-31T21:31:10.845Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-03-31T21:31:10.845Z] --- FAIL: TestTLSAddNewCertificate (0.04s) [2021-03-31T21:31:10.845Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.01s) [2021-03-31T21:31:10.845Z] command_test.go:125: [2021-03-31T21:31:10.845Z] Error Trace: command_test.go:125 [2021-03-31T21:31:10.845Z] Error: Received unexpected error: [2021-03-31T21:31:10.845Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.846Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-03-31T21:31:10.846Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) [2021-03-31T21:31:10.846Z] command_test.go:125: [2021-03-31T21:31:10.846Z] Error Trace: command_test.go:125 [2021-03-31T21:31:10.846Z] Error: Received unexpected error: [2021-03-31T21:31:10.846Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.846Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-03-31T21:31:10.846Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.01s) [2021-03-31T21:31:10.846Z] command_test.go:125: [2021-03-31T21:31:10.846Z] Error Trace: command_test.go:125 [2021-03-31T21:31:10.846Z] Error: Received unexpected error: [2021-03-31T21:31:10.846Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.846Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-03-31T21:31:10.846Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.01s) [2021-03-31T21:31:10.846Z] command_test.go:125: [2021-03-31T21:31:10.846Z] Error Trace: command_test.go:125 [2021-03-31T21:31:10.846Z] Error: Received unexpected error: [2021-03-31T21:31:10.846Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:10.846Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-03-31T21:31:10.846Z] FAIL [2021-03-31T21:31:10.846Z] coverage: 44.3% of statements [2021-03-31T21:31:10.846Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.197s [2021-03-31T21:31:10.846Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-03-31T21:31:10.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.562s coverage: 64.4% of statements [2021-03-31T21:31:10.846Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-03-31T21:31:10.846Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-03-31T21:31:10.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.131s coverage: 100.0% of statements [2021-03-31T21:31:10.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.096s coverage: 91.3% of statements [2021-03-31T21:31:10.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.061s coverage: 100.0% of statements [2021-03-31T21:31:11.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.070s coverage: 73.7% of statements [2021-03-31T21:31:11.723Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.049s coverage: 100.0% of statements [2021-03-31T21:31:14.392Z] --- FAIL: TestDelete (0.01s) [2021-03-31T21:31:14.392Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-03-31T21:31:14.392Z] resource_test.go:75: failed to delete 1 at services with error Delete "http://127.0.0.1:0/admin/services/1": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.392Z] --- FAIL: TestPostCertExists (0.02s) [2021-03-31T21:31:14.392Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-03-31T21:31:14.392Z] --- FAIL: TestInit (0.03s) [2021-03-31T21:31:14.392Z] --- FAIL: TestInit/empty_env (0.00s) [2021-03-31T21:31:14.392Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/empty_env [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_one_unique_route [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_two_unique_routes [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_one_duplicate_route [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-03-31T21:31:14.393Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:220: [2021-03-31T21:31:14.393Z] Error Trace: service_test.go:220 [2021-03-31T21:31:14.393Z] Error: Received unexpected error: [2021-03-31T21:31:14.393Z] failed to read config template: open : no such file or directory [2021-03-31T21:31:14.393Z] Test: TestInit/empty_service_name [2021-03-31T21:31:14.393Z] --- FAIL: TestInitKongService (0.01s) [2021-03-31T21:31:14.393Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:340: failed to set up proxy service: test Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.393Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:340: failed to set up proxy service: conflict Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.393Z] --- FAIL: TestInitKongRoutes (0.01s) [2021-03-31T21:31:14.393Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:396: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.393Z] --- FAIL: TestResetProxy (0.00s) [2021-03-31T21:31:14.393Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:456: failed to get list of routes with error Get "http://127.0.0.1:0/admin/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.393Z] --- FAIL: TestGetSvcIDs (0.01s) [2021-03-31T21:31:14.393Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:523: failed to get list of testservice with error Get "http://127.0.0.1:0/admin/testservice": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.393Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-03-31T21:31:14.393Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-03-31T21:31:14.393Z] service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T21:31:14.393Z] FAIL [2021-03-31T21:31:14.393Z] coverage: 28.7% of statements [2021-03-31T21:31:14.393Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.238s [2021-03-31T21:31:14.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-03-31T21:31:14.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-03-31T21:31:14.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-03-31T21:31:17.013Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.574s coverage: 41.5% of statements [2021-03-31T21:31:17.013Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-03-31T21:31:17.013Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-03-31T21:31:17.013Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.126s coverage: 89.5% of statements [2021-03-31T21:31:17.013Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-03-31T21:31:17.013Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements [2021-03-31T21:31:23.724Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.423s coverage: 47.0% of statements [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-03-31T21:31:23.724Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.109s coverage: 100.0% of statements [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-03-31T21:31:23.724Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.092s coverage: 100.0% of statements [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-03-31T21:31:23.724Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.450s coverage: 87.1% of statements [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:31:23.724Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.331s coverage: 29.1% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.164s coverage: 99.0% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.168s coverage: 100.0% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.277s coverage: 95.0% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.042s coverage: 0.0% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.056s coverage: 100.0% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.107s coverage: 87.9% of statements [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-03-31T21:31:32.022Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements [2021-03-31T21:31:32.022Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.118s coverage: 32.1% of statements [2021-03-31T21:31:32.295Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-03-31T21:31:32.295Z] FAIL [2021-03-31T21:31:33.272Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-03-31T21:31:33.292Z] $ docker stop --time=1 8e7d877639cb0f4e89f5e184a0b2af0e63a3d264087d7c3a17edece144bf7e54 [2021-03-31T21:31:35.768Z] $ docker rm -f 8e7d877639cb0f4e89f5e184a0b2af0e63a3d264087d7c3a17edece144bf7e54 [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-03-31T21:31:38.021Z] ---> job-cost.sh [2021-03-31T21:31:38.021Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uzsA [2021-03-31T21:32:16.962Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T21:33:53.799Z] lf-activate-venv(): INFO: Adding /tmp/venv-uzsA/bin to PATH [2021-03-31T21:33:53.799Z] INFO: No Stack... [2021-03-31T21:33:53.800Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T21:33:53.800Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T21:33:54.137Z] + + cutcat -d, /w/workspace/edgex-go/13/archives/cost.csv -f6 [2021-03-31T21:33:54.137Z] [Pipeline] lock [2021-03-31T21:33:54.250Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-13-stack-cost] [2021-03-31T21:33:54.263Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-13-stack-cost] did not exist. Created. [2021-03-31T21:33:54.263Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T21:33:54.692Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T21:33:55.737Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T21:33:55.748Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-13-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T21:33:56.358Z] 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-03-31T21:33:58.388Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:33:59.261Z] ---> package-listing.sh [2021-03-31T21:33:59.261Z] ++ facter osfamily [2021-03-31T21:33:59.261Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T21:33:59.261Z] + OS_FAMILY=redhat [2021-03-31T21:33:59.261Z] + workspace=/w/workspace/edgex-go/13 [2021-03-31T21:33:59.261Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T21:33:59.261Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T21:33:59.261Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T21:33:59.261Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T21:33:59.261Z] + '[' /w/workspace/edgex-go/13 ']' [2021-03-31T21:33:59.261Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T21:33:59.261Z] + case "${OS_FAMILY}" in [2021-03-31T21:33:59.261Z] + rpm -qa [2021-03-31T21:33:59.261Z] + sort [2021-03-31T21:34:04.627Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T21:34:04.627Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T21:34:04.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T21:34:04.627Z] + '[' /w/workspace/edgex-go/13 ']' [2021-03-31T21:34:04.627Z] + mkdir -p /w/workspace/edgex-go/13/archives/ [2021-03-31T21:34:04.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/13/archives/ [Pipeline] echo [2021-03-31T21:34:04.642Z] 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/13/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T21:34:04.934Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:34:05.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T21:34:05.242Z] [2021-03-31T21:34:05.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:34:05.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T21:34:05.605Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T21:34:05.605Z] df20fa9351a1: Pulling fs layer [2021-03-31T21:34:05.605Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T21:34:05.605Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T21:34:05.605Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T21:34:05.605Z] 93b61091891f: Pulling fs layer [2021-03-31T21:34:05.605Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T21:34:05.605Z] 5e14af77c1be: Pulling fs layer [2021-03-31T21:34:05.605Z] 01666e4c0597: Pulling fs layer [2021-03-31T21:34:05.605Z] aa168da1d23b: Pulling fs layer [2021-03-31T21:34:05.605Z] 46f8f816bc3b: Waiting [2021-03-31T21:34:05.605Z] 93b61091891f: Waiting [2021-03-31T21:34:05.605Z] 93b9cdb0e59b: Waiting [2021-03-31T21:34:05.605Z] 01666e4c0597: Waiting [2021-03-31T21:34:05.605Z] 5e14af77c1be: Waiting [2021-03-31T21:34:05.605Z] aa168da1d23b: Waiting [2021-03-31T21:34:05.605Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T21:34:05.605Z] 36b3adc4ff6f: Download complete [2021-03-31T21:34:05.605Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T21:34:05.605Z] 46f8f816bc3b: Download complete [2021-03-31T21:34:05.605Z] df20fa9351a1: Verifying Checksum [2021-03-31T21:34:05.605Z] df20fa9351a1: Download complete [2021-03-31T21:34:05.605Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T21:34:05.605Z] 93b9cdb0e59b: Download complete [2021-03-31T21:34:05.868Z] 5e14af77c1be: Download complete [2021-03-31T21:34:05.868Z] 93b61091891f: Download complete [2021-03-31T21:34:05.868Z] 01666e4c0597: Verifying Checksum [2021-03-31T21:34:05.868Z] 01666e4c0597: Download complete [2021-03-31T21:34:05.868Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T21:34:05.868Z] 8ad3a11d3b57: Download complete [2021-03-31T21:34:06.130Z] df20fa9351a1: Pull complete [2021-03-31T21:34:06.130Z] 36b3adc4ff6f: Pull complete [2021-03-31T21:34:07.091Z] 8ad3a11d3b57: Pull complete [2021-03-31T21:34:07.091Z] 46f8f816bc3b: Pull complete [2021-03-31T21:34:07.361Z] 93b61091891f: Pull complete [2021-03-31T21:34:07.626Z] 93b9cdb0e59b: Pull complete [2021-03-31T21:34:07.888Z] 5e14af77c1be: Pull complete [2021-03-31T21:34:07.888Z] aa168da1d23b: Verifying Checksum [2021-03-31T21:34:07.888Z] aa168da1d23b: Download complete [2021-03-31T21:34:07.888Z] 01666e4c0597: Pull complete [2021-03-31T21:34:14.538Z] aa168da1d23b: Pull complete [2021-03-31T21:34:14.538Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T21:34:14.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T21:34:14.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T21:34:14.731Z] prd-centos7-docker-4c-2g-32334 does not seem to be running inside a container [2021-03-31T21:34:14.771Z] $ 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/13/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/13 -v /w/workspace/edgex-go/13:/w/workspace/edgex-go/13:rw,z -v /w/workspace/edgex-go/13@tmp:/w/workspace/edgex-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T21:34:17.805Z] $ docker top 9d262a2922c6a5d2611be7c852f39b1befc5f9af9c978d69b8d03d789cfdb070 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T21:34:18.287Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T21:34:18.584Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T21:34:18.883Z] + ls /var/log/sa-host [2021-03-31T21:34:18.883Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T21:34:18.883Z] file_magic: OK [2021-03-31T21:34:18.883Z] HZ: Using current value: 100 [2021-03-31T21:34:18.883Z] file_header: OK [2021-03-31T21:34:18.883Z] 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-03-31T21:34:18.883Z] Statistics: [2021-03-31T21:34:18.883Z] Hnuu...uuuununununu... [2021-03-31T21:34:18.883Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T21:34:18.883Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T21:34:18.883Z] file_magic: OK [2021-03-31T21:34:18.883Z] HZ: Using current value: 100 [2021-03-31T21:34:18.883Z] file_header: OK [2021-03-31T21:34:18.883Z] 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-03-31T21:34:18.883Z] Statistics: [2021-03-31T21:34:18.883Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T21:34:18.883Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T21:34:19.098Z] provisioning config files... [2021-03-31T21:34:19.118Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/13@tmp/config4195604156361527752tmp [Pipeline] { [Pipeline] echo [2021-03-31T21:34:19.203Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:34:19.500Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T21:34:19.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T21:34:19.603Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:34:19.902Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T21:34:19.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:34:20.210Z] ---> sudo-logs.sh [2021-03-31T21:34:20.210Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T21:34:20.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:34:20.619Z] ---> job-cost.sh [2021-03-31T21:34:20.619Z] lf-activate-venv: SKIPPING [2021-03-31T21:34:20.619Z] DEBUG: total: 0.20999999344348907 [2021-03-31T21:34:20.619Z] INFO: Retrieving Stack Cost... [2021-03-31T21:34:21.564Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T21:34:22.136Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T21:34:22.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:34:22.446Z] ---> logs-deploy.sh [2021-03-31T21:34:22.446Z] lf-activate-venv: SKIPPING [2021-03-31T21:34:22.446Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/13 [2021-03-31T21:34:22.446Z] INFO: archiving workspace using pattern(s): [2021-03-31T21:34:23.832Z] Archives upload complete. [2021-03-31T21:34:23.832Z] INFO: archiving logs to Nexus [2021-03-31T21:34:24.777Z] ---> uname -a: [2021-03-31T21:34:24.777Z] Linux prd-centos7-docker-4c-2g-32334.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] ---> lscpu: [2021-03-31T21:34:24.777Z] Architecture: x86_64 [2021-03-31T21:34:24.777Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-31T21:34:24.777Z] Byte Order: Little Endian [2021-03-31T21:34:24.777Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-31T21:34:24.777Z] CPU(s): 4 [2021-03-31T21:34:24.777Z] On-line CPU(s) list: 0-3 [2021-03-31T21:34:24.777Z] Thread(s) per core: 1 [2021-03-31T21:34:24.777Z] Core(s) per socket: 1 [2021-03-31T21:34:24.777Z] Socket(s): 4 [2021-03-31T21:34:24.777Z] NUMA node(s): 1 [2021-03-31T21:34:24.777Z] Vendor ID: GenuineIntel [2021-03-31T21:34:24.777Z] CPU family: 6 [2021-03-31T21:34:24.777Z] Model: 44 [2021-03-31T21:34:24.777Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-31T21:34:24.777Z] Stepping: 1 [2021-03-31T21:34:24.777Z] CPU MHz: 2933.442 [2021-03-31T21:34:24.777Z] BogoMIPS: 5866.88 [2021-03-31T21:34:24.777Z] Virtualization: VT-x [2021-03-31T21:34:24.777Z] Hypervisor vendor: KVM [2021-03-31T21:34:24.777Z] Virtualization type: full [2021-03-31T21:34:24.777Z] L1d cache: 128 KiB [2021-03-31T21:34:24.777Z] L1i cache: 128 KiB [2021-03-31T21:34:24.777Z] L2 cache: 16 MiB [2021-03-31T21:34:24.777Z] L3 cache: 64 MiB [2021-03-31T21:34:24.777Z] NUMA node0 CPU(s): 0-3 [2021-03-31T21:34:24.777Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-31T21:34:24.777Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-31T21:34:24.777Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-31T21:34:24.777Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-31T21:34:24.777Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-31T21:34:24.777Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-31T21:34:24.777Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-31T21:34:24.777Z] Vulnerability Srbds: Not affected [2021-03-31T21:34:24.777Z] Vulnerability Tsx async abort: Not affected [2021-03-31T21:34:24.777Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] ---> nproc: [2021-03-31T21:34:24.777Z] 4 [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] ---> df -h: [2021-03-31T21:34:24.777Z] Filesystem Size Used Available Use% Mounted on [2021-03-31T21:34:24.777Z] overlay 50.0G 8.2G 41.7G 16% / [2021-03-31T21:34:24.777Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-03-31T21:34:24.777Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-03-31T21:34:24.777Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /facter-os [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /etc/resolv.conf [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /etc/hostname [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /etc/hosts [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /run/cloud-init/result.json [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/sa-host [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/secure [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /var/log/auth.log [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /w/workspace/edgex-go/13 [2021-03-31T21:34:24.777Z] /dev/vda1 50.0G 8.2G 41.7G 16% /w/workspace/edgex-go/13@tmp [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] ---> free -m: [2021-03-31T21:34:24.777Z] total used free shared buff/cache available [2021-03-31T21:34:24.777Z] Mem: 1837 741 137 0 958 1004 [2021-03-31T21:34:24.777Z] Swap: 1023 2 1021 [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] ---> ip addr: [2021-03-31T21:34:24.777Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-03-31T21:34:24.777Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-03-31T21:34:24.777Z] inet 127.0.0.1/8 scope host lo [2021-03-31T21:34:24.777Z] valid_lft forever preferred_lft forever [2021-03-31T21:34:24.777Z] inet6 ::1/128 scope host [2021-03-31T21:34:24.777Z] valid_lft forever preferred_lft forever [2021-03-31T21:34:24.777Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-03-31T21:34:24.777Z] link/ether fa:16:3e:95:b1:81 brd ff:ff:ff:ff:ff:ff [2021-03-31T21:34:24.777Z] inet 10.30.123.156/23 brd 10.30.123.255 scope global dynamic eth0 [2021-03-31T21:34:24.777Z] valid_lft 85738sec preferred_lft 85738sec [2021-03-31T21:34:24.777Z] inet6 fe80::f816:3eff:fe95:b181/64 scope link [2021-03-31T21:34:24.777Z] valid_lft forever preferred_lft forever [2021-03-31T21:34:24.777Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-03-31T21:34:24.777Z] link/ether 02:42:62:ca:0b:c5 brd ff:ff:ff:ff:ff:ff [2021-03-31T21:34:24.777Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-03-31T21:34:24.777Z] valid_lft forever preferred_lft forever [2021-03-31T21:34:24.777Z] inet6 fe80::42:62ff:feca:bc5/64 scope link [2021-03-31T21:34:24.777Z] valid_lft forever preferred_lft forever [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] ---> sar -b -r -n DEV: [2021-03-31T21:34:24.777Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/31/21 _x86_64_ (4 CPU) [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] 21:23:10 LINUX RESTART (4 CPU) [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] 21:24:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-03-31T21:34:24.777Z] 21:25:01 218.74 94.47 124.28 0.00 10371.17 47559.14 0.00 [2021-03-31T21:34:24.777Z] 21:26:01 244.85 91.15 153.70 0.00 3670.34 21067.09 0.00 [2021-03-31T21:34:24.777Z] 21:27:02 103.81 27.56 76.25 0.00 2130.94 9483.14 0.00 [2021-03-31T21:34:24.777Z] 21:28:01 3.67 0.00 3.67 0.00 0.00 136.80 0.00 [2021-03-31T21:34:24.777Z] 21:29:01 1.37 1.15 0.22 0.00 67.16 2.88 0.00 [2021-03-31T21:34:24.777Z] 21:30:01 1.42 1.07 0.35 0.00 125.50 4.56 0.00 [2021-03-31T21:34:24.777Z] 21:31:01 0.22 0.00 0.22 0.00 0.00 3.10 0.00 [2021-03-31T21:34:24.777Z] 21:32:01 0.17 0.00 0.17 0.00 0.00 1.62 0.00 [2021-03-31T21:34:24.777Z] 21:33:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 [2021-03-31T21:34:24.777Z] 21:34:01 28.37 28.14 0.23 0.00 3558.84 3.11 0.00 [2021-03-31T21:34:24.777Z] Average: 60.16 24.29 35.87 0.00 1982.90 7778.75 0.00 [2021-03-31T21:34:24.777Z] [2021-03-31T21:34:24.777Z] 21:24:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-03-31T21:34:24.777Z] 21:25:01 79804 0 707272 37.59 2056 1092412 1441660 49.20 578448 977992 49064 [2021-03-31T21:34:24.777Z] 21:26:01 87100 0 844036 44.86 1492 948916 1732764 59.14 691904 820192 80712 [2021-03-31T21:34:24.777Z] 21:27:02 573548 0 679680 36.12 732 627584 1099268 37.52 437048 595212 20 [2021-03-31T21:34:24.777Z] 21:28:01 587640 0 665440 35.37 732 627732 1073444 36.63 434912 594096 12 [2021-03-31T21:34:24.777Z] 21:29:01 584888 0 666164 35.41 732 629760 1073528 36.64 441380 590116 8 [2021-03-31T21:34:24.777Z] 21:30:01 582256 0 665048 35.35 732 633508 1073444 36.63 439640 595108 20 [2021-03-31T21:34:24.777Z] 21:31:01 582244 0 665052 35.35 732 633516 1073444 36.63 439648 595160 8 [2021-03-31T21:34:24.777Z] 21:32:01 581528 0 665764 35.38 732 633520 1073504 36.64 439968 595156 8 [2021-03-31T21:34:24.778Z] 21:33:01 582096 0 665192 35.35 732 633524 1073444 36.63 439540 595156 8 [2021-03-31T21:34:24.778Z] 21:34:01 455104 0 685968 36.46 732 739740 1104504 37.69 468176 691940 96 [2021-03-31T21:34:24.778Z] Average: 469621 0 690962 36.72 940 720021 1181900 40.34 481066 665013 12996 [2021-03-31T21:34:24.778Z] [2021-03-31T21:34:24.778Z] 21:24:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-03-31T21:34:24.778Z] 21:25:01 vethfa2cc16 30.40 49.62 2.08 243.13 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:25:01 eth0 1188.82 1200.85 6198.30 146.95 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:25:01 docker0 871.51 790.81 71.88 2971.96 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:26:01 vethbd28520 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:26:01 eth0 184.53 153.47 619.67 63.66 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:26:01 docker0 113.87 132.19 8.43 590.39 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:27:02 eth0 32.52 17.69 26.02 11.37 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:27:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:27:02 docker0 2.23 2.23 0.15 0.18 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:28:01 eth0 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:29:01 eth0 0.47 0.43 0.35 0.09 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:30:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:31:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:32:01 eth0 0.20 0.15 0.07 0.01 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:33:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:34:01 eth0 23.91 22.08 5.80 38.89 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] 21:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] Average: eth0 141.68 138.06 677.49 25.96 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] Average: docker0 97.71 91.58 7.96 352.76 0.00 0.00 0.00 0.00 [2021-03-31T21:34:24.778Z] [2021-03-31T21:34:24.778Z]