Branch indexing 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 b1882bac436620be465db7044db985b75d91785f rather than ca3031ed79becafea960142ce03bf3c297bca30a Obtained Jenkinsfile from b1882bac436620be465db7044db985b75d91785f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-743 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/37 [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/37 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b1882bac436620be465db7044db985b75d91785f into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a Merge succeeded, producing e85f610337c5426830f7fa8c383023779c1bff2e Checking out Revision e85f610337c5426830f7fa8c383023779c1bff2e (PR-3328) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca3031ed79becafea960142ce03bf3c297bca30a # 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 b1882bac436620be465db7044db985b75d91785f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e85f610337c5426830f7fa8c383023779c1bff2e # timeout=10 Commit message: "Merge commit 'b1882bac436620be465db7044db985b75d91785f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T08:31:23.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T08:31:24.086Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T08:31:24.117Z] ========================================================= [2021-04-19T08:31:24.118Z] EdgeX Global Pipelines Version Info [2021-04-19T08:31:24.118Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f62e56e41d72eabf070e3366251c97e0682f379b # timeout=10 [2021-04-19T08:31:25.716Z] ------------------- [2021-04-19T08:31:25.716Z] stable info: [2021-04-19T08:31:25.716Z] ------------------- [2021-04-19T08:31:25.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T08:31:25.716Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T08:31:25.716Z] Message: update stable to v1.0.186 [2021-04-19T08:31:26.663Z] ------------------- [2021-04-19T08:31:26.663Z] experimental info: [2021-04-19T08:31:26.663Z] ------------------- [2021-04-19T08:31:26.663Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T08:31:26.663Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T08:31:26.663Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T08:31:26.776Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-04-19T08:31:26.797Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-04-19T08:31:26.818Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T08:31:26.842Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T08:31:26.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T08:31:26.884Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T08:31:26.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T08:31:26.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-04-19T08:31:26.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-04-19T08:31:26.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-04-19T08:31:27.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T08:31:27.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T08:31:27.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T08:31:27.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T08:31:27.105Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T08:31:27.127Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T08:31:27.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T08:31:27.170Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T08:31:27.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-19T08:31:27.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-19T08:31:27.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-19T08:31:27.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T08:31:27.295Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-04-19T08:31:27.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-04-19T08:31:27.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-04-19T08:31:27.358Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e85f610337c5426830f7fa8c383023779c1bff2e [Pipeline] echo [2021-04-19T08:31:27.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e85f610 [Pipeline] echo [2021-04-19T08:31:27.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T08:31:27.480Z] provisioning config files... [2021-04-19T08:31:27.513Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/37@tmp/config8800755119817634131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:31:27.828Z] ---> docker-login.sh [2021-04-19T08:31:27.828Z] nexus3.edgexfoundry.org:10001 [2021-04-19T08:31:28.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:31:28.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:31:28.356Z] Configure a credential helper to remove this warning. See [2021-04-19T08:31:28.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:31:28.356Z] [2021-04-19T08:31:28.356Z] Login Succeeded [2021-04-19T08:31:28.356Z] nexus3.edgexfoundry.org:10002 [2021-04-19T08:31:28.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:31:28.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:31:28.356Z] Configure a credential helper to remove this warning. See [2021-04-19T08:31:28.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:31:28.356Z] [2021-04-19T08:31:28.356Z] Login Succeeded [2021-04-19T08:31:28.356Z] nexus3.edgexfoundry.org:10003 [2021-04-19T08:31:28.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:31:28.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:31:28.619Z] Configure a credential helper to remove this warning. See [2021-04-19T08:31:28.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:31:28.619Z] [2021-04-19T08:31:28.619Z] Login Succeeded [2021-04-19T08:31:28.619Z] nexus3.edgexfoundry.org:10004 [2021-04-19T08:31:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:31:28.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:31:28.882Z] Configure a credential helper to remove this warning. See [2021-04-19T08:31:28.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:31:28.882Z] [2021-04-19T08:31:28.882Z] Login Succeeded [2021-04-19T08:31:28.882Z] docker.io [2021-04-19T08:31:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:31:29.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:31:29.147Z] Configure a credential helper to remove this warning. See [2021-04-19T08:31:29.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:31:29.147Z] [2021-04-19T08:31:29.147Z] Login Succeeded [2021-04-19T08:31:29.147Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T08:31:29.162Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T08:31:29.509Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/core-command/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo core-command,cmd/core-command/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/core-data/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo core-data,cmd/core-data/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/core-metadata/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/support-notifications/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-04-19T08:31:29.509Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-19T08:31:29.509Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-04-19T08:31:29.509Z] ++ cut -d/ -f2 [2021-04-19T08:31:29.509Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-04-19T08:31:29.611Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:31:30.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T08:31:30.249Z] [2021-04-19T08:31:30.249Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:31:30.563Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T08:31:30.563Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T08:31:30.563Z] 31603596830f: Pulling fs layer [2021-04-19T08:31:30.563Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T08:31:30.563Z] 6ca5941a6612: Pulling fs layer [2021-04-19T08:31:30.563Z] ecc8261a40a4: Pulling fs layer [2021-04-19T08:31:30.563Z] ecc8261a40a4: Waiting [2021-04-19T08:31:30.563Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T08:31:30.563Z] 2a8b12db71e7: Download complete [2021-04-19T08:31:30.563Z] 31603596830f: Verifying Checksum [2021-04-19T08:31:30.563Z] 31603596830f: Download complete [2021-04-19T08:31:30.830Z] ecc8261a40a4: Verifying Checksum [2021-04-19T08:31:30.830Z] ecc8261a40a4: Download complete [2021-04-19T08:31:30.830Z] 6ca5941a6612: Verifying Checksum [2021-04-19T08:31:30.830Z] 6ca5941a6612: Download complete [2021-04-19T08:31:31.103Z] 31603596830f: Pull complete [2021-04-19T08:31:31.103Z] 2a8b12db71e7: Pull complete [2021-04-19T08:31:32.069Z] 6ca5941a6612: Pull complete [2021-04-19T08:31:32.332Z] ecc8261a40a4: Pull complete [2021-04-19T08:31:32.332Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T08:31:32.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T08:31:32.332Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T08:31:32.440Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-04-19T08:31:32.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/37 -v /w/workspace/edgex-go/37:/w/workspace/edgex-go/37:rw,z -v /w/workspace/edgex-go/37@tmp:/w/workspace/edgex-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T08:31:35.151Z] $ docker top 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T08:31:35.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T08:31:35.386Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T08:31:35.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T08:31:35.621Z] $ docker exec 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a ssh-agent [2021-04-19T08:31:35.837Z] SSH_AUTH_SOCK=/tmp/ssh-1bYf7tXsYpRo/agent.13 [2021-04-19T08:31:35.837Z] SSH_AGENT_PID=19 [2021-04-19T08:31:35.851Z] Running ssh-add (command line suppressed) [2021-04-19T08:31:35.983Z] Identity added: /w/workspace/edgex-go/37@tmp/private_key_7084514374021915572.key (/w/workspace/edgex-go/37@tmp/private_key_7084514374021915572.key) [2021-04-19T08:31:36.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T08:31:36.352Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T08:31:36.378Z] $ docker exec --env ******** --env ******** 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a ssh-agent -k [2021-04-19T08:31:36.502Z] unset SSH_AUTH_SOCK; [2021-04-19T08:31:36.502Z] unset SSH_AGENT_PID; [2021-04-19T08:31:36.502Z] echo Agent pid 19 killed; [2021-04-19T08:31:36.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T08:31:36.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T08:31:36.599Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T08:31:36.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T08:31:36.787Z] $ docker exec 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a ssh-agent [2021-04-19T08:31:36.960Z] SSH_AUTH_SOCK=/tmp/ssh-5ytfoXorQQvf/agent.49 [2021-04-19T08:31:36.960Z] SSH_AGENT_PID=54 [2021-04-19T08:31:36.967Z] Running ssh-add (command line suppressed) [2021-04-19T08:31:37.104Z] Identity added: /w/workspace/edgex-go/37@tmp/private_key_4539404820748943196.key (/w/workspace/edgex-go/37@tmp/private_key_4539404820748943196.key) [2021-04-19T08:31:37.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T08:31:37.469Z] + git semver init [2021-04-19T08:31:37.469Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T08:31:37.469Z] # $GIT_DIR = /w/workspace/edgex-go/37/.git [2021-04-19T08:31:37.469Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/37 [2021-04-19T08:31:37.469Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T08:31:37.469Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T08:31:37.469Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T08:31:37.469Z] # $SEMVER_BRANCH = PR-3328 [2021-04-19T08:31:37.469Z] # $SEMVER_TEMP = /tmp/semver-465096158 [2021-04-19T08:31:37.469Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-04-19T08:32:04.114Z] # '/tmp/semver-465096158' -> '/w/workspace/edgex-go/37/.semver' [2021-04-19T08:32:04.706Z] # -> Force: false [2021-04-19T08:32:04.706Z] # $SEMVER_DIR = /w/workspace/edgex-go/37/.semver [Pipeline] } [2021-04-19T08:32:04.722Z] $ docker exec --env ******** --env ******** 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a ssh-agent -k [2021-04-19T08:32:04.995Z] unset SSH_AUTH_SOCK; [2021-04-19T08:32:04.995Z] unset SSH_AGENT_PID; [2021-04-19T08:32:04.996Z] echo Agent pid 54 killed; [2021-04-19T08:32:05.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T08:32:05.438Z] + git semver [Pipeline] } [2021-04-19T08:32:05.456Z] $ docker stop --time=1 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a [2021-04-19T08:32:07.040Z] $ docker rm -f 3b9ada7f4780c863a9378755822eb656f2447e19a3c9d5ed5de6d860a338f72a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T08:32:07.504Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T08:32:07.987Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T08:32:07.990Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T08:32:08.477Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T08:32:08.781Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T08:32:09.170Z] + sudo service docker restart [2021-04-19T08:32:09.170Z] + true [2021-04-19T08:32:09.170Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-04-19T08:32:09.788Z] ========================================================= [2021-04-19T08:32:09.788Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T08:32:09.788Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:32:10.097Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T08:32:14.348Z] Sending build context to Docker daemon 329.6MB [2021-04-19T08:32:14.348Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T08:32:14.348Z] Step 2/6 : FROM ${BASE} [2021-04-19T08:32:14.348Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T08:32:14.348Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T08:32:14.348Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T08:32:14.348Z] de9db76c5a1d: Pulling fs layer [2021-04-19T08:32:14.348Z] bca2f99d35d6: Pulling fs layer [2021-04-19T08:32:14.348Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T08:32:14.348Z] 7c6f9722023f: Pulling fs layer [2021-04-19T08:32:14.348Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T08:32:14.348Z] 93359f2a8cfa: Waiting [2021-04-19T08:32:14.348Z] 7c6f9722023f: Waiting [2021-04-19T08:32:14.348Z] a35cf1a2eb13: Waiting [2021-04-19T08:32:14.348Z] bca2f99d35d6: Waiting [2021-04-19T08:32:14.348Z] de9db76c5a1d: Verifying Checksum [2021-04-19T08:32:14.348Z] de9db76c5a1d: Download complete [2021-04-19T08:32:14.348Z] 0ef7d3d256c8: Download complete [2021-04-19T08:32:14.348Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T08:32:14.348Z] 93359f2a8cfa: Download complete [2021-04-19T08:32:14.348Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T08:32:14.348Z] 7c6f9722023f: Verifying Checksum [2021-04-19T08:32:14.348Z] 7c6f9722023f: Download complete [2021-04-19T08:32:14.348Z] 188c0c94c7c5: Pull complete [2021-04-19T08:32:15.312Z] 0ef7d3d256c8: Pull complete [2021-04-19T08:32:15.580Z] de9db76c5a1d: Pull complete [2021-04-19T08:32:15.852Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T08:32:15.852Z] a35cf1a2eb13: Download complete [2021-04-19T08:32:16.431Z] bca2f99d35d6: Verifying Checksum [2021-04-19T08:32:16.431Z] bca2f99d35d6: Download complete [2021-04-19T08:32:21.776Z] bca2f99d35d6: Pull complete [2021-04-19T08:32:22.071Z] 93359f2a8cfa: Pull complete [2021-04-19T08:32:22.342Z] 7c6f9722023f: Pull complete [2021-04-19T08:32:23.113Z] Still waiting to schedule task [2021-04-19T08:32:23.114Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-745’ is offline [2021-04-19T08:32:27.677Z] a35cf1a2eb13: Pull complete [2021-04-19T08:32:27.677Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T08:32:27.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T08:32:27.677Z] ---> a62c8e92a672 [2021-04-19T08:32:27.677Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-04-19T08:32:27.677Z] ---> Running in 691bcb86841b [2021-04-19T08:32:28.253Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T08:32:28.830Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T08:32:29.094Z] (1/12) Installing libmagic (5.38-r0) [2021-04-19T08:32:30.048Z] (2/12) Installing file (5.38-r0) [2021-04-19T08:32:30.048Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-19T08:32:30.313Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-19T08:32:42.577Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-19T08:32:42.577Z] (6/12) Installing patch (2.7.6-r6) [2021-04-19T08:32:42.577Z] (7/12) Installing build-base (0.5-r2) [2021-04-19T08:32:42.839Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-19T08:32:43.101Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-19T08:32:43.101Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-19T08:32:43.101Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-19T08:32:43.363Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-19T08:32:43.625Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T08:32:43.625Z] OK: 233 MiB in 51 packages [2021-04-19T08:32:47.861Z] Removing intermediate container 691bcb86841b [2021-04-19T08:32:47.861Z] ---> bed403fc6266 [2021-04-19T08:32:47.861Z] Step 4/6 : WORKDIR /edgex-go [2021-04-19T08:32:47.861Z] ---> Running in bcbbb659d94e [2021-04-19T08:32:47.861Z] Removing intermediate container bcbbb659d94e [2021-04-19T08:32:47.861Z] ---> d23e26801328 [2021-04-19T08:32:47.861Z] Step 5/6 : COPY go.mod . [2021-04-19T08:32:47.861Z] ---> c705e8ddf1c7 [2021-04-19T08:32:47.861Z] Step 6/6 : RUN go mod download [2021-04-19T08:32:47.861Z] ---> Running in d99c356d40c7 [2021-04-19T08:33:14.517Z] Removing intermediate container d99c356d40c7 [2021-04-19T08:33:14.517Z] ---> f63c35e7a501 [2021-04-19T08:33:14.517Z] Successfully built f63c35e7a501 [2021-04-19T08:33:14.517Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:33:14.834Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T08:33:14.834Z] . [Pipeline] withDockerContainer [2021-04-19T08:33:14.942Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-04-19T08:33:14.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/37 -v /w/workspace/edgex-go/37:/w/workspace/edgex-go/37:rw,z -v /w/workspace/edgex-go/37@tmp:/w/workspace/edgex-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T08:33:16.046Z] $ docker top 082fc332ee496b5c79da01489196f63eb7db74ab0cfed9490b52552a8675df74 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T08:33:16.544Z] + go version [2021-04-19T08:33:16.544Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T08:33:16.577Z] $ docker stop --time=1 082fc332ee496b5c79da01489196f63eb7db74ab0cfed9490b52552a8675df74 [2021-04-19T08:33:17.933Z] $ docker rm -f 082fc332ee496b5c79da01489196f63eb7db74ab0cfed9490b52552a8675df74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:33:18.420Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T08:33:18.420Z] . [Pipeline] withDockerContainer [2021-04-19T08:33:18.526Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-04-19T08:33:18.576Z] $ 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/37 -v /w/workspace/edgex-go/37:/w/workspace/edgex-go/37:rw,z -v /w/workspace/edgex-go/37@tmp:/w/workspace/edgex-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T08:33:19.428Z] $ docker top 6aec89120a1dd219d5fa04b9e64446eaa73e834aa088e5f04039e3150b73cb57 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-19T08:33:19.556Z] ========================================================= [2021-04-19T08:33:19.556Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-19T08:33:19.556Z] ========================================================= [Pipeline] sh [2021-04-19T08:33:19.850Z] + make test [2021-04-19T08:33:19.850Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T08:33:29.948Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-19T08:33:45.024Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-19T08:33:53.283Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-19T08:33:53.283Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-19T08:33:53.283Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-19T08:33:55.258Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-19T08:33:55.258Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-19T08:33:55.258Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-19T08:33:55.258Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-19T08:33:55.854Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-19T08:33:56.438Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-19T08:33:59.074Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-19T08:33:59.074Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-19T08:33:59.074Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-19T08:34:01.697Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.162s coverage: 45.9% of statements [2021-04-19T08:34:01.697Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-19T08:34:01.697Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-19T08:34:01.697Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-19T08:34:01.697Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-19T08:34:01.697Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-19T08:34:01.697Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-19T08:34:01.697Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.057s coverage: 19.8% of statements [2021-04-19T08:34:01.697Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.115s coverage: 100.0% of statements [2021-04-19T08:34:07.062Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.184s coverage: 27.1% of statements [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-19T08:34:07.062Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.093s coverage: 100.0% of statements [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-19T08:34:07.062Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.064s coverage: 100.0% of statements [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-19T08:34:07.062Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.106s coverage: 71.3% of statements [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-19T08:34:07.062Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.156s coverage: 82.9% of statements [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:34:07.062Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.074s coverage: 78.9% of statements [2021-04-19T08:34:07.062Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-19T08:34:09.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.389s coverage: 28.6% of statements [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-19T08:34:09.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.089s coverage: 100.0% of statements [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-19T08:34:09.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.062s coverage: 100.0% of statements [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-19T08:34:09.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.187s coverage: 86.7% of statements [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-19T08:34:09.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.170s coverage: 97.5% of statements [2021-04-19T08:34:09.046Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-19T08:34:09.317Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.097s coverage: 78.3% of statements [2021-04-19T08:34:09.317Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-19T08:34:09.317Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-19T08:34:09.317Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-19T08:34:09.317Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.368s coverage: 93.0% of statements [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.065s coverage: 0.9% of statements [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-19T08:34:11.958Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.056s coverage: 47.1% of statements [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.083s coverage: 79.5% of statements [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.057s coverage: 94.1% of statements [2021-04-19T08:34:11.958Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.087s coverage: 96.3% of statements [2021-04-19T08:34:12.238Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.048s coverage: 87.5% of statements [2021-04-19T08:34:24.519Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.080s coverage: 94.4% of statements [2021-04-19T08:34:24.519Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.073s coverage: 44.8% of statements [2021-04-19T08:34:27.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.320s coverage: 81.9% of statements [2021-04-19T08:34:27.088Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-19T08:34:35.301Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.091s coverage: 92.9% of statements [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-19T08:34:35.301Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-19T08:34:35.301Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.040s coverage: 87.2% of statements [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-19T08:34:35.301Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.055s coverage: 100.0% of statements [2021-04-19T08:34:35.301Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-19T08:34:35.301Z] flag provided but not defined: -badarg [2021-04-19T08:34:35.301Z] Usage of adduser: [2021-04-19T08:34:35.301Z] -algorithm string [2021-04-19T08:34:35.301Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-04-19T08:34:35.301Z] -client_id string [2021-04-19T08:34:35.301Z] Optional manually-specified OAuth2 client_id. [2021-04-19T08:34:35.301Z] -client_secret string [2021-04-19T08:34:35.301Z] Optional manually-specified OAuth2 client_secret. [2021-04-19T08:34:35.301Z] -confdir string [2021-04-19T08:34:35.301Z] [2021-04-19T08:34:35.301Z] -group string [2021-04-19T08:34:35.301Z] Group to which the user belongs, defaults to 'gateway' (default "gateway") [2021-04-19T08:34:35.301Z] -id string [2021-04-19T08:34:35.301Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-04-19T08:34:35.301Z] -jwt string [2021-04-19T08:34:35.301Z] The file containing the JWT for use when accessing the Kong Admin API [2021-04-19T08:34:35.301Z] -public_key string [2021-04-19T08:34:35.301Z] Public key (in PEM format) used to validate the JWT. [2021-04-19T08:34:35.301Z] -redirect_uris string [2021-04-19T08:34:35.301Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-04-19T08:34:35.301Z] -token-type string [2021-04-19T08:34:35.301Z] Type of token to create: jwt or oauth2 [2021-04-19T08:34:35.301Z] -user string [2021-04-19T08:34:35.301Z] Username of the user to add [2021-04-19T08:34:35.301Z] --- FAIL: TestAddUserJWT (0.00s) [2021-04-19T08:34:35.301Z] command_test.go:121: [2021-04-19T08:34:35.301Z] Error Trace: command_test.go:121 [2021-04-19T08:34:35.301Z] Error: Received unexpected error: [2021-04-19T08:34:35.301Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-19T08:34:35.301Z] Test: TestAddUserJWT [2021-04-19T08:34:35.301Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-04-19T08:34:35.301Z] command_test.go:193: [2021-04-19T08:34:35.301Z] Error Trace: command_test.go:193 [2021-04-19T08:34:35.301Z] Error: Received unexpected error: [2021-04-19T08:34:35.301Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-19T08:34:35.301Z] Test: TestAddUserOAuth2 [2021-04-19T08:34:35.301Z] FAIL [2021-04-19T08:34:35.302Z] coverage: 40.0% of statements [2021-04-19T08:34:35.302Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.043s [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.067s coverage: 80.0% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.089s coverage: 87.2% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.067s coverage: 85.4% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.109s coverage: 91.2% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.213s coverage: 64.4% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.068s coverage: 100.0% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 91.3% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.036s coverage: 100.0% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.281s coverage: 62.9% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.172s coverage: 41.5% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.053s coverage: 84.8% of statements [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.133s coverage: 47.0% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.058s coverage: 100.0% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.054s coverage: 100.0% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.050s coverage: 10.5% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-19T08:34:35.302Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.145s coverage: 87.7% of statements [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:34:35.302Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-19T08:34:36.721Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.802s coverage: 29.1% of statements [2021-04-19T08:34:36.721Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-19T08:34:36.721Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-19T08:34:36.721Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-19T08:34:36.721Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-19T08:34:36.721Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-19T08:34:36.721Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.097s coverage: 99.0% of statements [2021-04-19T08:34:36.721Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-19T08:34:37.003Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.081s coverage: 100.0% of statements [2021-04-19T08:34:37.003Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-19T08:34:37.003Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-19T08:34:37.003Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-19T08:34:37.003Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-19T08:34:38.002Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.116s coverage: 95.6% of statements [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-19T08:34:38.002Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.050s coverage: 0.0% of statements [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-19T08:34:38.002Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-19T08:34:38.002Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.047s coverage: 87.9% of statements [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-19T08:34:38.002Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-19T08:34:38.002Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.036s coverage: 100.0% of statements [2021-04-19T08:34:38.265Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 28.1% of statements [2021-04-19T08:34:38.840Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2021-04-19T08:34:38.840Z] FAIL [2021-04-19T08:34:39.106Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-19T08:34:39.125Z] $ docker stop --time=1 6aec89120a1dd219d5fa04b9e64446eaa73e834aa088e5f04039e3150b73cb57 [2021-04-19T08:34:40.889Z] $ docker rm -f 6aec89120a1dd219d5fa04b9e64446eaa73e834aa088e5f04039e3150b73cb57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T08:34:41.522Z] Failed in branch amd64 [2021-04-19T08:34:47.141Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-749 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-04-19T08:34:47.157Z] Running in /w/workspace/edgex-go/37 [Pipeline] { [Pipeline] checkout [2021-04-19T08:34:53.228Z] using credential edgex-jenkins-ssh [2021-04-19T08:34:53.247Z] Cloning the remote Git repository [2021-04-19T08:34:53.320Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-04-19T08:34:53.424Z] > git init /w/workspace/edgex-go/37 # timeout=10 [2021-04-19T08:34:53.501Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-19T08:34:53.502Z] > git --version # timeout=10 [2021-04-19T08:34:53.524Z] > git --version # 'git version 2.17.1' [2021-04-19T08:34:53.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T08:34:53.601Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T08:35:09.354Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-19T08:35:09.368Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T08:35:09.395Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-19T08:35:09.433Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-19T08:35:09.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T08:35:09.444Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T08:35:10.299Z] Merging remotes/origin/master commit b1882bac436620be465db7044db985b75d91785f into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a [2021-04-19T08:35:11.117Z] Merge succeeded, producing ad11ccee9d4c11253908a5f5355afca742414346 [2021-04-19T08:35:11.117Z] Checking out Revision ad11ccee9d4c11253908a5f5355afca742414346 (PR-3328) [2021-04-19T08:35:10.324Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T08:35:10.345Z] > git checkout -f ca3031ed79becafea960142ce03bf3c297bca30a # timeout=10 [2021-04-19T08:35:10.665Z] > git remote # timeout=10 [2021-04-19T08:35:10.682Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T08:35:10.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T08:35:10.706Z] > git merge b1882bac436620be465db7044db985b75d91785f # timeout=10 [2021-04-19T08:35:11.105Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T08:35:11.128Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T08:35:11.150Z] > git checkout -f ad11ccee9d4c11253908a5f5355afca742414346 # timeout=10 [2021-04-19T08:35:15.395Z] Commit message: "Merge commit 'b1882bac436620be465db7044db985b75d91785f' into HEAD" [2021-04-19T08:35:15.415Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T08:35:15.406Z] > git rev-list --no-walk f62e56e41d72eabf070e3366251c97e0682f379b # timeout=10 [2021-04-19T08:35:16.819Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T08:35:17.233Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T08:35:17.572Z] + true [2021-04-19T08:35:17.572Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T08:35:19.616Z] provisioning config files... [2021-04-19T08:35:19.661Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/37@tmp/config365743169062668582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:35:20.038Z] ---> docker-login.sh [2021-04-19T08:35:20.038Z] nexus3.edgexfoundry.org:10001 [2021-04-19T08:35:21.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:35:21.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:35:21.627Z] Configure a credential helper to remove this warning. See [2021-04-19T08:35:21.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:35:21.627Z] [2021-04-19T08:35:21.627Z] Login Succeeded [2021-04-19T08:35:21.627Z] nexus3.edgexfoundry.org:10002 [2021-04-19T08:35:22.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:35:22.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:35:22.227Z] Configure a credential helper to remove this warning. See [2021-04-19T08:35:22.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:35:22.227Z] [2021-04-19T08:35:22.227Z] Login Succeeded [2021-04-19T08:35:22.227Z] nexus3.edgexfoundry.org:10003 [2021-04-19T08:35:22.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:35:22.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:35:22.823Z] Configure a credential helper to remove this warning. See [2021-04-19T08:35:22.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:35:22.823Z] [2021-04-19T08:35:22.823Z] Login Succeeded [2021-04-19T08:35:22.823Z] nexus3.edgexfoundry.org:10004 [2021-04-19T08:35:23.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:35:23.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:35:23.423Z] Configure a credential helper to remove this warning. See [2021-04-19T08:35:23.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:35:23.423Z] [2021-04-19T08:35:23.423Z] Login Succeeded [2021-04-19T08:35:23.423Z] docker.io [2021-04-19T08:35:23.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T08:35:24.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T08:35:24.295Z] Configure a credential helper to remove this warning. See [2021-04-19T08:35:24.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T08:35:24.295Z] [2021-04-19T08:35:24.295Z] Login Succeeded [2021-04-19T08:35:24.295Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T08:35:24.312Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T08:35:24.611Z] ========================================================= [2021-04-19T08:35:24.611Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T08:35:24.611Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:35:24.963Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T08:35:27.610Z] Sending build context to Docker daemon 167.4MB [2021-04-19T08:35:27.610Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T08:35:27.610Z] Step 2/6 : FROM ${BASE} [2021-04-19T08:35:27.610Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T08:35:27.610Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T08:35:27.610Z] a4357932f1b6: Pulling fs layer [2021-04-19T08:35:27.610Z] 18c013af1878: Pulling fs layer [2021-04-19T08:35:27.610Z] 00ac8860ef70: Pulling fs layer [2021-04-19T08:35:27.610Z] 63d7cb157983: Pulling fs layer [2021-04-19T08:35:27.610Z] b116817d02f9: Pulling fs layer [2021-04-19T08:35:27.610Z] 745a02a5169b: Pulling fs layer [2021-04-19T08:35:27.610Z] b116817d02f9: Waiting [2021-04-19T08:35:27.610Z] 00ac8860ef70: Waiting [2021-04-19T08:35:27.610Z] 63d7cb157983: Waiting [2021-04-19T08:35:27.610Z] 745a02a5169b: Waiting [2021-04-19T08:35:27.610Z] 18c013af1878: Download complete [2021-04-19T08:35:27.610Z] a4357932f1b6: Download complete [2021-04-19T08:35:27.610Z] 63d7cb157983: Download complete [2021-04-19T08:35:27.610Z] b116817d02f9: Verifying Checksum [2021-04-19T08:35:27.610Z] b116817d02f9: Download complete [2021-04-19T08:35:27.610Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T08:35:27.610Z] 5f621e34cdf4: Download complete [2021-04-19T08:35:28.207Z] 5f621e34cdf4: Pull complete [2021-04-19T08:35:28.806Z] a4357932f1b6: Pull complete [2021-04-19T08:35:29.080Z] 18c013af1878: Pull complete [2021-04-19T08:35:30.055Z] 745a02a5169b: Verifying Checksum [2021-04-19T08:35:30.056Z] 745a02a5169b: Download complete [2021-04-19T08:35:31.039Z] 00ac8860ef70: Verifying Checksum [2021-04-19T08:35:31.039Z] 00ac8860ef70: Download complete [2021-04-19T08:35:41.187Z] 00ac8860ef70: Pull complete [2021-04-19T08:35:41.187Z] 63d7cb157983: Pull complete [2021-04-19T08:35:41.187Z] b116817d02f9: Pull complete [2021-04-19T08:35:45.502Z] 745a02a5169b: Pull complete [2021-04-19T08:35:45.502Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T08:35:45.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T08:35:45.502Z] ---> b7e6874047d6 [2021-04-19T08:35:45.502Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-04-19T08:35:48.901Z] ---> Running in de947e423298 [2021-04-19T08:35:49.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T08:35:50.475Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T08:35:52.447Z] (1/12) Installing libmagic (5.38-r0) [2021-04-19T08:35:52.718Z] (2/12) Installing file (5.38-r0) [2021-04-19T08:35:52.992Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-19T08:35:52.993Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-19T08:36:11.279Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-19T08:36:11.279Z] (6/12) Installing patch (2.7.6-r6) [2021-04-19T08:36:11.279Z] (7/12) Installing build-base (0.5-r2) [2021-04-19T08:36:11.279Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-19T08:36:11.279Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-19T08:36:11.279Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-19T08:36:11.279Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-19T08:36:11.279Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-19T08:36:11.279Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T08:36:11.279Z] OK: 217 MiB in 51 packages [2021-04-19T08:36:15.585Z] Removing intermediate container de947e423298 [2021-04-19T08:36:15.585Z] ---> 27e654e35b04 [2021-04-19T08:36:15.585Z] Step 4/6 : WORKDIR /edgex-go [2021-04-19T08:36:15.585Z] ---> Running in 8da50ec06803 [2021-04-19T08:36:15.585Z] Removing intermediate container 8da50ec06803 [2021-04-19T08:36:15.585Z] ---> 82078f3f1fe8 [2021-04-19T08:36:15.585Z] Step 5/6 : COPY go.mod . [2021-04-19T08:36:16.187Z] ---> ae407481e849 [2021-04-19T08:36:16.187Z] Step 6/6 : RUN go mod download [2021-04-19T08:36:16.461Z] ---> Running in 48719ec73115 [2021-04-19T08:36:43.301Z] Removing intermediate container 48719ec73115 [2021-04-19T08:36:43.301Z] ---> 00c5937b43e4 [2021-04-19T08:36:43.301Z] Successfully built 00c5937b43e4 [2021-04-19T08:36:43.301Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:36:43.648Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T08:36:43.648Z] . [Pipeline] withDockerContainer [2021-04-19T08:36:43.935Z] prd-ubuntu18.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2021-04-19T08:36:44.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/37 -v /w/workspace/edgex-go/37:/w/workspace/edgex-go/37:rw,z -v /w/workspace/edgex-go/37@tmp:/w/workspace/edgex-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T08:36:45.768Z] $ docker top 030996bea814e32227555ae3cb26a6b2d361e9a67845672be3ac0d353af65e99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T08:36:46.743Z] + go version [2021-04-19T08:36:46.744Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T08:36:46.772Z] $ docker stop --time=1 030996bea814e32227555ae3cb26a6b2d361e9a67845672be3ac0d353af65e99 [2021-04-19T08:36:48.743Z] $ docker rm -f 030996bea814e32227555ae3cb26a6b2d361e9a67845672be3ac0d353af65e99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:36:49.469Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T08:36:49.469Z] . [Pipeline] withDockerContainer [2021-04-19T08:36:49.735Z] prd-ubuntu18.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2021-04-19T08:36:49.838Z] $ 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/37 -v /w/workspace/edgex-go/37:/w/workspace/edgex-go/37:rw,z -v /w/workspace/edgex-go/37@tmp:/w/workspace/edgex-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T08:36:51.292Z] $ docker top 0adfecff62ed6e707f994481ca932ca8b7aaef13f3b9504c83ed626f3ee8e7b3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-19T08:36:51.604Z] ========================================================= [2021-04-19T08:36:51.604Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-19T08:36:51.604Z] ========================================================= [Pipeline] sh [2021-04-19T08:36:52.254Z] + make test [2021-04-19T08:36:52.254Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T08:37:14.447Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-19T08:38:11.088Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-19T08:38:13.092Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-19T08:38:21.421Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-19T08:38:21.421Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-19T08:38:24.059Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-19T08:38:24.059Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-19T08:38:24.059Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-19T08:38:24.059Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-19T08:38:27.466Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-19T08:38:28.478Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-19T08:38:36.802Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-19T08:38:36.802Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-19T08:38:36.802Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-19T08:38:43.542Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.361s coverage: 45.9% of statements [2021-04-19T08:38:43.542Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-19T08:38:43.542Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-19T08:38:43.542Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-19T08:38:43.542Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-19T08:38:43.542Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-19T08:38:43.542Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-19T08:38:43.542Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.124s coverage: 19.8% of statements [2021-04-19T08:38:43.542Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.302s coverage: 100.0% of statements [2021-04-19T08:38:50.323Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.622s coverage: 27.1% of statements [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-19T08:38:50.323Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.196s coverage: 100.0% of statements [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-19T08:38:50.323Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.167s coverage: 100.0% of statements [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-19T08:38:50.323Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-19T08:38:52.325Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.288s coverage: 71.3% of statements [2021-04-19T08:38:52.325Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-19T08:38:52.325Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-19T08:38:54.353Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.516s coverage: 82.9% of statements [2021-04-19T08:38:54.353Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-19T08:38:54.353Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:38:54.353Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.169s coverage: 78.9% of statements [2021-04-19T08:38:54.353Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-19T08:39:04.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.106s coverage: 28.6% of statements [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-19T08:39:04.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.251s coverage: 100.0% of statements [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-19T08:39:04.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.151s coverage: 100.0% of statements [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-19T08:39:04.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.402s coverage: 86.7% of statements [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-19T08:39:04.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.486s coverage: 97.5% of statements [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-19T08:39:04.540Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.199s coverage: 78.3% of statements [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-19T08:39:04.540Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-19T08:39:04.541Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-19T08:39:04.541Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-19T08:39:14.745Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.313s coverage: 93.0% of statements [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.148s coverage: 58.8% of statements [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.253s coverage: 0.9% of statements [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-19T08:39:14.746Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.160s coverage: 47.1% of statements [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.145s coverage: 79.5% of statements [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.122s coverage: 94.1% of statements [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.176s coverage: 96.3% of statements [2021-04-19T08:39:14.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.164s coverage: 87.5% of statements [2021-04-19T08:39:24.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.173s coverage: 94.4% of statements [2021-04-19T08:39:24.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.125s coverage: 44.8% of statements [2021-04-19T08:39:31.652Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.576s coverage: 81.9% of statements [2021-04-19T08:39:31.652Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.215s coverage: 92.9% of statements [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.077s coverage: 87.2% of statements [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.135s coverage: 100.0% of statements [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-19T08:39:41.907Z] flag provided but not defined: -badarg [2021-04-19T08:39:41.907Z] Usage of adduser: [2021-04-19T08:39:41.907Z] -algorithm string [2021-04-19T08:39:41.907Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-04-19T08:39:41.907Z] -client_id string [2021-04-19T08:39:41.907Z] Optional manually-specified OAuth2 client_id. [2021-04-19T08:39:41.907Z] -client_secret string [2021-04-19T08:39:41.907Z] Optional manually-specified OAuth2 client_secret. [2021-04-19T08:39:41.907Z] -confdir string [2021-04-19T08:39:41.907Z] [2021-04-19T08:39:41.907Z] -group string [2021-04-19T08:39:41.907Z] Group to which the user belongs, defaults to 'gateway' (default "gateway") [2021-04-19T08:39:41.907Z] -id string [2021-04-19T08:39:41.907Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-04-19T08:39:41.907Z] -jwt string [2021-04-19T08:39:41.907Z] The file containing the JWT for use when accessing the Kong Admin API [2021-04-19T08:39:41.907Z] -public_key string [2021-04-19T08:39:41.907Z] Public key (in PEM format) used to validate the JWT. [2021-04-19T08:39:41.907Z] -redirect_uris string [2021-04-19T08:39:41.907Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-04-19T08:39:41.907Z] -token-type string [2021-04-19T08:39:41.907Z] Type of token to create: jwt or oauth2 [2021-04-19T08:39:41.907Z] -user string [2021-04-19T08:39:41.907Z] Username of the user to add [2021-04-19T08:39:41.907Z] --- FAIL: TestAddUserJWT (0.00s) [2021-04-19T08:39:41.907Z] command_test.go:121: [2021-04-19T08:39:41.907Z] Error Trace: command_test.go:121 [2021-04-19T08:39:41.907Z] Error: Received unexpected error: [2021-04-19T08:39:41.907Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-19T08:39:41.907Z] Test: TestAddUserJWT [2021-04-19T08:39:41.907Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-04-19T08:39:41.907Z] command_test.go:193: [2021-04-19T08:39:41.907Z] Error Trace: command_test.go:193 [2021-04-19T08:39:41.907Z] Error: Received unexpected error: [2021-04-19T08:39:41.907Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-19T08:39:41.907Z] Test: TestAddUserOAuth2 [2021-04-19T08:39:41.907Z] FAIL [2021-04-19T08:39:41.907Z] coverage: 40.0% of statements [2021-04-19T08:39:41.907Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.130s [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.154s coverage: 80.0% of statements [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.203s coverage: 87.2% of statements [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.201s coverage: 85.4% of statements [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.250s coverage: 91.2% of statements [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.645s coverage: 64.4% of statements [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-19T08:39:41.907Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-19T08:39:41.907Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.132s coverage: 100.0% of statements [2021-04-19T08:39:42.524Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.098s coverage: 91.3% of statements [2021-04-19T08:39:43.987Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.077s coverage: 100.0% of statements [2021-04-19T08:39:43.987Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.090s coverage: 73.7% of statements [2021-04-19T08:39:44.597Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.097s coverage: 100.0% of statements [2021-04-19T08:39:50.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.879s coverage: 62.9% of statements [2021-04-19T08:39:50.043Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-19T08:39:50.043Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-19T08:39:50.043Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-19T08:39:52.040Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.577s coverage: 41.5% of statements [2021-04-19T08:39:52.040Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-19T08:39:52.040Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-19T08:39:52.040Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.114s coverage: 89.5% of statements [2021-04-19T08:39:52.040Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-19T08:39:52.040Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.086s coverage: 84.8% of statements [2021-04-19T08:39:58.773Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.511s coverage: 47.0% of statements [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-19T08:39:58.773Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.147s coverage: 100.0% of statements [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-19T08:39:58.773Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.127s coverage: 100.0% of statements [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-19T08:39:58.773Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.165s coverage: 10.5% of statements [2021-04-19T08:39:58.773Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-19T08:39:59.050Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.415s coverage: 87.7% of statements [2021-04-19T08:39:59.050Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-19T08:39:59.050Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:39:59.050Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-19T08:40:09.236Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 4.072s coverage: 29.1% of statements [2021-04-19T08:40:09.236Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-19T08:40:09.236Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-19T08:40:09.236Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-19T08:40:09.236Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-19T08:40:09.236Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-19T08:40:09.236Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.215s coverage: 99.0% of statements [2021-04-19T08:40:09.236Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-19T08:40:09.236Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.200s coverage: 100.0% of statements [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.345s coverage: 95.6% of statements [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.046s coverage: 0.0% of statements [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.054s coverage: 100.0% of statements [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.100s coverage: 87.9% of statements [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-19T08:40:09.237Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.061s coverage: 100.0% of statements [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.148s coverage: 28.1% of statements [2021-04-19T08:40:09.237Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements [2021-04-19T08:40:09.237Z] FAIL [2021-04-19T08:40:10.217Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-19T08:40:10.249Z] $ docker stop --time=1 0adfecff62ed6e707f994481ca932ca8b7aaef13f3b9504c83ed626f3ee8e7b3 [2021-04-19T08:40:12.814Z] $ docker rm -f 0adfecff62ed6e707f994481ca932ca8b7aaef13f3b9504c83ed626f3ee8e7b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:40:14.424Z] ---> job-cost.sh [2021-04-19T08:40:14.424Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RqOd [2021-04-19T08:41:01.383Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T08:42:53.221Z] lf-activate-venv(): INFO: Adding /tmp/venv-RqOd/bin to PATH [2021-04-19T08:42:53.221Z] INFO: No Stack... [2021-04-19T08:42:53.221Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T08:42:53.221Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T08:42:53.570Z] + cut -d, -f6 [2021-04-19T08:42:53.570Z] + cat /w/workspace/edgex-go/37/archives/cost.csv [Pipeline] lock [2021-04-19T08:42:53.938Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-37-stack-cost] [2021-04-19T08:42:53.959Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-37-stack-cost] did not exist. Created. [2021-04-19T08:42:53.959Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T08:42:54.388Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T08:42:55.444Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T08:42:55.456Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-37-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T08:42:55.602Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:42:56.362Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:42:57.246Z] ---> package-listing.sh [2021-04-19T08:42:57.247Z] ++ facter osfamily [2021-04-19T08:42:57.247Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T08:42:57.247Z] + OS_FAMILY=redhat [2021-04-19T08:42:57.247Z] + workspace=/w/workspace/edgex-go/37 [2021-04-19T08:42:57.247Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T08:42:57.247Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T08:42:57.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T08:42:57.247Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T08:42:57.247Z] + '[' /w/workspace/edgex-go/37 ']' [2021-04-19T08:42:57.247Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T08:42:57.247Z] + case "${OS_FAMILY}" in [2021-04-19T08:42:57.247Z] + rpm -qa [2021-04-19T08:42:57.247Z] + sort [2021-04-19T08:43:02.564Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T08:43:02.564Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T08:43:02.564Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T08:43:02.564Z] + '[' /w/workspace/edgex-go/37 ']' [2021-04-19T08:43:02.564Z] + mkdir -p /w/workspace/edgex-go/37/archives/ [2021-04-19T08:43:02.564Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/37/archives/ [Pipeline] echo [2021-04-19T08:43:02.579Z] 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/37/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T08:43:02.870Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:43:03.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T08:43:03.177Z] [2021-04-19T08:43:03.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T08:43:03.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T08:43:03.495Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T08:43:03.495Z] df20fa9351a1: Pulling fs layer [2021-04-19T08:43:03.495Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T08:43:03.495Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T08:43:03.495Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T08:43:03.495Z] 93b61091891f: Pulling fs layer [2021-04-19T08:43:03.495Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T08:43:03.495Z] 5e14af77c1be: Pulling fs layer [2021-04-19T08:43:03.495Z] 01666e4c0597: Pulling fs layer [2021-04-19T08:43:03.495Z] aa168da1d23b: Pulling fs layer [2021-04-19T08:43:03.495Z] 46f8f816bc3b: Waiting [2021-04-19T08:43:03.495Z] 5e14af77c1be: Waiting [2021-04-19T08:43:03.495Z] 93b61091891f: Waiting [2021-04-19T08:43:03.495Z] 93b9cdb0e59b: Waiting [2021-04-19T08:43:03.495Z] 01666e4c0597: Waiting [2021-04-19T08:43:03.495Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T08:43:03.495Z] 36b3adc4ff6f: Download complete [2021-04-19T08:43:03.495Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T08:43:03.495Z] 46f8f816bc3b: Download complete [2021-04-19T08:43:03.495Z] df20fa9351a1: Verifying Checksum [2021-04-19T08:43:03.495Z] df20fa9351a1: Download complete [2021-04-19T08:43:03.759Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T08:43:03.760Z] 93b9cdb0e59b: Download complete [2021-04-19T08:43:03.760Z] 5e14af77c1be: Verifying Checksum [2021-04-19T08:43:03.760Z] 5e14af77c1be: Download complete [2021-04-19T08:43:03.760Z] 01666e4c0597: Verifying Checksum [2021-04-19T08:43:03.760Z] 01666e4c0597: Download complete [2021-04-19T08:43:03.760Z] 93b61091891f: Verifying Checksum [2021-04-19T08:43:03.760Z] 93b61091891f: Download complete [2021-04-19T08:43:03.760Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T08:43:03.760Z] 8ad3a11d3b57: Download complete [2021-04-19T08:43:04.022Z] df20fa9351a1: Pull complete [2021-04-19T08:43:04.286Z] 36b3adc4ff6f: Pull complete [2021-04-19T08:43:05.254Z] 8ad3a11d3b57: Pull complete [2021-04-19T08:43:05.520Z] 46f8f816bc3b: Pull complete [2021-04-19T08:43:05.786Z] aa168da1d23b: Verifying Checksum [2021-04-19T08:43:05.786Z] aa168da1d23b: Download complete [2021-04-19T08:43:06.054Z] 93b61091891f: Pull complete [2021-04-19T08:43:06.324Z] 93b9cdb0e59b: Pull complete [2021-04-19T08:43:06.324Z] 5e14af77c1be: Pull complete [2021-04-19T08:43:06.324Z] 01666e4c0597: Pull complete [2021-04-19T08:43:14.542Z] aa168da1d23b: Pull complete [2021-04-19T08:43:14.542Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T08:43:14.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T08:43:14.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T08:43:14.730Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-04-19T08:43:14.779Z] $ 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/37/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/37 -v /w/workspace/edgex-go/37:/w/workspace/edgex-go/37:rw,z -v /w/workspace/edgex-go/37@tmp:/w/workspace/edgex-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T08:43:17.805Z] $ docker top 3bafde93b50e21473be0c0ff65c304fb149c972391c470b95aa2a7e9b5df302b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T08:43:18.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T08:43:18.578Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T08:43:18.882Z] + ls /var/log/sa-host [2021-04-19T08:43:18.882Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T08:43:18.882Z] file_magic: OK [2021-04-19T08:43:18.882Z] HZ: Using current value: 100 [2021-04-19T08:43:18.882Z] file_header: OK [2021-04-19T08:43:18.882Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T08:43:18.882Z] Statistics: [2021-04-19T08:43:18.882Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T08:43:18.882Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T08:43:18.882Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T08:43:18.882Z] file_magic: OK [2021-04-19T08:43:18.882Z] HZ: Using current value: 100 [2021-04-19T08:43:18.882Z] file_header: OK [2021-04-19T08:43:18.882Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T08:43:18.882Z] Statistics: [2021-04-19T08:43:18.882Z] Hnuu...uuuununununu... [2021-04-19T08:43:18.882Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T08:43:19.147Z] provisioning config files... [2021-04-19T08:43:19.165Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/37@tmp/config4095801471747583371tmp [Pipeline] { [Pipeline] echo [2021-04-19T08:43:19.188Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:43:19.486Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T08:43:19.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T08:43:19.533Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:43:19.831Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T08:43:19.843Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:43:20.141Z] ---> sudo-logs.sh [2021-04-19T08:43:20.141Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T08:43:20.216Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:43:20.517Z] ---> job-cost.sh [2021-04-19T08:43:20.517Z] lf-activate-venv: SKIPPING [2021-04-19T08:43:20.517Z] DEBUG: total: 0.20999999344348907 [2021-04-19T08:43:20.517Z] INFO: Retrieving Stack Cost... [2021-04-19T08:43:21.913Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T08:43:22.488Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T08:43:22.511Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T08:43:22.819Z] ---> logs-deploy.sh [2021-04-19T08:43:22.819Z] lf-activate-venv: SKIPPING [2021-04-19T08:43:22.819Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/37 [2021-04-19T08:43:22.819Z] INFO: archiving workspace using pattern(s): [2021-04-19T08:43:24.746Z] Archives upload complete. [2021-04-19T08:43:24.746Z] INFO: archiving logs to Nexus