Pull request #3328 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of beaufrusetta for edgexfoundry/edgex-go Loading trusted files from base branch master at 4a93de6e2e8f65a45d7e1065c78fcf8c18a7addf rather than e21a330f332f1986aaede2b796840d9ddea0ad00 Obtained Jenkinsfile from 4a93de6e2e8f65a45d7e1065c78fcf8c18a7addf Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33455 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/30 [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/30 # 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 4a93de6e2e8f65a45d7e1065c78fcf8c18a7addf into PR head commit e21a330f332f1986aaede2b796840d9ddea0ad00 Merge succeeded, producing e21a330f332f1986aaede2b796840d9ddea0ad00 Checking out Revision e21a330f332f1986aaede2b796840d9ddea0ad00 (PR-3328) > git config core.sparsecheckout # timeout=10 > git checkout -f e21a330f332f1986aaede2b796840d9ddea0ad00 # 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 4a93de6e2e8f65a45d7e1065c78fcf8c18a7addf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e21a330f332f1986aaede2b796840d9ddea0ad00 # timeout=10 Commit message: "feat(security): Secure Kong Admin API" First time build. Skipping changelog. > git rev-list --no-walk 60c8147852ea0dc329eaa1056dfe352b3ce0d5a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-09T17:18:19.393Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-09T17:18:19.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-09T17:18:19.805Z] ========================================================= [2021-04-09T17:18:19.805Z] EdgeX Global Pipelines Version Info [2021-04-09T17:18:19.805Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:18:21.348Z] ------------------- [2021-04-09T17:18:21.348Z] stable info: [2021-04-09T17:18:21.348Z] ------------------- [2021-04-09T17:18:21.348Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-09T17:18:21.348Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-09T17:18:21.348Z] Message: update stable to v1.0.186 [2021-04-09T17:18:22.292Z] ------------------- [2021-04-09T17:18:22.292Z] experimental info: [2021-04-09T17:18:22.292Z] ------------------- [2021-04-09T17:18:22.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-09T17:18:22.292Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-09T17:18:22.292Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-09T17:18:22.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-04-09T17:18:22.713Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-04-09T17:18:22.805Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-09T17:18:22.896Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-09T17:18:22.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-09T17:18:23.090Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-09T17:18:23.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-09T17:18:23.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-04-09T17:18:23.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-04-09T17:18:23.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-04-09T17:18:23.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-09T17:18:23.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-09T17:18:23.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-09T17:18:23.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-09T17:18:24.056Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-09T17:18:24.146Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-09T17:18:24.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-09T17:18:24.336Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-09T17:18:24.437Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-09T17:18:24.591Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-09T17:18:24.684Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-09T17:18:24.774Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-09T17:18:24.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3328 [Pipeline] echo [2021-04-09T17:18:24.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3328 [Pipeline] echo [2021-04-09T17:18:25.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3328 [Pipeline] echo [2021-04-09T17:18:25.140Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e21a330f332f1986aaede2b796840d9ddea0ad00 [Pipeline] echo [2021-04-09T17:18:25.231Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e21a330 [Pipeline] echo [2021-04-09T17:18:25.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T17:18:25.670Z] provisioning config files... [2021-04-09T17:18:25.707Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/30@tmp/config7349826731887978999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:18:26.060Z] ---> docker-login.sh [2021-04-09T17:18:26.060Z] nexus3.edgexfoundry.org:10001 [2021-04-09T17:18:26.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T17:18:26.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T17:18:26.592Z] Configure a credential helper to remove this warning. See [2021-04-09T17:18:26.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T17:18:26.592Z] [2021-04-09T17:18:26.592Z] Login Succeeded [2021-04-09T17:18:26.592Z] nexus3.edgexfoundry.org:10002 [2021-04-09T17:18:26.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T17:18:26.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T17:18:26.857Z] Configure a credential helper to remove this warning. See [2021-04-09T17:18:26.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T17:18:26.857Z] [2021-04-09T17:18:26.857Z] Login Succeeded [2021-04-09T17:18:26.857Z] nexus3.edgexfoundry.org:10003 [2021-04-09T17:18:26.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T17:18:26.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T17:18:26.857Z] Configure a credential helper to remove this warning. See [2021-04-09T17:18:26.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T17:18:26.857Z] [2021-04-09T17:18:26.857Z] Login Succeeded [2021-04-09T17:18:26.857Z] nexus3.edgexfoundry.org:10004 [2021-04-09T17:18:27.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T17:18:27.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T17:18:27.119Z] Configure a credential helper to remove this warning. See [2021-04-09T17:18:27.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T17:18:27.119Z] [2021-04-09T17:18:27.119Z] Login Succeeded [2021-04-09T17:18:27.119Z] docker.io [2021-04-09T17:18:27.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T17:18:27.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T17:18:27.381Z] Configure a credential helper to remove this warning. See [2021-04-09T17:18:27.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T17:18:27.381Z] [2021-04-09T17:18:27.381Z] Login Succeeded [2021-04-09T17:18:27.381Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T17:18:27.392Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T17:18:27.856Z] ++ 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-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/core-command/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo core-command,cmd/core-command/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/core-data/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo core-data,cmd/core-data/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/core-metadata/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/support-notifications/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-04-09T17:18:27.856Z] + for file in '`ls cmd/**/Dockerfile`' [2021-04-09T17:18:27.856Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-04-09T17:18:27.856Z] ++ cut -d/ -f2 [2021-04-09T17:18:27.856Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-04-09T17:18:27.927Z] 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-09T17:18:29.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T17:18:29.548Z] [2021-04-09T17:18:29.548Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T17:18:29.942Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T17:18:29.942Z] latest: Pulling from edgex-devops/git-semver [2021-04-09T17:18:29.942Z] 31603596830f: Pulling fs layer [2021-04-09T17:18:29.942Z] 2a8b12db71e7: Pulling fs layer [2021-04-09T17:18:29.942Z] 6ca5941a6612: Pulling fs layer [2021-04-09T17:18:29.942Z] ecc8261a40a4: Pulling fs layer [2021-04-09T17:18:29.942Z] ecc8261a40a4: Waiting [2021-04-09T17:18:29.942Z] 2a8b12db71e7: Verifying Checksum [2021-04-09T17:18:29.942Z] 2a8b12db71e7: Download complete [2021-04-09T17:18:30.205Z] 31603596830f: Download complete [2021-04-09T17:18:30.205Z] 6ca5941a6612: Verifying Checksum [2021-04-09T17:18:30.205Z] 6ca5941a6612: Download complete [2021-04-09T17:18:30.205Z] ecc8261a40a4: Verifying Checksum [2021-04-09T17:18:30.205Z] ecc8261a40a4: Download complete [2021-04-09T17:18:30.470Z] 31603596830f: Pull complete [2021-04-09T17:18:30.735Z] 2a8b12db71e7: Pull complete [2021-04-09T17:18:31.312Z] 6ca5941a6612: Pull complete [2021-04-09T17:18:31.574Z] ecc8261a40a4: Pull complete [2021-04-09T17:18:31.574Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-09T17:18:31.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T17:18:31.574Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-09T17:18:31.766Z] prd-centos7-docker-4c-2g-33455 does not seem to be running inside a container [2021-04-09T17:18:31.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-09T17:18:34.435Z] $ docker top cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-09T17:18:34.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T17:18:34.733Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T17:18:34.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T17:18:34.938Z] $ docker exec cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 ssh-agent [2021-04-09T17:18:35.094Z] SSH_AUTH_SOCK=/tmp/ssh-mgRnI6XdRUI2/agent.12 [2021-04-09T17:18:35.094Z] SSH_AGENT_PID=17 [2021-04-09T17:18:35.104Z] Running ssh-add (command line suppressed) [2021-04-09T17:18:35.217Z] Identity added: /w/workspace/edgex-go/30@tmp/private_key_6318125044212357088.key (/w/workspace/edgex-go/30@tmp/private_key_6318125044212357088.key) [2021-04-09T17:18:35.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T17:18:35.601Z] + git tag --points-at HEAD [Pipeline] } [2021-04-09T17:18:35.621Z] $ docker exec --env ******** --env ******** cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 ssh-agent -k [2021-04-09T17:18:35.725Z] unset SSH_AUTH_SOCK; [2021-04-09T17:18:35.725Z] unset SSH_AGENT_PID; [2021-04-09T17:18:35.725Z] echo Agent pid 17 killed; [2021-04-09T17:18:35.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-09T17:18:35.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T17:18:35.905Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T17:18:36.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T17:18:36.067Z] $ docker exec cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 ssh-agent [2021-04-09T17:18:36.228Z] SSH_AUTH_SOCK=/tmp/ssh-bvTLdtYB529j/agent.47 [2021-04-09T17:18:36.228Z] SSH_AGENT_PID=53 [2021-04-09T17:18:36.234Z] Running ssh-add (command line suppressed) [2021-04-09T17:18:36.353Z] Identity added: /w/workspace/edgex-go/30@tmp/private_key_6146543949117449461.key (/w/workspace/edgex-go/30@tmp/private_key_6146543949117449461.key) [2021-04-09T17:18:36.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T17:18:36.737Z] + git semver init [2021-04-09T17:18:36.737Z] # -> Open(): unable to determine branch for HEAD [2021-04-09T17:18:36.737Z] # $GIT_DIR = /w/workspace/edgex-go/30/.git [2021-04-09T17:18:36.737Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/30 [2021-04-09T17:18:36.737Z] # $SEMVER_REMOTE_NAME = origin [2021-04-09T17:18:36.737Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-09T17:18:36.737Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-09T17:18:36.737Z] # $SEMVER_BRANCH = PR-3328 [2021-04-09T17:18:36.737Z] # $SEMVER_TEMP = /tmp/semver-531872311 [2021-04-09T17:18:36.737Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-04-09T17:18:54.930Z] # '/tmp/semver-531872311' -> '/w/workspace/edgex-go/30/.semver' [2021-04-09T17:18:56.334Z] # -> Force: false [2021-04-09T17:18:56.334Z] # $SEMVER_DIR = /w/workspace/edgex-go/30/.semver [Pipeline] } [2021-04-09T17:18:56.348Z] $ docker exec --env ******** --env ******** cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 ssh-agent -k [2021-04-09T17:18:56.596Z] unset SSH_AUTH_SOCK; [2021-04-09T17:18:56.596Z] unset SSH_AGENT_PID; [2021-04-09T17:18:56.596Z] echo Agent pid 53 killed; [2021-04-09T17:18:56.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T17:18:57.170Z] + git semver [Pipeline] } [2021-04-09T17:18:57.187Z] $ docker stop --time=1 cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 [2021-04-09T17:18:58.787Z] $ docker rm -f cdc0827a57c206d92684839efdce3f716033a15e2fd3a4b35915f6a7158d8bf7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T17:18:59.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-09T17:18:59.798Z] Stashed 1 file(s) [Pipeline] echo [2021-04-09T17:18:59.801Z] [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-09T17:19:00.763Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-09T17:19:01.057Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-09T17:19:01.356Z] + sudo service docker restart [2021-04-09T17:19:01.356Z] + true [2021-04-09T17:19:01.356Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-04-09T17:19:01.944Z] ========================================================= [2021-04-09T17:19:01.944Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-09T17:19:01.944Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-09T17:19:02.289Z] + 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-09T17:19:05.632Z] Sending build context to Docker daemon 329.4MB [2021-04-09T17:19:05.632Z] Step 1/6 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T17:19:05.632Z] Step 2/6 : FROM ${BASE} [2021-04-09T17:19:05.632Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-09T17:19:05.632Z] 188c0c94c7c5: Pulling fs layer [2021-04-09T17:19:05.632Z] 0ef7d3d256c8: Pulling fs layer [2021-04-09T17:19:05.632Z] de9db76c5a1d: Pulling fs layer [2021-04-09T17:19:05.632Z] bca2f99d35d6: Pulling fs layer [2021-04-09T17:19:05.632Z] 93359f2a8cfa: Pulling fs layer [2021-04-09T17:19:05.632Z] bca2f99d35d6: Waiting [2021-04-09T17:19:05.632Z] 7c6f9722023f: Pulling fs layer [2021-04-09T17:19:05.632Z] a35cf1a2eb13: Pulling fs layer [2021-04-09T17:19:05.632Z] 93359f2a8cfa: Waiting [2021-04-09T17:19:05.632Z] 7c6f9722023f: Waiting [2021-04-09T17:19:05.632Z] a35cf1a2eb13: Waiting [2021-04-09T17:19:05.632Z] de9db76c5a1d: Verifying Checksum [2021-04-09T17:19:05.632Z] de9db76c5a1d: Download complete [2021-04-09T17:19:05.632Z] 0ef7d3d256c8: Download complete [2021-04-09T17:19:05.632Z] 93359f2a8cfa: Verifying Checksum [2021-04-09T17:19:05.632Z] 93359f2a8cfa: Download complete [2021-04-09T17:19:05.632Z] 7c6f9722023f: Verifying Checksum [2021-04-09T17:19:05.632Z] 7c6f9722023f: Download complete [2021-04-09T17:19:05.632Z] 188c0c94c7c5: Verifying Checksum [2021-04-09T17:19:05.632Z] 188c0c94c7c5: Download complete [2021-04-09T17:19:06.594Z] 188c0c94c7c5: Pull complete [2021-04-09T17:19:06.594Z] 0ef7d3d256c8: Pull complete [2021-04-09T17:19:06.594Z] de9db76c5a1d: Pull complete [2021-04-09T17:19:07.987Z] a35cf1a2eb13: Verifying Checksum [2021-04-09T17:19:07.987Z] a35cf1a2eb13: Download complete [2021-04-09T17:19:08.561Z] bca2f99d35d6: Verifying Checksum [2021-04-09T17:19:08.561Z] bca2f99d35d6: Download complete [2021-04-09T17:19:13.892Z] bca2f99d35d6: Pull complete [2021-04-09T17:19:13.892Z] 93359f2a8cfa: Pull complete [2021-04-09T17:19:13.892Z] 7c6f9722023f: Pull complete [2021-04-09T17:19:15.158Z] Still waiting to schedule task [2021-04-09T17:19:15.158Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-09T17:19:18.107Z] a35cf1a2eb13: Pull complete [2021-04-09T17:19:18.107Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-09T17:19:18.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-09T17:19:18.107Z] ---> a62c8e92a672 [2021-04-09T17:19:18.107Z] 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-09T17:19:18.369Z] ---> Running in 3aa43e4e6bd8 [2021-04-09T17:19:18.942Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T17:19:19.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-09T17:19:20.459Z] (1/12) Installing libmagic (5.38-r0) [2021-04-09T17:19:20.459Z] (2/12) Installing file (5.38-r0) [2021-04-09T17:19:20.720Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-04-09T17:19:20.720Z] (4/12) Installing g++ (9.3.0-r2) [2021-04-09T17:19:24.927Z] (5/12) Installing fortify-headers (1.1-r0) [2021-04-09T17:19:24.927Z] (6/12) Installing patch (2.7.6-r6) [2021-04-09T17:19:24.927Z] (7/12) Installing build-base (0.5-r2) [2021-04-09T17:19:24.927Z] (8/12) Installing libsodium (1.0.18-r0) [2021-04-09T17:19:24.927Z] (9/12) Installing pkgconf (1.7.2-r0) [2021-04-09T17:19:24.927Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-04-09T17:19:25.189Z] (11/12) Installing libzmq (4.3.3-r0) [2021-04-09T17:19:25.189Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2021-04-09T17:19:25.189Z] Executing busybox-1.31.1-r19.trigger [2021-04-09T17:19:25.189Z] OK: 233 MiB in 51 packages [2021-04-09T17:19:28.500Z] Removing intermediate container 3aa43e4e6bd8 [2021-04-09T17:19:28.500Z] ---> 9af441838144 [2021-04-09T17:19:28.500Z] Step 4/6 : WORKDIR /edgex-go [2021-04-09T17:19:28.500Z] ---> Running in c4ca53f5e2ff [2021-04-09T17:19:28.761Z] Removing intermediate container c4ca53f5e2ff [2021-04-09T17:19:28.761Z] ---> f2ba197a23ae [2021-04-09T17:19:28.761Z] Step 5/6 : COPY go.mod . [2021-04-09T17:19:29.022Z] ---> 7ef22bb14cfd [2021-04-09T17:19:29.022Z] Step 6/6 : RUN go mod download [2021-04-09T17:19:29.022Z] ---> Running in c15aae00d13d [2021-04-09T17:19:51.043Z] Removing intermediate container c15aae00d13d [2021-04-09T17:19:51.043Z] ---> ba649e32e124 [2021-04-09T17:19:51.043Z] Successfully built ba649e32e124 [2021-04-09T17:19:51.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T17:19:51.358Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-09T17:19:51.358Z] . [Pipeline] withDockerContainer [2021-04-09T17:19:51.455Z] prd-centos7-docker-4c-2g-33455 does not seem to be running inside a container [2021-04-09T17:19:51.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-09T17:19:52.276Z] $ docker top 8d36d8f005c62d009bbeb3f14ad86c04aac7dc44714868b6480641804daf7eab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T17:19:52.771Z] + go version [2021-04-09T17:19:52.771Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-09T17:19:52.785Z] $ docker stop --time=1 8d36d8f005c62d009bbeb3f14ad86c04aac7dc44714868b6480641804daf7eab [2021-04-09T17:19:54.135Z] $ docker rm -f 8d36d8f005c62d009bbeb3f14ad86c04aac7dc44714868b6480641804daf7eab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T17:19:54.913Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-09T17:19:54.913Z] . [Pipeline] withDockerContainer [2021-04-09T17:19:55.014Z] prd-centos7-docker-4c-2g-33455 does not seem to be running inside a container [2021-04-09T17:19:55.057Z] $ 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/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-09T17:19:55.663Z] $ docker top 131016e9f81b0ef01e77d4f8bc9569f220975b1d3ed9ceada1c6b84d8fc8a838 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-09T17:19:55.845Z] ========================================================= [2021-04-09T17:19:55.845Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-04-09T17:19:55.845Z] ========================================================= [Pipeline] sh [2021-04-09T17:19:56.133Z] + make test [2021-04-09T17:19:56.133Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-09T17:20:06.177Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-04-09T17:20:21.219Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-04-09T17:20:26.586Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-04-09T17:20:26.586Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-04-09T17:20:26.586Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-04-09T17:20:29.381Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-04-09T17:20:29.381Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-04-09T17:20:29.381Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-04-09T17:20:29.382Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-04-09T17:20:30.250Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-04-09T17:20:30.514Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-04-09T17:20:33.107Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-04-09T17:20:33.107Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-04-09T17:20:33.107Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-04-09T17:20:35.044Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.094s coverage: 45.9% of statements [2021-04-09T17:20:35.044Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-04-09T17:20:35.044Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-04-09T17:20:35.044Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2021-04-09T17:20:35.044Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2021-04-09T17:20:35.044Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2021-04-09T17:20:35.044Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] [2021-04-09T17:20:35.044Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.077s coverage: 19.8% of statements [2021-04-09T17:20:35.044Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.074s coverage: 100.0% of statements [2021-04-09T17:20:39.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.218s coverage: 27.1% of statements [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-04-09T17:20:39.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.049s coverage: 100.0% of statements [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2021-04-09T17:20:39.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.073s coverage: 100.0% of statements [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2021-04-09T17:20:39.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.106s coverage: 71.3% of statements [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2021-04-09T17:20:39.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.141s coverage: 82.9% of statements [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2021-04-09T17:20:39.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.077s coverage: 78.9% of statements [2021-04-09T17:20:39.285Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2021-04-09T17:20:41.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.355s coverage: 28.6% of statements [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2021-04-09T17:20:41.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.100s coverage: 100.0% of statements [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2021-04-09T17:20:41.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.050s coverage: 100.0% of statements [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2021-04-09T17:20:41.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.120s coverage: 86.7% of statements [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2021-04-09T17:20:41.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.132s coverage: 97.5% of statements [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2021-04-09T17:20:41.893Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.066s coverage: 78.3% of statements [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2021-04-09T17:20:41.893Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2021-04-09T17:20:44.499Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.405s coverage: 92.8% of statements [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2021-04-09T17:20:44.499Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.043s coverage: 58.8% of statements [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2021-04-09T17:20:44.499Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.084s coverage: 1.0% of statements [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2021-04-09T17:20:44.499Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-04-09T17:20:44.499Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.069s coverage: 47.1% of statements [2021-04-09T17:20:44.499Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.079s coverage: 79.5% of statements [2021-04-09T17:20:44.499Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.050s coverage: 94.1% of statements [2021-04-09T17:20:44.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.087s coverage: 96.3% of statements [2021-04-09T17:20:44.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.060s coverage: 87.5% of statements [2021-04-09T17:20:57.022Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements [2021-04-09T17:20:57.022Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2021-04-09T17:21:01.236Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.089s coverage: 81.5% of statements [2021-04-09T17:21:01.236Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-04-09T17:21:01.236Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/tokencleaner 0.038s coverage: 87.1% of statements [2021-04-09T17:21:09.444Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.075s coverage: 92.9% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.036s coverage: 87.2% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-04-09T17:21:09.445Z] flag provided but not defined: -badarg [2021-04-09T17:21:09.445Z] Usage of adduser: [2021-04-09T17:21:09.445Z] -algorithm string [2021-04-09T17:21:09.445Z] Algorithm used for signing the JWT, RS256 or ES256 [2021-04-09T17:21:09.445Z] -client_id string [2021-04-09T17:21:09.445Z] Optional manually-specified OAuth2 client_id. [2021-04-09T17:21:09.445Z] -client_secret string [2021-04-09T17:21:09.445Z] Optional manually-specified OAuth2 client_secret. [2021-04-09T17:21:09.445Z] -confdir string [2021-04-09T17:21:09.445Z] [2021-04-09T17:21:09.445Z] -group string [2021-04-09T17:21:09.445Z] Group to which the user belongs, defaults to 'gateway' (default "gateway") [2021-04-09T17:21:09.445Z] -id string [2021-04-09T17:21:09.445Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2021-04-09T17:21:09.445Z] -jwt string [2021-04-09T17:21:09.445Z] The file containing the JWT for use when accessing the Kong Admin API [2021-04-09T17:21:09.445Z] -public_key string [2021-04-09T17:21:09.445Z] Public key (in PEM format) used to validate the JWT. [2021-04-09T17:21:09.445Z] -redirect_uris string [2021-04-09T17:21:09.445Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2021-04-09T17:21:09.445Z] -token-type string [2021-04-09T17:21:09.445Z] Type of token to create: jwt or oauth2 [2021-04-09T17:21:09.445Z] -user string [2021-04-09T17:21:09.445Z] Username of the user to add [2021-04-09T17:21:09.445Z] --- FAIL: TestAddUserJWT (0.00s) [2021-04-09T17:21:09.445Z] command_test.go:121: [2021-04-09T17:21:09.445Z] Error Trace: command_test.go:121 [2021-04-09T17:21:09.445Z] Error: Received unexpected error: [2021-04-09T17:21:09.445Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-09T17:21:09.445Z] Test: TestAddUserJWT [2021-04-09T17:21:09.445Z] --- FAIL: TestAddUserOAuth2 (0.00s) [2021-04-09T17:21:09.445Z] command_test.go:193: [2021-04-09T17:21:09.445Z] Error Trace: command_test.go:193 [2021-04-09T17:21:09.445Z] Error: Received unexpected error: [2021-04-09T17:21:09.445Z] failed to read JWT file: open s0meJWT: no such file or directory [2021-04-09T17:21:09.445Z] Test: TestAddUserOAuth2 [2021-04-09T17:21:09.445Z] FAIL [2021-04-09T17:21:09.445Z] coverage: 40.0% of statements [2021-04-09T17:21:09.445Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.037s [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.057s coverage: 80.0% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.084s coverage: 87.2% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.095s coverage: 91.2% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.193s coverage: 64.4% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.059s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.044s coverage: 91.3% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.042s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.286s coverage: 62.9% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.129s coverage: 41.5% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.045s coverage: 89.5% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.032s coverage: 84.8% of statements [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.132s coverage: 47.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.046s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.044s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.052s coverage: 11.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.150s coverage: 87.1% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.763s coverage: 29.1% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.072s coverage: 99.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.060s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.100s coverage: 95.6% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.023s coverage: 0.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-04-09T17:21:09.445Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.025s coverage: 100.0% of statements [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-04-09T17:21:09.445Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2021-04-09T17:21:09.451Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33456 in /w/workspace/edgexfoundry_edgex-go_PR-3328 [Pipeline] { [Pipeline] ws [2021-04-09T17:21:09.512Z] Running in /w/workspace/edgex-go/30 [Pipeline] { [Pipeline] checkout [2021-04-09T17:21:09.715Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.047s coverage: 87.9% of statements [2021-04-09T17:21:09.715Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2021-04-09T17:21:09.715Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-04-09T17:21:09.983Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.037s coverage: 100.0% of statements [2021-04-09T17:21:10.247Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.049s coverage: 32.1% of statements [2021-04-09T17:21:10.247Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 100.0% of statements [2021-04-09T17:21:10.247Z] FAIL [2021-04-09T17:21:10.508Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2021-04-09T17:21:10.529Z] $ docker stop --time=1 131016e9f81b0ef01e77d4f8bc9569f220975b1d3ed9ceada1c6b84d8fc8a838 [2021-04-09T17:21:12.689Z] $ docker rm -f 131016e9f81b0ef01e77d4f8bc9569f220975b1d3ed9ceada1c6b84d8fc8a838 [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-09T17:21:14.231Z] Failed in branch amd64 [2021-04-09T17:21:14.519Z] using credential edgex-jenkins-ssh [2021-04-09T17:21:14.590Z] Cloning the remote Git repository [2021-04-09T17:21:14.659Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-04-09T17:21:14.765Z] > git init /w/workspace/edgex-go/30 # timeout=10 [2021-04-09T17:21:14.837Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-09T17:21:14.837Z] > git --version # timeout=10 [2021-04-09T17:21:14.868Z] > git --version # 'git version 2.17.1' [2021-04-09T17:21:14.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T17:21:14.971Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T17:21:31.168Z] Merging remotes/origin/master commit 4a93de6e2e8f65a45d7e1065c78fcf8c18a7addf into PR head commit e21a330f332f1986aaede2b796840d9ddea0ad00 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-09T17:21:31.737Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [2021-04-09T17:21:30.168Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-09T17:21:30.191Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T17:21:30.213Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-04-09T17:21:30.241Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-04-09T17:21:30.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T17:21:30.252Z] > 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-09T17:21:31.198Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T17:21:31.218Z] > git checkout -f e21a330f332f1986aaede2b796840d9ddea0ad00 # timeout=10 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-09T17:21:33.596Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:21:34.479Z] ---> package-listing.sh [2021-04-09T17:21:34.479Z] ++ facter osfamily [2021-04-09T17:21:34.479Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-09T17:21:34.479Z] + OS_FAMILY=redhat [2021-04-09T17:21:34.479Z] + workspace=/w/workspace/edgex-go/30 [2021-04-09T17:21:34.479Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-09T17:21:34.479Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-09T17:21:34.479Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-09T17:21:34.479Z] + PACKAGES=/tmp/packages_start.txt [2021-04-09T17:21:34.479Z] + '[' /w/workspace/edgex-go/30 ']' [2021-04-09T17:21:34.479Z] + PACKAGES=/tmp/packages_end.txt [2021-04-09T17:21:34.479Z] + case "${OS_FAMILY}" in [2021-04-09T17:21:34.479Z] + rpm -qa [2021-04-09T17:21:34.479Z] + sort [2021-04-09T17:21:39.774Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-09T17:21:39.774Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-09T17:21:39.774Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-09T17:21:39.774Z] + '[' /w/workspace/edgex-go/30 ']' [2021-04-09T17:21:39.774Z] + mkdir -p /w/workspace/edgex-go/30/archives/ [2021-04-09T17:21:39.774Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/30/archives/ [Pipeline] echo [2021-04-09T17:21:39.788Z] 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/30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-09T17:21:40.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-09T17:21:40.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T17:21:40.376Z] [2021-04-09T17:21:40.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-09T17:21:40.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T17:21:40.717Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-09T17:21:40.717Z] df20fa9351a1: Pulling fs layer [2021-04-09T17:21:40.717Z] 36b3adc4ff6f: Pulling fs layer [2021-04-09T17:21:40.717Z] 8ad3a11d3b57: Pulling fs layer [2021-04-09T17:21:40.717Z] 46f8f816bc3b: Pulling fs layer [2021-04-09T17:21:40.717Z] 93b61091891f: Pulling fs layer [2021-04-09T17:21:40.717Z] 93b9cdb0e59b: Pulling fs layer [2021-04-09T17:21:40.717Z] 5e14af77c1be: Pulling fs layer [2021-04-09T17:21:40.717Z] 01666e4c0597: Pulling fs layer [2021-04-09T17:21:40.717Z] aa168da1d23b: Pulling fs layer [2021-04-09T17:21:40.717Z] 93b9cdb0e59b: Waiting [2021-04-09T17:21:40.717Z] 5e14af77c1be: Waiting [2021-04-09T17:21:40.717Z] 01666e4c0597: Waiting [2021-04-09T17:21:40.717Z] aa168da1d23b: Waiting [2021-04-09T17:21:40.717Z] 46f8f816bc3b: Waiting [2021-04-09T17:21:40.717Z] 93b61091891f: Waiting [2021-04-09T17:21:40.717Z] 36b3adc4ff6f: Verifying Checksum [2021-04-09T17:21:40.717Z] 36b3adc4ff6f: Download complete [2021-04-09T17:21:40.717Z] 46f8f816bc3b: Verifying Checksum [2021-04-09T17:21:40.717Z] 46f8f816bc3b: Download complete [2021-04-09T17:21:40.979Z] df20fa9351a1: Verifying Checksum [2021-04-09T17:21:40.979Z] df20fa9351a1: Download complete [2021-04-09T17:21:40.979Z] 93b9cdb0e59b: Verifying Checksum [2021-04-09T17:21:40.979Z] 93b9cdb0e59b: Download complete [2021-04-09T17:21:40.979Z] 93b61091891f: Verifying Checksum [2021-04-09T17:21:40.979Z] 93b61091891f: Download complete [2021-04-09T17:21:40.979Z] 5e14af77c1be: Verifying Checksum [2021-04-09T17:21:40.979Z] 5e14af77c1be: Download complete [2021-04-09T17:21:40.979Z] 8ad3a11d3b57: Verifying Checksum [2021-04-09T17:21:40.979Z] 8ad3a11d3b57: Download complete [2021-04-09T17:21:40.979Z] 01666e4c0597: Verifying Checksum [2021-04-09T17:21:40.979Z] 01666e4c0597: Download complete [2021-04-09T17:21:41.239Z] df20fa9351a1: Pull complete [2021-04-09T17:21:41.501Z] 36b3adc4ff6f: Pull complete [2021-04-09T17:21:42.082Z] 8ad3a11d3b57: Pull complete [2021-04-09T17:21:42.082Z] 46f8f816bc3b: Pull complete [2021-04-09T17:21:43.489Z] 93b61091891f: Pull complete [2021-04-09T17:21:43.489Z] aa168da1d23b: Verifying Checksum [2021-04-09T17:21:43.489Z] aa168da1d23b: Download complete [2021-04-09T17:21:43.489Z] 93b9cdb0e59b: Pull complete [2021-04-09T17:21:43.489Z] 5e14af77c1be: Pull complete [2021-04-09T17:21:43.753Z] 01666e4c0597: Pull complete [2021-04-09T17:21:50.384Z] aa168da1d23b: Pull complete [2021-04-09T17:21:50.384Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-09T17:21:50.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T17:21:50.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-09T17:21:50.605Z] prd-centos7-docker-4c-2g-33455 does not seem to be running inside a container [2021-04-09T17:21:50.653Z] $ 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/30/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/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-09T17:21:53.749Z] $ docker top dacdd63b47b6e42c27a474273f3652b0adf749e5df7b7c6b38f5cacfb8faeff6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T17:21:54.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-09T17:21:54.569Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-09T17:21:54.869Z] + ls /var/log/sa-host [2021-04-09T17:21:54.869Z] + sadf -c /var/log/sa-host/sa09 [2021-04-09T17:21:54.869Z] file_magic: OK [2021-04-09T17:21:54.869Z] HZ: Using current value: 100 [2021-04-09T17:21:54.869Z] file_header: OK [2021-04-09T17:21:54.869Z] 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-09T17:21:54.869Z] Statistics: [2021-04-09T17:21:54.869Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-09T17:21:54.869Z] File successfully converted to sysstat format version 12.2.1 [2021-04-09T17:21:54.869Z] + sadf -c /var/log/sa-host/sa23 [2021-04-09T17:21:54.869Z] file_magic: OK [2021-04-09T17:21:54.869Z] HZ: Using current value: 100 [2021-04-09T17:21:54.869Z] file_header: OK [2021-04-09T17:21:54.869Z] 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-09T17:21:54.869Z] Statistics: [2021-04-09T17:21:54.869Z] Hnuu...uuuununununu... [2021-04-09T17:21:54.869Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-09T17:21:55.577Z] provisioning config files... [2021-04-09T17:21:55.595Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/30@tmp/config7548115213591867197tmp [Pipeline] { [Pipeline] echo [2021-04-09T17:21:55.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:21:55.967Z] ---> create-netrc.sh [Pipeline] } [2021-04-09T17:21:55.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-09T17:21:56.069Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:21:56.370Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-09T17:21:56.381Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:21:56.684Z] ---> sudo-logs.sh [2021-04-09T17:21:56.684Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-09T17:21:56.746Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:21:57.047Z] ---> job-cost.sh [2021-04-09T17:21:57.047Z] lf-activate-venv: SKIPPING [2021-04-09T17:21:57.047Z] INFO: No Stack... [2021-04-09T17:21:57.994Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-09T17:21:58.568Z] INFO: Archiving Costs [Pipeline] echo [2021-04-09T17:21:58.583Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T17:21:58.882Z] ---> logs-deploy.sh [2021-04-09T17:21:58.882Z] lf-activate-venv: SKIPPING [2021-04-09T17:21:58.882Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3328/30 [2021-04-09T17:21:58.882Z] INFO: archiving workspace using pattern(s): [2021-04-09T17:22:00.505Z] Archives upload complete. [2021-04-09T17:22:00.505Z] INFO: archiving logs to Nexus