Pull request #3328 opened 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 ffa292a08661baeb026f188275a19c5914c89a0e rather than 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da Obtained Jenkinsfile from ffa292a08661baeb026f188275a19c5914c89a0e Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3328/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3328/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32265 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ffa292a08661baeb026f188275a19c5914c89a0e into PR head commit 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da Merge succeeded, producing 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da Checking out Revision 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da # 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 ffa292a08661baeb026f188275a19c5914c89a0e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T15:19:52.171Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T15:19:52.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T15:19:52.802Z] ========================================================= [2021-03-31T15:19:52.802Z] EdgeX Global Pipelines Version Info [2021-03-31T15:19:52.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:19:54.305Z] ------------------- [2021-03-31T15:19:54.305Z] stable info: [2021-03-31T15:19:54.305Z] ------------------- [2021-03-31T15:19:54.305Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T15:19:54.305Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T15:19:54.305Z] Message: update stable to v1.0.186 [2021-03-31T15:19:55.255Z] ------------------- [2021-03-31T15:19:55.255Z] experimental info: [2021-03-31T15:19:55.255Z] ------------------- [2021-03-31T15:19:55.255Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T15:19:55.255Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T15:19:55.255Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T15:19:55.627Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-03-31T15:19:55.754Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-03-31T15:19:55.878Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T15:19:56.007Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T15:19:56.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T15:19:56.274Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T15:19:56.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T15:19:56.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-03-31T15:19:56.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-03-31T15:19:56.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-03-31T15:19:56.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T15:19:57.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T15:19:57.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T15:19:57.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T15:19:57.471Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T15:19:57.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T15:19:57.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T15:19:57.876Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T15:19:58.002Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T15:19:58.128Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T15:19:58.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-31T15:19:58.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T15:19:58.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-03-31T15:19:58.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-03-31T15:19:58.776Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-03-31T15:19:58.901Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da [Pipeline] echo [2021-03-31T15:19:59.023Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 616dbd8 [Pipeline] echo [2021-03-31T15:19:59.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T15:19:59.438Z] provisioning config files... [2021-03-31T15:19:59.475Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5024677272500457735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:19:59.922Z] ---> docker-login.sh [2021-03-31T15:19:59.922Z] nexus3.edgexfoundry.org:10001 [2021-03-31T15:20:00.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:20:00.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:20:00.189Z] Configure a credential helper to remove this warning. See [2021-03-31T15:20:00.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:20:00.189Z] [2021-03-31T15:20:00.189Z] Login Succeeded [2021-03-31T15:20:00.189Z] nexus3.edgexfoundry.org:10002 [2021-03-31T15:20:00.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:20:00.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:20:00.452Z] Configure a credential helper to remove this warning. See [2021-03-31T15:20:00.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:20:00.452Z] [2021-03-31T15:20:00.452Z] Login Succeeded [2021-03-31T15:20:00.452Z] nexus3.edgexfoundry.org:10003 [2021-03-31T15:20:00.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:20:00.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:20:00.720Z] Configure a credential helper to remove this warning. See [2021-03-31T15:20:00.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:20:00.720Z] [2021-03-31T15:20:00.720Z] Login Succeeded [2021-03-31T15:20:00.720Z] nexus3.edgexfoundry.org:10004 [2021-03-31T15:20:00.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:20:00.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:20:00.720Z] Configure a credential helper to remove this warning. See [2021-03-31T15:20:00.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:20:00.720Z] [2021-03-31T15:20:00.720Z] Login Succeeded [2021-03-31T15:20:00.720Z] docker.io [2021-03-31T15:20:00.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:20:01.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:20:01.258Z] Configure a credential helper to remove this warning. See [2021-03-31T15:20:01.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:20:01.258Z] [2021-03-31T15:20:01.258Z] Login Succeeded [2021-03-31T15:20:01.258Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T15:20:01.294Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T15:20:01.921Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/core-command/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo core-command,cmd/core-command/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/core-data/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo core-data,cmd/core-data/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/core-metadata/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/support-notifications/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-03-31T15:20:01.921Z] + for file in '`ls cmd/**/Dockerfile`' [2021-03-31T15:20:01.921Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-03-31T15:20:01.921Z] ++ cut -d/ -f2 [2021-03-31T15:20:01.921Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-03-31T15:20:02.050Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:20:03.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T15:20:03.951Z] [2021-03-31T15:20:03.951Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:20:04.360Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T15:20:04.360Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T15:20:04.360Z] 31603596830f: Pulling fs layer [2021-03-31T15:20:04.360Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T15:20:04.360Z] 6ca5941a6612: Pulling fs layer [2021-03-31T15:20:04.360Z] ecc8261a40a4: Pulling fs layer [2021-03-31T15:20:04.360Z] ecc8261a40a4: Waiting [2021-03-31T15:20:04.360Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T15:20:04.360Z] 2a8b12db71e7: Download complete [2021-03-31T15:20:04.360Z] 31603596830f: Verifying Checksum [2021-03-31T15:20:04.360Z] 31603596830f: Download complete [2021-03-31T15:20:04.624Z] ecc8261a40a4: Verifying Checksum [2021-03-31T15:20:04.624Z] ecc8261a40a4: Download complete [2021-03-31T15:20:04.624Z] 6ca5941a6612: Verifying Checksum [2021-03-31T15:20:04.624Z] 6ca5941a6612: Download complete [2021-03-31T15:20:04.889Z] 31603596830f: Pull complete [2021-03-31T15:20:04.889Z] 2a8b12db71e7: Pull complete [2021-03-31T15:20:05.836Z] 6ca5941a6612: Pull complete [2021-03-31T15:20:05.836Z] ecc8261a40a4: Pull complete [2021-03-31T15:20:05.836Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T15:20:06.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T15:20:06.098Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T15:20:06.231Z] prd-centos7-docker-4c-2g-32265 does not seem to be running inside a container [2021-03-31T15:20:06.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T15:20:09.118Z] $ docker top 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T15:20:09.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T15:20:09.505Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T15:20:09.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T15:20:09.717Z] $ docker exec 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca ssh-agent [2021-03-31T15:20:09.882Z] SSH_AUTH_SOCK=/tmp/ssh-o8nLA6N2rCSV/agent.12 [2021-03-31T15:20:09.882Z] SSH_AGENT_PID=17 [2021-03-31T15:20:09.893Z] Running ssh-add (command line suppressed) [2021-03-31T15:20:10.006Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8701282297096967861.key (/w/workspace/edgex-go/1@tmp/private_key_8701282297096967861.key) [2021-03-31T15:20:10.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T15:20:10.437Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T15:20:10.464Z] $ docker exec --env ******** --env ******** 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca ssh-agent -k [2021-03-31T15:20:10.576Z] unset SSH_AUTH_SOCK; [2021-03-31T15:20:10.576Z] unset SSH_AGENT_PID; [2021-03-31T15:20:10.576Z] echo Agent pid 17 killed; [2021-03-31T15:20:10.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T15:20:10.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T15:20:10.889Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T15:20:11.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T15:20:11.057Z] $ docker exec 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca ssh-agent [2021-03-31T15:20:11.226Z] SSH_AUTH_SOCK=/tmp/ssh-9S5bgi1wozAF/agent.48 [2021-03-31T15:20:11.226Z] SSH_AGENT_PID=53 [2021-03-31T15:20:11.232Z] Running ssh-add (command line suppressed) [2021-03-31T15:20:11.344Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2179289854466080220.key (/w/workspace/edgex-go/1@tmp/private_key_2179289854466080220.key) [2021-03-31T15:20:11.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T15:20:11.774Z] + git semver init [2021-03-31T15:20:11.774Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T15:20:11.774Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-03-31T15:20:11.774Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-03-31T15:20:11.774Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T15:20:11.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T15:20:11.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T15:20:11.774Z] # $SEMVER_BRANCH = PR-3328 [2021-03-31T15:20:11.774Z] # $SEMVER_TEMP = /tmp/semver-377168247 [2021-03-31T15:20:11.774Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-03-31T15:20:43.914Z] # '/tmp/semver-377168247' -> '/w/workspace/edgex-go/1/.semver' [2021-03-31T15:20:43.914Z] # -> Force: false [2021-03-31T15:20:43.914Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-03-31T15:20:43.935Z] $ docker exec --env ******** --env ******** 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca ssh-agent -k [2021-03-31T15:20:44.167Z] unset SSH_AUTH_SOCK; [2021-03-31T15:20:44.168Z] unset SSH_AGENT_PID; [2021-03-31T15:20:44.168Z] echo Agent pid 53 killed; [2021-03-31T15:20:44.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T15:20:44.868Z] + git semver [Pipeline] } [2021-03-31T15:20:44.900Z] $ docker stop --time=1 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca [2021-03-31T15:20:46.796Z] $ docker rm -f 43c7b54d5388465c4b19b07db54231d1c582fec08b2542f6bcb57098fc2a85ca [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T15:20:47.389Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T15:20:47.934Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T15:20:47.955Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T15:20:49.352Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T15:20:49.678Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T15:20:49.999Z] + sudo service docker restart [2021-03-31T15:20:49.999Z] + true [2021-03-31T15:20:49.999Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-03-31T15:20:50.616Z] ========================================================= [2021-03-31T15:20:50.616Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T15:20:50.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:20:51.011Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-31T15:20:54.329Z] Sending build context to Docker daemon 329.3MB [2021-03-31T15:20:54.596Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T15:20:54.596Z] Step 2/6 : FROM ${BASE} [2021-03-31T15:20:54.596Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T15:20:54.596Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T15:20:54.596Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T15:20:54.596Z] de9db76c5a1d: Pulling fs layer [2021-03-31T15:20:54.596Z] bca2f99d35d6: Pulling fs layer [2021-03-31T15:20:54.596Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T15:20:54.596Z] 7c6f9722023f: Pulling fs layer [2021-03-31T15:20:54.596Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T15:20:54.596Z] 7c6f9722023f: Waiting [2021-03-31T15:20:54.596Z] bca2f99d35d6: Waiting [2021-03-31T15:20:54.596Z] 93359f2a8cfa: Waiting [2021-03-31T15:20:54.596Z] a35cf1a2eb13: Waiting [2021-03-31T15:20:54.596Z] de9db76c5a1d: Download complete [2021-03-31T15:20:54.596Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T15:20:54.596Z] 0ef7d3d256c8: Download complete [2021-03-31T15:20:54.596Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T15:20:54.596Z] 93359f2a8cfa: Download complete [2021-03-31T15:20:54.596Z] 7c6f9722023f: Verifying Checksum [2021-03-31T15:20:54.596Z] 7c6f9722023f: Download complete [2021-03-31T15:20:54.596Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T15:20:54.596Z] 188c0c94c7c5: Download complete [2021-03-31T15:20:55.183Z] 188c0c94c7c5: Pull complete [2021-03-31T15:20:55.447Z] 0ef7d3d256c8: Pull complete [2021-03-31T15:20:55.710Z] de9db76c5a1d: Pull complete [2021-03-31T15:20:57.104Z] a35cf1a2eb13: Download complete [2021-03-31T15:20:57.368Z] bca2f99d35d6: Verifying Checksum [2021-03-31T15:20:57.368Z] bca2f99d35d6: Download complete [2021-03-31T15:21:02.672Z] bca2f99d35d6: Pull complete [2021-03-31T15:21:02.934Z] 93359f2a8cfa: Pull complete [2021-03-31T15:21:02.934Z] 7c6f9722023f: Pull complete [2021-03-31T15:21:03.666Z] Still waiting to schedule task [2021-03-31T15:21:03.666Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-31T15:21:08.259Z] a35cf1a2eb13: Pull complete [2021-03-31T15:21:08.260Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T15:21:08.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T15:21:08.260Z] ---> a62c8e92a672 [2021-03-31T15:21:08.260Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-03-31T15:21:08.260Z] ---> Running in b55ea2b4ea35 [2021-03-31T15:21:08.260Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T15:21:09.206Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T15:21:10.152Z] (1/12) Installing libmagic (5.38-r0) [2021-03-31T15:21:10.413Z] (2/12) Installing file (5.38-r0) [2021-03-31T15:21:10.675Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-31T15:21:10.675Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-31T15:21:14.911Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-31T15:21:15.177Z] (6/12) Installing patch (2.7.6-r6) [2021-03-31T15:21:15.178Z] (7/12) Installing build-base (0.5-r2) [2021-03-31T15:21:15.178Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-31T15:21:15.438Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-31T15:21:15.438Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-31T15:21:15.712Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-31T15:21:15.712Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-31T15:21:15.712Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T15:21:15.712Z] OK: 233 MiB in 51 packages [2021-03-31T15:21:19.932Z] Removing intermediate container b55ea2b4ea35 [2021-03-31T15:21:19.932Z] ---> 33ac20de9ffe [2021-03-31T15:21:19.932Z] Step 4/6 : WORKDIR /edgex-go [2021-03-31T15:21:19.932Z] ---> Running in ad23956dc6eb [2021-03-31T15:21:19.932Z] Removing intermediate container ad23956dc6eb [2021-03-31T15:21:19.932Z] ---> e4f7acc795b7 [2021-03-31T15:21:19.932Z] Step 5/6 : COPY go.mod . [2021-03-31T15:21:19.932Z] ---> 7626f562d101 [2021-03-31T15:21:19.932Z] Step 6/6 : RUN go mod download [2021-03-31T15:21:19.932Z] ---> Running in 661513e6a5bd [2021-03-31T15:21:41.954Z] Removing intermediate container 661513e6a5bd [2021-03-31T15:21:41.954Z] ---> d9dc7dc645c7 [2021-03-31T15:21:41.954Z] Successfully built d9dc7dc645c7 [2021-03-31T15:21:41.954Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:21:42.300Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T15:21:42.300Z] . [Pipeline] withDockerContainer [2021-03-31T15:21:42.426Z] prd-centos7-docker-4c-2g-32265 does not seem to be running inside a container [2021-03-31T15:21:42.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat [2021-03-31T15:21:43.382Z] $ docker top 8fd4f4e83cf57f789dc4b882dd7a5fcb4c5478d836b6fb9fd1209c682db70424 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T15:21:43.963Z] + go version [2021-03-31T15:21:43.963Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T15:21:43.990Z] $ docker stop --time=1 8fd4f4e83cf57f789dc4b882dd7a5fcb4c5478d836b6fb9fd1209c682db70424 [2021-03-31T15:21:45.323Z] $ docker rm -f 8fd4f4e83cf57f789dc4b882dd7a5fcb4c5478d836b6fb9fd1209c682db70424 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:21:46.376Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T15:21:46.376Z] . [Pipeline] withDockerContainer [2021-03-31T15:21:46.508Z] prd-centos7-docker-4c-2g-32265 does not seem to be running inside a container [2021-03-31T15:21:46.557Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat [2021-03-31T15:21:47.339Z] $ docker top a793ee6bb8baff436f4ceef1658839bc8ffa2f1ef877970ef60a53b653142c1d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T15:21:47.602Z] ========================================================= [2021-03-31T15:21:47.602Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-31T15:21:47.602Z] ========================================================= [Pipeline] sh [2021-03-31T15:21:47.914Z] + make test [2021-03-31T15:21:47.915Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T15:21:56.129Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-31T15:22:11.718Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-31T15:22:18.352Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-03-31T15:22:18.352Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-03-31T15:22:18.352Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-03-31T15:22:20.306Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-03-31T15:22:20.306Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-03-31T15:22:20.306Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-03-31T15:22:20.306Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-03-31T15:22:21.292Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-03-31T15:22:21.292Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-03-31T15:22:23.882Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-03-31T15:22:23.882Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-03-31T15:22:23.882Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-03-31T15:22:27.215Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.098s coverage: 45.9% of statements [2021-03-31T15:22:27.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-03-31T15:22:27.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-03-31T15:22:27.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-03-31T15:22:27.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-03-31T15:22:27.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-03-31T15:22:27.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-03-31T15:22:27.215Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.048s coverage: 19.8% of statements [2021-03-31T15:22:27.215Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.075s coverage: 100.0% of statements [2021-03-31T15:22:29.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.224s coverage: 27.1% of statements [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-03-31T15:22:29.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.091s coverage: 100.0% of statements [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-03-31T15:22:29.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.056s coverage: 100.0% of statements [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-03-31T15:22:29.827Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.110s coverage: 71.3% of statements [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-03-31T15:22:29.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-03-31T15:22:30.425Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.172s coverage: 82.9% of statements [2021-03-31T15:22:30.425Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-03-31T15:22:30.425Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:22:30.425Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.077s coverage: 78.9% of statements [2021-03-31T15:22:30.425Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-03-31T15:22:33.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.352s coverage: 28.6% of statements [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-03-31T15:22:33.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.085s coverage: 100.0% of statements [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-03-31T15:22:33.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.079s coverage: 100.0% of statements [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-03-31T15:22:33.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.166s coverage: 86.7% of statements [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-03-31T15:22:33.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.201s coverage: 97.5% of statements [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-03-31T15:22:33.818Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.080s coverage: 78.3% of statements [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-03-31T15:22:33.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-03-31T15:22:35.754Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.373s coverage: 92.8% of statements [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-03-31T15:22:35.754Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.055s coverage: 58.8% of statements [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-03-31T15:22:35.754Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.073s coverage: 1.0% of statements [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-03-31T15:22:35.754Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-03-31T15:22:35.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.079s coverage: 47.1% of statements [2021-03-31T15:22:35.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.080s coverage: 79.5% of statements [2021-03-31T15:22:35.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.059s coverage: 94.1% of statements [2021-03-31T15:22:36.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.086s coverage: 96.3% of statements [2021-03-31T15:22:36.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.059s coverage: 87.5% of statements [2021-03-31T15:22:48.308Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.073s coverage: 94.4% of statements [2021-03-31T15:22:48.308Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.047s coverage: 44.8% of statements [2021-03-31T15:22:51.630Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.239s coverage: 82.6% of statements [2021-03-31T15:22:59.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.092s coverage: 92.9% of statements [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-03-31T15:22:59.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 68.3% of statements [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-03-31T15:22:59.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.044s coverage: 87.2% of statements [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-03-31T15:22:59.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-03-31T15:22:59.816Z] flag provided but not defined: -badarg [2021-03-31T15:22:59.816Z] Usage of adduser: [2021-03-31T15:22:59.816Z] -algorithm string [2021-03-31T15:22:59.816Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-03-31T15:22:59.816Z] -client_id string [2021-03-31T15:22:59.816Z] Optional manually-specified OAuth2 client_id. [2021-03-31T15:22:59.816Z] -client_secret string [2021-03-31T15:22:59.816Z] Optional manually-specified OAuth2 client_secret. [2021-03-31T15:22:59.816Z] -confdir string [2021-03-31T15:22:59.816Z] [2021-03-31T15:22:59.816Z] -group string [2021-03-31T15:22:59.816Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2021-03-31T15:22:59.816Z] -id string [2021-03-31T15:22:59.816Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-03-31T15:22:59.816Z] -public_key string [2021-03-31T15:22:59.816Z] Public key (in PEM format) used to validate the JWT. [2021-03-31T15:22:59.816Z] -redirect_uris string [2021-03-31T15:22:59.816Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-03-31T15:22:59.816Z] -token-type string [2021-03-31T15:22:59.816Z] Type of token to create: jwt or oauth2 [2021-03-31T15:22:59.816Z] -user string [2021-03-31T15:22:59.816Z] Username of the user to add [2021-03-31T15:22:59.816Z] --- FAIL: TestAddUserJWT (0.00s) [2021-03-31T15:22:59.816Z] command_test.go:96: [2021-03-31T15:22:59.816Z] Error Trace: command_test.go:96 [2021-03-31T15:22:59.816Z] Error: Received unexpected error: [2021-03-31T15:22:59.816Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.816Z] Test: TestAddUserJWT [2021-03-31T15:22:59.816Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-03-31T15:22:59.816Z] command_test.go:144: [2021-03-31T15:22:59.816Z] Error Trace: command_test.go:144 [2021-03-31T15:22:59.816Z] Error: Received unexpected error: [2021-03-31T15:22:59.816Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.816Z] Test: TestAddUserOAuth2 [2021-03-31T15:22:59.816Z] FAIL [2021-03-31T15:22:59.816Z] coverage: 34.0% of statements [2021-03-31T15:22:59.816Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.042s [2021-03-31T15:22:59.816Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-03-31T15:22:59.816Z] flag provided but not defined: -badarg [2021-03-31T15:22:59.816Z] Usage of deluser: [2021-03-31T15:22:59.816Z] -confdir string [2021-03-31T15:22:59.816Z] [2021-03-31T15:22:59.816Z] -user string [2021-03-31T15:22:59.816Z] Username of the user to delete [2021-03-31T15:22:59.816Z] --- FAIL: TestDelUser (0.00s) [2021-03-31T15:22:59.816Z] command_test.go:73: [2021-03-31T15:22:59.816Z] Error Trace: command_test.go:73 [2021-03-31T15:22:59.816Z] command_test.go:79 [2021-03-31T15:22:59.816Z] Error: Received unexpected error: [2021-03-31T15:22:59.816Z] Failed to send delete consumer request someuser: Delete "http://127.0.0.1:0/admin/consumers/someuser": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] Test: TestDelUser [2021-03-31T15:22:59.817Z] FAIL [2021-03-31T15:22:59.817Z] coverage: 69.2% of statements [2021-03-31T15:22:59.817Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.038s [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.085s coverage: 87.2% of statements [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.068s coverage: 84.6% of statements [2021-03-31T15:22:59.817Z] flag provided but not defined: -badarg [2021-03-31T15:22:59.817Z] Usage of tls: [2021-03-31T15:22:59.817Z] -confdir string [2021-03-31T15:22:59.817Z] [2021-03-31T15:22:59.817Z] -incert string [2021-03-31T15:22:59.817Z] Path to PEM-encoded leaf certificate [2021-03-31T15:22:59.817Z] -inkey string [2021-03-31T15:22:59.817Z] Path to PEM-encoded private key [2021-03-31T15:22:59.817Z] -snis string [2021-03-31T15:22:59.817Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-03-31T15:22:59.817Z] --- FAIL: TestTLSAddNewCertificate (0.01s) [2021-03-31T15:22:59.817Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.00s) [2021-03-31T15:22:59.817Z] command_test.go:125: [2021-03-31T15:22:59.817Z] Error Trace: command_test.go:125 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-03-31T15:22:59.817Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) [2021-03-31T15:22:59.817Z] command_test.go:125: [2021-03-31T15:22:59.817Z] Error Trace: command_test.go:125 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-03-31T15:22:59.817Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) [2021-03-31T15:22:59.817Z] command_test.go:125: [2021-03-31T15:22:59.817Z] Error Trace: command_test.go:125 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-03-31T15:22:59.817Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) [2021-03-31T15:22:59.817Z] command_test.go:125: [2021-03-31T15:22:59.817Z] Error Trace: command_test.go:125 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-03-31T15:22:59.817Z] FAIL [2021-03-31T15:22:59.817Z] coverage: 44.3% of statements [2021-03-31T15:22:59.817Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.057s [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.198s coverage: 64.4% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.055s coverage: 91.3% of statements [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.024s coverage: 100.0% of statements [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements [2021-03-31T15:22:59.817Z] --- FAIL: TestDelete (0.00s) [2021-03-31T15:22:59.817Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-03-31T15:22:59.817Z] resource_test.go:75: failed to delete 1 at services with error Delete "http://127.0.0.1:0/admin/services/1": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] --- FAIL: TestPostCertExists (0.01s) [2021-03-31T15:22:59.817Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-03-31T15:22:59.817Z] --- FAIL: TestInit (0.01s) [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/empty_env (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/empty_env [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_one_unique_route [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_two_unique_routes [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_one_duplicate_route [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-03-31T15:22:59.817Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:220: [2021-03-31T15:22:59.817Z] Error Trace: service_test.go:220 [2021-03-31T15:22:59.817Z] Error: Received unexpected error: [2021-03-31T15:22:59.817Z] failed to read config template: open : no such file or directory [2021-03-31T15:22:59.817Z] Test: TestInit/empty_service_name [2021-03-31T15:22:59.817Z] --- FAIL: TestInitKongService (0.00s) [2021-03-31T15:22:59.817Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:340: failed to set up proxy service: test Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:340: failed to set up proxy service: conflict Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] --- FAIL: TestInitKongRoutes (0.00s) [2021-03-31T15:22:59.817Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:396: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] --- FAIL: TestResetProxy (0.00s) [2021-03-31T15:22:59.817Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:456: failed to get list of routes with error Get "http://127.0.0.1:0/admin/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] --- FAIL: TestGetSvcIDs (0.00s) [2021-03-31T15:22:59.817Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:523: failed to get list of testservice with error Get "http://127.0.0.1:0/admin/testservice": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-03-31T15:22:59.817Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-03-31T15:22:59.817Z] service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:22:59.817Z] FAIL [2021-03-31T15:22:59.817Z] coverage: 28.7% of statements [2021-03-31T15:22:59.817Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.079s [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.134s coverage: 41.5% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.039s coverage: 84.8% of statements [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.122s coverage: 47.0% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.049s coverage: 100.0% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.044s coverage: 100.0% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.139s coverage: 87.1% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.732s coverage: 29.1% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.073s coverage: 99.0% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-03-31T15:22:59.817Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.054s coverage: 100.0% of statements [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-03-31T15:22:59.817Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-03-31T15:22:59.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.111s coverage: 95.0% of statements [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-03-31T15:22:59.818Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-03-31T15:22:59.818Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.040s coverage: 100.0% of statements [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-03-31T15:22:59.818Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.040s coverage: 87.9% of statements [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-03-31T15:22:59.818Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-03-31T15:22:59.818Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.032s coverage: 100.0% of statements [2021-03-31T15:23:00.082Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.066s coverage: 32.1% of statements [2021-03-31T15:23:00.344Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2021-03-31T15:23:00.344Z] FAIL [2021-03-31T15:23:00.605Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-03-31T15:23:00.658Z] $ docker stop --time=1 a793ee6bb8baff436f4ceef1658839bc8ffa2f1ef877970ef60a53b653142c1d [2021-03-31T15:23:02.850Z] $ docker rm -f a793ee6bb8baff436f4ceef1658839bc8ffa2f1ef877970ef60a53b653142c1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T15:23:04.960Z] Failed in branch amd64 [2021-03-31T15:24:34.472Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32266 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-03-31T15:24:34.637Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-03-31T15:24:39.935Z] using credential edgex-jenkins-ssh [2021-03-31T15:24:39.991Z] Cloning the remote Git repository [2021-03-31T15:24:40.068Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-03-31T15:24:40.180Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-03-31T15:24:40.248Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-31T15:24:40.248Z] > git --version # timeout=10 [2021-03-31T15:24:40.271Z] > git --version # 'git version 2.17.1' [2021-03-31T15:24:40.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T15:24:40.343Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T15:24:56.693Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-31T15:24:56.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T15:24:56.745Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-03-31T15:24:56.774Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-03-31T15:24:56.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T15:24:56.787Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T15:24:57.656Z] Merging remotes/origin/master commit ffa292a08661baeb026f188275a19c5914c89a0e into PR head commit 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da [2021-03-31T15:24:58.192Z] Merge succeeded, producing 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da [2021-03-31T15:24:58.192Z] Checking out Revision 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da (PR-3328) [2021-03-31T15:24:57.730Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T15:24:57.760Z] > git checkout -f 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da # timeout=10 [2021-03-31T15:24:58.093Z] > git remote # timeout=10 [2021-03-31T15:24:58.117Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T15:24:58.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T15:24:58.158Z] > git merge ffa292a08661baeb026f188275a19c5914c89a0e # timeout=10 [2021-03-31T15:24:58.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T15:24:58.210Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T15:24:58.224Z] > git checkout -f 616dbd8c8df2dc6e5e4a14e1168f53399fdf97da # timeout=10 [2021-03-31T15:25:02.416Z] Commit message: "feat(security): Secure Kong Admin API" [2021-03-31T15:25:02.483Z] > git --version # timeout=10 [2021-03-31T15:25:02.497Z] > git --version # 'git version 2.17.1' [2021-03-31T15:25:02.510Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T15:25:04.649Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T15:25:05.072Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T15:25:05.450Z] + sudo+ service docker restarttrue [2021-03-31T15:25:05.450Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T15:25:07.575Z] provisioning config files... [2021-03-31T15:25:07.621Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2044888276381495647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:25:08.085Z] ---> docker-login.sh [2021-03-31T15:25:08.085Z] nexus3.edgexfoundry.org:10001 [2021-03-31T15:25:09.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:25:10.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:25:10.803Z] Configure a credential helper to remove this warning. See [2021-03-31T15:25:10.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:25:10.803Z] [2021-03-31T15:25:10.803Z] Login Succeeded [2021-03-31T15:25:10.803Z] nexus3.edgexfoundry.org:10002 [2021-03-31T15:25:10.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:25:10.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:25:10.803Z] Configure a credential helper to remove this warning. See [2021-03-31T15:25:10.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:25:10.803Z] [2021-03-31T15:25:10.803Z] Login Succeeded [2021-03-31T15:25:10.803Z] nexus3.edgexfoundry.org:10003 [2021-03-31T15:25:10.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:25:10.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:25:10.803Z] Configure a credential helper to remove this warning. See [2021-03-31T15:25:10.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:25:10.803Z] [2021-03-31T15:25:10.803Z] Login Succeeded [2021-03-31T15:25:10.803Z] nexus3.edgexfoundry.org:10004 [2021-03-31T15:25:10.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:25:11.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:25:11.081Z] Configure a credential helper to remove this warning. See [2021-03-31T15:25:11.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:25:11.081Z] [2021-03-31T15:25:11.081Z] Login Succeeded [2021-03-31T15:25:11.081Z] docker.io [2021-03-31T15:25:11.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T15:25:11.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T15:25:11.955Z] Configure a credential helper to remove this warning. See [2021-03-31T15:25:11.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T15:25:11.955Z] [2021-03-31T15:25:11.955Z] Login Succeeded [2021-03-31T15:25:11.955Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T15:25:11.989Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T15:25:12.610Z] ========================================================= [2021-03-31T15:25:12.610Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T15:25:12.610Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:25:13.058Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-31T15:25:15.738Z] Sending build context to Docker daemon 167.2MB [2021-03-31T15:25:15.738Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T15:25:15.738Z] Step 2/6 : FROM ${BASE} [2021-03-31T15:25:15.738Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T15:25:15.738Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T15:25:15.738Z] a4357932f1b6: Pulling fs layer [2021-03-31T15:25:15.738Z] 18c013af1878: Pulling fs layer [2021-03-31T15:25:15.738Z] 00ac8860ef70: Pulling fs layer [2021-03-31T15:25:15.738Z] 63d7cb157983: Pulling fs layer [2021-03-31T15:25:15.738Z] b116817d02f9: Pulling fs layer [2021-03-31T15:25:15.738Z] 745a02a5169b: Pulling fs layer [2021-03-31T15:25:15.738Z] 00ac8860ef70: Waiting [2021-03-31T15:25:15.738Z] 63d7cb157983: Waiting [2021-03-31T15:25:15.738Z] b116817d02f9: Waiting [2021-03-31T15:25:15.738Z] 745a02a5169b: Waiting [2021-03-31T15:25:15.738Z] 18c013af1878: Verifying Checksum [2021-03-31T15:25:15.738Z] 18c013af1878: Download complete [2021-03-31T15:25:15.738Z] a4357932f1b6: Verifying Checksum [2021-03-31T15:25:15.738Z] a4357932f1b6: Download complete [2021-03-31T15:25:15.738Z] 63d7cb157983: Verifying Checksum [2021-03-31T15:25:15.738Z] 63d7cb157983: Download complete [2021-03-31T15:25:15.738Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T15:25:15.738Z] 5f621e34cdf4: Download complete [2021-03-31T15:25:15.738Z] b116817d02f9: Verifying Checksum [2021-03-31T15:25:15.738Z] b116817d02f9: Download complete [2021-03-31T15:25:16.331Z] 5f621e34cdf4: Pull complete [2021-03-31T15:25:16.603Z] a4357932f1b6: Pull complete [2021-03-31T15:25:17.203Z] 18c013af1878: Pull complete [2021-03-31T15:25:18.645Z] 745a02a5169b: Verifying Checksum [2021-03-31T15:25:18.645Z] 745a02a5169b: Download complete [2021-03-31T15:25:19.626Z] 00ac8860ef70: Verifying Checksum [2021-03-31T15:25:19.626Z] 00ac8860ef70: Download complete [2021-03-31T15:25:29.804Z] 00ac8860ef70: Pull complete [2021-03-31T15:25:29.804Z] 63d7cb157983: Pull complete [2021-03-31T15:25:30.078Z] b116817d02f9: Pull complete [2021-03-31T15:25:34.396Z] 745a02a5169b: Pull complete [2021-03-31T15:25:34.396Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T15:25:34.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T15:25:34.396Z] ---> b7e6874047d6 [2021-03-31T15:25:34.396Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-03-31T15:25:37.788Z] ---> Running in 6a0a4a923fbb [2021-03-31T15:25:38.777Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T15:25:39.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T15:25:39.970Z] (1/12) Installing libmagic (5.38-r0) [2021-03-31T15:25:40.242Z] (2/12) Installing file (5.38-r0) [2021-03-31T15:25:40.242Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-03-31T15:25:40.242Z] (4/12) Installing g++ (9.3.0-r2) [2021-03-31T15:25:45.643Z] (5/12) Installing fortify-headers (1.1-r0) [2021-03-31T15:25:45.643Z] (6/12) Installing patch (2.7.6-r6) [2021-03-31T15:25:45.643Z] (7/12) Installing build-base (0.5-r2) [2021-03-31T15:25:45.643Z] (8/12) Installing libsodium (1.0.18-r0) [2021-03-31T15:25:45.643Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-03-31T15:25:45.643Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-03-31T15:25:45.643Z] (11/12) Installing libzmq (4.3.3-r0) [2021-03-31T15:25:45.643Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-03-31T15:25:45.643Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T15:25:45.643Z] OK: 217 MiB in 51 packages [2021-03-31T15:25:49.986Z] Removing intermediate container 6a0a4a923fbb [2021-03-31T15:25:49.986Z] ---> 92a56f087737 [2021-03-31T15:25:49.986Z] Step 4/6 : WORKDIR /edgex-go [2021-03-31T15:25:49.986Z] ---> Running in 9f9601a7b4b3 [2021-03-31T15:25:50.258Z] Removing intermediate container 9f9601a7b4b3 [2021-03-31T15:25:50.258Z] ---> 52172d36e854 [2021-03-31T15:25:50.258Z] Step 5/6 : COPY go.mod . [2021-03-31T15:25:50.858Z] ---> 5a084cf34f30 [2021-03-31T15:25:50.858Z] Step 6/6 : RUN go mod download [2021-03-31T15:25:51.138Z] ---> Running in 5886e7ec53eb [2021-03-31T15:26:17.932Z] Removing intermediate container 5886e7ec53eb [2021-03-31T15:26:17.932Z] ---> 37e0be552518 [2021-03-31T15:26:17.932Z] Successfully built 37e0be552518 [2021-03-31T15:26:17.932Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:26:18.320Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T15:26:18.320Z] . [Pipeline] withDockerContainer [2021-03-31T15:26:18.586Z] prd-ubuntu18.04-docker-arm64-4c-16g-32266 does not seem to be running inside a container [2021-03-31T15:26:18.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat [2021-03-31T15:26:20.116Z] $ docker top fc43ecf9d5f7c0222ba01f953943c93885d4c939e21e9a16afcae173a70c4f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T15:26:21.219Z] + go version [2021-03-31T15:26:21.219Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T15:26:21.263Z] $ docker stop --time=1 fc43ecf9d5f7c0222ba01f953943c93885d4c939e21e9a16afcae173a70c4f5e [2021-03-31T15:26:23.140Z] $ docker rm -f fc43ecf9d5f7c0222ba01f953943c93885d4c939e21e9a16afcae173a70c4f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:26:24.364Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T15:26:24.364Z] . [Pipeline] withDockerContainer [2021-03-31T15:26:24.637Z] prd-ubuntu18.04-docker-arm64-4c-16g-32266 does not seem to be running inside a container [2021-03-31T15:26:24.725Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat [2021-03-31T15:26:26.078Z] $ docker top c3c60d0798dfaabacb5a72b77e8fe990000c41bf5a5b5f215ed7d0890b1e5bd3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T15:26:26.490Z] ========================================================= [2021-03-31T15:26:26.490Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-03-31T15:26:26.490Z] ========================================================= [Pipeline] sh [2021-03-31T15:26:27.192Z] + make test [2021-03-31T15:26:27.192Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T15:26:49.369Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-03-31T15:27:36.408Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-03-31T15:27:44.785Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-03-31T15:27:51.532Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-03-31T15:27:51.532Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-03-31T15:27:54.941Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-03-31T15:27:54.941Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-03-31T15:27:54.941Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-03-31T15:27:55.220Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-03-31T15:27:58.626Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-03-31T15:27:58.903Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-03-31T15:28:07.200Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-03-31T15:28:07.200Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-03-31T15:28:07.200Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-03-31T15:28:12.635Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.290s coverage: 45.9% of statements [2021-03-31T15:28:12.635Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-03-31T15:28:12.635Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-03-31T15:28:12.635Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-03-31T15:28:12.635Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-03-31T15:28:12.635Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-03-31T15:28:12.635Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-03-31T15:28:12.635Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.169s coverage: 19.8% of statements [2021-03-31T15:28:12.635Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.291s coverage: 100.0% of statements [2021-03-31T15:28:20.969Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.488s coverage: 27.1% of statements [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-03-31T15:28:20.969Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.209s coverage: 100.0% of statements [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-03-31T15:28:20.969Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.292s coverage: 100.0% of statements [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-03-31T15:28:20.969Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-03-31T15:28:21.246Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.280s coverage: 71.3% of statements [2021-03-31T15:28:21.246Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-03-31T15:28:21.246Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-03-31T15:28:23.243Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.526s coverage: 82.9% of statements [2021-03-31T15:28:23.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-03-31T15:28:23.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:28:23.243Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.155s coverage: 78.9% of statements [2021-03-31T15:28:23.243Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-03-31T15:28:33.455Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.127s coverage: 28.6% of statements [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-03-31T15:28:33.455Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.191s coverage: 100.0% of statements [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-03-31T15:28:33.455Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.133s coverage: 100.0% of statements [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-03-31T15:28:33.455Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.451s coverage: 86.7% of statements [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-03-31T15:28:33.455Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.388s coverage: 97.5% of statements [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-03-31T15:28:33.455Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.212s coverage: 78.3% of statements [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-03-31T15:28:33.455Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-03-31T15:28:41.798Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.203s coverage: 92.8% of statements [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.111s coverage: 58.8% of statements [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.183s coverage: 1.0% of statements [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-03-31T15:28:41.799Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.136s coverage: 47.1% of statements [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.192s coverage: 79.5% of statements [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.141s coverage: 94.1% of statements [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.168s coverage: 96.3% of statements [2021-03-31T15:28:41.799Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.130s coverage: 87.5% of statements [2021-03-31T15:28:54.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.150s coverage: 94.4% of statements [2021-03-31T15:28:54.243Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.128s coverage: 44.8% of statements [2021-03-31T15:28:59.647Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.439s coverage: 82.6% of statements [2021-03-31T15:29:09.843Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.192s coverage: 92.9% of statements [2021-03-31T15:29:09.843Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-03-31T15:29:09.843Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-03-31T15:29:09.843Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-03-31T15:29:09.843Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 68.3% of statements [2021-03-31T15:29:09.843Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.068s coverage: 87.2% of statements [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-03-31T15:29:09.844Z] flag provided but not defined: -badarg [2021-03-31T15:29:09.844Z] Usage of adduser: [2021-03-31T15:29:09.844Z] -algorithm string [2021-03-31T15:29:09.844Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-03-31T15:29:09.844Z] -client_id string [2021-03-31T15:29:09.844Z] Optional manually-specified OAuth2 client_id. [2021-03-31T15:29:09.844Z] -client_secret string [2021-03-31T15:29:09.844Z] Optional manually-specified OAuth2 client_secret. [2021-03-31T15:29:09.844Z] -confdir string [2021-03-31T15:29:09.844Z] [2021-03-31T15:29:09.844Z] -group string [2021-03-31T15:29:09.844Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2021-03-31T15:29:09.844Z] -id string [2021-03-31T15:29:09.844Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-03-31T15:29:09.844Z] -public_key string [2021-03-31T15:29:09.844Z] Public key (in PEM format) used to validate the JWT. [2021-03-31T15:29:09.844Z] -redirect_uris string [2021-03-31T15:29:09.844Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-03-31T15:29:09.844Z] -token-type string [2021-03-31T15:29:09.844Z] Type of token to create: jwt or oauth2 [2021-03-31T15:29:09.844Z] -user string [2021-03-31T15:29:09.844Z] Username of the user to add [2021-03-31T15:29:09.844Z] --- FAIL: TestAddUserJWT (0.01s) [2021-03-31T15:29:09.844Z] command_test.go:96: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:96 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestAddUserJWT [2021-03-31T15:29:09.844Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-03-31T15:29:09.844Z] command_test.go:144: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:144 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send new consumer request someuser: Post "http://127.0.0.1:0/admin/consumers": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestAddUserOAuth2 [2021-03-31T15:29:09.844Z] FAIL [2021-03-31T15:29:09.844Z] coverage: 34.0% of statements [2021-03-31T15:29:09.844Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.130s [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-03-31T15:29:09.844Z] flag provided but not defined: -badarg [2021-03-31T15:29:09.844Z] Usage of deluser: [2021-03-31T15:29:09.844Z] -confdir string [2021-03-31T15:29:09.844Z] [2021-03-31T15:29:09.844Z] -user string [2021-03-31T15:29:09.844Z] Username of the user to delete [2021-03-31T15:29:09.844Z] --- FAIL: TestDelUser (0.01s) [2021-03-31T15:29:09.844Z] command_test.go:73: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:73 [2021-03-31T15:29:09.844Z] command_test.go:79 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send delete consumer request someuser: Delete "http://127.0.0.1:0/admin/consumers/someuser": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestDelUser [2021-03-31T15:29:09.844Z] FAIL [2021-03-31T15:29:09.844Z] coverage: 69.2% of statements [2021-03-31T15:29:09.844Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.105s [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.217s coverage: 87.2% of statements [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.224s coverage: 84.6% of statements [2021-03-31T15:29:09.844Z] flag provided but not defined: -badarg [2021-03-31T15:29:09.844Z] Usage of tls: [2021-03-31T15:29:09.844Z] -confdir string [2021-03-31T15:29:09.844Z] [2021-03-31T15:29:09.844Z] -incert string [2021-03-31T15:29:09.844Z] Path to PEM-encoded leaf certificate [2021-03-31T15:29:09.844Z] -inkey string [2021-03-31T15:29:09.844Z] Path to PEM-encoded private key [2021-03-31T15:29:09.844Z] -snis string [2021-03-31T15:29:09.844Z] [Optional] comma-separated extra server name indications list to associate with this certificate [2021-03-31T15:29:09.844Z] --- FAIL: TestTLSAddNewCertificate (0.03s) [2021-03-31T15:29:09.844Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty (0.01s) [2021-03-31T15:29:09.844Z] command_test.go:125: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:125 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_cert_in_server_is_empty [2021-03-31T15:29:09.844Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server (0.00s) [2021-03-31T15:29:09.844Z] command_test.go:125: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:125 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_one_cert_is_in_server [2021-03-31T15:29:09.844Z] --- FAIL: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server (0.00s) [2021-03-31T15:29:09.844Z] command_test.go:125: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:125 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestTLSAddNewCertificate/Good:_Add_new_kong_cert_when_two_or_more_cert_is_in_server [2021-03-31T15:29:09.844Z] --- FAIL: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty (0.00s) [2021-03-31T15:29:09.844Z] command_test.go:125: [2021-03-31T15:29:09.844Z] Error Trace: command_test.go:125 [2021-03-31T15:29:09.844Z] Error: Received unexpected error: [2021-03-31T15:29:09.844Z] Failed to send request to list Kong snis tls certs: Get "http://127.0.0.1:0/admin/snis": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:09.844Z] Test: TestTLSAddNewCertificate/Ok:_Add_new_kong_cert_when_delete_certificate_API_failed_but_list_cert_being_empty [2021-03-31T15:29:09.844Z] FAIL [2021-03-31T15:29:09.844Z] coverage: 44.3% of statements [2021-03-31T15:29:09.844Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.180s [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.529s coverage: 64.4% of statements [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-03-31T15:29:09.844Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.147s coverage: 100.0% of statements [2021-03-31T15:29:09.844Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.100s coverage: 91.3% of statements [2021-03-31T15:29:10.837Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.070s coverage: 100.0% of statements [2021-03-31T15:29:11.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.071s coverage: 73.7% of statements [2021-03-31T15:29:11.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.049s coverage: 100.0% of statements [2021-03-31T15:29:14.055Z] --- FAIL: TestDelete (0.01s) [2021-03-31T15:29:14.055Z] --- FAIL: TestDelete/DeleteOK (0.00s) [2021-03-31T15:29:14.055Z] resource_test.go:75: failed to delete 1 at services with error Delete "http://127.0.0.1:0/admin/services/1": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.055Z] --- FAIL: TestPostCertExists (0.02s) [2021-03-31T15:29:14.055Z] service_test.go:85: failed on testing existing certificate on proxy - failed to catch message of existing cert [2021-03-31T15:29:14.055Z] --- FAIL: TestInit (0.03s) [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/empty_env (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/empty_env [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_one_unique_route (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_one_unique_route [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_one_unique_route_with_URL_containing_IP_address (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_one_unique_route_with_URL_containing_IP_address [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_two_unique_routes (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_two_unique_routes [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_two_unique_routes:one_with_URL_containing_IP_address;_the_other_one_with_hostname [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_one_duplicate_route (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_one_duplicate_route [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_one_unique,_one_duplicate_route (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_one_unique,_one_duplicate_route [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_one_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.055Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.055Z] Error: Received unexpected error: [2021-03-31T15:29:14.055Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.055Z] Test: TestInit/add_one_unique,_multiple_duplicate_routes [2021-03-31T15:29:14.055Z] --- FAIL: TestInit/add_two_unique,_multiple_duplicate_routes (0.00s) [2021-03-31T15:29:14.055Z] service_test.go:220: [2021-03-31T15:29:14.056Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.056Z] Error: Received unexpected error: [2021-03-31T15:29:14.056Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.056Z] Test: TestInit/add_two_unique,_multiple_duplicate_routes [2021-03-31T15:29:14.056Z] --- FAIL: TestInit/bad_spec_without_dot_._in_the_definition_for_route (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:220: [2021-03-31T15:29:14.056Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.056Z] Error: Received unexpected error: [2021-03-31T15:29:14.056Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.056Z] Test: TestInit/bad_spec_without_dot_._in_the_definition_for_route [2021-03-31T15:29:14.056Z] --- FAIL: TestInit/bad_URL_without_full_quallified_URL (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:220: [2021-03-31T15:29:14.056Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.056Z] Error: Received unexpected error: [2021-03-31T15:29:14.056Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.056Z] Test: TestInit/bad_URL_without_full_quallified_URL [2021-03-31T15:29:14.056Z] --- FAIL: TestInit/empty_service_name (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:220: [2021-03-31T15:29:14.056Z] Error Trace: service_test.go:220 [2021-03-31T15:29:14.056Z] Error: Received unexpected error: [2021-03-31T15:29:14.056Z] failed to read config template: open : no such file or directory [2021-03-31T15:29:14.056Z] Test: TestInit/empty_service_name [2021-03-31T15:29:14.056Z] --- FAIL: TestInitKongService (0.01s) [2021-03-31T15:29:14.056Z] --- FAIL: TestInitKongService/serviceOK (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:340: failed to set up proxy service: test Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.056Z] --- FAIL: TestInitKongService/service409 (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:340: failed to set up proxy service: conflict Post "http://127.0.0.1:0/admin/services": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.056Z] --- FAIL: TestInitKongRoutes (0.01s) [2021-03-31T15:29:14.056Z] --- FAIL: TestInitKongRoutes/routeOK (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:396: Post "http://127.0.0.1:0/admin/services/test/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.056Z] --- FAIL: TestResetProxy (0.00s) [2021-03-31T15:29:14.056Z] --- FAIL: TestResetProxy/resetOK (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:456: failed to get list of routes with error Get "http://127.0.0.1:0/admin/routes": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.056Z] --- FAIL: TestGetSvcIDs (0.01s) [2021-03-31T15:29:14.056Z] --- FAIL: TestGetSvcIDs/GetOK (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:523: failed to get list of testservice with error Get "http://127.0.0.1:0/admin/testservice": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.056Z] --- FAIL: TestInitJWTAuth (0.00s) [2021-03-31T15:29:14.056Z] --- FAIL: TestInitJWTAuth/jwtOK (0.00s) [2021-03-31T15:29:14.056Z] service_test.go:581: Post "http://127.0.0.1:0/admin/plugins": dial tcp 127.0.0.1:0: connect: connection refused [2021-03-31T15:29:14.056Z] FAIL [2021-03-31T15:29:14.056Z] coverage: 28.7% of statements [2021-03-31T15:29:14.056Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy 0.230s [2021-03-31T15:29:14.056Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-03-31T15:29:14.056Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-03-31T15:29:14.056Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-03-31T15:29:18.395Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.485s coverage: 41.5% of statements [2021-03-31T15:29:18.396Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-03-31T15:29:18.396Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-03-31T15:29:18.396Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.131s coverage: 89.5% of statements [2021-03-31T15:29:18.396Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-03-31T15:29:18.396Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.140s coverage: 84.8% of statements [2021-03-31T15:29:22.752Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.484s coverage: 47.0% of statements [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-03-31T15:29:22.752Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.146s coverage: 100.0% of statements [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-03-31T15:29:22.752Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.146s coverage: 100.0% of statements [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] [2021-03-31T15:29:22.752Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-03-31T15:29:24.198Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.431s coverage: 87.1% of statements [2021-03-31T15:29:24.198Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-03-31T15:29:24.198Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:29:24.198Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.154s coverage: 29.1% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.185s coverage: 99.0% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.224s coverage: 100.0% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.244s coverage: 95.0% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.057s coverage: 100.0% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.102s coverage: 87.9% of statements [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-03-31T15:29:30.955Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-03-31T15:29:30.955Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements [2021-03-31T15:29:32.950Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.121s coverage: 32.1% of statements [2021-03-31T15:29:33.220Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements [2021-03-31T15:29:33.220Z] FAIL [2021-03-31T15:29:34.200Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-03-31T15:29:34.272Z] $ docker stop --time=1 c3c60d0798dfaabacb5a72b77e8fe990000c41bf5a5b5f215ed7d0890b1e5bd3 [2021-03-31T15:29:36.656Z] $ docker rm -f c3c60d0798dfaabacb5a72b77e8fe990000c41bf5a5b5f215ed7d0890b1e5bd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:29:39.330Z] ---> job-cost.sh [2021-03-31T15:29:39.330Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-M3ZU [2021-03-31T15:30:18.355Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T15:31:55.089Z] lf-activate-venv(): INFO: Adding /tmp/venv-M3ZU/bin to PATH [2021-03-31T15:31:55.089Z] INFO: No Stack... [2021-03-31T15:31:55.089Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T15:31:55.089Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T15:31:55.453Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-03-31T15:31:55.453Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T15:31:55.597Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-1-stack-cost] [2021-03-31T15:31:55.605Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-1-stack-cost] did not exist. Created. [2021-03-31T15:31:55.605Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T15:31:56.163Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T15:31:57.134Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T15:31:57.157Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T15:31:58.301Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:01.589Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:02.513Z] ---> package-listing.sh [2021-03-31T15:32:02.513Z] ++ facter osfamily [2021-03-31T15:32:02.513Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T15:32:02.513Z] + OS_FAMILY=redhat [2021-03-31T15:32:02.513Z] + workspace=/w/workspace/edgex-go/1 [2021-03-31T15:32:02.513Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T15:32:02.513Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T15:32:02.513Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T15:32:02.513Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T15:32:02.513Z] + '[' /w/workspace/edgex-go/1 ']' [2021-03-31T15:32:02.513Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T15:32:02.513Z] + case "${OS_FAMILY}" in [2021-03-31T15:32:02.513Z] + rpm -qa [2021-03-31T15:32:02.513Z] + sort [2021-03-31T15:32:07.827Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T15:32:07.827Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T15:32:07.827Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T15:32:07.827Z] + '[' /w/workspace/edgex-go/1 ']' [2021-03-31T15:32:07.827Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-03-31T15:32:07.827Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-03-31T15:32:07.867Z] 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T15:32:08.180Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:32:08.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T15:32:08.552Z] [2021-03-31T15:32:08.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T15:32:08.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T15:32:08.943Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T15:32:08.943Z] df20fa9351a1: Pulling fs layer [2021-03-31T15:32:08.943Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T15:32:08.943Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T15:32:08.943Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T15:32:08.943Z] 93b61091891f: Pulling fs layer [2021-03-31T15:32:08.943Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T15:32:08.943Z] 5e14af77c1be: Pulling fs layer [2021-03-31T15:32:08.943Z] 01666e4c0597: Pulling fs layer [2021-03-31T15:32:08.943Z] aa168da1d23b: Pulling fs layer [2021-03-31T15:32:08.943Z] 93b9cdb0e59b: Waiting [2021-03-31T15:32:08.943Z] 5e14af77c1be: Waiting [2021-03-31T15:32:08.943Z] 01666e4c0597: Waiting [2021-03-31T15:32:08.943Z] aa168da1d23b: Waiting [2021-03-31T15:32:08.943Z] 46f8f816bc3b: Waiting [2021-03-31T15:32:08.943Z] 93b61091891f: Waiting [2021-03-31T15:32:09.209Z] 36b3adc4ff6f: Download complete [2021-03-31T15:32:09.209Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T15:32:09.209Z] 46f8f816bc3b: Download complete [2021-03-31T15:32:09.209Z] df20fa9351a1: Verifying Checksum [2021-03-31T15:32:09.209Z] df20fa9351a1: Download complete [2021-03-31T15:32:09.209Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T15:32:09.209Z] 93b9cdb0e59b: Download complete [2021-03-31T15:32:09.209Z] 93b61091891f: Verifying Checksum [2021-03-31T15:32:09.209Z] 93b61091891f: Download complete [2021-03-31T15:32:09.209Z] 5e14af77c1be: Verifying Checksum [2021-03-31T15:32:09.209Z] 5e14af77c1be: Download complete [2021-03-31T15:32:09.209Z] 01666e4c0597: Verifying Checksum [2021-03-31T15:32:09.209Z] 01666e4c0597: Download complete [2021-03-31T15:32:09.472Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T15:32:09.472Z] 8ad3a11d3b57: Download complete [2021-03-31T15:32:09.472Z] df20fa9351a1: Pull complete [2021-03-31T15:32:09.734Z] 36b3adc4ff6f: Pull complete [2021-03-31T15:32:10.308Z] 8ad3a11d3b57: Pull complete [2021-03-31T15:32:10.583Z] 46f8f816bc3b: Pull complete [2021-03-31T15:32:11.531Z] 93b61091891f: Pull complete [2021-03-31T15:32:11.531Z] 93b9cdb0e59b: Pull complete [2021-03-31T15:32:11.531Z] aa168da1d23b: Verifying Checksum [2021-03-31T15:32:11.531Z] aa168da1d23b: Download complete [2021-03-31T15:32:11.793Z] 5e14af77c1be: Pull complete [2021-03-31T15:32:11.793Z] 01666e4c0597: Pull complete [2021-03-31T15:32:18.412Z] aa168da1d23b: Pull complete [2021-03-31T15:32:18.413Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T15:32:18.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T15:32:18.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T15:32:18.680Z] prd-centos7-docker-4c-2g-32265 does not seem to be running inside a container [2021-03-31T15:32:18.743Z] $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T15:32:21.970Z] $ docker top 8263c1a763ea093e9f6031cf573c252cbc3644545eb779f97fedda6454b44621 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T15:32:22.495Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T15:32:22.823Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T15:32:23.142Z] + ls /var/log/sa-host [2021-03-31T15:32:23.142Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T15:32:23.142Z] file_magic: OK [2021-03-31T15:32:23.142Z] HZ: Using current value: 100 [2021-03-31T15:32:23.142Z] file_header: OK [2021-03-31T15:32:23.142Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T15:32:23.142Z] Statistics: [2021-03-31T15:32:23.142Z] Hnuu...uuuununununu... [2021-03-31T15:32:23.142Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T15:32:23.142Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T15:32:23.142Z] file_magic: OK [2021-03-31T15:32:23.142Z] HZ: Using current value: 100 [2021-03-31T15:32:23.142Z] file_header: OK [2021-03-31T15:32:23.142Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T15:32:23.142Z] Statistics: [2021-03-31T15:32:23.142Z] 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-03-31T15:32:23.142Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T15:32:23.455Z] provisioning config files... [2021-03-31T15:32:23.474Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7218311703974020016tmp [Pipeline] { [Pipeline] echo [2021-03-31T15:32:23.599Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:23.944Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T15:32:23.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T15:32:24.159Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:24.516Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T15:32:24.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:25.075Z] ---> sudo-logs.sh [2021-03-31T15:32:25.075Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T15:32:25.272Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:25.640Z] ---> job-cost.sh [2021-03-31T15:32:25.641Z] lf-activate-venv: SKIPPING [2021-03-31T15:32:25.641Z] DEBUG: total: 0.20999999344348907 [2021-03-31T15:32:25.641Z] INFO: Retrieving Stack Cost... [2021-03-31T15:32:26.589Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T15:32:27.162Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T15:32:27.201Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T15:32:27.533Z] ---> logs-deploy.sh [2021-03-31T15:32:27.533Z] lf-activate-venv: SKIPPING [2021-03-31T15:32:27.533Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/1 [2021-03-31T15:32:27.533Z] INFO: archiving workspace using pattern(s): [2021-03-31T15:32:28.932Z] Archives upload complete. [2021-03-31T15:32:28.932Z] INFO: archiving logs to Nexus