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 c3e4b4b02eb8fed364144b1f70f879119ac45d91 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 ‘prd-centos7-docker-4c-2g-32344’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32345 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/20 [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/20 # 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 > 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 Merging remotes/origin/master commit f2bd0815c0e73667d07e5744b61daa5be38d8f92 into PR head commit c3e4b4b02eb8fed364144b1f70f879119ac45d91 Merge succeeded, producing c3e4b4b02eb8fed364144b1f70f879119ac45d91 Checking out Revision c3e4b4b02eb8fed364144b1f70f879119ac45d91 (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 > 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 c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 430b9cac8a5b61a74b999c3de1869d85dea72ac7 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T21:58:11.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T21:58:12.111Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T21:58:12.230Z] ========================================================= [2021-03-31T21:58:12.230Z] EdgeX Global Pipelines Version Info [2021-03-31T21:58:12.230Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:58:13.984Z] ------------------- [2021-03-31T21:58:13.984Z] stable info: [2021-03-31T21:58:13.984Z] ------------------- [2021-03-31T21:58:13.984Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T21:58:13.984Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T21:58:13.984Z] Message: update stable to v1.0.186 [2021-03-31T21:58:14.991Z] ------------------- [2021-03-31T21:58:14.991Z] experimental info: [2021-03-31T21:58:14.991Z] ------------------- [2021-03-31T21:58:14.991Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T21:58:14.991Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T21:58:14.991Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T21:58:15.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-03-31T21:58:15.517Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-03-31T21:58:15.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T21:58:15.727Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T21:58:15.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T21:58:15.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T21:58:15.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T21:58:16.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-03-31T21:58:16.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-03-31T21:58:16.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-03-31T21:58:16.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T21:58:16.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T21:58:16.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T21:58:16.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T21:58:16.815Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T21:58:16.902Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T21:58:17.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T21:58:17.168Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T21:58:17.254Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T21:58:17.351Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T21:58:17.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-31T21:58:17.526Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T21:58:17.609Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-03-31T21:58:17.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-03-31T21:58:17.814Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-03-31T21:58:17.900Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3e4b4b02eb8fed364144b1f70f879119ac45d91 [Pipeline] echo [2021-03-31T21:58:17.990Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3e4b4b [Pipeline] echo [2021-03-31T21:58:18.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T21:58:18.249Z] provisioning config files... [2021-03-31T21:58:18.281Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/20@tmp/config8501293468509269925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T21:58:18.635Z] ---> docker-login.sh [2021-03-31T21:58:18.635Z] nexus3.edgexfoundry.org:10001 [2021-03-31T21:58:18.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:58:18.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:58:18.901Z] Configure a credential helper to remove this warning. See [2021-03-31T21:58:18.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:58:18.901Z] [2021-03-31T21:58:18.901Z] Login Succeeded [2021-03-31T21:58:18.901Z] nexus3.edgexfoundry.org:10002 [2021-03-31T21:58:19.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:58:19.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:58:19.164Z] Configure a credential helper to remove this warning. See [2021-03-31T21:58:19.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:58:19.164Z] [2021-03-31T21:58:19.164Z] Login Succeeded [2021-03-31T21:58:19.164Z] nexus3.edgexfoundry.org:10003 [2021-03-31T21:58:19.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:58:19.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:58:19.427Z] Configure a credential helper to remove this warning. See [2021-03-31T21:58:19.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:58:19.427Z] [2021-03-31T21:58:19.427Z] Login Succeeded [2021-03-31T21:58:19.427Z] nexus3.edgexfoundry.org:10004 [2021-03-31T21:58:19.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:58:19.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:58:19.690Z] Configure a credential helper to remove this warning. See [2021-03-31T21:58:19.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:58:19.690Z] [2021-03-31T21:58:19.690Z] Login Succeeded [2021-03-31T21:58:19.690Z] docker.io [2021-03-31T21:58:19.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T21:58:19.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T21:58:19.954Z] Configure a credential helper to remove this warning. See [2021-03-31T21:58:19.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T21:58:19.954Z] [2021-03-31T21:58:19.954Z] Login Succeeded [2021-03-31T21:58:19.954Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T21:58:19.963Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T21:58:20.444Z] ++ 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:58:20.444Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.444Z] ++ dirname cmd/core-command/Dockerfile [2021-03-31T21:58:20.444Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.444Z] + echo core-command,cmd/core-command/Dockerfile [2021-03-31T21:58:20.444Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.444Z] ++ dirname cmd/core-data/Dockerfile [2021-03-31T21:58:20.444Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.444Z] + echo core-data,cmd/core-data/Dockerfile [2021-03-31T21:58:20.444Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.444Z] ++ dirname cmd/core-metadata/Dockerfile [2021-03-31T21:58:20.444Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.444Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-03-31T21:58:20.444Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.444Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-03-31T21:58:20.444Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.444Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-03-31T21:58:20.444Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.444Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-03-31T21:58:20.444Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.444Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-03-31T21:58:20.444Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.444Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-03-31T21:58:20.444Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.445Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-03-31T21:58:20.445Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.445Z] ++ dirname cmd/support-notifications/Dockerfile [2021-03-31T21:58:20.445Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.445Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-03-31T21:58:20.445Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.445Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-03-31T21:58:20.445Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.445Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-03-31T21:58:20.445Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T21:58:20.445Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-03-31T21:58:20.445Z] ++ cut -d/ -f2 [2021-03-31T21:58:20.445Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-03-31T21:58:20.526Z] 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:58:21.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T21:58:21.693Z] [2021-03-31T21:58:21.693Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:58:22.041Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T21:58:22.041Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T21:58:22.041Z] 31603596830f: Pulling fs layer [2021-03-31T21:58:22.041Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T21:58:22.041Z] 6ca5941a6612: Pulling fs layer [2021-03-31T21:58:22.041Z] ecc8261a40a4: Pulling fs layer [2021-03-31T21:58:22.041Z] ecc8261a40a4: Waiting [2021-03-31T21:58:22.041Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T21:58:22.041Z] 2a8b12db71e7: Download complete [2021-03-31T21:58:22.041Z] 31603596830f: Download complete [2021-03-31T21:58:22.304Z] 6ca5941a6612: Verifying Checksum [2021-03-31T21:58:22.304Z] 6ca5941a6612: Download complete [2021-03-31T21:58:22.304Z] ecc8261a40a4: Verifying Checksum [2021-03-31T21:58:22.304Z] ecc8261a40a4: Download complete [2021-03-31T21:58:22.566Z] 31603596830f: Pull complete [2021-03-31T21:58:22.834Z] 2a8b12db71e7: Pull complete [2021-03-31T21:58:23.409Z] 6ca5941a6612: Pull complete [2021-03-31T21:58:23.678Z] ecc8261a40a4: Pull complete [2021-03-31T21:58:23.679Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T21:58:23.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T21:58:23.679Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T21:58:24.081Z] prd-centos7-docker-4c-2g-32345 does not seem to be running inside a container [2021-03-31T21:58:24.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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:58:26.663Z] $ docker top 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T21:58:27.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T21:58:27.072Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T21:58:27.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T21:58:27.316Z] $ docker exec 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 ssh-agent [2021-03-31T21:58:27.485Z] SSH_AUTH_SOCK=/tmp/ssh-Ql14zCCcrdMz/agent.11 [2021-03-31T21:58:27.485Z] SSH_AGENT_PID=16 [2021-03-31T21:58:27.498Z] Running ssh-add (command line suppressed) [2021-03-31T21:58:27.621Z] Identity added: /w/workspace/edgex-go/20@tmp/private_key_5026454887272505703.key (/w/workspace/edgex-go/20@tmp/private_key_5026454887272505703.key) [2021-03-31T21:58:27.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T21:58:28.008Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T21:58:28.033Z] $ docker exec --env ******** --env ******** 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 ssh-agent -k [2021-03-31T21:58:28.155Z] unset SSH_AUTH_SOCK; [2021-03-31T21:58:28.156Z] unset SSH_AGENT_PID; [2021-03-31T21:58:28.156Z] echo Agent pid 16 killed; [2021-03-31T21:58:28.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T21:58:28.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T21:58:28.352Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T21:58:28.532Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T21:58:28.537Z] $ docker exec 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 ssh-agent [2021-03-31T21:58:28.704Z] SSH_AUTH_SOCK=/tmp/ssh-W3rULAqxL7N0/agent.45 [2021-03-31T21:58:28.704Z] SSH_AGENT_PID=51 [2021-03-31T21:58:28.713Z] Running ssh-add (command line suppressed) [2021-03-31T21:58:28.842Z] Identity added: /w/workspace/edgex-go/20@tmp/private_key_3958599085293456040.key (/w/workspace/edgex-go/20@tmp/private_key_3958599085293456040.key) [2021-03-31T21:58:28.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T21:58:29.235Z] + git semver init [2021-03-31T21:58:29.235Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T21:58:29.235Z] # $GIT_DIR = /w/workspace/edgex-go/20/.git [2021-03-31T21:58:29.235Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/20 [2021-03-31T21:58:29.235Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T21:58:29.235Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T21:58:29.235Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T21:58:29.235Z] # $SEMVER_BRANCH = PR-3328 [2021-03-31T21:58:29.235Z] # $SEMVER_TEMP = /tmp/semver-401427251 [2021-03-31T21:58:29.235Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-03-31T21:58:47.542Z] # '/tmp/semver-401427251' -> '/w/workspace/edgex-go/20/.semver' [2021-03-31T21:58:47.542Z] # -> Force: false [2021-03-31T21:58:47.806Z] # $SEMVER_DIR = /w/workspace/edgex-go/20/.semver [Pipeline] } [2021-03-31T21:58:47.821Z] $ docker exec --env ******** --env ******** 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 ssh-agent -k [2021-03-31T21:58:48.062Z] unset SSH_AUTH_SOCK; [2021-03-31T21:58:48.062Z] unset SSH_AGENT_PID; [2021-03-31T21:58:48.062Z] echo Agent pid 51 killed; [2021-03-31T21:58:48.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T21:58:48.658Z] + git semver [Pipeline] } [2021-03-31T21:58:48.680Z] $ docker stop --time=1 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 [2021-03-31T21:58:50.308Z] $ docker rm -f 8d94af2782512eb6a3e3438e10d8392b18220769d32a22f14448e092a774c732 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T21:58:50.878Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T21:58:51.439Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T21:58:51.442Z] [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:58:52.331Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T21:58:52.639Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T21:58:52.942Z] + sudo service docker restart [2021-03-31T21:58:52.942Z] + true [2021-03-31T21:58:52.942Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-03-31T21:58:53.533Z] ========================================================= [2021-03-31T21:58:53.533Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T21:58:53.533Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:58:53.875Z] + 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:58:57.202Z] Sending build context to Docker daemon 329.3MB [2021-03-31T21:58:57.202Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T21:58:57.202Z] Step 2/6 : FROM ${BASE} [2021-03-31T21:58:57.467Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T21:58:57.467Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T21:58:57.467Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T21:58:57.467Z] de9db76c5a1d: Pulling fs layer [2021-03-31T21:58:57.467Z] bca2f99d35d6: Pulling fs layer [2021-03-31T21:58:57.467Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T21:58:57.467Z] 7c6f9722023f: Pulling fs layer [2021-03-31T21:58:57.467Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T21:58:57.467Z] 93359f2a8cfa: Waiting [2021-03-31T21:58:57.467Z] 7c6f9722023f: Waiting [2021-03-31T21:58:57.467Z] a35cf1a2eb13: Waiting [2021-03-31T21:58:57.467Z] bca2f99d35d6: Waiting [2021-03-31T21:58:57.467Z] de9db76c5a1d: Verifying Checksum [2021-03-31T21:58:57.467Z] de9db76c5a1d: Download complete [2021-03-31T21:58:57.467Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T21:58:57.467Z] 0ef7d3d256c8: Download complete [2021-03-31T21:58:57.467Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T21:58:57.467Z] 93359f2a8cfa: Download complete [2021-03-31T21:58:57.731Z] 7c6f9722023f: Verifying Checksum [2021-03-31T21:58:57.731Z] 7c6f9722023f: Download complete [2021-03-31T21:58:57.731Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T21:58:57.731Z] 188c0c94c7c5: Download complete [2021-03-31T21:58:57.999Z] 188c0c94c7c5: Pull complete [2021-03-31T21:58:58.265Z] 0ef7d3d256c8: Pull complete [2021-03-31T21:58:58.265Z] de9db76c5a1d: Pull complete [2021-03-31T21:58:59.674Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T21:58:59.674Z] a35cf1a2eb13: Download complete [2021-03-31T21:59:00.258Z] bca2f99d35d6: Verifying Checksum [2021-03-31T21:59:00.258Z] bca2f99d35d6: Download complete [2021-03-31T21:59:05.629Z] bca2f99d35d6: Pull complete [2021-03-31T21:59:05.629Z] 93359f2a8cfa: Pull complete [2021-03-31T21:59:05.629Z] 7c6f9722023f: Pull complete [2021-03-31T21:59:06.817Z] Still waiting to schedule task [2021-03-31T21:59:06.817Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-31T21:59:10.992Z] a35cf1a2eb13: Pull complete [2021-03-31T21:59:10.992Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T21:59:10.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T21:59:10.992Z] ---> a62c8e92a672 [2021-03-31T21:59:10.992Z] 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:59:10.992Z] ---> Running in fa4a92a88fb8 [2021-03-31T21:59:10.992Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T21:59:11.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T21:59:12.172Z] (1/12) Installing libmagic (5.38-r0) [2021-03-31T21:59:12.173Z] (2/12) Installing file (5.38-r0) [2021-03-31T21:59:12.436Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-31T21:59:12.436Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-31T21:59:17.746Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-31T21:59:17.746Z] (6/12) Installing patch (2.7.6-r6) [2021-03-31T21:59:17.746Z] (7/12) Installing build-base (0.5-r2) [2021-03-31T21:59:17.746Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-31T21:59:17.746Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-31T21:59:17.746Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-31T21:59:17.746Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-31T21:59:17.746Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-31T21:59:17.746Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T21:59:17.746Z] OK: 233 MiB in 51 packages [2021-03-31T21:59:21.968Z] Removing intermediate container fa4a92a88fb8 [2021-03-31T21:59:21.968Z] ---> c7c6b33c3849 [2021-03-31T21:59:21.968Z] Step 4/6 : WORKDIR /edgex-go [2021-03-31T21:59:21.968Z] ---> Running in e1b3f7686a2a [2021-03-31T21:59:21.968Z] Removing intermediate container e1b3f7686a2a [2021-03-31T21:59:21.968Z] ---> deb06c702a09 [2021-03-31T21:59:21.968Z] Step 5/6 : COPY go.mod . [2021-03-31T21:59:22.231Z] ---> 82dbf5a9acbc [2021-03-31T21:59:22.231Z] Step 6/6 : RUN go mod download [2021-03-31T21:59:22.231Z] ---> Running in 38d61ec620b8 [2021-03-31T21:59:44.275Z] Removing intermediate container 38d61ec620b8 [2021-03-31T21:59:44.275Z] ---> 1213ddbc6dca [2021-03-31T21:59:44.275Z] Successfully built 1213ddbc6dca [2021-03-31T21:59:44.275Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:59:44.593Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T21:59:44.593Z] . [Pipeline] withDockerContainer [2021-03-31T21:59:44.697Z] prd-centos7-docker-4c-2g-32345 does not seem to be running inside a container [2021-03-31T21:59:44.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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:59:46.020Z] $ docker top f4004623fab5e151d3643ac23a8260fe2f1ceddbb2066d64ad2109cd9892035d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T21:59:46.537Z] + go version [2021-03-31T21:59:46.537Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T21:59:46.551Z] $ docker stop --time=1 f4004623fab5e151d3643ac23a8260fe2f1ceddbb2066d64ad2109cd9892035d [2021-03-31T21:59:47.910Z] $ docker rm -f f4004623fab5e151d3643ac23a8260fe2f1ceddbb2066d64ad2109cd9892035d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T21:59:48.680Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T21:59:48.680Z] . [Pipeline] withDockerContainer [2021-03-31T21:59:48.774Z] prd-centos7-docker-4c-2g-32345 does not seem to be running inside a container [2021-03-31T21:59:48.818Z] $ 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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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:59:50.348Z] $ docker top cf8d4ef1ea6958d13c8ff33cc5790f986fc40f63aa862b6930c2e3d07f792197 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T21:59:50.582Z] ========================================================= [2021-03-31T21:59:50.582Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-31T21:59:50.582Z] ========================================================= [Pipeline] sh [2021-03-31T21:59:50.876Z] + make test [2021-03-31T21:59:50.876Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T22:00:00.938Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-31T22:00:16.052Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-31T22:00:22.714Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-03-31T22:00:22.714Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-03-31T22:00:22.714Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-03-31T22:00:25.309Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-03-31T22:00:25.309Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-03-31T22:00:25.309Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-03-31T22:00:25.309Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-03-31T22:00:26.275Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-03-31T22:00:26.859Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-03-31T22:00:29.463Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-03-31T22:00:29.463Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-03-31T22:00:29.463Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-03-31T22:00:31.412Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.134s coverage: 45.9% of statements [2021-03-31T22:00:31.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-03-31T22:00:31.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-03-31T22:00:31.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-03-31T22:00:31.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-03-31T22:00:31.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-03-31T22:00:31.412Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-03-31T22:00:31.412Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.073s coverage: 19.8% of statements [2021-03-31T22:00:31.412Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.092s coverage: 100.0% of statements [2021-03-31T22:00:35.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.296s coverage: 27.1% of statements [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-03-31T22:00:35.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.059s coverage: 100.0% of statements [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-03-31T22:00:35.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.064s coverage: 100.0% of statements [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-03-31T22:00:35.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.126s coverage: 71.3% of statements [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-03-31T22:00:35.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.233s coverage: 82.9% of statements [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:00:35.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.095s coverage: 78.9% of statements [2021-03-31T22:00:35.676Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-03-31T22:00:39.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.344s coverage: 28.6% of statements [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-03-31T22:00:39.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.108s coverage: 100.0% of statements [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-03-31T22:00:39.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.092s coverage: 100.0% of statements [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-03-31T22:00:39.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.117s coverage: 86.7% of statements [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-03-31T22:00:39.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.156s coverage: 97.5% of statements [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-03-31T22:00:39.069Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.071s coverage: 78.3% of statements [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-03-31T22:00:39.069Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-03-31T22:00:41.688Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.414s coverage: 92.8% of statements [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-03-31T22:00:41.688Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-03-31T22:00:41.688Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.079s coverage: 1.0% of statements [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-03-31T22:00:41.688Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-03-31T22:00:41.688Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.086s coverage: 47.1% of statements [2021-03-31T22:00:41.688Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.095s coverage: 79.5% of statements [2021-03-31T22:00:41.688Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.075s coverage: 94.1% of statements [2021-03-31T22:00:41.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.096s coverage: 96.3% of statements [2021-03-31T22:00:42.219Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.071s coverage: 87.5% of statements [2021-03-31T22:00:54.381Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32346 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-03-31T22:00:54.472Z] Running in /w/workspace/edgex-go/20 [Pipeline] { [2021-03-31T22:00:54.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.093s coverage: 94.4% of statements [2021-03-31T22:00:54.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.055s coverage: 44.8% of statements [Pipeline] checkout [2021-03-31T22:00:56.635Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.247s coverage: 82.6% of statements [2021-03-31T22:00:59.649Z] using credential edgex-jenkins-ssh [2021-03-31T22:00:59.704Z] Cloning the remote Git repository [2021-03-31T22:00:59.781Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-03-31T22:00:59.880Z] > git init /w/workspace/edgex-go/20 # timeout=10 [2021-03-31T22:00:59.974Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-31T22:00:59.975Z] > git --version # timeout=10 [2021-03-31T22:00:59.993Z] > git --version # 'git version 2.17.1' [2021-03-31T22:00:59.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T22:01:00.059Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T22:01:06.727Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.091s coverage: 92.9% of statements [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-03-31T22:01:06.727Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-03-31T22:01:06.727Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.045s coverage: 87.2% of statements [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-03-31T22:01:06.727Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-03-31T22:01:06.727Z] flag provided but not defined: -badarg [2021-03-31T22:01:06.727Z] Usage of adduser: [2021-03-31T22:01:06.727Z] -algorithm string [2021-03-31T22:01:06.727Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-03-31T22:01:06.727Z] -client_id string [2021-03-31T22:01:06.727Z] Optional manually-specified OAuth2 client_id. [2021-03-31T22:01:06.727Z] -client_secret string [2021-03-31T22:01:06.727Z] Optional manually-specified OAuth2 client_secret. [2021-03-31T22:01:06.727Z] -confdir string [2021-03-31T22:01:06.727Z] [2021-03-31T22:01:06.727Z] -group string [2021-03-31T22:01:06.727Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2021-03-31T22:01:06.727Z] -id string [2021-03-31T22:01:06.727Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-03-31T22:01:06.727Z] -public_key string [2021-03-31T22:01:06.727Z] Public key (in PEM format) used to validate the JWT. [2021-03-31T22:01:06.727Z] -redirect_uris string [2021-03-31T22:01:06.727Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-03-31T22:01:06.727Z] -token-type string [2021-03-31T22:01:06.727Z] Type of token to create: jwt or oauth2 [2021-03-31T22:01:06.727Z] -user string [2021-03-31T22:01:06.727Z] Username of the user to add [2021-03-31T22:01:06.727Z] --- FAIL: TestAddUserJWT (0.01s) [2021-03-31T22:01:06.727Z] command_test.go:96: [2021-03-31T22:01:06.727Z] Error Trace: command_test.go:96 [2021-03-31T22:01:06.727Z] Error: Received unexpected error: [2021-03-31T22:01:06.727Z] 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-31T22:01:06.727Z] Test: TestAddUserJWT [2021-03-31T22:01:06.727Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-03-31T22:01:06.727Z] command_test.go:144: [2021-03-31T22:01:06.727Z] Error Trace: command_test.go:144 [2021-03-31T22:01:06.727Z] Error: Received unexpected error: [2021-03-31T22:01:06.727Z] 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-31T22:01:06.727Z] Test: TestAddUserOAuth2 [2021-03-31T22:01:06.727Z] FAIL [2021-03-31T22:01:06.727Z] coverage: 34.0% of statements [2021-03-31T22:01:06.727Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.049s [2021-03-31T22:01:06.727Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-03-31T22:01:06.727Z] flag provided but not defined: -badarg [2021-03-31T22:01:06.727Z] Usage of deluser: [2021-03-31T22:01:06.727Z] -confdir string [2021-03-31T22:01:06.727Z] [2021-03-31T22:01:06.727Z] -user string [2021-03-31T22:01:06.727Z] Username of the user to delete [2021-03-31T22:01:06.727Z] --- FAIL: TestDelUser (0.00s) [2021-03-31T22:01:06.727Z] command_test.go:73: [2021-03-31T22:01:06.727Z] Error Trace: command_test.go:73 [2021-03-31T22:01:06.727Z] command_test.go:79 [2021-03-31T22:01:06.727Z] Error: Received unexpected error: [2021-03-31T22:01:06.727Z] 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-31T22:01:06.727Z] Test: TestDelUser [2021-03-31T22:01:06.727Z] FAIL [2021-03-31T22:01:06.727Z] coverage: 69.2% of statements [2021-03-31T22:01:06.727Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.038s [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.092s coverage: 87.2% of statements [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.072s coverage: 84.6% of statements [2021-03-31T22:01:06.728Z] flag provided but not defined: -badarg [2021-03-31T22:01:06.728Z] Usage of tls: [2021-03-31T22:01:06.728Z] -confdir string [2021-03-31T22:01:06.728Z] [2021-03-31T22:01:06.728Z] -incert string [2021-03-31T22:01:06.728Z] Path to PEM-encoded leaf certificate [2021-03-31T22:01:06.728Z] -inkey string [2021-03-31T22:01:06.728Z] Path to PEM-encoded private key [2021-03-31T22:01:06.728Z] -snis string [2021-03-31T22:01:06.728Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-03-31T22:01:06.728Z] --- FAIL: TestTLSAddNewCertificate (0.02s) [2021-03-31T22:01:06.728Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.00s) [2021-03-31T22:01:06.728Z] command_test.go:125: [2021-03-31T22:01:06.728Z] Error Trace: command_test.go:125 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-03-31T22:01:06.728Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) [2021-03-31T22:01:06.728Z] command_test.go:125: [2021-03-31T22:01:06.728Z] Error Trace: command_test.go:125 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-03-31T22:01:06.728Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) [2021-03-31T22:01:06.728Z] command_test.go:125: [2021-03-31T22:01:06.728Z] Error Trace: command_test.go:125 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-03-31T22:01:06.728Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) [2021-03-31T22:01:06.728Z] command_test.go:125: [2021-03-31T22:01:06.728Z] Error Trace: command_test.go:125 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-03-31T22:01:06.728Z] FAIL [2021-03-31T22:01:06.728Z] coverage: 44.3% of statements [2021-03-31T22:01:06.728Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.059s [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.201s coverage: 64.4% of statements [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.055s coverage: 100.0% of statements [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.059s coverage: 91.3% of statements [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.038s coverage: 100.0% of statements [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.037s coverage: 73.7% of statements [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements [2021-03-31T22:01:06.728Z] --- FAIL: TestDelete (0.01s) [2021-03-31T22:01:06.728Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] --- FAIL: TestPostCertExists (0.01s) [2021-03-31T22:01:06.728Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-03-31T22:01:06.728Z] --- FAIL: TestInit (0.01s) [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/empty_env (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/empty_env [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_one_unique_route [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_two_unique_routes [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_one_duplicate_route [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-03-31T22:01:06.728Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-03-31T22:01:06.728Z] service_test.go:220: [2021-03-31T22:01:06.728Z] Error Trace: service_test.go:220 [2021-03-31T22:01:06.728Z] Error: Received unexpected error: [2021-03-31T22:01:06.728Z] failed to read config template: open : no such file or directory [2021-03-31T22:01:06.728Z] Test: TestInit/empty_service_name [2021-03-31T22:01:06.728Z] --- FAIL: TestInitKongService (0.01s) [2021-03-31T22:01:06.728Z] --- FAIL: TestInitKongService/serviceOK (0.01s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] --- FAIL: TestInitKongRoutes (0.00s) [2021-03-31T22:01:06.728Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] --- FAIL: TestResetProxy (0.00s) [2021-03-31T22:01:06.728Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] --- FAIL: TestGetSvcIDs (0.00s) [2021-03-31T22:01:06.728Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-03-31T22:01:06.728Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-03-31T22:01:06.728Z] 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-31T22:01:06.728Z] FAIL [2021-03-31T22:01:06.728Z] coverage: 28.7% of statements [2021-03-31T22:01:06.728Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.099s [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.141s coverage: 41.5% of statements [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.060s coverage: 89.5% of statements [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.046s coverage: 84.8% of statements [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.122s coverage: 47.0% of statements [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-03-31T22:01:06.728Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-03-31T22:01:06.728Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.055s coverage: 100.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.146s coverage: 87.1% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.711s coverage: 29.1% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.069s coverage: 99.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.054s coverage: 100.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.093s coverage: 95.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.028s coverage: 100.0% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.036s coverage: 87.9% of statements [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-03-31T22:01:06.729Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.032s coverage: 100.0% of statements [2021-03-31T22:01:06.729Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.049s coverage: 32.1% of statements [2021-03-31T22:01:07.000Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements [2021-03-31T22:01:07.000Z] FAIL [2021-03-31T22:01:07.263Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-03-31T22:01:07.287Z] $ docker stop --time=1 cf8d4ef1ea6958d13c8ff33cc5790f986fc40f63aa862b6930c2e3d07f792197 [2021-03-31T22:01:09.145Z] $ docker rm -f cf8d4ef1ea6958d13c8ff33cc5790f986fc40f63aa862b6930c2e3d07f792197 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T22:01:10.601Z] Failed in branch amd64 [2021-03-31T22:01:25.280Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-31T22:01:25.297Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T22:01:25.324Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-31T22:01:25.363Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-31T22:01:25.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T22:01:25.375Z] > 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-31T22:01:26.271Z] Merging remotes/origin/master commit f2bd0815c0e73667d07e5744b61daa5be38d8f92 into PR head commit c3e4b4b02eb8fed364144b1f70f879119ac45d91 [2021-03-31T22:01:26.709Z] Merge succeeded, producing c3e4b4b02eb8fed364144b1f70f879119ac45d91 [2021-03-31T22:01:26.711Z] Checking out Revision c3e4b4b02eb8fed364144b1f70f879119ac45d91 (PR-3328) [2021-03-31T22:01:26.306Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T22:01:26.321Z] > git checkout -f c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 [2021-03-31T22:01:26.642Z] > git remote # timeout=10 [2021-03-31T22:01:26.662Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T22:01:26.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T22:01:26.684Z] > git merge f2bd0815c0e73667d07e5744b61daa5be38d8f92 # timeout=10 [2021-03-31T22:01:26.707Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T22:01:26.731Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T22:01:26.742Z] > git checkout -f c3e4b4b02eb8fed364144b1f70f879119ac45d91 # timeout=10 [2021-03-31T22:01:31.257Z] Commit message: "feat(security): Secure Kong Admin API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T22:01:33.020Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T22:01:33.443Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T22:01:33.797Z] + sudo service docker restart [2021-03-31T22:01:33.798Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T22:01:36.510Z] provisioning config files... [2021-03-31T22:01:36.562Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/20@tmp/config8518650971070972429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:01:37.005Z] ---> docker-login.sh [2021-03-31T22:01:37.005Z] nexus3.edgexfoundry.org:10001 [2021-03-31T22:01:37.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T22:01:38.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T22:01:38.275Z] Configure a credential helper to remove this warning. See [2021-03-31T22:01:38.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T22:01:38.275Z] [2021-03-31T22:01:38.275Z] Login Succeeded [2021-03-31T22:01:38.275Z] nexus3.edgexfoundry.org:10002 [2021-03-31T22:01:38.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T22:01:38.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T22:01:38.829Z] Configure a credential helper to remove this warning. See [2021-03-31T22:01:38.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T22:01:38.829Z] [2021-03-31T22:01:38.829Z] Login Succeeded [2021-03-31T22:01:38.829Z] nexus3.edgexfoundry.org:10003 [2021-03-31T22:01:39.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T22:01:39.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T22:01:39.104Z] Configure a credential helper to remove this warning. See [2021-03-31T22:01:39.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T22:01:39.104Z] [2021-03-31T22:01:39.104Z] Login Succeeded [2021-03-31T22:01:39.104Z] nexus3.edgexfoundry.org:10004 [2021-03-31T22:01:39.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T22:01:39.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T22:01:39.705Z] Configure a credential helper to remove this warning. See [2021-03-31T22:01:39.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T22:01:39.705Z] [2021-03-31T22:01:39.705Z] Login Succeeded [2021-03-31T22:01:39.705Z] docker.io [2021-03-31T22:01:40.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T22:01:40.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T22:01:40.577Z] Configure a credential helper to remove this warning. See [2021-03-31T22:01:40.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T22:01:40.577Z] [2021-03-31T22:01:40.577Z] Login Succeeded [2021-03-31T22:01:40.577Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T22:01:40.595Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T22:01:41.014Z] ========================================================= [2021-03-31T22:01:41.014Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T22:01:41.014Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T22:01:41.399Z] + 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-31T22:01:44.028Z] Sending build context to Docker daemon 167.2MB [2021-03-31T22:01:44.028Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T22:01:44.028Z] Step 2/6 : FROM ${BASE} [2021-03-31T22:01:44.028Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T22:01:44.028Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T22:01:44.028Z] a4357932f1b6: Pulling fs layer [2021-03-31T22:01:44.028Z] 18c013af1878: Pulling fs layer [2021-03-31T22:01:44.028Z] 00ac8860ef70: Pulling fs layer [2021-03-31T22:01:44.028Z] 63d7cb157983: Pulling fs layer [2021-03-31T22:01:44.028Z] b116817d02f9: Pulling fs layer [2021-03-31T22:01:44.028Z] 745a02a5169b: Pulling fs layer [2021-03-31T22:01:44.028Z] 00ac8860ef70: Waiting [2021-03-31T22:01:44.028Z] 63d7cb157983: Waiting [2021-03-31T22:01:44.028Z] b116817d02f9: Waiting [2021-03-31T22:01:44.028Z] 745a02a5169b: Waiting [2021-03-31T22:01:44.028Z] 18c013af1878: Download complete [2021-03-31T22:01:44.028Z] a4357932f1b6: Verifying Checksum [2021-03-31T22:01:44.028Z] a4357932f1b6: Download complete [2021-03-31T22:01:44.028Z] 63d7cb157983: Verifying Checksum [2021-03-31T22:01:44.028Z] 63d7cb157983: Download complete [2021-03-31T22:01:45.011Z] b116817d02f9: Verifying Checksum [2021-03-31T22:01:45.011Z] b116817d02f9: Download complete [2021-03-31T22:01:45.011Z] 5f621e34cdf4: Download complete [2021-03-31T22:01:45.616Z] 5f621e34cdf4: Pull complete [2021-03-31T22:01:46.221Z] a4357932f1b6: Pull complete [2021-03-31T22:01:46.495Z] 18c013af1878: Pull complete [2021-03-31T22:01:47.476Z] 745a02a5169b: Download complete [2021-03-31T22:01:48.458Z] 00ac8860ef70: Verifying Checksum [2021-03-31T22:01:48.458Z] 00ac8860ef70: Download complete [2021-03-31T22:01:58.631Z] 00ac8860ef70: Pull complete [2021-03-31T22:01:58.631Z] 63d7cb157983: Pull complete [2021-03-31T22:01:58.905Z] b116817d02f9: Pull complete [2021-03-31T22:02:03.229Z] 745a02a5169b: Pull complete [2021-03-31T22:02:03.229Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T22:02:03.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T22:02:03.229Z] ---> b7e6874047d6 [2021-03-31T22:02:03.229Z] 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-31T22:02:05.883Z] ---> Running in 770858f16710 [2021-03-31T22:02:07.318Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T22:02:07.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T22:02:08.510Z] (1/12) Installing libmagic (5.38-r0) [2021-03-31T22:02:08.782Z] (2/12) Installing file (5.38-r0) [2021-03-31T22:02:09.056Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-31T22:02:09.056Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-31T22:02:11.673Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-31T22:02:11.946Z] (6/12) Installing patch (2.7.6-r6) [2021-03-31T22:02:11.946Z] (7/12) Installing build-base (0.5-r2) [2021-03-31T22:02:11.946Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-31T22:02:12.219Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-31T22:02:12.219Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-31T22:02:12.494Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-31T22:02:12.494Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-31T22:02:12.494Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T22:02:12.494Z] OK: 217 MiB in 51 packages [2021-03-31T22:02:16.913Z] Removing intermediate container 770858f16710 [2021-03-31T22:02:16.913Z] ---> 4666a680d6f3 [2021-03-31T22:02:16.913Z] Step 4/6 : WORKDIR /edgex-go [2021-03-31T22:02:16.913Z] ---> Running in 17b38a67e6cd [2021-03-31T22:02:17.186Z] Removing intermediate container 17b38a67e6cd [2021-03-31T22:02:17.186Z] ---> c1e50b7dbe10 [2021-03-31T22:02:17.186Z] Step 5/6 : COPY go.mod . [2021-03-31T22:02:17.782Z] ---> 8316204f9516 [2021-03-31T22:02:17.782Z] Step 6/6 : RUN go mod download [2021-03-31T22:02:18.057Z] ---> Running in f7b70d0b37d8 [2021-03-31T22:02:44.963Z] Removing intermediate container f7b70d0b37d8 [2021-03-31T22:02:44.963Z] ---> 3280b0d3fdca [2021-03-31T22:02:44.963Z] Successfully built 3280b0d3fdca [2021-03-31T22:02:44.963Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T22:02:45.310Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T22:02:45.311Z] . [Pipeline] withDockerContainer [2021-03-31T22:02:45.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-32346 does not seem to be running inside a container [2021-03-31T22:02:45.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T22:02:47.208Z] $ docker top 476c7b21827432aed7d7c01541a1fd4fd0aa373cb0a0efa3ffd58cca9ee88a91 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T22:02:48.220Z] + go version [2021-03-31T22:02:48.220Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T22:02:48.277Z] $ docker stop --time=1 476c7b21827432aed7d7c01541a1fd4fd0aa373cb0a0efa3ffd58cca9ee88a91 [2021-03-31T22:02:50.144Z] $ docker rm -f 476c7b21827432aed7d7c01541a1fd4fd0aa373cb0a0efa3ffd58cca9ee88a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T22:02:51.240Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T22:02:51.240Z] . [Pipeline] withDockerContainer [2021-03-31T22:02:51.508Z] prd-ubuntu18.04-docker-arm64-4c-16g-32346 does not seem to be running inside a container [2021-03-31T22:02:51.623Z] $ 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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T22:02:53.045Z] $ docker top f68b56864e97b051466eb8645fc6c97de5c58fbea7a865b2078eb8fe343c499e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T22:02:53.402Z] ========================================================= [2021-03-31T22:02:53.402Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-31T22:02:53.402Z] ========================================================= [Pipeline] sh [2021-03-31T22:02:54.048Z] + make test [2021-03-31T22:02:54.048Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T22:03:16.242Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-31T22:04:12.902Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-31T22:04:12.902Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-03-31T22:04:19.678Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-03-31T22:04:19.678Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-03-31T22:04:22.316Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-03-31T22:04:22.316Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-03-31T22:04:22.316Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-03-31T22:04:22.316Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-03-31T22:04:25.725Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-03-31T22:04:26.332Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-03-31T22:04:34.658Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-03-31T22:04:34.658Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-03-31T22:04:34.658Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-03-31T22:04:40.101Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.363s coverage: 45.9% of statements [2021-03-31T22:04:40.101Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-03-31T22:04:40.101Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-03-31T22:04:40.101Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-03-31T22:04:40.101Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-03-31T22:04:40.101Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-03-31T22:04:40.101Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-03-31T22:04:40.101Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.219s coverage: 19.8% of statements [2021-03-31T22:04:40.101Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.289s coverage: 100.0% of statements [2021-03-31T22:04:48.413Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.500s coverage: 27.1% of statements [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-03-31T22:04:48.413Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.145s coverage: 100.0% of statements [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-03-31T22:04:48.413Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.131s coverage: 100.0% of statements [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-03-31T22:04:48.413Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-03-31T22:04:48.689Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.278s coverage: 71.3% of statements [2021-03-31T22:04:48.689Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-03-31T22:04:48.689Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-03-31T22:04:50.134Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.544s coverage: 82.9% of statements [2021-03-31T22:04:50.134Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-03-31T22:04:50.134Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:04:50.134Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.154s coverage: 78.9% of statements [2021-03-31T22:04:50.134Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-03-31T22:05:02.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.171s coverage: 28.6% of statements [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-03-31T22:05:02.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.226s coverage: 100.0% of statements [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-03-31T22:05:02.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.249s coverage: 100.0% of statements [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-03-31T22:05:02.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.394s coverage: 86.7% of statements [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-03-31T22:05:02.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.413s coverage: 97.5% of statements [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-03-31T22:05:02.567Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.286s coverage: 78.3% of statements [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-03-31T22:05:02.567Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.228s coverage: 92.8% of statements [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.122s coverage: 58.8% of statements [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.238s coverage: 1.0% of statements [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-03-31T22:05:09.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.150s coverage: 47.1% of statements [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.182s coverage: 79.5% of statements [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.112s coverage: 94.1% of statements [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.167s coverage: 96.3% of statements [2021-03-31T22:05:09.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.131s coverage: 87.5% of statements [2021-03-31T22:05:21.797Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.146s coverage: 94.4% of statements [2021-03-31T22:05:21.797Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.120s coverage: 44.8% of statements [2021-03-31T22:05:27.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.487s coverage: 82.6% of statements [2021-03-31T22:05:37.376Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.184s coverage: 92.9% of statements [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-03-31T22:05:37.376Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.059s coverage: 65.1% of statements [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-03-31T22:05:37.376Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-03-31T22:05:37.376Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.114s coverage: 100.0% of statements [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-03-31T22:05:37.376Z] flag provided but not defined: -badarg [2021-03-31T22:05:37.376Z] Usage of adduser: [2021-03-31T22:05:37.376Z] -algorithm string [2021-03-31T22:05:37.376Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-03-31T22:05:37.376Z] -client_id string [2021-03-31T22:05:37.376Z] Optional manually-specified OAuth2 client_id. [2021-03-31T22:05:37.376Z] -client_secret string [2021-03-31T22:05:37.376Z] Optional manually-specified OAuth2 client_secret. [2021-03-31T22:05:37.376Z] -confdir string [2021-03-31T22:05:37.376Z] [2021-03-31T22:05:37.376Z] -group string [2021-03-31T22:05:37.376Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2021-03-31T22:05:37.376Z] -id string [2021-03-31T22:05:37.376Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-03-31T22:05:37.376Z] -public_key string [2021-03-31T22:05:37.376Z] Public key (in PEM format) used to validate the JWT. [2021-03-31T22:05:37.376Z] -redirect_uris string [2021-03-31T22:05:37.376Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-03-31T22:05:37.376Z] -token-type string [2021-03-31T22:05:37.376Z] Type of token to create: jwt or oauth2 [2021-03-31T22:05:37.376Z] -user string [2021-03-31T22:05:37.376Z] Username of the user to add [2021-03-31T22:05:37.376Z] --- FAIL: TestAddUserJWT (0.00s) [2021-03-31T22:05:37.376Z] command_test.go:96: [2021-03-31T22:05:37.376Z] Error Trace: command_test.go:96 [2021-03-31T22:05:37.376Z] Error: Received unexpected error: [2021-03-31T22:05:37.376Z] 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-31T22:05:37.376Z] Test: TestAddUserJWT [2021-03-31T22:05:37.376Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-03-31T22:05:37.376Z] command_test.go:144: [2021-03-31T22:05:37.376Z] Error Trace: command_test.go:144 [2021-03-31T22:05:37.376Z] Error: Received unexpected error: [2021-03-31T22:05:37.376Z] 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-31T22:05:37.376Z] Test: TestAddUserOAuth2 [2021-03-31T22:05:37.376Z] FAIL [2021-03-31T22:05:37.376Z] coverage: 34.0% of statements [2021-03-31T22:05:37.376Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.111s [2021-03-31T22:05:37.376Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-03-31T22:05:37.376Z] flag provided but not defined: -badarg [2021-03-31T22:05:37.376Z] Usage of deluser: [2021-03-31T22:05:37.376Z] -confdir string [2021-03-31T22:05:37.376Z] [2021-03-31T22:05:37.376Z] -user string [2021-03-31T22:05:37.376Z] Username of the user to delete [2021-03-31T22:05:37.376Z] --- FAIL: TestDelUser (0.01s) [2021-03-31T22:05:37.376Z] command_test.go:73: [2021-03-31T22:05:37.376Z] Error Trace: command_test.go:73 [2021-03-31T22:05:37.377Z] command_test.go:79 [2021-03-31T22:05:37.377Z] Error: Received unexpected error: [2021-03-31T22:05:37.377Z] 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-31T22:05:37.377Z] Test: TestDelUser [2021-03-31T22:05:37.377Z] FAIL [2021-03-31T22:05:37.377Z] coverage: 69.2% of statements [2021-03-31T22:05:37.377Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.121s [2021-03-31T22:05:37.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.213s coverage: 87.2% of statements [2021-03-31T22:05:37.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.193s coverage: 84.6% of statements [2021-03-31T22:05:37.377Z] flag provided but not defined: -badarg [2021-03-31T22:05:37.377Z] Usage of tls: [2021-03-31T22:05:37.377Z] -confdir string [2021-03-31T22:05:37.377Z] [2021-03-31T22:05:37.377Z] -incert string [2021-03-31T22:05:37.377Z] Path to PEM-encoded leaf certificate [2021-03-31T22:05:37.377Z] -inkey string [2021-03-31T22:05:37.377Z] Path to PEM-encoded private key [2021-03-31T22:05:37.377Z] -snis string [2021-03-31T22:05:37.377Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-03-31T22:05:37.377Z] --- FAIL: TestTLSAddNewCertificate (0.03s) [2021-03-31T22:05:37.377Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.01s) [2021-03-31T22:05:37.377Z] command_test.go:125: [2021-03-31T22:05:37.377Z] Error Trace: command_test.go:125 [2021-03-31T22:05:37.377Z] Error: Received unexpected error: [2021-03-31T22:05:37.377Z] 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-31T22:05:37.377Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-03-31T22:05:37.377Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) [2021-03-31T22:05:37.377Z] command_test.go:125: [2021-03-31T22:05:37.377Z] Error Trace: command_test.go:125 [2021-03-31T22:05:37.377Z] Error: Received unexpected error: [2021-03-31T22:05:37.377Z] 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-31T22:05:37.377Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-03-31T22:05:37.377Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) [2021-03-31T22:05:37.377Z] command_test.go:125: [2021-03-31T22:05:37.377Z] Error Trace: command_test.go:125 [2021-03-31T22:05:37.377Z] Error: Received unexpected error: [2021-03-31T22:05:37.377Z] 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-31T22:05:37.377Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-03-31T22:05:37.377Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) [2021-03-31T22:05:37.377Z] command_test.go:125: [2021-03-31T22:05:37.377Z] Error Trace: command_test.go:125 [2021-03-31T22:05:37.377Z] Error: Received unexpected error: [2021-03-31T22:05:37.377Z] 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-31T22:05:37.377Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-03-31T22:05:37.377Z] FAIL [2021-03-31T22:05:37.377Z] coverage: 44.3% of statements [2021-03-31T22:05:37.377Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.154s [2021-03-31T22:05:37.377Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-03-31T22:05:37.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.659s coverage: 64.4% of statements [2021-03-31T22:05:37.377Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-03-31T22:05:37.377Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-03-31T22:05:37.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.114s coverage: 100.0% of statements [2021-03-31T22:05:37.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.091s coverage: 91.3% of statements [2021-03-31T22:05:37.377Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.068s coverage: 100.0% of statements [2021-03-31T22:05:37.654Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.090s coverage: 73.7% of statements [2021-03-31T22:05:37.930Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.048s coverage: 100.0% of statements [2021-03-31T22:05:42.249Z] --- FAIL: TestDelete (0.01s) [2021-03-31T22:05:42.249Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] --- FAIL: TestPostCertExists (0.02s) [2021-03-31T22:05:42.249Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-03-31T22:05:42.249Z] --- FAIL: TestInit (0.04s) [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/empty_env (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/empty_env [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_one_unique_route [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_two_unique_routes [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_one_duplicate_route [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.01s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-03-31T22:05:42.249Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-03-31T22:05:42.249Z] service_test.go:220: [2021-03-31T22:05:42.249Z] Error Trace: service_test.go:220 [2021-03-31T22:05:42.249Z] Error: Received unexpected error: [2021-03-31T22:05:42.249Z] failed to read config template: open : no such file or directory [2021-03-31T22:05:42.249Z] Test: TestInit/empty_service_name [2021-03-31T22:05:42.249Z] --- FAIL: TestInitKongService (0.01s) [2021-03-31T22:05:42.249Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] --- FAIL: TestInitKongRoutes (0.01s) [2021-03-31T22:05:42.249Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] --- FAIL: TestResetProxy (0.00s) [2021-03-31T22:05:42.249Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] --- FAIL: TestGetSvcIDs (0.01s) [2021-03-31T22:05:42.249Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-03-31T22:05:42.249Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-03-31T22:05:42.249Z] 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-31T22:05:42.249Z] FAIL [2021-03-31T22:05:42.249Z] coverage: 28.7% of statements [2021-03-31T22:05:42.249Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.254s [2021-03-31T22:05:42.249Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-03-31T22:05:42.249Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-03-31T22:05:42.249Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-03-31T22:05:44.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.451s coverage: 41.5% of statements [2021-03-31T22:05:44.234Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-03-31T22:05:44.234Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-03-31T22:05:44.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.122s coverage: 89.5% of statements [2021-03-31T22:05:44.234Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-03-31T22:05:44.234Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.090s coverage: 84.8% of statements [2021-03-31T22:05:50.965Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.501s coverage: 47.0% of statements [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-03-31T22:05:50.965Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.150s coverage: 100.0% of statements [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-03-31T22:05:50.965Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.095s coverage: 100.0% of statements [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-03-31T22:05:50.965Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.408s coverage: 87.1% of statements [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:05:50.965Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.233s coverage: 29.1% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.180s coverage: 99.0% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.213s coverage: 100.0% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.256s coverage: 95.0% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.048s coverage: 100.0% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-03-31T22:05:57.688Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.104s coverage: 87.9% of statements [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-03-31T22:05:57.688Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-03-31T22:05:57.967Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.069s coverage: 100.0% of statements [2021-03-31T22:05:58.565Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.110s coverage: 32.1% of statements [2021-03-31T22:05:59.994Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-03-31T22:05:59.994Z] FAIL [2021-03-31T22:06:00.586Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-03-31T22:06:00.679Z] $ docker stop --time=1 f68b56864e97b051466eb8645fc6c97de5c58fbea7a865b2078eb8fe343c499e [2021-03-31T22:06:03.468Z] $ docker rm -f f68b56864e97b051466eb8645fc6c97de5c58fbea7a865b2078eb8fe343c499e [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-31T22:06:05.549Z] ---> job-cost.sh [2021-03-31T22:06:05.549Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rKsz [2021-03-31T22:06:44.521Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T22:08:21.265Z] lf-activate-venv(): INFO: Adding /tmp/venv-rKsz/bin to PATH [2021-03-31T22:08:21.265Z] INFO: No Stack... [2021-03-31T22:08:21.265Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T22:08:21.265Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T22:08:21.603Z] + cat /w/workspace/edgex-go/20/archives/cost.csv [2021-03-31T22:08:21.603Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T22:08:21.714Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-20-stack-cost] [2021-03-31T22:08:21.723Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-20-stack-cost] did not exist. Created. [2021-03-31T22:08:21.723Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T22:08:22.184Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T22:08:23.253Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T22:08:23.264Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-20-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T22:08:24.006Z] 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-31T22:08:26.182Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:08:27.070Z] ---> package-listing.sh [2021-03-31T22:08:27.070Z] ++ facter osfamily [2021-03-31T22:08:27.070Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T22:08:27.070Z] + OS_FAMILY=redhat [2021-03-31T22:08:27.070Z] + workspace=/w/workspace/edgex-go/20 [2021-03-31T22:08:27.070Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T22:08:27.070Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T22:08:27.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T22:08:27.070Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T22:08:27.070Z] + '[' /w/workspace/edgex-go/20 ']' [2021-03-31T22:08:27.070Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T22:08:27.070Z] + case "${OS_FAMILY}" in [2021-03-31T22:08:27.070Z] + rpm -qa [2021-03-31T22:08:27.070Z] + sort [2021-03-31T22:08:32.387Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T22:08:32.387Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T22:08:32.387Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T22:08:32.387Z] + '[' /w/workspace/edgex-go/20 ']' [2021-03-31T22:08:32.387Z] + mkdir -p /w/workspace/edgex-go/20/archives/ [2021-03-31T22:08:32.387Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/20/archives/ [Pipeline] echo [2021-03-31T22:08:32.403Z] 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/20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T22:08:32.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T22:08:33.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T22:08:33.013Z] [2021-03-31T22:08:33.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T22:08:33.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T22:08:33.370Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T22:08:33.370Z] df20fa9351a1: Pulling fs layer [2021-03-31T22:08:33.370Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T22:08:33.370Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T22:08:33.370Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T22:08:33.370Z] 93b61091891f: Pulling fs layer [2021-03-31T22:08:33.370Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T22:08:33.370Z] 5e14af77c1be: Pulling fs layer [2021-03-31T22:08:33.370Z] 01666e4c0597: Pulling fs layer [2021-03-31T22:08:33.370Z] aa168da1d23b: Pulling fs layer [2021-03-31T22:08:33.370Z] 5e14af77c1be: Waiting [2021-03-31T22:08:33.370Z] 46f8f816bc3b: Waiting [2021-03-31T22:08:33.370Z] 93b61091891f: Waiting [2021-03-31T22:08:33.370Z] aa168da1d23b: Waiting [2021-03-31T22:08:33.370Z] 93b9cdb0e59b: Waiting [2021-03-31T22:08:33.370Z] 01666e4c0597: Waiting [2021-03-31T22:08:33.634Z] df20fa9351a1: Download complete [2021-03-31T22:08:33.634Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T22:08:33.634Z] 46f8f816bc3b: Download complete [2021-03-31T22:08:33.634Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T22:08:33.634Z] 36b3adc4ff6f: Download complete [2021-03-31T22:08:33.634Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T22:08:33.634Z] 8ad3a11d3b57: Download complete [2021-03-31T22:08:33.634Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T22:08:33.634Z] 93b9cdb0e59b: Download complete [2021-03-31T22:08:33.634Z] 5e14af77c1be: Download complete [2021-03-31T22:08:33.634Z] 01666e4c0597: Verifying Checksum [2021-03-31T22:08:33.634Z] 01666e4c0597: Download complete [2021-03-31T22:08:33.634Z] 93b61091891f: Verifying Checksum [2021-03-31T22:08:33.634Z] 93b61091891f: Download complete [2021-03-31T22:08:33.898Z] df20fa9351a1: Pull complete [2021-03-31T22:08:34.167Z] 36b3adc4ff6f: Pull complete [2021-03-31T22:08:34.749Z] 8ad3a11d3b57: Pull complete [2021-03-31T22:08:35.015Z] 46f8f816bc3b: Pull complete [2021-03-31T22:08:35.589Z] 93b61091891f: Pull complete [2021-03-31T22:08:35.852Z] 93b9cdb0e59b: Pull complete [2021-03-31T22:08:35.852Z] 5e14af77c1be: Pull complete [2021-03-31T22:08:36.114Z] aa168da1d23b: Verifying Checksum [2021-03-31T22:08:36.114Z] aa168da1d23b: Download complete [2021-03-31T22:08:36.114Z] 01666e4c0597: Pull complete [2021-03-31T22:08:42.725Z] aa168da1d23b: Pull complete [2021-03-31T22:08:42.725Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T22:08:42.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T22:08:42.725Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T22:08:42.887Z] prd-centos7-docker-4c-2g-32345 does not seem to be running inside a container [2021-03-31T22:08:42.937Z] $ 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/20/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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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-31T22:08:46.277Z] $ docker top bc268e500215a43300b44839dc1f9be80e5e93d97777a5db6dc93525160569b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T22:08:46.884Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T22:08:47.186Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T22:08:47.490Z] + ls /var/log/sa-host [2021-03-31T22:08:47.490Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T22:08:47.490Z] file_magic: OK [2021-03-31T22:08:47.490Z] HZ: Using current value: 100 [2021-03-31T22:08:47.490Z] file_header: OK [2021-03-31T22:08:47.490Z] 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-31T22:08:47.490Z] Statistics: [2021-03-31T22:08:47.490Z] Hnuu...uuuununununu... [2021-03-31T22:08:47.490Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T22:08:47.490Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T22:08:47.490Z] file_magic: OK [2021-03-31T22:08:47.490Z] HZ: Using current value: 100 [2021-03-31T22:08:47.490Z] file_header: OK [2021-03-31T22:08:47.490Z] 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-31T22:08:47.490Z] Statistics: [2021-03-31T22:08:47.490Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T22:08:47.490Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T22:08:47.792Z] provisioning config files... [2021-03-31T22:08:47.810Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/20@tmp/config737246816825135519tmp [Pipeline] { [Pipeline] echo [2021-03-31T22:08:47.909Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:08:48.213Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T22:08:48.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T22:08:48.365Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:08:48.666Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T22:08:48.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:08:48.974Z] ---> sudo-logs.sh [2021-03-31T22:08:48.974Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T22:08:49.095Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:08:49.401Z] ---> job-cost.sh [2021-03-31T22:08:49.401Z] lf-activate-venv: SKIPPING [2021-03-31T22:08:49.401Z] DEBUG: total: 0.20999999344348907 [2021-03-31T22:08:49.401Z] INFO: Retrieving Stack Cost... [2021-03-31T22:08:50.345Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T22:08:50.919Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T22:08:50.934Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T22:08:51.234Z] ---> logs-deploy.sh [2021-03-31T22:08:51.234Z] lf-activate-venv: SKIPPING [2021-03-31T22:08:51.234Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/20 [2021-03-31T22:08:51.234Z] INFO: archiving workspace using pattern(s): [2021-03-31T22:08:52.620Z] Archives upload complete. [2021-03-31T22:08:52.620Z] INFO: archiving logs to Nexus