Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f9a365f7bec3b91833d36039a8b3afd8c5b02052+0163c92eb67c845bff5e90a4dc6407d0e1146c78 (f29c34c4ea621d6441f52df3d0bd556b76a8a9de) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14404 in /w/workspace/edgexfoundry_edgex-go_PR-2921 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2921/head:refs/remotes/origin/PR-2921 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0163c92eb67c845bff5e90a4dc6407d0e1146c78 into PR head commit f9a365f7bec3b91833d36039a8b3afd8c5b02052 Merge succeeded, producing 9fe8bbb470846a6accf88d8ed19f10b22a805367 Checking out Revision 9fe8bbb470846a6accf88d8ed19f10b22a805367 (PR-2921) > git config core.sparsecheckout # timeout=10 > git checkout -f f9a365f7bec3b91833d36039a8b3afd8c5b02052 # 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 0163c92eb67c845bff5e90a4dc6407d0e1146c78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fe8bbb470846a6accf88d8ed19f10b22a805367 # timeout=10 Commit message: "Merge commit '0163c92eb67c845bff5e90a4dc6407d0e1146c78' into HEAD" > git rev-list --no-walk f9a365f7bec3b91833d36039a8b3afd8c5b02052 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-04T00:30:10.103Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-04T00:30:10.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-04T00:30:10.543Z] ========================================================= [2020-12-04T00:30:10.543Z] EdgeX Global Pipelines Version Info [2020-12-04T00:30:10.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:30:12.091Z] ------------------- [2020-12-04T00:30:12.091Z] stable info: [2020-12-04T00:30:12.091Z] ------------------- [2020-12-04T00:30:12.091Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-04T00:30:12.091Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-04T00:30:12.091Z] Message: update stable to v1.0.169 [2020-12-04T00:30:13.040Z] ------------------- [2020-12-04T00:30:13.040Z] experimental info: [2020-12-04T00:30:13.040Z] ------------------- [2020-12-04T00:30:13.040Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-04T00:30:13.040Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-04T00:30:13.040Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-04T00:30:13.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-04T00:30:13.458Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-04T00:30:13.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-04T00:30:13.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-04T00:30:13.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-04T00:30:13.840Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-04T00:30:13.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-04T00:30:14.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-04T00:30:14.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-04T00:30:14.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-04T00:30:14.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-04T00:30:14.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-04T00:30:14.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-04T00:30:14.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-04T00:30:14.789Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-04T00:30:14.878Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-04T00:30:14.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-04T00:30:15.082Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-04T00:30:15.171Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-04T00:30:15.265Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-04T00:30:16.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-04T00:30:16.340Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-04T00:30:16.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2921 [Pipeline] echo [2020-12-04T00:30:16.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2921 [Pipeline] echo [2020-12-04T00:30:16.745Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2921 [Pipeline] echo [2020-12-04T00:30:16.835Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fe8bbb470846a6accf88d8ed19f10b22a805367 [Pipeline] echo [2020-12-04T00:30:16.951Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fe8bbb [Pipeline] echo [2020-12-04T00:30:17.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-04T00:30:17.258Z] provisioning config files... [2020-12-04T00:30:17.295Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config3791013784669686873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:30:17.657Z] ---> docker-login.sh [2020-12-04T00:30:17.657Z] nexus3.edgexfoundry.org:10001 [2020-12-04T00:30:17.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:30:17.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:30:17.924Z] Configure a credential helper to remove this warning. See [2020-12-04T00:30:17.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:30:17.925Z] [2020-12-04T00:30:17.925Z] Login Succeeded [2020-12-04T00:30:17.925Z] nexus3.edgexfoundry.org:10002 [2020-12-04T00:30:18.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:30:18.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:30:18.193Z] Configure a credential helper to remove this warning. See [2020-12-04T00:30:18.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:30:18.193Z] [2020-12-04T00:30:18.193Z] Login Succeeded [2020-12-04T00:30:18.193Z] nexus3.edgexfoundry.org:10003 [2020-12-04T00:30:18.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:30:18.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:30:18.460Z] Configure a credential helper to remove this warning. See [2020-12-04T00:30:18.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:30:18.460Z] [2020-12-04T00:30:18.460Z] Login Succeeded [2020-12-04T00:30:18.460Z] nexus3.edgexfoundry.org:10004 [2020-12-04T00:30:18.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:30:18.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:30:18.460Z] Configure a credential helper to remove this warning. See [2020-12-04T00:30:18.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:30:18.460Z] [2020-12-04T00:30:18.460Z] Login Succeeded [2020-12-04T00:30:18.460Z] docker.io [2020-12-04T00:30:18.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:30:18.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:30:18.986Z] Configure a credential helper to remove this warning. See [2020-12-04T00:30:18.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:30:18.986Z] [2020-12-04T00:30:18.986Z] Login Succeeded [2020-12-04T00:30:18.986Z] ---> docker-login.sh ends [Pipeline] } [2020-12-04T00:30:18.996Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-04T00:30:19.492Z] ++ 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-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/core-command/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/core-data/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/security-secrets-setup/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-04T00:30:19.492Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-04T00:30:19.492Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-04T00:30:19.492Z] ++ cut -d/ -f2 [2020-12-04T00:30:19.492Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-04T00:30:19.564Z] 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-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-04T00:30:20.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-04T00:30:20.456Z] [2020-12-04T00:30:20.456Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:30:20.810Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-04T00:30:20.811Z] latest: Pulling from edgex-devops/git-semver [2020-12-04T00:30:20.811Z] 31603596830f: Pulling fs layer [2020-12-04T00:30:20.811Z] 2a8b12db71e7: Pulling fs layer [2020-12-04T00:30:20.811Z] 6ca5941a6612: Pulling fs layer [2020-12-04T00:30:20.811Z] ecc8261a40a4: Pulling fs layer [2020-12-04T00:30:20.811Z] ecc8261a40a4: Waiting [2020-12-04T00:30:20.811Z] 2a8b12db71e7: Download complete [2020-12-04T00:30:20.811Z] 31603596830f: Verifying Checksum [2020-12-04T00:30:20.811Z] 31603596830f: Download complete [2020-12-04T00:30:21.077Z] ecc8261a40a4: Verifying Checksum [2020-12-04T00:30:21.077Z] ecc8261a40a4: Download complete [2020-12-04T00:30:21.077Z] 6ca5941a6612: Download complete [2020-12-04T00:30:21.350Z] 31603596830f: Pull complete [2020-12-04T00:30:21.616Z] 2a8b12db71e7: Pull complete [2020-12-04T00:30:22.567Z] 6ca5941a6612: Pull complete [2020-12-04T00:30:22.567Z] ecc8261a40a4: Pull complete [2020-12-04T00:30:22.567Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-04T00:30:22.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-04T00:30:22.567Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-04T00:30:22.671Z] prd-centos7-docker-4c-2g-14404 does not seem to be running inside a container [2020-12-04T00:30:22.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-04T00:30:25.433Z] $ docker top cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-04T00:30:25.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-04T00:30:25.866Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-04T00:30:26.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-04T00:30:26.112Z] $ docker exec cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 ssh-agent [2020-12-04T00:30:26.317Z] SSH_AUTH_SOCK=/tmp/ssh-4fMyQGdXaeQY/agent.13 [2020-12-04T00:30:26.317Z] SSH_AGENT_PID=19 [2020-12-04T00:30:26.337Z] Running ssh-add (command line suppressed) [2020-12-04T00:30:26.467Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_1659442670147857106.key (/w/workspace/edgex-go/2@tmp/private_key_1659442670147857106.key) [2020-12-04T00:30:26.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-04T00:30:26.893Z] + git tag --points-at HEAD [Pipeline] } [2020-12-04T00:30:26.921Z] $ docker exec --env ******** --env ******** cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 ssh-agent -k [2020-12-04T00:30:27.039Z] unset SSH_AUTH_SOCK; [2020-12-04T00:30:27.039Z] unset SSH_AGENT_PID; [2020-12-04T00:30:27.039Z] echo Agent pid 19 killed; [2020-12-04T00:30:27.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-04T00:30:27.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-04T00:30:27.272Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-04T00:30:27.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-04T00:30:27.462Z] $ docker exec cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 ssh-agent [2020-12-04T00:30:27.625Z] SSH_AUTH_SOCK=/tmp/ssh-r0XOVJc0nE70/agent.47 [2020-12-04T00:30:27.625Z] SSH_AGENT_PID=52 [2020-12-04T00:30:27.636Z] Running ssh-add (command line suppressed) [2020-12-04T00:30:27.759Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_4331934221066157672.key (/w/workspace/edgex-go/2@tmp/private_key_4331934221066157672.key) [2020-12-04T00:30:27.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-04T00:30:28.168Z] + git semver init [2020-12-04T00:30:28.168Z] # -> Open(): unable to determine branch for HEAD [2020-12-04T00:30:28.168Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2020-12-04T00:30:28.168Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2020-12-04T00:30:28.168Z] # $SEMVER_REMOTE_NAME = origin [2020-12-04T00:30:28.168Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-04T00:30:28.168Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-04T00:30:28.168Z] # $SEMVER_BRANCH = PR-2921 [2020-12-04T00:30:28.168Z] # $SEMVER_TEMP = /tmp/semver-335273428 [2020-12-04T00:30:28.168Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-04T00:30:50.231Z] # '/tmp/semver-335273428' -> '/w/workspace/edgex-go/2/.semver' [2020-12-04T00:30:50.231Z] # -> Force: false [2020-12-04T00:30:50.231Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2020-12-04T00:30:50.250Z] $ docker exec --env ******** --env ******** cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 ssh-agent -k [2020-12-04T00:30:50.449Z] unset SSH_AUTH_SOCK; [2020-12-04T00:30:50.450Z] unset SSH_AGENT_PID; [2020-12-04T00:30:50.450Z] echo Agent pid 52 killed; [2020-12-04T00:30:50.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-04T00:30:51.087Z] + git semver [Pipeline] } [2020-12-04T00:30:51.107Z] $ docker stop --time=1 cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 [2020-12-04T00:30:52.775Z] $ docker rm -f cfb5724074943ab9580b6ba2b701e27778bbfcca8f2d4fa25a88dc3dc162c685 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-04T00:30:53.358Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-04T00:30:53.936Z] Stashed 1 file(s) [Pipeline] echo [2020-12-04T00:30:53.939Z] [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-04T00:30:54.893Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-04T00:30:55.213Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-04T00:30:55.530Z] + sudo service docker restart [2020-12-04T00:30:55.530Z] + true [2020-12-04T00:30:55.530Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-04T00:30:56.129Z] ========================================================= [2020-12-04T00:30:56.129Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-04T00:30:56.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:30:56.530Z] + 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-04T00:31:00.799Z] Sending build context to Docker daemon 326.2MB [2020-12-04T00:31:00.799Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-04T00:31:00.799Z] Step 2/7 : FROM ${BASE} [2020-12-04T00:31:00.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-04T00:31:00.799Z] 188c0c94c7c5: Pulling fs layer [2020-12-04T00:31:00.799Z] 0ef7d3d256c8: Pulling fs layer [2020-12-04T00:31:00.799Z] de9db76c5a1d: Pulling fs layer [2020-12-04T00:31:00.799Z] bca2f99d35d6: Pulling fs layer [2020-12-04T00:31:00.799Z] 93359f2a8cfa: Pulling fs layer [2020-12-04T00:31:00.799Z] 7c6f9722023f: Pulling fs layer [2020-12-04T00:31:00.799Z] a35cf1a2eb13: Pulling fs layer [2020-12-04T00:31:00.799Z] 93359f2a8cfa: Waiting [2020-12-04T00:31:00.799Z] a35cf1a2eb13: Waiting [2020-12-04T00:31:00.799Z] 7c6f9722023f: Waiting [2020-12-04T00:31:00.799Z] bca2f99d35d6: Waiting [2020-12-04T00:31:00.799Z] de9db76c5a1d: Verifying Checksum [2020-12-04T00:31:00.799Z] de9db76c5a1d: Download complete [2020-12-04T00:31:00.799Z] 0ef7d3d256c8: Download complete [2020-12-04T00:31:00.799Z] 93359f2a8cfa: Verifying Checksum [2020-12-04T00:31:00.799Z] 93359f2a8cfa: Download complete [2020-12-04T00:31:00.799Z] 7c6f9722023f: Verifying Checksum [2020-12-04T00:31:00.799Z] 7c6f9722023f: Download complete [2020-12-04T00:31:00.799Z] 188c0c94c7c5: Download complete [2020-12-04T00:31:01.063Z] 188c0c94c7c5: Pull complete [2020-12-04T00:31:01.332Z] 0ef7d3d256c8: Pull complete [2020-12-04T00:31:01.597Z] de9db76c5a1d: Pull complete [2020-12-04T00:31:02.178Z] a35cf1a2eb13: Verifying Checksum [2020-12-04T00:31:02.178Z] a35cf1a2eb13: Download complete [2020-12-04T00:31:03.135Z] bca2f99d35d6: Verifying Checksum [2020-12-04T00:31:03.135Z] bca2f99d35d6: Download complete [2020-12-04T00:31:08.491Z] bca2f99d35d6: Pull complete [2020-12-04T00:31:08.758Z] 93359f2a8cfa: Pull complete [2020-12-04T00:31:08.758Z] 7c6f9722023f: Pull complete [2020-12-04T00:31:09.354Z] Still waiting to schedule task [2020-12-04T00:31:09.354Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-04T00:31:14.114Z] a35cf1a2eb13: Pull complete [2020-12-04T00:31:14.115Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-04T00:31:14.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-04T00:31:14.115Z] ---> a62c8e92a672 [2020-12-04T00:31:14.115Z] 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-04T00:31:14.115Z] ---> Running in b026b86471f8 [2020-12-04T00:31:14.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-04T00:31:15.331Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-04T00:31:16.731Z] (1/12) Installing libmagic (5.38-r0) [2020-12-04T00:31:16.996Z] (2/12) Installing file (5.38-r0) [2020-12-04T00:31:16.996Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-04T00:31:17.259Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-04T00:31:49.431Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-04T00:31:49.431Z] (6/12) Installing patch (2.7.6-r6) [2020-12-04T00:31:49.431Z] (7/12) Installing build-base (0.5-r2) [2020-12-04T00:31:49.431Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-04T00:31:49.431Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-04T00:31:49.431Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-04T00:31:49.431Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-04T00:31:49.431Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-04T00:31:49.431Z] Executing busybox-1.31.1-r19.trigger [2020-12-04T00:31:49.431Z] OK: 233 MiB in 51 packages [2020-12-04T00:31:50.376Z] Removing intermediate container b026b86471f8 [2020-12-04T00:31:50.376Z] ---> 82783ce081fd [2020-12-04T00:31:50.376Z] Step 4/7 : WORKDIR /edgex-go [2020-12-04T00:31:50.376Z] ---> Running in b7862e712054 [2020-12-04T00:31:50.376Z] Removing intermediate container b7862e712054 [2020-12-04T00:31:50.376Z] ---> 8150c437f635 [2020-12-04T00:31:50.376Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-04T00:31:50.948Z] latest: Pulling from library/docker [2020-12-04T00:31:51.210Z] 188c0c94c7c5: Already exists [2020-12-04T00:31:51.210Z] 0c7c675703d6: Pulling fs layer [2020-12-04T00:31:51.210Z] cc8c12a437cb: Pulling fs layer [2020-12-04T00:31:51.210Z] f092543453df: Pulling fs layer [2020-12-04T00:31:51.210Z] 65b6bc45957d: Pulling fs layer [2020-12-04T00:31:51.210Z] 4de832df471b: Pulling fs layer [2020-12-04T00:31:51.210Z] 79aa7fa92271: Pulling fs layer [2020-12-04T00:31:51.210Z] 65b6bc45957d: Waiting [2020-12-04T00:31:51.210Z] 4de832df471b: Waiting [2020-12-04T00:31:51.210Z] 79aa7fa92271: Waiting [2020-12-04T00:31:51.474Z] cc8c12a437cb: Verifying Checksum [2020-12-04T00:31:51.474Z] cc8c12a437cb: Download complete [2020-12-04T00:31:51.474Z] 0c7c675703d6: Verifying Checksum [2020-12-04T00:31:51.474Z] 0c7c675703d6: Download complete [2020-12-04T00:31:51.474Z] 65b6bc45957d: Verifying Checksum [2020-12-04T00:31:51.474Z] 65b6bc45957d: Download complete [2020-12-04T00:31:51.474Z] 4de832df471b: Verifying Checksum [2020-12-04T00:31:51.474Z] 4de832df471b: Download complete [2020-12-04T00:31:51.738Z] 79aa7fa92271: Verifying Checksum [2020-12-04T00:31:51.738Z] 79aa7fa92271: Download complete [2020-12-04T00:31:51.738Z] 0c7c675703d6: Pull complete [2020-12-04T00:31:51.738Z] cc8c12a437cb: Pull complete [2020-12-04T00:31:52.314Z] f092543453df: Verifying Checksum [2020-12-04T00:31:52.314Z] f092543453df: Download complete [2020-12-04T00:31:54.881Z] f092543453df: Pull complete [2020-12-04T00:31:54.881Z] 65b6bc45957d: Pull complete [2020-12-04T00:31:54.881Z] 4de832df471b: Pull complete [2020-12-04T00:31:55.145Z] 79aa7fa92271: Pull complete [2020-12-04T00:31:55.145Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-04T00:31:55.145Z] Status: Downloaded newer image for docker:latest [2020-12-04T00:31:57.087Z] ---> 1165e87bb50c [2020-12-04T00:31:57.087Z] Step 6/7 : COPY go.mod . [2020-12-04T00:31:57.087Z] ---> e68cbb9b8d01 [2020-12-04T00:31:57.087Z] Step 7/7 : RUN go mod download [2020-12-04T00:31:57.353Z] ---> Running in 93809b47d4ab [2020-12-04T00:32:19.816Z] Removing intermediate container 93809b47d4ab [2020-12-04T00:32:19.816Z] ---> d70fa08469a7 [2020-12-04T00:32:19.816Z] Successfully built d70fa08469a7 [2020-12-04T00:32:19.816Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:32:20.134Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-04T00:32:20.134Z] . [Pipeline] withDockerContainer [2020-12-04T00:32:20.239Z] prd-centos7-docker-4c-2g-14404 does not seem to be running inside a container [2020-12-04T00:32:20.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat [2020-12-04T00:32:21.156Z] $ docker top 1537222fe427dcc149943178c9c34ed493b70c43ba3f4b512a0379387b86b6b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T00:32:21.716Z] + go version [2020-12-04T00:32:21.716Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-04T00:32:21.733Z] $ docker stop --time=1 1537222fe427dcc149943178c9c34ed493b70c43ba3f4b512a0379387b86b6b3 [2020-12-04T00:32:23.141Z] $ docker rm -f 1537222fe427dcc149943178c9c34ed493b70c43ba3f4b512a0379387b86b6b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:32:24.168Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-04T00:32:24.168Z] . [Pipeline] withDockerContainer [2020-12-04T00:32:24.277Z] prd-centos7-docker-4c-2g-14404 does not seem to be running inside a container [2020-12-04T00:32:24.324Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat [2020-12-04T00:32:25.248Z] $ docker top 317804dcb09256cfb8e0a8537620150c62c84da638eeb568da6e0ec867b3a6d2 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-04T00:32:25.500Z] ========================================================= [2020-12-04T00:32:25.500Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-04T00:32:25.500Z] ========================================================= [Pipeline] sh [2020-12-04T00:32:25.856Z] + make test [2020-12-04T00:32:25.856Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-04T00:32:35.924Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-04T00:32:50.946Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-04T00:32:56.295Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-04T00:32:56.295Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-04T00:32:56.295Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-04T00:32:56.295Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-04T00:32:56.295Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-04T00:32:56.565Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-04T00:32:59.171Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.033s [2020-12-04T00:32:59.171Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-04T00:32:59.171Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-04T00:32:59.446Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-04T00:32:59.446Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-04T00:32:59.446Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-04T00:32:59.446Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-04T00:33:02.829Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.090s coverage: 46.6% of statements [2020-12-04T00:33:02.829Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-04T00:33:02.829Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-04T00:33:02.829Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-04T00:33:02.829Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-04T00:33:02.829Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-04T00:33:06.184Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.174s coverage: 27.1% of statements [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-04T00:33:06.184Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.036s coverage: 100.0% of statements [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-04T00:33:06.184Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.064s coverage: 100.0% of statements [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-04T00:33:06.184Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.093s coverage: 65.5% of statements [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-04T00:33:06.184Z] --- FAIL: TestAddEvent (0.02s) [2020-12-04T00:33:06.184Z] --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.00s) [2020-12-04T00:33:06.184Z] event_test.go:221: [2020-12-04T00:33:06.184Z] Error Trace: event_test.go:221 [2020-12-04T00:33:06.184Z] Error: Received unexpected error: [2020-12-04T00:33:06.184Z] json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse [2020-12-04T00:33:06.184Z] Test: TestAddEvent/Valid_-_AddEventRequest [2020-12-04T00:33:06.184Z] --- FAIL: TestAddEvent/Valid_-_No_RequestId (0.00s) [2020-12-04T00:33:06.184Z] event_test.go:221: [2020-12-04T00:33:06.184Z] Error Trace: event_test.go:221 [2020-12-04T00:33:06.184Z] Error: Received unexpected error: [2020-12-04T00:33:06.184Z] json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse [2020-12-04T00:33:06.184Z] Test: TestAddEvent/Valid_-_No_RequestId [2020-12-04T00:33:06.184Z] FAIL [2020-12-04T00:33:06.184Z] coverage: 78.1% of statements [2020-12-04T00:33:06.184Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.091s [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-04T00:33:06.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-04T00:33:08.166Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.331s coverage: 28.6% of statements [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-04T00:33:08.166Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.060s coverage: 100.0% of statements [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-04T00:33:08.166Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.049s coverage: 100.0% of statements [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-04T00:33:08.166Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.099s coverage: 86.7% of statements [2020-12-04T00:33:08.166Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-04T00:33:08.435Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.133s coverage: 97.5% of statements [2020-12-04T00:33:08.435Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-04T00:33:09.025Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.074s coverage: 78.3% of statements [2020-12-04T00:33:09.025Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-04T00:33:09.025Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-04T00:33:09.025Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-04T00:33:09.025Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.356s coverage: 94.7% of statements [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.046s coverage: 58.8% of statements [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.047s coverage: 0.0% of statements [no tests to run] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.027s coverage: 100.0% of statements [2020-12-04T00:33:10.975Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.051s coverage: 75.5% of statements [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.8% of statements [2020-12-04T00:33:10.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.070s coverage: 87.2% of statements [2020-12-04T00:33:11.250Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.067s coverage: 84.2% of statements [2020-12-04T00:33:11.250Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.035s coverage: 100.0% of statements [2020-12-04T00:33:11.250Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-04T00:33:12.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.199s coverage: 63.5% of statements [2020-12-04T00:33:12.677Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-04T00:33:12.677Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-04T00:33:12.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.042s coverage: 100.0% of statements [2020-12-04T00:33:12.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.036s coverage: 91.3% of statements [2020-12-04T00:33:12.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2020-12-04T00:33:12.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.045s coverage: 73.7% of statements [2020-12-04T00:33:12.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.041s coverage: 100.0% of statements [2020-12-04T00:33:14.112Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.311s coverage: 55.9% of statements [2020-12-04T00:33:14.112Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-04T00:33:14.112Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-04T00:33:14.112Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-04T00:33:14.112Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-04T00:33:14.112Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-04T00:33:14.112Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 13.518s coverage: 86.3% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.114s coverage: 72.2% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.480s coverage: 72.1% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.055s coverage: 82.4% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.044s coverage: 48.4% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.039s coverage: 28.8% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.032s coverage: 96.8% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.115s coverage: 37.2% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.301s coverage: 84.1% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.045s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.099s coverage: 47.1% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.034s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.061s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.638s coverage: 29.1% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.068s coverage: 99.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.052s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.031s coverage: 0.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.028s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.040s coverage: 87.9% of statements [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-04T00:33:29.131Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.056s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements [2020-12-04T00:33:29.131Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2020-12-04T00:33:29.131Z] FAIL [2020-12-04T00:33:29.131Z] make: *** [Makefile:99: test] Error 1 [Pipeline] } [2020-12-04T00:33:29.154Z] $ docker stop --time=1 317804dcb09256cfb8e0a8537620150c62c84da638eeb568da6e0ec867b3a6d2 [2020-12-04T00:33:31.641Z] $ docker rm -f 317804dcb09256cfb8e0a8537620150c62c84da638eeb568da6e0ec867b3a6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-04T00:33:33.593Z] Failed in branch amd64 [2020-12-04T00:33:43.190Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14414 in /w/workspace/edgexfoundry_edgex-go_PR-2921 [Pipeline] { [Pipeline] ws [2020-12-04T00:33:43.244Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2020-12-04T00:33:48.637Z] using credential edgex-jenkins-ssh [2020-12-04T00:33:48.697Z] Cloning the remote Git repository [2020-12-04T00:33:48.764Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-04T00:33:48.882Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2020-12-04T00:33:49.094Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-04T00:33:49.095Z] > git --version # timeout=10 [2020-12-04T00:33:49.113Z] > git --version # 'git version 2.17.1' [2020-12-04T00:33:49.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T00:33:49.194Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T00:34:13.476Z] Merging remotes/origin/master commit 0163c92eb67c845bff5e90a4dc6407d0e1146c78 into PR head commit f9a365f7bec3b91833d36039a8b3afd8c5b02052 [2020-12-04T00:34:14.337Z] Merge succeeded, producing 2e08c05e0e386f3373cb8da93be378cd63700c82 [2020-12-04T00:34:14.337Z] Checking out Revision 2e08c05e0e386f3373cb8da93be378cd63700c82 (PR-2921) [2020-12-04T00:34:12.745Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-04T00:34:12.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T00:34:12.839Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-04T00:34:12.873Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-04T00:34:12.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T00:34:12.888Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2921/head:refs/remotes/origin/PR-2921 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-04T00:34:13.501Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T00:34:13.514Z] > git checkout -f f9a365f7bec3b91833d36039a8b3afd8c5b02052 # timeout=10 [2020-12-04T00:34:13.855Z] > git remote # timeout=10 [2020-12-04T00:34:13.914Z] > git config --get remote.origin.url # timeout=10 [2020-12-04T00:34:13.947Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T00:34:13.959Z] > git merge 0163c92eb67c845bff5e90a4dc6407d0e1146c78 # timeout=10 [2020-12-04T00:34:14.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-04T00:34:14.353Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T00:34:14.368Z] > git checkout -f 2e08c05e0e386f3373cb8da93be378cd63700c82 # timeout=10 [2020-12-04T00:34:18.682Z] Commit message: "Merge commit '0163c92eb67c845bff5e90a4dc6407d0e1146c78' into HEAD" [2020-12-04T00:34:18.696Z] > git rev-list --no-walk f9a365f7bec3b91833d36039a8b3afd8c5b02052 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-04T00:34:20.336Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-04T00:34:20.767Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-04T00:34:21.108Z] + sudo service docker restart [2020-12-04T00:34:21.108Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-04T00:34:23.193Z] provisioning config files... [2020-12-04T00:34:23.237Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2794404537197009595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:34:23.728Z] ---> docker-login.sh [2020-12-04T00:34:23.728Z] nexus3.edgexfoundry.org:10001 [2020-12-04T00:34:24.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:34:24.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:34:24.994Z] Configure a credential helper to remove this warning. See [2020-12-04T00:34:24.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:34:24.994Z] [2020-12-04T00:34:24.994Z] Login Succeeded [2020-12-04T00:34:24.994Z] nexus3.edgexfoundry.org:10002 [2020-12-04T00:34:25.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:34:25.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:34:25.594Z] Configure a credential helper to remove this warning. See [2020-12-04T00:34:25.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:34:25.594Z] [2020-12-04T00:34:25.594Z] Login Succeeded [2020-12-04T00:34:25.594Z] nexus3.edgexfoundry.org:10003 [2020-12-04T00:34:26.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:34:26.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:34:26.222Z] Configure a credential helper to remove this warning. See [2020-12-04T00:34:26.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:34:26.222Z] [2020-12-04T00:34:26.222Z] Login Succeeded [2020-12-04T00:34:26.222Z] nexus3.edgexfoundry.org:10004 [2020-12-04T00:34:26.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:34:26.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:34:26.820Z] Configure a credential helper to remove this warning. See [2020-12-04T00:34:26.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:34:26.820Z] [2020-12-04T00:34:26.820Z] Login Succeeded [2020-12-04T00:34:26.820Z] docker.io [2020-12-04T00:34:27.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T00:34:27.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T00:34:27.697Z] Configure a credential helper to remove this warning. See [2020-12-04T00:34:27.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T00:34:27.697Z] [2020-12-04T00:34:27.697Z] Login Succeeded [2020-12-04T00:34:27.697Z] ---> docker-login.sh ends [Pipeline] } [2020-12-04T00:34:27.717Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-04T00:34:28.253Z] ========================================================= [2020-12-04T00:34:28.253Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-04T00:34:28.253Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:34:28.642Z] + 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-04T00:34:31.323Z] Sending build context to Docker daemon 165.5MB [2020-12-04T00:34:31.323Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-04T00:34:31.323Z] Step 2/7 : FROM ${BASE} [2020-12-04T00:34:31.323Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-04T00:34:31.323Z] 5f621e34cdf4: Pulling fs layer [2020-12-04T00:34:31.323Z] a4357932f1b6: Pulling fs layer [2020-12-04T00:34:31.323Z] 18c013af1878: Pulling fs layer [2020-12-04T00:34:31.323Z] 00ac8860ef70: Pulling fs layer [2020-12-04T00:34:31.323Z] 63d7cb157983: Pulling fs layer [2020-12-04T00:34:31.323Z] b116817d02f9: Pulling fs layer [2020-12-04T00:34:31.323Z] 745a02a5169b: Pulling fs layer [2020-12-04T00:34:31.323Z] 00ac8860ef70: Waiting [2020-12-04T00:34:31.323Z] 63d7cb157983: Waiting [2020-12-04T00:34:31.323Z] b116817d02f9: Waiting [2020-12-04T00:34:31.323Z] 745a02a5169b: Waiting [2020-12-04T00:34:31.323Z] 18c013af1878: Verifying Checksum [2020-12-04T00:34:31.323Z] 18c013af1878: Download complete [2020-12-04T00:34:31.323Z] a4357932f1b6: Verifying Checksum [2020-12-04T00:34:31.323Z] a4357932f1b6: Download complete [2020-12-04T00:34:31.323Z] 5f621e34cdf4: Verifying Checksum [2020-12-04T00:34:31.323Z] 5f621e34cdf4: Download complete [2020-12-04T00:34:31.323Z] b116817d02f9: Verifying Checksum [2020-12-04T00:34:31.323Z] b116817d02f9: Download complete [2020-12-04T00:34:31.323Z] 63d7cb157983: Verifying Checksum [2020-12-04T00:34:31.323Z] 63d7cb157983: Download complete [2020-12-04T00:34:31.930Z] 5f621e34cdf4: Pull complete [2020-12-04T00:34:32.538Z] a4357932f1b6: Pull complete [2020-12-04T00:34:32.817Z] 18c013af1878: Pull complete [2020-12-04T00:34:33.802Z] 745a02a5169b: Verifying Checksum [2020-12-04T00:34:33.802Z] 745a02a5169b: Download complete [2020-12-04T00:34:34.805Z] 00ac8860ef70: Verifying Checksum [2020-12-04T00:34:34.805Z] 00ac8860ef70: Download complete [2020-12-04T00:34:45.003Z] 00ac8860ef70: Pull complete [2020-12-04T00:34:45.003Z] 63d7cb157983: Pull complete [2020-12-04T00:34:45.276Z] b116817d02f9: Pull complete [2020-12-04T00:34:48.684Z] 745a02a5169b: Pull complete [2020-12-04T00:34:48.684Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-04T00:34:48.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-04T00:34:48.963Z] ---> b7e6874047d6 [2020-12-04T00:34:48.963Z] 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-04T00:34:53.301Z] ---> Running in 363923fc1364 [2020-12-04T00:34:53.903Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-04T00:34:55.343Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-04T00:34:56.804Z] (1/12) Installing libmagic (5.38-r0) [2020-12-04T00:34:57.078Z] (2/12) Installing file (5.38-r0) [2020-12-04T00:34:57.078Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-04T00:34:57.078Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-04T00:35:02.478Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-04T00:35:02.478Z] (6/12) Installing patch (2.7.6-r6) [2020-12-04T00:35:02.750Z] (7/12) Installing build-base (0.5-r2) [2020-12-04T00:35:02.750Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-04T00:35:02.750Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-04T00:35:03.023Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-04T00:35:03.023Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-04T00:35:03.299Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-04T00:35:03.299Z] Executing busybox-1.31.1-r19.trigger [2020-12-04T00:35:03.299Z] OK: 217 MiB in 51 packages [2020-12-04T00:35:07.605Z] Removing intermediate container 363923fc1364 [2020-12-04T00:35:07.605Z] ---> 46f695d11673 [2020-12-04T00:35:07.605Z] Step 4/7 : WORKDIR /edgex-go [2020-12-04T00:35:07.605Z] ---> Running in 0820f9bf0d97 [2020-12-04T00:35:07.888Z] Removing intermediate container 0820f9bf0d97 [2020-12-04T00:35:07.888Z] ---> d8117dcf7148 [2020-12-04T00:35:07.888Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-04T00:35:08.868Z] latest: Pulling from library/docker [2020-12-04T00:35:08.868Z] 5f621e34cdf4: Already exists [2020-12-04T00:35:08.868Z] 85db56a05063: Pulling fs layer [2020-12-04T00:35:08.868Z] ccb67d6aeaaa: Pulling fs layer [2020-12-04T00:35:08.868Z] de930078acea: Pulling fs layer [2020-12-04T00:35:08.868Z] d5a9d88a4785: Pulling fs layer [2020-12-04T00:35:08.868Z] e7f15c1544d5: Pulling fs layer [2020-12-04T00:35:08.868Z] 877c515997d3: Pulling fs layer [2020-12-04T00:35:08.868Z] d5a9d88a4785: Waiting [2020-12-04T00:35:08.868Z] 877c515997d3: Waiting [2020-12-04T00:35:08.868Z] e7f15c1544d5: Waiting [2020-12-04T00:35:08.868Z] ccb67d6aeaaa: Download complete [2020-12-04T00:35:09.144Z] 85db56a05063: Verifying Checksum [2020-12-04T00:35:09.144Z] 85db56a05063: Download complete [2020-12-04T00:35:09.144Z] d5a9d88a4785: Verifying Checksum [2020-12-04T00:35:09.144Z] d5a9d88a4785: Download complete [2020-12-04T00:35:09.144Z] e7f15c1544d5: Verifying Checksum [2020-12-04T00:35:09.144Z] e7f15c1544d5: Download complete [2020-12-04T00:35:09.144Z] 877c515997d3: Verifying Checksum [2020-12-04T00:35:09.144Z] 877c515997d3: Download complete [2020-12-04T00:35:09.744Z] 85db56a05063: Pull complete [2020-12-04T00:35:10.015Z] ccb67d6aeaaa: Pull complete [2020-12-04T00:35:10.286Z] de930078acea: Verifying Checksum [2020-12-04T00:35:10.286Z] de930078acea: Download complete [2020-12-04T00:35:13.669Z] de930078acea: Pull complete [2020-12-04T00:35:13.669Z] d5a9d88a4785: Pull complete [2020-12-04T00:35:13.669Z] e7f15c1544d5: Pull complete [2020-12-04T00:35:14.272Z] 877c515997d3: Pull complete [2020-12-04T00:35:14.272Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-04T00:35:14.272Z] Status: Downloaded newer image for docker:latest [2020-12-04T00:35:17.691Z] ---> 66c2fb01fa44 [2020-12-04T00:35:17.691Z] Step 6/7 : COPY go.mod . [2020-12-04T00:35:18.288Z] ---> 4b25d6163457 [2020-12-04T00:35:18.288Z] Step 7/7 : RUN go mod download [2020-12-04T00:35:18.288Z] ---> Running in 8d78d4a6db86 [2020-12-04T00:35:45.107Z] Removing intermediate container 8d78d4a6db86 [2020-12-04T00:35:45.107Z] ---> 9be4ed026328 [2020-12-04T00:35:45.107Z] Successfully built 9be4ed026328 [2020-12-04T00:35:45.107Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:35:45.453Z] + docker inspect -f . ci-base-image-arm64 [2020-12-04T00:35:45.453Z] . [Pipeline] withDockerContainer [2020-12-04T00:35:45.713Z] prd-ubuntu18.04-docker-arm64-4c-16g-14414 does not seem to be running inside a container [2020-12-04T00:35:45.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-arm64 cat [2020-12-04T00:35:47.350Z] $ docker top ea6e8e149f7ba28a5b4f1f3a6a7526a1329fac70e5c3fffc34977f8e7c3bd0c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T00:35:48.330Z] + go version [2020-12-04T00:35:48.330Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-04T00:35:48.356Z] $ docker stop --time=1 ea6e8e149f7ba28a5b4f1f3a6a7526a1329fac70e5c3fffc34977f8e7c3bd0c8 [2020-12-04T00:35:50.232Z] $ docker rm -f ea6e8e149f7ba28a5b4f1f3a6a7526a1329fac70e5c3fffc34977f8e7c3bd0c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:35:51.241Z] + docker inspect -f . ci-base-image-arm64 [2020-12-04T00:35:51.241Z] . [Pipeline] withDockerContainer [2020-12-04T00:35:51.494Z] prd-ubuntu18.04-docker-arm64-4c-16g-14414 does not seem to be running inside a container [2020-12-04T00:35:51.581Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-arm64 cat [2020-12-04T00:35:53.578Z] $ docker top 5bbd051fa63c509bae05a572c70c0f1688d61cf38f8bdd3ea25477279a9f9a5c -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-04T00:35:53.987Z] ========================================================= [2020-12-04T00:35:53.987Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-04T00:35:53.987Z] ========================================================= [Pipeline] sh [2020-12-04T00:35:54.635Z] + make test [2020-12-04T00:35:54.635Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-04T00:36:27.183Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-04T00:37:14.236Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-04T00:37:32.598Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-04T00:37:32.598Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-04T00:37:32.598Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-04T00:37:32.598Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-04T00:37:32.598Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-04T00:37:32.598Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-04T00:37:38.041Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.062s [2020-12-04T00:37:38.041Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-04T00:37:38.041Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-04T00:37:39.026Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-04T00:37:39.026Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-04T00:37:39.026Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-04T00:37:39.026Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-04T00:37:49.202Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.370s coverage: 46.6% of statements [2020-12-04T00:37:49.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-04T00:37:49.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-04T00:37:49.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-04T00:37:49.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-04T00:37:49.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-04T00:37:57.576Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.543s coverage: 27.1% of statements [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-04T00:37:57.576Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.065s coverage: 100.0% of statements [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-04T00:37:57.576Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.093s coverage: 100.0% of statements [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-04T00:37:57.576Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.586s coverage: 66.4% of statements [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-04T00:37:57.576Z] --- FAIL: TestAddEvent (0.09s) [2020-12-04T00:37:57.576Z] --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.01s) [2020-12-04T00:37:57.576Z] event_test.go:221: [2020-12-04T00:37:57.576Z] Error Trace: event_test.go:221 [2020-12-04T00:37:57.576Z] Error: Received unexpected error: [2020-12-04T00:37:57.576Z] json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse [2020-12-04T00:37:57.576Z] Test: TestAddEvent/Valid_-_AddEventRequest [2020-12-04T00:37:57.576Z] --- FAIL: TestAddEvent/Valid_-_No_RequestId (0.01s) [2020-12-04T00:37:57.576Z] event_test.go:221: [2020-12-04T00:37:57.576Z] Error Trace: event_test.go:221 [2020-12-04T00:37:57.576Z] Error: Received unexpected error: [2020-12-04T00:37:57.576Z] json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse [2020-12-04T00:37:57.576Z] Test: TestAddEvent/Valid_-_No_RequestId [2020-12-04T00:37:57.576Z] FAIL [2020-12-04T00:37:57.576Z] coverage: 78.1% of statements [2020-12-04T00:37:57.576Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.394s [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-04T00:37:57.576Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-04T00:38:07.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.360s coverage: 28.6% of statements [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-04T00:38:07.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.176s coverage: 100.0% of statements [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-04T00:38:07.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.089s coverage: 100.0% of statements [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-04T00:38:07.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.365s coverage: 86.7% of statements [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-04T00:38:07.801Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.412s coverage: 97.5% of statements [2020-12-04T00:38:07.801Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-04T00:38:08.778Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.170s coverage: 78.3% of statements [2020-12-04T00:38:08.778Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-04T00:38:08.778Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-04T00:38:08.778Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-04T00:38:08.778Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-04T00:38:14.201Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.109s coverage: 94.7% of statements [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-04T00:38:14.202Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.069s coverage: 58.8% of statements [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-04T00:38:14.202Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.189s coverage: 0.0% of statements [no tests to run] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-04T00:38:14.202Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements [2020-12-04T00:38:14.202Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-04T00:38:14.202Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.102s coverage: 75.5% of statements [2020-12-04T00:38:14.804Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.8% of statements [2020-12-04T00:38:15.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.172s coverage: 87.2% of statements [2020-12-04T00:38:17.067Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.192s coverage: 84.2% of statements [2020-12-04T00:38:17.067Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.073s coverage: 100.0% of statements [2020-12-04T00:38:17.067Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-04T00:38:21.414Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.738s coverage: 63.5% of statements [2020-12-04T00:38:21.414Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-04T00:38:21.414Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-04T00:38:21.414Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.060s coverage: 100.0% of statements [2020-12-04T00:38:21.414Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.115s coverage: 91.3% of statements [2020-12-04T00:38:21.414Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.074s coverage: 100.0% of statements [2020-12-04T00:38:21.414Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.098s coverage: 73.7% of statements [2020-12-04T00:38:23.400Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.055s coverage: 100.0% of statements [2020-12-04T00:38:27.716Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.984s coverage: 55.9% of statements [2020-12-04T00:38:27.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-04T00:38:27.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-04T00:38:27.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-04T00:38:27.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-04T00:38:27.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-04T00:38:27.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 52.137s coverage: 86.3% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 5.451s coverage: 72.2% of statements [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.940s coverage: 72.1% of statements [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.107s coverage: 82.4% of statements [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.078s coverage: 48.4% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.085s coverage: 28.8% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.087s coverage: 96.8% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.442s coverage: 37.2% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.631s coverage: 84.1% of statements [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.093s coverage: 100.0% of statements [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.404s coverage: 47.1% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.057s coverage: 100.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.187s coverage: 100.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.114s coverage: 100.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.817s coverage: 29.1% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.195s coverage: 99.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.110s coverage: 100.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.039s coverage: 0.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-04T00:39:24.408Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.074s coverage: 100.0% of statements [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-04T00:39:24.408Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-04T00:39:24.409Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-04T00:39:24.409Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-04T00:39:24.409Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.084s coverage: 87.9% of statements [2020-12-04T00:39:24.409Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-04T00:39:24.409Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-04T00:39:24.409Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.069s coverage: 100.0% of statements [2020-12-04T00:39:24.409Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.060s coverage: 32.1% of statements [2020-12-04T00:39:24.409Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.102s coverage: 100.0% of statements [2020-12-04T00:39:24.409Z] FAIL [2020-12-04T00:39:24.409Z] make: *** [Makefile:99: test] Error 1 [Pipeline] } [2020-12-04T00:39:24.435Z] $ docker stop --time=1 5bbd051fa63c509bae05a572c70c0f1688d61cf38f8bdd3ea25477279a9f9a5c [2020-12-04T00:39:26.616Z] $ docker rm -f 5bbd051fa63c509bae05a572c70c0f1688d61cf38f8bdd3ea25477279a9f9a5c [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-04T00:39:29.097Z] 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-04T00:39:31.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:39:32.400Z] ---> package-listing.sh [2020-12-04T00:39:32.400Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-04T00:39:32.400Z] ++ facter osfamily [2020-12-04T00:39:32.665Z] + OS_FAMILY=redhat [2020-12-04T00:39:32.665Z] + workspace=/w/workspace/edgex-go/2 [2020-12-04T00:39:32.665Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-04T00:39:32.665Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-04T00:39:32.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-04T00:39:32.665Z] + PACKAGES=/tmp/packages_start.txt [2020-12-04T00:39:32.665Z] + '[' /w/workspace/edgex-go/2 ']' [2020-12-04T00:39:32.665Z] + PACKAGES=/tmp/packages_end.txt [2020-12-04T00:39:32.665Z] + case "${OS_FAMILY}" in [2020-12-04T00:39:32.665Z] + rpm -qa [2020-12-04T00:39:32.665Z] + sort [2020-12-04T00:39:37.996Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-04T00:39:37.996Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-04T00:39:37.996Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-04T00:39:37.996Z] + '[' /w/workspace/edgex-go/2 ']' [2020-12-04T00:39:37.996Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2020-12-04T00:39:37.996Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2020-12-04T00:39:38.011Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-04T00:39:38.310Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:39:38.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-04T00:39:38.621Z] [2020-12-04T00:39:38.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-04T00:39:38.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-04T00:39:38.975Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-04T00:39:38.975Z] df20fa9351a1: Pulling fs layer [2020-12-04T00:39:38.975Z] 36b3adc4ff6f: Pulling fs layer [2020-12-04T00:39:38.975Z] 8ad3a11d3b57: Pulling fs layer [2020-12-04T00:39:38.975Z] 46f8f816bc3b: Pulling fs layer [2020-12-04T00:39:38.975Z] 93b61091891f: Pulling fs layer [2020-12-04T00:39:38.975Z] 93b9cdb0e59b: Pulling fs layer [2020-12-04T00:39:38.975Z] 5e14af77c1be: Pulling fs layer [2020-12-04T00:39:38.975Z] 01666e4c0597: Pulling fs layer [2020-12-04T00:39:38.975Z] aa168da1d23b: Pulling fs layer [2020-12-04T00:39:38.975Z] 46f8f816bc3b: Waiting [2020-12-04T00:39:38.975Z] 93b61091891f: Waiting [2020-12-04T00:39:38.975Z] 5e14af77c1be: Waiting [2020-12-04T00:39:38.975Z] 93b9cdb0e59b: Waiting [2020-12-04T00:39:38.975Z] 36b3adc4ff6f: Verifying Checksum [2020-12-04T00:39:38.975Z] 36b3adc4ff6f: Download complete [2020-12-04T00:39:38.975Z] 46f8f816bc3b: Verifying Checksum [2020-12-04T00:39:38.975Z] 46f8f816bc3b: Download complete [2020-12-04T00:39:39.250Z] df20fa9351a1: Verifying Checksum [2020-12-04T00:39:39.250Z] df20fa9351a1: Download complete [2020-12-04T00:39:39.250Z] 93b9cdb0e59b: Download complete [2020-12-04T00:39:39.250Z] 93b61091891f: Verifying Checksum [2020-12-04T00:39:39.250Z] 93b61091891f: Download complete [2020-12-04T00:39:39.250Z] 01666e4c0597: Verifying Checksum [2020-12-04T00:39:39.250Z] 01666e4c0597: Download complete [2020-12-04T00:39:39.250Z] 5e14af77c1be: Verifying Checksum [2020-12-04T00:39:39.250Z] 5e14af77c1be: Download complete [2020-12-04T00:39:39.250Z] 8ad3a11d3b57: Verifying Checksum [2020-12-04T00:39:39.250Z] 8ad3a11d3b57: Download complete [2020-12-04T00:39:39.524Z] df20fa9351a1: Pull complete [2020-12-04T00:39:39.787Z] 36b3adc4ff6f: Pull complete [2020-12-04T00:39:40.748Z] 8ad3a11d3b57: Pull complete [2020-12-04T00:39:41.014Z] 46f8f816bc3b: Pull complete [2020-12-04T00:39:41.282Z] aa168da1d23b: Verifying Checksum [2020-12-04T00:39:41.282Z] aa168da1d23b: Download complete [2020-12-04T00:39:41.282Z] 93b61091891f: Pull complete [2020-12-04T00:39:41.282Z] 93b9cdb0e59b: Pull complete [2020-12-04T00:39:41.545Z] 5e14af77c1be: Pull complete [2020-12-04T00:39:41.545Z] 01666e4c0597: Pull complete [2020-12-04T00:39:49.735Z] aa168da1d23b: Pull complete [2020-12-04T00:39:49.735Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-04T00:39:49.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-04T00:39:49.735Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-04T00:39:49.928Z] prd-centos7-docker-4c-2g-14404 does not seem to be running inside a container [2020-12-04T00:39:49.980Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-04T00:39:54.631Z] $ docker top 4c8c5140852b54bad056a1f128857752674aa1e27d2fdb1b58bdb07ba54f4fa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T00:39:55.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-04T00:39:55.562Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-04T00:39:55.867Z] + ls /var/log/sa-host [2020-12-04T00:39:55.867Z] + sadf -c /var/log/sa-host/sa04 [2020-12-04T00:39:55.867Z] file_magic: OK [2020-12-04T00:39:55.867Z] HZ: Using current value: 100 [2020-12-04T00:39:55.867Z] file_header: OK [2020-12-04T00:39:55.867Z] 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-04T00:39:55.867Z] Statistics: [2020-12-04T00:39:55.867Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-04T00:39:55.867Z] File successfully converted to sysstat format version 12.2.1 [2020-12-04T00:39:55.867Z] + sadf -c /var/log/sa-host/sa23 [2020-12-04T00:39:55.868Z] file_magic: OK [2020-12-04T00:39:55.868Z] HZ: Using current value: 100 [2020-12-04T00:39:55.868Z] file_header: OK [2020-12-04T00:39:55.868Z] 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-04T00:39:55.868Z] Statistics: [2020-12-04T00:39:55.868Z] Hnuu...uuuununununu... [2020-12-04T00:39:55.868Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-04T00:39:56.559Z] provisioning config files... [2020-12-04T00:39:56.576Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config5984386650379472536tmp [Pipeline] { [Pipeline] echo [2020-12-04T00:39:56.655Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:39:56.962Z] ---> create-netrc.sh [Pipeline] } [2020-12-04T00:39:56.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-04T00:39:57.069Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:39:57.370Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-04T00:39:57.381Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:39:57.681Z] ---> sudo-logs.sh [2020-12-04T00:39:57.681Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-04T00:39:57.692Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:39:58.000Z] ---> job-cost.sh [2020-12-04T00:39:58.000Z] lf-activate-venv: SKIPPING [2020-12-04T00:39:58.000Z] INFO: No Stack... [2020-12-04T00:39:59.392Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-04T00:39:59.654Z] INFO: Archiving Costs [Pipeline] echo [2020-12-04T00:39:59.670Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T00:40:00.019Z] ---> logs-deploy.sh [2020-12-04T00:40:00.019Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2921/2 [2020-12-04T00:40:00.019Z] INFO: archiving workspace using pattern(s): [2020-12-04T00:40:02.093Z] Archives upload complete. [2020-12-04T00:40:02.093Z] INFO: archiving logs to Nexus