Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2 rather than 4cc4baa6d41b9568a91853430caab2051acd7a86 Obtained Jenkinsfile from f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17671’ is offline; ‘prd-centos7-docker-4c-2g-17672’ is offline Running on prd-centos7-docker-4c-2g-17679 in /w/workspace/edgexfoundry_edgex-go_PR-2966 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/4 [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/4 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2 into PR head commit 4cc4baa6d41b9568a91853430caab2051acd7a86 Merge succeeded, producing 8b8c66c2032c3ac9b48365372c71f051d9407d72 Checking out Revision 8b8c66c2032c3ac9b48365372c71f051d9407d72 (PR-2966) > 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/2966/head:refs/remotes/origin/PR-2966 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cc4baa6d41b9568a91853430caab2051acd7a86 # 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 f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b8c66c2032c3ac9b48365372c71f051d9407d72 # timeout=10 Commit message: "Merge commit 'f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 8cfcd4bf1d81a315a68afbaee7f94ae474e2c516 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-30T00:30:43.952Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-30T00:30:44.224Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-30T00:30:44.376Z] ========================================================= [2020-12-30T00:30:44.376Z] EdgeX Global Pipelines Version Info [2020-12-30T00:30:44.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:30:46.120Z] ------------------- [2020-12-30T00:30:46.120Z] stable info: [2020-12-30T00:30:46.120Z] ------------------- [2020-12-30T00:30:46.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-30T00:30:46.120Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T00:30:46.120Z] Message: update stable to v1.0.173 [2020-12-30T00:30:47.096Z] ------------------- [2020-12-30T00:30:47.096Z] experimental info: [2020-12-30T00:30:47.096Z] ------------------- [2020-12-30T00:30:47.096Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-30T00:30:47.096Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T00:30:47.096Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-30T00:30:47.631Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-30T00:30:47.802Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-30T00:30:47.984Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-30T00:30:48.155Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-30T00:30:48.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-30T00:30:48.507Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-30T00:30:48.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-30T00:30:48.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-30T00:30:48.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-30T00:30:48.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-30T00:30:49.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-30T00:30:49.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-30T00:30:49.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-30T00:30:49.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-30T00:30:49.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-30T00:30:49.847Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-30T00:30:49.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-30T00:30:50.110Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-30T00:30:50.258Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-30T00:30:50.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-30T00:30:50.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-30T00:30:50.742Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-30T00:30:50.877Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-30T00:30:50.985Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2966 [Pipeline] echo [2020-12-30T00:30:51.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2966 [Pipeline] echo [2020-12-30T00:30:51.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2966 [Pipeline] echo [2020-12-30T00:30:51.526Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b8c66c2032c3ac9b48365372c71f051d9407d72 [Pipeline] echo [2020-12-30T00:30:51.706Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b8c66c [Pipeline] echo [2020-12-30T00:30:51.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-30T00:30:52.036Z] provisioning config files... [2020-12-30T00:30:52.096Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config2049147660866575660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:30:52.528Z] ---> docker-login.sh [2020-12-30T00:30:52.528Z] nexus3.edgexfoundry.org:10001 [2020-12-30T00:30:52.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:30:52.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:30:52.795Z] Configure a credential helper to remove this warning. See [2020-12-30T00:30:52.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:30:52.795Z] [2020-12-30T00:30:52.796Z] Login Succeeded [2020-12-30T00:30:52.796Z] nexus3.edgexfoundry.org:10002 [2020-12-30T00:30:53.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:30:53.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:30:53.062Z] Configure a credential helper to remove this warning. See [2020-12-30T00:30:53.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:30:53.062Z] [2020-12-30T00:30:53.062Z] Login Succeeded [2020-12-30T00:30:53.062Z] nexus3.edgexfoundry.org:10003 [2020-12-30T00:30:53.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:30:53.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:30:53.329Z] Configure a credential helper to remove this warning. See [2020-12-30T00:30:53.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:30:53.329Z] [2020-12-30T00:30:53.329Z] Login Succeeded [2020-12-30T00:30:53.329Z] nexus3.edgexfoundry.org:10004 [2020-12-30T00:30:53.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:30:53.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:30:53.594Z] Configure a credential helper to remove this warning. See [2020-12-30T00:30:53.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:30:53.594Z] [2020-12-30T00:30:53.594Z] Login Succeeded [2020-12-30T00:30:53.594Z] docker.io [2020-12-30T00:30:53.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:30:53.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:30:53.859Z] Configure a credential helper to remove this warning. See [2020-12-30T00:30:53.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:30:53.859Z] [2020-12-30T00:30:53.859Z] Login Succeeded [2020-12-30T00:30:53.859Z] ---> docker-login.sh ends [Pipeline] } [2020-12-30T00:30:53.871Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-30T00:30:54.383Z] ++ 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-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/core-command/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/core-data/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-30T00:30:54.384Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-30T00:30:54.384Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-30T00:30:54.384Z] ++ cut -d/ -f2 [2020-12-30T00:30:54.384Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-30T00:30:54.493Z] 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-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-30T00:30:55.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T00:30:55.375Z] [2020-12-30T00:30:55.375Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:30:55.733Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T00:30:55.733Z] latest: Pulling from edgex-devops/git-semver [2020-12-30T00:30:55.733Z] 31603596830f: Pulling fs layer [2020-12-30T00:30:55.733Z] 2a8b12db71e7: Pulling fs layer [2020-12-30T00:30:55.733Z] 6ca5941a6612: Pulling fs layer [2020-12-30T00:30:55.733Z] ecc8261a40a4: Pulling fs layer [2020-12-30T00:30:55.733Z] ecc8261a40a4: Waiting [2020-12-30T00:30:55.733Z] 2a8b12db71e7: Verifying Checksum [2020-12-30T00:30:55.733Z] 2a8b12db71e7: Download complete [2020-12-30T00:30:56.004Z] 31603596830f: Verifying Checksum [2020-12-30T00:30:56.004Z] 31603596830f: Download complete [2020-12-30T00:30:56.004Z] ecc8261a40a4: Verifying Checksum [2020-12-30T00:30:56.004Z] ecc8261a40a4: Download complete [2020-12-30T00:30:56.004Z] 6ca5941a6612: Verifying Checksum [2020-12-30T00:30:56.004Z] 6ca5941a6612: Download complete [2020-12-30T00:30:56.270Z] 31603596830f: Pull complete [2020-12-30T00:30:56.533Z] 2a8b12db71e7: Pull complete [2020-12-30T00:30:57.513Z] 6ca5941a6612: Pull complete [2020-12-30T00:30:57.786Z] ecc8261a40a4: Pull complete [2020-12-30T00:30:57.786Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-30T00:30:57.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T00:30:57.786Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-30T00:30:57.923Z] prd-centos7-docker-4c-2g-17679 does not seem to be running inside a container [2020-12-30T00:30:57.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-30T00:31:00.647Z] $ docker top 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-30T00:31:00.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T00:31:00.973Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T00:31:01.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T00:31:01.212Z] $ docker exec 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 ssh-agent [2020-12-30T00:31:01.393Z] SSH_AUTH_SOCK=/tmp/ssh-WOw0xoZs3DnX/agent.11 [2020-12-30T00:31:01.393Z] SSH_AGENT_PID=16 [2020-12-30T00:31:01.405Z] Running ssh-add (command line suppressed) [2020-12-30T00:31:01.556Z] Identity added: /w/workspace/edgex-go/4@tmp/private_key_3933865259472844414.key (/w/workspace/edgex-go/4@tmp/private_key_3933865259472844414.key) [2020-12-30T00:31:01.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T00:31:01.972Z] + git tag --points-at HEAD [Pipeline] } [2020-12-30T00:31:02.005Z] $ docker exec --env ******** --env ******** 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 ssh-agent -k [2020-12-30T00:31:02.130Z] unset SSH_AUTH_SOCK; [2020-12-30T00:31:02.131Z] unset SSH_AGENT_PID; [2020-12-30T00:31:02.131Z] echo Agent pid 16 killed; [2020-12-30T00:31:02.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-30T00:31:02.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T00:31:02.334Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T00:31:02.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T00:31:02.531Z] $ docker exec 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 ssh-agent [2020-12-30T00:31:02.734Z] SSH_AUTH_SOCK=/tmp/ssh-2SOLzDrh5opa/agent.45 [2020-12-30T00:31:02.734Z] SSH_AGENT_PID=51 [2020-12-30T00:31:02.743Z] Running ssh-add (command line suppressed) [2020-12-30T00:31:02.881Z] Identity added: /w/workspace/edgex-go/4@tmp/private_key_6887686573587475158.key (/w/workspace/edgex-go/4@tmp/private_key_6887686573587475158.key) [2020-12-30T00:31:02.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T00:31:03.282Z] + git semver init [2020-12-30T00:31:03.282Z] # -> Open(): unable to determine branch for HEAD [2020-12-30T00:31:03.282Z] # $GIT_DIR = /w/workspace/edgex-go/4/.git [2020-12-30T00:31:03.282Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/4 [2020-12-30T00:31:03.282Z] # $SEMVER_REMOTE_NAME = origin [2020-12-30T00:31:03.282Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-30T00:31:03.282Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-30T00:31:03.282Z] # $SEMVER_BRANCH = PR-2966 [2020-12-30T00:31:03.282Z] # $SEMVER_TEMP = /tmp/semver-795310697 [2020-12-30T00:31:03.282Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-30T00:31:35.732Z] # '/tmp/semver-795310697' -> '/w/workspace/edgex-go/4/.semver' [2020-12-30T00:31:35.733Z] # -> Force: false [2020-12-30T00:31:35.733Z] # $SEMVER_DIR = /w/workspace/edgex-go/4/.semver [Pipeline] } [2020-12-30T00:31:35.752Z] $ docker exec --env ******** --env ******** 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 ssh-agent -k [2020-12-30T00:31:36.003Z] unset SSH_AUTH_SOCK; [2020-12-30T00:31:36.004Z] unset SSH_AGENT_PID; [2020-12-30T00:31:36.004Z] echo Agent pid 51 killed; [2020-12-30T00:31:36.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-30T00:31:36.613Z] + git semver [Pipeline] } [2020-12-30T00:31:36.631Z] $ docker stop --time=1 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 [2020-12-30T00:31:38.247Z] $ docker rm -f 75cd817fc787ceb127f1300ddfd4f27983a33c5d206806c0cfc4392b9df86204 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T00:31:38.806Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-30T00:31:39.422Z] Stashed 1 file(s) [Pipeline] echo [2020-12-30T00:31:39.424Z] [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-30T00:31:40.340Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:31:40.673Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:31:40.978Z] + sudo service docker restart [2020-12-30T00:31:40.978Z] + true [2020-12-30T00:31:40.978Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-30T00:31:41.994Z] ========================================================= [2020-12-30T00:31:41.994Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-30T00:31:41.994Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:31:42.376Z] + 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-30T00:31:46.692Z] Sending build context to Docker daemon 326.2MB [2020-12-30T00:31:46.692Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-30T00:31:46.692Z] Step 2/7 : FROM ${BASE} [2020-12-30T00:31:46.692Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-30T00:31:46.692Z] 188c0c94c7c5: Pulling fs layer [2020-12-30T00:31:46.692Z] 0ef7d3d256c8: Pulling fs layer [2020-12-30T00:31:46.692Z] de9db76c5a1d: Pulling fs layer [2020-12-30T00:31:46.692Z] bca2f99d35d6: Pulling fs layer [2020-12-30T00:31:46.692Z] 93359f2a8cfa: Pulling fs layer [2020-12-30T00:31:46.692Z] 7c6f9722023f: Pulling fs layer [2020-12-30T00:31:46.692Z] a35cf1a2eb13: Pulling fs layer [2020-12-30T00:31:46.692Z] 93359f2a8cfa: Waiting [2020-12-30T00:31:46.692Z] 7c6f9722023f: Waiting [2020-12-30T00:31:46.692Z] a35cf1a2eb13: Waiting [2020-12-30T00:31:46.692Z] bca2f99d35d6: Waiting [2020-12-30T00:31:46.692Z] de9db76c5a1d: Download complete [2020-12-30T00:31:46.692Z] 0ef7d3d256c8: Download complete [2020-12-30T00:31:46.692Z] 93359f2a8cfa: Verifying Checksum [2020-12-30T00:31:46.692Z] 93359f2a8cfa: Download complete [2020-12-30T00:31:46.692Z] 7c6f9722023f: Download complete [2020-12-30T00:31:46.692Z] 188c0c94c7c5: Download complete [2020-12-30T00:31:47.324Z] 188c0c94c7c5: Pull complete [2020-12-30T00:31:47.591Z] 0ef7d3d256c8: Pull complete [2020-12-30T00:31:47.591Z] de9db76c5a1d: Pull complete [2020-12-30T00:31:54.791Z] Still waiting to schedule task [2020-12-30T00:31:54.791Z] ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-17671’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-17686’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-17688’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-17684’ is offline [2020-12-30T00:31:57.653Z] a35cf1a2eb13: Verifying Checksum [2020-12-30T00:31:57.653Z] a35cf1a2eb13: Download complete [2020-12-30T00:32:01.890Z] bca2f99d35d6: Verifying Checksum [2020-12-30T00:32:01.890Z] bca2f99d35d6: Download complete [2020-12-30T00:32:07.259Z] bca2f99d35d6: Pull complete [2020-12-30T00:32:07.259Z] 93359f2a8cfa: Pull complete [2020-12-30T00:32:07.259Z] 7c6f9722023f: Pull complete [2020-12-30T00:32:11.537Z] a35cf1a2eb13: Pull complete [2020-12-30T00:32:11.537Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-30T00:32:11.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-30T00:32:11.537Z] ---> a62c8e92a672 [2020-12-30T00:32:11.537Z] 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-30T00:32:11.808Z] ---> Running in bd98075ceb91 [2020-12-30T00:32:12.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-30T00:32:12.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-30T00:32:13.567Z] (1/12) Installing libmagic (5.38-r0) [2020-12-30T00:32:13.830Z] (2/12) Installing file (5.38-r0) [2020-12-30T00:32:14.095Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-30T00:32:14.095Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-30T00:32:36.119Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-30T00:32:36.119Z] (6/12) Installing patch (2.7.6-r6) [2020-12-30T00:32:36.119Z] (7/12) Installing build-base (0.5-r2) [2020-12-30T00:32:36.119Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-30T00:32:36.119Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-30T00:32:36.119Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-30T00:32:36.119Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-30T00:32:36.119Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-30T00:32:36.119Z] Executing busybox-1.31.1-r19.trigger [2020-12-30T00:32:36.119Z] OK: 233 MiB in 51 packages [2020-12-30T00:32:38.060Z] Removing intermediate container bd98075ceb91 [2020-12-30T00:32:38.060Z] ---> 47eb02fd35d3 [2020-12-30T00:32:38.060Z] Step 4/7 : WORKDIR /edgex-go [2020-12-30T00:32:38.060Z] ---> Running in b70a60d181b6 [2020-12-30T00:32:38.325Z] Removing intermediate container b70a60d181b6 [2020-12-30T00:32:38.325Z] ---> 6e2b5ffe6b05 [2020-12-30T00:32:38.325Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-30T00:32:38.905Z] latest: Pulling from library/docker [2020-12-30T00:32:38.905Z] 801bfaa63ef2: Pulling fs layer [2020-12-30T00:32:38.905Z] 4f7dc993c79e: Pulling fs layer [2020-12-30T00:32:38.905Z] d39d95e4997f: Pulling fs layer [2020-12-30T00:32:38.905Z] 1cda4b703d87: Pulling fs layer [2020-12-30T00:32:38.905Z] 54e5375350ea: Pulling fs layer [2020-12-30T00:32:38.905Z] f08cd1b3bb1b: Pulling fs layer [2020-12-30T00:32:38.905Z] 8e17d04e0c68: Pulling fs layer [2020-12-30T00:32:38.905Z] f08cd1b3bb1b: Waiting [2020-12-30T00:32:38.905Z] 1cda4b703d87: Waiting [2020-12-30T00:32:38.905Z] 8e17d04e0c68: Waiting [2020-12-30T00:32:39.177Z] d39d95e4997f: Verifying Checksum [2020-12-30T00:32:39.177Z] d39d95e4997f: Download complete [2020-12-30T00:32:39.177Z] 4f7dc993c79e: Verifying Checksum [2020-12-30T00:32:39.177Z] 4f7dc993c79e: Download complete [2020-12-30T00:32:39.177Z] 801bfaa63ef2: Verifying Checksum [2020-12-30T00:32:39.177Z] 801bfaa63ef2: Download complete [2020-12-30T00:32:39.177Z] 54e5375350ea: Verifying Checksum [2020-12-30T00:32:39.177Z] 54e5375350ea: Download complete [2020-12-30T00:32:39.177Z] f08cd1b3bb1b: Verifying Checksum [2020-12-30T00:32:39.177Z] f08cd1b3bb1b: Download complete [2020-12-30T00:32:39.445Z] 801bfaa63ef2: Pull complete [2020-12-30T00:32:39.721Z] 8e17d04e0c68: Verifying Checksum [2020-12-30T00:32:39.721Z] 8e17d04e0c68: Download complete [2020-12-30T00:32:39.721Z] 4f7dc993c79e: Pull complete [2020-12-30T00:32:39.986Z] d39d95e4997f: Pull complete [2020-12-30T00:32:40.567Z] 1cda4b703d87: Verifying Checksum [2020-12-30T00:32:40.567Z] 1cda4b703d87: Download complete [2020-12-30T00:32:43.169Z] 1cda4b703d87: Pull complete [2020-12-30T00:32:43.438Z] 54e5375350ea: Pull complete [2020-12-30T00:32:43.704Z] f08cd1b3bb1b: Pull complete [2020-12-30T00:32:43.704Z] 8e17d04e0c68: Pull complete [2020-12-30T00:32:43.704Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-30T00:32:43.704Z] Status: Downloaded newer image for docker:latest [2020-12-30T00:32:46.287Z] ---> 24324972d1d1 [2020-12-30T00:32:46.287Z] Step 6/7 : COPY go.mod . [2020-12-30T00:32:46.287Z] ---> 0160dcdbf087 [2020-12-30T00:32:46.287Z] Step 7/7 : RUN go mod download [2020-12-30T00:32:46.287Z] ---> Running in 4bd15da8d7ab [2020-12-30T00:33:08.327Z] Removing intermediate container 4bd15da8d7ab [2020-12-30T00:33:08.327Z] ---> 6e4818bcfebf [2020-12-30T00:33:08.327Z] Successfully built 6e4818bcfebf [2020-12-30T00:33:08.327Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:33:08.709Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T00:33:08.973Z] . [Pipeline] withDockerContainer [2020-12-30T00:33:09.104Z] prd-centos7-docker-4c-2g-17679 does not seem to be running inside a container [2020-12-30T00:33:09.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-30T00:33:10.155Z] $ docker top 10efeeb7736e97eee40b9c165570f8a481d3b567f02df97f88e03e53eef95f3f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:33:10.727Z] + go version [2020-12-30T00:33:10.727Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-30T00:33:10.744Z] $ docker stop --time=1 10efeeb7736e97eee40b9c165570f8a481d3b567f02df97f88e03e53eef95f3f [2020-12-30T00:33:12.532Z] $ docker rm -f 10efeeb7736e97eee40b9c165570f8a481d3b567f02df97f88e03e53eef95f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:33:13.420Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T00:33:13.420Z] . [Pipeline] withDockerContainer [2020-12-30T00:33:13.532Z] prd-centos7-docker-4c-2g-17679 does not seem to be running inside a container [2020-12-30T00:33:13.602Z] $ 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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-30T00:33:14.483Z] $ docker top bf3f776e9a2194a841a7904b5467f96455d40b115a06cd836bfa7805ec3046d7 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-30T00:33:14.669Z] ========================================================= [2020-12-30T00:33:14.669Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-30T00:33:14.670Z] ========================================================= [Pipeline] sh [2020-12-30T00:33:14.961Z] + make test [2020-12-30T00:33:14.961Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-30T00:33:25.027Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-30T00:33:43.336Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-30T00:33:47.626Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-30T00:33:48.221Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-30T00:33:48.221Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-30T00:33:48.221Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-30T00:33:48.490Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-30T00:33:49.091Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-30T00:33:49.374Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-30T00:33:50.150Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-30T00:33:50.851Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-30T00:33:53.571Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-30T00:33:53.571Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-30T00:33:53.571Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-30T00:33:55.592Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.095s coverage: 46.6% of statements [2020-12-30T00:33:55.592Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-30T00:33:55.592Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-30T00:33:55.592Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-30T00:33:55.592Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-30T00:33:55.592Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-30T00:33:59.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.214s coverage: 27.0% of statements [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-30T00:33:59.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.048s coverage: 100.0% of statements [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-30T00:33:59.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.051s coverage: 100.0% of statements [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-30T00:33:59.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.399s coverage: 74.4% of statements [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-30T00:33:59.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.431s coverage: 83.3% of statements [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-30T00:33:59.850Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-30T00:34:01.265Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.379s coverage: 28.6% of statements [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-30T00:34:01.265Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.109s coverage: 100.0% of statements [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-30T00:34:01.265Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.036s coverage: 100.0% of statements [2020-12-30T00:34:01.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-30T00:34:02.236Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.119s coverage: 86.7% of statements [2020-12-30T00:34:02.236Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-30T00:34:02.236Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.123s coverage: 97.5% of statements [2020-12-30T00:34:02.236Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-30T00:34:02.236Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.058s coverage: 78.3% of statements [2020-12-30T00:34:02.236Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-30T00:34:02.236Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-30T00:34:02.236Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-30T00:34:02.236Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-30T00:34:04.890Z] panic: [2020-12-30T00:34:04.890Z] assert: mock: I don't know what to return because the method call was unexpected. [2020-12-30T00:34:04.890Z] Either do Mock.On("DeviceServiceByName").Return(...) first, or remove the DeviceServiceByName() call. [2020-12-30T00:34:04.890Z] This method was unexpected: [2020-12-30T00:34:04.890Z] DeviceServiceByName(string) [2020-12-30T00:34:04.890Z] 0: "TestDeviceServiceName" [2020-12-30T00:34:04.890Z] at: [DBClient.go:501 deviceservice.go:52 notify.go:19 asm_amd64.s:1374] [2020-12-30T00:34:04.890Z] [2020-12-30T00:34:04.890Z] goroutine 8 [running]: [2020-12-30T00:34:04.890Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc00006d5e0, 0xad07ca, 0xc1, 0xc000330140, 0x4, 0x4) [2020-12-30T00:34:04.890Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:254 +0x21f [2020-12-30T00:34:04.890Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00006d5e0, 0xd61c67, 0x13, 0xc00030e000, 0x1, 0x1, 0xc000330000, 0x4, 0x4) [2020-12-30T00:34:04.890Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:391 +0xea5 [2020-12-30T00:34:04.890Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc00006d5e0, 0xc00030e000, 0x1, 0x1, 0x0, 0x0, 0x0) [2020-12-30T00:34:04.890Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:356 +0x1ee [2020-12-30T00:34:04.890Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).DeviceServiceByName(0xc00006d5e0, 0xc000264980, 0x15, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-12-30T00:34:04.890Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:501 +0x125 [2020-12-30T00:34:04.890Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.DeviceServiceByName(0xc000264980, 0x15, 0xb66ca0, 0xc00001c138, 0xc0001b8a40, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-12-30T00:34:04.890Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/application/deviceservice.go:52 +0x143 [2020-12-30T00:34:04.890Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.addDeviceCallback(0xb66ca0, 0xc00001c138, 0xc0001b8a40, 0x0, 0x0, 0xc000260450, 0x24, 0x0, 0x0, 0xc0002771b0, ...) [2020-12-30T00:34:04.890Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/application/notify.go:19 +0x13b [2020-12-30T00:34:04.890Z] created by github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDevice [2020-12-30T00:34:04.890Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/application/device.go:53 +0x53f [2020-12-30T00:34:04.890Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.059s [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-30T00:34:04.890Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.041s coverage: 58.8% of statements [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-30T00:34:04.890Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.063s coverage: 0.1% of statements [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-30T00:34:04.890Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.074s coverage: 100.0% of statements [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-30T00:34:04.890Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.050s coverage: 75.5% of statements [2020-12-30T00:34:04.890Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-30T00:34:04.890Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.055s coverage: 80.8% of statements [2020-12-30T00:34:04.890Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.069s coverage: 87.2% of statements [2020-12-30T00:34:05.162Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.059s coverage: 84.2% of statements [2020-12-30T00:34:05.759Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.115s coverage: 91.4% of statements [2020-12-30T00:34:05.759Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-30T00:34:06.772Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.320s coverage: 63.5% of statements [2020-12-30T00:34:06.772Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-30T00:34:06.772Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-30T00:34:06.772Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.057s coverage: 100.0% of statements [2020-12-30T00:34:06.772Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.056s coverage: 91.3% of statements [2020-12-30T00:34:07.043Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.058s coverage: 100.0% of statements [2020-12-30T00:34:07.308Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.106s coverage: 73.7% of statements [2020-12-30T00:34:07.580Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2020-12-30T00:34:09.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.379s coverage: 55.9% of statements [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-30T00:34:09.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.114s coverage: 37.0% of statements [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-30T00:34:09.023Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-30T00:34:09.023Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.326s coverage: 84.0% of statements [2020-12-30T00:34:09.295Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.040s coverage: 100.0% of statements [2020-12-30T00:34:11.365Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.139s coverage: 47.1% of statements [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-30T00:34:11.365Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.053s coverage: 100.0% of statements [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-30T00:34:11.365Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.051s coverage: 100.0% of statements [2020-12-30T00:34:11.365Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-30T00:34:12.803Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.772s coverage: 29.1% of statements [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-30T00:34:12.803Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.119s coverage: 99.0% of statements [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-30T00:34:12.803Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.070s coverage: 100.0% of statements [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-30T00:34:12.803Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.035s coverage: 0.0% of statements [2020-12-30T00:34:12.803Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-30T00:34:13.077Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.042s coverage: 100.0% of statements [2020-12-30T00:34:13.077Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-30T00:34:13.077Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-30T00:34:13.077Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-30T00:34:13.077Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-30T00:34:13.077Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.053s coverage: 87.9% of statements [2020-12-30T00:34:13.077Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-30T00:34:13.077Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-30T00:34:13.676Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements [2020-12-30T00:34:13.676Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.041s coverage: 32.1% of statements [2020-12-30T00:34:14.273Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements [2020-12-30T00:34:14.273Z] FAIL [2020-12-30T00:34:14.556Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2020-12-30T00:34:14.579Z] $ docker stop --time=1 bf3f776e9a2194a841a7904b5467f96455d40b115a06cd836bfa7805ec3046d7 [2020-12-30T00:34:17.119Z] $ docker rm -f bf3f776e9a2194a841a7904b5467f96455d40b115a06cd836bfa7805ec3046d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-12-30T00:34:17.808Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17694 in /w/workspace/edgexfoundry_edgex-go_PR-2966 [Pipeline] { [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] ws [2020-12-30T00:34:17.866Z] Running in /w/workspace/edgex-go/4 [Pipeline] { Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] checkout [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-30T00:34:18.602Z] Failed in branch amd64 [2020-12-30T00:34:23.774Z] using credential edgex-jenkins-ssh [2020-12-30T00:34:23.838Z] Cloning the remote Git repository [2020-12-30T00:34:23.896Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-30T00:34:24.004Z] > git init /w/workspace/edgex-go/4 # timeout=10 [2020-12-30T00:34:24.097Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-30T00:34:24.098Z] > git --version # timeout=10 [2020-12-30T00:34:24.117Z] > git --version # 'git version 2.17.1' [2020-12-30T00:34:24.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:34:24.174Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T00:34:41.604Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-30T00:34:41.633Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T00:34:41.658Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-30T00:34:41.694Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-30T00:34:41.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:34:41.705Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2966/head:refs/remotes/origin/PR-2966 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T00:34:42.416Z] Merging remotes/origin/master commit f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2 into PR head commit 4cc4baa6d41b9568a91853430caab2051acd7a86 [2020-12-30T00:34:43.137Z] Merge succeeded, producing 666450f08e9710d1ebdc176e40c811bbdad75130 [2020-12-30T00:34:43.138Z] Checking out Revision 666450f08e9710d1ebdc176e40c811bbdad75130 (PR-2966) [2020-12-30T00:34:42.436Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T00:34:42.470Z] > git checkout -f 4cc4baa6d41b9568a91853430caab2051acd7a86 # timeout=10 [2020-12-30T00:34:42.763Z] > git remote # timeout=10 [2020-12-30T00:34:42.779Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T00:34:42.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:34:42.813Z] > git merge f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2 # timeout=10 [2020-12-30T00:34:43.125Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T00:34:43.147Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T00:34:43.163Z] > git checkout -f 666450f08e9710d1ebdc176e40c811bbdad75130 # timeout=10 [2020-12-30T00:34:47.628Z] Commit message: "Merge commit 'f96f7b915cefbb80505bb9c3ea8da34b1ed55ef2' into HEAD" [2020-12-30T00:34:47.657Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T00:34:49.119Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:34:47.641Z] > git rev-list --no-walk 8cfcd4bf1d81a315a68afbaee7f94ae474e2c516 # timeout=10 [2020-12-30T00:34:49.558Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:34:50.759Z] + sudo service docker restart+ [2020-12-30T00:34:50.759Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-30T00:34:52.303Z] provisioning config files... [2020-12-30T00:34:52.347Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config9099350151949672648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:34:52.761Z] ---> docker-login.sh [2020-12-30T00:34:52.761Z] nexus3.edgexfoundry.org:10001 [2020-12-30T00:34:53.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:34:54.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:34:54.045Z] Configure a credential helper to remove this warning. See [2020-12-30T00:34:54.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:34:54.045Z] [2020-12-30T00:34:54.045Z] Login Succeeded [2020-12-30T00:34:54.045Z] nexus3.edgexfoundry.org:10002 [2020-12-30T00:34:54.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:34:54.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:34:54.648Z] Configure a credential helper to remove this warning. See [2020-12-30T00:34:54.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:34:54.648Z] [2020-12-30T00:34:54.648Z] Login Succeeded [2020-12-30T00:34:54.648Z] nexus3.edgexfoundry.org:10003 [2020-12-30T00:34:55.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:34:55.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:34:55.549Z] Configure a credential helper to remove this warning. See [2020-12-30T00:34:55.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:34:55.549Z] [2020-12-30T00:34:55.549Z] Login Succeeded [2020-12-30T00:34:55.549Z] nexus3.edgexfoundry.org:10004 [2020-12-30T00:34:56.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:34:56.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:34:56.160Z] Configure a credential helper to remove this warning. See [2020-12-30T00:34:56.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:34:56.160Z] [2020-12-30T00:34:56.160Z] Login Succeeded [2020-12-30T00:34:56.160Z] docker.io [2020-12-30T00:34:56.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-30T00:34:57.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-30T00:34:57.040Z] Configure a credential helper to remove this warning. See [2020-12-30T00:34:57.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-30T00:34:57.040Z] [2020-12-30T00:34:57.040Z] Login Succeeded [2020-12-30T00:34:57.040Z] ---> docker-login.sh ends [Pipeline] } [2020-12-30T00:34:57.062Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-30T00:34:57.559Z] ========================================================= [2020-12-30T00:34:57.559Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-30T00:34:57.559Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:34:57.947Z] + 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-30T00:35:00.620Z] Sending build context to Docker daemon 165.4MB [2020-12-30T00:35:00.621Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-30T00:35:00.621Z] Step 2/7 : FROM ${BASE} [2020-12-30T00:35:00.621Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-30T00:35:00.621Z] 5f621e34cdf4: Pulling fs layer [2020-12-30T00:35:00.621Z] a4357932f1b6: Pulling fs layer [2020-12-30T00:35:00.621Z] 18c013af1878: Pulling fs layer [2020-12-30T00:35:00.621Z] 00ac8860ef70: Pulling fs layer [2020-12-30T00:35:00.621Z] 63d7cb157983: Pulling fs layer [2020-12-30T00:35:00.621Z] b116817d02f9: Pulling fs layer [2020-12-30T00:35:00.621Z] 745a02a5169b: Pulling fs layer [2020-12-30T00:35:00.621Z] 00ac8860ef70: Waiting [2020-12-30T00:35:00.621Z] 63d7cb157983: Waiting [2020-12-30T00:35:00.621Z] b116817d02f9: Waiting [2020-12-30T00:35:00.621Z] 745a02a5169b: Waiting [2020-12-30T00:35:00.621Z] 18c013af1878: Verifying Checksum [2020-12-30T00:35:00.621Z] 18c013af1878: Download complete [2020-12-30T00:35:00.621Z] a4357932f1b6: Verifying Checksum [2020-12-30T00:35:00.621Z] a4357932f1b6: Download complete [2020-12-30T00:35:00.621Z] 63d7cb157983: Verifying Checksum [2020-12-30T00:35:00.621Z] 63d7cb157983: Download complete [2020-12-30T00:35:00.621Z] b116817d02f9: Download complete [2020-12-30T00:35:01.224Z] 5f621e34cdf4: Verifying Checksum [2020-12-30T00:35:01.224Z] 5f621e34cdf4: Download complete [2020-12-30T00:35:01.831Z] 5f621e34cdf4: Pull complete [2020-12-30T00:35:02.450Z] a4357932f1b6: Pull complete [2020-12-30T00:35:02.737Z] 18c013af1878: Pull complete [2020-12-30T00:35:04.748Z] 745a02a5169b: Verifying Checksum [2020-12-30T00:35:04.748Z] 745a02a5169b: Download complete [2020-12-30T00:35:05.348Z] 00ac8860ef70: Verifying Checksum [2020-12-30T00:35:05.348Z] 00ac8860ef70: Download complete [2020-12-30T00:35:15.547Z] 00ac8860ef70: Pull complete [2020-12-30T00:35:15.547Z] 63d7cb157983: Pull complete [2020-12-30T00:35:16.139Z] b116817d02f9: Pull complete [2020-12-30T00:35:19.546Z] 745a02a5169b: Pull complete [2020-12-30T00:35:19.546Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-30T00:35:19.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-30T00:35:19.546Z] ---> b7e6874047d6 [2020-12-30T00:35:19.546Z] 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-30T00:35:23.884Z] ---> Running in 8e0e0647b1eb [2020-12-30T00:35:24.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-30T00:35:25.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-30T00:35:29.380Z] (1/12) Installing libmagic (5.38-r0) [2020-12-30T00:35:30.357Z] (2/12) Installing file (5.38-r0) [2020-12-30T00:35:30.357Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-30T00:35:30.357Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-30T00:35:40.511Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-30T00:35:40.511Z] (6/12) Installing patch (2.7.6-r6) [2020-12-30T00:35:40.511Z] (7/12) Installing build-base (0.5-r2) [2020-12-30T00:35:40.784Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-30T00:35:40.784Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-30T00:35:40.784Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-30T00:35:41.059Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-30T00:35:41.059Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-30T00:35:41.334Z] Executing busybox-1.31.1-r19.trigger [2020-12-30T00:35:41.334Z] OK: 217 MiB in 51 packages [2020-12-30T00:35:46.891Z] Removing intermediate container 8e0e0647b1eb [2020-12-30T00:35:46.891Z] ---> ea736c2d3c0f [2020-12-30T00:35:46.891Z] Step 4/7 : WORKDIR /edgex-go [2020-12-30T00:35:46.891Z] ---> Running in 1e2046dc11a9 [2020-12-30T00:35:46.891Z] Removing intermediate container 1e2046dc11a9 [2020-12-30T00:35:46.891Z] ---> 6cde293ab263 [2020-12-30T00:35:46.891Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-30T00:35:47.176Z] latest: Pulling from library/docker [2020-12-30T00:35:47.492Z] 159e5727ea61: Pulling fs layer [2020-12-30T00:35:47.492Z] 687389c36290: Pulling fs layer [2020-12-30T00:35:47.492Z] 94e28978939c: Pulling fs layer [2020-12-30T00:35:47.492Z] ea42096754a7: Pulling fs layer [2020-12-30T00:35:47.492Z] bd61cee6920e: Pulling fs layer [2020-12-30T00:35:47.492Z] 87c4ece4675c: Pulling fs layer [2020-12-30T00:35:47.492Z] 90ca8b2ff088: Pulling fs layer [2020-12-30T00:35:47.492Z] bd61cee6920e: Waiting [2020-12-30T00:35:47.492Z] 87c4ece4675c: Waiting [2020-12-30T00:35:47.492Z] 90ca8b2ff088: Waiting [2020-12-30T00:35:47.492Z] ea42096754a7: Waiting [2020-12-30T00:35:47.492Z] 94e28978939c: Verifying Checksum [2020-12-30T00:35:47.492Z] 94e28978939c: Download complete [2020-12-30T00:35:47.813Z] 687389c36290: Verifying Checksum [2020-12-30T00:35:47.813Z] 687389c36290: Download complete [2020-12-30T00:35:47.813Z] 159e5727ea61: Verifying Checksum [2020-12-30T00:35:47.813Z] 87c4ece4675c: Download complete [2020-12-30T00:35:47.813Z] bd61cee6920e: Download complete [2020-12-30T00:35:47.813Z] 90ca8b2ff088: Verifying Checksum [2020-12-30T00:35:47.813Z] 90ca8b2ff088: Download complete [2020-12-30T00:35:48.420Z] 159e5727ea61: Pull complete [2020-12-30T00:35:49.410Z] 687389c36290: Pull complete [2020-12-30T00:35:49.686Z] ea42096754a7: Verifying Checksum [2020-12-30T00:35:49.686Z] ea42096754a7: Download complete [2020-12-30T00:35:49.686Z] 94e28978939c: Pull complete [2020-12-30T00:35:53.101Z] ea42096754a7: Pull complete [2020-12-30T00:35:53.379Z] bd61cee6920e: Pull complete [2020-12-30T00:35:53.986Z] 87c4ece4675c: Pull complete [2020-12-30T00:35:54.258Z] 90ca8b2ff088: Pull complete [2020-12-30T00:35:54.258Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-30T00:35:54.258Z] Status: Downloaded newer image for docker:latest [2020-12-30T00:35:58.595Z] ---> 3415aae3f937 [2020-12-30T00:35:58.595Z] Step 6/7 : COPY go.mod . [2020-12-30T00:35:58.881Z] ---> 7825fdfe1648 [2020-12-30T00:35:58.881Z] Step 7/7 : RUN go mod download [2020-12-30T00:35:59.164Z] ---> Running in 43e803495e70 [2020-12-30T00:36:26.013Z] Removing intermediate container 43e803495e70 [2020-12-30T00:36:26.013Z] ---> 90367df11397 [2020-12-30T00:36:26.013Z] Successfully built 90367df11397 [2020-12-30T00:36:26.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:36:26.358Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T00:36:26.358Z] . [Pipeline] withDockerContainer [2020-12-30T00:36:26.622Z] prd-ubuntu18.04-docker-arm64-4c-16g-17694 does not seem to be running inside a container [2020-12-30T00:36:26.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-30T00:36:28.176Z] $ docker top ab0773b111eff5216a152d2d95da1ccd559e5a18d093fe180cecb71304b08edc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:36:29.255Z] + go version [2020-12-30T00:36:29.255Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-30T00:36:29.286Z] $ docker stop --time=1 ab0773b111eff5216a152d2d95da1ccd559e5a18d093fe180cecb71304b08edc [2020-12-30T00:36:31.283Z] $ docker rm -f ab0773b111eff5216a152d2d95da1ccd559e5a18d093fe180cecb71304b08edc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:36:32.380Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T00:36:32.380Z] . [Pipeline] withDockerContainer [2020-12-30T00:36:32.733Z] prd-ubuntu18.04-docker-arm64-4c-16g-17694 does not seem to be running inside a container [2020-12-30T00:36:32.881Z] $ 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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-30T00:36:34.404Z] $ docker top 63be1f5b7cc3344cfd1d5e07fff95ed3ab06489bc31a90912d7af47c50889be5 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-30T00:36:34.739Z] ========================================================= [2020-12-30T00:36:34.739Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-30T00:36:34.739Z] ========================================================= [Pipeline] sh [2020-12-30T00:36:35.387Z] + make test [2020-12-30T00:36:35.387Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-30T00:37:02.275Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-30T00:37:59.285Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-30T00:38:04.773Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-30T00:38:11.527Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-30T00:38:11.527Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-30T00:38:11.527Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-30T00:38:11.527Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-30T00:38:11.527Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-30T00:38:11.527Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-30T00:38:13.533Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-30T00:38:15.007Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-30T00:38:23.343Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-30T00:38:23.343Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-30T00:38:23.343Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-30T00:38:31.821Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.249s coverage: 46.6% of statements [2020-12-30T00:38:31.821Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-30T00:38:31.821Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-30T00:38:31.821Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-30T00:38:31.821Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-30T00:38:31.821Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-30T00:38:40.174Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.533s coverage: 27.0% of statements [2020-12-30T00:38:40.174Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-30T00:38:40.174Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-30T00:38:40.175Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.069s coverage: 100.0% of statements [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-30T00:38:40.175Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.080s coverage: 100.0% of statements [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-30T00:38:40.175Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.574s coverage: 74.4% of statements [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-30T00:38:40.175Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.692s coverage: 83.3% of statements [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-30T00:38:40.175Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-30T00:38:50.368Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.426s coverage: 28.6% of statements [2020-12-30T00:38:50.368Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-30T00:38:50.368Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-30T00:38:50.368Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-30T00:38:50.368Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-30T00:38:50.368Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-30T00:38:50.368Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.165s coverage: 100.0% of statements [2020-12-30T00:38:50.368Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-30T00:38:50.368Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.090s coverage: 100.0% of statements [2020-12-30T00:38:50.369Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-30T00:38:50.369Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.465s coverage: 86.7% of statements [2020-12-30T00:38:50.369Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-30T00:38:50.369Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.389s coverage: 97.5% of statements [2020-12-30T00:38:50.369Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-30T00:38:51.357Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.173s coverage: 78.3% of statements [2020-12-30T00:38:51.357Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-30T00:38:51.357Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-30T00:38:51.357Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-30T00:38:51.357Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-30T00:38:58.108Z] panic: [2020-12-30T00:38:58.108Z] assert: mock: I don't know what to return because the method call was unexpected. [2020-12-30T00:38:58.108Z] Either do Mock.On("DeviceServiceByName").Return(...) first, or remove the DeviceServiceByName() call. [2020-12-30T00:38:58.108Z] This method was unexpected: [2020-12-30T00:38:58.108Z] DeviceServiceByName(string) [2020-12-30T00:38:58.108Z] 0: "TestDeviceServiceName" [2020-12-30T00:38:58.108Z] at: [DBClient.go:501 deviceservice.go:52 notify.go:19 asm_arm64.s:1136] [2020-12-30T00:38:58.108Z] [2020-12-30T00:38:58.108Z] goroutine 19 [running]: [2020-12-30T00:38:58.108Z] github.com/stretchr/testify/mock.(*Mock).fail(0x400030e000, 0x5a9a6f, 0xc1, 0x400042a140, 0x4, 0x4) [2020-12-30T00:38:58.108Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:254 +0x180 [2020-12-30T00:38:58.108Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x400030e000, 0x83ad0f, 0x13, 0x4000408000, 0x1, 0x1, 0x400042a000, 0x4, 0x4) [2020-12-30T00:38:58.108Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:391 +0xa44 [2020-12-30T00:38:58.108Z] github.com/stretchr/testify/mock.(*Mock).Called(0x400030e000, 0x4000408000, 0x1, 0x1, 0x4000405578, 0x4f478, 0x40004055f8) [2020-12-30T00:38:58.108Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:356 +0x15c [2020-12-30T00:38:58.108Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).DeviceServiceByName(0x400030e000, 0x40003181c0, 0x15, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-12-30T00:38:58.108Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:501 +0xcc [2020-12-30T00:38:58.108Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.DeviceServiceByName(0x40003181c0, 0x15, 0x6415a0, 0x400001c138, 0x400030a000, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-12-30T00:38:58.108Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/application/deviceservice.go:52 +0xe4 [2020-12-30T00:38:58.108Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.addDeviceCallback(0x6415a0, 0x400001c138, 0x400030a000, 0x0, 0x0, 0x400034e090, 0x24, 0x0, 0x0, 0x4000300820, ...) [2020-12-30T00:38:58.108Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/application/notify.go:19 +0xe0 [2020-12-30T00:38:58.108Z] created by github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDevice [2020-12-30T00:38:58.108Z] /w/workspace/edgex-go/4/internal/core/metadata/v2/application/device.go:53 +0x3d8 [2020-12-30T00:38:58.108Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.176s [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-30T00:38:58.108Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-30T00:38:58.109Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-30T00:38:58.109Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.188s coverage: 0.1% of statements [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-30T00:38:58.109Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.057s coverage: 100.0% of statements [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-30T00:38:58.109Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.155s coverage: 75.5% of statements [2020-12-30T00:38:58.109Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-30T00:38:58.383Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.8% of statements [2020-12-30T00:38:58.994Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.163s coverage: 87.2% of statements [2020-12-30T00:39:00.998Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.194s coverage: 84.2% of statements [2020-12-30T00:39:03.012Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.219s coverage: 91.4% of statements [2020-12-30T00:39:03.012Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-30T00:39:05.019Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.822s coverage: 63.5% of statements [2020-12-30T00:39:05.019Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-30T00:39:05.019Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-30T00:39:05.019Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.078s coverage: 100.0% of statements [2020-12-30T00:39:05.617Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.147s coverage: 91.3% of statements [2020-12-30T00:39:05.892Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.123s coverage: 100.0% of statements [2020-12-30T00:39:06.169Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.085s coverage: 73.7% of statements [2020-12-30T00:39:08.172Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.058s coverage: 100.0% of statements [2020-12-30T00:39:12.573Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.970s coverage: 55.9% of statements [2020-12-30T00:39:12.573Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-30T00:39:12.573Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-30T00:39:12.573Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-30T00:39:12.573Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-30T00:39:12.573Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-30T00:39:13.572Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.425s coverage: 37.0% of statements [2020-12-30T00:39:13.572Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-30T00:39:13.572Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-30T00:39:13.572Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.935s coverage: 84.0% of statements [2020-12-30T00:39:13.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.102s coverage: 100.0% of statements [2020-12-30T00:39:24.044Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.472s coverage: 47.1% of statements [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-30T00:39:24.044Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.188s coverage: 100.0% of statements [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-30T00:39:24.044Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.111s coverage: 100.0% of statements [2020-12-30T00:39:24.044Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 4.710s coverage: 29.1% of statements [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.222s coverage: 99.0% of statements [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.167s coverage: 100.0% of statements [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.047s coverage: 0.0% of statements [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.098s coverage: 100.0% of statements [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.093s coverage: 87.9% of statements [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-30T00:39:29.753Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.068s coverage: 100.0% of statements [2020-12-30T00:39:29.753Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.061s coverage: 32.1% of statements [2020-12-30T00:39:30.356Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.092s coverage: 100.0% of statements [2020-12-30T00:39:30.356Z] FAIL [2020-12-30T00:39:31.337Z] make: *** [Makefile:94: test] Error 1 [Pipeline] } [2020-12-30T00:39:31.370Z] $ docker stop --time=1 63be1f5b7cc3344cfd1d5e07fff95ed3ab06489bc31a90912d7af47c50889be5 [2020-12-30T00:39:33.601Z] $ docker rm -f 63be1f5b7cc3344cfd1d5e07fff95ed3ab06489bc31a90912d7af47c50889be5 [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-30T00:39:35.661Z] 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-30T00:39:37.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:39:38.684Z] ---> package-listing.sh [2020-12-30T00:39:38.684Z] ++ facter osfamily [2020-12-30T00:39:38.684Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-30T00:39:38.953Z] + OS_FAMILY=redhat [2020-12-30T00:39:38.953Z] + workspace=/w/workspace/edgex-go/4 [2020-12-30T00:39:38.953Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-30T00:39:38.953Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-30T00:39:38.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-30T00:39:38.953Z] + PACKAGES=/tmp/packages_start.txt [2020-12-30T00:39:38.953Z] + '[' /w/workspace/edgex-go/4 ']' [2020-12-30T00:39:38.953Z] + PACKAGES=/tmp/packages_end.txt [2020-12-30T00:39:38.953Z] + case "${OS_FAMILY}" in [2020-12-30T00:39:38.953Z] + rpm -qa [2020-12-30T00:39:38.953Z] + sort [2020-12-30T00:39:44.294Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-30T00:39:44.294Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-30T00:39:44.294Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-30T00:39:44.294Z] + '[' /w/workspace/edgex-go/4 ']' [2020-12-30T00:39:44.294Z] + mkdir -p /w/workspace/edgex-go/4/archives/ [2020-12-30T00:39:44.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/4/archives/ [Pipeline] echo [2020-12-30T00:39:44.310Z] 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/4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-30T00:39:44.615Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:39:45.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T00:39:45.463Z] [2020-12-30T00:39:45.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:39:45.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T00:39:45.817Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-30T00:39:45.817Z] df20fa9351a1: Pulling fs layer [2020-12-30T00:39:45.817Z] 36b3adc4ff6f: Pulling fs layer [2020-12-30T00:39:45.817Z] 8ad3a11d3b57: Pulling fs layer [2020-12-30T00:39:45.817Z] 46f8f816bc3b: Pulling fs layer [2020-12-30T00:39:45.817Z] 93b61091891f: Pulling fs layer [2020-12-30T00:39:45.817Z] 93b9cdb0e59b: Pulling fs layer [2020-12-30T00:39:45.817Z] 5e14af77c1be: Pulling fs layer [2020-12-30T00:39:45.817Z] 01666e4c0597: Pulling fs layer [2020-12-30T00:39:45.817Z] aa168da1d23b: Pulling fs layer [2020-12-30T00:39:45.817Z] 46f8f816bc3b: Waiting [2020-12-30T00:39:45.817Z] 93b61091891f: Waiting [2020-12-30T00:39:45.817Z] 93b9cdb0e59b: Waiting [2020-12-30T00:39:45.817Z] 5e14af77c1be: Waiting [2020-12-30T00:39:45.817Z] 01666e4c0597: Waiting [2020-12-30T00:39:45.817Z] aa168da1d23b: Waiting [2020-12-30T00:39:45.817Z] 36b3adc4ff6f: Verifying Checksum [2020-12-30T00:39:45.817Z] 36b3adc4ff6f: Download complete [2020-12-30T00:39:46.081Z] 46f8f816bc3b: Verifying Checksum [2020-12-30T00:39:46.081Z] 46f8f816bc3b: Download complete [2020-12-30T00:39:46.081Z] df20fa9351a1: Verifying Checksum [2020-12-30T00:39:46.081Z] df20fa9351a1: Download complete [2020-12-30T00:39:46.081Z] 93b9cdb0e59b: Verifying Checksum [2020-12-30T00:39:46.081Z] 93b9cdb0e59b: Download complete [2020-12-30T00:39:46.081Z] 5e14af77c1be: Verifying Checksum [2020-12-30T00:39:46.081Z] 5e14af77c1be: Download complete [2020-12-30T00:39:46.081Z] 01666e4c0597: Download complete [2020-12-30T00:39:46.081Z] 93b61091891f: Download complete [2020-12-30T00:39:46.658Z] df20fa9351a1: Pull complete [2020-12-30T00:39:46.658Z] 36b3adc4ff6f: Pull complete [2020-12-30T00:39:46.923Z] 8ad3a11d3b57: Verifying Checksum [2020-12-30T00:39:46.923Z] 8ad3a11d3b57: Download complete [2020-12-30T00:39:47.893Z] 8ad3a11d3b57: Pull complete [2020-12-30T00:39:48.164Z] 46f8f816bc3b: Pull complete [2020-12-30T00:39:48.749Z] 93b61091891f: Pull complete [2020-12-30T00:39:49.013Z] 93b9cdb0e59b: Pull complete [2020-12-30T00:39:49.013Z] 5e14af77c1be: Pull complete [2020-12-30T00:39:49.281Z] 01666e4c0597: Pull complete [2020-12-30T00:39:49.281Z] aa168da1d23b: Verifying Checksum [2020-12-30T00:39:49.281Z] aa168da1d23b: Download complete [2020-12-30T00:39:59.375Z] aa168da1d23b: Pull complete [2020-12-30T00:39:59.375Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-30T00:39:59.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T00:39:59.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-30T00:39:59.639Z] prd-centos7-docker-4c-2g-17679 does not seem to be running inside a container [2020-12-30T00:39:59.714Z] $ 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/4/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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-30T00:40:03.310Z] $ docker top 259dfe01846360f83814d16df3cef87323dce5776518deb3838f6d8a2502751f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:40:03.885Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-30T00:40:04.213Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-30T00:40:04.531Z] + ls /var/log/sa-host [2020-12-30T00:40:04.531Z] + sadf -c /var/log/sa-host/sa23 [2020-12-30T00:40:04.531Z] file_magic: OK [2020-12-30T00:40:04.531Z] HZ: Using current value: 100 [2020-12-30T00:40:04.531Z] file_header: OK [2020-12-30T00:40:04.531Z] 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-30T00:40:04.531Z] Statistics: [2020-12-30T00:40:04.531Z] Hnuu...uuuununununu... [2020-12-30T00:40:04.531Z] File successfully converted to sysstat format version 12.2.1 [2020-12-30T00:40:04.531Z] + sadf -c /var/log/sa-host/sa30 [2020-12-30T00:40:04.531Z] file_magic: OK [2020-12-30T00:40:04.531Z] HZ: Using current value: 100 [2020-12-30T00:40:04.531Z] file_header: OK [2020-12-30T00:40:04.531Z] 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-30T00:40:04.531Z] Statistics: [2020-12-30T00:40:04.531Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-30T00:40:04.531Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-30T00:40:04.745Z] provisioning config files... [2020-12-30T00:40:04.766Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/4@tmp/config4827512610400855134tmp [Pipeline] { [Pipeline] echo [2020-12-30T00:40:04.836Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:40:05.149Z] ---> create-netrc.sh [Pipeline] } [2020-12-30T00:40:05.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-30T00:40:05.289Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:40:05.599Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-30T00:40:05.612Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:40:05.923Z] ---> sudo-logs.sh [2020-12-30T00:40:05.923Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-30T00:40:05.937Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:40:06.243Z] ---> job-cost.sh [2020-12-30T00:40:06.243Z] lf-activate-venv: SKIPPING [2020-12-30T00:40:06.243Z] INFO: No Stack... [2020-12-30T00:40:07.641Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-30T00:40:08.319Z] INFO: Archiving Costs [Pipeline] echo [2020-12-30T00:40:08.358Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:40:08.836Z] ---> logs-deploy.sh [2020-12-30T00:40:08.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2966/4 [2020-12-30T00:40:08.836Z] INFO: archiving workspace using pattern(s): [2020-12-30T00:40:10.838Z] Archives upload complete. [2020-12-30T00:40:10.838Z] INFO: archiving logs to Nexus