Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d697f03c37d581ce318702a7abdc76036c41feac+f9701ca4d4e57208c1a31bf7b99f537ed3b28d72 (683fd1915db297b95753e356a8408b608bfa8ece) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15516 in /w/workspace/edgexfoundry_edgex-go_PR-2935 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f9701ca4d4e57208c1a31bf7b99f537ed3b28d72 into PR head commit d697f03c37d581ce318702a7abdc76036c41feac Merge succeeded, producing 48419d70e5cd5d55ffa0b394a17158509ce68da9 Checking out Revision 48419d70e5cd5d55ffa0b394a17158509ce68da9 (PR-2935) > 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/2935/head:refs/remotes/origin/PR-2935 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d697f03c37d581ce318702a7abdc76036c41feac # 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 f9701ca4d4e57208c1a31bf7b99f537ed3b28d72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48419d70e5cd5d55ffa0b394a17158509ce68da9 # timeout=10 Commit message: "Merge commit 'f9701ca4d4e57208c1a31bf7b99f537ed3b28d72' into HEAD" > git rev-list --no-walk d697f03c37d581ce318702a7abdc76036c41feac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T00:30:48.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-11T00:30:48.885Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T00:30:49.014Z] ========================================================= [2020-12-11T00:30:49.014Z] EdgeX Global Pipelines Version Info [2020-12-11T00:30:49.014Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:30:50.925Z] ------------------- [2020-12-11T00:30:50.925Z] stable info: [2020-12-11T00:30:50.925Z] ------------------- [2020-12-11T00:30:50.925Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T00:30:50.925Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T00:30:50.925Z] Message: update stable to v1.0.172 [2020-12-11T00:30:51.501Z] ------------------- [2020-12-11T00:30:51.502Z] experimental info: [2020-12-11T00:30:51.502Z] ------------------- [2020-12-11T00:30:51.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T00:30:51.502Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T00:30:51.502Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T00:30:51.769Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-11T00:30:51.872Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-11T00:30:51.962Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T00:30:52.047Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T00:30:52.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T00:30:52.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T00:30:52.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T00:30:52.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-11T00:30:52.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-11T00:30:52.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-11T00:30:52.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T00:30:52.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T00:30:53.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T00:30:53.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T00:30:53.289Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-11T00:30:53.375Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-11T00:30:53.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-11T00:30:53.536Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T00:30:53.620Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-11T00:30:53.778Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-11T00:30:53.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-11T00:30:53.985Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T00:30:54.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2935 [Pipeline] echo [2020-12-11T00:30:54.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2935 [Pipeline] echo [2020-12-11T00:30:54.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2935 [Pipeline] echo [2020-12-11T00:30:54.353Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48419d70e5cd5d55ffa0b394a17158509ce68da9 [Pipeline] echo [2020-12-11T00:30:54.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48419d7 [Pipeline] echo [2020-12-11T00:30:54.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T00:30:54.690Z] provisioning config files... [2020-12-11T00:30:54.717Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config4424834941961727875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:30:55.076Z] ---> docker-login.sh [2020-12-11T00:30:55.076Z] nexus3.edgexfoundry.org:10001 [2020-12-11T00:30:55.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:30:55.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:30:55.340Z] Configure a credential helper to remove this warning. See [2020-12-11T00:30:55.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:30:55.340Z] [2020-12-11T00:30:55.340Z] Login Succeeded [2020-12-11T00:30:55.340Z] nexus3.edgexfoundry.org:10002 [2020-12-11T00:30:55.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:30:55.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:30:55.603Z] Configure a credential helper to remove this warning. See [2020-12-11T00:30:55.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:30:55.603Z] [2020-12-11T00:30:55.603Z] Login Succeeded [2020-12-11T00:30:55.603Z] nexus3.edgexfoundry.org:10003 [2020-12-11T00:30:55.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:30:55.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:30:55.865Z] Configure a credential helper to remove this warning. See [2020-12-11T00:30:55.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:30:55.865Z] [2020-12-11T00:30:55.865Z] Login Succeeded [2020-12-11T00:30:55.865Z] nexus3.edgexfoundry.org:10004 [2020-12-11T00:30:55.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:30:56.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:30:56.127Z] Configure a credential helper to remove this warning. See [2020-12-11T00:30:56.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:30:56.127Z] [2020-12-11T00:30:56.127Z] Login Succeeded [2020-12-11T00:30:56.127Z] docker.io [2020-12-11T00:30:56.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:30:56.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:30:56.390Z] Configure a credential helper to remove this warning. See [2020-12-11T00:30:56.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:30:56.390Z] [2020-12-11T00:30:56.390Z] Login Succeeded [2020-12-11T00:30:56.390Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T00:30:56.399Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T00:30:56.885Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/core-command/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/core-data/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/security-secrets-setup/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-11T00:30:56.885Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-11T00:30:56.885Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-11T00:30:56.885Z] ++ cut -d/ -f2 [2020-12-11T00:30:56.885Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-11T00:30:56.956Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:30:57.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T00:30:57.771Z] [2020-12-11T00:30:57.771Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:30:58.126Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T00:30:58.126Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T00:30:58.126Z] 31603596830f: Pulling fs layer [2020-12-11T00:30:58.126Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T00:30:58.126Z] 6ca5941a6612: Pulling fs layer [2020-12-11T00:30:58.126Z] ecc8261a40a4: Pulling fs layer [2020-12-11T00:30:58.126Z] ecc8261a40a4: Waiting [2020-12-11T00:30:58.126Z] 2a8b12db71e7: Verifying Checksum [2020-12-11T00:30:58.126Z] 2a8b12db71e7: Download complete [2020-12-11T00:30:58.126Z] 31603596830f: Verifying Checksum [2020-12-11T00:30:58.126Z] 31603596830f: Download complete [2020-12-11T00:30:58.394Z] ecc8261a40a4: Verifying Checksum [2020-12-11T00:30:58.394Z] ecc8261a40a4: Download complete [2020-12-11T00:30:58.394Z] 6ca5941a6612: Verifying Checksum [2020-12-11T00:30:58.394Z] 6ca5941a6612: Download complete [2020-12-11T00:30:58.666Z] 31603596830f: Pull complete [2020-12-11T00:30:58.666Z] 2a8b12db71e7: Pull complete [2020-12-11T00:30:59.620Z] 6ca5941a6612: Pull complete [2020-12-11T00:30:59.620Z] ecc8261a40a4: Pull complete [2020-12-11T00:30:59.620Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T00:30:59.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T00:30:59.882Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T00:30:59.983Z] prd-centos7-docker-4c-2g-15516 does not seem to be running inside a container [2020-12-11T00:31:00.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T00:31:02.637Z] $ docker top 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T00:31:02.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T00:31:02.997Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T00:31:03.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T00:31:03.216Z] $ docker exec 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 ssh-agent [2020-12-11T00:31:03.400Z] SSH_AUTH_SOCK=/tmp/ssh-LKw8mMMgVSiY/agent.12 [2020-12-11T00:31:03.400Z] SSH_AGENT_PID=17 [2020-12-11T00:31:03.412Z] Running ssh-add (command line suppressed) [2020-12-11T00:31:03.550Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2739393777924552173.key (/w/workspace/edgex-go/2@tmp/private_key_2739393777924552173.key) [2020-12-11T00:31:03.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T00:31:03.952Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T00:31:03.972Z] $ docker exec --env ******** --env ******** 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 ssh-agent -k [2020-12-11T00:31:04.108Z] unset SSH_AUTH_SOCK; [2020-12-11T00:31:04.109Z] unset SSH_AGENT_PID; [2020-12-11T00:31:04.109Z] echo Agent pid 17 killed; [2020-12-11T00:31:04.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T00:31:04.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T00:31:04.332Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T00:31:04.520Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T00:31:04.519Z] $ docker exec 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 ssh-agent [2020-12-11T00:31:04.693Z] SSH_AUTH_SOCK=/tmp/ssh-uwfitG7FaNVS/agent.47 [2020-12-11T00:31:04.693Z] SSH_AGENT_PID=52 [2020-12-11T00:31:04.701Z] Running ssh-add (command line suppressed) [2020-12-11T00:31:04.810Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_4697969848723469950.key (/w/workspace/edgex-go/2@tmp/private_key_4697969848723469950.key) [2020-12-11T00:31:04.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T00:31:05.201Z] + git semver init [2020-12-11T00:31:05.201Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T00:31:05.201Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2020-12-11T00:31:05.201Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2020-12-11T00:31:05.201Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T00:31:05.201Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T00:31:05.201Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T00:31:05.201Z] # $SEMVER_BRANCH = PR-2935 [2020-12-11T00:31:05.201Z] # $SEMVER_TEMP = /tmp/semver-349251755 [2020-12-11T00:31:05.201Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-11T00:31:44.010Z] # '/tmp/semver-349251755' -> '/w/workspace/edgex-go/2/.semver' [2020-12-11T00:31:44.010Z] # -> Force: false [2020-12-11T00:31:44.010Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2020-12-11T00:31:44.019Z] $ docker exec --env ******** --env ******** 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 ssh-agent -k [2020-12-11T00:31:44.291Z] unset SSH_AUTH_SOCK; [2020-12-11T00:31:44.292Z] unset SSH_AGENT_PID; [2020-12-11T00:31:44.292Z] echo Agent pid 52 killed; [2020-12-11T00:31:44.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T00:31:44.858Z] + git semver [Pipeline] } [2020-12-11T00:31:44.872Z] $ docker stop --time=1 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 [2020-12-11T00:31:46.741Z] $ docker rm -f 7e59a1b0aba48f52052e3a1d2dcbe6c6f181f7ec4ffc7f371070748d909446d5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T00:31:47.278Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T00:31:47.772Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T00:31:47.775Z] [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-11T00:31:48.701Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T00:31:48.998Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T00:31:49.296Z] + true [2020-12-11T00:31:49.297Z] + sudo service docker restart [2020-12-11T00:31:49.297Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-11T00:31:49.883Z] ========================================================= [2020-12-11T00:31:49.883Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T00:31:49.883Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:31:50.235Z] + 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-11T00:31:53.550Z] Sending build context to Docker daemon 326.4MB [2020-12-11T00:31:53.550Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T00:31:53.550Z] Step 2/7 : FROM ${BASE} [2020-12-11T00:31:53.550Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T00:31:53.550Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T00:31:53.550Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T00:31:53.550Z] de9db76c5a1d: Pulling fs layer [2020-12-11T00:31:53.550Z] bca2f99d35d6: Pulling fs layer [2020-12-11T00:31:53.550Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T00:31:53.550Z] 7c6f9722023f: Pulling fs layer [2020-12-11T00:31:53.550Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T00:31:53.550Z] bca2f99d35d6: Waiting [2020-12-11T00:31:53.550Z] 93359f2a8cfa: Waiting [2020-12-11T00:31:53.550Z] 7c6f9722023f: Waiting [2020-12-11T00:31:53.550Z] a35cf1a2eb13: Waiting [2020-12-11T00:31:53.550Z] de9db76c5a1d: Download complete [2020-12-11T00:31:53.550Z] 0ef7d3d256c8: Verifying Checksum [2020-12-11T00:31:53.550Z] 0ef7d3d256c8: Download complete [2020-12-11T00:31:53.550Z] 93359f2a8cfa: Verifying Checksum [2020-12-11T00:31:53.550Z] 93359f2a8cfa: Download complete [2020-12-11T00:31:53.550Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T00:31:53.550Z] 188c0c94c7c5: Download complete [2020-12-11T00:31:53.550Z] 7c6f9722023f: Verifying Checksum [2020-12-11T00:31:53.550Z] 7c6f9722023f: Download complete [2020-12-11T00:31:54.504Z] 188c0c94c7c5: Pull complete [2020-12-11T00:31:55.455Z] 0ef7d3d256c8: Pull complete [2020-12-11T00:31:55.718Z] de9db76c5a1d: Pull complete [2020-12-11T00:31:56.672Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T00:31:56.672Z] a35cf1a2eb13: Download complete [2020-12-11T00:31:57.630Z] bca2f99d35d6: Verifying Checksum [2020-12-11T00:31:57.630Z] bca2f99d35d6: Download complete [2020-12-11T00:32:02.964Z] bca2f99d35d6: Pull complete [2020-12-11T00:32:02.964Z] 93359f2a8cfa: Pull complete [2020-12-11T00:32:02.964Z] 7c6f9722023f: Pull complete [2020-12-11T00:32:03.181Z] Still waiting to schedule task [2020-12-11T00:32:03.181Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-11T00:32:11.159Z] a35cf1a2eb13: Pull complete [2020-12-11T00:32:11.159Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T00:32:11.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T00:32:11.159Z] ---> a62c8e92a672 [2020-12-11T00:32:11.159Z] 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-11T00:32:11.159Z] ---> Running in edd95337889b [2020-12-11T00:32:11.159Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T00:32:12.553Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T00:32:13.501Z] (1/12) Installing libmagic (5.38-r0) [2020-12-11T00:32:14.080Z] (2/12) Installing file (5.38-r0) [2020-12-11T00:32:14.080Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-11T00:32:14.080Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-11T00:32:36.062Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-11T00:32:36.062Z] (6/12) Installing patch (2.7.6-r6) [2020-12-11T00:32:36.062Z] (7/12) Installing build-base (0.5-r2) [2020-12-11T00:32:36.062Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-11T00:32:36.062Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-11T00:32:36.062Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-11T00:32:36.062Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-11T00:32:36.062Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-11T00:32:36.062Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T00:32:36.062Z] OK: 233 MiB in 51 packages [2020-12-11T00:32:39.367Z] Removing intermediate container edd95337889b [2020-12-11T00:32:39.367Z] ---> 3ac8fe32474d [2020-12-11T00:32:39.367Z] Step 4/7 : WORKDIR /edgex-go [2020-12-11T00:32:39.367Z] ---> Running in 21e90b3f463f [2020-12-11T00:32:39.367Z] Removing intermediate container 21e90b3f463f [2020-12-11T00:32:39.367Z] ---> c72c6845fce2 [2020-12-11T00:32:39.367Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-11T00:32:39.627Z] latest: Pulling from library/docker [2020-12-11T00:32:40.200Z] 188c0c94c7c5: Already exists [2020-12-11T00:32:40.200Z] 0c7c675703d6: Pulling fs layer [2020-12-11T00:32:40.200Z] cc8c12a437cb: Pulling fs layer [2020-12-11T00:32:40.200Z] 0fad174ccba3: Pulling fs layer [2020-12-11T00:32:40.200Z] f78b7b4f0096: Pulling fs layer [2020-12-11T00:32:40.200Z] 4b74a9be2796: Pulling fs layer [2020-12-11T00:32:40.200Z] 6e2fb13aee8f: Pulling fs layer [2020-12-11T00:32:40.200Z] f78b7b4f0096: Waiting [2020-12-11T00:32:40.200Z] 4b74a9be2796: Waiting [2020-12-11T00:32:40.200Z] 6e2fb13aee8f: Waiting [2020-12-11T00:32:40.200Z] cc8c12a437cb: Verifying Checksum [2020-12-11T00:32:40.200Z] cc8c12a437cb: Download complete [2020-12-11T00:32:40.467Z] 0c7c675703d6: Verifying Checksum [2020-12-11T00:32:40.467Z] 0c7c675703d6: Download complete [2020-12-11T00:32:40.467Z] f78b7b4f0096: Verifying Checksum [2020-12-11T00:32:40.467Z] f78b7b4f0096: Download complete [2020-12-11T00:32:40.467Z] 4b74a9be2796: Verifying Checksum [2020-12-11T00:32:40.467Z] 4b74a9be2796: Download complete [2020-12-11T00:32:40.467Z] 6e2fb13aee8f: Verifying Checksum [2020-12-11T00:32:40.467Z] 6e2fb13aee8f: Download complete [2020-12-11T00:32:40.732Z] 0c7c675703d6: Pull complete [2020-12-11T00:32:40.732Z] cc8c12a437cb: Pull complete [2020-12-11T00:32:41.689Z] 0fad174ccba3: Download complete [2020-12-11T00:32:44.277Z] 0fad174ccba3: Pull complete [2020-12-11T00:32:44.543Z] f78b7b4f0096: Pull complete [2020-12-11T00:32:44.543Z] 4b74a9be2796: Pull complete [2020-12-11T00:32:44.815Z] 6e2fb13aee8f: Pull complete [2020-12-11T00:32:44.815Z] Digest: sha256:a1784b31ad3d6369497dbb5ece4c1d4659dcf720614dc7d82b26936c8ba67b94 [2020-12-11T00:32:44.815Z] Status: Downloaded newer image for docker:latest [2020-12-11T00:32:46.215Z] ---> e581fde03b67 [2020-12-11T00:32:46.215Z] Step 6/7 : COPY go.mod . [2020-12-11T00:32:46.215Z] ---> 8b61295895f9 [2020-12-11T00:32:46.215Z] Step 7/7 : RUN go mod download [2020-12-11T00:32:46.478Z] ---> Running in baad770f8f8f [2020-12-11T00:33:08.490Z] Removing intermediate container baad770f8f8f [2020-12-11T00:33:08.490Z] ---> 6e9b238e9a94 [2020-12-11T00:33:08.490Z] Successfully built 6e9b238e9a94 [2020-12-11T00:33:08.490Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:33:08.809Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T00:33:08.809Z] . [Pipeline] withDockerContainer [2020-12-11T00:33:08.906Z] prd-centos7-docker-4c-2g-15516 does not seem to be running inside a container [2020-12-11T00:33:08.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-11T00:33:09.736Z] $ docker top 2bb7b6cc64dc4818aa672737eaf9e6787726b5b35ed4763a6eacb325207dacad -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T00:33:10.384Z] + go version [2020-12-11T00:33:10.384Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T00:33:10.413Z] $ docker stop --time=1 2bb7b6cc64dc4818aa672737eaf9e6787726b5b35ed4763a6eacb325207dacad [2020-12-11T00:33:11.784Z] $ docker rm -f 2bb7b6cc64dc4818aa672737eaf9e6787726b5b35ed4763a6eacb325207dacad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:33:13.024Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T00:33:13.024Z] . [Pipeline] withDockerContainer [2020-12-11T00:33:13.123Z] prd-centos7-docker-4c-2g-15516 does not seem to be running inside a container [2020-12-11T00:33:13.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-11T00:33:14.009Z] $ docker top 6bd3daf594533e1ec2c12c9da2fde963fe37f9c90dd193e6ac65b27729ef9bb0 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-11T00:33:14.220Z] ========================================================= [2020-12-11T00:33:14.220Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-11T00:33:14.220Z] ========================================================= [Pipeline] sh [2020-12-11T00:33:14.517Z] + make test [2020-12-11T00:33:14.517Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-11T00:33:24.568Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-11T00:33:39.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-11T00:33:44.905Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-11T00:33:45.498Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-11T00:33:45.498Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-11T00:33:45.498Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-11T00:33:45.498Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-11T00:33:46.076Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-11T00:33:48.019Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.039s [2020-12-11T00:33:48.019Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-11T00:33:48.019Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-11T00:33:48.603Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-11T00:33:48.603Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-11T00:33:48.603Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-11T00:33:48.603Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-11T00:33:51.959Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.084s coverage: 46.6% of statements [2020-12-11T00:33:51.959Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-11T00:33:51.959Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-11T00:33:51.959Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-11T00:33:51.959Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-11T00:33:51.959Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-11T00:33:55.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.163s coverage: 27.1% of statements [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-11T00:33:55.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.040s coverage: 100.0% of statements [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-11T00:33:55.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.035s coverage: 100.0% of statements [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-11T00:33:55.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.401s coverage: 68.5% of statements [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-11T00:33:55.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.420s coverage: 82.3% of statements [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-11T00:33:55.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-11T00:33:57.235Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.327s coverage: 28.6% of statements [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-11T00:33:57.235Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.079s coverage: 100.0% of statements [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-11T00:33:57.235Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.053s coverage: 100.0% of statements [2020-12-11T00:33:57.235Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-11T00:33:57.496Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.122s coverage: 86.7% of statements [2020-12-11T00:33:57.496Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-11T00:33:57.496Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.121s coverage: 97.5% of statements [2020-12-11T00:33:57.496Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-11T00:33:57.759Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2020-12-11T00:33:57.759Z] internal/core/metadata/v2/controller/http/device_test.go:57:20: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-11T00:33:57.759Z] internal/core/metadata/v2/controller/http/device_test.go:75:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-11T00:33:57.759Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:49:4: unknown field 'OperatingState' in struct literal of type dtos.DeviceService [2020-12-11T00:33:57.759Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:60:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-11T00:33:57.759Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:70:4: unknown field 'OperatingState' in struct literal of type dtos.UpdateDeviceService [2020-12-11T00:33:57.759Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:269:3: unknown field 'OperatingState' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".DeviceService [2020-12-11T00:33:57.759Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.049s coverage: 78.3% of statements [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-11T00:33:57.759Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-11T00:33:57.759Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-11T00:33:57.759Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-11T00:33:58.349Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.101s coverage: 0.1% of statements [2020-12-11T00:33:58.349Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-11T00:33:58.349Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-11T00:33:58.349Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-11T00:33:58.349Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-11T00:33:58.349Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements [2020-12-11T00:33:58.349Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-11T00:33:58.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.055s coverage: 75.5% of statements [2020-12-11T00:33:58.929Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-11T00:33:58.929Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.075s coverage: 80.8% of statements [2020-12-11T00:33:59.506Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.073s coverage: 87.2% of statements [2020-12-11T00:33:59.506Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.054s coverage: 84.2% of statements [2020-12-11T00:34:00.092Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.082s coverage: 91.4% of statements [2020-12-11T00:34:00.092Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-11T00:34:00.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.183s coverage: 63.5% of statements [2020-12-11T00:34:00.693Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-11T00:34:00.693Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-11T00:34:00.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.049s coverage: 100.0% of statements [2020-12-11T00:34:00.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.047s coverage: 91.3% of statements [2020-12-11T00:34:00.958Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.028s coverage: 100.0% of statements [2020-12-11T00:34:00.958Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.037s coverage: 73.7% of statements [2020-12-11T00:34:01.232Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.038s coverage: 100.0% of statements [2020-12-11T00:34:03.235Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.372s coverage: 55.9% of statements [2020-12-11T00:34:03.235Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-11T00:34:03.235Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-11T00:34:03.235Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-11T00:34:03.235Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-11T00:34:03.235Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-11T00:34:03.235Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-11T00:34:04.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 2.391s coverage: 86.3% of statements [2020-12-11T00:34:04.648Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-11T00:34:04.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.237s coverage: 72.2% of statements [2020-12-11T00:34:04.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.432s coverage: 72.1% of statements [2020-12-11T00:34:04.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.049s coverage: 82.4% of statements [2020-12-11T00:34:04.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.063s coverage: 48.4% of statements [2020-12-11T00:34:04.648Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-11T00:34:04.648Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-11T00:34:04.648Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-11T00:34:04.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.037s coverage: 28.8% of statements [2020-12-11T00:34:04.648Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-11T00:34:04.917Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.036s coverage: 96.8% of statements [2020-12-11T00:34:04.917Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-11T00:34:06.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.119s coverage: 37.2% of statements [2020-12-11T00:34:06.352Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-11T00:34:06.352Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-11T00:34:06.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.338s coverage: 84.0% of statements [2020-12-11T00:34:06.352Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.041s coverage: 100.0% of statements [2020-12-11T00:34:07.769Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.142s coverage: 47.1% of statements [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-11T00:34:07.769Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.023s coverage: 100.0% of statements [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-11T00:34:07.769Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.061s coverage: 100.0% of statements [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-11T00:34:07.769Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.051s coverage: 100.0% of statements [2020-12-11T00:34:07.769Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-11T00:34:09.755Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.659s coverage: 29.1% of statements [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-11T00:34:09.755Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.088s coverage: 99.0% of statements [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-11T00:34:09.755Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.047s coverage: 100.0% of statements [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-11T00:34:09.755Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.025s coverage: 0.0% of statements [2020-12-11T00:34:09.755Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-11T00:34:10.018Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.035s coverage: 100.0% of statements [2020-12-11T00:34:10.018Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-11T00:34:10.018Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-11T00:34:10.018Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-11T00:34:10.018Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-11T00:34:10.018Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.044s coverage: 87.9% of statements [2020-12-11T00:34:10.018Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-11T00:34:10.018Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-11T00:34:10.018Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.031s coverage: 100.0% of statements [2020-12-11T00:34:10.595Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.030s coverage: 32.1% of statements [2020-12-11T00:34:10.858Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2020-12-11T00:34:10.858Z] FAIL [2020-12-11T00:34:11.119Z] make: *** [Makefile:99: test] Error 2 [Pipeline] } [2020-12-11T00:34:11.132Z] $ docker stop --time=1 6bd3daf594533e1ec2c12c9da2fde963fe37f9c90dd193e6ac65b27729ef9bb0 [2020-12-11T00:34:12.730Z] $ docker rm -f 6bd3daf594533e1ec2c12c9da2fde963fe37f9c90dd193e6ac65b27729ef9bb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-11T00:34:14.450Z] Failed in branch amd64 [2020-12-11T00:34:18.010Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15520 in /w/workspace/edgexfoundry_edgex-go_PR-2935 [Pipeline] { [Pipeline] ws [2020-12-11T00:34:18.066Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2020-12-11T00:34:23.113Z] using credential edgex-jenkins-ssh [2020-12-11T00:34:23.220Z] Cloning the remote Git repository [2020-12-11T00:34:23.269Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-11T00:34:23.377Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2020-12-11T00:34:23.453Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-11T00:34:23.454Z] > git --version # timeout=10 [2020-12-11T00:34:23.477Z] > git --version # 'git version 2.17.1' [2020-12-11T00:34:23.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T00:34:23.545Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T00:34:51.139Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-11T00:34:51.155Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T00:34:51.184Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-11T00:34:51.225Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-11T00:34:51.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T00:34:51.237Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2935/head:refs/remotes/origin/PR-2935 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T00:34:51.893Z] Merging remotes/origin/master commit f9701ca4d4e57208c1a31bf7b99f537ed3b28d72 into PR head commit d697f03c37d581ce318702a7abdc76036c41feac [2020-12-11T00:34:52.693Z] Merge succeeded, producing f1d97ff8457f045f8389913d7c38b0cc407af69e [2020-12-11T00:34:52.693Z] Checking out Revision f1d97ff8457f045f8389913d7c38b0cc407af69e (PR-2935) [2020-12-11T00:34:51.907Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T00:34:51.919Z] > git checkout -f d697f03c37d581ce318702a7abdc76036c41feac # timeout=10 [2020-12-11T00:34:52.286Z] > git remote # timeout=10 [2020-12-11T00:34:52.306Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T00:34:52.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T00:34:52.335Z] > git merge f9701ca4d4e57208c1a31bf7b99f537ed3b28d72 # timeout=10 [2020-12-11T00:34:52.673Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T00:34:52.695Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T00:34:52.712Z] > git checkout -f f1d97ff8457f045f8389913d7c38b0cc407af69e # timeout=10 [2020-12-11T00:34:57.077Z] Commit message: "Merge commit 'f9701ca4d4e57208c1a31bf7b99f537ed3b28d72' into HEAD" [2020-12-11T00:34:57.080Z] > git rev-list --no-walk d697f03c37d581ce318702a7abdc76036c41feac # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T00:34:58.766Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-11T00:34:59.189Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T00:34:59.529Z] + sudo service docker restart [2020-12-11T00:34:59.529Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T00:35:01.580Z] provisioning config files... [2020-12-11T00:35:01.625Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config1077731358720744883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:35:02.035Z] ---> docker-login.sh [2020-12-11T00:35:02.036Z] nexus3.edgexfoundry.org:10001 [2020-12-11T00:35:03.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:35:04.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:35:04.443Z] Configure a credential helper to remove this warning. See [2020-12-11T00:35:04.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:35:04.443Z] [2020-12-11T00:35:04.443Z] Login Succeeded [2020-12-11T00:35:04.443Z] nexus3.edgexfoundry.org:10002 [2020-12-11T00:35:04.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:35:04.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:35:04.719Z] Configure a credential helper to remove this warning. See [2020-12-11T00:35:04.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:35:04.719Z] [2020-12-11T00:35:04.719Z] Login Succeeded [2020-12-11T00:35:04.719Z] nexus3.edgexfoundry.org:10003 [2020-12-11T00:35:05.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:35:05.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:35:05.316Z] Configure a credential helper to remove this warning. See [2020-12-11T00:35:05.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:35:05.316Z] [2020-12-11T00:35:05.316Z] Login Succeeded [2020-12-11T00:35:05.316Z] nexus3.edgexfoundry.org:10004 [2020-12-11T00:35:05.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:35:05.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:35:05.910Z] Configure a credential helper to remove this warning. See [2020-12-11T00:35:05.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:35:05.910Z] [2020-12-11T00:35:05.910Z] Login Succeeded [2020-12-11T00:35:05.910Z] docker.io [2020-12-11T00:35:06.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:35:06.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:35:06.777Z] Configure a credential helper to remove this warning. See [2020-12-11T00:35:06.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:35:06.777Z] [2020-12-11T00:35:06.777Z] Login Succeeded [2020-12-11T00:35:06.777Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T00:35:06.793Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-11T00:35:07.235Z] ========================================================= [2020-12-11T00:35:07.235Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T00:35:07.235Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:35:07.615Z] + 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-11T00:35:10.294Z] Sending build context to Docker daemon 165.6MB [2020-12-11T00:35:10.294Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T00:35:10.294Z] Step 2/7 : FROM ${BASE} [2020-12-11T00:35:10.294Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T00:35:10.294Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T00:35:10.294Z] a4357932f1b6: Pulling fs layer [2020-12-11T00:35:10.294Z] 18c013af1878: Pulling fs layer [2020-12-11T00:35:10.294Z] 00ac8860ef70: Pulling fs layer [2020-12-11T00:35:10.294Z] 63d7cb157983: Pulling fs layer [2020-12-11T00:35:10.294Z] 00ac8860ef70: Waiting [2020-12-11T00:35:10.294Z] b116817d02f9: Pulling fs layer [2020-12-11T00:35:10.294Z] 745a02a5169b: Pulling fs layer [2020-12-11T00:35:10.294Z] 63d7cb157983: Waiting [2020-12-11T00:35:10.294Z] b116817d02f9: Waiting [2020-12-11T00:35:10.294Z] 745a02a5169b: Waiting [2020-12-11T00:35:10.294Z] 18c013af1878: Download complete [2020-12-11T00:35:10.294Z] a4357932f1b6: Download complete [2020-12-11T00:35:10.294Z] 63d7cb157983: Download complete [2020-12-11T00:35:10.294Z] b116817d02f9: Verifying Checksum [2020-12-11T00:35:10.294Z] b116817d02f9: Download complete [2020-12-11T00:35:10.294Z] 5f621e34cdf4: Download complete [2020-12-11T00:35:10.905Z] 5f621e34cdf4: Pull complete [2020-12-11T00:35:11.510Z] a4357932f1b6: Pull complete [2020-12-11T00:35:12.106Z] 18c013af1878: Pull complete [2020-12-11T00:35:12.380Z] 745a02a5169b: Verifying Checksum [2020-12-11T00:35:12.380Z] 745a02a5169b: Download complete [2020-12-11T00:35:13.357Z] 00ac8860ef70: Download complete [2020-12-11T00:35:23.537Z] 00ac8860ef70: Pull complete [2020-12-11T00:35:23.809Z] 63d7cb157983: Pull complete [2020-12-11T00:35:24.082Z] b116817d02f9: Pull complete [2020-12-11T00:35:28.432Z] 745a02a5169b: Pull complete [2020-12-11T00:35:28.432Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T00:35:28.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T00:35:28.432Z] ---> b7e6874047d6 [2020-12-11T00:35:28.432Z] 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-11T00:35:31.054Z] ---> Running in c8f56ddc688a [2020-12-11T00:35:32.035Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T00:35:33.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T00:35:34.427Z] (1/12) Installing libmagic (5.38-r0) [2020-12-11T00:35:34.697Z] (2/12) Installing file (5.38-r0) [2020-12-11T00:35:34.697Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-11T00:35:34.978Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-11T00:35:47.341Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-11T00:35:47.341Z] (6/12) Installing patch (2.7.6-r6) [2020-12-11T00:35:47.341Z] (7/12) Installing build-base (0.5-r2) [2020-12-11T00:35:47.341Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-11T00:35:47.341Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-11T00:35:47.341Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-11T00:35:47.341Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-11T00:35:47.341Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-11T00:35:47.341Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T00:35:47.341Z] OK: 217 MiB in 51 packages [2020-12-11T00:35:50.714Z] Removing intermediate container c8f56ddc688a [2020-12-11T00:35:50.714Z] ---> 18470fd22ba9 [2020-12-11T00:35:50.714Z] Step 4/7 : WORKDIR /edgex-go [2020-12-11T00:35:50.714Z] ---> Running in 75625d2ab000 [2020-12-11T00:35:50.985Z] Removing intermediate container 75625d2ab000 [2020-12-11T00:35:50.985Z] ---> 074d429eebdd [2020-12-11T00:35:50.985Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-11T00:35:51.576Z] latest: Pulling from library/docker [2020-12-11T00:35:51.576Z] 5f621e34cdf4: Already exists [2020-12-11T00:35:51.850Z] 85db56a05063: Pulling fs layer [2020-12-11T00:35:51.850Z] ccb67d6aeaaa: Pulling fs layer [2020-12-11T00:35:51.850Z] 078a48a8a50a: Pulling fs layer [2020-12-11T00:35:51.850Z] 158a5e565521: Pulling fs layer [2020-12-11T00:35:51.850Z] 580500bbad4e: Pulling fs layer [2020-12-11T00:35:51.850Z] cf2dce50f859: Pulling fs layer [2020-12-11T00:35:51.850Z] 158a5e565521: Waiting [2020-12-11T00:35:51.850Z] 580500bbad4e: Waiting [2020-12-11T00:35:51.850Z] cf2dce50f859: Waiting [2020-12-11T00:35:51.850Z] ccb67d6aeaaa: Verifying Checksum [2020-12-11T00:35:51.850Z] ccb67d6aeaaa: Download complete [2020-12-11T00:35:51.850Z] 85db56a05063: Verifying Checksum [2020-12-11T00:35:51.850Z] 85db56a05063: Download complete [2020-12-11T00:35:52.123Z] 158a5e565521: Download complete [2020-12-11T00:35:52.123Z] 580500bbad4e: Verifying Checksum [2020-12-11T00:35:52.123Z] 580500bbad4e: Download complete [2020-12-11T00:35:52.123Z] cf2dce50f859: Verifying Checksum [2020-12-11T00:35:52.123Z] cf2dce50f859: Download complete [2020-12-11T00:35:52.737Z] 85db56a05063: Pull complete [2020-12-11T00:35:53.336Z] ccb67d6aeaaa: Pull complete [2020-12-11T00:35:53.611Z] 078a48a8a50a: Verifying Checksum [2020-12-11T00:35:53.611Z] 078a48a8a50a: Download complete [2020-12-11T00:35:57.909Z] 078a48a8a50a: Pull complete [2020-12-11T00:35:57.909Z] 158a5e565521: Pull complete [2020-12-11T00:35:57.909Z] 580500bbad4e: Pull complete [2020-12-11T00:35:58.184Z] cf2dce50f859: Pull complete [2020-12-11T00:35:58.458Z] Digest: sha256:a1784b31ad3d6369497dbb5ece4c1d4659dcf720614dc7d82b26936c8ba67b94 [2020-12-11T00:35:58.458Z] Status: Downloaded newer image for docker:latest [2020-12-11T00:36:01.844Z] ---> a96d4da80bff [2020-12-11T00:36:01.844Z] Step 6/7 : COPY go.mod . [2020-12-11T00:36:02.433Z] ---> f4b8dcd141c0 [2020-12-11T00:36:02.433Z] Step 7/7 : RUN go mod download [2020-12-11T00:36:02.705Z] ---> Running in 09d7a4abeb61 [2020-12-11T00:36:29.479Z] Removing intermediate container 09d7a4abeb61 [2020-12-11T00:36:29.479Z] ---> 1847f85246f1 [2020-12-11T00:36:29.479Z] Successfully built 1847f85246f1 [2020-12-11T00:36:29.479Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:36:29.817Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T00:36:29.817Z] . [Pipeline] withDockerContainer [2020-12-11T00:36:30.088Z] prd-ubuntu18.04-docker-arm64-4c-16g-15520 does not seem to be running inside a container [2020-12-11T00:36:30.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-11T00:36:31.765Z] $ docker top 0c01f7aa0b821b0180328808146c8dd738026de4abb7b8b15c1f34f9f874925a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T00:36:32.788Z] + go version [2020-12-11T00:36:32.788Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T00:36:32.805Z] $ docker stop --time=1 0c01f7aa0b821b0180328808146c8dd738026de4abb7b8b15c1f34f9f874925a [2020-12-11T00:36:34.800Z] $ docker rm -f 0c01f7aa0b821b0180328808146c8dd738026de4abb7b8b15c1f34f9f874925a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:36:35.926Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T00:36:35.926Z] . [Pipeline] withDockerContainer [2020-12-11T00:36:36.190Z] prd-ubuntu18.04-docker-arm64-4c-16g-15520 does not seem to be running inside a container [2020-12-11T00:36:36.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-11T00:36:37.638Z] $ docker top b3b8327bfce41212e4ad5f5ce5ee832ce00d397c5cb63490c21b224b501746b0 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-11T00:36:38.035Z] ========================================================= [2020-12-11T00:36:38.035Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-11T00:36:38.035Z] ========================================================= [Pipeline] sh [2020-12-11T00:36:38.680Z] + make test [2020-12-11T00:36:38.680Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-11T00:37:01.028Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-11T00:37:40.035Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-11T00:38:02.246Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-11T00:38:02.246Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-11T00:38:02.246Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-11T00:38:02.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-11T00:38:02.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-11T00:38:02.246Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-11T00:38:05.642Z] ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.061s [2020-12-11T00:38:05.642Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-11T00:38:05.642Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-11T00:38:07.619Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-11T00:38:07.619Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-11T00:38:07.619Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-11T00:38:07.619Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-11T00:38:15.908Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.225s coverage: 46.6% of statements [2020-12-11T00:38:15.908Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-11T00:38:15.908Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-11T00:38:15.908Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-11T00:38:15.908Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-11T00:38:15.908Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-11T00:38:22.633Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.528s coverage: 27.1% of statements [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-11T00:38:22.633Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.076s coverage: 100.0% of statements [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-11T00:38:22.633Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.085s coverage: 100.0% of statements [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-11T00:38:22.633Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.230s coverage: 67.7% of statements [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-11T00:38:22.633Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-11T00:38:23.618Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.643s coverage: 82.3% of statements [2020-12-11T00:38:23.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-11T00:38:23.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-11T00:38:23.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-11T00:38:23.618Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-11T00:38:29.038Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.171s coverage: 28.6% of statements [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-11T00:38:29.038Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.182s coverage: 100.0% of statements [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-11T00:38:29.038Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.085s coverage: 100.0% of statements [2020-12-11T00:38:29.038Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-11T00:38:31.024Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.276s coverage: 86.7% of statements [2020-12-11T00:38:31.024Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-11T00:38:31.299Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] [2020-12-11T00:38:31.299Z] internal/core/metadata/v2/controller/http/device_test.go:57:20: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-11T00:38:31.299Z] internal/core/metadata/v2/controller/http/device_test.go:75:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-11T00:38:31.299Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:49:4: unknown field 'OperatingState' in struct literal of type dtos.DeviceService [2020-12-11T00:38:31.299Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:60:24: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/models".Enabled [2020-12-11T00:38:31.299Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:70:4: unknown field 'OperatingState' in struct literal of type dtos.UpdateDeviceService [2020-12-11T00:38:31.299Z] internal/core/metadata/v2/controller/http/deviceservice_test.go:269:3: unknown field 'OperatingState' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/models".DeviceService [2020-12-11T00:38:32.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.376s coverage: 97.5% of statements [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-11T00:38:32.284Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.132s coverage: 78.3% of statements [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-11T00:38:32.284Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/mongo/models [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-11T00:38:32.284Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.088s coverage: 58.8% of statements [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-11T00:38:32.284Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-11T00:38:33.723Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.154s coverage: 0.1% of statements [2020-12-11T00:38:33.723Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-11T00:38:33.723Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-11T00:38:33.723Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-11T00:38:33.723Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-11T00:38:33.996Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.069s coverage: 100.0% of statements [2020-12-11T00:38:33.996Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-11T00:38:35.437Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.101s coverage: 75.5% of statements [2020-12-11T00:38:35.437Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-11T00:38:35.713Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.079s coverage: 80.8% of statements [2020-12-11T00:38:36.697Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.123s coverage: 87.2% of statements [2020-12-11T00:38:37.297Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.144s coverage: 84.2% of statements [2020-12-11T00:38:39.277Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.220s coverage: 91.4% of statements [2020-12-11T00:38:39.277Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-11T00:38:41.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.651s coverage: 63.5% of statements [2020-12-11T00:38:41.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-11T00:38:41.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-11T00:38:41.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.075s coverage: 100.0% of statements [2020-12-11T00:38:41.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.086s coverage: 91.3% of statements [2020-12-11T00:38:41.537Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.067s coverage: 100.0% of statements [2020-12-11T00:38:42.520Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.067s coverage: 73.7% of statements [2020-12-11T00:38:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.082s coverage: 100.0% of statements [2020-12-11T00:38:46.932Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.805s coverage: 55.9% of statements [2020-12-11T00:38:46.932Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-11T00:38:46.932Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-11T00:38:46.932Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-11T00:38:46.932Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-11T00:38:46.932Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-11T00:38:46.932Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 30.366s coverage: 86.3% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.166s coverage: 72.2% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.513s coverage: 72.1% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.079s coverage: 82.4% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.093s coverage: 48.4% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.065s coverage: 28.8% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.082s coverage: 96.8% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.328s coverage: 37.2% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.630s coverage: 84.0% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.085s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.376s coverage: 47.1% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.071s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.116s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.120s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.675s coverage: 29.1% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.240s coverage: 99.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.121s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.049s coverage: 0.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.053s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.093s coverage: 87.9% of statements [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-11T00:39:19.311Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.058s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.050s coverage: 32.1% of statements [2020-12-11T00:39:19.311Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.079s coverage: 100.0% of statements [2020-12-11T00:39:19.311Z] FAIL [2020-12-11T00:39:19.311Z] make: *** [Makefile:99: test] Error 2 [Pipeline] } [2020-12-11T00:39:19.332Z] $ docker stop --time=1 b3b8327bfce41212e4ad5f5ce5ee832ce00d397c5cb63490c21b224b501746b0 [2020-12-11T00:39:21.527Z] $ docker rm -f b3b8327bfce41212e4ad5f5ce5ee832ce00d397c5cb63490c21b224b501746b0 [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-11T00:39:23.665Z] 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-11T00:39:25.960Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:39:26.849Z] ---> package-listing.sh [2020-12-11T00:39:26.849Z] ++ facter osfamily [2020-12-11T00:39:26.849Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T00:39:26.850Z] + OS_FAMILY=redhat [2020-12-11T00:39:26.850Z] + workspace=/w/workspace/edgex-go/2 [2020-12-11T00:39:26.850Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T00:39:26.850Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T00:39:26.850Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T00:39:26.850Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T00:39:26.850Z] + '[' /w/workspace/edgex-go/2 ']' [2020-12-11T00:39:26.850Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T00:39:26.850Z] + case "${OS_FAMILY}" in [2020-12-11T00:39:26.850Z] + rpm -qa [2020-12-11T00:39:26.850Z] + sort [2020-12-11T00:39:32.150Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T00:39:32.150Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T00:39:32.150Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T00:39:32.150Z] + '[' /w/workspace/edgex-go/2 ']' [2020-12-11T00:39:32.150Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2020-12-11T00:39:32.150Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2020-12-11T00:39:32.163Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-11T00:39:32.455Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:39:32.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T00:39:32.826Z] [2020-12-11T00:39:32.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:39:33.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T00:39:33.209Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T00:39:33.209Z] df20fa9351a1: Pulling fs layer [2020-12-11T00:39:33.209Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T00:39:33.209Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T00:39:33.209Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T00:39:33.209Z] 93b61091891f: Pulling fs layer [2020-12-11T00:39:33.209Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T00:39:33.209Z] 5e14af77c1be: Pulling fs layer [2020-12-11T00:39:33.209Z] 01666e4c0597: Pulling fs layer [2020-12-11T00:39:33.209Z] aa168da1d23b: Pulling fs layer [2020-12-11T00:39:33.209Z] 01666e4c0597: Waiting [2020-12-11T00:39:33.209Z] aa168da1d23b: Waiting [2020-12-11T00:39:33.209Z] 5e14af77c1be: Waiting [2020-12-11T00:39:33.209Z] 46f8f816bc3b: Waiting [2020-12-11T00:39:33.209Z] 93b9cdb0e59b: Waiting [2020-12-11T00:39:33.209Z] 93b61091891f: Waiting [2020-12-11T00:39:33.209Z] 36b3adc4ff6f: Download complete [2020-12-11T00:39:33.209Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T00:39:33.209Z] 46f8f816bc3b: Download complete [2020-12-11T00:39:33.507Z] df20fa9351a1: Verifying Checksum [2020-12-11T00:39:33.507Z] df20fa9351a1: Download complete [2020-12-11T00:39:33.507Z] 93b61091891f: Verifying Checksum [2020-12-11T00:39:33.507Z] 93b61091891f: Download complete [2020-12-11T00:39:33.507Z] 93b9cdb0e59b: Verifying Checksum [2020-12-11T00:39:33.507Z] 93b9cdb0e59b: Download complete [2020-12-11T00:39:33.507Z] 5e14af77c1be: Verifying Checksum [2020-12-11T00:39:33.507Z] 5e14af77c1be: Download complete [2020-12-11T00:39:33.507Z] 01666e4c0597: Verifying Checksum [2020-12-11T00:39:33.507Z] 01666e4c0597: Download complete [2020-12-11T00:39:33.507Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T00:39:33.507Z] 8ad3a11d3b57: Download complete [2020-12-11T00:39:33.797Z] df20fa9351a1: Pull complete [2020-12-11T00:39:34.079Z] 36b3adc4ff6f: Pull complete [2020-12-11T00:39:34.679Z] 8ad3a11d3b57: Pull complete [2020-12-11T00:39:35.260Z] 46f8f816bc3b: Pull complete [2020-12-11T00:39:35.524Z] aa168da1d23b: Verifying Checksum [2020-12-11T00:39:35.524Z] aa168da1d23b: Download complete [2020-12-11T00:39:35.524Z] 93b61091891f: Pull complete [2020-12-11T00:39:35.786Z] 93b9cdb0e59b: Pull complete [2020-12-11T00:39:35.786Z] 5e14af77c1be: Pull complete [2020-12-11T00:39:36.050Z] 01666e4c0597: Pull complete [2020-12-11T00:39:42.663Z] aa168da1d23b: Pull complete [2020-12-11T00:39:42.663Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T00:39:42.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T00:39:42.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T00:39:42.846Z] prd-centos7-docker-4c-2g-15516 does not seem to be running inside a container [2020-12-11T00:39:42.887Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-11T00:39:46.509Z] $ docker top 90d1643b46e1afe52e26c63ef976fb9917cb7a7227196936e58f422537233ad9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T00:39:47.059Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T00:39:47.360Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T00:39:47.659Z] + ls /var/log/sa-host [2020-12-11T00:39:47.659Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T00:39:47.659Z] file_magic: OK [2020-12-11T00:39:47.659Z] HZ: Using current value: 100 [2020-12-11T00:39:47.659Z] file_header: OK [2020-12-11T00:39:47.659Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-11T00:39:47.659Z] Statistics: [2020-12-11T00:39:47.659Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T00:39:47.659Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T00:39:47.659Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T00:39:47.659Z] file_magic: OK [2020-12-11T00:39:47.659Z] HZ: Using current value: 100 [2020-12-11T00:39:47.659Z] file_header: OK [2020-12-11T00:39:47.659Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-11T00:39:47.659Z] Statistics: [2020-12-11T00:39:47.659Z] Hnuu...uuuununununu... [2020-12-11T00:39:47.659Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T00:39:48.364Z] provisioning config files... [2020-12-11T00:39:48.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config217316324265613020tmp [Pipeline] { [Pipeline] echo [2020-12-11T00:39:48.450Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:39:48.742Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T00:39:48.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T00:39:48.843Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:39:49.138Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T00:39:49.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:39:49.447Z] ---> sudo-logs.sh [2020-12-11T00:39:49.447Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T00:39:49.456Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:39:49.749Z] ---> job-cost.sh [2020-12-11T00:39:49.750Z] lf-activate-venv: SKIPPING [2020-12-11T00:39:49.750Z] INFO: No Stack... [2020-12-11T00:39:51.674Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T00:39:52.258Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T00:39:52.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:39:52.575Z] ---> logs-deploy.sh [2020-12-11T00:39:52.575Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2935/2 [2020-12-11T00:39:52.575Z] INFO: archiving workspace using pattern(s): [2020-12-11T00:39:54.496Z] Archives upload complete. [2020-12-11T00:39:54.496Z] INFO: archiving logs to Nexus