Pull request #2942 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 94409b77cbaffe5817031050d0977b3149b76377+bbb161aa59ef099937232867751a09afbb087fa9 (70b651b142f08c377334d0b1869c92134f2d4b44) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16923 in /w/workspace/edgexfoundry_edgex-go_PR-2942 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/16 [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/16 # 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 94409b77cbaffe5817031050d0977b3149b76377 > 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/2942/head:refs/remotes/origin/PR-2942 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94409b77cbaffe5817031050d0977b3149b76377 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 94409b77cbaffe5817031050d0977b3149b76377 Checking out Revision 94409b77cbaffe5817031050d0977b3149b76377 (PR-2942) 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 94409b77cbaffe5817031050d0977b3149b76377 # timeout=10 Commit message: "feat: Updated to latest bootstrap and other modules" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 64cc1e3571febcdb99a1ec0292bd4ce572fada0f # timeout=10 [Pipeline] timeout [2020-12-20T19:27:20.341Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-20T19:27:20.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-20T19:27:20.796Z] ========================================================= [2020-12-20T19:27:20.796Z] EdgeX Global Pipelines Version Info [2020-12-20T19:27:20.796Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:27:22.251Z] ------------------- [2020-12-20T19:27:22.251Z] stable info: [2020-12-20T19:27:22.251Z] ------------------- [2020-12-20T19:27:22.251Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-20T19:27:22.251Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-20T19:27:22.251Z] Message: update stable to v1.0.173 [2020-12-20T19:27:23.198Z] ------------------- [2020-12-20T19:27:23.198Z] experimental info: [2020-12-20T19:27:23.198Z] ------------------- [2020-12-20T19:27:23.198Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-20T19:27:23.198Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-20T19:27:23.198Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-20T19:27:23.557Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-20T19:27:23.676Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-20T19:27:23.812Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-20T19:27:23.934Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-20T19:27:24.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-20T19:27:24.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-20T19:27:24.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-20T19:27:24.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-20T19:27:24.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-20T19:27:24.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-20T19:27:24.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-20T19:27:24.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-20T19:27:24.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-20T19:27:25.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-20T19:27:25.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-20T19:27:25.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-20T19:27:25.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-20T19:27:25.441Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-20T19:27:25.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-20T19:27:25.628Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-20T19:27:25.736Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-20T19:27:25.837Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-20T19:27:25.925Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-20T19:27:26.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2942 [Pipeline] echo [2020-12-20T19:27:26.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2942 [Pipeline] echo [2020-12-20T19:27:26.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2942 [Pipeline] echo [2020-12-20T19:27:26.296Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94409b77cbaffe5817031050d0977b3149b76377 [Pipeline] echo [2020-12-20T19:27:26.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94409b7 [Pipeline] echo [2020-12-20T19:27:26.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-20T19:27:26.649Z] provisioning config files... [2020-12-20T19:27:26.690Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/16@tmp/config5705802119689656326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:27:27.039Z] ---> docker-login.sh [2020-12-20T19:27:27.039Z] nexus3.edgexfoundry.org:10001 [2020-12-20T19:27:27.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:27:27.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:27:27.570Z] Configure a credential helper to remove this warning. See [2020-12-20T19:27:27.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:27:27.570Z] [2020-12-20T19:27:27.570Z] Login Succeeded [2020-12-20T19:27:27.570Z] nexus3.edgexfoundry.org:10002 [2020-12-20T19:27:27.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:27:27.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:27:27.833Z] Configure a credential helper to remove this warning. See [2020-12-20T19:27:27.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:27:27.833Z] [2020-12-20T19:27:27.833Z] Login Succeeded [2020-12-20T19:27:27.833Z] nexus3.edgexfoundry.org:10003 [2020-12-20T19:27:27.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:27:27.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:27:27.833Z] Configure a credential helper to remove this warning. See [2020-12-20T19:27:27.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:27:27.833Z] [2020-12-20T19:27:27.833Z] Login Succeeded [2020-12-20T19:27:27.833Z] nexus3.edgexfoundry.org:10004 [2020-12-20T19:27:28.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:27:28.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:27:28.094Z] Configure a credential helper to remove this warning. See [2020-12-20T19:27:28.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:27:28.094Z] [2020-12-20T19:27:28.094Z] Login Succeeded [2020-12-20T19:27:28.094Z] docker.io [2020-12-20T19:27:28.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:27:28.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:27:28.670Z] Configure a credential helper to remove this warning. See [2020-12-20T19:27:28.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:27:28.670Z] [2020-12-20T19:27:28.670Z] Login Succeeded [2020-12-20T19:27:28.670Z] ---> docker-login.sh ends [Pipeline] } [2020-12-20T19:27:28.679Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-20T19:27:29.160Z] ++ 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-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.160Z] ++ dirname cmd/core-command/Dockerfile [2020-12-20T19:27:29.160Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.160Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.160Z] ++ dirname cmd/core-data/Dockerfile [2020-12-20T19:27:29.160Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.160Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.160Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-20T19:27:29.160Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.160Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.160Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-20T19:27:29.160Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.160Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.160Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-20T19:27:29.160Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.160Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.160Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-20T19:27:29.160Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.160Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-20T19:27:29.160Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.161Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-20T19:27:29.161Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.161Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-20T19:27:29.161Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.161Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-20T19:27:29.161Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.161Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-20T19:27:29.161Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T19:27:29.161Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-20T19:27:29.161Z] ++ cut -d/ -f2 [2020-12-20T19:27:29.161Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-20T19:27:29.259Z] 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-20T19:27:32.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-20T19:27:32.246Z] [2020-12-20T19:27:32.246Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:27:32.598Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-20T19:27:32.598Z] latest: Pulling from edgex-devops/git-semver [2020-12-20T19:27:32.598Z] 31603596830f: Pulling fs layer [2020-12-20T19:27:32.598Z] 2a8b12db71e7: Pulling fs layer [2020-12-20T19:27:32.598Z] 6ca5941a6612: Pulling fs layer [2020-12-20T19:27:32.598Z] ecc8261a40a4: Pulling fs layer [2020-12-20T19:27:32.598Z] ecc8261a40a4: Waiting [2020-12-20T19:27:32.598Z] 2a8b12db71e7: Verifying Checksum [2020-12-20T19:27:32.598Z] 2a8b12db71e7: Download complete [2020-12-20T19:27:32.598Z] 31603596830f: Verifying Checksum [2020-12-20T19:27:32.598Z] 31603596830f: Download complete [2020-12-20T19:27:32.862Z] 6ca5941a6612: Verifying Checksum [2020-12-20T19:27:32.862Z] 6ca5941a6612: Download complete [2020-12-20T19:27:32.862Z] ecc8261a40a4: Verifying Checksum [2020-12-20T19:27:32.862Z] ecc8261a40a4: Download complete [2020-12-20T19:27:33.129Z] 31603596830f: Pull complete [2020-12-20T19:27:33.129Z] 2a8b12db71e7: Pull complete [2020-12-20T19:27:34.081Z] 6ca5941a6612: Pull complete [2020-12-20T19:27:34.354Z] ecc8261a40a4: Pull complete [2020-12-20T19:27:34.354Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-20T19:27:34.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-20T19:27:34.354Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-20T19:27:34.465Z] prd-centos7-docker-4c-2g-16923 does not seem to be running inside a container [2020-12-20T19:27:34.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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:10004/edgex-devops/git-semver:latest cat [2020-12-20T19:27:36.885Z] $ docker top e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-20T19:27:37.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-20T19:27:37.198Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-20T19:27:37.420Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-20T19:27:37.425Z] $ docker exec e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 ssh-agent [2020-12-20T19:27:37.598Z] SSH_AUTH_SOCK=/tmp/ssh-qhmXognEYRQv/agent.11 [2020-12-20T19:27:37.598Z] SSH_AGENT_PID=17 [2020-12-20T19:27:37.609Z] Running ssh-add (command line suppressed) [2020-12-20T19:27:37.733Z] Identity added: /w/workspace/edgex-go/16@tmp/private_key_8868025065109241263.key (/w/workspace/edgex-go/16@tmp/private_key_8868025065109241263.key) [2020-12-20T19:27:37.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-20T19:27:38.127Z] + git tag --points-at HEAD [Pipeline] } [2020-12-20T19:27:38.150Z] $ docker exec --env ******** --env ******** e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 ssh-agent -k [2020-12-20T19:27:38.264Z] unset SSH_AUTH_SOCK; [2020-12-20T19:27:38.264Z] unset SSH_AGENT_PID; [2020-12-20T19:27:38.264Z] echo Agent pid 17 killed; [2020-12-20T19:27:38.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-20T19:27:38.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-20T19:27:38.489Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-20T19:27:38.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-20T19:27:38.672Z] $ docker exec e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 ssh-agent [2020-12-20T19:27:38.844Z] SSH_AUTH_SOCK=/tmp/ssh-BGA9JfrfefAT/agent.48 [2020-12-20T19:27:38.844Z] SSH_AGENT_PID=53 [2020-12-20T19:27:38.851Z] Running ssh-add (command line suppressed) [2020-12-20T19:27:38.974Z] Identity added: /w/workspace/edgex-go/16@tmp/private_key_834975311636000834.key (/w/workspace/edgex-go/16@tmp/private_key_834975311636000834.key) [2020-12-20T19:27:39.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-20T19:27:39.364Z] + git semver init [2020-12-20T19:27:39.364Z] # -> Open(): unable to determine branch for HEAD [2020-12-20T19:27:39.364Z] # $GIT_DIR = /w/workspace/edgex-go/16/.git [2020-12-20T19:27:39.364Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/16 [2020-12-20T19:27:39.364Z] # $SEMVER_REMOTE_NAME = origin [2020-12-20T19:27:39.364Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-20T19:27:39.364Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-20T19:27:39.364Z] # $SEMVER_BRANCH = PR-2942 [2020-12-20T19:27:39.364Z] # $SEMVER_TEMP = /tmp/semver-651722643 [2020-12-20T19:27:39.364Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-20T19:27:57.563Z] # '/tmp/semver-651722643' -> '/w/workspace/edgex-go/16/.semver' [2020-12-20T19:27:57.563Z] # -> Force: false [2020-12-20T19:27:57.563Z] # $SEMVER_DIR = /w/workspace/edgex-go/16/.semver [Pipeline] } [2020-12-20T19:27:57.577Z] $ docker exec --env ******** --env ******** e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 ssh-agent -k [2020-12-20T19:27:57.772Z] unset SSH_AUTH_SOCK; [2020-12-20T19:27:57.772Z] unset SSH_AGENT_PID; [2020-12-20T19:27:57.772Z] echo Agent pid 53 killed; [2020-12-20T19:27:57.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-20T19:27:58.400Z] + git semver [Pipeline] } [2020-12-20T19:27:58.417Z] $ docker stop --time=1 e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 [2020-12-20T19:28:00.058Z] $ docker rm -f e4d0e0197dba4d8edd80ab979257302ba84ecbbb6b8976b0c00eed07b5e2eb58 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-20T19:28:00.650Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-20T19:28:01.226Z] Stashed 1 file(s) [Pipeline] echo [2020-12-20T19:28:01.231Z] [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-20T19:28:02.180Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-20T19:28:02.477Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-20T19:28:02.775Z] + sudo service docker restart [2020-12-20T19:28:02.775Z] + true [2020-12-20T19:28:02.775Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-20T19:28:03.365Z] ========================================================= [2020-12-20T19:28:03.365Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-20T19:28:03.365Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:28:03.714Z] + 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-20T19:28:07.941Z] Sending build context to Docker daemon 331.2MB [2020-12-20T19:28:07.941Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-20T19:28:07.941Z] Step 2/7 : FROM ${BASE} [2020-12-20T19:28:07.941Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-20T19:28:07.941Z] 188c0c94c7c5: Pulling fs layer [2020-12-20T19:28:07.941Z] 0ef7d3d256c8: Pulling fs layer [2020-12-20T19:28:07.941Z] de9db76c5a1d: Pulling fs layer [2020-12-20T19:28:07.941Z] bca2f99d35d6: Pulling fs layer [2020-12-20T19:28:07.941Z] 93359f2a8cfa: Pulling fs layer [2020-12-20T19:28:07.941Z] 7c6f9722023f: Pulling fs layer [2020-12-20T19:28:07.941Z] a35cf1a2eb13: Pulling fs layer [2020-12-20T19:28:07.941Z] bca2f99d35d6: Waiting [2020-12-20T19:28:07.941Z] 93359f2a8cfa: Waiting [2020-12-20T19:28:07.941Z] 7c6f9722023f: Waiting [2020-12-20T19:28:07.941Z] a35cf1a2eb13: Waiting [2020-12-20T19:28:07.941Z] de9db76c5a1d: Verifying Checksum [2020-12-20T19:28:07.941Z] de9db76c5a1d: Download complete [2020-12-20T19:28:07.941Z] 0ef7d3d256c8: Verifying Checksum [2020-12-20T19:28:07.941Z] 0ef7d3d256c8: Download complete [2020-12-20T19:28:07.941Z] 93359f2a8cfa: Verifying Checksum [2020-12-20T19:28:07.941Z] 93359f2a8cfa: Download complete [2020-12-20T19:28:07.941Z] 7c6f9722023f: Verifying Checksum [2020-12-20T19:28:07.941Z] 7c6f9722023f: Download complete [2020-12-20T19:28:07.941Z] 188c0c94c7c5: Verifying Checksum [2020-12-20T19:28:07.941Z] 188c0c94c7c5: Download complete [2020-12-20T19:28:08.209Z] 188c0c94c7c5: Pull complete [2020-12-20T19:28:08.479Z] 0ef7d3d256c8: Pull complete [2020-12-20T19:28:08.479Z] de9db76c5a1d: Pull complete [2020-12-20T19:28:09.880Z] a35cf1a2eb13: Verifying Checksum [2020-12-20T19:28:10.454Z] bca2f99d35d6: Verifying Checksum [2020-12-20T19:28:10.454Z] bca2f99d35d6: Download complete [2020-12-20T19:28:15.783Z] bca2f99d35d6: Pull complete [2020-12-20T19:28:16.045Z] 93359f2a8cfa: Pull complete [2020-12-20T19:28:16.309Z] 7c6f9722023f: Pull complete [2020-12-20T19:28:16.670Z] Still waiting to schedule task [2020-12-20T19:28:16.670Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-20T19:28:21.648Z] a35cf1a2eb13: Pull complete [2020-12-20T19:28:21.648Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-20T19:28:21.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-20T19:28:21.648Z] ---> a62c8e92a672 [2020-12-20T19:28:21.648Z] 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-20T19:28:21.648Z] ---> Running in 94538de9f5ce [2020-12-20T19:28:22.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-20T19:28:22.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-20T19:28:23.374Z] (1/12) Installing libmagic (5.38-r0) [2020-12-20T19:28:23.636Z] (2/12) Installing file (5.38-r0) [2020-12-20T19:28:23.636Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-20T19:28:23.636Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-20T19:28:28.948Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-20T19:28:28.948Z] (6/12) Installing patch (2.7.6-r6) [2020-12-20T19:28:28.948Z] (7/12) Installing build-base (0.5-r2) [2020-12-20T19:28:28.948Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-20T19:28:28.948Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-20T19:28:28.948Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-20T19:28:28.948Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-20T19:28:28.948Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-20T19:28:28.948Z] Executing busybox-1.31.1-r19.trigger [2020-12-20T19:28:28.948Z] OK: 233 MiB in 51 packages [2020-12-20T19:28:33.192Z] Removing intermediate container 94538de9f5ce [2020-12-20T19:28:33.192Z] ---> d6887f1f0356 [2020-12-20T19:28:33.192Z] Step 4/7 : WORKDIR /edgex-go [2020-12-20T19:28:33.192Z] ---> Running in 5fb0a7c392b4 [2020-12-20T19:28:33.192Z] Removing intermediate container 5fb0a7c392b4 [2020-12-20T19:28:33.192Z] ---> 7284eebe67e3 [2020-12-20T19:28:33.192Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-20T19:28:33.770Z] latest: Pulling from library/docker [2020-12-20T19:28:34.033Z] 801bfaa63ef2: Pulling fs layer [2020-12-20T19:28:34.033Z] 4f7dc993c79e: Pulling fs layer [2020-12-20T19:28:34.033Z] d39d95e4997f: Pulling fs layer [2020-12-20T19:28:34.033Z] 1cda4b703d87: Pulling fs layer [2020-12-20T19:28:34.033Z] 54e5375350ea: Pulling fs layer [2020-12-20T19:28:34.033Z] f08cd1b3bb1b: Pulling fs layer [2020-12-20T19:28:34.033Z] 8e17d04e0c68: Pulling fs layer [2020-12-20T19:28:34.033Z] 54e5375350ea: Waiting [2020-12-20T19:28:34.033Z] f08cd1b3bb1b: Waiting [2020-12-20T19:28:34.033Z] 8e17d04e0c68: Waiting [2020-12-20T19:28:34.033Z] 1cda4b703d87: Waiting [2020-12-20T19:28:34.033Z] d39d95e4997f: Verifying Checksum [2020-12-20T19:28:34.033Z] d39d95e4997f: Download complete [2020-12-20T19:28:34.033Z] 801bfaa63ef2: Verifying Checksum [2020-12-20T19:28:34.033Z] 801bfaa63ef2: Download complete [2020-12-20T19:28:34.033Z] 4f7dc993c79e: Download complete [2020-12-20T19:28:34.298Z] 54e5375350ea: Verifying Checksum [2020-12-20T19:28:34.298Z] 54e5375350ea: Download complete [2020-12-20T19:28:34.298Z] f08cd1b3bb1b: Verifying Checksum [2020-12-20T19:28:34.298Z] f08cd1b3bb1b: Download complete [2020-12-20T19:28:34.298Z] 8e17d04e0c68: Verifying Checksum [2020-12-20T19:28:34.298Z] 8e17d04e0c68: Download complete [2020-12-20T19:28:34.298Z] 801bfaa63ef2: Pull complete [2020-12-20T19:28:34.562Z] 4f7dc993c79e: Pull complete [2020-12-20T19:28:34.825Z] d39d95e4997f: Pull complete [2020-12-20T19:28:36.291Z] 1cda4b703d87: Verifying Checksum [2020-12-20T19:28:36.291Z] 1cda4b703d87: Download complete [2020-12-20T19:28:38.849Z] 1cda4b703d87: Pull complete [2020-12-20T19:28:39.113Z] 54e5375350ea: Pull complete [2020-12-20T19:28:39.113Z] f08cd1b3bb1b: Pull complete [2020-12-20T19:28:39.374Z] 8e17d04e0c68: Pull complete [2020-12-20T19:28:39.374Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-20T19:28:39.374Z] Status: Downloaded newer image for docker:latest [2020-12-20T19:28:40.771Z] ---> 3904f4d1ac9c [2020-12-20T19:28:40.771Z] Step 6/7 : COPY go.mod . [2020-12-20T19:28:41.037Z] ---> cca5dd4c2199 [2020-12-20T19:28:41.037Z] Step 7/7 : RUN go mod download [2020-12-20T19:28:41.037Z] ---> Running in 6e000830a0ce [2020-12-20T19:29:03.092Z] Removing intermediate container 6e000830a0ce [2020-12-20T19:29:03.092Z] ---> cdee09b6b4d2 [2020-12-20T19:29:03.092Z] Successfully built cdee09b6b4d2 [2020-12-20T19:29:03.092Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:29:03.417Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-20T19:29:03.417Z] . [Pipeline] withDockerContainer [2020-12-20T19:29:03.531Z] prd-centos7-docker-4c-2g-16923 does not seem to be running inside a container [2020-12-20T19:29:03.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-20T19:29:04.385Z] $ docker top 22ba3ee6420f03163db928fc19b4425a01385ed9b712da27ee3449643983e8c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-20T19:29:04.859Z] + go version [2020-12-20T19:29:04.859Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-20T19:29:04.877Z] $ docker stop --time=1 22ba3ee6420f03163db928fc19b4425a01385ed9b712da27ee3449643983e8c0 [2020-12-20T19:29:06.205Z] $ docker rm -f 22ba3ee6420f03163db928fc19b4425a01385ed9b712da27ee3449643983e8c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:29:07.045Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-20T19:29:07.045Z] . [Pipeline] withDockerContainer [2020-12-20T19:29:07.143Z] prd-centos7-docker-4c-2g-16923 does not seem to be running inside a container [2020-12-20T19:29:07.194Z] $ 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/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-20T19:29:07.782Z] $ docker top ed76e807752dac37f7d9515882693b3ff725ce32cd02dfd3c4da4229a32350de -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-20T19:29:07.956Z] ========================================================= [2020-12-20T19:29:07.956Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-20T19:29:07.956Z] ========================================================= [Pipeline] sh [2020-12-20T19:29:08.250Z] + make test [2020-12-20T19:29:08.250Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-20T19:29:16.463Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-20T19:29:31.532Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-20T19:29:36.910Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-20T19:29:36.910Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-20T19:29:36.910Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-20T19:29:36.910Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-20T19:29:37.187Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-20T19:29:37.455Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-20T19:29:37.729Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-20T19:29:38.321Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-20T19:29:38.916Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-20T19:29:41.485Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-20T19:29:41.486Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-20T19:29:41.486Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-20T19:29:42.909Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-20T19:29:42.909Z] internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 [2020-12-20T19:29:42.909Z] # 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-20T19:29:42.909Z] internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 [2020-12-20T19:29:42.909Z] internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 [2020-12-20T19:29:42.909Z] internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary [2020-12-20T19:29:42.909Z] internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary [2020-12-20T19:29:42.909Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.088s coverage: 46.6% of statements [2020-12-20T19:29:42.909Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-20T19:29:42.909Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-20T19:29:42.909Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-20T19:29:42.909Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-20T19:29:42.909Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-20T19:29:47.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.184s coverage: 27.0% of statements [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-20T19:29:47.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.039s coverage: 100.0% of statements [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-20T19:29:47.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.058s coverage: 100.0% of statements [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-20T19:29:47.169Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-20T19:29:47.169Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-20T19:29:47.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.329s coverage: 28.6% of statements [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-20T19:29:47.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.060s coverage: 100.0% of statements [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-20T19:29:47.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.035s coverage: 100.0% of statements [2020-12-20T19:29:47.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-20T19:29:47.440Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.096s coverage: 86.7% of statements [2020-12-20T19:29:47.440Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-20T19:29:48.054Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.141s coverage: 97.5% of statements [2020-12-20T19:29:48.054Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-20T19:29:48.322Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.062s coverage: 78.3% of statements [2020-12-20T19:29:48.322Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-20T19:29:48.322Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-20T19:29:48.322Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-20T19:29:48.322Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-20T19:29:49.314Z] --- FAIL: TestAddDeviceProfile_Created (0.01s) [2020-12-20T19:29:49.314Z] --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.01s) [2020-12-20T19:29:49.314Z] panic: [2020-12-20T19:29:49.314Z] [2020-12-20T19:29:49.314Z] mock: Unexpected Method Call [2020-12-20T19:29:49.314Z] ----------------------------- [2020-12-20T19:29:49.314Z] [2020-12-20T19:29:49.314Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:29:49.314Z] 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-20T19:29:49.314Z] [2020-12-20T19:29:49.314Z] The closest call I have is: [2020-12-20T19:29:49.314Z] [2020-12-20T19:29:49.314Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:29:49.315Z] 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-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] Difference found in argument 0: [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] --- Expected [2020-12-20T19:29:49.315Z] +++ Actual [2020-12-20T19:29:49.315Z] @@ -20,3 +20,3 @@ [2020-12-20T19:29:49.315Z] Properties: (models.PropertyValue) { [2020-12-20T19:29:49.315Z] - Type: (string) (len=5) "INT16", [2020-12-20T19:29:49.315Z] + Type: (string) (len=5) "Int16", [2020-12-20T19:29:49.315Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] 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-20T19:29:49.315Z] panic: [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] mock: Unexpected Method Call [2020-12-20T19:29:49.315Z] ----------------------------- [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:29:49.315Z] 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-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] The closest call I have is: [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:29:49.315Z] 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-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] Difference found in argument 0: [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] --- Expected [2020-12-20T19:29:49.315Z] +++ Actual [2020-12-20T19:29:49.315Z] @@ -20,3 +20,3 @@ [2020-12-20T19:29:49.315Z] Properties: (models.PropertyValue) { [2020-12-20T19:29:49.315Z] - Type: (string) (len=5) "INT16", [2020-12-20T19:29:49.315Z] + Type: (string) (len=5) "Int16", [2020-12-20T19:29:49.315Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] 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-20T19:29:49.315Z] [2020-12-20T19:29:49.315Z] goroutine 13 [running]: [2020-12-20T19:29:49.315Z] testing.tRunner.func1.1(0x8ae780, 0xc000524980) [2020-12-20T19:29:49.315Z] /usr/local/go/src/testing/testing.go:1072 +0x46a [2020-12-20T19:29:49.315Z] testing.tRunner.func1(0xc0004c5500) [2020-12-20T19:29:49.315Z] /usr/local/go/src/testing/testing.go:1075 +0x636 [2020-12-20T19:29:49.315Z] panic(0x8ae780, 0xc000524980) [2020-12-20T19:29:49.315Z] /usr/local/go/src/runtime/panic.go:975 +0x47a [2020-12-20T19:29:49.315Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc0004ae7d0, 0x93007b, 0x6f, 0xc00015a300, 0x4, 0x4) [2020-12-20T19:29:49.315Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:254 +0x21f [2020-12-20T19:29:49.315Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0004ae7d0, 0xb2d59f, 0x10, 0xc0004c1a90, 0x1, 0x1, 0xc0004cde00, 0x4, 0x4) [2020-12-20T19:29:49.315Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:384 +0x510 [2020-12-20T19:29:49.315Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc0004ae7d0, 0xc0004c1a90, 0x1, 0x1, 0xc0004e79c0, 0x20, 0x1) [2020-12-20T19:29:49.315Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:356 +0x1ee [2020-12-20T19:29:49.315Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0xc0004ae7d0, 0x0, 0x0, 0xc0004cbb20, 0xf, 0xc0004b6510, 0x24, 0xc0004ceb60, 0x15, 0xc0004cbb10, ...) [2020-12-20T19:29:49.315Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0x151 [2020-12-20T19:29:49.315Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0xc0004cbb20, 0xf, 0xc0004b6510, 0x24, 0xc0004ceb60, 0x15, 0xc0004cbb10, 0x10, ...) [2020-12-20T19:29:49.315Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/application/deviceprofile.go:31 +0x282 [2020-12-20T19:29:49.315Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0xc0004e6f20, 0x9a3180, 0xc0004cd240, 0xc00017ce00) [2020-12-20T19:29:49.315Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x565 [2020-12-20T19:29:49.315Z] net/http.HandlerFunc.ServeHTTP(...) [2020-12-20T19:29:49.315Z] /usr/local/go/src/net/http/server.go:2042 [2020-12-20T19:29:49.315Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0xc0004c5500) [2020-12-20T19:29:49.315Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x40e [2020-12-20T19:29:49.315Z] testing.tRunner(0xc0004c5500, 0xc0000120c0) [2020-12-20T19:29:49.315Z] /usr/local/go/src/testing/testing.go:1123 +0x203 [2020-12-20T19:29:49.315Z] created by testing.(*T).Run [2020-12-20T19:29:49.315Z] /usr/local/go/src/testing/testing.go:1168 +0x5bc [2020-12-20T19:29:49.315Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.157s [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-20T19:29:49.315Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.030s coverage: 58.8% of statements [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-20T19:29:49.315Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-20T19:29:49.591Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.063s coverage: 0.1% of statements [2020-12-20T19:29:49.591Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-20T19:29:49.591Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-20T19:29:49.591Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-20T19:29:49.591Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-20T19:29:49.591Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.036s coverage: 100.0% of statements [2020-12-20T19:29:49.591Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-20T19:29:49.591Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.048s coverage: 75.5% of statements [2020-12-20T19:29:49.591Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-20T19:29:50.196Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.057s coverage: 80.8% of statements [2020-12-20T19:29:50.460Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.099s coverage: 87.2% of statements [2020-12-20T19:29:50.733Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 84.2% of statements [2020-12-20T19:29:51.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.069s coverage: 91.4% of statements [2020-12-20T19:29:51.000Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-20T19:29:51.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.244s coverage: 63.5% of statements [2020-12-20T19:29:51.975Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-20T19:29:51.975Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-20T19:29:51.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.045s coverage: 100.0% of statements [2020-12-20T19:29:51.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.054s coverage: 91.3% of statements [2020-12-20T19:29:51.975Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements [2020-12-20T19:29:52.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements [2020-12-20T19:29:52.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements [2020-12-20T19:29:53.679Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.307s coverage: 55.9% of statements [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-20T19:29:53.679Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.089s coverage: 37.0% of statements [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-20T19:29:53.679Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-20T19:29:53.679Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.318s coverage: 84.0% of statements [2020-12-20T19:29:53.680Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.045s coverage: 100.0% of statements [2020-12-20T19:29:56.465Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.166s coverage: 47.1% of statements [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-20T19:29:56.465Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.057s coverage: 100.0% of statements [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-20T19:29:56.465Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.040s coverage: 100.0% of statements [2020-12-20T19:29:56.465Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-20T19:29:57.218Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.672s coverage: 29.1% of statements [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-20T19:29:57.218Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.102s coverage: 99.0% of statements [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-20T19:29:57.218Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.066s coverage: 100.0% of statements [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-20T19:29:57.218Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.025s coverage: 0.0% of statements [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-20T19:29:57.218Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.023s coverage: 100.0% of statements [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-20T19:29:57.218Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.038s coverage: 87.9% of statements [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-20T19:29:57.218Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-20T19:29:57.502Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements [2020-12-20T19:29:57.818Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements [2020-12-20T19:29:57.818Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements [2020-12-20T19:29:57.818Z] FAIL [2020-12-20T19:29:58.087Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2020-12-20T19:29:58.122Z] $ docker stop --time=1 ed76e807752dac37f7d9515882693b3ff725ce32cd02dfd3c4da4229a32350de [2020-12-20T19:30:01.756Z] $ docker rm -f ed76e807752dac37f7d9515882693b3ff725ce32cd02dfd3c4da4229a32350de [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-20T19:30:03.372Z] Failed in branch amd64 [2020-12-20T19:30:13.713Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16924 in /w/workspace/edgexfoundry_edgex-go_PR-2942 [Pipeline] { [Pipeline] ws [2020-12-20T19:30:13.763Z] Running in /w/workspace/edgex-go/16 [Pipeline] { [Pipeline] checkout [2020-12-20T19:30:18.418Z] using credential edgex-jenkins-ssh [2020-12-20T19:30:18.486Z] Cloning the remote Git repository [2020-12-20T19:30:18.555Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-20T19:30:18.662Z] > git init /w/workspace/edgex-go/16 # timeout=10 [2020-12-20T19:30:18.748Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-20T19:30:18.749Z] > git --version # timeout=10 [2020-12-20T19:30:18.769Z] > git --version # 'git version 2.17.1' [2020-12-20T19:30:18.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-20T19:30:18.826Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-20T19:30:34.389Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-20T19:30:34.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-20T19:30:34.436Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-20T19:30:34.469Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-20T19:30:34.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-20T19:30:34.482Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2942/head:refs/remotes/origin/PR-2942 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-20T19:30:36.357Z] Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 94409b77cbaffe5817031050d0977b3149b76377 [2020-12-20T19:30:36.766Z] Merge succeeded, producing 94409b77cbaffe5817031050d0977b3149b76377 [2020-12-20T19:30:36.767Z] Checking out Revision 94409b77cbaffe5817031050d0977b3149b76377 (PR-2942) [2020-12-20T19:30:36.385Z] > git config core.sparsecheckout # timeout=10 [2020-12-20T19:30:36.397Z] > git checkout -f 94409b77cbaffe5817031050d0977b3149b76377 # timeout=10 [2020-12-20T19:30:36.697Z] > git remote # timeout=10 [2020-12-20T19:30:36.714Z] > git config --get remote.origin.url # timeout=10 [2020-12-20T19:30:36.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-20T19:30:36.741Z] > git merge bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 [2020-12-20T19:30:36.763Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-20T19:30:36.782Z] > git config core.sparsecheckout # timeout=10 [2020-12-20T19:30:36.791Z] > git checkout -f 94409b77cbaffe5817031050d0977b3149b76377 # timeout=10 [2020-12-20T19:30:41.414Z] Commit message: "feat: Updated to latest bootstrap and other modules" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-20T19:30:43.203Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-20T19:30:43.599Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-20T19:30:43.932Z] + sudo service docker restart [2020-12-20T19:30:43.932Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-20T19:30:46.639Z] provisioning config files... [2020-12-20T19:30:46.697Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/16@tmp/config5431139764744129352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:30:47.115Z] ---> docker-login.sh [2020-12-20T19:30:47.115Z] nexus3.edgexfoundry.org:10001 [2020-12-20T19:30:47.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:30:48.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:30:48.310Z] Configure a credential helper to remove this warning. See [2020-12-20T19:30:48.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:30:48.310Z] [2020-12-20T19:30:48.310Z] Login Succeeded [2020-12-20T19:30:48.310Z] nexus3.edgexfoundry.org:10002 [2020-12-20T19:30:48.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:30:48.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:30:48.857Z] Configure a credential helper to remove this warning. See [2020-12-20T19:30:48.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:30:48.857Z] [2020-12-20T19:30:48.857Z] Login Succeeded [2020-12-20T19:30:48.857Z] nexus3.edgexfoundry.org:10003 [2020-12-20T19:30:49.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:30:49.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:30:49.403Z] Configure a credential helper to remove this warning. See [2020-12-20T19:30:49.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:30:49.403Z] [2020-12-20T19:30:49.403Z] Login Succeeded [2020-12-20T19:30:49.403Z] nexus3.edgexfoundry.org:10004 [2020-12-20T19:30:49.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:30:49.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:30:49.949Z] Configure a credential helper to remove this warning. See [2020-12-20T19:30:49.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:30:49.949Z] [2020-12-20T19:30:49.949Z] Login Succeeded [2020-12-20T19:30:49.949Z] docker.io [2020-12-20T19:30:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T19:30:50.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T19:30:50.495Z] Configure a credential helper to remove this warning. See [2020-12-20T19:30:50.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T19:30:50.495Z] [2020-12-20T19:30:50.495Z] Login Succeeded [2020-12-20T19:30:50.495Z] ---> docker-login.sh ends [Pipeline] } [2020-12-20T19:30:50.514Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-20T19:30:50.976Z] ========================================================= [2020-12-20T19:30:50.977Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-20T19:30:50.977Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:30:51.358Z] + 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-20T19:30:53.997Z] Sending build context to Docker daemon 170.4MB [2020-12-20T19:30:53.997Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-20T19:30:53.997Z] Step 2/7 : FROM ${BASE} [2020-12-20T19:30:53.997Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-20T19:30:53.997Z] 5f621e34cdf4: Pulling fs layer [2020-12-20T19:30:53.997Z] a4357932f1b6: Pulling fs layer [2020-12-20T19:30:53.997Z] 18c013af1878: Pulling fs layer [2020-12-20T19:30:53.997Z] 00ac8860ef70: Pulling fs layer [2020-12-20T19:30:53.997Z] 63d7cb157983: Pulling fs layer [2020-12-20T19:30:53.997Z] b116817d02f9: Pulling fs layer [2020-12-20T19:30:53.997Z] 745a02a5169b: Pulling fs layer [2020-12-20T19:30:53.997Z] 00ac8860ef70: Waiting [2020-12-20T19:30:53.997Z] 63d7cb157983: Waiting [2020-12-20T19:30:53.997Z] b116817d02f9: Waiting [2020-12-20T19:30:53.997Z] 745a02a5169b: Waiting [2020-12-20T19:30:53.997Z] 18c013af1878: Verifying Checksum [2020-12-20T19:30:53.997Z] 18c013af1878: Download complete [2020-12-20T19:30:53.997Z] a4357932f1b6: Verifying Checksum [2020-12-20T19:30:53.997Z] a4357932f1b6: Download complete [2020-12-20T19:30:53.997Z] 63d7cb157983: Download complete [2020-12-20T19:30:53.997Z] b116817d02f9: Verifying Checksum [2020-12-20T19:30:53.997Z] b116817d02f9: Download complete [2020-12-20T19:30:53.997Z] 5f621e34cdf4: Verifying Checksum [2020-12-20T19:30:53.997Z] 5f621e34cdf4: Download complete [2020-12-20T19:30:54.604Z] 5f621e34cdf4: Pull complete [2020-12-20T19:30:54.881Z] a4357932f1b6: Pull complete [2020-12-20T19:30:55.478Z] 18c013af1878: Pull complete [2020-12-20T19:30:55.750Z] 745a02a5169b: Verifying Checksum [2020-12-20T19:30:55.750Z] 745a02a5169b: Download complete [2020-12-20T19:30:57.175Z] 00ac8860ef70: Verifying Checksum [2020-12-20T19:30:57.175Z] 00ac8860ef70: Download complete [2020-12-20T19:31:07.345Z] 00ac8860ef70: Pull complete [2020-12-20T19:31:07.345Z] 63d7cb157983: Pull complete [2020-12-20T19:31:07.618Z] b116817d02f9: Pull complete [2020-12-20T19:31:11.936Z] 745a02a5169b: Pull complete [2020-12-20T19:31:11.936Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-20T19:31:11.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-20T19:31:11.936Z] ---> b7e6874047d6 [2020-12-20T19:31:11.936Z] 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-20T19:31:14.571Z] ---> Running in 0937e53f70f4 [2020-12-20T19:31:16.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-20T19:31:16.602Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-20T19:31:17.585Z] (1/12) Installing libmagic (5.38-r0) [2020-12-20T19:31:17.585Z] (2/12) Installing file (5.38-r0) [2020-12-20T19:31:17.856Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-20T19:31:17.856Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-20T19:31:20.463Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-20T19:31:20.463Z] (6/12) Installing patch (2.7.6-r6) [2020-12-20T19:31:20.463Z] (7/12) Installing build-base (0.5-r2) [2020-12-20T19:31:20.732Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-20T19:31:20.732Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-20T19:31:20.732Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-20T19:31:21.003Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-20T19:31:21.003Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-20T19:31:21.003Z] Executing busybox-1.31.1-r19.trigger [2020-12-20T19:31:21.277Z] OK: 217 MiB in 51 packages [2020-12-20T19:31:25.574Z] Removing intermediate container 0937e53f70f4 [2020-12-20T19:31:25.574Z] ---> 035cfba2f083 [2020-12-20T19:31:25.574Z] Step 4/7 : WORKDIR /edgex-go [2020-12-20T19:31:25.574Z] ---> Running in 3f32d142e5c3 [2020-12-20T19:31:25.574Z] Removing intermediate container 3f32d142e5c3 [2020-12-20T19:31:25.574Z] ---> 16335deadb59 [2020-12-20T19:31:25.574Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-20T19:31:26.167Z] latest: Pulling from library/docker [2020-12-20T19:31:26.438Z] 159e5727ea61: Pulling fs layer [2020-12-20T19:31:26.439Z] 687389c36290: Pulling fs layer [2020-12-20T19:31:26.439Z] 94e28978939c: Pulling fs layer [2020-12-20T19:31:26.439Z] ea42096754a7: Pulling fs layer [2020-12-20T19:31:26.439Z] bd61cee6920e: Pulling fs layer [2020-12-20T19:31:26.439Z] 87c4ece4675c: Pulling fs layer [2020-12-20T19:31:26.439Z] ea42096754a7: Waiting [2020-12-20T19:31:26.439Z] bd61cee6920e: Waiting [2020-12-20T19:31:26.439Z] 90ca8b2ff088: Pulling fs layer [2020-12-20T19:31:26.439Z] 87c4ece4675c: Waiting [2020-12-20T19:31:26.439Z] 90ca8b2ff088: Waiting [2020-12-20T19:31:26.714Z] 94e28978939c: Verifying Checksum [2020-12-20T19:31:26.714Z] 94e28978939c: Download complete [2020-12-20T19:31:26.714Z] 687389c36290: Verifying Checksum [2020-12-20T19:31:26.714Z] 687389c36290: Download complete [2020-12-20T19:31:26.714Z] 159e5727ea61: Verifying Checksum [2020-12-20T19:31:26.714Z] 159e5727ea61: Download complete [2020-12-20T19:31:26.714Z] bd61cee6920e: Verifying Checksum [2020-12-20T19:31:26.714Z] bd61cee6920e: Download complete [2020-12-20T19:31:26.714Z] 87c4ece4675c: Verifying Checksum [2020-12-20T19:31:26.714Z] 87c4ece4675c: Download complete [2020-12-20T19:31:27.001Z] 90ca8b2ff088: Verifying Checksum [2020-12-20T19:31:27.001Z] 90ca8b2ff088: Download complete [2020-12-20T19:31:27.277Z] 159e5727ea61: Pull complete [2020-12-20T19:31:28.263Z] 687389c36290: Pull complete [2020-12-20T19:31:28.538Z] ea42096754a7: Verifying Checksum [2020-12-20T19:31:28.538Z] ea42096754a7: Download complete [2020-12-20T19:31:28.538Z] 94e28978939c: Pull complete [2020-12-20T19:31:32.857Z] ea42096754a7: Pull complete [2020-12-20T19:31:32.857Z] bd61cee6920e: Pull complete [2020-12-20T19:31:32.857Z] 87c4ece4675c: Pull complete [2020-12-20T19:31:33.451Z] 90ca8b2ff088: Pull complete [2020-12-20T19:31:33.451Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-20T19:31:33.451Z] Status: Downloaded newer image for docker:latest [2020-12-20T19:31:36.837Z] ---> bef3314bf1fe [2020-12-20T19:31:36.837Z] Step 6/7 : COPY go.mod . [2020-12-20T19:31:37.432Z] ---> fc7f60f61632 [2020-12-20T19:31:37.432Z] Step 7/7 : RUN go mod download [2020-12-20T19:31:37.708Z] ---> Running in 31ecba7eec37 [2020-12-20T19:32:04.511Z] Removing intermediate container 31ecba7eec37 [2020-12-20T19:32:04.512Z] ---> 714194c91144 [2020-12-20T19:32:04.512Z] Successfully built 714194c91144 [2020-12-20T19:32:04.512Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:32:04.850Z] + docker inspect -f . ci-base-image-arm64 [2020-12-20T19:32:04.850Z] . [Pipeline] withDockerContainer [2020-12-20T19:32:05.117Z] prd-ubuntu18.04-docker-arm64-4c-16g-16924 does not seem to be running inside a container [2020-12-20T19:32:05.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-20T19:32:06.745Z] $ docker top 1f3b1c14c31a930307ccf490de6d8d6484a8fba0358334dc2df7551b4ae2eb13 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-20T19:32:07.778Z] + go version [2020-12-20T19:32:07.778Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-20T19:32:07.804Z] $ docker stop --time=1 1f3b1c14c31a930307ccf490de6d8d6484a8fba0358334dc2df7551b4ae2eb13 [2020-12-20T19:32:09.763Z] $ docker rm -f 1f3b1c14c31a930307ccf490de6d8d6484a8fba0358334dc2df7551b4ae2eb13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:32:10.773Z] + docker inspect -f . ci-base-image-arm64 [2020-12-20T19:32:10.773Z] . [Pipeline] withDockerContainer [2020-12-20T19:32:10.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-16924 does not seem to be running inside a container [2020-12-20T19:32:11.078Z] $ 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/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-20T19:32:12.383Z] $ docker top 86cfb214256e7ce942f41cbad4ff06f9ece9c7e51444b55ecd10642320769752 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-20T19:32:12.736Z] ========================================================= [2020-12-20T19:32:12.736Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-20T19:32:12.736Z] ========================================================= [Pipeline] sh [2020-12-20T19:32:13.379Z] + make test [2020-12-20T19:32:13.379Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-20T19:32:35.538Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-20T19:33:14.889Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-20T19:33:37.100Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-20T19:33:39.099Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-20T19:33:39.099Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-20T19:33:39.099Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-20T19:33:44.520Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-20T19:33:44.520Z] internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 [2020-12-20T19:33:44.520Z] # 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-20T19:33:44.520Z] internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 [2020-12-20T19:33:44.520Z] internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 [2020-12-20T19:33:44.520Z] internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary [2020-12-20T19:33:44.520Z] internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary [2020-12-20T19:33:45.505Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.225s coverage: 46.6% of statements [2020-12-20T19:33:45.505Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-20T19:33:45.505Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-20T19:33:45.505Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-20T19:33:45.505Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-20T19:33:45.505Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-20T19:33:52.230Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.500s coverage: 27.0% of statements [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-20T19:33:52.230Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.091s coverage: 100.0% of statements [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-20T19:33:52.230Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.070s coverage: 100.0% of statements [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-20T19:33:52.230Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-20T19:33:52.230Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-20T19:33:52.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-20T19:33:57.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.114s coverage: 28.6% of statements [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-20T19:33:57.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.144s coverage: 100.0% of statements [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-20T19:33:57.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.079s coverage: 100.0% of statements [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-20T19:33:57.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.335s coverage: 86.7% of statements [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-20T19:33:57.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.416s coverage: 97.5% of statements [2020-12-20T19:33:57.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-20T19:33:58.642Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.226s coverage: 78.3% of statements [2020-12-20T19:33:58.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-20T19:33:58.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-20T19:33:58.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-20T19:33:58.642Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-20T19:34:04.085Z] --- FAIL: TestAddDeviceProfile_Created (0.02s) [2020-12-20T19:34:04.085Z] --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.02s) [2020-12-20T19:34:04.085Z] panic: [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] mock: Unexpected Method Call [2020-12-20T19:34:04.085Z] ----------------------------- [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:34:04.085Z] 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-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] The closest call I have is: [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:34:04.085Z] 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-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] Difference found in argument 0: [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] --- Expected [2020-12-20T19:34:04.085Z] +++ Actual [2020-12-20T19:34:04.085Z] @@ -20,3 +20,3 @@ [2020-12-20T19:34:04.085Z] Properties: (models.PropertyValue) { [2020-12-20T19:34:04.085Z] - Type: (string) (len=5) "INT16", [2020-12-20T19:34:04.085Z] + Type: (string) (len=5) "Int16", [2020-12-20T19:34:04.085Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] 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-20T19:34:04.085Z] panic: [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] mock: Unexpected Method Call [2020-12-20T19:34:04.085Z] ----------------------------- [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:34:04.085Z] 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-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] The closest call I have is: [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T19:34:04.085Z] 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-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] Difference found in argument 0: [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.085Z] --- Expected [2020-12-20T19:34:04.085Z] +++ Actual [2020-12-20T19:34:04.085Z] @@ -20,3 +20,3 @@ [2020-12-20T19:34:04.085Z] Properties: (models.PropertyValue) { [2020-12-20T19:34:04.085Z] - Type: (string) (len=5) "INT16", [2020-12-20T19:34:04.085Z] + Type: (string) (len=5) "Int16", [2020-12-20T19:34:04.085Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T19:34:04.085Z] [2020-12-20T19:34:04.086Z] 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-20T19:34:04.086Z] [2020-12-20T19:34:04.086Z] goroutine 99 [running]: [2020-12-20T19:34:04.086Z] testing.tRunner.func1.1(0x3e9e20, 0x4000187380) [2020-12-20T19:34:04.086Z] /usr/local/go/src/testing/testing.go:1072 +0x320 [2020-12-20T19:34:04.086Z] testing.tRunner.func1(0x40002ff380) [2020-12-20T19:34:04.086Z] /usr/local/go/src/testing/testing.go:1075 +0x460 [2020-12-20T19:34:04.086Z] panic(0x3e9e20, 0x4000187380) [2020-12-20T19:34:04.086Z] /usr/local/go/src/runtime/panic.go:975 +0x420 [2020-12-20T19:34:04.086Z] github.com/stretchr/testify/mock.(*Mock).fail(0x40002f2910, 0x46c283, 0x6f, 0x4000061a40, 0x4, 0x4) [2020-12-20T19:34:04.086Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:254 +0x180 [2020-12-20T19:34:04.086Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x40002f2910, 0x66ac6f, 0x10, 0x4000186580, 0x1, 0x1, 0x4000061700, 0x4, 0x4) [2020-12-20T19:34:04.086Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:384 +0x394 [2020-12-20T19:34:04.086Z] github.com/stretchr/testify/mock.(*Mock).Called(0x40002f2910, 0x4000186580, 0x1, 0x1, 0x4000171000, 0x2e8e00, 0x4000061600) [2020-12-20T19:34:04.086Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:356 +0x15c [2020-12-20T19:34:04.086Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0x40002f2910, 0x0, 0x0, 0x40001935e0, 0xf, 0x4000018630, 0x24, 0x400001b420, 0x15, 0x40001935d0, ...) [2020-12-20T19:34:04.086Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0xec [2020-12-20T19:34:04.086Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0x40001935e0, 0xf, 0x4000018630, 0x24, 0x400001b420, 0x15, 0x40001935d0, 0x10, ...) [2020-12-20T19:34:04.086Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/application/deviceprofile.go:31 +0x1ec [2020-12-20T19:34:04.086Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0x40002e3220, 0x4e0840, 0x4000060b80, 0x400007c300) [2020-12-20T19:34:04.086Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x3e8 [2020-12-20T19:34:04.086Z] net/http.HandlerFunc.ServeHTTP(...) [2020-12-20T19:34:04.086Z] /usr/local/go/src/net/http/server.go:2042 [2020-12-20T19:34:04.086Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0x40002ff380) [2020-12-20T19:34:04.086Z] /w/workspace/edgex-go/16/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x334 [2020-12-20T19:34:04.086Z] testing.tRunner(0x40002ff380, 0x40002f5dd0) [2020-12-20T19:34:04.086Z] /usr/local/go/src/testing/testing.go:1123 +0x174 [2020-12-20T19:34:04.086Z] created by testing.(*T).Run [2020-12-20T19:34:04.086Z] /usr/local/go/src/testing/testing.go:1168 +0x43c [2020-12-20T19:34:04.086Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.553s [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-20T19:34:04.086Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-20T19:34:04.086Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.181s coverage: 0.1% of statements [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-20T19:34:04.086Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.065s coverage: 100.0% of statements [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-20T19:34:04.086Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.108s coverage: 75.5% of statements [2020-12-20T19:34:04.086Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-20T19:34:05.543Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.083s coverage: 80.8% of statements [2020-12-20T19:34:05.543Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.156s coverage: 87.2% of statements [2020-12-20T19:34:06.992Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.144s coverage: 84.2% of statements [2020-12-20T19:34:07.591Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.174s coverage: 91.4% of statements [2020-12-20T19:34:07.591Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-20T19:34:10.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.653s coverage: 63.5% of statements [2020-12-20T19:34:10.993Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-20T19:34:10.993Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-20T19:34:10.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.085s coverage: 100.0% of statements [2020-12-20T19:34:10.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.123s coverage: 91.3% of statements [2020-12-20T19:34:10.993Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements [2020-12-20T19:34:11.268Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements [2020-12-20T19:34:12.250Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.064s coverage: 100.0% of statements [2020-12-20T19:34:17.670Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.942s coverage: 55.9% of statements [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-20T19:34:17.670Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.392s coverage: 37.0% of statements [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-20T19:34:17.670Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-20T19:34:17.670Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.670s coverage: 84.0% of statements [2020-12-20T19:34:17.670Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.091s coverage: 100.0% of statements [2020-12-20T19:34:25.959Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.349s coverage: 47.1% of statements [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-20T19:34:25.959Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.108s coverage: 100.0% of statements [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-20T19:34:25.959Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.119s coverage: 100.0% of statements [2020-12-20T19:34:25.959Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-20T19:34:28.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.882s coverage: 29.1% of statements [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-20T19:34:28.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.184s coverage: 99.0% of statements [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-20T19:34:28.584Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.080s coverage: 100.0% of statements [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-20T19:34:28.584Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.047s coverage: 0.0% of statements [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-20T19:34:28.584Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.062s coverage: 100.0% of statements [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-20T19:34:28.584Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.107s coverage: 87.9% of statements [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-20T19:34:28.584Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-20T19:34:30.052Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.069s coverage: 100.0% of statements [2020-12-20T19:34:30.324Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.057s coverage: 32.1% of statements [2020-12-20T19:34:30.596Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2020-12-20T19:34:30.596Z] FAIL [2020-12-20T19:34:31.571Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2020-12-20T19:34:31.599Z] $ docker stop --time=1 86cfb214256e7ce942f41cbad4ff06f9ece9c7e51444b55ecd10642320769752 [2020-12-20T19:34:33.727Z] $ docker rm -f 86cfb214256e7ce942f41cbad4ff06f9ece9c7e51444b55ecd10642320769752 [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-20T19:34:35.781Z] 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-20T19:34:38.066Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:34:38.945Z] ---> package-listing.sh [2020-12-20T19:34:38.945Z] ++ facter osfamily [2020-12-20T19:34:38.945Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-20T19:34:38.945Z] + OS_FAMILY=redhat [2020-12-20T19:34:38.945Z] + workspace=/w/workspace/edgex-go/16 [2020-12-20T19:34:38.945Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-20T19:34:38.945Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-20T19:34:38.945Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-20T19:34:38.945Z] + PACKAGES=/tmp/packages_start.txt [2020-12-20T19:34:38.945Z] + '[' /w/workspace/edgex-go/16 ']' [2020-12-20T19:34:38.945Z] + PACKAGES=/tmp/packages_end.txt [2020-12-20T19:34:38.945Z] + case "${OS_FAMILY}" in [2020-12-20T19:34:38.945Z] + rpm -qa [2020-12-20T19:34:38.945Z] + sort [2020-12-20T19:34:44.244Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-20T19:34:44.244Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-20T19:34:44.244Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-20T19:34:44.244Z] + '[' /w/workspace/edgex-go/16 ']' [2020-12-20T19:34:44.244Z] + mkdir -p /w/workspace/edgex-go/16/archives/ [2020-12-20T19:34:44.244Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/16/archives/ [Pipeline] echo [2020-12-20T19:34:44.256Z] 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/16/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-20T19:34:44.544Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:34:44.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-20T19:34:44.853Z] [2020-12-20T19:34:44.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-20T19:34:45.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-20T19:34:45.209Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-20T19:34:45.209Z] df20fa9351a1: Pulling fs layer [2020-12-20T19:34:45.209Z] 36b3adc4ff6f: Pulling fs layer [2020-12-20T19:34:45.209Z] 8ad3a11d3b57: Pulling fs layer [2020-12-20T19:34:45.209Z] 46f8f816bc3b: Pulling fs layer [2020-12-20T19:34:45.209Z] 93b61091891f: Pulling fs layer [2020-12-20T19:34:45.209Z] 93b9cdb0e59b: Pulling fs layer [2020-12-20T19:34:45.209Z] 5e14af77c1be: Pulling fs layer [2020-12-20T19:34:45.209Z] 01666e4c0597: Pulling fs layer [2020-12-20T19:34:45.209Z] aa168da1d23b: Pulling fs layer [2020-12-20T19:34:45.209Z] 93b9cdb0e59b: Waiting [2020-12-20T19:34:45.209Z] 5e14af77c1be: Waiting [2020-12-20T19:34:45.209Z] 01666e4c0597: Waiting [2020-12-20T19:34:45.209Z] aa168da1d23b: Waiting [2020-12-20T19:34:45.209Z] 46f8f816bc3b: Waiting [2020-12-20T19:34:45.209Z] 93b61091891f: Waiting [2020-12-20T19:34:45.209Z] 36b3adc4ff6f: Verifying Checksum [2020-12-20T19:34:45.209Z] 36b3adc4ff6f: Download complete [2020-12-20T19:34:45.470Z] 46f8f816bc3b: Verifying Checksum [2020-12-20T19:34:45.470Z] 46f8f816bc3b: Download complete [2020-12-20T19:34:45.470Z] df20fa9351a1: Verifying Checksum [2020-12-20T19:34:45.470Z] df20fa9351a1: Download complete [2020-12-20T19:34:45.470Z] 93b9cdb0e59b: Verifying Checksum [2020-12-20T19:34:45.470Z] 93b9cdb0e59b: Download complete [2020-12-20T19:34:45.470Z] 5e14af77c1be: Verifying Checksum [2020-12-20T19:34:45.470Z] 5e14af77c1be: Download complete [2020-12-20T19:34:45.470Z] 93b61091891f: Verifying Checksum [2020-12-20T19:34:45.470Z] 93b61091891f: Download complete [2020-12-20T19:34:45.470Z] 01666e4c0597: Verifying Checksum [2020-12-20T19:34:45.470Z] 01666e4c0597: Download complete [2020-12-20T19:34:45.733Z] df20fa9351a1: Pull complete [2020-12-20T19:34:45.994Z] 36b3adc4ff6f: Pull complete [2020-12-20T19:34:46.256Z] 8ad3a11d3b57: Verifying Checksum [2020-12-20T19:34:46.256Z] 8ad3a11d3b57: Download complete [2020-12-20T19:34:47.215Z] 8ad3a11d3b57: Pull complete [2020-12-20T19:34:47.215Z] 46f8f816bc3b: Pull complete [2020-12-20T19:34:48.168Z] aa168da1d23b: Verifying Checksum [2020-12-20T19:34:48.168Z] aa168da1d23b: Download complete [2020-12-20T19:34:48.168Z] 93b61091891f: Pull complete [2020-12-20T19:34:48.430Z] 93b9cdb0e59b: Pull complete [2020-12-20T19:34:48.431Z] 5e14af77c1be: Pull complete [2020-12-20T19:34:48.694Z] 01666e4c0597: Pull complete [2020-12-20T19:34:55.327Z] aa168da1d23b: Pull complete [2020-12-20T19:34:55.327Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-20T19:34:55.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-20T19:34:55.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-20T19:34:55.509Z] prd-centos7-docker-4c-2g-16923 does not seem to be running inside a container [2020-12-20T19:34:55.557Z] $ 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/16/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/16 -v /w/workspace/edgex-go/16:/w/workspace/edgex-go/16:rw,z -v /w/workspace/edgex-go/16@tmp:/w/workspace/edgex-go/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-20T19:35:01.984Z] $ docker top a7f40ccbf00e8b5d82cc4088b812be60c1f74bdccd68aef9b32e81f7fd8283fc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-20T19:35:02.533Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-20T19:35:02.832Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-20T19:35:03.137Z] + ls /var/log/sa-host [2020-12-20T19:35:03.137Z] + sadf -c /var/log/sa-host/sa20 [2020-12-20T19:35:03.137Z] file_magic: OK [2020-12-20T19:35:03.137Z] HZ: Using current value: 100 [2020-12-20T19:35:03.137Z] file_header: OK [2020-12-20T19:35:03.137Z] 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-20T19:35:03.137Z] Statistics: [2020-12-20T19:35:03.137Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-20T19:35:03.137Z] File successfully converted to sysstat format version 12.2.1 [2020-12-20T19:35:03.137Z] + sadf -c /var/log/sa-host/sa23 [2020-12-20T19:35:03.137Z] file_magic: OK [2020-12-20T19:35:03.137Z] HZ: Using current value: 100 [2020-12-20T19:35:03.137Z] file_header: OK [2020-12-20T19:35:03.137Z] 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-20T19:35:03.137Z] Statistics: [2020-12-20T19:35:03.137Z] Hnuu...uuuununununu... [2020-12-20T19:35:03.137Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-20T19:35:03.747Z] provisioning config files... [2020-12-20T19:35:03.762Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/16@tmp/config4211069811854993696tmp [Pipeline] { [Pipeline] echo [2020-12-20T19:35:03.846Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:35:04.143Z] ---> create-netrc.sh [Pipeline] } [2020-12-20T19:35:04.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-20T19:35:04.274Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:35:04.579Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-20T19:35:04.590Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:35:04.893Z] ---> sudo-logs.sh [2020-12-20T19:35:04.893Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-20T19:35:04.905Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:35:05.204Z] ---> job-cost.sh [2020-12-20T19:35:05.204Z] lf-activate-venv: SKIPPING [2020-12-20T19:35:05.204Z] INFO: No Stack... [2020-12-20T19:35:06.150Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-20T19:35:06.412Z] INFO: Archiving Costs [Pipeline] echo [2020-12-20T19:35:06.426Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T19:35:06.724Z] ---> logs-deploy.sh [2020-12-20T19:35:06.724Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2942/16 [2020-12-20T19:35:06.724Z] INFO: archiving workspace using pattern(s): [2020-12-20T19:35:08.113Z] Archives upload complete. [2020-12-20T19:35:08.376Z] INFO: archiving logs to Nexus [2020-12-20T19:35:09.322Z] ---> uname -a: [2020-12-20T19:35:09.322Z] Linux prd-centos7-docker-4c-2g-16923.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-20T19:35:09.322Z] [2020-12-20T19:35:09.322Z] [2020-12-20T19:35:09.322Z] ---> lscpu: [2020-12-20T19:35:09.322Z] Architecture: x86_64 [2020-12-20T19:35:09.322Z] CPU op-mode(s): 32-bit, 64-bit [2020-12-20T19:35:09.322Z] Byte Order: Little Endian [2020-12-20T19:35:09.322Z] Address sizes: 40 bits physical, 48 bits virtual [2020-12-20T19:35:09.322Z] CPU(s): 4 [2020-12-20T19:35:09.322Z] On-line CPU(s) list: 0-3 [2020-12-20T19:35:09.322Z] Thread(s) per core: 1 [2020-12-20T19:35:09.322Z] Core(s) per socket: 1 [2020-12-20T19:35:09.322Z] Socket(s): 4 [2020-12-20T19:35:09.322Z] NUMA node(s): 1 [2020-12-20T19:35:09.322Z] Vendor ID: GenuineIntel [2020-12-20T19:35:09.322Z] CPU family: 6 [2020-12-20T19:35:09.322Z] Model: 44 [2020-12-20T19:35:09.322Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-12-20T19:35:09.322Z] Stepping: 1 [2020-12-20T19:35:09.322Z] CPU MHz: 2933.436 [2020-12-20T19:35:09.322Z] BogoMIPS: 5866.87 [2020-12-20T19:35:09.322Z] Virtualization: VT-x [2020-12-20T19:35:09.322Z] Hypervisor vendor: KVM [2020-12-20T19:35:09.322Z] Virtualization type: full [2020-12-20T19:35:09.323Z] L1d cache: 128 KiB [2020-12-20T19:35:09.323Z] L1i cache: 128 KiB [2020-12-20T19:35:09.323Z] L2 cache: 16 MiB [2020-12-20T19:35:09.323Z] L3 cache: 64 MiB [2020-12-20T19:35:09.323Z] NUMA node0 CPU(s): 0-3 [2020-12-20T19:35:09.323Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-12-20T19:35:09.323Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-12-20T19:35:09.323Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-12-20T19:35:09.323Z] Vulnerability Meltdown: Mitigation; PTI [2020-12-20T19:35:09.323Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-12-20T19:35:09.323Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-12-20T19:35:09.323Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-12-20T19:35:09.323Z] Vulnerability Srbds: Not affected [2020-12-20T19:35:09.323Z] Vulnerability Tsx async abort: Not affected [2020-12-20T19:35:09.323Z] 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-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] ---> nproc: [2020-12-20T19:35:09.323Z] 4 [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] ---> df -h: [2020-12-20T19:35:09.323Z] Filesystem Size Used Available Use% Mounted on [2020-12-20T19:35:09.323Z] overlay 50.0G 8.5G 41.5G 17% / [2020-12-20T19:35:09.323Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-12-20T19:35:09.323Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-12-20T19:35:09.323Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /facter-os [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /etc/resolv.conf [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hostname [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hosts [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/sa-host [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/secure [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/auth.log [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /run/cloud-init/result.json [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/edgex-go/16 [2020-12-20T19:35:09.323Z] /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/edgex-go/16@tmp [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] ---> free -m: [2020-12-20T19:35:09.323Z] total used free shared buff/cache available [2020-12-20T19:35:09.323Z] Mem: 1837 772 132 0 932 972 [2020-12-20T19:35:09.323Z] Swap: 1023 3 1020 [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] ---> ip addr: [2020-12-20T19:35:09.323Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-12-20T19:35:09.323Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-12-20T19:35:09.323Z] inet 127.0.0.1/8 scope host lo [2020-12-20T19:35:09.323Z] valid_lft forever preferred_lft forever [2020-12-20T19:35:09.323Z] inet6 ::1/128 scope host [2020-12-20T19:35:09.323Z] valid_lft forever preferred_lft forever [2020-12-20T19:35:09.323Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2020-12-20T19:35:09.323Z] link/ether fa:16:3e:d1:c4:66 brd ff:ff:ff:ff:ff:ff [2020-12-20T19:35:09.323Z] inet 10.30.123.160/23 brd 10.30.123.255 scope global dynamic eth0 [2020-12-20T19:35:09.323Z] valid_lft 85893sec preferred_lft 85893sec [2020-12-20T19:35:09.323Z] inet6 fe80::f816:3eff:fed1:c466/64 scope link [2020-12-20T19:35:09.323Z] valid_lft forever preferred_lft forever [2020-12-20T19:35:09.323Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2020-12-20T19:35:09.323Z] link/ether 02:42:bb:ee:52:0d brd ff:ff:ff:ff:ff:ff [2020-12-20T19:35:09.323Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2020-12-20T19:35:09.323Z] valid_lft forever preferred_lft forever [2020-12-20T19:35:09.323Z] inet6 fe80::42:bbff:feee:520d/64 scope link [2020-12-20T19:35:09.323Z] valid_lft forever preferred_lft forever [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] ---> sar -b -r -n DEV: [2020-12-20T19:35:09.323Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/20/20 _x86_64_ (4 CPU) [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] 19:26:30 LINUX RESTART (4 CPU) [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] 19:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2020-12-20T19:35:09.323Z] 19:28:01 113.55 46.65 66.91 0.00 8219.48 19860.28 0.00 [2020-12-20T19:35:09.323Z] 19:29:01 295.86 84.93 210.93 0.00 4676.38 65041.12 0.00 [2020-12-20T19:35:09.323Z] 19:30:02 227.87 124.64 103.23 0.00 5678.92 11475.68 0.00 [2020-12-20T19:35:09.323Z] 19:31:01 4.61 0.02 4.59 0.00 0.54 169.44 0.00 [2020-12-20T19:35:09.323Z] 19:32:01 0.38 0.05 0.33 0.00 4.80 5.11 0.00 [2020-12-20T19:35:09.323Z] 19:33:01 0.22 0.00 0.22 0.00 0.00 2.71 0.00 [2020-12-20T19:35:09.323Z] 19:34:01 1.38 1.08 0.30 0.00 128.14 3.51 0.00 [2020-12-20T19:35:09.323Z] 19:35:01 133.95 61.77 72.19 0.00 6114.51 18698.07 0.00 [2020-12-20T19:35:09.323Z] Average: 97.47 39.99 57.47 0.00 3110.21 14443.90 0.00 [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] 19:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-12-20T19:35:09.323Z] 19:28:01 370308 0 596956 31.73 2620 911660 1112932 37.98 445064 865340 132 [2020-12-20T19:35:09.323Z] 19:29:01 345276 0 686720 36.50 1184 848364 1115584 38.07 460148 789780 16 [2020-12-20T19:35:09.323Z] 19:30:02 483880 0 749468 39.83 548 647648 1364036 46.55 541384 577992 8 [2020-12-20T19:35:09.323Z] 19:31:01 546488 0 709696 37.72 548 624812 1167528 39.85 520108 547472 8 [2020-12-20T19:35:09.323Z] 19:32:01 560444 0 695620 36.97 548 624932 1086996 37.10 515084 543104 16 [2020-12-20T19:35:09.323Z] 19:33:01 560280 0 695780 36.98 548 624936 1087068 37.10 513652 545032 8 [2020-12-20T19:35:09.323Z] 19:34:01 557076 0 695132 36.94 548 628788 1086996 37.10 513420 548712 16 [2020-12-20T19:35:09.323Z] 19:35:01 181156 0 763996 40.60 412 935980 1288604 43.98 548988 848868 8 [2020-12-20T19:35:09.323Z] Average: 450614 0 699171 37.16 870 730890 1163718 39.72 507231 658288 26 [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] 19:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2020-12-20T19:35:09.323Z] 19:28:01 eth0 1894.61 2037.57 6427.88 249.02 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:28:01 docker0 1120.43 810.07 83.08 2674.05 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:29:01 eth0 721.56 560.80 4950.10 53.96 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:29:01 docker0 144.93 189.40 10.82 836.37 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:30:02 eth0 62.62 45.88 38.95 89.23 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:30:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:31:01 eth0 3.40 1.86 2.83 0.58 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:32:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:33:01 eth0 0.27 0.18 0.14 0.07 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:34:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:35:01 eth0 204.68 173.45 2169.98 18.11 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] 19:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] Average: eth0 361.72 353.26 1702.73 51.49 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] Average: docker0 158.50 125.21 11.76 439.78 0.00 0.00 0.00 0.00 [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] ---> sar -P ALL: [2020-12-20T19:35:09.323Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/20/20 _x86_64_ (4 CPU) [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] 19:26:30 LINUX RESTART (4 CPU) [2020-12-20T19:35:09.323Z] [2020-12-20T19:35:09.323Z] 19:27:01 CPU %user %nice %system %iowait %steal %idle [2020-12-20T19:35:09.323Z] 19:28:01 all 21.09 0.00 7.39 1.73 0.08 69.72 [2020-12-20T19:35:09.323Z] 19:28:01 0 18.10 0.00 11.00 0.60 0.10 70.19 [2020-12-20T19:35:09.323Z] 19:28:01 1 20.82 0.00 7.77 1.81 0.07 69.53 [2020-12-20T19:35:09.323Z] 19:28:01 2 24.59 0.00 5.22 4.03 0.10 66.06 [2020-12-20T19:35:09.323Z] 19:28:01 3 20.80 0.00 5.60 0.46 0.05 73.08 [2020-12-20T19:35:09.323Z] 19:29:01 all 13.04 0.00 10.32 4.86 0.16 71.62 [2020-12-20T19:35:09.323Z] 19:29:01 0 13.60 0.00 10.79 6.07 0.16 69.38 [2020-12-20T19:35:09.323Z] 19:29:01 1 14.02 0.00 10.64 3.96 0.17 71.21 [2020-12-20T19:35:09.323Z] 19:29:01 2 11.72 0.00 9.89 6.50 0.19 71.70 [2020-12-20T19:35:09.323Z] 19:29:01 3 12.81 0.00 9.98 2.92 0.12 74.18 [2020-12-20T19:35:09.323Z] 19:30:02 all 50.72 0.00 12.77 6.33 0.09 30.09 [2020-12-20T19:35:09.323Z] 19:30:02 0 52.48 0.00 12.56 8.31 0.05 26.59 [2020-12-20T19:35:09.323Z] 19:30:02 1 50.09 0.00 12.45 5.23 0.09 32.14 [2020-12-20T19:35:09.323Z] 19:30:02 2 50.28 0.00 12.98 4.42 0.09 32.24 [2020-12-20T19:35:09.323Z] 19:30:02 3 50.02 0.00 13.10 7.33 0.14 29.41 [2020-12-20T19:35:09.323Z] 19:31:01 all 0.10 0.00 0.08 0.00 0.00 99.81 [2020-12-20T19:35:09.323Z] 19:31:01 0 0.03 0.00 0.03 0.00 0.00 99.93 [2020-12-20T19:35:09.323Z] 19:31:01 1 0.22 0.00 0.15 0.00 0.02 99.61 [2020-12-20T19:35:09.323Z] 19:31:01 2 0.08 0.00 0.08 0.02 0.00 99.81 [2020-12-20T19:35:09.323Z] 19:31:01 3 0.05 0.00 0.07 0.00 0.00 99.88 [2020-12-20T19:35:09.323Z] 19:32:01 all 0.17 0.00 0.06 0.00 0.01 99.76 [2020-12-20T19:35:09.323Z] 19:32:01 0 0.02 0.00 0.03 0.00 0.00 99.95 [2020-12-20T19:35:09.323Z] 19:32:01 1 0.37 0.00 0.07 0.00 0.00 99.57 [2020-12-20T19:35:09.323Z] 19:32:01 2 0.25 0.00 0.05 0.00 0.02 99.68 [2020-12-20T19:35:09.323Z] 19:32:01 3 0.05 0.00 0.08 0.00 0.02 99.85 [2020-12-20T19:35:09.323Z] 19:33:01 all 0.16 0.00 0.03 0.00 0.00 99.81 [2020-12-20T19:35:09.323Z] 19:33:01 0 0.03 0.00 0.05 0.00 0.02 99.90 [2020-12-20T19:35:09.323Z] 19:33:01 1 0.05 0.00 0.02 0.00 0.00 99.93 [2020-12-20T19:35:09.323Z] 19:33:01 2 0.53 0.00 0.02 0.00 0.00 99.45 [2020-12-20T19:35:09.323Z] 19:33:01 3 0.02 0.00 0.03 0.00 0.00 99.95 [2020-12-20T19:35:09.323Z] 19:34:01 all 0.16 0.00 0.03 0.00 0.00 99.80 [2020-12-20T19:35:09.323Z] 19:34:01 0 0.03 0.00 0.03 0.00 0.00 99.93 [2020-12-20T19:35:09.323Z] 19:34:01 1 0.05 0.00 0.03 0.02 0.00 99.90 [2020-12-20T19:35:09.323Z] 19:34:01 2 0.52 0.00 0.05 0.00 0.00 99.43 [2020-12-20T19:35:09.323Z] 19:34:01 3 0.03 0.00 0.02 0.00 0.00 99.95 [2020-12-20T19:35:09.323Z] 19:35:01 all 5.35 0.00 3.86 2.14 0.05 88.60 [2020-12-20T19:35:09.323Z] 19:35:01 0 5.17 0.00 3.82 1.72 0.05 89.24 [2020-12-20T19:35:09.323Z] 19:35:01 1 5.19 0.00 3.69 1.11 0.03 89.97 [2020-12-20T19:35:09.323Z] 19:35:01 2 5.33 0.00 3.79 1.52 0.03 89.33 [2020-12-20T19:35:09.324Z] 19:35:01 3 5.70 0.00 4.15 4.23 0.08 85.83 [2020-12-20T19:35:09.324Z] Average: all 11.17 0.00 4.26 1.86 0.05 82.66 [2020-12-20T19:35:09.324Z] Average: 0 11.04 0.00 4.72 2.06 0.05 82.13 [2020-12-20T19:35:09.324Z] Average: 1 11.18 0.00 4.30 1.50 0.05 82.98 [2020-12-20T19:35:09.324Z] Average: 2 11.49 0.00 3.95 2.03 0.05 82.47 [2020-12-20T19:35:09.324Z] Average: 3 10.98 0.00 4.06 1.84 0.05 83.07 [2020-12-20T19:35:09.324Z] [2020-12-20T19:35:09.324Z] [2020-12-20T19:35:09.324Z]