Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea+bbb161aa59ef099937232867751a09afbb087fa9 (7ad4110d4fbde3ac27bdd5a71233c8e39391672b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16662 in /w/workspace/edgexfoundry_edgex-go_PR-2958 [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 bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea Merge succeeded, producing 8c758c366d409889059c061b5d4fafe63476d06f Checking out Revision 8c758c366d409889059c061b5d4fafe63476d06f (PR-2958) Commit message: "Merge commit 'bbb161aa59ef099937232867751a09afbb087fa9' into HEAD" > 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/2958/head:refs/remotes/origin/PR-2958 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # 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 bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c758c366d409889059c061b5d4fafe63476d06f # timeout=10 > git rev-list --no-walk 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-18T00:32:18.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-18T00:32:18.433Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-18T00:32:18.537Z] ========================================================= [2020-12-18T00:32:18.537Z] EdgeX Global Pipelines Version Info [2020-12-18T00:32:18.537Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:32:20.117Z] ------------------- [2020-12-18T00:32:20.117Z] stable info: [2020-12-18T00:32:20.117Z] ------------------- [2020-12-18T00:32:20.117Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-18T00:32:20.117Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-18T00:32:20.118Z] Message: update stable to v1.0.173 [2020-12-18T00:32:21.072Z] ------------------- [2020-12-18T00:32:21.072Z] experimental info: [2020-12-18T00:32:21.072Z] ------------------- [2020-12-18T00:32:21.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-18T00:32:21.072Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-18T00:32:21.072Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-18T00:32:21.440Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-18T00:32:21.550Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-18T00:32:21.653Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-18T00:32:21.744Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-18T00:32:21.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-18T00:32:21.943Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-18T00:32:22.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-18T00:32:22.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-18T00:32:22.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-18T00:32:22.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-18T00:32:22.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-18T00:32:22.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-18T00:32:22.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-18T00:32:22.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-18T00:32:22.819Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-18T00:32:22.909Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-18T00:32:23.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-18T00:32:23.089Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-18T00:32:23.174Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-18T00:32:23.268Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-18T00:32:23.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-18T00:32:23.554Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-18T00:32:23.642Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-18T00:32:23.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2958 [Pipeline] echo [2020-12-18T00:32:23.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2958 [Pipeline] echo [2020-12-18T00:32:23.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2958 [Pipeline] echo [2020-12-18T00:32:24.011Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c758c366d409889059c061b5d4fafe63476d06f [Pipeline] echo [2020-12-18T00:32:24.115Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c758c3 [Pipeline] echo [2020-12-18T00:32:24.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-18T00:32:24.370Z] provisioning config files... [2020-12-18T00:32:24.413Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7348345571719781710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:32:24.773Z] ---> docker-login.sh [2020-12-18T00:32:24.774Z] nexus3.edgexfoundry.org:10001 [2020-12-18T00:32:25.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:32:25.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:32:25.305Z] Configure a credential helper to remove this warning. See [2020-12-18T00:32:25.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:32:25.305Z] [2020-12-18T00:32:25.305Z] Login Succeeded [2020-12-18T00:32:25.305Z] nexus3.edgexfoundry.org:10002 [2020-12-18T00:32:25.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:32:25.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:32:25.305Z] Configure a credential helper to remove this warning. See [2020-12-18T00:32:25.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:32:25.305Z] [2020-12-18T00:32:25.305Z] Login Succeeded [2020-12-18T00:32:25.305Z] nexus3.edgexfoundry.org:10003 [2020-12-18T00:32:25.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:32:25.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:32:25.569Z] Configure a credential helper to remove this warning. See [2020-12-18T00:32:25.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:32:25.569Z] [2020-12-18T00:32:25.569Z] Login Succeeded [2020-12-18T00:32:25.569Z] nexus3.edgexfoundry.org:10004 [2020-12-18T00:32:25.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:32:25.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:32:25.832Z] Configure a credential helper to remove this warning. See [2020-12-18T00:32:25.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:32:25.832Z] [2020-12-18T00:32:25.832Z] Login Succeeded [2020-12-18T00:32:25.832Z] docker.io [2020-12-18T00:32:25.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:32:26.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:32:26.096Z] Configure a credential helper to remove this warning. See [2020-12-18T00:32:26.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:32:26.096Z] [2020-12-18T00:32:26.096Z] Login Succeeded [2020-12-18T00:32:26.096Z] ---> docker-login.sh ends [Pipeline] } [2020-12-18T00:32:26.107Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-18T00:32:26.618Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/core-command/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/core-data/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-18T00:32:26.618Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-18T00:32:26.618Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-18T00:32:26.618Z] ++ cut -d/ -f2 [2020-12-18T00:32:26.618Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-18T00:32:26.713Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:32:28.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-18T00:32:28.304Z] [2020-12-18T00:32:28.304Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:32:28.652Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-18T00:32:28.652Z] latest: Pulling from edgex-devops/git-semver [2020-12-18T00:32:28.652Z] 31603596830f: Pulling fs layer [2020-12-18T00:32:28.652Z] 2a8b12db71e7: Pulling fs layer [2020-12-18T00:32:28.652Z] 6ca5941a6612: Pulling fs layer [2020-12-18T00:32:28.652Z] ecc8261a40a4: Pulling fs layer [2020-12-18T00:32:28.652Z] ecc8261a40a4: Waiting [2020-12-18T00:32:28.652Z] 2a8b12db71e7: Verifying Checksum [2020-12-18T00:32:28.652Z] 2a8b12db71e7: Download complete [2020-12-18T00:32:28.917Z] 31603596830f: Verifying Checksum [2020-12-18T00:32:28.917Z] 31603596830f: Download complete [2020-12-18T00:32:29.182Z] 6ca5941a6612: Verifying Checksum [2020-12-18T00:32:29.182Z] 6ca5941a6612: Download complete [2020-12-18T00:32:29.182Z] ecc8261a40a4: Verifying Checksum [2020-12-18T00:32:29.182Z] ecc8261a40a4: Download complete [2020-12-18T00:32:29.445Z] 31603596830f: Pull complete [2020-12-18T00:32:29.445Z] 2a8b12db71e7: Pull complete [2020-12-18T00:32:30.409Z] 6ca5941a6612: Pull complete [2020-12-18T00:32:30.409Z] ecc8261a40a4: Pull complete [2020-12-18T00:32:30.673Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-18T00:32:30.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-18T00:32:30.673Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-18T00:32:30.781Z] prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container [2020-12-18T00:32:30.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-18T00:32:33.550Z] $ docker top 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-18T00:32:33.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-18T00:32:33.842Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-18T00:32:34.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-18T00:32:34.069Z] $ docker exec 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent [2020-12-18T00:32:34.240Z] SSH_AUTH_SOCK=/tmp/ssh-NtCvRZtR3zn2/agent.11 [2020-12-18T00:32:34.240Z] SSH_AGENT_PID=17 [2020-12-18T00:32:34.251Z] Running ssh-add (command line suppressed) [2020-12-18T00:32:34.371Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_5950647849131158071.key (/w/workspace/edgex-go/2@tmp/private_key_5950647849131158071.key) [2020-12-18T00:32:34.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-18T00:32:34.759Z] + git tag --points-at HEAD [Pipeline] } [2020-12-18T00:32:34.810Z] $ docker exec --env ******** --env ******** 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent -k [2020-12-18T00:32:34.919Z] unset SSH_AUTH_SOCK; [2020-12-18T00:32:34.920Z] unset SSH_AGENT_PID; [2020-12-18T00:32:34.920Z] echo Agent pid 17 killed; [2020-12-18T00:32:34.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-18T00:32:35.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-18T00:32:35.134Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-18T00:32:35.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-18T00:32:35.311Z] $ docker exec 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent [2020-12-18T00:32:35.466Z] SSH_AUTH_SOCK=/tmp/ssh-upP5rfpbpfab/agent.46 [2020-12-18T00:32:35.466Z] SSH_AGENT_PID=51 [2020-12-18T00:32:35.474Z] Running ssh-add (command line suppressed) [2020-12-18T00:32:35.595Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_348671171195011283.key (/w/workspace/edgex-go/2@tmp/private_key_348671171195011283.key) [2020-12-18T00:32:35.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-18T00:32:35.987Z] + git semver init [2020-12-18T00:32:35.987Z] # -> Open(): unable to determine branch for HEAD [2020-12-18T00:32:35.987Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2020-12-18T00:32:35.987Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2020-12-18T00:32:35.987Z] # $SEMVER_REMOTE_NAME = origin [2020-12-18T00:32:35.987Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-18T00:32:35.987Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-18T00:32:35.987Z] # $SEMVER_BRANCH = PR-2958 [2020-12-18T00:32:35.987Z] # $SEMVER_TEMP = /tmp/semver-130732022 [2020-12-18T00:32:35.987Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-18T00:34:12.633Z] # '/tmp/semver-130732022' -> '/w/workspace/edgex-go/2/.semver' [2020-12-18T00:34:12.633Z] # -> Force: false [2020-12-18T00:34:12.633Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2020-12-18T00:34:12.653Z] $ docker exec --env ******** --env ******** 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 ssh-agent -k [2020-12-18T00:34:12.974Z] unset SSH_AUTH_SOCK; [2020-12-18T00:34:12.974Z] unset SSH_AGENT_PID; [2020-12-18T00:34:12.974Z] echo Agent pid 51 killed; [2020-12-18T00:34:13.093Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-18T00:34:13.574Z] + git semver [Pipeline] } [2020-12-18T00:34:13.597Z] $ docker stop --time=1 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 [2020-12-18T00:34:15.388Z] $ docker rm -f 596880a4802b9eb9bf1489fcf0c0474bf5bd889cffb171c8e2d7f7fcd9f97062 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-18T00:34:15.902Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-18T00:34:16.399Z] Stashed 1 file(s) [Pipeline] echo [2020-12-18T00:34:16.402Z] [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-18T00:34:17.324Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-18T00:34:17.631Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-18T00:34:17.933Z] + sudo service docker restart [2020-12-18T00:34:17.934Z] + true [2020-12-18T00:34:17.934Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-18T00:34:18.529Z] ========================================================= [2020-12-18T00:34:18.529Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-18T00:34:18.529Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:34:18.892Z] + 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-18T00:34:22.218Z] Sending build context to Docker daemon 326.2MB [2020-12-18T00:34:22.218Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-18T00:34:22.218Z] Step 2/7 : FROM ${BASE} [2020-12-18T00:34:22.482Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-18T00:34:22.482Z] 188c0c94c7c5: Pulling fs layer [2020-12-18T00:34:22.482Z] 0ef7d3d256c8: Pulling fs layer [2020-12-18T00:34:22.482Z] de9db76c5a1d: Pulling fs layer [2020-12-18T00:34:22.482Z] bca2f99d35d6: Pulling fs layer [2020-12-18T00:34:22.482Z] 93359f2a8cfa: Pulling fs layer [2020-12-18T00:34:22.482Z] 7c6f9722023f: Pulling fs layer [2020-12-18T00:34:22.482Z] a35cf1a2eb13: Pulling fs layer [2020-12-18T00:34:22.482Z] bca2f99d35d6: Waiting [2020-12-18T00:34:22.482Z] 93359f2a8cfa: Waiting [2020-12-18T00:34:22.482Z] 7c6f9722023f: Waiting [2020-12-18T00:34:22.482Z] a35cf1a2eb13: Waiting [2020-12-18T00:34:22.482Z] de9db76c5a1d: Verifying Checksum [2020-12-18T00:34:22.482Z] de9db76c5a1d: Download complete [2020-12-18T00:34:22.482Z] 0ef7d3d256c8: Download complete [2020-12-18T00:34:22.482Z] 93359f2a8cfa: Verifying Checksum [2020-12-18T00:34:22.482Z] 93359f2a8cfa: Download complete [2020-12-18T00:34:22.482Z] 7c6f9722023f: Verifying Checksum [2020-12-18T00:34:22.482Z] 7c6f9722023f: Download complete [2020-12-18T00:34:23.432Z] 188c0c94c7c5: Verifying Checksum [2020-12-18T00:34:23.432Z] 188c0c94c7c5: Download complete [2020-12-18T00:34:23.432Z] 188c0c94c7c5: Pull complete [2020-12-18T00:34:23.697Z] 0ef7d3d256c8: Pull complete [2020-12-18T00:34:23.964Z] de9db76c5a1d: Pull complete [2020-12-18T00:34:26.536Z] a35cf1a2eb13: Verifying Checksum [2020-12-18T00:34:26.536Z] a35cf1a2eb13: Download complete [2020-12-18T00:34:27.118Z] bca2f99d35d6: Verifying Checksum [2020-12-18T00:34:27.118Z] bca2f99d35d6: Download complete [2020-12-18T00:34:31.800Z] Still waiting to schedule task [2020-12-18T00:34:31.800Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16660’ [2020-12-18T00:34:32.452Z] bca2f99d35d6: Pull complete [2020-12-18T00:34:32.716Z] 93359f2a8cfa: Pull complete [2020-12-18T00:34:32.716Z] 7c6f9722023f: Pull complete [2020-12-18T00:34:39.337Z] a35cf1a2eb13: Pull complete [2020-12-18T00:34:39.337Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-18T00:34:39.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-18T00:34:39.337Z] ---> a62c8e92a672 [2020-12-18T00:34:39.337Z] 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-18T00:34:39.337Z] ---> Running in 9909f8a017a5 [2020-12-18T00:34:39.921Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-18T00:34:40.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-18T00:34:41.839Z] (1/12) Installing libmagic (5.38-r0) [2020-12-18T00:34:42.106Z] (2/12) Installing file (5.38-r0) [2020-12-18T00:34:42.106Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-18T00:34:42.106Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-18T00:35:20.902Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-18T00:35:20.902Z] (6/12) Installing patch (2.7.6-r6) [2020-12-18T00:35:20.902Z] (7/12) Installing build-base (0.5-r2) [2020-12-18T00:35:20.902Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-18T00:35:20.902Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-18T00:35:20.902Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-18T00:35:20.902Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-18T00:35:20.902Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-18T00:35:20.902Z] Executing busybox-1.31.1-r19.trigger [2020-12-18T00:35:20.902Z] OK: 233 MiB in 51 packages [2020-12-18T00:35:21.851Z] Removing intermediate container 9909f8a017a5 [2020-12-18T00:35:21.851Z] ---> 1c4c3cbf005e [2020-12-18T00:35:21.851Z] Step 4/7 : WORKDIR /edgex-go [2020-12-18T00:35:21.851Z] ---> Running in 4bb17a3d4dfb [2020-12-18T00:35:22.113Z] Removing intermediate container 4bb17a3d4dfb [2020-12-18T00:35:22.113Z] ---> 2f8f2a07df16 [2020-12-18T00:35:22.113Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-18T00:35:22.689Z] latest: Pulling from library/docker [2020-12-18T00:35:22.951Z] 801bfaa63ef2: Pulling fs layer [2020-12-18T00:35:22.951Z] 4f7dc993c79e: Pulling fs layer [2020-12-18T00:35:22.951Z] d39d95e4997f: Pulling fs layer [2020-12-18T00:35:22.951Z] 1cda4b703d87: Pulling fs layer [2020-12-18T00:35:22.951Z] 54e5375350ea: Pulling fs layer [2020-12-18T00:35:22.951Z] f08cd1b3bb1b: Pulling fs layer [2020-12-18T00:35:22.951Z] 8e17d04e0c68: Pulling fs layer [2020-12-18T00:35:22.951Z] 54e5375350ea: Waiting [2020-12-18T00:35:22.951Z] f08cd1b3bb1b: Waiting [2020-12-18T00:35:22.951Z] 8e17d04e0c68: Waiting [2020-12-18T00:35:22.951Z] 1cda4b703d87: Waiting [2020-12-18T00:35:23.215Z] d39d95e4997f: Verifying Checksum [2020-12-18T00:35:23.215Z] d39d95e4997f: Download complete [2020-12-18T00:35:23.215Z] 801bfaa63ef2: Verifying Checksum [2020-12-18T00:35:23.215Z] 801bfaa63ef2: Download complete [2020-12-18T00:35:23.215Z] 4f7dc993c79e: Verifying Checksum [2020-12-18T00:35:23.215Z] 4f7dc993c79e: Download complete [2020-12-18T00:35:23.480Z] 54e5375350ea: Verifying Checksum [2020-12-18T00:35:23.480Z] 54e5375350ea: Download complete [2020-12-18T00:35:23.480Z] 801bfaa63ef2: Pull complete [2020-12-18T00:35:23.748Z] f08cd1b3bb1b: Verifying Checksum [2020-12-18T00:35:23.748Z] f08cd1b3bb1b: Download complete [2020-12-18T00:35:23.748Z] 8e17d04e0c68: Verifying Checksum [2020-12-18T00:35:23.748Z] 8e17d04e0c68: Download complete [2020-12-18T00:35:23.748Z] 4f7dc993c79e: Pull complete [2020-12-18T00:35:24.013Z] d39d95e4997f: Pull complete [2020-12-18T00:35:24.277Z] 1cda4b703d87: Verifying Checksum [2020-12-18T00:35:24.277Z] 1cda4b703d87: Download complete [2020-12-18T00:35:27.627Z] 1cda4b703d87: Pull complete [2020-12-18T00:35:27.627Z] 54e5375350ea: Pull complete [2020-12-18T00:35:27.627Z] f08cd1b3bb1b: Pull complete [2020-12-18T00:35:27.627Z] 8e17d04e0c68: Pull complete [2020-12-18T00:35:27.627Z] Digest: sha256:f5f9ba6ab98290000e7e5266b18d6b69d857f2af097916ef94b228351cb0fa81 [2020-12-18T00:35:27.627Z] Status: Downloaded newer image for docker:latest [2020-12-18T00:35:29.028Z] ---> c2c4bc1d1ad3 [2020-12-18T00:35:29.028Z] Step 6/7 : COPY go.mod . [2020-12-18T00:35:29.303Z] ---> d72fee40e4f8 [2020-12-18T00:35:29.303Z] Step 7/7 : RUN go mod download [2020-12-18T00:35:29.303Z] ---> Running in ae2d65ce2dd2 [2020-12-18T00:35:51.337Z] Removing intermediate container ae2d65ce2dd2 [2020-12-18T00:35:51.337Z] ---> 85883dc1eb6e [2020-12-18T00:35:51.337Z] Successfully built 85883dc1eb6e [2020-12-18T00:35:51.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:35:51.670Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-18T00:35:51.671Z] . [Pipeline] withDockerContainer [2020-12-18T00:35:51.833Z] prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container [2020-12-18T00:35:51.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-18T00:35:53.715Z] $ docker top 2fd92e1349cdf995af76ca984ae02cc5c8ef1cfb42110d6e7110d4d5a12c1b6a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T00:35:54.277Z] + go version [2020-12-18T00:35:54.277Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-18T00:35:54.294Z] $ docker stop --time=1 2fd92e1349cdf995af76ca984ae02cc5c8ef1cfb42110d6e7110d4d5a12c1b6a [2020-12-18T00:35:55.677Z] $ docker rm -f 2fd92e1349cdf995af76ca984ae02cc5c8ef1cfb42110d6e7110d4d5a12c1b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:35:56.652Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-18T00:35:56.652Z] . [Pipeline] withDockerContainer [2020-12-18T00:35:56.970Z] prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container [2020-12-18T00:35:57.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-18T00:35:57.783Z] $ docker top 60468733b9b3226872602019eaded361c5e44f24bf9eda61070fe9a7915a5781 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-18T00:35:57.988Z] ========================================================= [2020-12-18T00:35:57.988Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-18T00:35:57.988Z] ========================================================= [Pipeline] sh [2020-12-18T00:35:58.283Z] + make test [2020-12-18T00:35:58.283Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-18T00:36:08.375Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-18T00:36:23.445Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-18T00:36:30.153Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-18T00:36:30.153Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-18T00:36:30.153Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-18T00:36:30.153Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-18T00:36:30.752Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-18T00:36:30.753Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-18T00:36:31.347Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-18T00:36:31.953Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-18T00:36:32.540Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-18T00:36:33.511Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-18T00:36:33.511Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-18T00:36:33.511Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-18T00:36:36.113Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.089s coverage: 46.6% of statements [2020-12-18T00:36:36.113Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-18T00:36:36.113Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-18T00:36:36.113Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-18T00:36:36.113Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-18T00:36:36.113Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-18T00:36:36.381Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-18T00:36:36.381Z] internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 [2020-12-18T00:36:36.657Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2020-12-18T00:36:36.657Z] internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 [2020-12-18T00:36:36.657Z] internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 [2020-12-18T00:36:36.657Z] internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary [2020-12-18T00:36:36.657Z] internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary [2020-12-18T00:36:39.265Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.191s coverage: 27.1% of statements [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-18T00:36:39.265Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.042s coverage: 100.0% of statements [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-18T00:36:39.265Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.042s coverage: 100.0% of statements [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-18T00:36:39.265Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-18T00:36:39.265Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-18T00:36:39.265Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-18T00:36:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.405s coverage: 28.6% of statements [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-18T00:36:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.068s coverage: 100.0% of statements [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-18T00:36:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.047s coverage: 100.0% of statements [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-18T00:36:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.107s coverage: 86.7% of statements [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-18T00:36:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.164s coverage: 97.5% of statements [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-18T00:36:42.663Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.056s coverage: 78.3% of statements [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-18T00:36:42.663Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-18T00:36:44.092Z] --- FAIL: TestAddDeviceProfile_Created (0.01s) [2020-12-18T00:36:44.092Z] --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.01s) [2020-12-18T00:36:44.092Z] panic: [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] mock: Unexpected Method Call [2020-12-18T00:36:44.092Z] ----------------------------- [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:36:44.092Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] The closest call I have is: [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:36:44.092Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] Difference found in argument 0: [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] --- Expected [2020-12-18T00:36:44.092Z] +++ Actual [2020-12-18T00:36:44.092Z] @@ -20,3 +20,3 @@ [2020-12-18T00:36:44.092Z] Properties: (models.PropertyValue) { [2020-12-18T00:36:44.092Z] - Type: (string) (len=5) "INT16", [2020-12-18T00:36:44.092Z] + Type: (string) (len=5) "Int16", [2020-12-18T00:36:44.092Z] ReadWrite: (string) (len=2) "RW", [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) [recovered] [2020-12-18T00:36:44.092Z] panic: [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] mock: Unexpected Method Call [2020-12-18T00:36:44.092Z] ----------------------------- [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:36:44.092Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] The closest call I have is: [2020-12-18T00:36:44.092Z] [2020-12-18T00:36:44.092Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:36:44.093Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:36:44.093Z] [2020-12-18T00:36:44.093Z] Difference found in argument 0: [2020-12-18T00:36:44.093Z] [2020-12-18T00:36:44.093Z] --- Expected [2020-12-18T00:36:44.093Z] +++ Actual [2020-12-18T00:36:44.093Z] @@ -20,3 +20,3 @@ [2020-12-18T00:36:44.093Z] Properties: (models.PropertyValue) { [2020-12-18T00:36:44.093Z] - Type: (string) (len=5) "INT16", [2020-12-18T00:36:44.093Z] + Type: (string) (len=5) "Int16", [2020-12-18T00:36:44.093Z] ReadWrite: (string) (len=2) "RW", [2020-12-18T00:36:44.093Z] [2020-12-18T00:36:44.093Z] Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) [2020-12-18T00:36:44.093Z] [2020-12-18T00:36:44.093Z] goroutine 85 [running]: [2020-12-18T00:36:44.093Z] testing.tRunner.func1.1(0x8ad2a0, 0xc0004a85d0) [2020-12-18T00:36:44.093Z] /usr/local/go/src/testing/testing.go:1072 +0x46a [2020-12-18T00:36:44.093Z] testing.tRunner.func1(0xc000407e00) [2020-12-18T00:36:44.093Z] /usr/local/go/src/testing/testing.go:1075 +0x636 [2020-12-18T00:36:44.093Z] panic(0x8ad2a0, 0xc0004a85d0) [2020-12-18T00:36:44.093Z] /usr/local/go/src/runtime/panic.go:975 +0x47a [2020-12-18T00:36:44.093Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc000417270, 0x92e3cd, 0x6f, 0xc000489080, 0x4, 0x4) [2020-12-18T00:36:44.093Z] /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:236 +0x21f [2020-12-18T00:36:44.093Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000417270, 0xb2ad17, 0x10, 0xc00046f7d0, 0x1, 0x1, 0xc000488d40, 0x4, 0x4) [2020-12-18T00:36:44.093Z] /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:366 +0x510 [2020-12-18T00:36:44.093Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc000417270, 0xc00046f7d0, 0x1, 0x1, 0xc00049c360, 0x20, 0x1) [2020-12-18T00:36:44.093Z] /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:338 +0x1ee [2020-12-18T00:36:44.093Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0xc000417270, 0x0, 0x0, 0xc00048cb00, 0xf, 0xc000424870, 0x24, 0xc0004571a0, 0x15, 0xc00048caf0, ...) [2020-12-18T00:36:44.093Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0x151 [2020-12-18T00:36:44.093Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0xc00048cb00, 0xf, 0xc000424870, 0x24, 0xc0004571a0, 0x15, 0xc00048caf0, 0x10, ...) [2020-12-18T00:36:44.093Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/application/deviceprofile.go:31 +0x282 [2020-12-18T00:36:44.093Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0xc00044b8a0, 0x9a1120, 0xc0004881c0, 0xc0003a1e00) [2020-12-18T00:36:44.093Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x565 [2020-12-18T00:36:44.093Z] net/http.HandlerFunc.ServeHTTP(...) [2020-12-18T00:36:44.093Z] /usr/local/go/src/net/http/server.go:2042 [2020-12-18T00:36:44.093Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0xc000407e00) [2020-12-18T00:36:44.093Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x40e [2020-12-18T00:36:44.093Z] testing.tRunner(0xc000407e00, 0xc000484270) [2020-12-18T00:36:44.093Z] /usr/local/go/src/testing/testing.go:1123 +0x203 [2020-12-18T00:36:44.093Z] created by testing.(*T).Run [2020-12-18T00:36:44.093Z] /usr/local/go/src/testing/testing.go:1168 +0x5bc [2020-12-18T00:36:44.093Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.153s [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-18T00:36:44.093Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.032s coverage: 58.8% of statements [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-18T00:36:44.093Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.061s coverage: 0.1% of statements [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-18T00:36:44.093Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.032s coverage: 100.0% of statements [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-18T00:36:44.093Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.073s coverage: 75.5% of statements [2020-12-18T00:36:44.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-18T00:36:44.093Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.061s coverage: 80.8% of statements [2020-12-18T00:36:44.093Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.078s coverage: 87.2% of statements [2020-12-18T00:36:44.368Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 84.2% of statements [2020-12-18T00:36:44.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.090s coverage: 91.4% of statements [2020-12-18T00:36:44.959Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-18T00:36:45.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.226s coverage: 63.5% of statements [2020-12-18T00:36:45.954Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-18T00:36:45.954Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-18T00:36:45.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements [2020-12-18T00:36:45.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 91.3% of statements [2020-12-18T00:36:45.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.036s coverage: 100.0% of statements [2020-12-18T00:36:45.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements [2020-12-18T00:36:46.226Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2020-12-18T00:36:48.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.421s coverage: 55.9% of statements [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-18T00:36:48.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.084s coverage: 37.0% of statements [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-18T00:36:48.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-18T00:36:48.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.345s coverage: 84.0% of statements [2020-12-18T00:36:48.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.060s coverage: 100.0% of statements [2020-12-18T00:36:50.170Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.112s coverage: 47.1% of statements [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-18T00:36:50.170Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.074s coverage: 100.0% of statements [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-18T00:36:50.170Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.045s coverage: 100.0% of statements [2020-12-18T00:36:50.170Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-18T00:36:51.582Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.709s coverage: 29.1% of statements [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-18T00:36:51.582Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.079s coverage: 99.0% of statements [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-18T00:36:51.582Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.046s coverage: 100.0% of statements [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-18T00:36:51.582Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.038s coverage: 0.0% of statements [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-18T00:36:51.582Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.037s coverage: 100.0% of statements [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-18T00:36:51.582Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-18T00:36:51.855Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.045s coverage: 87.9% of statements [2020-12-18T00:36:51.855Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-18T00:36:51.855Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-18T00:36:51.855Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.058s coverage: 100.0% of statements [2020-12-18T00:36:52.434Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.028s coverage: 32.1% of statements [2020-12-18T00:36:52.434Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements [2020-12-18T00:36:52.434Z] FAIL [2020-12-18T00:36:53.009Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2020-12-18T00:36:53.031Z] $ docker stop --time=1 60468733b9b3226872602019eaded361c5e44f24bf9eda61070fe9a7915a5781 [2020-12-18T00:36:55.499Z] $ docker rm -f 60468733b9b3226872602019eaded361c5e44f24bf9eda61070fe9a7915a5781 [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-18T00:36:56.905Z] Failed in branch amd64 [2020-12-18T00:37:05.006Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16670 in /w/workspace/edgexfoundry_edgex-go_PR-2958 [Pipeline] { [Pipeline] ws [2020-12-18T00:37:05.073Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2020-12-18T00:37:10.132Z] using credential edgex-jenkins-ssh [2020-12-18T00:37:10.382Z] Cloning the remote Git repository [2020-12-18T00:37:10.447Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-18T00:37:10.590Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2020-12-18T00:37:10.673Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-18T00:37:10.674Z] > git --version # timeout=10 [2020-12-18T00:37:10.690Z] > git --version # 'git version 2.17.1' [2020-12-18T00:37:10.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T00:37:10.763Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-18T00:37:38.016Z] Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea [2020-12-18T00:37:37.337Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-18T00:37:37.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-18T00:37:37.390Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-18T00:37:37.427Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-18T00:37:37.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T00:37:37.442Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2958/head:refs/remotes/origin/PR-2958 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-18T00:37:38.048Z] > git config core.sparsecheckout # timeout=10 [2020-12-18T00:37:38.065Z] > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 [2020-12-18T00:37:38.392Z] > git remote # timeout=10 [2020-12-18T00:37:38.419Z] > git config --get remote.origin.url # timeout=10 [2020-12-18T00:37:38.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T00:37:38.454Z] > git merge bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 [2020-12-18T00:37:38.977Z] Merge succeeded, producing 53f78f7e8ab314ef4e37ac462f57cf1702d11a58 [2020-12-18T00:37:38.978Z] Checking out Revision 53f78f7e8ab314ef4e37ac462f57cf1702d11a58 (PR-2958) [2020-12-18T00:37:38.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-18T00:37:38.988Z] > git config core.sparsecheckout # timeout=10 [2020-12-18T00:37:39.010Z] > git checkout -f 53f78f7e8ab314ef4e37ac462f57cf1702d11a58 # timeout=10 [2020-12-18T00:37:43.512Z] Commit message: "Merge commit 'bbb161aa59ef099937232867751a09afbb087fa9' into HEAD" [2020-12-18T00:37:43.525Z] > git rev-list --no-walk 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-18T00:37:45.251Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-18T00:37:45.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-18T00:37:46.085Z] + sudo service docker restart [2020-12-18T00:37:46.085Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-18T00:37:48.180Z] provisioning config files... [2020-12-18T00:37:48.222Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8272254850377665142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:37:48.638Z] ---> docker-login.sh [2020-12-18T00:37:48.639Z] nexus3.edgexfoundry.org:10001 [2020-12-18T00:37:49.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:37:49.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:37:49.912Z] Configure a credential helper to remove this warning. See [2020-12-18T00:37:49.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:37:49.912Z] [2020-12-18T00:37:49.912Z] Login Succeeded [2020-12-18T00:37:49.912Z] nexus3.edgexfoundry.org:10002 [2020-12-18T00:37:50.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:37:50.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:37:50.512Z] Configure a credential helper to remove this warning. See [2020-12-18T00:37:50.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:37:50.512Z] [2020-12-18T00:37:50.512Z] Login Succeeded [2020-12-18T00:37:50.512Z] nexus3.edgexfoundry.org:10003 [2020-12-18T00:37:51.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:37:51.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:37:51.118Z] Configure a credential helper to remove this warning. See [2020-12-18T00:37:51.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:37:51.118Z] [2020-12-18T00:37:51.118Z] Login Succeeded [2020-12-18T00:37:51.118Z] nexus3.edgexfoundry.org:10004 [2020-12-18T00:37:51.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:37:51.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:37:51.720Z] Configure a credential helper to remove this warning. See [2020-12-18T00:37:51.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:37:51.720Z] [2020-12-18T00:37:51.720Z] Login Succeeded [2020-12-18T00:37:51.720Z] docker.io [2020-12-18T00:37:51.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T00:37:52.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T00:37:52.590Z] Configure a credential helper to remove this warning. See [2020-12-18T00:37:52.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T00:37:52.590Z] [2020-12-18T00:37:52.590Z] Login Succeeded [2020-12-18T00:37:52.590Z] ---> docker-login.sh ends [Pipeline] } [2020-12-18T00:37:52.609Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-18T00:37:53.129Z] ========================================================= [2020-12-18T00:37:53.129Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-18T00:37:53.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:37:53.530Z] + 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-18T00:37:55.550Z] Sending build context to Docker daemon 165.3MB [2020-12-18T00:37:55.550Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-18T00:37:55.550Z] Step 2/7 : FROM ${BASE} [2020-12-18T00:37:55.829Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-18T00:37:55.829Z] 5f621e34cdf4: Pulling fs layer [2020-12-18T00:37:55.829Z] a4357932f1b6: Pulling fs layer [2020-12-18T00:37:55.829Z] 18c013af1878: Pulling fs layer [2020-12-18T00:37:55.829Z] 00ac8860ef70: Pulling fs layer [2020-12-18T00:37:55.829Z] 63d7cb157983: Pulling fs layer [2020-12-18T00:37:55.829Z] b116817d02f9: Pulling fs layer [2020-12-18T00:37:55.829Z] 745a02a5169b: Pulling fs layer [2020-12-18T00:37:55.829Z] 00ac8860ef70: Waiting [2020-12-18T00:37:55.829Z] b116817d02f9: Waiting [2020-12-18T00:37:55.829Z] 745a02a5169b: Waiting [2020-12-18T00:37:55.829Z] 63d7cb157983: Waiting [2020-12-18T00:37:55.829Z] 18c013af1878: Verifying Checksum [2020-12-18T00:37:55.829Z] 18c013af1878: Download complete [2020-12-18T00:37:55.829Z] a4357932f1b6: Download complete [2020-12-18T00:37:55.829Z] 63d7cb157983: Verifying Checksum [2020-12-18T00:37:55.829Z] 63d7cb157983: Download complete [2020-12-18T00:37:56.107Z] b116817d02f9: Verifying Checksum [2020-12-18T00:37:56.107Z] b116817d02f9: Download complete [2020-12-18T00:37:56.711Z] 5f621e34cdf4: Verifying Checksum [2020-12-18T00:37:56.711Z] 5f621e34cdf4: Download complete [2020-12-18T00:37:57.307Z] 5f621e34cdf4: Pull complete [2020-12-18T00:37:57.910Z] a4357932f1b6: Pull complete [2020-12-18T00:37:58.186Z] 18c013af1878: Pull complete [2020-12-18T00:38:00.823Z] 745a02a5169b: Verifying Checksum [2020-12-18T00:38:00.823Z] 745a02a5169b: Download complete [2020-12-18T00:38:02.282Z] 00ac8860ef70: Verifying Checksum [2020-12-18T00:38:02.282Z] 00ac8860ef70: Download complete [2020-12-18T00:38:12.542Z] 00ac8860ef70: Pull complete [2020-12-18T00:38:12.542Z] 63d7cb157983: Pull complete [2020-12-18T00:38:12.542Z] b116817d02f9: Pull complete [2020-12-18T00:38:15.958Z] 745a02a5169b: Pull complete [2020-12-18T00:38:15.958Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-18T00:38:15.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-18T00:38:15.958Z] ---> b7e6874047d6 [2020-12-18T00:38:15.958Z] 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-18T00:38:19.387Z] ---> Running in 44880bf5929e [2020-12-18T00:38:20.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-18T00:38:21.807Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-18T00:38:24.440Z] (1/12) Installing libmagic (5.38-r0) [2020-12-18T00:38:24.713Z] (2/12) Installing file (5.38-r0) [2020-12-18T00:38:24.713Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-18T00:38:24.713Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-18T00:38:51.534Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-18T00:38:51.534Z] (6/12) Installing patch (2.7.6-r6) [2020-12-18T00:38:51.534Z] (7/12) Installing build-base (0.5-r2) [2020-12-18T00:38:51.534Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-18T00:38:51.534Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-18T00:38:51.534Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-18T00:38:51.534Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-18T00:38:51.534Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-18T00:38:51.534Z] Executing busybox-1.31.1-r19.trigger [2020-12-18T00:38:51.534Z] OK: 217 MiB in 51 packages [2020-12-18T00:38:54.950Z] Removing intermediate container 44880bf5929e [2020-12-18T00:38:54.950Z] ---> 1b658339fe35 [2020-12-18T00:38:54.950Z] Step 4/7 : WORKDIR /edgex-go [2020-12-18T00:38:54.950Z] ---> Running in f30d0eecafbc [2020-12-18T00:38:55.549Z] Removing intermediate container f30d0eecafbc [2020-12-18T00:38:55.549Z] ---> d5f760d5aacc [2020-12-18T00:38:55.549Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-18T00:38:55.820Z] latest: Pulling from library/docker [2020-12-18T00:38:56.095Z] a3cc7d3b244e: Pulling fs layer [2020-12-18T00:38:56.095Z] 02a3295e0d61: Pulling fs layer [2020-12-18T00:38:56.095Z] 0f4f2e6d8100: Pulling fs layer [2020-12-18T00:38:56.095Z] 065c9533d613: Pulling fs layer [2020-12-18T00:38:56.095Z] 9fce0df16b8b: Pulling fs layer [2020-12-18T00:38:56.095Z] e3faa53604c1: Pulling fs layer [2020-12-18T00:38:56.095Z] 04b5adaa2053: Pulling fs layer [2020-12-18T00:38:56.095Z] 065c9533d613: Waiting [2020-12-18T00:38:56.095Z] 9fce0df16b8b: Waiting [2020-12-18T00:38:56.095Z] e3faa53604c1: Waiting [2020-12-18T00:38:56.095Z] 04b5adaa2053: Waiting [2020-12-18T00:38:56.095Z] 0f4f2e6d8100: Verifying Checksum [2020-12-18T00:38:56.095Z] 0f4f2e6d8100: Download complete [2020-12-18T00:38:56.371Z] a3cc7d3b244e: Verifying Checksum [2020-12-18T00:38:56.371Z] a3cc7d3b244e: Download complete [2020-12-18T00:38:56.371Z] 02a3295e0d61: Verifying Checksum [2020-12-18T00:38:56.371Z] 02a3295e0d61: Download complete [2020-12-18T00:38:56.646Z] 9fce0df16b8b: Verifying Checksum [2020-12-18T00:38:56.646Z] 9fce0df16b8b: Download complete [2020-12-18T00:38:56.646Z] e3faa53604c1: Verifying Checksum [2020-12-18T00:38:56.646Z] e3faa53604c1: Download complete [2020-12-18T00:38:56.646Z] 04b5adaa2053: Verifying Checksum [2020-12-18T00:38:56.646Z] 04b5adaa2053: Download complete [2020-12-18T00:38:56.936Z] a3cc7d3b244e: Pull complete [2020-12-18T00:38:57.538Z] 02a3295e0d61: Pull complete [2020-12-18T00:38:58.140Z] 065c9533d613: Verifying Checksum [2020-12-18T00:38:58.140Z] 065c9533d613: Download complete [2020-12-18T00:38:58.140Z] 0f4f2e6d8100: Pull complete [2020-12-18T00:39:01.535Z] 065c9533d613: Pull complete [2020-12-18T00:39:01.807Z] 9fce0df16b8b: Pull complete [2020-12-18T00:39:02.404Z] e3faa53604c1: Pull complete [2020-12-18T00:39:02.674Z] 04b5adaa2053: Pull complete [2020-12-18T00:39:02.674Z] Digest: sha256:f5f9ba6ab98290000e7e5266b18d6b69d857f2af097916ef94b228351cb0fa81 [2020-12-18T00:39:02.674Z] Status: Downloaded newer image for docker:latest [2020-12-18T00:39:06.048Z] ---> afd74a3c4c68 [2020-12-18T00:39:06.048Z] Step 6/7 : COPY go.mod . [2020-12-18T00:39:06.319Z] ---> 34cf302628c2 [2020-12-18T00:39:06.319Z] Step 7/7 : RUN go mod download [2020-12-18T00:39:06.591Z] ---> Running in cf8cb80bc140 [2020-12-18T00:39:33.433Z] Removing intermediate container cf8cb80bc140 [2020-12-18T00:39:33.433Z] ---> f1ce902e0e5a [2020-12-18T00:39:33.433Z] Successfully built f1ce902e0e5a [2020-12-18T00:39:33.433Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:39:33.800Z] + docker inspect -f . ci-base-image-arm64 [2020-12-18T00:39:33.800Z] . [Pipeline] withDockerContainer [2020-12-18T00:39:34.094Z] prd-ubuntu18.04-docker-arm64-4c-16g-16670 does not seem to be running inside a container [2020-12-18T00:39:34.190Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-12-18T00:39:35.744Z] $ docker top f104bee39f36c4b7919a277bcc4ae79a8159174029e59bf4c3bbfd5c92493efc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T00:39:36.775Z] + go version [2020-12-18T00:39:36.775Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-18T00:39:36.803Z] $ docker stop --time=1 f104bee39f36c4b7919a277bcc4ae79a8159174029e59bf4c3bbfd5c92493efc [2020-12-18T00:39:38.819Z] $ docker rm -f f104bee39f36c4b7919a277bcc4ae79a8159174029e59bf4c3bbfd5c92493efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:39:39.849Z] + docker inspect -f . ci-base-image-arm64 [2020-12-18T00:39:39.849Z] . [Pipeline] withDockerContainer [2020-12-18T00:39:40.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-16670 does not seem to be running inside a container [2020-12-18T00:39:40.226Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-12-18T00:39:41.623Z] $ docker top cbcb1481fee976b70c3388031c858b6d01e081613e889a999563d26c6baa50bd -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-18T00:39:41.960Z] ========================================================= [2020-12-18T00:39:41.960Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-18T00:39:41.960Z] ========================================================= [Pipeline] sh [2020-12-18T00:39:42.612Z] + make test [2020-12-18T00:39:42.612Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-18T00:40:04.841Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-18T00:40:51.884Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-18T00:40:58.637Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-18T00:41:01.270Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-18T00:41:01.270Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-18T00:41:01.270Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-18T00:41:01.270Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-18T00:41:01.546Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-18T00:41:02.164Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-18T00:41:04.796Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-18T00:41:05.400Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-18T00:41:08.067Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-18T00:41:08.067Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-18T00:41:08.067Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-18T00:41:16.372Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-18T00:41:16.372Z] internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 [2020-12-18T00:41:16.372Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.339s coverage: 46.6% of statements [2020-12-18T00:41:16.372Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-18T00:41:16.372Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-18T00:41:16.372Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-18T00:41:16.372Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-18T00:41:16.372Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-18T00:41:16.372Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] [2020-12-18T00:41:16.372Z] internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 [2020-12-18T00:41:16.372Z] internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 [2020-12-18T00:41:16.372Z] internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary [2020-12-18T00:41:16.372Z] internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary [2020-12-18T00:41:23.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.449s coverage: 27.1% of statements [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-18T00:41:23.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.083s coverage: 100.0% of statements [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-18T00:41:23.610Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.070s coverage: 100.0% of statements [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-18T00:41:23.610Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-18T00:41:23.610Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-18T00:41:23.610Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-18T00:41:29.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.271s coverage: 28.6% of statements [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-18T00:41:29.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.154s coverage: 100.0% of statements [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-18T00:41:29.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.070s coverage: 100.0% of statements [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-18T00:41:29.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.310s coverage: 86.7% of statements [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-18T00:41:29.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.340s coverage: 97.5% of statements [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-18T00:41:29.074Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.159s coverage: 78.3% of statements [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-18T00:41:29.074Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-18T00:41:35.833Z] --- FAIL: TestAddDeviceProfile_Created (0.03s) [2020-12-18T00:41:35.833Z] --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.03s) [2020-12-18T00:41:35.833Z] panic: [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] mock: Unexpected Method Call [2020-12-18T00:41:35.833Z] ----------------------------- [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:41:35.833Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] The closest call I have is: [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:41:35.833Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] Difference found in argument 0: [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] --- Expected [2020-12-18T00:41:35.833Z] +++ Actual [2020-12-18T00:41:35.833Z] @@ -20,3 +20,3 @@ [2020-12-18T00:41:35.833Z] Properties: (models.PropertyValue) { [2020-12-18T00:41:35.833Z] - Type: (string) (len=5) "INT16", [2020-12-18T00:41:35.833Z] + Type: (string) (len=5) "Int16", [2020-12-18T00:41:35.833Z] ReadWrite: (string) (len=2) "RW", [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) [recovered] [2020-12-18T00:41:35.833Z] panic: [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] mock: Unexpected Method Call [2020-12-18T00:41:35.833Z] ----------------------------- [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:41:35.833Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"Int16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] The closest call I have is: [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] AddDeviceProfile(models.DeviceProfile) [2020-12-18T00:41:35.833Z] 0: models.DeviceProfile{Timestamps:models.Timestamps{Created:0, Modified:0}, Description:"TestDescription", Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"TestDeviceProfileName", Manufacturer:"TestManufacturer", Model:"TestModel", Labels:[]string{"MODBUS", "TEMP"}, DeviceResources:[]models.DeviceResource{models.DeviceResource{Description:"TestDescription", Name:"TestDeviceResourceName", Tag:"TestTag", Properties:models.PropertyValue{Type:"INT16", ReadWrite:"RW", Units:"", Minimum:"", Maximum:"", DefaultValue:"", Mask:"", Shift:"", Scale:"", Offset:"", Base:"", Assertion:"", MediaType:""}, Attributes:map[string]string{"TestAttribute":"TestAttributeValue"}}}, DeviceCommands:[]models.ProfileResource{models.ProfileResource{Name:"TestProfileResource", Get:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}, Set:[]models.ResourceOperation{models.ResourceOperation{DeviceResource:"TestDeviceResourceName", Parameter:"", Mappings:map[string]string(nil)}}}}, CoreCommands:[]models.Command{models.Command{Name:"TestProfileResource", Get:true, Put:true}}} [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] Difference found in argument 0: [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] --- Expected [2020-12-18T00:41:35.833Z] +++ Actual [2020-12-18T00:41:35.833Z] @@ -20,3 +20,3 @@ [2020-12-18T00:41:35.833Z] Properties: (models.PropertyValue) { [2020-12-18T00:41:35.833Z] - Type: (string) (len=5) "INT16", [2020-12-18T00:41:35.833Z] + Type: (string) (len=5) "Int16", [2020-12-18T00:41:35.833Z] ReadWrite: (string) (len=2) "RW", [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] Diff: 0: FAIL: (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {Int16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) != (models.DeviceProfile={{0 0} TestDescription 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc TestDeviceProfileName TestManufacturer TestModel [MODBUS TEMP] [{TestDescription TestDeviceResourceName TestTag {INT16 RW } map[TestAttribute:TestAttributeValue]}] [{TestProfileResource [{TestDeviceResourceName map[]}] [{TestDeviceResourceName map[]}]}] [{TestProfileResource true true}]}) [2020-12-18T00:41:35.833Z] [2020-12-18T00:41:35.833Z] goroutine 5 [running]: [2020-12-18T00:41:35.833Z] testing.tRunner.func1.1(0x3e9980, 0x4000360100) [2020-12-18T00:41:35.833Z] /usr/local/go/src/testing/testing.go:1072 +0x320 [2020-12-18T00:41:35.833Z] testing.tRunner.func1(0x4000106d80) [2020-12-18T00:41:35.833Z] /usr/local/go/src/testing/testing.go:1075 +0x460 [2020-12-18T00:41:35.833Z] panic(0x3e9980, 0x4000360100) [2020-12-18T00:41:35.833Z] /usr/local/go/src/runtime/panic.go:975 +0x420 [2020-12-18T00:41:35.833Z] github.com/stretchr/testify/mock.(*Mock).fail(0x40004942d0, 0x46b615, 0x6f, 0x400037c200, 0x4, 0x4) [2020-12-18T00:41:35.833Z] /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:236 +0x180 [2020-12-18T00:41:35.833Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x40004942d0, 0x669377, 0x10, 0x40000a70d0, 0x1, 0x1, 0x40000abec0, 0x4, 0x4) [2020-12-18T00:41:35.833Z] /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:366 +0x394 [2020-12-18T00:41:35.833Z] github.com/stretchr/testify/mock.(*Mock).Called(0x40004942d0, 0x40000a70d0, 0x1, 0x1, 0x4000293000, 0x2e9400, 0x40000abe00) [2020-12-18T00:41:35.833Z] /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:338 +0x15c [2020-12-18T00:41:35.833Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0x40004942d0, 0x0, 0x0, 0x40004238e0, 0xf, 0x4000342180, 0x24, 0x40003445a0, 0x15, 0x40004238d0, ...) [2020-12-18T00:41:35.833Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0xec [2020-12-18T00:41:35.834Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0x40004238e0, 0xf, 0x4000342180, 0x24, 0x40003445a0, 0x15, 0x40004238d0, 0x10, ...) [2020-12-18T00:41:35.834Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/application/deviceprofile.go:31 +0x1ec [2020-12-18T00:41:35.834Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0x40003746a0, 0x4df820, 0x40000aadc0, 0x40000b2400) [2020-12-18T00:41:35.834Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x3e8 [2020-12-18T00:41:35.834Z] net/http.HandlerFunc.ServeHTTP(...) [2020-12-18T00:41:35.834Z] /usr/local/go/src/net/http/server.go:2042 [2020-12-18T00:41:35.834Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0x4000106d80) [2020-12-18T00:41:35.834Z] /w/workspace/edgex-go/2/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x334 [2020-12-18T00:41:35.834Z] testing.tRunner(0x4000106d80, 0x400041eb40) [2020-12-18T00:41:35.834Z] /usr/local/go/src/testing/testing.go:1123 +0x174 [2020-12-18T00:41:35.834Z] created by testing.(*T).Run [2020-12-18T00:41:35.834Z] /usr/local/go/src/testing/testing.go:1168 +0x43c [2020-12-18T00:41:35.834Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.410s [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-18T00:41:35.834Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-18T00:41:35.834Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.183s coverage: 0.1% of statements [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-18T00:41:35.834Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.050s coverage: 100.0% of statements [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-18T00:41:35.834Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.103s coverage: 75.5% of statements [2020-12-18T00:41:35.834Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-18T00:41:35.834Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.068s coverage: 80.8% of statements [2020-12-18T00:41:35.834Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.146s coverage: 87.2% of statements [2020-12-18T00:41:36.438Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.224s coverage: 84.2% of statements [2020-12-18T00:41:37.916Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.199s coverage: 91.4% of statements [2020-12-18T00:41:37.916Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-18T00:41:41.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.664s coverage: 63.5% of statements [2020-12-18T00:41:41.336Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-18T00:41:41.336Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-18T00:41:41.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.068s coverage: 100.0% of statements [2020-12-18T00:41:41.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.100s coverage: 91.3% of statements [2020-12-18T00:41:41.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.069s coverage: 100.0% of statements [2020-12-18T00:41:41.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.088s coverage: 73.7% of statements [2020-12-18T00:41:42.781Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.053s coverage: 100.0% of statements [2020-12-18T00:41:48.229Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.945s coverage: 55.9% of statements [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-18T00:41:48.229Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.410s coverage: 37.0% of statements [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-18T00:41:48.229Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-18T00:41:48.229Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.690s coverage: 84.0% of statements [2020-12-18T00:41:48.229Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.112s coverage: 100.0% of statements [2020-12-18T00:41:56.551Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.422s coverage: 47.1% of statements [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-18T00:41:56.551Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.143s coverage: 100.0% of statements [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-18T00:41:56.551Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.125s coverage: 100.0% of statements [2020-12-18T00:41:56.551Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-18T00:42:00.897Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.389s coverage: 29.1% of statements [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-18T00:42:00.897Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.184s coverage: 99.0% of statements [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-18T00:42:00.897Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.099s coverage: 100.0% of statements [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-18T00:42:00.897Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.049s coverage: 0.0% of statements [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-18T00:42:00.897Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.050s coverage: 100.0% of statements [2020-12-18T00:42:00.897Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-18T00:42:00.898Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-18T00:42:00.898Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-18T00:42:00.898Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-18T00:42:01.171Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.094s coverage: 87.9% of statements [2020-12-18T00:42:01.171Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-18T00:42:01.171Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-18T00:42:01.171Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.074s coverage: 100.0% of statements [2020-12-18T00:42:02.610Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.059s coverage: 32.1% of statements [2020-12-18T00:42:03.589Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements [2020-12-18T00:42:03.589Z] FAIL [2020-12-18T00:42:04.184Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2020-12-18T00:42:04.211Z] $ docker stop --time=1 cbcb1481fee976b70c3388031c858b6d01e081613e889a999563d26c6baa50bd [2020-12-18T00:42:06.573Z] $ docker rm -f cbcb1481fee976b70c3388031c858b6d01e081613e889a999563d26c6baa50bd [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-18T00:42:08.608Z] 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-18T00:42:10.743Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:42:11.625Z] ---> package-listing.sh [2020-12-18T00:42:11.625Z] ++ facter osfamily [2020-12-18T00:42:11.625Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-18T00:42:11.625Z] + OS_FAMILY=redhat [2020-12-18T00:42:11.625Z] + workspace=/w/workspace/edgex-go/2 [2020-12-18T00:42:11.625Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-18T00:42:11.625Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-18T00:42:11.625Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-18T00:42:11.625Z] + PACKAGES=/tmp/packages_start.txt [2020-12-18T00:42:11.625Z] + '[' /w/workspace/edgex-go/2 ']' [2020-12-18T00:42:11.625Z] + PACKAGES=/tmp/packages_end.txt [2020-12-18T00:42:11.625Z] + case "${OS_FAMILY}" in [2020-12-18T00:42:11.625Z] + rpm -qa [2020-12-18T00:42:11.625Z] + sort [2020-12-18T00:42:16.953Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-18T00:42:16.953Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-18T00:42:16.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-18T00:42:16.953Z] + '[' /w/workspace/edgex-go/2 ']' [2020-12-18T00:42:16.953Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2020-12-18T00:42:16.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2020-12-18T00:42:16.968Z] 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-18T00:42:17.264Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:42:17.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-18T00:42:17.575Z] [2020-12-18T00:42:17.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-18T00:42:17.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-18T00:42:17.919Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-18T00:42:17.919Z] df20fa9351a1: Pulling fs layer [2020-12-18T00:42:17.919Z] 36b3adc4ff6f: Pulling fs layer [2020-12-18T00:42:17.919Z] 8ad3a11d3b57: Pulling fs layer [2020-12-18T00:42:17.919Z] 46f8f816bc3b: Pulling fs layer [2020-12-18T00:42:17.919Z] 93b61091891f: Pulling fs layer [2020-12-18T00:42:17.919Z] 93b9cdb0e59b: Pulling fs layer [2020-12-18T00:42:17.919Z] 5e14af77c1be: Pulling fs layer [2020-12-18T00:42:17.919Z] 01666e4c0597: Pulling fs layer [2020-12-18T00:42:17.919Z] aa168da1d23b: Pulling fs layer [2020-12-18T00:42:17.919Z] 46f8f816bc3b: Waiting [2020-12-18T00:42:17.919Z] 93b61091891f: Waiting [2020-12-18T00:42:17.919Z] 93b9cdb0e59b: Waiting [2020-12-18T00:42:17.919Z] 5e14af77c1be: Waiting [2020-12-18T00:42:17.919Z] 01666e4c0597: Waiting [2020-12-18T00:42:17.919Z] aa168da1d23b: Waiting [2020-12-18T00:42:17.919Z] 36b3adc4ff6f: Verifying Checksum [2020-12-18T00:42:17.919Z] 36b3adc4ff6f: Download complete [2020-12-18T00:42:17.919Z] 46f8f816bc3b: Verifying Checksum [2020-12-18T00:42:17.919Z] 46f8f816bc3b: Download complete [2020-12-18T00:42:18.183Z] df20fa9351a1: Verifying Checksum [2020-12-18T00:42:18.183Z] df20fa9351a1: Download complete [2020-12-18T00:42:18.183Z] 93b9cdb0e59b: Verifying Checksum [2020-12-18T00:42:18.183Z] 93b9cdb0e59b: Download complete [2020-12-18T00:42:18.183Z] 93b61091891f: Download complete [2020-12-18T00:42:18.183Z] 5e14af77c1be: Verifying Checksum [2020-12-18T00:42:18.183Z] 5e14af77c1be: Download complete [2020-12-18T00:42:18.183Z] 01666e4c0597: Verifying Checksum [2020-12-18T00:42:18.183Z] 01666e4c0597: Download complete [2020-12-18T00:42:18.448Z] df20fa9351a1: Pull complete [2020-12-18T00:42:18.710Z] 8ad3a11d3b57: Verifying Checksum [2020-12-18T00:42:18.710Z] 8ad3a11d3b57: Download complete [2020-12-18T00:42:18.710Z] 36b3adc4ff6f: Pull complete [2020-12-18T00:42:19.301Z] 8ad3a11d3b57: Pull complete [2020-12-18T00:42:19.568Z] 46f8f816bc3b: Pull complete [2020-12-18T00:42:20.522Z] 93b61091891f: Pull complete [2020-12-18T00:42:20.522Z] 93b9cdb0e59b: Pull complete [2020-12-18T00:42:20.785Z] 5e14af77c1be: Pull complete [2020-12-18T00:42:20.785Z] 01666e4c0597: Pull complete [2020-12-18T00:42:21.051Z] aa168da1d23b: Verifying Checksum [2020-12-18T00:42:21.051Z] aa168da1d23b: Download complete [2020-12-18T00:42:27.688Z] aa168da1d23b: Pull complete [2020-12-18T00:42:27.688Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-18T00:42:27.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-18T00:42:27.688Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-18T00:42:27.840Z] prd-centos7-docker-4c-2g-16662 does not seem to be running inside a container [2020-12-18T00:42:27.966Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-18T00:42:32.248Z] $ docker top f056c54b295dacc8e8620d6b7502280497f2c2f92c4fc6c2dd2ada2bd538bab3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T00:42:32.947Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-18T00:42:33.251Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-18T00:42:33.555Z] + ls /var/log/sa-host [2020-12-18T00:42:33.555Z] + sadf -c /var/log/sa-host/sa18 [2020-12-18T00:42:33.555Z] file_magic: OK [2020-12-18T00:42:33.555Z] HZ: Using current value: 100 [2020-12-18T00:42:33.555Z] file_header: OK [2020-12-18T00:42:33.555Z] 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-18T00:42:33.555Z] Statistics: [2020-12-18T00:42:33.555Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-18T00:42:33.555Z] File successfully converted to sysstat format version 12.2.1 [2020-12-18T00:42:33.555Z] + sadf -c /var/log/sa-host/sa23 [2020-12-18T00:42:33.555Z] file_magic: OK [2020-12-18T00:42:33.555Z] HZ: Using current value: 100 [2020-12-18T00:42:33.555Z] file_header: OK [2020-12-18T00:42:33.555Z] 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-18T00:42:33.555Z] Statistics: [2020-12-18T00:42:33.555Z] Hnuu...uuuununununu... [2020-12-18T00:42:33.555Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-18T00:42:34.217Z] provisioning config files... [2020-12-18T00:42:34.260Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config8092525538645076717tmp [Pipeline] { [Pipeline] echo [2020-12-18T00:42:34.347Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:42:34.652Z] ---> create-netrc.sh [Pipeline] } [2020-12-18T00:42:34.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-18T00:42:34.788Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:42:35.089Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-18T00:42:35.102Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:42:35.412Z] ---> sudo-logs.sh [2020-12-18T00:42:35.412Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-18T00:42:35.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:42:35.727Z] ---> job-cost.sh [2020-12-18T00:42:35.727Z] lf-activate-venv: SKIPPING [2020-12-18T00:42:35.727Z] INFO: No Stack... [2020-12-18T00:42:36.674Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-18T00:42:37.248Z] INFO: Archiving Costs [Pipeline] echo [2020-12-18T00:42:37.262Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T00:42:37.570Z] ---> logs-deploy.sh [2020-12-18T00:42:37.570Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2958/2 [2020-12-18T00:42:37.570Z] INFO: archiving workspace using pattern(s): [2020-12-18T00:42:39.492Z] Archives upload complete. [2020-12-18T00:42:39.492Z] INFO: archiving logs to Nexus [2020-12-18T00:42:40.442Z] ---> uname -a: [2020-12-18T00:42:40.442Z] Linux prd-centos7-docker-4c-2g-16662.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2020-12-18T00:42:40.442Z] [2020-12-18T00:42:40.442Z] [2020-12-18T00:42:40.442Z] ---> lscpu: [2020-12-18T00:42:40.442Z] Architecture: x86_64 [2020-12-18T00:42:40.442Z] CPU op-mode(s): 32-bit, 64-bit [2020-12-18T00:42:40.442Z] Byte Order: Little Endian [2020-12-18T00:42:40.442Z] Address sizes: 40 bits physical, 48 bits virtual [2020-12-18T00:42:40.442Z] CPU(s): 4 [2020-12-18T00:42:40.442Z] On-line CPU(s) list: 0-3 [2020-12-18T00:42:40.442Z] Thread(s) per core: 1 [2020-12-18T00:42:40.442Z] Core(s) per socket: 1 [2020-12-18T00:42:40.442Z] Socket(s): 4 [2020-12-18T00:42:40.442Z] NUMA node(s): 1 [2020-12-18T00:42:40.442Z] Vendor ID: GenuineIntel [2020-12-18T00:42:40.442Z] CPU family: 6 [2020-12-18T00:42:40.442Z] Model: 44 [2020-12-18T00:42:40.442Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-12-18T00:42:40.442Z] Stepping: 1 [2020-12-18T00:42:40.442Z] CPU MHz: 2933.442 [2020-12-18T00:42:40.442Z] BogoMIPS: 5866.88 [2020-12-18T00:42:40.442Z] Virtualization: VT-x [2020-12-18T00:42:40.442Z] Hypervisor vendor: KVM [2020-12-18T00:42:40.442Z] Virtualization type: full [2020-12-18T00:42:40.442Z] L1d cache: 128 KiB [2020-12-18T00:42:40.442Z] L1i cache: 128 KiB [2020-12-18T00:42:40.442Z] L2 cache: 16 MiB [2020-12-18T00:42:40.442Z] L3 cache: 64 MiB [2020-12-18T00:42:40.442Z] NUMA node0 CPU(s): 0-3 [2020-12-18T00:42:40.442Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-12-18T00:42:40.442Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-12-18T00:42:40.442Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-12-18T00:42:40.442Z] Vulnerability Meltdown: Mitigation; PTI [2020-12-18T00:42:40.442Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-12-18T00:42:40.442Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-12-18T00:42:40.442Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-12-18T00:42:40.442Z] Vulnerability Srbds: Not affected [2020-12-18T00:42:40.442Z] Vulnerability Tsx async abort: Not affected [2020-12-18T00:42:40.442Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-12-18T00:42:40.442Z] [2020-12-18T00:42:40.442Z] [2020-12-18T00:42:40.442Z] ---> nproc: [2020-12-18T00:42:40.442Z] 4 [2020-12-18T00:42:40.442Z] [2020-12-18T00:42:40.442Z]