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 5e8f0209b56f3309f9665c980cdfd66463b0e44b rather than ca3031ed79becafea960142ce03bf3c297bca30a Obtained Jenkinsfile from 5e8f0209b56f3309f9665c980cdfd66463b0e44b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33787 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/34 [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/34 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3328/head:refs/remotes/origin/PR-3328 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5e8f0209b56f3309f9665c980cdfd66463b0e44b into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a Merge succeeded, producing dec43da8dc39d2aedc49735e6639cf57076be6bb Checking out Revision dec43da8dc39d2aedc49735e6639cf57076be6bb (PR-3328) > 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 5e8f0209b56f3309f9665c980cdfd66463b0e44b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dec43da8dc39d2aedc49735e6639cf57076be6bb # timeout=10 Commit message: "Merge commit '5e8f0209b56f3309f9665c980cdfd66463b0e44b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk a13fa1bd6e65bfd1a2a3e22ac33e79c63559e47b # timeout=10 [Pipeline] timeout [2021-04-13T00:30:03.936Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-13T00:30:04.209Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-13T00:30:04.294Z] ========================================================= [2021-04-13T00:30:04.294Z] EdgeX Global Pipelines Version Info [2021-04-13T00:30:04.294Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:30:06.283Z] ------------------- [2021-04-13T00:30:06.283Z] stable info: [2021-04-13T00:30:06.283Z] ------------------- [2021-04-13T00:30:06.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-13T00:30:06.283Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-13T00:30:06.283Z] Message: update stable to v1.0.186 [2021-04-13T00:30:07.239Z] ------------------- [2021-04-13T00:30:07.239Z] experimental info: [2021-04-13T00:30:07.239Z] ------------------- [2021-04-13T00:30:07.239Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-13T00:30:07.239Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-13T00:30:07.239Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-13T00:30:07.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-04-13T00:30:07.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-04-13T00:30:07.685Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-13T00:30:07.770Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-13T00:30:07.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-13T00:30:07.942Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-13T00:30:08.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-13T00:30:08.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-04-13T00:30:08.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-04-13T00:30:08.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-04-13T00:30:08.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-13T00:30:08.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-13T00:30:08.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-13T00:30:08.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-13T00:30:08.697Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-13T00:30:08.804Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-13T00:30:08.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-13T00:30:08.973Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-13T00:30:09.056Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-13T00:30:09.185Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-13T00:30:09.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-13T00:30:09.368Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-13T00:30:09.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-04-13T00:30:09.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-04-13T00:30:09.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-04-13T00:30:09.705Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dec43da8dc39d2aedc49735e6639cf57076be6bb [Pipeline] echo [2021-04-13T00:30:09.784Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dec43da [Pipeline] echo [2021-04-13T00:30:09.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T00:30:10.030Z] provisioning config files... [2021-04-13T00:30:10.066Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/34@tmp/config8662203803003227871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:30:10.463Z] ---> docker-login.sh [2021-04-13T00:30:10.463Z] nexus3.edgexfoundry.org:10001 [2021-04-13T00:30:10.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:30:10.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:30:10.991Z] Configure a credential helper to remove this warning. See [2021-04-13T00:30:10.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:30:10.991Z] [2021-04-13T00:30:10.991Z] Login Succeeded [2021-04-13T00:30:10.991Z] nexus3.edgexfoundry.org:10002 [2021-04-13T00:30:10.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:30:10.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:30:10.991Z] Configure a credential helper to remove this warning. See [2021-04-13T00:30:10.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:30:10.991Z] [2021-04-13T00:30:10.991Z] Login Succeeded [2021-04-13T00:30:10.991Z] nexus3.edgexfoundry.org:10003 [2021-04-13T00:30:11.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:30:11.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:30:11.257Z] Configure a credential helper to remove this warning. See [2021-04-13T00:30:11.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:30:11.257Z] [2021-04-13T00:30:11.257Z] Login Succeeded [2021-04-13T00:30:11.257Z] nexus3.edgexfoundry.org:10004 [2021-04-13T00:30:11.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:30:11.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:30:11.521Z] Configure a credential helper to remove this warning. See [2021-04-13T00:30:11.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:30:11.521Z] [2021-04-13T00:30:11.521Z] Login Succeeded [2021-04-13T00:30:11.521Z] docker.io [2021-04-13T00:30:11.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:30:11.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:30:11.786Z] Configure a credential helper to remove this warning. See [2021-04-13T00:30:11.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:30:11.786Z] [2021-04-13T00:30:11.786Z] Login Succeeded [2021-04-13T00:30:11.786Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T00:30:11.801Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T00:30:12.269Z] ++ 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-13T00:30:12.269Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.269Z] ++ dirname cmd/core-command/Dockerfile [2021-04-13T00:30:12.269Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.269Z] + echo core-command,cmd/core-command/Dockerfile [2021-04-13T00:30:12.269Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.269Z] ++ dirname cmd/core-data/Dockerfile [2021-04-13T00:30:12.269Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo core-data,cmd/core-data/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/core-metadata/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/support-notifications/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-04-13T00:30:12.270Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-13T00:30:12.270Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-04-13T00:30:12.270Z] ++ cut -d/ -f2 [2021-04-13T00:30:12.270Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-04-13T00:30:12.358Z] 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-13T00:30:13.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T00:30:13.278Z] [2021-04-13T00:30:13.278Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:30:13.668Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T00:30:13.668Z] latest: Pulling from edgex-devops/git-semver [2021-04-13T00:30:13.668Z] 31603596830f: Pulling fs layer [2021-04-13T00:30:13.668Z] 2a8b12db71e7: Pulling fs layer [2021-04-13T00:30:13.668Z] 6ca5941a6612: Pulling fs layer [2021-04-13T00:30:13.668Z] ecc8261a40a4: Pulling fs layer [2021-04-13T00:30:13.668Z] ecc8261a40a4: Waiting [2021-04-13T00:30:13.668Z] 2a8b12db71e7: Verifying Checksum [2021-04-13T00:30:13.668Z] 2a8b12db71e7: Download complete [2021-04-13T00:30:13.941Z] 31603596830f: Download complete [2021-04-13T00:30:13.941Z] 6ca5941a6612: Verifying Checksum [2021-04-13T00:30:13.941Z] 6ca5941a6612: Download complete [2021-04-13T00:30:13.941Z] ecc8261a40a4: Verifying Checksum [2021-04-13T00:30:13.941Z] ecc8261a40a4: Download complete [2021-04-13T00:30:14.217Z] 31603596830f: Pull complete [2021-04-13T00:30:14.481Z] 2a8b12db71e7: Pull complete [2021-04-13T00:30:15.439Z] 6ca5941a6612: Pull complete [2021-04-13T00:30:15.704Z] ecc8261a40a4: Pull complete [2021-04-13T00:30:15.704Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-13T00:30:15.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T00:30:15.704Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-13T00:30:15.835Z] prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container [2021-04-13T00:30:15.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-13T00:30:18.549Z] $ docker top 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T00:30:18.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T00:30:18.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T00:30:19.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T00:30:19.166Z] $ docker exec 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent [2021-04-13T00:30:19.431Z] SSH_AUTH_SOCK=/tmp/ssh-63HzsKA0SBaF/agent.12 [2021-04-13T00:30:19.431Z] SSH_AGENT_PID=17 [2021-04-13T00:30:19.443Z] Running ssh-add (command line suppressed) [2021-04-13T00:30:19.571Z] Identity added: /w/workspace/edgex-go/34@tmp/private_key_1854711816592268754.key (/w/workspace/edgex-go/34@tmp/private_key_1854711816592268754.key) [2021-04-13T00:30:19.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T00:30:19.963Z] + git tag --points-at HEAD [Pipeline] } [2021-04-13T00:30:19.989Z] $ docker exec --env ******** --env ******** 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent -k [2021-04-13T00:30:20.119Z] unset SSH_AUTH_SOCK; [2021-04-13T00:30:20.120Z] unset SSH_AGENT_PID; [2021-04-13T00:30:20.120Z] echo Agent pid 17 killed; [2021-04-13T00:30:20.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-13T00:30:20.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T00:30:20.341Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T00:30:20.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T00:30:20.555Z] $ docker exec 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent [2021-04-13T00:30:20.737Z] SSH_AUTH_SOCK=/tmp/ssh-QC8c3E00mmJY/agent.46 [2021-04-13T00:30:20.737Z] SSH_AGENT_PID=51 [2021-04-13T00:30:20.747Z] Running ssh-add (command line suppressed) [2021-04-13T00:30:20.900Z] Identity added: /w/workspace/edgex-go/34@tmp/private_key_8234627338940649658.key (/w/workspace/edgex-go/34@tmp/private_key_8234627338940649658.key) [2021-04-13T00:30:20.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T00:30:21.345Z] + git semver init [2021-04-13T00:30:21.345Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T00:30:21.345Z] # $GIT_DIR = /w/workspace/edgex-go/34/.git [2021-04-13T00:30:21.345Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/34 [2021-04-13T00:30:21.345Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T00:30:21.345Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T00:30:21.345Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T00:30:21.345Z] # $SEMVER_BRANCH = PR-3328 [2021-04-13T00:30:21.345Z] # $SEMVER_TEMP = /tmp/semver-158606208 [2021-04-13T00:30:21.345Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-04-13T00:30:43.413Z] # '/tmp/semver-158606208' -> '/w/workspace/edgex-go/34/.semver' [2021-04-13T00:30:43.413Z] # -> Force: false [2021-04-13T00:30:43.413Z] # $SEMVER_DIR = /w/workspace/edgex-go/34/.semver [Pipeline] } [2021-04-13T00:30:43.429Z] $ docker exec --env ******** --env ******** 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 ssh-agent -k [2021-04-13T00:30:43.723Z] unset SSH_AUTH_SOCK; [2021-04-13T00:30:43.723Z] unset SSH_AGENT_PID; [2021-04-13T00:30:43.724Z] echo Agent pid 51 killed; [2021-04-13T00:30:43.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T00:30:44.312Z] + git semver [Pipeline] } [2021-04-13T00:30:44.344Z] $ docker stop --time=1 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 [2021-04-13T00:30:46.260Z] $ docker rm -f 6e7df8b8b07814a82c3eb6a91e4ed5954156b7f958b4078d9bb9299a631c11e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T00:30:46.837Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-13T00:30:47.448Z] Stashed 1 file(s) [Pipeline] echo [2021-04-13T00:30:47.452Z] [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-13T00:30:48.295Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-13T00:30:48.601Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T00:30:48.913Z] + sudo service docker restart [2021-04-13T00:30:48.913Z] + true [2021-04-13T00:30:48.913Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-04-13T00:30:49.509Z] ========================================================= [2021-04-13T00:30:49.509Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-13T00:30:49.509Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:30:49.857Z] + 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-13T00:30:54.121Z] Sending build context to Docker daemon 329.5MB [2021-04-13T00:30:54.121Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T00:30:54.121Z] Step 2/6 : FROM ${BASE} [2021-04-13T00:30:54.121Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-13T00:30:54.121Z] 188c0c94c7c5: Pulling fs layer [2021-04-13T00:30:54.121Z] 0ef7d3d256c8: Pulling fs layer [2021-04-13T00:30:54.121Z] de9db76c5a1d: Pulling fs layer [2021-04-13T00:30:54.121Z] bca2f99d35d6: Pulling fs layer [2021-04-13T00:30:54.121Z] 93359f2a8cfa: Pulling fs layer [2021-04-13T00:30:54.121Z] 7c6f9722023f: Pulling fs layer [2021-04-13T00:30:54.121Z] a35cf1a2eb13: Pulling fs layer [2021-04-13T00:30:54.121Z] 93359f2a8cfa: Waiting [2021-04-13T00:30:54.121Z] 7c6f9722023f: Waiting [2021-04-13T00:30:54.121Z] a35cf1a2eb13: Waiting [2021-04-13T00:30:54.121Z] bca2f99d35d6: Waiting [2021-04-13T00:30:54.121Z] de9db76c5a1d: Verifying Checksum [2021-04-13T00:30:54.121Z] de9db76c5a1d: Download complete [2021-04-13T00:30:54.121Z] 0ef7d3d256c8: Verifying Checksum [2021-04-13T00:30:54.121Z] 0ef7d3d256c8: Download complete [2021-04-13T00:30:54.121Z] 93359f2a8cfa: Verifying Checksum [2021-04-13T00:30:54.121Z] 93359f2a8cfa: Download complete [2021-04-13T00:30:54.121Z] 7c6f9722023f: Download complete [2021-04-13T00:30:54.121Z] 188c0c94c7c5: Verifying Checksum [2021-04-13T00:30:54.121Z] 188c0c94c7c5: Download complete [2021-04-13T00:30:54.709Z] 188c0c94c7c5: Pull complete [2021-04-13T00:30:54.980Z] 0ef7d3d256c8: Pull complete [2021-04-13T00:30:55.253Z] de9db76c5a1d: Pull complete [2021-04-13T00:30:56.685Z] a35cf1a2eb13: Verifying Checksum [2021-04-13T00:30:56.685Z] a35cf1a2eb13: Download complete [2021-04-13T00:30:57.643Z] bca2f99d35d6: Verifying Checksum [2021-04-13T00:30:57.643Z] bca2f99d35d6: Download complete [2021-04-13T00:31:02.802Z] Still waiting to schedule task [2021-04-13T00:31:02.802Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-13T00:31:04.336Z] bca2f99d35d6: Pull complete [2021-04-13T00:31:04.336Z] 93359f2a8cfa: Pull complete [2021-04-13T00:31:04.336Z] 7c6f9722023f: Pull complete [2021-04-13T00:31:08.634Z] a35cf1a2eb13: Pull complete [2021-04-13T00:31:08.634Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-13T00:31:08.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-13T00:31:08.634Z] ---> a62c8e92a672 [2021-04-13T00:31:08.634Z] 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-13T00:31:08.901Z] ---> Running in ceab4b8da89e [2021-04-13T00:31:09.863Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T00:31:10.451Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T00:31:11.031Z] (1/12) Installing libmagic (5.38-r0) [2021-04-13T00:31:11.617Z] (2/12) Installing file (5.38-r0) [2021-04-13T00:31:11.617Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-13T00:31:11.617Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-13T00:31:15.865Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-13T00:31:15.865Z] (6/12) Installing patch (2.7.6-r6) [2021-04-13T00:31:16.130Z] (7/12) Installing build-base (0.5-r2) [2021-04-13T00:31:16.130Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-13T00:31:16.130Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-13T00:31:16.392Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-13T00:31:16.392Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-13T00:31:16.392Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-13T00:31:16.655Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T00:31:16.655Z] OK: 233 MiB in 51 packages [2021-04-13T00:31:20.904Z] Removing intermediate container ceab4b8da89e [2021-04-13T00:31:20.904Z] ---> 6e48e93fdd29 [2021-04-13T00:31:20.904Z] Step 4/6 : WORKDIR /edgex-go [2021-04-13T00:31:20.904Z] ---> Running in 4c5c6a7ba802 [2021-04-13T00:31:20.904Z] Removing intermediate container 4c5c6a7ba802 [2021-04-13T00:31:20.904Z] ---> 164a393bec90 [2021-04-13T00:31:20.904Z] Step 5/6 : COPY go.mod . [2021-04-13T00:31:20.904Z] ---> 08e6b0643400 [2021-04-13T00:31:20.904Z] Step 6/6 : RUN go mod download [2021-04-13T00:31:20.904Z] ---> Running in 1cd9ca422a3e [2021-04-13T00:31:42.949Z] Removing intermediate container 1cd9ca422a3e [2021-04-13T00:31:42.949Z] ---> 7002ef6e38c9 [2021-04-13T00:31:42.949Z] Successfully built 7002ef6e38c9 [2021-04-13T00:31:42.949Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:31:43.280Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T00:31:43.280Z] . [Pipeline] withDockerContainer [2021-04-13T00:31:43.393Z] prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container [2021-04-13T00:31:43.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@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 ******** -e ******** ci-base-image-x86_64 cat [2021-04-13T00:31:44.453Z] $ docker top ed8acea67cf0ac5f941cd56db84c6a61dd1ba5b2c2398c170e65c4493023fe7f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T00:31:44.996Z] + go version [2021-04-13T00:31:44.996Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-13T00:31:45.013Z] $ docker stop --time=1 ed8acea67cf0ac5f941cd56db84c6a61dd1ba5b2c2398c170e65c4493023fe7f [2021-04-13T00:31:46.437Z] $ docker rm -f ed8acea67cf0ac5f941cd56db84c6a61dd1ba5b2c2398c170e65c4493023fe7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:31:47.248Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T00:31:47.248Z] . [Pipeline] withDockerContainer [2021-04-13T00:31:47.355Z] prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container [2021-04-13T00:31:47.402Z] $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@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 ******** -e ******** ci-base-image-x86_64 cat [2021-04-13T00:31:48.457Z] $ docker top 118aedf2a7c90a6ca5cff7ac76074356c9a2e4b1d8308d2f965dd196717f6c1f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-13T00:31:48.653Z] ========================================================= [2021-04-13T00:31:48.653Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-13T00:31:48.653Z] ========================================================= [Pipeline] sh [2021-04-13T00:31:48.951Z] + make test [2021-04-13T00:31:48.951Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-13T00:31:59.064Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-13T00:32:17.380Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-13T00:32:24.096Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-13T00:32:24.096Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-13T00:32:24.096Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-13T00:32:27.434Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-13T00:32:27.434Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-13T00:32:27.434Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-13T00:32:27.434Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-13T00:32:27.434Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-13T00:32:28.407Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-13T00:32:31.011Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-13T00:32:31.011Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-13T00:32:31.011Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-13T00:32:32.995Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.121s coverage: 45.9% of statements [2021-04-13T00:32:32.995Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-13T00:32:32.995Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-13T00:32:32.995Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-13T00:32:32.995Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-13T00:32:32.995Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-13T00:32:32.995Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-13T00:32:32.995Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.082s coverage: 19.8% of statements [2021-04-13T00:32:33.261Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.124s coverage: 100.0% of statements [2021-04-13T00:32:38.705Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.178s coverage: 27.1% of statements [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-13T00:32:38.705Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.075s coverage: 100.0% of statements [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-13T00:32:38.705Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.053s coverage: 100.0% of statements [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-13T00:32:38.705Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.097s coverage: 71.3% of statements [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-13T00:32:38.705Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.159s coverage: 82.9% of statements [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:32:38.705Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.056s coverage: 78.9% of statements [2021-04-13T00:32:38.705Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-13T00:32:41.314Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.488s coverage: 28.6% of statements [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-13T00:32:41.314Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.082s coverage: 100.0% of statements [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-13T00:32:41.314Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.071s coverage: 100.0% of statements [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-13T00:32:41.314Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.196s coverage: 86.7% of statements [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-13T00:32:41.314Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.203s coverage: 97.5% of statements [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-13T00:32:41.314Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.103s coverage: 78.3% of statements [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-13T00:32:41.314Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-13T00:32:44.700Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.467s coverage: 92.8% of statements [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-13T00:32:44.700Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.062s coverage: 1.0% of statements [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-13T00:32:44.701Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 47.1% of statements [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.125s coverage: 79.5% of statements [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.073s coverage: 94.1% of statements [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.175s coverage: 96.3% of statements [2021-04-13T00:32:44.701Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.058s coverage: 87.5% of statements [2021-04-13T00:32:56.992Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.072s coverage: 94.4% of statements [2021-04-13T00:32:56.992Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.067s coverage: 44.8% of statements [2021-04-13T00:33:00.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.259s coverage: 81.9% of statements [2021-04-13T00:33:00.327Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.121s coverage: 92.9% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.047s coverage: 87.2% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.055s coverage: 100.0% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-13T00:33:08.785Z] flag provided but not defined: -badarg [2021-04-13T00:33:08.785Z] Usage of adduser: [2021-04-13T00:33:08.785Z] -algorithm string [2021-04-13T00:33:08.785Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-04-13T00:33:08.785Z] -client_id string [2021-04-13T00:33:08.785Z] Optional manually-specified OAuth2 client_id. [2021-04-13T00:33:08.785Z] -client_secret string [2021-04-13T00:33:08.785Z] Optional manually-specified OAuth2 client_secret. [2021-04-13T00:33:08.785Z] -confdir string [2021-04-13T00:33:08.785Z] [2021-04-13T00:33:08.785Z] -group string [2021-04-13T00:33:08.785Z] Group to which the user belongs, defaults to 'gateway' (default "gateway") [2021-04-13T00:33:08.785Z] -id string [2021-04-13T00:33:08.785Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-04-13T00:33:08.785Z] -jwt string [2021-04-13T00:33:08.785Z] The file containing the JWT for use when accessing the Kong Admin API [2021-04-13T00:33:08.785Z] -public_key string [2021-04-13T00:33:08.785Z] Public key (in PEM format) used to validate the JWT. [2021-04-13T00:33:08.785Z] -redirect_uris string [2021-04-13T00:33:08.785Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-04-13T00:33:08.785Z] -token-type string [2021-04-13T00:33:08.785Z] Type of token to create: jwt or oauth2 [2021-04-13T00:33:08.785Z] -user string [2021-04-13T00:33:08.785Z] Username of the user to add [2021-04-13T00:33:08.785Z] --- FAIL: TestAddUserJWT (0.00s) [2021-04-13T00:33:08.785Z] command_test.go:121: [2021-04-13T00:33:08.785Z] Error Trace: command_test.go:121 [2021-04-13T00:33:08.785Z] Error: Received unexpected error: [2021-04-13T00:33:08.785Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-13T00:33:08.785Z] Test: TestAddUserJWT [2021-04-13T00:33:08.785Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-04-13T00:33:08.785Z] command_test.go:193: [2021-04-13T00:33:08.785Z] Error Trace: command_test.go:193 [2021-04-13T00:33:08.785Z] Error: Received unexpected error: [2021-04-13T00:33:08.785Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-13T00:33:08.785Z] Test: TestAddUserOAuth2 [2021-04-13T00:33:08.785Z] FAIL [2021-04-13T00:33:08.785Z] coverage: 40.0% of statements [2021-04-13T00:33:08.785Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.059s coverage: 80.0% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.090s coverage: 87.2% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.131s coverage: 91.2% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.244s coverage: 64.4% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.056s coverage: 100.0% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.056s coverage: 91.3% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.039s coverage: 73.7% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.350s coverage: 62.9% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.177s coverage: 41.5% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.049s coverage: 89.5% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.045s coverage: 84.8% of statements [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.176s coverage: 47.0% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.059s coverage: 100.0% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.082s coverage: 100.0% of statements [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-13T00:33:08.785Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-13T00:33:08.785Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.060s coverage: 11.0% of statements [2021-04-13T00:33:08.786Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-13T00:33:08.786Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.216s coverage: 87.1% of statements [2021-04-13T00:33:08.786Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-13T00:33:08.786Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:33:08.786Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-13T00:33:10.836Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.825s coverage: 29.1% of statements [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-13T00:33:10.836Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.081s coverage: 99.0% of statements [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-13T00:33:10.836Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.075s coverage: 100.0% of statements [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-13T00:33:10.836Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.116s coverage: 95.6% of statements [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-13T00:33:10.836Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.031s coverage: 0.0% of statements [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-13T00:33:10.836Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.041s coverage: 100.0% of statements [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-13T00:33:10.836Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-13T00:33:11.106Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.047s coverage: 87.9% of statements [2021-04-13T00:33:11.106Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-13T00:33:11.106Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-13T00:33:11.106Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements [2021-04-13T00:33:11.684Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 28.1% of statements [2021-04-13T00:33:11.684Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2021-04-13T00:33:11.684Z] FAIL [2021-04-13T00:33:11.947Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-13T00:33:12.229Z] $ docker stop --time=1 118aedf2a7c90a6ca5cff7ac76074356c9a2e4b1d8308d2f965dd196717f6c1f [2021-04-13T00:33:14.001Z] $ docker rm -f 118aedf2a7c90a6ca5cff7ac76074356c9a2e4b1d8308d2f965dd196717f6c1f [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-13T00:33:15.335Z] Failed in branch amd64 [2021-04-13T00:33:57.293Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33790 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-04-13T00:33:57.342Z] Running in /w/workspace/edgex-go/34 [Pipeline] { [Pipeline] checkout [2021-04-13T00:34:02.524Z] using credential edgex-jenkins-ssh [2021-04-13T00:34:02.578Z] Cloning the remote Git repository [2021-04-13T00:34:02.630Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-04-13T00:34:02.745Z] > git init /w/workspace/edgex-go/34 # timeout=10 [2021-04-13T00:34:02.830Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-13T00:34:02.831Z] > git --version # timeout=10 [2021-04-13T00:34:02.856Z] > git --version # 'git version 2.17.1' [2021-04-13T00:34:02.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T00:34:02.921Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T00:34:25.701Z] Merging remotes/origin/master commit 5e8f0209b56f3309f9665c980cdfd66463b0e44b into PR head commit ca3031ed79becafea960142ce03bf3c297bca30a [2021-04-13T00:34:24.647Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-13T00:34:24.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T00:34:24.706Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-13T00:34:24.741Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-13T00:34:24.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T00:34:24.754Z] > 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-13T00:34:25.750Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T00:34:25.776Z] > git checkout -f ca3031ed79becafea960142ce03bf3c297bca30a # timeout=10 [2021-04-13T00:34:26.175Z] > git remote # timeout=10 [2021-04-13T00:34:26.192Z] > git config --get remote.origin.url # timeout=10 [2021-04-13T00:34:26.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T00:34:26.214Z] > git merge 5e8f0209b56f3309f9665c980cdfd66463b0e44b # timeout=10 [2021-04-13T00:34:26.457Z] Merge succeeded, producing 566f9cf148e9a286285e948280823e2e966a5b95 [2021-04-13T00:34:26.458Z] Checking out Revision 566f9cf148e9a286285e948280823e2e966a5b95 (PR-3328) [2021-04-13T00:34:26.425Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-13T00:34:26.447Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T00:34:26.457Z] > git checkout -f 566f9cf148e9a286285e948280823e2e966a5b95 # timeout=10 [2021-04-13T00:34:30.728Z] Commit message: "Merge commit '5e8f0209b56f3309f9665c980cdfd66463b0e44b' into HEAD" [2021-04-13T00:34:30.749Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-04-13T00:34:30.718Z] > git rev-list --no-walk a13fa1bd6e65bfd1a2a3e22ac33e79c63559e47b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T00:34:32.325Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-13T00:34:32.738Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T00:34:33.085Z] + sudo service docker+ restart [2021-04-13T00:34:33.085Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T00:34:35.136Z] provisioning config files... [2021-04-13T00:34:35.178Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/34@tmp/config7509358936319789551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:34:35.578Z] ---> docker-login.sh [2021-04-13T00:34:35.578Z] nexus3.edgexfoundry.org:10001 [2021-04-13T00:34:36.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:34:36.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:34:36.849Z] Configure a credential helper to remove this warning. See [2021-04-13T00:34:36.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:34:36.849Z] [2021-04-13T00:34:36.849Z] Login Succeeded [2021-04-13T00:34:36.849Z] nexus3.edgexfoundry.org:10002 [2021-04-13T00:34:37.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:34:37.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:34:37.396Z] Configure a credential helper to remove this warning. See [2021-04-13T00:34:37.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:34:37.396Z] [2021-04-13T00:34:37.396Z] Login Succeeded [2021-04-13T00:34:37.396Z] nexus3.edgexfoundry.org:10003 [2021-04-13T00:34:37.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:34:37.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:34:37.944Z] Configure a credential helper to remove this warning. See [2021-04-13T00:34:37.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:34:37.944Z] [2021-04-13T00:34:37.944Z] Login Succeeded [2021-04-13T00:34:37.944Z] nexus3.edgexfoundry.org:10004 [2021-04-13T00:34:38.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:34:38.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:34:38.488Z] Configure a credential helper to remove this warning. See [2021-04-13T00:34:38.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:34:38.488Z] [2021-04-13T00:34:38.488Z] Login Succeeded [2021-04-13T00:34:38.488Z] docker.io [2021-04-13T00:34:38.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T00:34:39.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T00:34:39.033Z] Configure a credential helper to remove this warning. See [2021-04-13T00:34:39.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T00:34:39.033Z] [2021-04-13T00:34:39.033Z] Login Succeeded [2021-04-13T00:34:39.033Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T00:34:39.051Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-13T00:34:39.462Z] ========================================================= [2021-04-13T00:34:39.462Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-13T00:34:39.462Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:34:39.865Z] + 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-13T00:34:42.527Z] Sending build context to Docker daemon 167.3MB [2021-04-13T00:34:42.527Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T00:34:42.527Z] Step 2/6 : FROM ${BASE} [2021-04-13T00:34:42.527Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-13T00:34:42.527Z] 5f621e34cdf4: Pulling fs layer [2021-04-13T00:34:42.527Z] a4357932f1b6: Pulling fs layer [2021-04-13T00:34:42.527Z] 18c013af1878: Pulling fs layer [2021-04-13T00:34:42.527Z] 00ac8860ef70: Pulling fs layer [2021-04-13T00:34:42.527Z] 63d7cb157983: Pulling fs layer [2021-04-13T00:34:42.527Z] b116817d02f9: Pulling fs layer [2021-04-13T00:34:42.527Z] 745a02a5169b: Pulling fs layer [2021-04-13T00:34:42.527Z] 00ac8860ef70: Waiting [2021-04-13T00:34:42.527Z] 63d7cb157983: Waiting [2021-04-13T00:34:42.527Z] b116817d02f9: Waiting [2021-04-13T00:34:42.527Z] 745a02a5169b: Waiting [2021-04-13T00:34:42.527Z] 18c013af1878: Verifying Checksum [2021-04-13T00:34:42.527Z] 18c013af1878: Download complete [2021-04-13T00:34:42.527Z] a4357932f1b6: Download complete [2021-04-13T00:34:42.527Z] 63d7cb157983: Download complete [2021-04-13T00:34:42.812Z] b116817d02f9: Verifying Checksum [2021-04-13T00:34:42.812Z] b116817d02f9: Download complete [2021-04-13T00:34:43.089Z] 5f621e34cdf4: Verifying Checksum [2021-04-13T00:34:43.089Z] 5f621e34cdf4: Download complete [2021-04-13T00:34:43.689Z] 5f621e34cdf4: Pull complete [2021-04-13T00:34:44.294Z] a4357932f1b6: Pull complete [2021-04-13T00:34:44.574Z] 18c013af1878: Pull complete [2021-04-13T00:34:45.555Z] 745a02a5169b: Download complete [2021-04-13T00:34:46.159Z] 00ac8860ef70: Download complete [2021-04-13T00:34:56.318Z] 00ac8860ef70: Pull complete [2021-04-13T00:34:56.318Z] 63d7cb157983: Pull complete [2021-04-13T00:34:56.318Z] b116817d02f9: Pull complete [2021-04-13T00:34:59.725Z] 745a02a5169b: Pull complete [2021-04-13T00:34:59.725Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-13T00:34:59.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-13T00:34:59.725Z] ---> b7e6874047d6 [2021-04-13T00:34:59.725Z] 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-13T00:35:03.125Z] ---> Running in c4852dff0853 [2021-04-13T00:35:04.101Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T00:35:05.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T00:35:05.692Z] (1/12) Installing libmagic (5.38-r0) [2021-04-13T00:35:05.692Z] (2/12) Installing file (5.38-r0) [2021-04-13T00:35:05.964Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-13T00:35:05.964Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-13T00:35:09.360Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-13T00:35:09.637Z] (6/12) Installing patch (2.7.6-r6) [2021-04-13T00:35:09.637Z] (7/12) Installing build-base (0.5-r2) [2021-04-13T00:35:09.637Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-13T00:35:09.909Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-13T00:35:09.909Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-13T00:35:10.188Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-13T00:35:10.189Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-13T00:35:10.189Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T00:35:10.189Z] OK: 217 MiB in 51 packages [2021-04-13T00:35:14.509Z] Removing intermediate container c4852dff0853 [2021-04-13T00:35:14.509Z] ---> d4d2d584b926 [2021-04-13T00:35:14.509Z] Step 4/6 : WORKDIR /edgex-go [2021-04-13T00:35:14.509Z] ---> Running in e7709a1c6f90 [2021-04-13T00:35:14.783Z] Removing intermediate container e7709a1c6f90 [2021-04-13T00:35:14.783Z] ---> a183d7473dd6 [2021-04-13T00:35:14.783Z] Step 5/6 : COPY go.mod . [2021-04-13T00:35:15.378Z] ---> f785ac65aa89 [2021-04-13T00:35:15.378Z] Step 6/6 : RUN go mod download [2021-04-13T00:35:15.652Z] ---> Running in 61b18def289e [2021-04-13T00:35:42.486Z] Removing intermediate container 61b18def289e [2021-04-13T00:35:42.486Z] ---> efda2ed7d723 [2021-04-13T00:35:42.486Z] Successfully built efda2ed7d723 [2021-04-13T00:35:42.486Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:35:42.828Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T00:35:42.828Z] . [Pipeline] withDockerContainer [2021-04-13T00:35:43.069Z] prd-ubuntu18.04-docker-arm64-4c-16g-33790 does not seem to be running inside a container [2021-04-13T00:35:43.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@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 ******** -e ******** ci-base-image-arm64 cat [2021-04-13T00:35:44.712Z] $ docker top e0f32a62991bf6d117a4a312453ad040d930d88780e14bb0f3b1e5ffdf20024f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T00:35:45.811Z] + go version [2021-04-13T00:35:45.811Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-13T00:35:45.800Z] $ docker stop --time=1 e0f32a62991bf6d117a4a312453ad040d930d88780e14bb0f3b1e5ffdf20024f [2021-04-13T00:35:47.698Z] $ docker rm -f e0f32a62991bf6d117a4a312453ad040d930d88780e14bb0f3b1e5ffdf20024f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:35:48.679Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T00:35:48.679Z] . [Pipeline] withDockerContainer [2021-04-13T00:35:48.898Z] prd-ubuntu18.04-docker-arm64-4c-16g-33790 does not seem to be running inside a container [2021-04-13T00:35:48.946Z] $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@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 ******** -e ******** ci-base-image-arm64 cat [2021-04-13T00:35:50.336Z] $ docker top b5520493451fe036e3193856e7a90111e902aa7dc0a5540127eb40b99c511729 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-13T00:35:50.771Z] ========================================================= [2021-04-13T00:35:50.771Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-13T00:35:50.771Z] ========================================================= [Pipeline] sh [2021-04-13T00:35:51.422Z] + make test [2021-04-13T00:35:51.422Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-13T00:36:13.619Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-13T00:37:10.190Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-13T00:37:10.190Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-13T00:37:18.726Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-13T00:37:18.726Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-13T00:37:20.720Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-13T00:37:20.721Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-13T00:37:20.721Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-13T00:37:20.998Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-13T00:37:24.420Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-13T00:37:25.028Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-13T00:37:33.337Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-13T00:37:33.337Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-13T00:37:33.337Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-13T00:37:40.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.306s coverage: 45.9% of statements [2021-04-13T00:37:40.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-13T00:37:40.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-13T00:37:40.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-13T00:37:40.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-13T00:37:40.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-13T00:37:40.084Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-13T00:37:40.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.145s coverage: 19.8% of statements [2021-04-13T00:37:40.084Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.297s coverage: 100.0% of statements [2021-04-13T00:37:46.875Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.531s coverage: 27.1% of statements [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-13T00:37:46.875Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.139s coverage: 100.0% of statements [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-13T00:37:46.875Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.171s coverage: 100.0% of statements [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-13T00:37:46.875Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-13T00:37:47.873Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.260s coverage: 71.3% of statements [2021-04-13T00:37:47.873Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-13T00:37:47.873Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-13T00:37:50.511Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.425s coverage: 82.9% of statements [2021-04-13T00:37:50.511Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-13T00:37:50.511Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:37:50.511Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.132s coverage: 78.9% of statements [2021-04-13T00:37:50.511Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-13T00:38:00.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.097s coverage: 28.6% of statements [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-13T00:38:00.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.205s coverage: 100.0% of statements [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-13T00:38:00.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.150s coverage: 100.0% of statements [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-13T00:38:00.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.466s coverage: 86.7% of statements [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-13T00:38:00.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.447s coverage: 97.5% of statements [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-13T00:38:00.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.212s coverage: 78.3% of statements [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-13T00:38:00.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.239s coverage: 92.8% of statements [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.132s coverage: 58.8% of statements [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.230s coverage: 1.0% of statements [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-13T00:38:10.922Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.163s coverage: 47.1% of statements [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.179s coverage: 79.5% of statements [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.148s coverage: 94.1% of statements [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.175s coverage: 96.3% of statements [2021-04-13T00:38:10.922Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.162s coverage: 87.5% of statements [2021-04-13T00:38:21.094Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.154s coverage: 94.4% of statements [2021-04-13T00:38:21.095Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.167s coverage: 44.8% of statements [2021-04-13T00:38:27.795Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.492s coverage: 81.9% of statements [2021-04-13T00:38:27.795Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-13T00:38:37.979Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.224s coverage: 92.9% of statements [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-13T00:38:37.979Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-13T00:38:37.979Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-13T00:38:37.979Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.107s coverage: 100.0% of statements [2021-04-13T00:38:37.979Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-13T00:38:37.979Z] flag provided but not defined: -badarg [2021-04-13T00:38:37.979Z] Usage of adduser: [2021-04-13T00:38:37.979Z] -algorithm string [2021-04-13T00:38:37.979Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-04-13T00:38:37.979Z] -client_id string [2021-04-13T00:38:37.979Z] Optional manually-specified OAuth2 client_id. [2021-04-13T00:38:37.980Z] -client_secret string [2021-04-13T00:38:37.980Z] Optional manually-specified OAuth2 client_secret. [2021-04-13T00:38:37.980Z] -confdir string [2021-04-13T00:38:37.980Z] [2021-04-13T00:38:37.980Z] -group string [2021-04-13T00:38:37.980Z] Group to which the user belongs, defaults to 'gateway' (default "gateway") [2021-04-13T00:38:37.980Z] -id string [2021-04-13T00:38:37.980Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-04-13T00:38:37.980Z] -jwt string [2021-04-13T00:38:37.980Z] The file containing the JWT for use when accessing the Kong Admin API [2021-04-13T00:38:37.980Z] -public_key string [2021-04-13T00:38:37.980Z] Public key (in PEM format) used to validate the JWT. [2021-04-13T00:38:37.980Z] -redirect_uris string [2021-04-13T00:38:37.980Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-04-13T00:38:37.980Z] -token-type string [2021-04-13T00:38:37.980Z] Type of token to create: jwt or oauth2 [2021-04-13T00:38:37.980Z] -user string [2021-04-13T00:38:37.980Z] Username of the user to add [2021-04-13T00:38:37.980Z] --- FAIL: TestAddUserJWT (0.00s) [2021-04-13T00:38:37.980Z] command_test.go:121: [2021-04-13T00:38:37.980Z] Error Trace: command_test.go:121 [2021-04-13T00:38:37.980Z] Error: Received unexpected error: [2021-04-13T00:38:37.980Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-13T00:38:37.980Z] Test: TestAddUserJWT [2021-04-13T00:38:37.980Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-04-13T00:38:37.980Z] command_test.go:193: [2021-04-13T00:38:37.980Z] Error Trace: command_test.go:193 [2021-04-13T00:38:37.980Z] Error: Received unexpected error: [2021-04-13T00:38:37.980Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-13T00:38:37.980Z] Test: TestAddUserOAuth2 [2021-04-13T00:38:37.980Z] FAIL [2021-04-13T00:38:37.980Z] coverage: 40.0% of statements [2021-04-13T00:38:37.980Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.112s [2021-04-13T00:38:37.980Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.134s coverage: 80.0% of statements [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.221s coverage: 87.2% of statements [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.187s coverage: 85.4% of statements [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.238s coverage: 91.2% of statements [2021-04-13T00:38:37.980Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.603s coverage: 64.4% of statements [2021-04-13T00:38:37.980Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-13T00:38:37.980Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.116s coverage: 100.0% of statements [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.103s coverage: 91.3% of statements [2021-04-13T00:38:37.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements [2021-04-13T00:38:39.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.051s coverage: 73.7% of statements [2021-04-13T00:38:39.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements [2021-04-13T00:38:42.828Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.869s coverage: 62.9% of statements [2021-04-13T00:38:42.828Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-13T00:38:42.828Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-13T00:38:42.828Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-13T00:38:44.812Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.596s coverage: 41.5% of statements [2021-04-13T00:38:44.812Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-13T00:38:44.812Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-13T00:38:44.812Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.108s coverage: 89.5% of statements [2021-04-13T00:38:44.812Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-13T00:38:44.812Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements [2021-04-13T00:38:51.549Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.490s coverage: 47.0% of statements [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-13T00:38:51.549Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.132s coverage: 100.0% of statements [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-13T00:38:51.549Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.110s coverage: 100.0% of statements [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-13T00:38:51.549Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.122s coverage: 11.0% of statements [2021-04-13T00:38:51.549Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-13T00:38:52.537Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.427s coverage: 87.1% of statements [2021-04-13T00:38:52.537Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-13T00:38:52.537Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:38:52.537Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.633s coverage: 29.1% of statements [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.220s coverage: 99.0% of statements [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.179s coverage: 100.0% of statements [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.344s coverage: 95.6% of statements [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.039s coverage: 0.0% of statements [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.087s coverage: 100.0% of statements [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-13T00:39:00.837Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-13T00:39:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.092s coverage: 87.9% of statements [2021-04-13T00:39:00.838Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-13T00:39:00.838Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-13T00:39:00.838Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.089s coverage: 100.0% of statements [2021-04-13T00:39:01.830Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.114s coverage: 28.1% of statements [2021-04-13T00:39:02.103Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements [2021-04-13T00:39:02.103Z] FAIL [2021-04-13T00:39:03.083Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-13T00:39:03.030Z] $ docker stop --time=1 b5520493451fe036e3193856e7a90111e902aa7dc0a5540127eb40b99c511729 [2021-04-13T00:39:05.481Z] $ docker rm -f b5520493451fe036e3193856e7a90111e902aa7dc0a5540127eb40b99c511729 [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-13T00:39:07.641Z] ---> job-cost.sh [2021-04-13T00:39:07.641Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wmkd [2021-04-13T00:39:54.750Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T00:41:46.551Z] lf-activate-venv(): INFO: Adding /tmp/venv-Wmkd/bin to PATH [2021-04-13T00:41:46.551Z] INFO: No Stack... [2021-04-13T00:41:46.551Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-13T00:41:47.145Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T00:41:47.489Z] + cat /w/workspace/edgex-go/34/archives/cost.csv [2021-04-13T00:41:47.489Z] + cut -d, -f6 [Pipeline] lock [2021-04-13T00:41:47.607Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] [2021-04-13T00:41:47.616Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] did not exist. Created. [2021-04-13T00:41:47.617Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T00:41:48.064Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-13T00:41:49.205Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T00:41:49.214Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3328-34-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-13T00:41:49.796Z] 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-13T00:41:54.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:41:55.037Z] ---> package-listing.sh [2021-04-13T00:41:55.037Z] ++ facter osfamily [2021-04-13T00:41:55.037Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-13T00:41:55.037Z] + OS_FAMILY=redhat [2021-04-13T00:41:55.037Z] + workspace=/w/workspace/edgex-go/34 [2021-04-13T00:41:55.037Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-13T00:41:55.037Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-13T00:41:55.037Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-13T00:41:55.037Z] + PACKAGES=/tmp/packages_start.txt [2021-04-13T00:41:55.037Z] + '[' /w/workspace/edgex-go/34 ']' [2021-04-13T00:41:55.037Z] + PACKAGES=/tmp/packages_end.txt [2021-04-13T00:41:55.037Z] + case "${OS_FAMILY}" in [2021-04-13T00:41:55.037Z] + rpm -qa [2021-04-13T00:41:55.037Z] + sort [2021-04-13T00:42:00.355Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-13T00:42:00.355Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-13T00:42:00.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-13T00:42:00.355Z] + '[' /w/workspace/edgex-go/34 ']' [2021-04-13T00:42:00.355Z] + mkdir -p /w/workspace/edgex-go/34/archives/ [2021-04-13T00:42:00.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/34/archives/ [Pipeline] echo [2021-04-13T00:42:00.370Z] 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/34/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-13T00:42:00.663Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:42:00.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T00:42:00.972Z] [2021-04-13T00:42:00.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-13T00:42:01.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T00:42:01.344Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-13T00:42:01.344Z] df20fa9351a1: Pulling fs layer [2021-04-13T00:42:01.344Z] 36b3adc4ff6f: Pulling fs layer [2021-04-13T00:42:01.344Z] 8ad3a11d3b57: Pulling fs layer [2021-04-13T00:42:01.344Z] 46f8f816bc3b: Pulling fs layer [2021-04-13T00:42:01.344Z] 93b61091891f: Pulling fs layer [2021-04-13T00:42:01.344Z] 93b9cdb0e59b: Pulling fs layer [2021-04-13T00:42:01.344Z] 5e14af77c1be: Pulling fs layer [2021-04-13T00:42:01.344Z] 01666e4c0597: Pulling fs layer [2021-04-13T00:42:01.344Z] aa168da1d23b: Pulling fs layer [2021-04-13T00:42:01.344Z] 93b9cdb0e59b: Waiting [2021-04-13T00:42:01.344Z] 5e14af77c1be: Waiting [2021-04-13T00:42:01.344Z] 01666e4c0597: Waiting [2021-04-13T00:42:01.344Z] aa168da1d23b: Waiting [2021-04-13T00:42:01.344Z] 93b61091891f: Waiting [2021-04-13T00:42:01.344Z] 46f8f816bc3b: Waiting [2021-04-13T00:42:01.344Z] 36b3adc4ff6f: Verifying Checksum [2021-04-13T00:42:01.344Z] 36b3adc4ff6f: Download complete [2021-04-13T00:42:01.344Z] 46f8f816bc3b: Verifying Checksum [2021-04-13T00:42:01.344Z] 46f8f816bc3b: Download complete [2021-04-13T00:42:01.606Z] df20fa9351a1: Download complete [2021-04-13T00:42:01.606Z] 93b9cdb0e59b: Verifying Checksum [2021-04-13T00:42:01.606Z] 93b9cdb0e59b: Download complete [2021-04-13T00:42:01.606Z] 5e14af77c1be: Download complete [2021-04-13T00:42:01.606Z] 01666e4c0597: Verifying Checksum [2021-04-13T00:42:01.606Z] 01666e4c0597: Download complete [2021-04-13T00:42:01.606Z] 93b61091891f: Download complete [2021-04-13T00:42:01.880Z] df20fa9351a1: Pull complete [2021-04-13T00:42:02.148Z] 36b3adc4ff6f: Pull complete [2021-04-13T00:42:02.414Z] 8ad3a11d3b57: Verifying Checksum [2021-04-13T00:42:02.414Z] 8ad3a11d3b57: Download complete [2021-04-13T00:42:03.368Z] 8ad3a11d3b57: Pull complete [2021-04-13T00:42:03.368Z] 46f8f816bc3b: Pull complete [2021-04-13T00:42:03.634Z] 93b61091891f: Pull complete [2021-04-13T00:42:03.634Z] 93b9cdb0e59b: Pull complete [2021-04-13T00:42:03.897Z] 5e14af77c1be: Pull complete [2021-04-13T00:42:04.162Z] 01666e4c0597: Pull complete [2021-04-13T00:42:06.098Z] aa168da1d23b: Verifying Checksum [2021-04-13T00:42:06.098Z] aa168da1d23b: Download complete [2021-04-13T00:42:14.309Z] aa168da1d23b: Pull complete [2021-04-13T00:42:14.309Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-13T00:42:14.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T00:42:14.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-13T00:42:14.495Z] prd-centos7-docker-4c-2g-33787 does not seem to be running inside a container [2021-04-13T00:42:14.546Z] $ 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/34/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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-13T00:42:17.801Z] $ docker top 07795fbf1dbce5acdb03c27a6ad3348fc34f36086498879cb1678a4ed38a4fff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T00:42:18.319Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-13T00:42:18.626Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-13T00:42:18.928Z] + ls /var/log/sa-host [2021-04-13T00:42:18.928Z] + sadf -c /var/log/sa-host/sa13 [2021-04-13T00:42:18.928Z] file_magic: OK [2021-04-13T00:42:18.928Z] HZ: Using current value: 100 [2021-04-13T00:42:18.928Z] file_header: OK [2021-04-13T00:42:18.928Z] 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-13T00:42:18.928Z] Statistics: [2021-04-13T00:42:18.928Z] 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-13T00:42:18.928Z] File successfully converted to sysstat format version 12.2.1 [2021-04-13T00:42:18.928Z] + sadf -c /var/log/sa-host/sa23 [2021-04-13T00:42:18.928Z] file_magic: OK [2021-04-13T00:42:18.928Z] HZ: Using current value: 100 [2021-04-13T00:42:18.928Z] file_header: OK [2021-04-13T00:42:18.928Z] 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-13T00:42:18.928Z] Statistics: [2021-04-13T00:42:18.928Z] Hnuu...uuuununununu... [2021-04-13T00:42:18.928Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-13T00:42:19.170Z] provisioning config files... [2021-04-13T00:42:19.190Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/34@tmp/config746256603647553711tmp [Pipeline] { [Pipeline] echo [2021-04-13T00:42:19.271Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:42:19.575Z] ---> create-netrc.sh [Pipeline] } [2021-04-13T00:42:19.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-13T00:42:19.668Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:42:19.968Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-13T00:42:19.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:42:20.281Z] ---> sudo-logs.sh [2021-04-13T00:42:20.281Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-13T00:42:20.415Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:42:20.714Z] ---> job-cost.sh [2021-04-13T00:42:20.714Z] lf-activate-venv: SKIPPING [2021-04-13T00:42:20.714Z] DEBUG: total: 0.20999999344348907 [2021-04-13T00:42:20.714Z] INFO: Retrieving Stack Cost... [2021-04-13T00:42:21.661Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T00:42:22.235Z] INFO: Archiving Costs [Pipeline] echo [2021-04-13T00:42:22.252Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T00:42:22.558Z] ---> logs-deploy.sh [2021-04-13T00:42:22.558Z] lf-activate-venv: SKIPPING [2021-04-13T00:42:22.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/34 [2021-04-13T00:42:22.558Z] INFO: archiving workspace using pattern(s): [2021-04-13T00:42:23.950Z] Archives upload complete. [2021-04-13T00:42:24.214Z] INFO: archiving logs to Nexus