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 abd01a6d142b6f684e0380bd2bdcda548b905f03 rather than e55aab9ea369bbe2a4274480736946c8d75ce05e Obtained Jenkinsfile from abd01a6d142b6f684e0380bd2bdcda548b905f03 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33322 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/25 [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/25 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit abd01a6d142b6f684e0380bd2bdcda548b905f03 into PR head commit e55aab9ea369bbe2a4274480736946c8d75ce05e > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing e55aab9ea369bbe2a4274480736946c8d75ce05e Checking out Revision e55aab9ea369bbe2a4274480736946c8d75ce05e (PR-3328) > git checkout -f e55aab9ea369bbe2a4274480736946c8d75ce05e # 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 abd01a6d142b6f684e0380bd2bdcda548b905f03 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e55aab9ea369bbe2a4274480736946c8d75ce05e # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-08T15:28:44.135Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-08T15:28:44.486Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-08T15:28:44.611Z] ========================================================= [2021-04-08T15:28:44.611Z] EdgeX Global Pipelines Version Info [2021-04-08T15:28:44.611Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d9795824cf71ef6d436d22dc02541152041e62f7 # timeout=10 [2021-04-08T15:28:47.293Z] ------------------- [2021-04-08T15:28:47.293Z] stable info: [2021-04-08T15:28:47.293Z] ------------------- [2021-04-08T15:28:47.293Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-08T15:28:47.293Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-08T15:28:47.293Z] Message: update stable to v1.0.186 [2021-04-08T15:28:48.788Z] ------------------- [2021-04-08T15:28:48.788Z] experimental info: [2021-04-08T15:28:48.788Z] ------------------- [2021-04-08T15:28:48.788Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-08T15:28:48.788Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-08T15:28:48.788Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-08T15:28:49.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-04-08T15:28:49.367Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-04-08T15:28:49.464Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-08T15:28:49.563Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-08T15:28:49.662Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-08T15:28:49.758Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-08T15:28:49.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-08T15:28:49.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-04-08T15:28:50.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-04-08T15:28:50.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-04-08T15:28:50.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-08T15:28:50.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-08T15:28:50.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-08T15:28:50.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-08T15:28:50.882Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-08T15:28:51.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-08T15:28:51.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-08T15:28:51.215Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-08T15:28:51.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-08T15:28:51.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-08T15:28:51.513Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-08T15:28:51.604Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-08T15:28:51.696Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-04-08T15:28:51.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-04-08T15:28:51.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-04-08T15:28:52.001Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e55aab9ea369bbe2a4274480736946c8d75ce05e [Pipeline] echo [2021-04-08T15:28:52.093Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e55aab9 [Pipeline] echo [2021-04-08T15:28:52.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-08T15:28:52.411Z] provisioning config files... [2021-04-08T15:28:52.449Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/25@tmp/config3065349949436168370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:28:52.907Z] ---> docker-login.sh [2021-04-08T15:28:52.907Z] nexus3.edgexfoundry.org:10001 [2021-04-08T15:28:53.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:28:54.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:28:54.423Z] Configure a credential helper to remove this warning. See [2021-04-08T15:28:54.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:28:54.423Z] [2021-04-08T15:28:54.423Z] Login Succeeded [2021-04-08T15:28:54.424Z] nexus3.edgexfoundry.org:10002 [2021-04-08T15:28:54.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:28:54.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:28:54.759Z] Configure a credential helper to remove this warning. See [2021-04-08T15:28:54.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:28:54.759Z] [2021-04-08T15:28:54.759Z] Login Succeeded [2021-04-08T15:28:54.759Z] nexus3.edgexfoundry.org:10003 [2021-04-08T15:28:55.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:28:55.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:28:55.884Z] Configure a credential helper to remove this warning. See [2021-04-08T15:28:55.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:28:55.884Z] [2021-04-08T15:28:55.884Z] Login Succeeded [2021-04-08T15:28:55.884Z] nexus3.edgexfoundry.org:10004 [2021-04-08T15:28:56.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:28:57.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:28:57.054Z] Configure a credential helper to remove this warning. See [2021-04-08T15:28:57.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:28:57.054Z] [2021-04-08T15:28:57.054Z] Login Succeeded [2021-04-08T15:28:57.054Z] docker.io [2021-04-08T15:28:57.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:28:58.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:28:58.219Z] Configure a credential helper to remove this warning. See [2021-04-08T15:28:58.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:28:58.219Z] [2021-04-08T15:28:58.219Z] Login Succeeded [2021-04-08T15:28:58.219Z] ---> docker-login.sh ends [Pipeline] } [2021-04-08T15:28:58.239Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-08T15:28:59.079Z] ++ 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-04-08T15:28:59.079Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.079Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.079Z] ++ dirname cmd/core-command/Dockerfile [2021-04-08T15:28:59.079Z] + echo core-command,cmd/core-command/Dockerfile [2021-04-08T15:28:59.079Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.079Z] ++ dirname cmd/core-data/Dockerfile [2021-04-08T15:28:59.079Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.079Z] + echo core-data,cmd/core-data/Dockerfile [2021-04-08T15:28:59.079Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.079Z] ++ dirname cmd/core-metadata/Dockerfile [2021-04-08T15:28:59.079Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.079Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-04-08T15:28:59.079Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.079Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.079Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-04-08T15:28:59.079Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-04-08T15:28:59.079Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.079Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-04-08T15:28:59.079Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.079Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-04-08T15:28:59.079Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.079Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.079Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-04-08T15:28:59.080Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-04-08T15:28:59.080Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.080Z] ++ dirname cmd/support-notifications/Dockerfile [2021-04-08T15:28:59.080Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.080Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-04-08T15:28:59.080Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.080Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-04-08T15:28:59.080Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.080Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-04-08T15:28:59.080Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-08T15:28:59.080Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-04-08T15:28:59.080Z] ++ cut -d/ -f2 [2021-04-08T15:28:59.080Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-04-08T15:28:59.486Z] 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-04-08T15:29:01.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-08T15:29:01.785Z] [2021-04-08T15:29:01.785Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:29:02.292Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-08T15:29:03.133Z] latest: Pulling from edgex-devops/git-semver [2021-04-08T15:29:03.133Z] 31603596830f: Pulling fs layer [2021-04-08T15:29:03.133Z] 2a8b12db71e7: Pulling fs layer [2021-04-08T15:29:03.133Z] 6ca5941a6612: Pulling fs layer [2021-04-08T15:29:03.133Z] ecc8261a40a4: Pulling fs layer [2021-04-08T15:29:03.133Z] ecc8261a40a4: Waiting [2021-04-08T15:29:03.133Z] 2a8b12db71e7: Verifying Checksum [2021-04-08T15:29:03.133Z] 2a8b12db71e7: Download complete [2021-04-08T15:29:04.050Z] 31603596830f: Verifying Checksum [2021-04-08T15:29:04.050Z] 31603596830f: Download complete [2021-04-08T15:29:04.402Z] ecc8261a40a4: Verifying Checksum [2021-04-08T15:29:04.402Z] ecc8261a40a4: Download complete [2021-04-08T15:29:05.051Z] 6ca5941a6612: Verifying Checksum [2021-04-08T15:29:05.051Z] 6ca5941a6612: Download complete [2021-04-08T15:29:05.051Z] 31603596830f: Pull complete [2021-04-08T15:29:05.498Z] 2a8b12db71e7: Pull complete [2021-04-08T15:29:08.347Z] 6ca5941a6612: Pull complete [2021-04-08T15:29:09.460Z] ecc8261a40a4: Pull complete [2021-04-08T15:29:09.460Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-08T15:29:09.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-08T15:29:09.460Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-08T15:29:09.974Z] prd-centos7-docker-4c-2g-33322 does not seem to be running inside a container [2021-04-08T15:29:10.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/25 -v /w/workspace/edgex-go/25:/w/workspace/edgex-go/25:rw,z -v /w/workspace/edgex-go/25@tmp:/w/workspace/edgex-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-08T15:29:13.453Z] $ docker top 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-08T15:29:14.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-08T15:29:14.140Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-08T15:29:14.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-08T15:29:14.996Z] $ docker exec 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 ssh-agent [2021-04-08T15:29:15.722Z] SSH_AUTH_SOCK=/tmp/ssh-DckZPenaOPVq/agent.11 [2021-04-08T15:29:15.722Z] SSH_AGENT_PID=17 [2021-04-08T15:29:15.739Z] Running ssh-add (command line suppressed) [2021-04-08T15:29:15.922Z] Identity added: /w/workspace/edgex-go/25@tmp/private_key_3282677331483374751.key (/w/workspace/edgex-go/25@tmp/private_key_3282677331483374751.key) [2021-04-08T15:29:16.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-08T15:29:16.876Z] + git tag --points-at HEAD [Pipeline] } [2021-04-08T15:29:16.962Z] $ docker exec --env ******** --env ******** 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 ssh-agent -k [2021-04-08T15:29:17.442Z] unset SSH_AUTH_SOCK; [2021-04-08T15:29:17.453Z] unset SSH_AGENT_PID; [2021-04-08T15:29:17.453Z] echo Agent pid 17 killed; [2021-04-08T15:29:17.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-08T15:29:17.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-08T15:29:17.791Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-08T15:29:18.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-08T15:29:18.743Z] $ docker exec 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 ssh-agent [2021-04-08T15:29:19.309Z] SSH_AUTH_SOCK=/tmp/ssh-M1KndvbnvDDB/agent.45 [2021-04-08T15:29:19.309Z] SSH_AGENT_PID=50 [2021-04-08T15:29:19.319Z] Running ssh-add (command line suppressed) [2021-04-08T15:29:19.713Z] Identity added: /w/workspace/edgex-go/25@tmp/private_key_5695865255718897164.key (/w/workspace/edgex-go/25@tmp/private_key_5695865255718897164.key) [2021-04-08T15:29:20.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-08T15:29:20.749Z] + git semver init [2021-04-08T15:29:20.749Z] # -> Open(): unable to determine branch for HEAD [2021-04-08T15:29:20.749Z] # $GIT_DIR = /w/workspace/edgex-go/25/.git [2021-04-08T15:29:20.749Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/25 [2021-04-08T15:29:20.749Z] # $SEMVER_REMOTE_NAME = origin [2021-04-08T15:29:20.749Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-08T15:29:20.749Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-08T15:29:20.749Z] # $SEMVER_BRANCH = PR-3328 [2021-04-08T15:29:20.749Z] # $SEMVER_TEMP = /tmp/semver-015819671 [2021-04-08T15:29:20.749Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-04-08T15:30:01.383Z] # '/tmp/semver-015819671' -> '/w/workspace/edgex-go/25/.semver' [2021-04-08T15:30:02.639Z] # -> Force: false [2021-04-08T15:30:02.639Z] # $SEMVER_DIR = /w/workspace/edgex-go/25/.semver [Pipeline] } [2021-04-08T15:30:02.765Z] $ docker exec --env ******** --env ******** 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 ssh-agent -k [2021-04-08T15:30:03.380Z] unset SSH_AUTH_SOCK; [2021-04-08T15:30:03.381Z] unset SSH_AGENT_PID; [2021-04-08T15:30:03.381Z] echo Agent pid 50 killed; [2021-04-08T15:30:03.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-08T15:30:05.182Z] + git semver [Pipeline] } [2021-04-08T15:30:05.235Z] $ docker stop --time=1 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 [2021-04-08T15:30:07.306Z] $ docker rm -f 6c2260ab28bb00c153e845a4604b48ac116a8603fa54d3c8bec095b756d5fa14 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-08T15:30:08.074Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-08T15:30:10.112Z] Stashed 1 file(s) [Pipeline] echo [2021-04-08T15:30:10.115Z] [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-04-08T15:30:11.236Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-08T15:30:11.735Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-08T15:30:12.170Z] + sudo service docker restart [2021-04-08T15:30:12.170Z] + true [2021-04-08T15:30:12.170Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-04-08T15:30:14.308Z] ========================================================= [2021-04-08T15:30:14.309Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-08T15:30:14.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:30:14.703Z] + 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-04-08T15:30:25.290Z] Sending build context to Docker daemon 329.4MB [2021-04-08T15:30:25.290Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-08T15:30:25.290Z] Step 2/6 : FROM ${BASE} [2021-04-08T15:30:25.290Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-08T15:30:25.290Z] 188c0c94c7c5: Pulling fs layer [2021-04-08T15:30:25.290Z] 0ef7d3d256c8: Pulling fs layer [2021-04-08T15:30:25.290Z] de9db76c5a1d: Pulling fs layer [2021-04-08T15:30:25.290Z] bca2f99d35d6: Pulling fs layer [2021-04-08T15:30:25.290Z] 93359f2a8cfa: Pulling fs layer [2021-04-08T15:30:25.290Z] bca2f99d35d6: Waiting [2021-04-08T15:30:25.290Z] 93359f2a8cfa: Waiting [2021-04-08T15:30:25.290Z] 7c6f9722023f: Pulling fs layer [2021-04-08T15:30:25.290Z] a35cf1a2eb13: Pulling fs layer [2021-04-08T15:30:25.290Z] 7c6f9722023f: Waiting [2021-04-08T15:30:25.290Z] a35cf1a2eb13: Waiting [2021-04-08T15:30:25.290Z] de9db76c5a1d: Verifying Checksum [2021-04-08T15:30:25.290Z] de9db76c5a1d: Download complete [2021-04-08T15:30:25.290Z] 0ef7d3d256c8: Verifying Checksum [2021-04-08T15:30:25.290Z] 0ef7d3d256c8: Download complete [2021-04-08T15:30:25.290Z] 93359f2a8cfa: Verifying Checksum [2021-04-08T15:30:25.290Z] 93359f2a8cfa: Download complete [2021-04-08T15:30:25.290Z] 7c6f9722023f: Download complete [2021-04-08T15:30:25.290Z] 188c0c94c7c5: Verifying Checksum [2021-04-08T15:30:25.290Z] 188c0c94c7c5: Download complete [2021-04-08T15:30:25.290Z] 188c0c94c7c5: Pull complete [2021-04-08T15:30:25.586Z] Still waiting to schedule task [2021-04-08T15:30:25.586Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-08T15:30:25.603Z] 0ef7d3d256c8: Pull complete [2021-04-08T15:30:26.277Z] de9db76c5a1d: Pull complete [2021-04-08T15:30:31.911Z] a35cf1a2eb13: Verifying Checksum [2021-04-08T15:30:31.911Z] a35cf1a2eb13: Download complete [2021-04-08T15:30:31.911Z] bca2f99d35d6: Verifying Checksum [2021-04-08T15:30:31.911Z] bca2f99d35d6: Download complete [2021-04-08T15:30:50.867Z] bca2f99d35d6: Pull complete [2021-04-08T15:30:50.867Z] 93359f2a8cfa: Pull complete [2021-04-08T15:30:50.867Z] 7c6f9722023f: Pull complete [2021-04-08T15:30:57.768Z] a35cf1a2eb13: Pull complete [2021-04-08T15:30:57.768Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-08T15:30:57.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-08T15:30:57.768Z] ---> a62c8e92a672 [2021-04-08T15:30:57.768Z] 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-04-08T15:30:57.768Z] ---> Running in bdd53fe6ee8e [2021-04-08T15:30:59.773Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-08T15:31:00.746Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-08T15:31:01.497Z] (1/12) Installing libmagic (5.38-r0) [2021-04-08T15:31:01.785Z] (2/12) Installing file (5.38-r0) [2021-04-08T15:31:01.785Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-08T15:31:02.057Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-08T15:31:06.548Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-08T15:31:06.825Z] (6/12) Installing patch (2.7.6-r6) [2021-04-08T15:31:06.825Z] (7/12) Installing build-base (0.5-r2) [2021-04-08T15:31:06.825Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-08T15:31:07.125Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-08T15:31:07.125Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-08T15:31:07.125Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-08T15:31:07.414Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-08T15:31:07.414Z] Executing busybox-1.31.1-r19.trigger [2021-04-08T15:31:07.414Z] OK: 233 MiB in 51 packages [2021-04-08T15:31:13.063Z] Removing intermediate container bdd53fe6ee8e [2021-04-08T15:31:13.063Z] ---> 1448689b3b91 [2021-04-08T15:31:13.063Z] Step 4/6 : WORKDIR /edgex-go [2021-04-08T15:31:13.063Z] ---> Running in 921532313ee6 [2021-04-08T15:31:13.063Z] Removing intermediate container 921532313ee6 [2021-04-08T15:31:13.063Z] ---> 3e8d179c8155 [2021-04-08T15:31:13.063Z] Step 5/6 : COPY go.mod . [2021-04-08T15:31:14.130Z] ---> 58135461460a [2021-04-08T15:31:14.130Z] Step 6/6 : RUN go mod download [2021-04-08T15:31:14.130Z] ---> Running in f14a94898b5d [2021-04-08T15:31:47.525Z] Removing intermediate container f14a94898b5d [2021-04-08T15:31:47.525Z] ---> 4684fce9d91e [2021-04-08T15:31:48.196Z] Successfully built 4684fce9d91e [2021-04-08T15:31:48.196Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:31:49.548Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-08T15:31:50.687Z] . [Pipeline] withDockerContainer [2021-04-08T15:31:51.149Z] prd-centos7-docker-4c-2g-33322 does not seem to be running inside a container [2021-04-08T15:31:51.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/25 -v /w/workspace/edgex-go/25:/w/workspace/edgex-go/25:rw,z -v /w/workspace/edgex-go/25@tmp:/w/workspace/edgex-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-08T15:31:53.917Z] $ docker top 0a5ba8e26dd1a4665d4b0d0cda6964d0870c9f14d38d83e0485fe49c1c9446dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-08T15:31:54.647Z] + go version [2021-04-08T15:31:54.647Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-08T15:31:54.720Z] $ docker stop --time=1 0a5ba8e26dd1a4665d4b0d0cda6964d0870c9f14d38d83e0485fe49c1c9446dc [2021-04-08T15:31:56.488Z] $ docker rm -f 0a5ba8e26dd1a4665d4b0d0cda6964d0870c9f14d38d83e0485fe49c1c9446dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:31:58.573Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-08T15:31:58.573Z] . [Pipeline] withDockerContainer [2021-04-08T15:31:58.938Z] prd-centos7-docker-4c-2g-33322 does not seem to be running inside a container [2021-04-08T15:31:59.162Z] $ 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/25 -v /w/workspace/edgex-go/25:/w/workspace/edgex-go/25:rw,z -v /w/workspace/edgex-go/25@tmp:/w/workspace/edgex-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-08T15:32:02.484Z] $ docker top 637fc614497eaf8f4dc6e871822e7b8547d5fe85fbadda2d1f937e7da2fc37c1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-08T15:32:03.077Z] ========================================================= [2021-04-08T15:32:03.077Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-08T15:32:03.077Z] ========================================================= [Pipeline] sh [2021-04-08T15:32:03.900Z] + make test [2021-04-08T15:32:03.900Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-08T15:32:24.701Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33323 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-04-08T15:32:24.778Z] Running in /w/workspace/edgex-go/25 [Pipeline] { [Pipeline] checkout [2021-04-08T15:32:29.948Z] using credential edgex-jenkins-ssh [2021-04-08T15:32:30.041Z] Cloning the remote Git repository [2021-04-08T15:32:30.080Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-04-08T15:32:30.194Z] > git init /w/workspace/edgex-go/25 # timeout=10 [2021-04-08T15:32:30.269Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-08T15:32:30.270Z] > git --version # timeout=10 [2021-04-08T15:32:30.294Z] > git --version # 'git version 2.17.1' [2021-04-08T15:32:30.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T15:32:30.382Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-08T15:32:31.234Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-08T15:32:46.816Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-08T15:32:46.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-08T15:32:46.865Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-08T15:32:46.918Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-08T15:32:46.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T15:32:46.932Z] > 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-04-08T15:32:47.931Z] Merging remotes/origin/master commit abd01a6d142b6f684e0380bd2bdcda548b905f03 into PR head commit e55aab9ea369bbe2a4274480736946c8d75ce05e [2021-04-08T15:32:48.422Z] Merge succeeded, producing e55aab9ea369bbe2a4274480736946c8d75ce05e [2021-04-08T15:32:48.423Z] Checking out Revision e55aab9ea369bbe2a4274480736946c8d75ce05e (PR-3328) [2021-04-08T15:32:47.954Z] > git config core.sparsecheckout # timeout=10 [2021-04-08T15:32:47.990Z] > git checkout -f e55aab9ea369bbe2a4274480736946c8d75ce05e # timeout=10 [2021-04-08T15:32:48.318Z] > git remote # timeout=10 [2021-04-08T15:32:48.335Z] > git config --get remote.origin.url # timeout=10 [2021-04-08T15:32:48.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T15:32:48.368Z] > git merge abd01a6d142b6f684e0380bd2bdcda548b905f03 # timeout=10 [2021-04-08T15:32:48.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-08T15:32:48.428Z] > git config core.sparsecheckout # timeout=10 [2021-04-08T15:32:48.446Z] > git checkout -f e55aab9ea369bbe2a4274480736946c8d75ce05e # timeout=10 [2021-04-08T15:32:53.262Z] Commit message: "feat(security): Secure Kong Admin API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-08T15:32:54.752Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-08T15:32:55.203Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-08T15:32:55.553Z] + sudo service docker restart [2021-04-08T15:32:55.553Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-08T15:32:57.622Z] provisioning config files... [2021-04-08T15:32:57.680Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/25@tmp/config2401536477515487487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:32:58.086Z] ---> docker-login.sh [2021-04-08T15:32:58.086Z] nexus3.edgexfoundry.org:10001 [2021-04-08T15:32:59.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:32:59.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:32:59.351Z] Configure a credential helper to remove this warning. See [2021-04-08T15:32:59.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:32:59.351Z] [2021-04-08T15:32:59.351Z] Login Succeeded [2021-04-08T15:32:59.351Z] nexus3.edgexfoundry.org:10002 [2021-04-08T15:32:59.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:32:59.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:32:59.899Z] Configure a credential helper to remove this warning. See [2021-04-08T15:32:59.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:32:59.899Z] [2021-04-08T15:32:59.899Z] Login Succeeded [2021-04-08T15:32:59.899Z] nexus3.edgexfoundry.org:10003 [2021-04-08T15:33:00.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:33:00.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:33:00.446Z] Configure a credential helper to remove this warning. See [2021-04-08T15:33:00.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:33:00.446Z] [2021-04-08T15:33:00.446Z] Login Succeeded [2021-04-08T15:33:00.446Z] nexus3.edgexfoundry.org:10004 [2021-04-08T15:33:00.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:33:00.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:33:00.995Z] Configure a credential helper to remove this warning. See [2021-04-08T15:33:00.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:33:00.995Z] [2021-04-08T15:33:00.995Z] Login Succeeded [2021-04-08T15:33:00.995Z] docker.io [2021-04-08T15:33:01.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T15:33:01.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T15:33:01.546Z] Configure a credential helper to remove this warning. See [2021-04-08T15:33:01.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T15:33:01.546Z] [2021-04-08T15:33:01.546Z] Login Succeeded [2021-04-08T15:33:01.546Z] ---> docker-login.sh ends [Pipeline] } [2021-04-08T15:33:01.564Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-08T15:33:02.060Z] ========================================================= [2021-04-08T15:33:02.060Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-08T15:33:02.060Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:33:02.447Z] + 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-04-08T15:33:05.103Z] Sending build context to Docker daemon 167.3MB [2021-04-08T15:33:05.103Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-08T15:33:05.103Z] Step 2/6 : FROM ${BASE} [2021-04-08T15:33:05.103Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-08T15:33:05.103Z] 5f621e34cdf4: Pulling fs layer [2021-04-08T15:33:05.103Z] a4357932f1b6: Pulling fs layer [2021-04-08T15:33:05.103Z] 18c013af1878: Pulling fs layer [2021-04-08T15:33:05.103Z] 00ac8860ef70: Pulling fs layer [2021-04-08T15:33:05.103Z] 63d7cb157983: Pulling fs layer [2021-04-08T15:33:05.103Z] b116817d02f9: Pulling fs layer [2021-04-08T15:33:05.103Z] 745a02a5169b: Pulling fs layer [2021-04-08T15:33:05.103Z] 00ac8860ef70: Waiting [2021-04-08T15:33:05.103Z] 63d7cb157983: Waiting [2021-04-08T15:33:05.103Z] b116817d02f9: Waiting [2021-04-08T15:33:05.103Z] 745a02a5169b: Waiting [2021-04-08T15:33:05.103Z] 18c013af1878: Verifying Checksum [2021-04-08T15:33:05.103Z] 18c013af1878: Download complete [2021-04-08T15:33:05.103Z] a4357932f1b6: Download complete [2021-04-08T15:33:05.103Z] 63d7cb157983: Download complete [2021-04-08T15:33:05.374Z] b116817d02f9: Download complete [2021-04-08T15:33:05.648Z] 5f621e34cdf4: Verifying Checksum [2021-04-08T15:33:05.648Z] 5f621e34cdf4: Download complete [2021-04-08T15:33:06.627Z] 5f621e34cdf4: Pull complete [2021-04-08T15:33:06.902Z] a4357932f1b6: Pull complete [2021-04-08T15:33:07.500Z] 18c013af1878: Pull complete [2021-04-08T15:33:08.511Z] 745a02a5169b: Download complete [2021-04-08T15:33:09.957Z] 00ac8860ef70: Verifying Checksum [2021-04-08T15:33:09.957Z] 00ac8860ef70: Download complete [2021-04-08T15:33:20.129Z] 00ac8860ef70: Pull complete [2021-04-08T15:33:20.129Z] 63d7cb157983: Pull complete [2021-04-08T15:33:20.407Z] b116817d02f9: Pull complete [2021-04-08T15:33:20.632Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-08T15:33:24.743Z] 745a02a5169b: Pull complete [2021-04-08T15:33:24.743Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-08T15:33:24.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-08T15:33:24.743Z] ---> b7e6874047d6 [2021-04-08T15:33:24.743Z] 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-04-08T15:33:28.136Z] ---> Running in 4a87b5d116e2 [2021-04-08T15:33:28.735Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-08T15:33:29.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-08T15:33:30.696Z] (1/12) Installing libmagic (5.38-r0) [2021-04-08T15:33:31.673Z] (2/12) Installing file (5.38-r0) [2021-04-08T15:33:31.673Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-08T15:33:31.673Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-08T15:33:31.854Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-08T15:33:31.854Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-08T15:33:31.854Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-08T15:33:37.994Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-08T15:33:37.994Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-08T15:33:37.994Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-08T15:33:38.689Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-08T15:33:41.799Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-08T15:33:43.487Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-08T15:33:46.706Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-08T15:33:46.707Z] (6/12) Installing patch (2.7.6-r6) [2021-04-08T15:33:46.707Z] (7/12) Installing build-base (0.5-r2) [2021-04-08T15:33:46.707Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-08T15:33:46.707Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-08T15:33:46.707Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-08T15:33:46.707Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-08T15:33:46.707Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-08T15:33:46.707Z] Executing busybox-1.31.1-r19.trigger [2021-04-08T15:33:46.707Z] OK: 217 MiB in 51 packages [2021-04-08T15:33:50.090Z] Removing intermediate container 4a87b5d116e2 [2021-04-08T15:33:50.090Z] ---> 9cf966be952d [2021-04-08T15:33:50.090Z] Step 4/6 : WORKDIR /edgex-go [2021-04-08T15:33:50.366Z] ---> Running in 2e4eb69efe74 [2021-04-08T15:33:50.534Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-08T15:33:50.534Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-08T15:33:50.534Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-08T15:33:50.961Z] Removing intermediate container 2e4eb69efe74 [2021-04-08T15:33:50.961Z] ---> 59d4e4add4d0 [2021-04-08T15:33:50.961Z] Step 5/6 : COPY go.mod . [2021-04-08T15:33:51.573Z] ---> 142d1badce42 [2021-04-08T15:33:51.573Z] Step 6/6 : RUN go mod download [2021-04-08T15:33:51.573Z] ---> Running in e76fd0da7b0b [2021-04-08T15:33:53.341Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.302s coverage: 45.9% of statements [2021-04-08T15:33:53.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-08T15:33:53.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-08T15:33:53.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-08T15:33:53.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-08T15:33:53.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-08T15:33:53.341Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-08T15:33:53.341Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.059s coverage: 19.8% of statements [2021-04-08T15:33:53.341Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.206s coverage: 100.0% of statements [2021-04-08T15:33:57.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.411s coverage: 27.1% of statements [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-08T15:33:57.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.077s coverage: 100.0% of statements [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-08T15:33:57.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.085s coverage: 100.0% of statements [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-08T15:33:57.060Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-08T15:33:57.384Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.239s coverage: 71.3% of statements [2021-04-08T15:33:57.384Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-08T15:33:57.384Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-08T15:34:04.194Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.591s coverage: 82.9% of statements [2021-04-08T15:34:04.194Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-08T15:34:04.194Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:34:04.194Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.153s coverage: 78.9% of statements [2021-04-08T15:34:04.194Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-08T15:34:10.712Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.261s coverage: 28.6% of statements [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-08T15:34:10.712Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.622s coverage: 100.0% of statements [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-08T15:34:10.712Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.299s coverage: 100.0% of statements [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-08T15:34:10.712Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.532s coverage: 86.7% of statements [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-08T15:34:10.712Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.628s coverage: 97.5% of statements [2021-04-08T15:34:10.712Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-08T15:34:11.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.312s coverage: 78.3% of statements [2021-04-08T15:34:11.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-08T15:34:11.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-08T15:34:11.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-08T15:34:11.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-08T15:34:18.381Z] Removing intermediate container e76fd0da7b0b [2021-04-08T15:34:18.381Z] ---> 709e631e54e5 [2021-04-08T15:34:18.381Z] Successfully built 709e631e54e5 [2021-04-08T15:34:18.381Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:34:18.416Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.700s coverage: 92.8% of statements [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-08T15:34:18.416Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.231s coverage: 58.8% of statements [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-08T15:34:18.416Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.487s coverage: 1.0% of statements [2021-04-08T15:34:18.416Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-08T15:34:18.417Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-08T15:34:18.417Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-08T15:34:18.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.543s coverage: 47.1% of statements [2021-04-08T15:34:18.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.304s coverage: 79.5% of statements [2021-04-08T15:34:18.725Z] + docker inspect -f . ci-base-image-arm64 [2021-04-08T15:34:18.725Z] . [Pipeline] withDockerContainer [2021-04-08T15:34:19.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-33323 does not seem to be running inside a container [2021-04-08T15:34:19.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/25 -v /w/workspace/edgex-go/25:/w/workspace/edgex-go/25:rw,z -v /w/workspace/edgex-go/25@tmp:/w/workspace/edgex-go/25@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-04-08T15:34:19.181Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.131s coverage: 94.1% of statements [2021-04-08T15:34:20.258Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.227s coverage: 96.3% of statements [2021-04-08T15:34:20.621Z] $ docker top b81c6e9c21aaefd6b73a02aa7dc242f06074f4d72d39e02d5c83296ea2611ba4 -eo pid,comm [Pipeline] { [2021-04-08T15:34:20.962Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.073s coverage: 87.5% of statements [Pipeline] sh [2021-04-08T15:34:21.619Z] + go version [2021-04-08T15:34:21.620Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-08T15:34:21.649Z] $ docker stop --time=1 b81c6e9c21aaefd6b73a02aa7dc242f06074f4d72d39e02d5c83296ea2611ba4 [2021-04-08T15:34:23.796Z] $ docker rm -f b81c6e9c21aaefd6b73a02aa7dc242f06074f4d72d39e02d5c83296ea2611ba4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:34:24.841Z] + docker inspect -f . ci-base-image-arm64 [2021-04-08T15:34:24.841Z] . [Pipeline] withDockerContainer [2021-04-08T15:34:25.094Z] prd-ubuntu18.04-docker-arm64-4c-16g-33323 does not seem to be running inside a container [2021-04-08T15:34:25.178Z] $ 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/25 -v /w/workspace/edgex-go/25:/w/workspace/edgex-go/25:rw,z -v /w/workspace/edgex-go/25@tmp:/w/workspace/edgex-go/25@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-04-08T15:34:26.530Z] $ docker top 3a66cbd4c4a3b2aac87715473f1d92a1d02dcd5c2915c34f886878c79b04cd3d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-08T15:34:26.851Z] ========================================================= [2021-04-08T15:34:26.851Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-08T15:34:26.851Z] ========================================================= [Pipeline] sh [2021-04-08T15:34:27.495Z] + make test [2021-04-08T15:34:27.495Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-08T15:34:34.663Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.293s coverage: 94.4% of statements [2021-04-08T15:34:34.663Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.112s coverage: 44.8% of statements [2021-04-08T15:34:39.533Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.715s coverage: 81.5% of statements [2021-04-08T15:34:39.533Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-08T15:34:39.533Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.047s coverage: 87.1% of statements [2021-04-08T15:34:48.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.439s coverage: 92.9% of statements [2021-04-08T15:34:48.500Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-08T15:34:48.500Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-08T15:34:48.500Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-08T15:34:48.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.249s coverage: 65.1% of statements [2021-04-08T15:34:48.500Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-08T15:34:48.500Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-08T15:34:48.500Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.494s coverage: 87.2% of statements [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.087s coverage: 100.0% of statements [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.375s coverage: 75.3% of statements [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.143s coverage: 80.0% of statements [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.222s coverage: 87.2% of statements [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.205s coverage: 85.4% of statements [2021-04-08T15:34:48.501Z] flag provided but not defined: -badarg [2021-04-08T15:34:48.501Z] Usage of tls: [2021-04-08T15:34:48.501Z] -admin_api_jwt string [2021-04-08T15:34:48.501Z] JWT required to interact with local Kong Admin API [2021-04-08T15:34:48.501Z] -confdir string [2021-04-08T15:34:48.501Z] [2021-04-08T15:34:48.501Z] -incert string [2021-04-08T15:34:48.501Z] Path to PEM-encoded leaf certificate [2021-04-08T15:34:48.501Z] -inkey string [2021-04-08T15:34:48.501Z] Path to PEM-encoded private key [2021-04-08T15:34:48.501Z] -snis string [2021-04-08T15:34:48.501Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-04-08T15:34:48.501Z] --- FAIL: TestTLSAddNewCertificate (0.08s) [2021-04-08T15:34:48.501Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.02s) [2021-04-08T15:34:48.501Z] command_test.go:127: [2021-04-08T15:34:48.501Z] Error Trace: command_test.go:127 [2021-04-08T15:34:48.501Z] Error: Received unexpected error: [2021-04-08T15:34:48.501Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:34:48.501Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-04-08T15:34:48.501Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.01s) [2021-04-08T15:34:48.501Z] command_test.go:127: [2021-04-08T15:34:48.501Z] Error Trace: command_test.go:127 [2021-04-08T15:34:48.501Z] Error: Received unexpected error: [2021-04-08T15:34:48.501Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:34:48.501Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-04-08T15:34:48.501Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.01s) [2021-04-08T15:34:48.501Z] command_test.go:127: [2021-04-08T15:34:48.501Z] Error Trace: command_test.go:127 [2021-04-08T15:34:48.501Z] Error: Received unexpected error: [2021-04-08T15:34:48.501Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:34:48.501Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-04-08T15:34:48.501Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.02s) [2021-04-08T15:34:48.501Z] command_test.go:127: [2021-04-08T15:34:48.501Z] Error Trace: command_test.go:127 [2021-04-08T15:34:48.501Z] Error: Received unexpected error: [2021-04-08T15:34:48.501Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:34:48.501Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-04-08T15:34:48.501Z] FAIL [2021-04-08T15:34:48.501Z] coverage: 49.6% of statements [2021-04-08T15:34:48.501Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.224s [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.319s coverage: 64.4% of statements [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-08T15:34:48.501Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.100s coverage: 100.0% of statements [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.093s coverage: 91.3% of statements [2021-04-08T15:34:48.501Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.049s coverage: 100.0% of statements [2021-04-08T15:34:49.566Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.148s coverage: 73.7% of statements [2021-04-08T15:34:49.566Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.081s coverage: 100.0% of statements [2021-04-08T15:34:49.667Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-08T15:34:50.689Z] --- FAIL: TestDelete (0.03s) [2021-04-08T15:34:50.689Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-04-08T15:34:50.689Z] 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-04-08T15:34:50.689Z] --- FAIL: TestPostCertExists (0.01s) [2021-04-08T15:34:50.689Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-04-08T15:34:50.689Z] --- FAIL: TestInit (0.02s) [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/empty_env (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/empty_env [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_one_unique_route [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_two_unique_routes [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_one_duplicate_route [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-04-08T15:34:50.689Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:220: [2021-04-08T15:34:50.689Z] Error Trace: service_test.go:220 [2021-04-08T15:34:50.689Z] Error: Received unexpected error: [2021-04-08T15:34:50.689Z] failed to read config template: open : no such file or directory [2021-04-08T15:34:50.689Z] Test: TestInit/empty_service_name [2021-04-08T15:34:50.689Z] --- FAIL: TestInitKongService (0.01s) [2021-04-08T15:34:50.689Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-04-08T15:34:50.689Z] 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-04-08T15:34:50.689Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-04-08T15:34:50.689Z] 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-04-08T15:34:50.689Z] --- FAIL: TestInitKongRoutes (0.00s) [2021-04-08T15:34:50.689Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-04-08T15:34:50.689Z] 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-04-08T15:34:50.689Z] --- FAIL: TestResetProxy (0.00s) [2021-04-08T15:34:50.689Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-04-08T15:34:50.689Z] 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-04-08T15:34:50.689Z] --- FAIL: TestGetSvcIDs (0.03s) [2021-04-08T15:34:50.689Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-04-08T15:34:50.689Z] 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-04-08T15:34:50.689Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-04-08T15:34:50.689Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-04-08T15:34:50.689Z] service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused [2021-04-08T15:34:50.689Z] FAIL [2021-04-08T15:34:50.689Z] coverage: 28.7% of statements [2021-04-08T15:34:50.689Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.306s [2021-04-08T15:34:50.689Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-08T15:34:50.689Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-08T15:34:50.689Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-08T15:34:55.643Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.981s coverage: 41.5% of statements [2021-04-08T15:34:55.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-08T15:34:55.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-08T15:34:55.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.213s coverage: 89.5% of statements [2021-04-08T15:34:55.644Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-08T15:34:55.644Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.166s coverage: 84.8% of statements [2021-04-08T15:34:59.089Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.586s coverage: 47.0% of statements [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-08T15:34:59.089Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.096s coverage: 100.0% of statements [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-08T15:34:59.089Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.158s coverage: 100.0% of statements [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-08T15:34:59.089Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.097s coverage: 11.0% of statements [2021-04-08T15:34:59.089Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-08T15:35:02.274Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.975s coverage: 87.1% of statements [2021-04-08T15:35:02.274Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-08T15:35:02.274Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:35:02.274Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-08T15:35:07.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.569s coverage: 29.1% of statements [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-08T15:35:07.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.199s coverage: 99.0% of statements [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-08T15:35:07.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.282s coverage: 100.0% of statements [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-08T15:35:07.799Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.215s coverage: 95.6% of statements [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-08T15:35:07.799Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.080s coverage: 0.0% of statements [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-08T15:35:07.799Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.214s coverage: 100.0% of statements [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-08T15:35:07.799Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-08T15:35:08.624Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.194s coverage: 87.9% of statements [2021-04-08T15:35:08.624Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-08T15:35:08.624Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-08T15:35:08.624Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.055s coverage: 100.0% of statements [2021-04-08T15:35:09.625Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.138s coverage: 32.1% of statements [2021-04-08T15:35:09.625Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.099s coverage: 100.0% of statements [2021-04-08T15:35:09.625Z] FAIL [2021-04-08T15:35:10.270Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-08T15:35:10.318Z] $ docker stop --time=1 637fc614497eaf8f4dc6e871822e7b8547d5fe85fbadda2d1f937e7da2fc37c1 [2021-04-08T15:35:13.966Z] $ docker rm -f 637fc614497eaf8f4dc6e871822e7b8547d5fe85fbadda2d1f937e7da2fc37c1 [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-04-08T15:35:15.846Z] Failed in branch amd64 [2021-04-08T15:35:36.718Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-08T15:35:45.592Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-08T15:35:52.327Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-08T15:35:52.327Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-08T15:35:55.753Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-08T15:35:55.753Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-08T15:35:55.753Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-08T15:35:55.753Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-08T15:35:59.162Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-08T15:35:59.437Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-08T15:36:07.744Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-08T15:36:07.744Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-08T15:36:07.744Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-08T15:36:13.180Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.343s coverage: 45.9% of statements [2021-04-08T15:36:13.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-08T15:36:13.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-08T15:36:13.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-08T15:36:13.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-08T15:36:13.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-08T15:36:13.180Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-08T15:36:13.180Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.130s coverage: 19.8% of statements [2021-04-08T15:36:13.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.388s coverage: 100.0% of statements [2021-04-08T15:36:20.234Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.557s coverage: 27.1% of statements [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-08T15:36:20.234Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.172s coverage: 100.0% of statements [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-08T15:36:20.234Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.131s coverage: 100.0% of statements [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-08T15:36:20.234Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-08T15:36:22.243Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.238s coverage: 71.3% of statements [2021-04-08T15:36:22.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-08T15:36:22.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-08T15:36:24.250Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.513s coverage: 82.9% of statements [2021-04-08T15:36:24.250Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-08T15:36:24.250Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:36:24.250Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.206s coverage: 78.9% of statements [2021-04-08T15:36:24.250Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-08T15:36:34.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.132s coverage: 28.6% of statements [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-08T15:36:34.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.201s coverage: 100.0% of statements [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-08T15:36:34.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.124s coverage: 100.0% of statements [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-08T15:36:34.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.345s coverage: 86.7% of statements [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-08T15:36:34.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.402s coverage: 97.5% of statements [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-08T15:36:34.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.213s coverage: 78.3% of statements [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-08T15:36:34.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-08T15:36:41.203Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.227s coverage: 92.8% of statements [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-08T15:36:41.203Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.135s coverage: 58.8% of statements [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-08T15:36:41.203Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.201s coverage: 1.0% of statements [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-08T15:36:41.203Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-08T15:36:41.203Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.253s coverage: 47.1% of statements [2021-04-08T15:36:41.203Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.177s coverage: 79.5% of statements [2021-04-08T15:36:41.203Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.132s coverage: 94.1% of statements [2021-04-08T15:36:41.825Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.162s coverage: 96.3% of statements [2021-04-08T15:36:42.430Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.116s coverage: 87.5% of statements [2021-04-08T15:36:57.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.153s coverage: 94.4% of statements [2021-04-08T15:36:57.527Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.129s coverage: 44.8% of statements [2021-04-08T15:37:00.149Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.553s coverage: 81.5% of statements [2021-04-08T15:37:00.149Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-08T15:37:00.149Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.093s coverage: 87.1% of statements [2021-04-08T15:37:15.288Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.181s coverage: 92.9% of statements [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-08T15:37:15.288Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-08T15:37:15.288Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.109s coverage: 100.0% of statements [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.164s coverage: 75.3% of statements [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.155s coverage: 80.0% of statements [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.194s coverage: 87.2% of statements [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.207s coverage: 85.4% of statements [2021-04-08T15:37:15.289Z] flag provided but not defined: -badarg [2021-04-08T15:37:15.289Z] Usage of tls: [2021-04-08T15:37:15.289Z] -admin_api_jwt string [2021-04-08T15:37:15.289Z] JWT required to interact with local Kong Admin API [2021-04-08T15:37:15.289Z] -confdir string [2021-04-08T15:37:15.289Z] [2021-04-08T15:37:15.289Z] -incert string [2021-04-08T15:37:15.289Z] Path to PEM-encoded leaf certificate [2021-04-08T15:37:15.289Z] -inkey string [2021-04-08T15:37:15.289Z] Path to PEM-encoded private key [2021-04-08T15:37:15.289Z] -snis string [2021-04-08T15:37:15.289Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-04-08T15:37:15.289Z] --- FAIL: TestTLSAddNewCertificate (0.06s) [2021-04-08T15:37:15.289Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.01s) [2021-04-08T15:37:15.289Z] command_test.go:127: [2021-04-08T15:37:15.289Z] Error Trace: command_test.go:127 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:37:15.289Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-04-08T15:37:15.289Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.01s) [2021-04-08T15:37:15.289Z] command_test.go:127: [2021-04-08T15:37:15.289Z] Error Trace: command_test.go:127 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:37:15.289Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-04-08T15:37:15.289Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.01s) [2021-04-08T15:37:15.289Z] command_test.go:127: [2021-04-08T15:37:15.289Z] Error Trace: command_test.go:127 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:37:15.289Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-04-08T15:37:15.289Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.01s) [2021-04-08T15:37:15.289Z] command_test.go:127: [2021-04-08T15:37:15.289Z] Error Trace: command_test.go:127 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] unable to parse response from list snis certificate: EOF [2021-04-08T15:37:15.289Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-04-08T15:37:15.289Z] FAIL [2021-04-08T15:37:15.289Z] coverage: 49.6% of statements [2021-04-08T15:37:15.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.201s [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.578s coverage: 64.4% of statements [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.149s coverage: 100.0% of statements [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.082s coverage: 91.3% of statements [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.055s coverage: 100.0% of statements [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.062s coverage: 73.7% of statements [2021-04-08T15:37:15.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.063s coverage: 100.0% of statements [2021-04-08T15:37:15.289Z] --- FAIL: TestDelete (0.01s) [2021-04-08T15:37:15.289Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-04-08T15:37:15.289Z] 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-04-08T15:37:15.289Z] --- FAIL: TestPostCertExists (0.02s) [2021-04-08T15:37:15.289Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-04-08T15:37:15.289Z] --- FAIL: TestInit (0.03s) [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/empty_env (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/empty_env [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_one_unique_route [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_two_unique_routes [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_one_duplicate_route [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-04-08T15:37:15.289Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:220: [2021-04-08T15:37:15.289Z] Error Trace: service_test.go:220 [2021-04-08T15:37:15.289Z] Error: Received unexpected error: [2021-04-08T15:37:15.289Z] failed to read config template: open : no such file or directory [2021-04-08T15:37:15.289Z] Test: TestInit/empty_service_name [2021-04-08T15:37:15.289Z] --- FAIL: TestInitKongService (0.01s) [2021-04-08T15:37:15.289Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-04-08T15:37:15.289Z] 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-04-08T15:37:15.289Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-04-08T15:37:15.289Z] 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-04-08T15:37:15.289Z] --- FAIL: TestInitKongRoutes (0.01s) [2021-04-08T15:37:15.289Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-04-08T15:37:15.289Z] 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-04-08T15:37:15.289Z] --- FAIL: TestResetProxy (0.00s) [2021-04-08T15:37:15.289Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-04-08T15:37:15.289Z] 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-04-08T15:37:15.289Z] --- FAIL: TestGetSvcIDs (0.01s) [2021-04-08T15:37:15.289Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-04-08T15:37:15.289Z] 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-04-08T15:37:15.289Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-04-08T15:37:15.289Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-04-08T15:37:15.289Z] service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused [2021-04-08T15:37:15.289Z] FAIL [2021-04-08T15:37:15.289Z] coverage: 28.7% of statements [2021-04-08T15:37:15.289Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.257s [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-08T15:37:15.289Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-08T15:37:18.711Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.560s coverage: 41.5% of statements [2021-04-08T15:37:18.711Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-08T15:37:18.711Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-08T15:37:18.711Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.124s coverage: 89.5% of statements [2021-04-08T15:37:18.711Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-08T15:37:18.711Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements [2021-04-08T15:37:24.149Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.421s coverage: 47.0% of statements [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-08T15:37:24.149Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.121s coverage: 100.0% of statements [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-08T15:37:24.149Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.120s coverage: 100.0% of statements [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-08T15:37:24.149Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.149s coverage: 11.0% of statements [2021-04-08T15:37:24.149Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-08T15:37:26.156Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.483s coverage: 87.1% of statements [2021-04-08T15:37:26.156Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-08T15:37:26.156Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:37:26.156Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-08T15:37:32.886Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.292s coverage: 29.1% of statements [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-08T15:37:32.886Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.211s coverage: 99.0% of statements [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-08T15:37:32.886Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.185s coverage: 100.0% of statements [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-08T15:37:32.886Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.308s coverage: 95.6% of statements [2021-04-08T15:37:32.886Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-08T15:37:32.887Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.043s coverage: 0.0% of statements [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-08T15:37:32.887Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.049s coverage: 100.0% of statements [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-08T15:37:32.887Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.085s coverage: 87.9% of statements [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-08T15:37:32.887Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-08T15:37:33.489Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements [2021-04-08T15:37:34.469Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.113s coverage: 32.1% of statements [2021-04-08T15:37:34.469Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements [2021-04-08T15:37:34.469Z] FAIL [2021-04-08T15:37:35.444Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-08T15:37:35.481Z] $ docker stop --time=1 3a66cbd4c4a3b2aac87715473f1d92a1d02dcd5c2915c34f886878c79b04cd3d [2021-04-08T15:37:37.805Z] $ docker rm -f 3a66cbd4c4a3b2aac87715473f1d92a1d02dcd5c2915c34f886878c79b04cd3d [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-04-08T15:37:39.945Z] ---> job-cost.sh [2021-04-08T15:37:39.945Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ss54 [2021-04-08T15:38:19.017Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-08T15:39:55.907Z] lf-activate-venv(): INFO: Adding /tmp/venv-ss54/bin to PATH [2021-04-08T15:39:55.907Z] INFO: No Stack... [2021-04-08T15:39:55.907Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-08T15:39:55.907Z] INFO: Archiving Costs [Pipeline] sh [2021-04-08T15:39:56.249Z] + cat /w/workspace/edgex-go/25/archives/cost.csv [2021-04-08T15:39:56.250Z] + cut -d, -f6 [Pipeline] lock [2021-04-08T15:39:56.358Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-25-stack-cost] [2021-04-08T15:39:56.368Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-25-stack-cost] did not exist. Created. [2021-04-08T15:39:56.369Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-08T15:39:56.810Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-08T15:39:57.895Z] Stashed 1 file(s) [Pipeline] } [2021-04-08T15:39:57.907Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-25-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-08T15:39:58.502Z] 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-04-08T15:40:00.567Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:40:02.233Z] ---> package-listing.sh [2021-04-08T15:40:02.233Z] ++ facter osfamily [2021-04-08T15:40:02.233Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-08T15:40:03.078Z] + OS_FAMILY=redhat [2021-04-08T15:40:03.078Z] + workspace=/w/workspace/edgex-go/25 [2021-04-08T15:40:03.078Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-08T15:40:03.078Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-08T15:40:03.078Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-08T15:40:03.078Z] + PACKAGES=/tmp/packages_start.txt [2021-04-08T15:40:03.078Z] + '[' /w/workspace/edgex-go/25 ']' [2021-04-08T15:40:03.078Z] + PACKAGES=/tmp/packages_end.txt [2021-04-08T15:40:03.078Z] + case "${OS_FAMILY}" in [2021-04-08T15:40:03.078Z] + rpm -qa [2021-04-08T15:40:03.078Z] + sort [2021-04-08T15:40:13.302Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-08T15:40:13.302Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-08T15:40:13.302Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-08T15:40:13.302Z] + '[' /w/workspace/edgex-go/25 ']' [2021-04-08T15:40:13.302Z] + mkdir -p /w/workspace/edgex-go/25/archives/ [2021-04-08T15:40:13.302Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/25/archives/ [Pipeline] echo [2021-04-08T15:40:13.322Z] 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/25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-08T15:40:13.739Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:40:14.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-08T15:40:14.977Z] [2021-04-08T15:40:14.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-08T15:40:15.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-08T15:40:16.492Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-08T15:40:16.492Z] df20fa9351a1: Pulling fs layer [2021-04-08T15:40:16.492Z] 36b3adc4ff6f: Pulling fs layer [2021-04-08T15:40:16.492Z] 8ad3a11d3b57: Pulling fs layer [2021-04-08T15:40:16.492Z] 46f8f816bc3b: Pulling fs layer [2021-04-08T15:40:16.492Z] 93b61091891f: Pulling fs layer [2021-04-08T15:40:16.492Z] 93b9cdb0e59b: Pulling fs layer [2021-04-08T15:40:16.492Z] 5e14af77c1be: Pulling fs layer [2021-04-08T15:40:16.492Z] 01666e4c0597: Pulling fs layer [2021-04-08T15:40:16.492Z] aa168da1d23b: Pulling fs layer [2021-04-08T15:40:16.492Z] 46f8f816bc3b: Waiting [2021-04-08T15:40:16.492Z] 93b61091891f: Waiting [2021-04-08T15:40:16.492Z] 93b9cdb0e59b: Waiting [2021-04-08T15:40:16.492Z] 5e14af77c1be: Waiting [2021-04-08T15:40:16.492Z] 01666e4c0597: Waiting [2021-04-08T15:40:16.492Z] aa168da1d23b: Waiting [2021-04-08T15:40:16.492Z] 36b3adc4ff6f: Download complete [2021-04-08T15:40:16.813Z] 46f8f816bc3b: Download complete [2021-04-08T15:40:17.465Z] df20fa9351a1: Verifying Checksum [2021-04-08T15:40:17.465Z] df20fa9351a1: Download complete [2021-04-08T15:40:17.465Z] 93b61091891f: Verifying Checksum [2021-04-08T15:40:17.465Z] 93b61091891f: Download complete [2021-04-08T15:40:17.465Z] 93b9cdb0e59b: Verifying Checksum [2021-04-08T15:40:17.465Z] 93b9cdb0e59b: Download complete [2021-04-08T15:40:17.465Z] 01666e4c0597: Verifying Checksum [2021-04-08T15:40:17.465Z] 01666e4c0597: Download complete [2021-04-08T15:40:17.465Z] 5e14af77c1be: Verifying Checksum [2021-04-08T15:40:17.465Z] 5e14af77c1be: Download complete [2021-04-08T15:40:18.574Z] df20fa9351a1: Pull complete [2021-04-08T15:40:18.574Z] 8ad3a11d3b57: Verifying Checksum [2021-04-08T15:40:18.574Z] 8ad3a11d3b57: Download complete [2021-04-08T15:40:19.755Z] 36b3adc4ff6f: Pull complete [2021-04-08T15:40:23.549Z] 8ad3a11d3b57: Pull complete [2021-04-08T15:40:23.549Z] 46f8f816bc3b: Pull complete [2021-04-08T15:40:24.799Z] 93b61091891f: Pull complete [2021-04-08T15:40:25.133Z] 93b9cdb0e59b: Pull complete [2021-04-08T15:40:25.885Z] 5e14af77c1be: Pull complete [2021-04-08T15:40:26.532Z] 01666e4c0597: Pull complete [2021-04-08T15:40:28.160Z] aa168da1d23b: Verifying Checksum [2021-04-08T15:40:28.160Z] aa168da1d23b: Download complete [2021-04-08T15:40:51.077Z] aa168da1d23b: Pull complete [2021-04-08T15:40:51.077Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-08T15:40:51.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-08T15:40:51.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-08T15:40:51.799Z] prd-centos7-docker-4c-2g-33322 does not seem to be running inside a container [2021-04-08T15:40:52.061Z] $ 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/25/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/25 -v /w/workspace/edgex-go/25:/w/workspace/edgex-go/25:rw,z -v /w/workspace/edgex-go/25@tmp:/w/workspace/edgex-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-08T15:40:54.756Z] $ docker top 9fbac25f01f8f65aa830d868f57aa4187833e4d36b700e4d827b2db1bd6f3701 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-08T15:40:56.682Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-08T15:40:57.597Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-08T15:40:58.352Z] + ls /var/log/sa-host [2021-04-08T15:40:58.352Z] + sadf -c /var/log/sa-host/sa08 [2021-04-08T15:40:58.352Z] file_magic: OK [2021-04-08T15:40:58.352Z] HZ: Using current value: 100 [2021-04-08T15:40:58.352Z] file_header: OK [2021-04-08T15:40:58.352Z] 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-04-08T15:40:58.352Z] Statistics: [2021-04-08T15:40:58.353Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-08T15:40:58.353Z] File successfully converted to sysstat format version 12.2.1 [2021-04-08T15:40:58.353Z] + sadf -c /var/log/sa-host/sa23 [2021-04-08T15:40:58.353Z] file_magic: OK [2021-04-08T15:40:58.353Z] HZ: Using current value: 100 [2021-04-08T15:40:58.353Z] file_header: OK [2021-04-08T15:40:58.353Z] 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-04-08T15:40:58.353Z] Statistics: [2021-04-08T15:40:58.353Z] Hnuu...uuuununununu... [2021-04-08T15:40:58.353Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-08T15:40:58.944Z] provisioning config files... [2021-04-08T15:40:59.010Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/25@tmp/config6940085993412606820tmp [Pipeline] { [Pipeline] echo [2021-04-08T15:40:59.109Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:41:00.318Z] ---> create-netrc.sh [Pipeline] } [2021-04-08T15:41:00.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-08T15:41:00.605Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:41:01.387Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-08T15:41:01.424Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:41:02.705Z] ---> sudo-logs.sh [2021-04-08T15:41:02.705Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-08T15:41:02.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:41:05.045Z] ---> job-cost.sh [2021-04-08T15:41:05.353Z] lf-activate-venv: SKIPPING [2021-04-08T15:41:05.353Z] DEBUG: total: 0.20999999344348907 [2021-04-08T15:41:05.353Z] INFO: Retrieving Stack Cost... [2021-04-08T15:41:06.546Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-08T15:41:06.867Z] INFO: Archiving Costs [Pipeline] echo [2021-04-08T15:41:06.901Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T15:41:09.582Z] ---> logs-deploy.sh [2021-04-08T15:41:09.582Z] lf-activate-venv: SKIPPING [2021-04-08T15:41:09.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/25 [2021-04-08T15:41:09.582Z] INFO: archiving workspace using pattern(s): [2021-04-08T15:41:12.327Z] Archives upload complete. [2021-04-08T15:41:12.327Z] INFO: archiving logs to Nexus