Pull request #2808 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 bnevis-i for edgexfoundry/edgex-go Obtained Jenkinsfile from 7156ff8c616521b3d60b84b449292177bee561a4+0d0448aa1bb13b12920e2a3260a06e62bf327a94 (6fdb0858b516d0cbc38a249467387f72a64b0c56) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@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-14204 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/35 [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/35 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0d0448aa1bb13b12920e2a3260a06e62bf327a94 into PR head commit 7156ff8c616521b3d60b84b449292177bee561a4 Merge succeeded, producing 9825ca04921c36a11a70be5172c0de6faba2deb2 Checking out Revision 9825ca04921c36a11a70be5172c0de6faba2deb2 (PR-2808) > 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/2808/head:refs/remotes/origin/PR-2808 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7156ff8c616521b3d60b84b449292177bee561a4 # 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 0d0448aa1bb13b12920e2a3260a06e62bf327a94 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9825ca04921c36a11a70be5172c0de6faba2deb2 # timeout=10 Commit message: "Merge commit '0d0448aa1bb13b12920e2a3260a06e62bf327a94' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-02T23:39:53.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 608d08bf0c4d7f78f60d896c82284447345a94fc # timeout=10 [Pipeline] withCredentials [2020-12-02T23:39:53.914Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-02T23:39:54.017Z] ========================================================= [2020-12-02T23:39:54.017Z] EdgeX Global Pipelines Version Info [2020-12-02T23:39:54.017Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:39:55.511Z] ------------------- [2020-12-02T23:39:55.511Z] stable info: [2020-12-02T23:39:55.511Z] ------------------- [2020-12-02T23:39:55.511Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-02T23:39:55.511Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T23:39:55.511Z] Message: update stable to v1.0.169 [2020-12-02T23:39:56.457Z] ------------------- [2020-12-02T23:39:56.457Z] experimental info: [2020-12-02T23:39:56.457Z] ------------------- [2020-12-02T23:39:56.457Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-02T23:39:56.457Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T23:39:56.457Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-02T23:39:56.749Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-02T23:39:56.867Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-02T23:39:56.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-02T23:39:57.115Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-02T23:39:57.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-02T23:39:57.391Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-02T23:39:57.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-02T23:39:57.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-02T23:39:57.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-02T23:39:57.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-02T23:39:58.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-02T23:39:58.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-02T23:39:58.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-02T23:39:58.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-02T23:39:58.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T23:39:58.543Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T23:39:58.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-02T23:39:58.741Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-02T23:39:58.834Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-02T23:39:58.926Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-02T23:39:59.018Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-02T23:39:59.110Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-02T23:39:59.201Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2808 [Pipeline] echo [2020-12-02T23:39:59.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2808 [Pipeline] echo [2020-12-02T23:39:59.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2808 [Pipeline] echo [2020-12-02T23:39:59.473Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9825ca04921c36a11a70be5172c0de6faba2deb2 [Pipeline] echo [2020-12-02T23:39:59.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9825ca0 [Pipeline] echo [2020-12-02T23:39:59.652Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T23:39:59.835Z] provisioning config files... [2020-12-02T23:39:59.866Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/35@tmp/config8116181622434270025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:40:00.218Z] ---> docker-login.sh [2020-12-02T23:40:00.218Z] nexus3.edgexfoundry.org:10001 [2020-12-02T23:40:00.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:40:00.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:40:00.749Z] Configure a credential helper to remove this warning. See [2020-12-02T23:40:00.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:40:00.749Z] [2020-12-02T23:40:00.749Z] Login Succeeded [2020-12-02T23:40:00.749Z] nexus3.edgexfoundry.org:10002 [2020-12-02T23:40:00.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:40:01.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:40:01.011Z] Configure a credential helper to remove this warning. See [2020-12-02T23:40:01.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:40:01.011Z] [2020-12-02T23:40:01.011Z] Login Succeeded [2020-12-02T23:40:01.011Z] nexus3.edgexfoundry.org:10003 [2020-12-02T23:40:01.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:40:01.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:40:01.011Z] Configure a credential helper to remove this warning. See [2020-12-02T23:40:01.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:40:01.011Z] [2020-12-02T23:40:01.011Z] Login Succeeded [2020-12-02T23:40:01.011Z] nexus3.edgexfoundry.org:10004 [2020-12-02T23:40:01.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:40:01.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:40:01.273Z] Configure a credential helper to remove this warning. See [2020-12-02T23:40:01.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:40:01.273Z] [2020-12-02T23:40:01.273Z] Login Succeeded [2020-12-02T23:40:01.273Z] docker.io [2020-12-02T23:40:01.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:40:01.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:40:01.865Z] Configure a credential helper to remove this warning. See [2020-12-02T23:40:01.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:40:01.865Z] [2020-12-02T23:40:01.865Z] Login Succeeded [2020-12-02T23:40:01.865Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T23:40:01.875Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T23:40:02.408Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/core-command/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/core-data/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/security-secrets-setup/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/support-logging/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo support-logging,cmd/support-logging/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-02T23:40:02.408Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-02T23:40:02.408Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-02T23:40:02.408Z] ++ cut -d/ -f2 [2020-12-02T23:40:02.408Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-02T23:40:02.485Z] 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-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/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 [2020-12-02T23:40:04.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T23:40:04.087Z] [2020-12-02T23:40:04.087Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:40:04.439Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T23:40:04.439Z] latest: Pulling from edgex-devops/git-semver [2020-12-02T23:40:04.439Z] 31603596830f: Pulling fs layer [2020-12-02T23:40:04.439Z] 2a8b12db71e7: Pulling fs layer [2020-12-02T23:40:04.439Z] 6ca5941a6612: Pulling fs layer [2020-12-02T23:40:04.439Z] ecc8261a40a4: Pulling fs layer [2020-12-02T23:40:04.439Z] ecc8261a40a4: Waiting [2020-12-02T23:40:04.439Z] 2a8b12db71e7: Verifying Checksum [2020-12-02T23:40:04.439Z] 2a8b12db71e7: Download complete [2020-12-02T23:40:04.705Z] 31603596830f: Verifying Checksum [2020-12-02T23:40:04.705Z] 31603596830f: Download complete [2020-12-02T23:40:04.705Z] ecc8261a40a4: Verifying Checksum [2020-12-02T23:40:04.705Z] ecc8261a40a4: Download complete [2020-12-02T23:40:04.705Z] 6ca5941a6612: Verifying Checksum [2020-12-02T23:40:04.706Z] 6ca5941a6612: Download complete [2020-12-02T23:40:04.967Z] 31603596830f: Pull complete [2020-12-02T23:40:05.231Z] 2a8b12db71e7: Pull complete [2020-12-02T23:40:05.805Z] 6ca5941a6612: Pull complete [2020-12-02T23:40:06.066Z] ecc8261a40a4: Pull complete [2020-12-02T23:40:06.066Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-02T23:40:06.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T23:40:06.066Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-02T23:40:06.175Z] prd-centos7-docker-4c-2g-14204 does not seem to be running inside a container [2020-12-02T23:40:06.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/35 -v /w/workspace/edgex-go/35:/w/workspace/edgex-go/35:rw,z -v /w/workspace/edgex-go/35@tmp:/w/workspace/edgex-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-02T23:40:08.831Z] $ docker top 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T23:40:09.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T23:40:09.221Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T23:40:09.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T23:40:09.442Z] $ docker exec 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 ssh-agent [2020-12-02T23:40:09.605Z] SSH_AUTH_SOCK=/tmp/ssh-77esFoXatgoq/agent.11 [2020-12-02T23:40:09.605Z] SSH_AGENT_PID=16 [2020-12-02T23:40:09.621Z] Running ssh-add (command line suppressed) [2020-12-02T23:40:09.743Z] Identity added: /w/workspace/edgex-go/35@tmp/private_key_7629790720002111882.key (/w/workspace/edgex-go/35@tmp/private_key_7629790720002111882.key) [2020-12-02T23:40:09.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T23:40:10.140Z] + git tag --points-at HEAD [Pipeline] } [2020-12-02T23:40:10.170Z] $ docker exec --env ******** --env ******** 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 ssh-agent -k [2020-12-02T23:40:10.283Z] unset SSH_AUTH_SOCK; [2020-12-02T23:40:10.283Z] unset SSH_AGENT_PID; [2020-12-02T23:40:10.283Z] echo Agent pid 16 killed; [2020-12-02T23:40:10.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-02T23:40:10.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T23:40:10.541Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T23:40:10.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T23:40:10.711Z] $ docker exec 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 ssh-agent [2020-12-02T23:40:10.873Z] SSH_AUTH_SOCK=/tmp/ssh-lQ5UKUE6odG0/agent.45 [2020-12-02T23:40:10.873Z] SSH_AGENT_PID=51 [2020-12-02T23:40:10.881Z] Running ssh-add (command line suppressed) [2020-12-02T23:40:11.004Z] Identity added: /w/workspace/edgex-go/35@tmp/private_key_14214452732935500.key (/w/workspace/edgex-go/35@tmp/private_key_14214452732935500.key) [2020-12-02T23:40:11.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T23:40:11.390Z] + git semver init [2020-12-02T23:40:11.391Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T23:40:11.391Z] # $GIT_DIR = /w/workspace/edgex-go/35/.git [2020-12-02T23:40:11.391Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/35 [2020-12-02T23:40:11.391Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T23:40:11.391Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T23:40:11.391Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T23:40:11.391Z] # $SEMVER_BRANCH = PR-2808 [2020-12-02T23:40:11.391Z] # $SEMVER_TEMP = /tmp/semver-450642552 [2020-12-02T23:40:11.391Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-02T23:40:29.621Z] # '/tmp/semver-450642552' -> '/w/workspace/edgex-go/35/.semver' [2020-12-02T23:40:29.622Z] # -> Force: false [2020-12-02T23:40:29.622Z] # $SEMVER_DIR = /w/workspace/edgex-go/35/.semver [Pipeline] } [2020-12-02T23:40:29.637Z] $ docker exec --env ******** --env ******** 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 ssh-agent -k [2020-12-02T23:40:29.830Z] unset SSH_AUTH_SOCK; [2020-12-02T23:40:29.831Z] unset SSH_AGENT_PID; [2020-12-02T23:40:29.831Z] echo Agent pid 51 killed; [2020-12-02T23:40:29.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T23:40:30.391Z] + git semver [Pipeline] } [2020-12-02T23:40:30.411Z] $ docker stop --time=1 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 [2020-12-02T23:40:32.127Z] $ docker rm -f 71ad70517e1607791defbb0f86729b26c8cb0e160de16f2cce647f03963bc0e5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T23:40:32.644Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-02T23:40:33.121Z] Stashed 1 file(s) [Pipeline] echo [2020-12-02T23:40:33.124Z] [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 [2020-12-02T23:40:34.138Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-02T23:40:34.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T23:40:34.739Z] + sudo service docker restart [2020-12-02T23:40:34.739Z] + true [2020-12-02T23:40:34.739Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-02T23:40:35.332Z] ========================================================= [2020-12-02T23:40:35.332Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-02T23:40:35.332Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:40:35.672Z] + 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 . [2020-12-02T23:40:39.903Z] Sending build context to Docker daemon 326.4MB [2020-12-02T23:40:39.903Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-02T23:40:39.903Z] Step 2/7 : FROM ${BASE} [2020-12-02T23:40:39.903Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-02T23:40:39.903Z] 188c0c94c7c5: Pulling fs layer [2020-12-02T23:40:39.903Z] 0ef7d3d256c8: Pulling fs layer [2020-12-02T23:40:39.903Z] de9db76c5a1d: Pulling fs layer [2020-12-02T23:40:39.903Z] bca2f99d35d6: Pulling fs layer [2020-12-02T23:40:39.903Z] 93359f2a8cfa: Pulling fs layer [2020-12-02T23:40:39.903Z] 7c6f9722023f: Pulling fs layer [2020-12-02T23:40:39.903Z] a35cf1a2eb13: Pulling fs layer [2020-12-02T23:40:39.903Z] 93359f2a8cfa: Waiting [2020-12-02T23:40:39.903Z] 7c6f9722023f: Waiting [2020-12-02T23:40:39.903Z] a35cf1a2eb13: Waiting [2020-12-02T23:40:39.903Z] bca2f99d35d6: Waiting [2020-12-02T23:40:39.903Z] de9db76c5a1d: Download complete [2020-12-02T23:40:39.903Z] 0ef7d3d256c8: Download complete [2020-12-02T23:40:39.903Z] 93359f2a8cfa: Verifying Checksum [2020-12-02T23:40:39.903Z] 93359f2a8cfa: Download complete [2020-12-02T23:40:39.903Z] 188c0c94c7c5: Verifying Checksum [2020-12-02T23:40:39.903Z] 188c0c94c7c5: Download complete [2020-12-02T23:40:39.903Z] 7c6f9722023f: Verifying Checksum [2020-12-02T23:40:39.903Z] 7c6f9722023f: Download complete [2020-12-02T23:40:40.482Z] 188c0c94c7c5: Pull complete [2020-12-02T23:40:40.748Z] 0ef7d3d256c8: Pull complete [2020-12-02T23:40:40.748Z] de9db76c5a1d: Pull complete [2020-12-02T23:40:42.674Z] a35cf1a2eb13: Download complete [2020-12-02T23:40:42.940Z] bca2f99d35d6: Verifying Checksum [2020-12-02T23:40:42.940Z] bca2f99d35d6: Download complete [2020-12-02T23:40:48.633Z] Still waiting to schedule task [2020-12-02T23:40:48.633Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-02T23:40:49.607Z] bca2f99d35d6: Pull complete [2020-12-02T23:40:49.607Z] 93359f2a8cfa: Pull complete [2020-12-02T23:40:49.607Z] 7c6f9722023f: Pull complete [2020-12-02T23:40:52.929Z] a35cf1a2eb13: Pull complete [2020-12-02T23:40:52.929Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-02T23:40:52.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-02T23:40:52.929Z] ---> a62c8e92a672 [2020-12-02T23:40:52.929Z] Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2020-12-02T23:40:53.193Z] ---> Running in dbad7b78fd7c [2020-12-02T23:40:53.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T23:40:54.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T23:40:55.294Z] (1/12) Installing libmagic (5.38-r0) [2020-12-02T23:40:55.870Z] (2/12) Installing file (5.38-r0) [2020-12-02T23:40:56.133Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-02T23:40:56.133Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-02T23:41:01.442Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-02T23:41:01.442Z] (6/12) Installing patch (2.7.6-r6) [2020-12-02T23:41:01.442Z] (7/12) Installing build-base (0.5-r2) [2020-12-02T23:41:01.442Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-02T23:41:01.442Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-02T23:41:01.704Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-02T23:41:01.704Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-02T23:41:01.970Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-02T23:41:01.971Z] Executing busybox-1.31.1-r19.trigger [2020-12-02T23:41:01.971Z] OK: 233 MiB in 51 packages [2020-12-02T23:41:06.193Z] Removing intermediate container dbad7b78fd7c [2020-12-02T23:41:06.193Z] ---> fc277a957c2c [2020-12-02T23:41:06.193Z] Step 4/7 : WORKDIR /edgex-go [2020-12-02T23:41:06.193Z] ---> Running in 0a2e1b75e7f5 [2020-12-02T23:41:06.193Z] Removing intermediate container 0a2e1b75e7f5 [2020-12-02T23:41:06.193Z] ---> dde571734347 [2020-12-02T23:41:06.193Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-02T23:41:06.457Z] latest: Pulling from library/docker [2020-12-02T23:41:06.457Z] 188c0c94c7c5: Already exists [2020-12-02T23:41:06.457Z] 0c7c675703d6: Pulling fs layer [2020-12-02T23:41:06.457Z] cc8c12a437cb: Pulling fs layer [2020-12-02T23:41:06.457Z] f092543453df: Pulling fs layer [2020-12-02T23:41:06.457Z] 65b6bc45957d: Pulling fs layer [2020-12-02T23:41:06.457Z] 4de832df471b: Pulling fs layer [2020-12-02T23:41:06.457Z] 79aa7fa92271: Pulling fs layer [2020-12-02T23:41:06.457Z] 65b6bc45957d: Waiting [2020-12-02T23:41:06.457Z] 4de832df471b: Waiting [2020-12-02T23:41:06.457Z] 79aa7fa92271: Waiting [2020-12-02T23:41:06.720Z] cc8c12a437cb: Verifying Checksum [2020-12-02T23:41:06.720Z] cc8c12a437cb: Download complete [2020-12-02T23:41:06.720Z] 0c7c675703d6: Verifying Checksum [2020-12-02T23:41:06.720Z] 0c7c675703d6: Download complete [2020-12-02T23:41:06.983Z] 65b6bc45957d: Download complete [2020-12-02T23:41:06.983Z] 4de832df471b: Download complete [2020-12-02T23:41:06.983Z] 0c7c675703d6: Pull complete [2020-12-02T23:41:06.983Z] 79aa7fa92271: Verifying Checksum [2020-12-02T23:41:06.983Z] 79aa7fa92271: Download complete [2020-12-02T23:41:07.249Z] cc8c12a437cb: Pull complete [2020-12-02T23:41:07.514Z] f092543453df: Verifying Checksum [2020-12-02T23:41:07.514Z] f092543453df: Download complete [2020-12-02T23:41:10.080Z] f092543453df: Pull complete [2020-12-02T23:41:10.080Z] 65b6bc45957d: Pull complete [2020-12-02T23:41:10.080Z] 4de832df471b: Pull complete [2020-12-02T23:41:10.341Z] 79aa7fa92271: Pull complete [2020-12-02T23:41:10.341Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-02T23:41:10.341Z] Status: Downloaded newer image for docker:latest [2020-12-02T23:41:11.737Z] ---> 0d90e1ca6e60 [2020-12-02T23:41:11.737Z] Step 6/7 : COPY go.mod . [2020-12-02T23:41:12.008Z] ---> bff118d0c1ca [2020-12-02T23:41:12.008Z] Step 7/7 : RUN go mod download [2020-12-02T23:41:12.008Z] ---> Running in 77b88de98150 [2020-12-02T23:41:34.032Z] Removing intermediate container 77b88de98150 [2020-12-02T23:41:34.032Z] ---> 485e8ed83a26 [2020-12-02T23:41:34.032Z] Successfully built 485e8ed83a26 [2020-12-02T23:41:34.032Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:41:34.351Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T23:41:34.351Z] . [Pipeline] withDockerContainer [2020-12-02T23:41:34.456Z] prd-centos7-docker-4c-2g-14204 does not seem to be running inside a container [2020-12-02T23:41:34.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/35 -v /w/workspace/edgex-go/35:/w/workspace/edgex-go/35:rw,z -v /w/workspace/edgex-go/35@tmp:/w/workspace/edgex-go/35@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 ******** ci-base-image-x86_64 cat [2020-12-02T23:41:35.430Z] $ docker top 90008bb8e3eab58a5dc6f21342b8202ea605c4d6234e24d5f47c7576822c9504 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T23:41:35.981Z] + go version [2020-12-02T23:41:35.981Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-02T23:41:35.997Z] $ docker stop --time=1 90008bb8e3eab58a5dc6f21342b8202ea605c4d6234e24d5f47c7576822c9504 [2020-12-02T23:41:37.367Z] $ docker rm -f 90008bb8e3eab58a5dc6f21342b8202ea605c4d6234e24d5f47c7576822c9504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:41:38.280Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T23:41:38.280Z] . [Pipeline] withDockerContainer [2020-12-02T23:41:38.378Z] prd-centos7-docker-4c-2g-14204 does not seem to be running inside a container [2020-12-02T23:41:38.428Z] $ 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/35 -v /w/workspace/edgex-go/35:/w/workspace/edgex-go/35:rw,z -v /w/workspace/edgex-go/35@tmp:/w/workspace/edgex-go/35@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 ******** ci-base-image-x86_64 cat [2020-12-02T23:41:39.054Z] $ docker top 554b02b21771ae35dd34ff9e59b76d6e5f6bf0e14d8eda19199a97feb360d7e9 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-02T23:41:39.242Z] ========================================================= [2020-12-02T23:41:39.242Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-02T23:41:39.242Z] ========================================================= [Pipeline] sh [2020-12-02T23:41:39.533Z] + make test [2020-12-02T23:41:39.533Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-02T23:41:49.579Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-02T23:42:04.616Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-02T23:42:09.436Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-02T23:42:10.835Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-02T23:42:10.835Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-02T23:42:10.835Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-02T23:42:10.835Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-02T23:42:10.835Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-02T23:42:13.435Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.023s [2020-12-02T23:42:13.435Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-02T23:42:13.435Z] ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] [2020-12-02T23:42:13.435Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-02T23:42:14.023Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-02T23:42:14.023Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-02T23:42:14.023Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-02T23:42:14.023Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-02T23:42:17.382Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.076s coverage: 46.6% of statements [2020-12-02T23:42:17.382Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-02T23:42:17.382Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-02T23:42:17.382Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-02T23:42:17.382Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-02T23:42:17.382Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-02T23:42:20.718Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.185s coverage: 27.1% of statements [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-02T23:42:20.718Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.037s coverage: 100.0% of statements [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-02T23:42:20.718Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.058s coverage: 100.0% of statements [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-02T23:42:20.718Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.127s coverage: 65.5% of statements [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-02T23:42:20.718Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.133s coverage: 82.7% of statements [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-02T23:42:20.718Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-02T23:42:20.719Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-02T23:42:21.686Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.341s coverage: 28.6% of statements [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-02T23:42:21.686Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.065s coverage: 100.0% of statements [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-02T23:42:21.686Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.034s coverage: 100.0% of statements [2020-12-02T23:42:21.686Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-02T23:42:22.650Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.107s coverage: 86.7% of statements [2020-12-02T23:42:22.650Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-02T23:42:22.650Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.142s coverage: 97.5% of statements [2020-12-02T23:42:22.650Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-02T23:42:22.650Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.052s coverage: 78.3% of statements [2020-12-02T23:42:22.650Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-02T23:42:22.650Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-02T23:42:22.650Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-02T23:42:22.650Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-02T23:42:24.618Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.358s coverage: 95.2% of statements [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-02T23:42:24.618Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.038s coverage: 58.8% of statements [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-02T23:42:24.618Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.063s coverage: 0.0% of statements [no tests to run] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-02T23:42:24.618Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.034s coverage: 100.0% of statements [2020-12-02T23:42:24.618Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-02T23:42:24.618Z] flag provided but not defined: -badarg [2020-12-02T23:42:24.618Z] Usage of adduser: [2020-12-02T23:42:24.618Z] -algorithm string [2020-12-02T23:42:24.618Z] Algorithm used for signing the JWT, RS256 or ES256 [2020-12-02T23:42:24.618Z] -client_id string [2020-12-02T23:42:24.618Z] Optional manually-specified OAuth2 client_id. [2020-12-02T23:42:24.618Z] -client_secret string [2020-12-02T23:42:24.618Z] Optional manually-specified OAuth2 client_secret. [2020-12-02T23:42:24.618Z] -confdir string [2020-12-02T23:42:24.618Z] [2020-12-02T23:42:24.618Z] -group string [2020-12-02T23:42:24.618Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2020-12-02T23:42:24.618Z] -id string [2020-12-02T23:42:24.618Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2020-12-02T23:42:24.618Z] -public_key string [2020-12-02T23:42:24.618Z] Public key (in PEM format) used to validate the JWT. [2020-12-02T23:42:24.618Z] -redirect_uris string [2020-12-02T23:42:24.618Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2020-12-02T23:42:24.618Z] -token-type string [2020-12-02T23:42:24.618Z] Type of token to create: jwt or oauth2 [2020-12-02T23:42:24.618Z] -user string [2020-12-02T23:42:24.618Z] Username of the user to add [2020-12-02T23:42:24.618Z] --- FAIL: TestAddUserBadArg (0.00s) [2020-12-02T23:42:24.618Z] command_test.go:49: [2020-12-02T23:42:24.618Z] Error Trace: command_test.go:49 [2020-12-02T23:42:24.619Z] Error: An error is expected but got nil. [2020-12-02T23:42:24.619Z] Test: TestAddUserBadArg [2020-12-02T23:42:24.619Z] command_test.go:50: [2020-12-02T23:42:24.619Z] Error Trace: command_test.go:50 [2020-12-02T23:42:24.619Z] Error: Expected nil, but got: &adduser.cmd{loggingClient:logger.MockLogger{}, client:(*http.Client)(0xc00009f7a0), configuration:(*config.ConfigurationStruct)(0xc000122200), tokenType:"oauth2", username:"someuser", group:"admin", algorithm:"", publicKeyPath:"", jwtID:"", clientID:"", clientSecret:"", redirectUris:"https://localhost"} [2020-12-02T23:42:24.619Z] Test: TestAddUserBadArg [2020-12-02T23:42:24.619Z] bad060a9-0e2b-47ba-98d5-9d622e2322b5 [2020-12-02T23:42:24.619Z] {"client_id":"7240fdd9-1665-419b-a8c5-5691ca03af7c","client_secret":"d3191db3-8468-4a3c-87fb-df4fccfee983"} [2020-12-02T23:42:24.619Z] FAIL [2020-12-02T23:42:24.619Z] coverage: 75.5% of statements [2020-12-02T23:42:24.619Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.069s [2020-12-02T23:42:24.619Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.047s coverage: 80.8% of statements [2020-12-02T23:42:24.619Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.087s coverage: 87.2% of statements [2020-12-02T23:42:24.887Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.051s coverage: 84.2% of statements [2020-12-02T23:42:25.153Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.060s coverage: 100.0% of statements [2020-12-02T23:42:25.153Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-02T23:42:26.127Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.199s coverage: 63.5% of statements [2020-12-02T23:42:26.127Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-02T23:42:26.127Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-02T23:42:26.127Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2020-12-02T23:42:26.127Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.052s coverage: 91.3% of statements [2020-12-02T23:42:26.127Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.039s coverage: 100.0% of statements [2020-12-02T23:42:26.404Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.053s coverage: 73.7% of statements [2020-12-02T23:42:26.404Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.036s coverage: 100.0% of statements [2020-12-02T23:42:27.833Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.395s coverage: 55.9% of statements [2020-12-02T23:42:27.833Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-02T23:42:27.833Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-02T23:42:27.833Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-02T23:42:27.833Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-02T23:42:27.833Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-02T23:42:27.833Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 4.694s coverage: 86.3% of statements [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.037s coverage: 72.2% of statements [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.397s coverage: 72.1% of statements [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.058s coverage: 82.4% of statements [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.046s coverage: 48.4% of statements [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.038s coverage: 28.8% of statements [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.032s coverage: 96.8% of statements [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.115s coverage: 37.2% of statements [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-02T23:42:32.115Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.329s coverage: 84.1% of statements [2020-12-02T23:42:32.115Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.051s coverage: 100.0% of statements [2020-12-02T23:42:32.116Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.038s coverage: 42.9% of statements [2020-12-02T23:42:32.116Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] [2020-12-02T23:42:32.116Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] [2020-12-02T23:42:32.116Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.036s coverage: 100.0% of statements [2020-12-02T23:42:32.116Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] [2020-12-02T23:42:32.116Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.059s coverage: 83.8% of statements [2020-12-02T23:42:32.116Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] [2020-12-02T23:42:34.076Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.101s coverage: 47.1% of statements [2020-12-02T23:42:34.076Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-02T23:42:34.076Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-02T23:42:34.076Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.043s coverage: 100.0% of statements [2020-12-02T23:42:34.076Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-02T23:42:34.076Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-02T23:42:34.076Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-02T23:42:34.076Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.073s coverage: 100.0% of statements [2020-12-02T23:42:34.077Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-02T23:42:34.077Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.052s coverage: 100.0% of statements [2020-12-02T23:42:34.077Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-02T23:42:35.516Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.675s coverage: 29.1% of statements [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-02T23:42:35.516Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.070s coverage: 99.0% of statements [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-02T23:42:35.516Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.063s coverage: 100.0% of statements [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-02T23:42:35.516Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.032s coverage: 0.0% of statements [2020-12-02T23:42:35.516Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-02T23:42:36.090Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.034s coverage: 100.0% of statements [2020-12-02T23:42:36.090Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-02T23:42:36.090Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-02T23:42:36.090Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-02T23:42:36.090Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-02T23:42:36.090Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.035s coverage: 87.9% of statements [2020-12-02T23:42:36.090Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-02T23:42:36.090Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-02T23:42:36.090Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.035s coverage: 100.0% of statements [2020-12-02T23:42:36.669Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements [2020-12-02T23:42:36.669Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2020-12-02T23:42:36.669Z] FAIL [2020-12-02T23:42:37.250Z] make: *** [Makefile:89: test] Error 1 [Pipeline] } [2020-12-02T23:42:37.272Z] $ docker stop --time=1 554b02b21771ae35dd34ff9e59b76d6e5f6bf0e14d8eda19199a97feb360d7e9 [2020-12-02T23:42:37.931Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14205 in /w/workspace/edgexfoundry_edgex-go_PR-2808 [2020-12-02T23:42:39.018Z] $ docker rm -f 554b02b21771ae35dd34ff9e59b76d6e5f6bf0e14d8eda19199a97feb360d7e9 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-12-02T23:42:39.620Z] Running in /w/workspace/edgex-go/35 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] checkout 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] } [2020-12-02T23:42:40.964Z] Failed in branch amd64 [2020-12-02T23:42:44.928Z] using credential edgex-jenkins-ssh [2020-12-02T23:42:45.016Z] Cloning the remote Git repository [2020-12-02T23:42:45.074Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-02T23:42:45.228Z] > git init /w/workspace/edgex-go/35 # timeout=10 [2020-12-02T23:42:45.311Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-02T23:42:45.312Z] > git --version # timeout=10 [2020-12-02T23:42:45.331Z] > git --version # 'git version 2.17.1' [2020-12-02T23:42:45.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T23:42:45.415Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T23:43:01.174Z] Merging remotes/origin/master commit 0d0448aa1bb13b12920e2a3260a06e62bf327a94 into PR head commit 7156ff8c616521b3d60b84b449292177bee561a4 [2020-12-02T23:43:01.997Z] Merge succeeded, producing 55894c4dbe7062f196c8698d4a91e7bd3ed8a914 [2020-12-02T23:43:01.998Z] Checking out Revision 55894c4dbe7062f196c8698d4a91e7bd3ed8a914 (PR-2808) [2020-12-02T23:43:00.310Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-02T23:43:00.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T23:43:00.355Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-02T23:43:00.391Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-02T23:43:00.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T23:43:00.407Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2808/head:refs/remotes/origin/PR-2808 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T23:43:01.195Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T23:43:01.215Z] > git checkout -f 7156ff8c616521b3d60b84b449292177bee561a4 # timeout=10 [2020-12-02T23:43:01.548Z] > git remote # timeout=10 [2020-12-02T23:43:01.574Z] > git config --get remote.origin.url # timeout=10 [2020-12-02T23:43:01.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T23:43:01.610Z] > git merge 0d0448aa1bb13b12920e2a3260a06e62bf327a94 # timeout=10 [2020-12-02T23:43:01.973Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-02T23:43:02.006Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T23:43:02.017Z] > git checkout -f 55894c4dbe7062f196c8698d4a91e7bd3ed8a914 # timeout=10 [2020-12-02T23:43:06.561Z] Commit message: "Merge commit '0d0448aa1bb13b12920e2a3260a06e62bf327a94' into HEAD" [2020-12-02T23:43:06.581Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T23:43:08.306Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-02T23:43:06.569Z] > git rev-list --no-walk 608d08bf0c4d7f78f60d896c82284447345a94fc # timeout=10 [2020-12-02T23:43:08.742Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T23:43:09.085Z] + true [2020-12-02T23:43:09.085Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T23:43:11.789Z] provisioning config files... [2020-12-02T23:43:11.832Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/35@tmp/config1662271540495886938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:43:12.243Z] ---> docker-login.sh [2020-12-02T23:43:12.243Z] nexus3.edgexfoundry.org:10001 [2020-12-02T23:43:13.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:43:13.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:43:13.507Z] Configure a credential helper to remove this warning. See [2020-12-02T23:43:13.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:43:13.507Z] [2020-12-02T23:43:13.507Z] Login Succeeded [2020-12-02T23:43:13.507Z] nexus3.edgexfoundry.org:10002 [2020-12-02T23:43:13.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:43:14.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:43:14.069Z] Configure a credential helper to remove this warning. See [2020-12-02T23:43:14.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:43:14.069Z] [2020-12-02T23:43:14.069Z] Login Succeeded [2020-12-02T23:43:14.069Z] nexus3.edgexfoundry.org:10003 [2020-12-02T23:43:14.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:43:14.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:43:14.622Z] Configure a credential helper to remove this warning. See [2020-12-02T23:43:14.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:43:14.622Z] [2020-12-02T23:43:14.622Z] Login Succeeded [2020-12-02T23:43:14.622Z] nexus3.edgexfoundry.org:10004 [2020-12-02T23:43:14.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:43:15.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:43:15.179Z] Configure a credential helper to remove this warning. See [2020-12-02T23:43:15.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:43:15.179Z] [2020-12-02T23:43:15.179Z] Login Succeeded [2020-12-02T23:43:15.179Z] docker.io [2020-12-02T23:43:15.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T23:43:16.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T23:43:16.047Z] Configure a credential helper to remove this warning. See [2020-12-02T23:43:16.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T23:43:16.047Z] [2020-12-02T23:43:16.047Z] Login Succeeded [2020-12-02T23:43:16.047Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T23:43:16.064Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T23:43:16.488Z] ========================================================= [2020-12-02T23:43:16.488Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-02T23:43:16.488Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:43:16.875Z] + 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 . [2020-12-02T23:43:19.558Z] Sending build context to Docker daemon 165.7MB [2020-12-02T23:43:19.558Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-02T23:43:19.558Z] Step 2/7 : FROM ${BASE} [2020-12-02T23:43:19.558Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-02T23:43:19.558Z] 5f621e34cdf4: Pulling fs layer [2020-12-02T23:43:19.558Z] a4357932f1b6: Pulling fs layer [2020-12-02T23:43:19.558Z] 18c013af1878: Pulling fs layer [2020-12-02T23:43:19.559Z] 00ac8860ef70: Pulling fs layer [2020-12-02T23:43:19.559Z] 63d7cb157983: Pulling fs layer [2020-12-02T23:43:19.559Z] b116817d02f9: Pulling fs layer [2020-12-02T23:43:19.559Z] 745a02a5169b: Pulling fs layer [2020-12-02T23:43:19.559Z] 00ac8860ef70: Waiting [2020-12-02T23:43:19.559Z] 63d7cb157983: Waiting [2020-12-02T23:43:19.559Z] b116817d02f9: Waiting [2020-12-02T23:43:19.559Z] 745a02a5169b: Waiting [2020-12-02T23:43:19.559Z] 18c013af1878: Verifying Checksum [2020-12-02T23:43:19.559Z] 18c013af1878: Download complete [2020-12-02T23:43:19.559Z] a4357932f1b6: Download complete [2020-12-02T23:43:19.559Z] 63d7cb157983: Verifying Checksum [2020-12-02T23:43:19.559Z] 63d7cb157983: Download complete [2020-12-02T23:43:19.559Z] b116817d02f9: Verifying Checksum [2020-12-02T23:43:19.559Z] b116817d02f9: Download complete [2020-12-02T23:43:20.156Z] 5f621e34cdf4: Download complete [2020-12-02T23:43:20.758Z] 5f621e34cdf4: Pull complete [2020-12-02T23:43:21.362Z] a4357932f1b6: Pull complete [2020-12-02T23:43:21.967Z] 18c013af1878: Pull complete [2020-12-02T23:43:22.567Z] 745a02a5169b: Verifying Checksum [2020-12-02T23:43:22.567Z] 745a02a5169b: Download complete [2020-12-02T23:43:24.000Z] 00ac8860ef70: Verifying Checksum [2020-12-02T23:43:24.000Z] 00ac8860ef70: Download complete [2020-12-02T23:43:36.426Z] 00ac8860ef70: Pull complete [2020-12-02T23:43:36.426Z] 63d7cb157983: Pull complete [2020-12-02T23:43:36.426Z] b116817d02f9: Pull complete [2020-12-02T23:43:39.051Z] 745a02a5169b: Pull complete [2020-12-02T23:43:39.051Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-02T23:43:39.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-02T23:43:39.051Z] ---> b7e6874047d6 [2020-12-02T23:43:39.051Z] Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2020-12-02T23:43:42.460Z] ---> Running in 937996d35579 [2020-12-02T23:43:43.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T23:43:44.424Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T23:43:45.412Z] (1/12) Installing libmagic (5.38-r0) [2020-12-02T23:43:45.685Z] (2/12) Installing file (5.38-r0) [2020-12-02T23:43:45.685Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-02T23:43:45.685Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-02T23:43:49.981Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-02T23:43:49.981Z] (6/12) Installing patch (2.7.6-r6) [2020-12-02T23:43:49.981Z] (7/12) Installing build-base (0.5-r2) [2020-12-02T23:43:49.981Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-02T23:43:49.981Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-02T23:43:49.981Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-02T23:43:50.255Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-02T23:43:50.255Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-02T23:43:50.255Z] Executing busybox-1.31.1-r19.trigger [2020-12-02T23:43:50.255Z] OK: 217 MiB in 51 packages [2020-12-02T23:43:54.569Z] Removing intermediate container 937996d35579 [2020-12-02T23:43:54.569Z] ---> 41b3e0eadbe8 [2020-12-02T23:43:54.569Z] Step 4/7 : WORKDIR /edgex-go [2020-12-02T23:43:54.569Z] ---> Running in 780e336ae05a [2020-12-02T23:43:55.162Z] Removing intermediate container 780e336ae05a [2020-12-02T23:43:55.162Z] ---> 688f055c4185 [2020-12-02T23:43:55.162Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-02T23:43:55.755Z] latest: Pulling from library/docker [2020-12-02T23:43:56.033Z] 5f621e34cdf4: Already exists [2020-12-02T23:43:56.033Z] 85db56a05063: Pulling fs layer [2020-12-02T23:43:56.033Z] ccb67d6aeaaa: Pulling fs layer [2020-12-02T23:43:56.033Z] de930078acea: Pulling fs layer [2020-12-02T23:43:56.033Z] d5a9d88a4785: Pulling fs layer [2020-12-02T23:43:56.033Z] e7f15c1544d5: Pulling fs layer [2020-12-02T23:43:56.033Z] 877c515997d3: Pulling fs layer [2020-12-02T23:43:56.033Z] e7f15c1544d5: Waiting [2020-12-02T23:43:56.033Z] 877c515997d3: Waiting [2020-12-02T23:43:56.033Z] d5a9d88a4785: Waiting [2020-12-02T23:43:56.033Z] ccb67d6aeaaa: Verifying Checksum [2020-12-02T23:43:56.033Z] ccb67d6aeaaa: Download complete [2020-12-02T23:43:56.033Z] 85db56a05063: Download complete [2020-12-02T23:43:56.312Z] d5a9d88a4785: Verifying Checksum [2020-12-02T23:43:56.312Z] d5a9d88a4785: Download complete [2020-12-02T23:43:56.312Z] e7f15c1544d5: Verifying Checksum [2020-12-02T23:43:56.312Z] e7f15c1544d5: Download complete [2020-12-02T23:43:56.312Z] 877c515997d3: Verifying Checksum [2020-12-02T23:43:56.312Z] 877c515997d3: Download complete [2020-12-02T23:43:56.915Z] 85db56a05063: Pull complete [2020-12-02T23:43:57.191Z] ccb67d6aeaaa: Pull complete [2020-12-02T23:43:57.464Z] de930078acea: Verifying Checksum [2020-12-02T23:43:57.464Z] de930078acea: Download complete [2020-12-02T23:44:00.856Z] de930078acea: Pull complete [2020-12-02T23:44:01.142Z] d5a9d88a4785: Pull complete [2020-12-02T23:44:01.417Z] e7f15c1544d5: Pull complete [2020-12-02T23:44:01.691Z] 877c515997d3: Pull complete [2020-12-02T23:44:01.691Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-02T23:44:01.691Z] Status: Downloaded newer image for docker:latest [2020-12-02T23:44:05.064Z] ---> 94464b96fe70 [2020-12-02T23:44:05.064Z] Step 6/7 : COPY go.mod . [2020-12-02T23:44:05.659Z] ---> 997855285a5d [2020-12-02T23:44:05.659Z] Step 7/7 : RUN go mod download [2020-12-02T23:44:05.931Z] ---> Running in 1583035f447f [2020-12-02T23:44:32.725Z] Removing intermediate container 1583035f447f [2020-12-02T23:44:32.725Z] ---> b57101490192 [2020-12-02T23:44:32.725Z] Successfully built b57101490192 [2020-12-02T23:44:32.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:44:33.070Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T23:44:33.071Z] . [Pipeline] withDockerContainer [2020-12-02T23:44:33.343Z] prd-ubuntu18.04-docker-arm64-4c-16g-14205 does not seem to be running inside a container [2020-12-02T23:44:33.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/35 -v /w/workspace/edgex-go/35:/w/workspace/edgex-go/35:rw,z -v /w/workspace/edgex-go/35@tmp:/w/workspace/edgex-go/35@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 ******** ci-base-image-arm64 cat [2020-12-02T23:44:34.939Z] $ docker top c987e90d4d3b24ebb08a3a66fc8c988ddb94e9223045cd268293d15c63d23901 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T23:44:36.010Z] + go version [2020-12-02T23:44:36.010Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-02T23:44:36.033Z] $ docker stop --time=1 c987e90d4d3b24ebb08a3a66fc8c988ddb94e9223045cd268293d15c63d23901 [2020-12-02T23:44:38.029Z] $ docker rm -f c987e90d4d3b24ebb08a3a66fc8c988ddb94e9223045cd268293d15c63d23901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:44:39.087Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T23:44:39.087Z] . [Pipeline] withDockerContainer [2020-12-02T23:44:39.327Z] prd-ubuntu18.04-docker-arm64-4c-16g-14205 does not seem to be running inside a container [2020-12-02T23:44:39.409Z] $ 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/35 -v /w/workspace/edgex-go/35:/w/workspace/edgex-go/35:rw,z -v /w/workspace/edgex-go/35@tmp:/w/workspace/edgex-go/35@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 ******** ci-base-image-arm64 cat [2020-12-02T23:44:40.920Z] $ docker top 256afd9257e55b0ad0724a24a36b3ca35c6ce8ee96137dd7994de544b0c5810a -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-02T23:44:41.311Z] ========================================================= [2020-12-02T23:44:41.312Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-02T23:44:41.312Z] ========================================================= [Pipeline] sh [2020-12-02T23:44:41.954Z] + make test [2020-12-02T23:44:41.954Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-02T23:45:04.165Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-02T23:45:51.272Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-02T23:46:06.422Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-02T23:46:06.422Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-02T23:46:06.422Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-02T23:46:06.422Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-02T23:46:06.422Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-02T23:46:06.422Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-02T23:46:09.806Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.065s [2020-12-02T23:46:09.806Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-02T23:46:09.806Z] ? github.com/edgexfoundry/edgex-go/cmd/support-logging [no test files] [2020-12-02T23:46:10.793Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-02T23:46:12.242Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-02T23:46:12.242Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-02T23:46:12.242Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-02T23:46:12.242Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-02T23:46:22.442Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.211s coverage: 46.6% of statements [2020-12-02T23:46:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-02T23:46:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-02T23:46:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-02T23:46:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-02T23:46:22.443Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-02T23:46:27.872Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.538s coverage: 27.1% of statements [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-02T23:46:27.872Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.062s coverage: 100.0% of statements [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-02T23:46:27.872Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.075s coverage: 100.0% of statements [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-02T23:46:27.872Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.180s coverage: 65.5% of statements [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-02T23:46:27.872Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-02T23:46:28.879Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.794s coverage: 82.7% of statements [2020-12-02T23:46:28.879Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-02T23:46:28.879Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-02T23:46:28.879Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-02T23:46:28.879Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-02T23:46:35.627Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.179s coverage: 28.6% of statements [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-02T23:46:35.627Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.236s coverage: 100.0% of statements [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-02T23:46:35.627Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.075s coverage: 100.0% of statements [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-02T23:46:35.627Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.330s coverage: 86.7% of statements [2020-12-02T23:46:35.627Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-02T23:46:37.077Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.374s coverage: 97.5% of statements [2020-12-02T23:46:37.077Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-02T23:46:37.077Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.175s coverage: 78.3% of statements [2020-12-02T23:46:37.077Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-02T23:46:37.077Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-02T23:46:37.077Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-02T23:46:37.077Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-02T23:46:43.817Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.941s coverage: 95.2% of statements [2020-12-02T23:46:43.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-02T23:46:43.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-02T23:46:43.818Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.086s coverage: 58.8% of statements [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-02T23:46:43.818Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.170s coverage: 0.0% of statements [no tests to run] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-02T23:46:43.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2020-12-02T23:46:43.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-02T23:46:43.818Z] flag provided but not defined: -badarg [2020-12-02T23:46:43.818Z] Usage of adduser: [2020-12-02T23:46:43.818Z] -algorithm string [2020-12-02T23:46:43.818Z] Algorithm used for signing the JWT, RS256 or ES256 [2020-12-02T23:46:43.818Z] -client_id string [2020-12-02T23:46:43.818Z] Optional manually-specified OAuth2 client_id. [2020-12-02T23:46:43.818Z] -client_secret string [2020-12-02T23:46:43.818Z] Optional manually-specified OAuth2 client_secret. [2020-12-02T23:46:43.818Z] -confdir string [2020-12-02T23:46:43.818Z] [2020-12-02T23:46:43.818Z] -group string [2020-12-02T23:46:43.818Z] Group to which the user belongs, defaults to 'admin' (default "admin") [2020-12-02T23:46:43.818Z] -id string [2020-12-02T23:46:43.818Z] ID to use for linkage with JWT claim (usually the 'iss' field) [2020-12-02T23:46:43.818Z] -public_key string [2020-12-02T23:46:43.818Z] Public key (in PEM format) used to validate the JWT. [2020-12-02T23:46:43.818Z] -redirect_uris string [2020-12-02T23:46:43.818Z] OAuth2 redirect URL for browser-based users (default: https://localhost) (default "https://localhost") [2020-12-02T23:46:43.818Z] -token-type string [2020-12-02T23:46:43.818Z] Type of token to create: jwt or oauth2 [2020-12-02T23:46:43.818Z] -user string [2020-12-02T23:46:43.818Z] Username of the user to add [2020-12-02T23:46:43.818Z] --- FAIL: TestAddUserBadArg (0.01s) [2020-12-02T23:46:43.818Z] command_test.go:49: [2020-12-02T23:46:43.818Z] Error Trace: command_test.go:49 [2020-12-02T23:46:43.818Z] Error: An error is expected but got nil. [2020-12-02T23:46:43.818Z] Test: TestAddUserBadArg [2020-12-02T23:46:43.818Z] command_test.go:50: [2020-12-02T23:46:43.818Z] Error Trace: command_test.go:50 [2020-12-02T23:46:43.818Z] Error: Expected nil, but got: &adduser.cmd{loggingClient:logger.MockLogger{}, client:(*http.Client)(0x40000a17a0), configuration:(*config.ConfigurationStruct)(0x4000122200), tokenType:"oauth2", username:"someuser", group:"admin", algorithm:"", publicKeyPath:"", jwtID:"", clientID:"", clientSecret:"", redirectUris:"https://localhost"} [2020-12-02T23:46:43.818Z] Test: TestAddUserBadArg [2020-12-02T23:46:43.818Z] bad060a9-0e2b-47ba-98d5-9d622e2322b5 [2020-12-02T23:46:43.818Z] {"client_id":"7240fdd9-1665-419b-a8c5-5691ca03af7c","client_secret":"d3191db3-8468-4a3c-87fb-df4fccfee983"} [2020-12-02T23:46:43.818Z] FAIL [2020-12-02T23:46:43.818Z] coverage: 75.5% of statements [2020-12-02T23:46:43.818Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.116s [2020-12-02T23:46:43.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.8% of statements [2020-12-02T23:46:43.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.150s coverage: 87.2% of statements [2020-12-02T23:46:44.811Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.143s coverage: 84.2% of statements [2020-12-02T23:46:44.811Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.053s coverage: 100.0% of statements [2020-12-02T23:46:44.811Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-02T23:46:48.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.675s coverage: 63.5% of statements [2020-12-02T23:46:48.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-02T23:46:48.220Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-02T23:46:48.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.074s coverage: 100.0% of statements [2020-12-02T23:46:48.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.097s coverage: 91.3% of statements [2020-12-02T23:46:48.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.098s coverage: 100.0% of statements [2020-12-02T23:46:49.208Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.076s coverage: 73.7% of statements [2020-12-02T23:46:50.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.060s coverage: 100.0% of statements [2020-12-02T23:46:53.628Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.949s coverage: 55.9% of statements [2020-12-02T23:46:53.628Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-02T23:46:53.628Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-02T23:46:53.628Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-02T23:46:53.628Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-02T23:46:53.628Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-02T23:46:53.628Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 21.732s coverage: 86.3% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.553s coverage: 72.2% of statements [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.489s coverage: 72.1% of statements [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.089s coverage: 82.4% of statements [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.067s coverage: 48.4% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.077s coverage: 28.8% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.085s coverage: 96.8% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.346s coverage: 37.2% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.534s coverage: 84.1% of statements [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.080s coverage: 100.0% of statements [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.109s coverage: 42.9% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/config [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/container [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.055s coverage: 100.0% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/interfaces [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.080s coverage: 83.8% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/logging/logger/mongo [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.391s coverage: 47.1% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.052s coverage: 100.0% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.172s coverage: 100.0% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-02T23:47:15.818Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.110s coverage: 100.0% of statements [2020-12-02T23:47:15.818Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.878s coverage: 29.1% of statements [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.199s coverage: 99.0% of statements [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.104s coverage: 100.0% of statements [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.050s coverage: 0.0% of statements [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.067s coverage: 100.0% of statements [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.108s coverage: 87.9% of statements [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-02T23:47:22.551Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.117s coverage: 100.0% of statements [2020-12-02T23:47:22.551Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 32.1% of statements [2020-12-02T23:47:22.823Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements [2020-12-02T23:47:22.823Z] FAIL [2020-12-02T23:47:23.416Z] make: *** [Makefile:89: test] Error 1 [Pipeline] } [2020-12-02T23:47:23.439Z] $ docker stop --time=1 256afd9257e55b0ad0724a24a36b3ca35c6ce8ee96137dd7994de544b0c5810a [2020-12-02T23:47:25.797Z] $ docker rm -f 256afd9257e55b0ad0724a24a36b3ca35c6ce8ee96137dd7994de544b0c5810a [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-02T23:47:28.378Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2020-12-02T23:47:31.206Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:47:32.095Z] ---> package-listing.sh [2020-12-02T23:47:32.096Z] ++ facter osfamily [2020-12-02T23:47:32.096Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-02T23:47:32.096Z] + OS_FAMILY=redhat [2020-12-02T23:47:32.096Z] + workspace=/w/workspace/edgex-go/35 [2020-12-02T23:47:32.096Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-02T23:47:32.096Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-02T23:47:32.096Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-02T23:47:32.096Z] + PACKAGES=/tmp/packages_start.txt [2020-12-02T23:47:32.096Z] + '[' /w/workspace/edgex-go/35 ']' [2020-12-02T23:47:32.096Z] + PACKAGES=/tmp/packages_end.txt [2020-12-02T23:47:32.096Z] + case "${OS_FAMILY}" in [2020-12-02T23:47:32.096Z] + rpm -qa [2020-12-02T23:47:32.096Z] + sort [2020-12-02T23:47:37.406Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-02T23:47:37.406Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-02T23:47:37.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-02T23:47:37.406Z] + '[' /w/workspace/edgex-go/35 ']' [2020-12-02T23:47:37.406Z] + mkdir -p /w/workspace/edgex-go/35/archives/ [2020-12-02T23:47:37.406Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/35/archives/ [Pipeline] echo [2020-12-02T23:47:37.420Z] 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/35/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-02T23:47:37.713Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:47:38.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T23:47:38.023Z] [2020-12-02T23:47:38.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-02T23:47:38.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T23:47:38.404Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-02T23:47:38.404Z] df20fa9351a1: Pulling fs layer [2020-12-02T23:47:38.404Z] 36b3adc4ff6f: Pulling fs layer [2020-12-02T23:47:38.404Z] 8ad3a11d3b57: Pulling fs layer [2020-12-02T23:47:38.404Z] 46f8f816bc3b: Pulling fs layer [2020-12-02T23:47:38.404Z] 93b61091891f: Pulling fs layer [2020-12-02T23:47:38.404Z] 93b9cdb0e59b: Pulling fs layer [2020-12-02T23:47:38.404Z] 5e14af77c1be: Pulling fs layer [2020-12-02T23:47:38.404Z] 01666e4c0597: Pulling fs layer [2020-12-02T23:47:38.404Z] aa168da1d23b: Pulling fs layer [2020-12-02T23:47:38.404Z] 46f8f816bc3b: Waiting [2020-12-02T23:47:38.404Z] 01666e4c0597: Waiting [2020-12-02T23:47:38.404Z] 93b9cdb0e59b: Waiting [2020-12-02T23:47:38.404Z] 5e14af77c1be: Waiting [2020-12-02T23:47:38.404Z] aa168da1d23b: Waiting [2020-12-02T23:47:38.404Z] 36b3adc4ff6f: Download complete [2020-12-02T23:47:38.404Z] 46f8f816bc3b: Verifying Checksum [2020-12-02T23:47:38.404Z] 46f8f816bc3b: Download complete [2020-12-02T23:47:38.674Z] df20fa9351a1: Verifying Checksum [2020-12-02T23:47:38.674Z] 93b9cdb0e59b: Verifying Checksum [2020-12-02T23:47:38.674Z] 93b9cdb0e59b: Download complete [2020-12-02T23:47:38.674Z] 5e14af77c1be: Verifying Checksum [2020-12-02T23:47:38.674Z] 5e14af77c1be: Download complete [2020-12-02T23:47:38.674Z] 93b61091891f: Download complete [2020-12-02T23:47:38.674Z] 01666e4c0597: Verifying Checksum [2020-12-02T23:47:38.674Z] 01666e4c0597: Download complete [2020-12-02T23:47:38.936Z] df20fa9351a1: Pull complete [2020-12-02T23:47:39.199Z] 36b3adc4ff6f: Pull complete [2020-12-02T23:47:39.468Z] 8ad3a11d3b57: Verifying Checksum [2020-12-02T23:47:39.468Z] 8ad3a11d3b57: Download complete [2020-12-02T23:47:40.428Z] 8ad3a11d3b57: Pull complete [2020-12-02T23:47:40.428Z] 46f8f816bc3b: Pull complete [2020-12-02T23:47:41.007Z] 93b61091891f: Pull complete [2020-12-02T23:47:41.007Z] 93b9cdb0e59b: Pull complete [2020-12-02T23:47:41.269Z] aa168da1d23b: Verifying Checksum [2020-12-02T23:47:41.269Z] aa168da1d23b: Download complete [2020-12-02T23:47:41.531Z] 5e14af77c1be: Pull complete [2020-12-02T23:47:41.531Z] 01666e4c0597: Pull complete [2020-12-02T23:47:49.728Z] aa168da1d23b: Pull complete [2020-12-02T23:47:49.728Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-02T23:47:49.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T23:47:49.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-02T23:47:49.924Z] prd-centos7-docker-4c-2g-14204 does not seem to be running inside a container [2020-12-02T23:47:49.970Z] $ 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/35/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/35 -v /w/workspace/edgex-go/35:/w/workspace/edgex-go/35:rw,z -v /w/workspace/edgex-go/35@tmp:/w/workspace/edgex-go/35@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:10003/edgex-lftools-log-publisher:alpine cat [2020-12-02T23:47:53.447Z] $ docker top 1fb011b16ff2a9abce7d613f2cbeefe58dc5d61efb58c5ed91723ee9d454b585 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T23:47:54.049Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-02T23:47:54.351Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-02T23:47:54.659Z] + ls /var/log/sa-host [2020-12-02T23:47:54.659Z] + sadf -c /var/log/sa-host/sa02 [2020-12-02T23:47:54.659Z] file_magic: OK [2020-12-02T23:47:54.659Z] HZ: Using current value: 100 [2020-12-02T23:47:54.659Z] file_header: OK [2020-12-02T23:47:54.659Z] 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 [2020-12-02T23:47:54.659Z] Statistics: [2020-12-02T23:47:54.659Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-02T23:47:54.659Z] File successfully converted to sysstat format version 12.2.1 [2020-12-02T23:47:54.659Z] + sadf -c /var/log/sa-host/sa23 [2020-12-02T23:47:54.659Z] file_magic: OK [2020-12-02T23:47:54.659Z] HZ: Using current value: 100 [2020-12-02T23:47:54.659Z] file_header: OK [2020-12-02T23:47:54.659Z] 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 [2020-12-02T23:47:54.659Z] Statistics: [2020-12-02T23:47:54.659Z] Hnuu...uuuununununu... [2020-12-02T23:47:54.659Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-02T23:47:55.326Z] provisioning config files... [2020-12-02T23:47:55.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/35@tmp/config6800812483125888854tmp [Pipeline] { [Pipeline] echo [2020-12-02T23:47:55.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:47:55.858Z] ---> create-netrc.sh [Pipeline] } [2020-12-02T23:47:55.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-02T23:47:56.000Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:47:56.330Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-02T23:47:56.342Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:47:56.640Z] ---> sudo-logs.sh [2020-12-02T23:47:56.640Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-02T23:47:56.651Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:47:56.949Z] ---> job-cost.sh [2020-12-02T23:47:56.949Z] lf-activate-venv: SKIPPING [2020-12-02T23:47:56.949Z] INFO: No Stack... [2020-12-02T23:47:57.896Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-02T23:47:58.471Z] INFO: Archiving Costs [Pipeline] echo [2020-12-02T23:47:58.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T23:47:58.784Z] ---> logs-deploy.sh [2020-12-02T23:47:58.784Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2808/35 [2020-12-02T23:47:58.784Z] INFO: archiving workspace using pattern(s): [2020-12-02T23:48:00.173Z] Archives upload complete. [2020-12-02T23:48:00.435Z] INFO: archiving logs to Nexus [2020-12-02T23:48:01.382Z] ---> uname -a: [2020-12-02T23:48:01.382Z] Linux prd-centos7-docker-4c-2g-14204.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] ---> lscpu: [2020-12-02T23:48:01.382Z] Architecture: x86_64 [2020-12-02T23:48:01.382Z] CPU op-mode(s): 32-bit, 64-bit [2020-12-02T23:48:01.382Z] Byte Order: Little Endian [2020-12-02T23:48:01.382Z] Address sizes: 40 bits physical, 48 bits virtual [2020-12-02T23:48:01.382Z] CPU(s): 4 [2020-12-02T23:48:01.382Z] On-line CPU(s) list: 0-3 [2020-12-02T23:48:01.382Z] Thread(s) per core: 1 [2020-12-02T23:48:01.382Z] Core(s) per socket: 1 [2020-12-02T23:48:01.382Z] Socket(s): 4 [2020-12-02T23:48:01.382Z] NUMA node(s): 1 [2020-12-02T23:48:01.382Z] Vendor ID: GenuineIntel [2020-12-02T23:48:01.382Z] CPU family: 6 [2020-12-02T23:48:01.382Z] Model: 44 [2020-12-02T23:48:01.382Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-12-02T23:48:01.382Z] Stepping: 1 [2020-12-02T23:48:01.382Z] CPU MHz: 2933.436 [2020-12-02T23:48:01.382Z] BogoMIPS: 5866.87 [2020-12-02T23:48:01.382Z] Virtualization: VT-x [2020-12-02T23:48:01.382Z] Hypervisor vendor: KVM [2020-12-02T23:48:01.382Z] Virtualization type: full [2020-12-02T23:48:01.382Z] L1d cache: 128 KiB [2020-12-02T23:48:01.382Z] L1i cache: 128 KiB [2020-12-02T23:48:01.382Z] L2 cache: 16 MiB [2020-12-02T23:48:01.382Z] L3 cache: 64 MiB [2020-12-02T23:48:01.382Z] NUMA node0 CPU(s): 0-3 [2020-12-02T23:48:01.382Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-12-02T23:48:01.382Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-12-02T23:48:01.382Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-12-02T23:48:01.382Z] Vulnerability Meltdown: Mitigation; PTI [2020-12-02T23:48:01.382Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-12-02T23:48:01.382Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-12-02T23:48:01.382Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-12-02T23:48:01.382Z] Vulnerability Srbds: Not affected [2020-12-02T23:48:01.382Z] Vulnerability Tsx async abort: Not affected [2020-12-02T23:48:01.382Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] ---> nproc: [2020-12-02T23:48:01.382Z] 4 [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] ---> df -h: [2020-12-02T23:48:01.382Z] Filesystem Size Used Available Use% Mounted on [2020-12-02T23:48:01.382Z] overlay 50.0G 8.5G 41.5G 17% / [2020-12-02T23:48:01.382Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-12-02T23:48:01.382Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-12-02T23:48:01.382Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /facter-os [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /etc/resolv.conf [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hostname [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hosts [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/secure [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/auth.log [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /run/cloud-init/result.json [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/sa-host [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/edgex-go/35 [2020-12-02T23:48:01.382Z] /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/edgex-go/35@tmp [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] ---> free -m: [2020-12-02T23:48:01.382Z] total used free shared buff/cache available [2020-12-02T23:48:01.382Z] Mem: 1837 757 136 0 943 987 [2020-12-02T23:48:01.382Z] Swap: 1023 3 1020 [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] [2020-12-02T23:48:01.382Z] ---> ip addr: [2020-12-02T23:48:01.382Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-12-02T23:48:01.382Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-12-02T23:48:01.382Z] inet 127.0.0.1/8 scope host lo [2020-12-02T23:48:01.382Z] valid_lft forever preferred_lft forever [2020-12-02T23:48:01.382Z] inet6 ::1/128 scope host [2020-12-02T23:48:01.383Z] valid_lft forever preferred_lft forever [2020-12-02T23:48:01.383Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2020-12-02T23:48:01.383Z] link/ether fa:16:3e:03:bd:42 brd ff:ff:ff:ff:ff:ff [2020-12-02T23:48:01.383Z] inet 10.30.123.74/23 brd 10.30.123.255 scope global dynamic eth0 [2020-12-02T23:48:01.383Z] valid_lft 85873sec preferred_lft 85873sec [2020-12-02T23:48:01.383Z] inet6 fe80::f816:3eff:fe03:bd42/64 scope link [2020-12-02T23:48:01.383Z] valid_lft forever preferred_lft forever [2020-12-02T23:48:01.383Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2020-12-02T23:48:01.383Z] link/ether 02:42:bb:b4:47:0c brd ff:ff:ff:ff:ff:ff [2020-12-02T23:48:01.383Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2020-12-02T23:48:01.383Z] valid_lft forever preferred_lft forever [2020-12-02T23:48:01.383Z] inet6 fe80::42:bbff:feb4:470c/64 scope link [2020-12-02T23:48:01.383Z] valid_lft forever preferred_lft forever [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] ---> sar -b -r -n DEV: [2020-12-02T23:48:01.383Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/02/20 _x86_64_ (4 CPU) [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] 23:39:00 LINUX RESTART (4 CPU) [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] 23:40:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2020-12-02T23:48:01.383Z] 23:41:01 211.88 96.34 115.54 0.00 7989.35 46358.98 0.00 [2020-12-02T23:48:01.383Z] 23:42:02 292.17 120.08 172.09 0.00 5516.21 34431.92 0.00 [2020-12-02T23:48:01.383Z] 23:43:01 113.74 43.37 70.37 0.00 2406.09 10187.61 0.00 [2020-12-02T23:48:01.383Z] 23:44:01 1.93 0.05 1.88 0.00 1.60 38.52 0.00 [2020-12-02T23:48:01.383Z] 23:45:01 0.27 0.05 0.22 0.00 1.60 2.61 0.00 [2020-12-02T23:48:01.383Z] 23:46:01 1.58 1.02 0.57 0.00 124.58 6.01 0.00 [2020-12-02T23:48:01.383Z] 23:47:01 0.25 0.00 0.25 0.00 0.00 2.91 0.00 [2020-12-02T23:48:01.383Z] Average: 88.85 37.29 51.56 0.00 2292.86 13021.51 0.00 [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] 23:40:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-12-02T23:48:01.383Z] 23:41:01 69308 0 714240 37.96 2012 1095984 1451480 49.54 550072 1019388 70112 [2020-12-02T23:48:01.383Z] 23:42:02 158576 0 771848 41.02 940 950180 1749840 59.72 634376 811216 68088 [2020-12-02T23:48:01.383Z] 23:43:01 592608 0 696304 37.01 548 592084 1148640 39.20 471772 549872 20 [2020-12-02T23:48:01.383Z] 23:44:01 607556 0 681180 36.20 548 592260 1084448 37.01 477664 536068 12 [2020-12-02T23:48:01.383Z] 23:45:01 607924 0 680748 36.18 548 592324 1080420 36.87 474568 538832 12 [2020-12-02T23:48:01.383Z] 23:46:01 604400 0 680580 36.17 548 596016 1080384 36.87 474576 542556 8 [2020-12-02T23:48:01.383Z] 23:47:01 604664 0 680312 36.16 548 596020 1080336 36.87 473356 543432 8 [2020-12-02T23:48:01.383Z] Average: 463577 0 700745 37.24 813 716410 1239364 42.30 508055 648766 19751 [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] 23:40:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2020-12-02T23:48:01.383Z] 23:41:01 veth5c675b2 40.14 65.97 2.97 360.28 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:41:01 eth0 1098.29 1148.12 6184.01 141.53 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:41:01 docker0 848.90 742.68 69.34 3021.98 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:42:02 veth69dc4b4 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:42:02 eth0 328.21 256.24 1603.87 32.96 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:42:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:42:02 docker0 104.79 115.69 8.22 479.60 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:43:01 eth0 39.16 27.03 22.36 65.67 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:44:01 eth0 0.38 0.23 0.28 0.05 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:45:01 eth0 0.20 0.15 0.08 0.07 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:46:01 eth0 0.13 0.07 0.06 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:47:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] 23:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] Average: eth0 210.07 205.14 1119.30 34.27 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] Average: docker0 136.67 123.01 11.11 501.80 0.00 0.00 0.00 0.00 [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] ---> sar -P ALL: [2020-12-02T23:48:01.383Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/02/20 _x86_64_ (4 CPU) [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] 23:39:00 LINUX RESTART (4 CPU) [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] 23:40:01 CPU %user %nice %system %iowait %steal %idle [2020-12-02T23:48:01.383Z] 23:41:01 all 16.07 0.00 9.21 1.89 0.10 72.74 [2020-12-02T23:48:01.383Z] 23:41:01 0 14.68 0.00 11.37 1.64 0.09 72.22 [2020-12-02T23:48:01.383Z] 23:41:01 1 18.55 0.00 8.50 1.16 0.10 71.69 [2020-12-02T23:48:01.383Z] 23:41:01 2 16.19 0.00 8.55 2.83 0.10 72.34 [2020-12-02T23:48:01.383Z] 23:41:01 3 14.85 0.00 8.43 1.92 0.10 74.70 [2020-12-02T23:48:01.383Z] 23:42:02 all 28.31 0.00 11.07 8.61 0.12 51.88 [2020-12-02T23:48:01.383Z] 23:42:02 0 29.03 0.00 10.82 7.34 0.12 52.68 [2020-12-02T23:48:01.383Z] 23:42:02 1 28.12 0.00 10.21 6.82 0.12 54.73 [2020-12-02T23:48:01.383Z] 23:42:02 2 28.49 0.00 11.63 9.75 0.10 50.03 [2020-12-02T23:48:01.383Z] 23:42:02 3 27.58 0.00 11.64 10.55 0.14 50.09 [2020-12-02T23:48:01.383Z] 23:43:01 all 37.63 0.00 9.22 2.49 0.05 50.61 [2020-12-02T23:48:01.383Z] 23:43:01 0 37.40 0.00 9.04 1.86 0.05 51.65 [2020-12-02T23:48:01.383Z] 23:43:01 1 36.88 0.00 9.76 2.74 0.03 50.59 [2020-12-02T23:48:01.383Z] 23:43:01 2 40.08 0.00 8.92 1.88 0.05 49.07 [2020-12-02T23:48:01.383Z] 23:43:01 3 36.14 0.00 9.17 3.50 0.07 51.12 [2020-12-02T23:48:01.383Z] 23:44:01 all 0.17 0.00 0.05 0.00 0.00 99.77 [2020-12-02T23:48:01.383Z] 23:44:01 0 0.05 0.00 0.05 0.00 0.00 99.90 [2020-12-02T23:48:01.383Z] 23:44:01 1 0.57 0.00 0.05 0.00 0.00 99.38 [2020-12-02T23:48:01.383Z] 23:44:01 2 0.05 0.00 0.08 0.00 0.00 99.87 [2020-12-02T23:48:01.383Z] 23:44:01 3 0.02 0.00 0.03 0.00 0.02 99.93 [2020-12-02T23:48:01.383Z] 23:45:01 all 0.17 0.00 0.06 0.00 0.01 99.76 [2020-12-02T23:48:01.383Z] 23:45:01 0 0.07 0.00 0.07 0.00 0.00 99.87 [2020-12-02T23:48:01.383Z] 23:45:01 1 0.53 0.00 0.08 0.00 0.02 99.37 [2020-12-02T23:48:01.383Z] 23:45:01 2 0.03 0.00 0.05 0.00 0.02 99.90 [2020-12-02T23:48:01.383Z] 23:45:01 3 0.05 0.00 0.03 0.00 0.00 99.92 [2020-12-02T23:48:01.383Z] 23:46:01 all 0.13 0.00 0.05 0.00 0.00 99.82 [2020-12-02T23:48:01.383Z] 23:46:01 0 0.02 0.00 0.03 0.02 0.00 99.93 [2020-12-02T23:48:01.383Z] 23:46:01 1 0.45 0.00 0.12 0.00 0.00 99.43 [2020-12-02T23:48:01.383Z] 23:46:01 2 0.02 0.00 0.03 0.00 0.00 99.95 [2020-12-02T23:48:01.383Z] 23:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 [2020-12-02T23:48:01.383Z] 23:47:01 all 0.04 0.00 0.04 0.00 0.00 99.92 [2020-12-02T23:48:01.383Z] 23:47:01 0 0.07 0.00 0.07 0.00 0.02 99.85 [2020-12-02T23:48:01.383Z] 23:47:01 1 0.07 0.00 0.03 0.00 0.00 99.90 [2020-12-02T23:48:01.383Z] 23:47:01 2 0.02 0.00 0.05 0.00 0.00 99.93 [2020-12-02T23:48:01.383Z] 23:47:01 3 0.00 0.00 0.02 0.00 0.00 99.98 [2020-12-02T23:48:01.383Z] Average: all 11.53 0.00 4.16 1.82 0.04 82.45 [2020-12-02T23:48:01.383Z] Average: 0 11.38 0.00 4.40 1.52 0.04 82.66 [2020-12-02T23:48:01.383Z] Average: 1 11.94 0.00 4.04 1.51 0.04 82.48 [2020-12-02T23:48:01.383Z] Average: 2 11.86 0.00 4.11 2.03 0.04 81.97 [2020-12-02T23:48:01.383Z] Average: 3 10.94 0.00 4.10 2.23 0.05 82.69 [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z] [2020-12-02T23:48:01.383Z]