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 9460977cdab3fe296620ee7dd94755f27dc09d3a+bbb161aa59ef099937232867751a09afbb087fa9 (5437fbeba4e5932369b639e9c024a94df29a9f20) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16912 in /w/workspace/edgexfoundry_edgex-go_PR-2942 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/14 [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/14 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2942/head:refs/remotes/origin/PR-2942 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 9460977cdab3fe296620ee7dd94755f27dc09d3a Merge succeeded, producing 9460977cdab3fe296620ee7dd94755f27dc09d3a Checking out Revision 9460977cdab3fe296620ee7dd94755f27dc09d3a (PR-2942) > git config core.sparsecheckout # timeout=10 > git checkout -f 9460977cdab3fe296620ee7dd94755f27dc09d3a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9460977cdab3fe296620ee7dd94755f27dc09d3a # 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] { [Pipeline] timeout [2020-12-20T18:05:57.543Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-20T18:05:57.834Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-20T18:05:57.932Z] ========================================================= [2020-12-20T18:05:57.932Z] EdgeX Global Pipelines Version Info [2020-12-20T18:05:57.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a1147e7fe11453334d3ee59105c266a62b43b767 # timeout=10 [2020-12-20T18:06:00.507Z] ------------------- [2020-12-20T18:06:00.507Z] stable info: [2020-12-20T18:06:00.507Z] ------------------- [2020-12-20T18:06:00.507Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-20T18:06:00.507Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-20T18:06:00.507Z] Message: update stable to v1.0.173 [2020-12-20T18:06:01.510Z] ------------------- [2020-12-20T18:06:01.510Z] experimental info: [2020-12-20T18:06:01.510Z] ------------------- [2020-12-20T18:06:01.510Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-20T18:06:01.510Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-20T18:06:01.510Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-20T18:06:01.842Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2020-12-20T18:06:01.951Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2020-12-20T18:06:02.066Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-20T18:06:02.154Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-20T18:06:02.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-20T18:06:02.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-20T18:06:02.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-20T18:06:02.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2020-12-20T18:06:02.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2020-12-20T18:06:02.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2020-12-20T18:06:02.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-20T18:06:02.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-20T18:06:03.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-20T18:06:03.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-20T18:06:03.268Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-20T18:06:03.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-20T18:06:03.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-20T18:06:03.676Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-20T18:06:03.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-20T18:06:03.853Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-20T18:06:03.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-20T18:06:04.020Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-20T18:06:04.103Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-20T18:06:04.187Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2942 [Pipeline] echo [2020-12-20T18:06:04.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2942 [Pipeline] echo [2020-12-20T18:06:04.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2942 [Pipeline] echo [2020-12-20T18:06:04.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9460977cdab3fe296620ee7dd94755f27dc09d3a [Pipeline] echo [2020-12-20T18:06:04.526Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9460977 [Pipeline] echo [2020-12-20T18:06:04.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-20T18:06:04.779Z] provisioning config files... [2020-12-20T18:06:04.810Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/14@tmp/config803715991740313204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:06:05.185Z] ---> docker-login.sh [2020-12-20T18:06:05.185Z] nexus3.edgexfoundry.org:10001 [2020-12-20T18:06:05.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:06:06.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:06:06.043Z] Configure a credential helper to remove this warning. See [2020-12-20T18:06:06.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:06:06.043Z] [2020-12-20T18:06:06.043Z] Login Succeeded [2020-12-20T18:06:06.043Z] nexus3.edgexfoundry.org:10002 [2020-12-20T18:06:06.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:06:06.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:06:06.315Z] Configure a credential helper to remove this warning. See [2020-12-20T18:06:06.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:06:06.315Z] [2020-12-20T18:06:06.315Z] Login Succeeded [2020-12-20T18:06:06.315Z] nexus3.edgexfoundry.org:10003 [2020-12-20T18:06:06.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:06:06.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:06:06.583Z] Configure a credential helper to remove this warning. See [2020-12-20T18:06:06.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:06:06.583Z] [2020-12-20T18:06:06.583Z] Login Succeeded [2020-12-20T18:06:06.583Z] nexus3.edgexfoundry.org:10004 [2020-12-20T18:06:06.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:06:06.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:06:06.862Z] Configure a credential helper to remove this warning. See [2020-12-20T18:06:06.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:06:06.862Z] [2020-12-20T18:06:06.862Z] Login Succeeded [2020-12-20T18:06:06.862Z] docker.io [2020-12-20T18:06:07.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:06:07.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:06:07.417Z] Configure a credential helper to remove this warning. See [2020-12-20T18:06:07.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:06:07.417Z] [2020-12-20T18:06:07.417Z] Login Succeeded [2020-12-20T18:06:07.417Z] ---> docker-login.sh ends [Pipeline] } [2020-12-20T18:06:07.440Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-20T18:06:07.908Z] ++ 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-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/core-command/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo core-command,cmd/core-command/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/core-data/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo core-data,cmd/core-data/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/core-metadata/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/security-bootstrap-redis/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/support-notifications/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/support-scheduler/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2020-12-20T18:06:07.908Z] + for file in '`ls cmd/**/Dockerfile`' [2020-12-20T18:06:07.908Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2020-12-20T18:06:07.908Z] ++ cut -d/ -f2 [2020-12-20T18:06:07.908Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2020-12-20T18:06:08.027Z] 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-20T18:06:08.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-20T18:06:08.909Z] [2020-12-20T18:06:08.909Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:06:09.319Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-20T18:06:09.319Z] latest: Pulling from edgex-devops/git-semver [2020-12-20T18:06:09.319Z] 31603596830f: Pulling fs layer [2020-12-20T18:06:09.319Z] 2a8b12db71e7: Pulling fs layer [2020-12-20T18:06:09.319Z] 6ca5941a6612: Pulling fs layer [2020-12-20T18:06:09.319Z] ecc8261a40a4: Pulling fs layer [2020-12-20T18:06:09.319Z] ecc8261a40a4: Waiting [2020-12-20T18:06:09.319Z] 2a8b12db71e7: Verifying Checksum [2020-12-20T18:06:09.319Z] 2a8b12db71e7: Download complete [2020-12-20T18:06:09.594Z] 31603596830f: Verifying Checksum [2020-12-20T18:06:09.594Z] 31603596830f: Download complete [2020-12-20T18:06:09.895Z] ecc8261a40a4: Verifying Checksum [2020-12-20T18:06:09.895Z] ecc8261a40a4: Download complete [2020-12-20T18:06:09.895Z] 6ca5941a6612: Verifying Checksum [2020-12-20T18:06:09.895Z] 6ca5941a6612: Download complete [2020-12-20T18:06:10.189Z] 31603596830f: Pull complete [2020-12-20T18:06:10.469Z] 2a8b12db71e7: Pull complete [2020-12-20T18:06:11.943Z] 6ca5941a6612: Pull complete [2020-12-20T18:06:12.547Z] ecc8261a40a4: Pull complete [2020-12-20T18:06:12.547Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-20T18:06:12.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-20T18:06:12.547Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-20T18:06:12.774Z] prd-centos7-docker-4c-2g-16912 does not seem to be running inside a container [2020-12-20T18:06:12.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-20T18:06:15.796Z] $ docker top 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-20T18:06:16.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-20T18:06:16.267Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-20T18:06:16.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-20T18:06:16.822Z] $ docker exec 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 ssh-agent [2020-12-20T18:06:17.199Z] SSH_AUTH_SOCK=/tmp/ssh-6Db5RGoqQp8B/agent.11 [2020-12-20T18:06:17.199Z] SSH_AGENT_PID=16 [2020-12-20T18:06:17.221Z] Running ssh-add (command line suppressed) [2020-12-20T18:06:17.470Z] Identity added: /w/workspace/edgex-go/14@tmp/private_key_3326512645427565668.key (/w/workspace/edgex-go/14@tmp/private_key_3326512645427565668.key) [2020-12-20T18:06:17.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-20T18:06:18.308Z] + git tag --points-at HEAD [Pipeline] } [2020-12-20T18:06:18.379Z] $ docker exec --env ******** --env ******** 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 ssh-agent -k [2020-12-20T18:06:18.957Z] unset SSH_AUTH_SOCK; [2020-12-20T18:06:18.957Z] unset SSH_AGENT_PID; [2020-12-20T18:06:18.957Z] echo Agent pid 16 killed; [2020-12-20T18:06:19.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-20T18:06:19.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-20T18:06:19.510Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-20T18:06:20.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-20T18:06:20.080Z] $ docker exec 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 ssh-agent [2020-12-20T18:06:20.460Z] SSH_AUTH_SOCK=/tmp/ssh-BhMHx54uQiMP/agent.45 [2020-12-20T18:06:20.460Z] SSH_AGENT_PID=51 [2020-12-20T18:06:20.474Z] Running ssh-add (command line suppressed) [2020-12-20T18:06:20.688Z] Identity added: /w/workspace/edgex-go/14@tmp/private_key_7643610880237031777.key (/w/workspace/edgex-go/14@tmp/private_key_7643610880237031777.key) [2020-12-20T18:06:20.795Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-20T18:06:21.281Z] + git semver init [2020-12-20T18:06:21.281Z] # -> Open(): unable to determine branch for HEAD [2020-12-20T18:06:21.281Z] # $GIT_DIR = /w/workspace/edgex-go/14/.git [2020-12-20T18:06:21.281Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/14 [2020-12-20T18:06:21.281Z] # $SEMVER_REMOTE_NAME = origin [2020-12-20T18:06:21.281Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-20T18:06:21.281Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-20T18:06:21.281Z] # $SEMVER_BRANCH = PR-2942 [2020-12-20T18:06:21.281Z] # $SEMVER_TEMP = /tmp/semver-329676188 [2020-12-20T18:06:21.281Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2020-12-20T18:06:54.277Z] # '/tmp/semver-329676188' -> '/w/workspace/edgex-go/14/.semver' [2020-12-20T18:06:54.277Z] # -> Force: false [2020-12-20T18:06:54.277Z] # $SEMVER_DIR = /w/workspace/edgex-go/14/.semver [Pipeline] } [2020-12-20T18:06:54.301Z] $ docker exec --env ******** --env ******** 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 ssh-agent -k [2020-12-20T18:06:54.769Z] unset SSH_AUTH_SOCK; [2020-12-20T18:06:54.770Z] unset SSH_AGENT_PID; [2020-12-20T18:06:54.770Z] echo Agent pid 51 killed; [2020-12-20T18:06:54.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-20T18:06:55.505Z] + git semver [Pipeline] } [2020-12-20T18:06:55.820Z] $ docker stop --time=1 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 [2020-12-20T18:06:57.954Z] $ docker rm -f 85a1aaed7fede0cf89dde204773c60e48b0bd64ea99506b5f36520a4950bae74 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-20T18:06:58.632Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-20T18:06:59.789Z] Stashed 1 file(s) [Pipeline] echo [2020-12-20T18:06:59.793Z] [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-20T18:07:00.739Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-20T18:07:01.107Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-20T18:07:01.486Z] + true [2020-12-20T18:07:01.487Z] + sudo service docker restart [2020-12-20T18:07:01.487Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2020-12-20T18:07:02.963Z] ========================================================= [2020-12-20T18:07:02.963Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-20T18:07:02.963Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:07:03.340Z] + 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-20T18:07:08.778Z] Sending build context to Docker daemon 331.2MB [2020-12-20T18:07:08.778Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-20T18:07:08.778Z] Step 2/7 : FROM ${BASE} [2020-12-20T18:07:09.062Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-20T18:07:09.062Z] 188c0c94c7c5: Pulling fs layer [2020-12-20T18:07:09.062Z] 0ef7d3d256c8: Pulling fs layer [2020-12-20T18:07:09.062Z] de9db76c5a1d: Pulling fs layer [2020-12-20T18:07:09.062Z] bca2f99d35d6: Pulling fs layer [2020-12-20T18:07:09.062Z] 93359f2a8cfa: Pulling fs layer [2020-12-20T18:07:09.062Z] 7c6f9722023f: Pulling fs layer [2020-12-20T18:07:09.062Z] a35cf1a2eb13: Pulling fs layer [2020-12-20T18:07:09.062Z] 93359f2a8cfa: Waiting [2020-12-20T18:07:09.062Z] 7c6f9722023f: Waiting [2020-12-20T18:07:09.062Z] a35cf1a2eb13: Waiting [2020-12-20T18:07:09.062Z] bca2f99d35d6: Waiting [2020-12-20T18:07:09.062Z] de9db76c5a1d: Verifying Checksum [2020-12-20T18:07:09.062Z] de9db76c5a1d: Download complete [2020-12-20T18:07:09.062Z] 0ef7d3d256c8: Verifying Checksum [2020-12-20T18:07:09.062Z] 0ef7d3d256c8: Download complete [2020-12-20T18:07:09.062Z] 93359f2a8cfa: Verifying Checksum [2020-12-20T18:07:09.062Z] 93359f2a8cfa: Download complete [2020-12-20T18:07:09.668Z] 7c6f9722023f: Verifying Checksum [2020-12-20T18:07:09.668Z] 7c6f9722023f: Download complete [2020-12-20T18:07:09.939Z] 188c0c94c7c5: Verifying Checksum [2020-12-20T18:07:09.939Z] 188c0c94c7c5: Download complete [2020-12-20T18:07:10.255Z] 188c0c94c7c5: Pull complete [2020-12-20T18:07:10.870Z] 0ef7d3d256c8: Pull complete [2020-12-20T18:07:11.183Z] de9db76c5a1d: Pull complete [2020-12-20T18:07:13.354Z] a35cf1a2eb13: Verifying Checksum [2020-12-20T18:07:13.354Z] a35cf1a2eb13: Download complete [2020-12-20T18:07:14.973Z] bca2f99d35d6: Verifying Checksum [2020-12-20T18:07:14.973Z] bca2f99d35d6: Download complete [2020-12-20T18:07:15.162Z] Still waiting to schedule task [2020-12-20T18:07:15.162Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16910’ is offline [2020-12-20T18:07:25.467Z] bca2f99d35d6: Pull complete [2020-12-20T18:07:25.467Z] 93359f2a8cfa: Pull complete [2020-12-20T18:07:25.767Z] 7c6f9722023f: Pull complete [2020-12-20T18:07:31.224Z] a35cf1a2eb13: Pull complete [2020-12-20T18:07:31.224Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-20T18:07:31.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-20T18:07:31.224Z] ---> a62c8e92a672 [2020-12-20T18:07:31.224Z] 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-20T18:07:31.500Z] ---> Running in f2aa5e23f7da [2020-12-20T18:07:32.943Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-20T18:07:33.536Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-20T18:07:34.126Z] (1/12) Installing libmagic (5.38-r0) [2020-12-20T18:07:34.393Z] (2/12) Installing file (5.38-r0) [2020-12-20T18:07:34.393Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-20T18:07:34.393Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-20T18:07:39.792Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-20T18:07:39.792Z] (6/12) Installing patch (2.7.6-r6) [2020-12-20T18:07:39.792Z] (7/12) Installing build-base (0.5-r2) [2020-12-20T18:07:39.792Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-20T18:07:39.792Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-20T18:07:40.060Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-20T18:07:40.060Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-20T18:07:40.060Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-20T18:07:40.329Z] Executing busybox-1.31.1-r19.trigger [2020-12-20T18:07:40.329Z] OK: 233 MiB in 51 packages [2020-12-20T18:07:44.728Z] Removing intermediate container f2aa5e23f7da [2020-12-20T18:07:44.728Z] ---> 827ae8f4ebfe [2020-12-20T18:07:44.728Z] Step 4/7 : WORKDIR /edgex-go [2020-12-20T18:07:44.728Z] ---> Running in 3bbd124e684a [2020-12-20T18:07:44.999Z] Removing intermediate container 3bbd124e684a [2020-12-20T18:07:44.999Z] ---> 218ff19b6b41 [2020-12-20T18:07:44.999Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-20T18:07:45.593Z] latest: Pulling from library/docker [2020-12-20T18:07:45.906Z] 801bfaa63ef2: Pulling fs layer [2020-12-20T18:07:45.906Z] 4f7dc993c79e: Pulling fs layer [2020-12-20T18:07:45.906Z] d39d95e4997f: Pulling fs layer [2020-12-20T18:07:45.906Z] 1cda4b703d87: Pulling fs layer [2020-12-20T18:07:45.906Z] 54e5375350ea: Pulling fs layer [2020-12-20T18:07:45.906Z] f08cd1b3bb1b: Pulling fs layer [2020-12-20T18:07:45.906Z] 8e17d04e0c68: Pulling fs layer [2020-12-20T18:07:45.906Z] 54e5375350ea: Waiting [2020-12-20T18:07:45.906Z] f08cd1b3bb1b: Waiting [2020-12-20T18:07:45.906Z] 8e17d04e0c68: Waiting [2020-12-20T18:07:45.906Z] 1cda4b703d87: Waiting [2020-12-20T18:07:45.906Z] d39d95e4997f: Download complete [2020-12-20T18:07:45.906Z] 4f7dc993c79e: Verifying Checksum [2020-12-20T18:07:45.906Z] 4f7dc993c79e: Download complete [2020-12-20T18:07:45.906Z] 801bfaa63ef2: Download complete [2020-12-20T18:07:46.201Z] f08cd1b3bb1b: Download complete [2020-12-20T18:07:46.201Z] 54e5375350ea: Verifying Checksum [2020-12-20T18:07:46.201Z] 54e5375350ea: Download complete [2020-12-20T18:07:46.507Z] 8e17d04e0c68: Download complete [2020-12-20T18:07:46.507Z] 801bfaa63ef2: Pull complete [2020-12-20T18:07:47.229Z] 4f7dc993c79e: Pull complete [2020-12-20T18:07:47.508Z] d39d95e4997f: Pull complete [2020-12-20T18:07:48.189Z] 1cda4b703d87: Verifying Checksum [2020-12-20T18:07:48.189Z] 1cda4b703d87: Download complete [2020-12-20T18:07:55.045Z] 1cda4b703d87: Pull complete [2020-12-20T18:07:55.045Z] 54e5375350ea: Pull complete [2020-12-20T18:07:55.045Z] f08cd1b3bb1b: Pull complete [2020-12-20T18:07:55.045Z] 8e17d04e0c68: Pull complete [2020-12-20T18:07:55.045Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-20T18:07:55.045Z] Status: Downloaded newer image for docker:latest [2020-12-20T18:07:57.773Z] ---> b9df6c110167 [2020-12-20T18:07:57.773Z] Step 6/7 : COPY go.mod . [2020-12-20T18:07:58.386Z] ---> d84599d8c5d3 [2020-12-20T18:07:58.386Z] Step 7/7 : RUN go mod download [2020-12-20T18:07:58.386Z] ---> Running in 18174cb4f555 [2020-12-20T18:08:25.543Z] Removing intermediate container 18174cb4f555 [2020-12-20T18:08:25.543Z] ---> 60a54dac51fc [2020-12-20T18:08:25.543Z] Successfully built 60a54dac51fc [2020-12-20T18:08:25.543Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:08:25.894Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-20T18:08:26.227Z] . [Pipeline] withDockerContainer [2020-12-20T18:08:26.442Z] prd-centos7-docker-4c-2g-16912 does not seem to be running inside a container [2020-12-20T18:08:26.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-20T18:08:27.911Z] $ docker top 92afeb087f574b6754f9e4af3c582d0cee4b03bdf9101848c7269c74d46c3070 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-20T18:08:29.308Z] + go version [2020-12-20T18:08:29.308Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-20T18:08:29.430Z] $ docker stop --time=1 92afeb087f574b6754f9e4af3c582d0cee4b03bdf9101848c7269c74d46c3070 [2020-12-20T18:08:31.041Z] $ docker rm -f 92afeb087f574b6754f9e4af3c582d0cee4b03bdf9101848c7269c74d46c3070 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:08:32.067Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-20T18:08:32.067Z] . [Pipeline] withDockerContainer [2020-12-20T18:08:32.461Z] prd-centos7-docker-4c-2g-16912 does not seem to be running inside a container [2020-12-20T18:08:32.599Z] $ 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/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-20T18:08:35.649Z] $ docker top 5bd5fded706c991eb8eb1faae56b4af93dc3a011245f307034eaf5723bbf8093 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-20T18:08:36.324Z] ========================================================= [2020-12-20T18:08:36.324Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-20T18:08:36.324Z] ========================================================= [Pipeline] sh [2020-12-20T18:08:37.703Z] + make test [2020-12-20T18:08:37.703Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-20T18:08:56.597Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-20T18:09:06.476Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16913 in /w/workspace/edgexfoundry_edgex-go_PR-2942 [Pipeline] { [Pipeline] ws [2020-12-20T18:09:06.563Z] Running in /w/workspace/edgex-go/14 [Pipeline] { [Pipeline] checkout [2020-12-20T18:09:11.916Z] using credential edgex-jenkins-ssh [2020-12-20T18:09:11.991Z] Cloning the remote Git repository [2020-12-20T18:09:12.081Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2020-12-20T18:09:12.201Z] > git init /w/workspace/edgex-go/14 # timeout=10 [2020-12-20T18:09:12.268Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-20T18:09:12.269Z] > git --version # timeout=10 [2020-12-20T18:09:12.286Z] > git --version # 'git version 2.17.1' [2020-12-20T18:09:12.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-20T18:09:12.371Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-20T18:09:24.313Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-20T18:09:26.985Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-20T18:09:27.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-20T18:09:27.033Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2020-12-20T18:09:27.073Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2020-12-20T18:09:27.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-20T18:09:27.086Z] > 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-20T18:09:28.981Z] Merging remotes/origin/master commit bbb161aa59ef099937232867751a09afbb087fa9 into PR head commit 9460977cdab3fe296620ee7dd94755f27dc09d3a [2020-12-20T18:09:29.531Z] Merge succeeded, producing 9460977cdab3fe296620ee7dd94755f27dc09d3a [2020-12-20T18:09:29.532Z] Checking out Revision 9460977cdab3fe296620ee7dd94755f27dc09d3a (PR-2942) [2020-12-20T18:09:29.006Z] > git config core.sparsecheckout # timeout=10 [2020-12-20T18:09:29.024Z] > git checkout -f 9460977cdab3fe296620ee7dd94755f27dc09d3a # timeout=10 [2020-12-20T18:09:29.330Z] > git remote # timeout=10 [2020-12-20T18:09:29.355Z] > git config --get remote.origin.url # timeout=10 [2020-12-20T18:09:29.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-20T18:09:29.402Z] > git merge bbb161aa59ef099937232867751a09afbb087fa9 # timeout=10 [2020-12-20T18:09:29.476Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-20T18:09:29.541Z] > git config core.sparsecheckout # timeout=10 [2020-12-20T18:09:29.558Z] > git checkout -f 9460977cdab3fe296620ee7dd94755f27dc09d3a # timeout=10 [2020-12-20T18:09:33.040Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-20T18:09:34.004Z] 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-20T18:09:35.148Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-20T18:09:35.148Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-20T18:09:35.148Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-20T18:09:35.457Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-20T18:09:35.684Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-20T18:09:36.108Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-20T18:09:36.228Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-20T18:09:36.444Z] + sudo service docker restart [2020-12-20T18:09:36.444Z] + true [2020-12-20T18:09:36.933Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-20T18:09:37.953Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-20T18:09:38.492Z] provisioning config files... [2020-12-20T18:09:38.533Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/14@tmp/config2662405145886245081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:09:38.940Z] ---> docker-login.sh [2020-12-20T18:09:38.940Z] nexus3.edgexfoundry.org:10001 [2020-12-20T18:09:39.041Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-20T18:09:39.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:09:40.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:09:40.136Z] Configure a credential helper to remove this warning. See [2020-12-20T18:09:40.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:09:40.136Z] [2020-12-20T18:09:40.136Z] Login Succeeded [2020-12-20T18:09:40.136Z] nexus3.edgexfoundry.org:10002 [2020-12-20T18:09:40.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:09:40.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:09:40.683Z] Configure a credential helper to remove this warning. See [2020-12-20T18:09:40.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:09:40.683Z] [2020-12-20T18:09:40.683Z] Login Succeeded [2020-12-20T18:09:40.683Z] nexus3.edgexfoundry.org:10003 [2020-12-20T18:09:40.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:09:40.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:09:40.957Z] Configure a credential helper to remove this warning. See [2020-12-20T18:09:40.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:09:40.957Z] [2020-12-20T18:09:40.957Z] Login Succeeded [2020-12-20T18:09:40.957Z] nexus3.edgexfoundry.org:10004 [2020-12-20T18:09:41.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:09:41.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:09:41.556Z] Configure a credential helper to remove this warning. See [2020-12-20T18:09:41.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:09:41.556Z] [2020-12-20T18:09:41.556Z] Login Succeeded [2020-12-20T18:09:41.556Z] docker.io [2020-12-20T18:09:42.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-20T18:09:42.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-20T18:09:42.424Z] Configure a credential helper to remove this warning. See [2020-12-20T18:09:42.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-20T18:09:42.424Z] [2020-12-20T18:09:42.424Z] Login Succeeded [2020-12-20T18:09:42.424Z] ---> docker-login.sh ends [Pipeline] } [2020-12-20T18:09:42.442Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-20T18:09:42.953Z] ========================================================= [2020-12-20T18:09:42.953Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-20T18:09:42.953Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:09:43.330Z] + 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-20T18:09:43.614Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-20T18:09:43.614Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-20T18:09:43.614Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-20T18:09:46.024Z] Sending build context to Docker daemon 170.3MB [2020-12-20T18:09:46.024Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-20T18:09:46.024Z] Step 2/7 : FROM ${BASE} [2020-12-20T18:09:46.024Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-20T18:09:46.024Z] 5f621e34cdf4: Pulling fs layer [2020-12-20T18:09:46.024Z] a4357932f1b6: Pulling fs layer [2020-12-20T18:09:46.024Z] 18c013af1878: Pulling fs layer [2020-12-20T18:09:46.024Z] 00ac8860ef70: Pulling fs layer [2020-12-20T18:09:46.024Z] 63d7cb157983: Pulling fs layer [2020-12-20T18:09:46.024Z] b116817d02f9: Pulling fs layer [2020-12-20T18:09:46.024Z] 745a02a5169b: Pulling fs layer [2020-12-20T18:09:46.024Z] 00ac8860ef70: Waiting [2020-12-20T18:09:46.024Z] 63d7cb157983: Waiting [2020-12-20T18:09:46.024Z] b116817d02f9: Waiting [2020-12-20T18:09:46.024Z] 745a02a5169b: Waiting [2020-12-20T18:09:46.024Z] 18c013af1878: Verifying Checksum [2020-12-20T18:09:46.024Z] 18c013af1878: Download complete [2020-12-20T18:09:46.024Z] a4357932f1b6: Download complete [2020-12-20T18:09:46.024Z] 63d7cb157983: Download complete [2020-12-20T18:09:46.024Z] b116817d02f9: Verifying Checksum [2020-12-20T18:09:46.024Z] b116817d02f9: Download complete [2020-12-20T18:09:46.024Z] 5f621e34cdf4: Download complete [2020-12-20T18:09:46.622Z] 5f621e34cdf4: Pull complete [2020-12-20T18:09:47.225Z] a4357932f1b6: Pull complete [2020-12-20T18:09:47.496Z] 18c013af1878: Pull complete [2020-12-20T18:09:48.067Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.326s coverage: 46.6% of statements [2020-12-20T18:09:48.067Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-20T18:09:48.067Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-20T18:09:48.067Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-20T18:09:48.067Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-20T18:09:48.067Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-20T18:09:48.067Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-20T18:09:48.067Z] internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 [2020-12-20T18:09:48.714Z] # 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-20T18:09:48.714Z] internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 [2020-12-20T18:09:48.714Z] internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 [2020-12-20T18:09:48.714Z] internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary [2020-12-20T18:09:48.714Z] internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary [2020-12-20T18:09:49.467Z] 745a02a5169b: Verifying Checksum [2020-12-20T18:09:49.467Z] 745a02a5169b: Download complete [2020-12-20T18:09:49.739Z] 00ac8860ef70: Verifying Checksum [2020-12-20T18:09:49.739Z] 00ac8860ef70: Download complete [2020-12-20T18:09:53.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.487s coverage: 27.0% of statements [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-20T18:09:53.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.081s coverage: 100.0% of statements [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-20T18:09:53.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.168s coverage: 100.0% of statements [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-20T18:09:53.112Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-20T18:09:53.112Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-20T18:09:53.112Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-20T18:09:54.710Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.711s coverage: 28.6% of statements [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-20T18:09:54.710Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.091s coverage: 100.0% of statements [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-20T18:09:54.710Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.113s coverage: 100.0% of statements [2020-12-20T18:09:54.710Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-20T18:09:55.030Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.221s coverage: 86.7% of statements [2020-12-20T18:09:55.030Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-20T18:09:55.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.373s coverage: 97.5% of statements [2020-12-20T18:09:55.717Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-20T18:09:56.402Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.102s coverage: 78.3% of statements [2020-12-20T18:09:56.402Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-20T18:09:56.402Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-20T18:09:56.402Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-20T18:09:56.402Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-20T18:09:59.894Z] 00ac8860ef70: Pull complete [2020-12-20T18:09:59.894Z] 63d7cb157983: Pull complete [2020-12-20T18:10:00.168Z] b116817d02f9: Pull complete [2020-12-20T18:10:01.243Z] --- FAIL: TestAddDeviceProfile_Created (0.04s) [2020-12-20T18:10:01.243Z] --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.04s) [2020-12-20T18:10:01.243Z] panic: [2020-12-20T18:10:01.243Z] [2020-12-20T18:10:01.243Z] mock: Unexpected Method Call [2020-12-20T18:10:01.243Z] ----------------------------- [2020-12-20T18:10:01.243Z] [2020-12-20T18:10:01.243Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:10:01.243Z] 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-20T18:10:01.243Z] [2020-12-20T18:10:01.243Z] The closest call I have is: [2020-12-20T18:10:01.243Z] [2020-12-20T18:10:01.243Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:10:01.244Z] 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-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] Difference found in argument 0: [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] --- Expected [2020-12-20T18:10:01.244Z] +++ Actual [2020-12-20T18:10:01.244Z] @@ -20,3 +20,3 @@ [2020-12-20T18:10:01.244Z] Properties: (models.PropertyValue) { [2020-12-20T18:10:01.244Z] - Type: (string) (len=5) "INT16", [2020-12-20T18:10:01.244Z] + Type: (string) (len=5) "Int16", [2020-12-20T18:10:01.244Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] 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-20T18:10:01.244Z] panic: [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] mock: Unexpected Method Call [2020-12-20T18:10:01.244Z] ----------------------------- [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:10:01.244Z] 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-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] The closest call I have is: [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:10:01.244Z] 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-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] Difference found in argument 0: [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] --- Expected [2020-12-20T18:10:01.244Z] +++ Actual [2020-12-20T18:10:01.244Z] @@ -20,3 +20,3 @@ [2020-12-20T18:10:01.244Z] Properties: (models.PropertyValue) { [2020-12-20T18:10:01.244Z] - Type: (string) (len=5) "INT16", [2020-12-20T18:10:01.244Z] + Type: (string) (len=5) "Int16", [2020-12-20T18:10:01.244Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] 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-20T18:10:01.244Z] [2020-12-20T18:10:01.244Z] goroutine 96 [running]: [2020-12-20T18:10:01.244Z] testing.tRunner.func1.1(0x8ae780, 0xc000208be0) [2020-12-20T18:10:01.244Z] /usr/local/go/src/testing/testing.go:1072 +0x46a [2020-12-20T18:10:01.244Z] testing.tRunner.func1(0xc0001a1e00) [2020-12-20T18:10:01.244Z] /usr/local/go/src/testing/testing.go:1075 +0x636 [2020-12-20T18:10:01.244Z] panic(0x8ae780, 0xc000208be0) [2020-12-20T18:10:01.244Z] /usr/local/go/src/runtime/panic.go:975 +0x47a [2020-12-20T18:10:01.244Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc00006cc30, 0x93007b, 0x6f, 0xc000562e00, 0x4, 0x4) [2020-12-20T18:10:01.244Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:254 +0x21f [2020-12-20T18:10:01.244Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00006cc30, 0xb2d59f, 0x10, 0xc00004fcf0, 0x1, 0x1, 0xc000562ac0, 0x4, 0x4) [2020-12-20T18:10:01.244Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:384 +0x510 [2020-12-20T18:10:01.244Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc00006cc30, 0xc00004fcf0, 0x1, 0x1, 0xc000239fa0, 0x20, 0x1) [2020-12-20T18:10:01.244Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:356 +0x1ee [2020-12-20T18:10:01.244Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0xc00006cc30, 0x0, 0x0, 0xc00008e5c0, 0xf, 0xc0002e0810, 0x24, 0xc0002e54e0, 0x15, 0xc00008e5b0, ...) [2020-12-20T18:10:01.244Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0x151 [2020-12-20T18:10:01.244Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0xc00008e5c0, 0xf, 0xc0002e0810, 0x24, 0xc0002e54e0, 0x15, 0xc00008e5b0, 0x10, ...) [2020-12-20T18:10:01.244Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/application/deviceprofile.go:31 +0x282 [2020-12-20T18:10:01.244Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0xc000239500, 0x9a3180, 0xc0002e9e80, 0xc00039f000) [2020-12-20T18:10:01.244Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x565 [2020-12-20T18:10:01.244Z] net/http.HandlerFunc.ServeHTTP(...) [2020-12-20T18:10:01.244Z] /usr/local/go/src/net/http/server.go:2042 [2020-12-20T18:10:01.244Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0xc0001a1e00) [2020-12-20T18:10:01.244Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x40e [2020-12-20T18:10:01.244Z] testing.tRunner(0xc0001a1e00, 0xc00055f650) [2020-12-20T18:10:01.244Z] /usr/local/go/src/testing/testing.go:1123 +0x203 [2020-12-20T18:10:01.244Z] created by testing.(*T).Run [2020-12-20T18:10:01.244Z] /usr/local/go/src/testing/testing.go:1168 +0x5bc [2020-12-20T18:10:01.244Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.315s [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-20T18:10:01.244Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.180s coverage: 58.8% of statements [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-20T18:10:01.244Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.235s coverage: 0.1% of statements [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-20T18:10:01.244Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-20T18:10:01.244Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.186s coverage: 75.5% of statements [2020-12-20T18:10:01.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-20T18:10:02.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.179s coverage: 80.8% of statements [2020-12-20T18:10:02.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.168s coverage: 87.2% of statements [2020-12-20T18:10:03.683Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 84.2% of statements [2020-12-20T18:10:03.683Z] # github.com/edgexfoundry/edgex-go/internal/security/fileprovider [github.com/edgexfoundry/edgex-go/internal/security/fileprovider.test] [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:34:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks" [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:35:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:63:26: undefined: MockFileIoPerformer [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:76:26: undefined: MockAuthTokenLoader [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:156:26: undefined: MockFileIoPerformer [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:164:26: undefined: MockAuthTokenLoader [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:204:26: undefined: MockFileIoPerformer [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:212:26: undefined: MockAuthTokenLoader [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:288:26: undefined: MockFileIoPerformer [2020-12-20T18:10:03.683Z] internal/security/fileprovider/tokenconfig_test.go:24:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:10:03.683Z] internal/security/fileprovider/provider_test.go:288:26: too many errors [2020-12-20T18:10:04.302Z] # github.com/edgexfoundry/edgex-go/internal/security/kdf [github.com/edgexfoundry/edgex-go/internal/security/kdf.test] [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:18:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:34:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:61:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:82:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:100:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:120:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:141:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:161:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:181:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:202:21: undefined: MockFileIoPerformer [2020-12-20T18:10:04.302Z] internal/security/kdf/methods_test.go:202:21: too many errors [2020-12-20T18:10:04.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.181s coverage: 91.4% of statements [2020-12-20T18:10:04.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-20T18:10:04.302Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2020-12-20T18:10:04.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-20T18:10:04.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-20T18:10:04.481Z] 745a02a5169b: Pull complete [2020-12-20T18:10:04.481Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-20T18:10:04.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-20T18:10:04.481Z] ---> b7e6874047d6 [2020-12-20T18:10:04.481Z] 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-20T18:10:05.087Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements [2020-12-20T18:10:05.087Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/kdf [build failed] [2020-12-20T18:10:05.368Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.042s coverage: 100.0% of statements [2020-12-20T18:10:05.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.089s coverage: 73.7% of statements [2020-12-20T18:10:05.960Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.046s coverage: 100.0% of statements [2020-12-20T18:10:06.253Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] [2020-12-20T18:10:06.253Z] internal/security/secretstore/init_test.go:17:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:10:06.253Z] internal/security/secretstore/init_test.go:37:17: undefined: MockFileIoPerformer [2020-12-20T18:10:06.253Z] internal/security/secretstore/init_test.go:58:17: undefined: MockFileIoPerformer [2020-12-20T18:10:06.253Z] internal/security/secretstore/vmkencryption_test.go:17:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:10:06.253Z] internal/security/secretstore/vmkencryption_test.go:25:17: undefined: MockFileIoPerformer [2020-12-20T18:10:06.253Z] internal/security/secretstore/vmkencryption_test.go:45:17: undefined: MockFileIoPerformer [2020-12-20T18:10:06.253Z] internal/security/secretstore/vmkencryption_test.go:80:17: undefined: MockFileIoPerformer [2020-12-20T18:10:07.884Z] ---> Running in e6801351e3cc [2020-12-20T18:10:08.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-20T18:10:09.068Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.741s coverage: 55.9% of statements [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-20T18:10:09.068Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-20T18:10:09.068Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-20T18:10:09.068Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.611s coverage: 84.0% of statements [2020-12-20T18:10:09.068Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.063s coverage: 100.0% of statements [2020-12-20T18:10:09.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-20T18:10:10.442Z] (1/12) Installing libmagic (5.38-r0) [2020-12-20T18:10:10.442Z] (2/12) Installing file (5.38-r0) [2020-12-20T18:10:10.442Z] (3/12) Installing libc-dev (0.7.2-r3) [2020-12-20T18:10:10.713Z] (4/12) Installing g++ (9.3.0-r2) [2020-12-20T18:10:12.630Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.252s coverage: 47.1% of statements [2020-12-20T18:10:12.630Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-20T18:10:12.630Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-20T18:10:12.630Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-20T18:10:12.630Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-20T18:10:12.630Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-20T18:10:12.630Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.101s coverage: 100.0% of statements [2020-12-20T18:10:12.631Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-20T18:10:12.631Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.061s coverage: 100.0% of statements [2020-12-20T18:10:12.631Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-20T18:10:13.321Z] (5/12) Installing fortify-headers (1.1-r0) [2020-12-20T18:10:13.321Z] (6/12) Installing patch (2.7.6-r6) [2020-12-20T18:10:13.592Z] (7/12) Installing build-base (0.5-r2) [2020-12-20T18:10:13.592Z] (8/12) Installing libsodium (1.0.18-r0) [2020-12-20T18:10:13.592Z] (9/12) Installing pkgconf (1.7.2-r0) [2020-12-20T18:10:13.862Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2020-12-20T18:10:13.862Z] (11/12) Installing libzmq (4.3.3-r0) [2020-12-20T18:10:13.862Z] (12/12) Installing zeromq-dev (4.3.3-r0) [2020-12-20T18:10:14.134Z] Executing busybox-1.31.1-r19.trigger [2020-12-20T18:10:14.134Z] OK: 217 MiB in 51 packages [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 1.146s coverage: 29.1% of statements [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.124s coverage: 99.0% of statements [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.076s coverage: 100.0% of statements [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.079s coverage: 0.0% of statements [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.137s coverage: 100.0% of statements [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.053s coverage: 87.9% of statements [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-20T18:10:15.375Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-20T18:10:15.375Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.062s coverage: 100.0% of statements [2020-12-20T18:10:15.686Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.065s coverage: 32.1% of statements [2020-12-20T18:10:15.968Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.098s coverage: 100.0% of statements [2020-12-20T18:10:15.968Z] FAIL [2020-12-20T18:10:16.238Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2020-12-20T18:10:16.267Z] $ docker stop --time=1 5bd5fded706c991eb8eb1faae56b4af93dc3a011245f307034eaf5723bbf8093 [2020-12-20T18:10:18.447Z] Removing intermediate container e6801351e3cc [2020-12-20T18:10:18.447Z] ---> 3c9a0e0e1de3 [2020-12-20T18:10:18.447Z] Step 4/7 : WORKDIR /edgex-go [2020-12-20T18:10:18.447Z] ---> Running in 83a9420ecbab [2020-12-20T18:10:18.718Z] Removing intermediate container 83a9420ecbab [2020-12-20T18:10:18.718Z] ---> e2c8bc2401f0 [2020-12-20T18:10:18.718Z] Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-20T18:10:19.310Z] latest: Pulling from library/docker [2020-12-20T18:10:19.425Z] $ docker rm -f 5bd5fded706c991eb8eb1faae56b4af93dc3a011245f307034eaf5723bbf8093 [2020-12-20T18:10:19.583Z] 159e5727ea61: Pulling fs layer [2020-12-20T18:10:19.583Z] 687389c36290: Pulling fs layer [2020-12-20T18:10:19.583Z] 94e28978939c: Pulling fs layer [2020-12-20T18:10:19.583Z] ea42096754a7: Pulling fs layer [2020-12-20T18:10:19.583Z] bd61cee6920e: Pulling fs layer [2020-12-20T18:10:19.583Z] 87c4ece4675c: Pulling fs layer [2020-12-20T18:10:19.583Z] 90ca8b2ff088: Pulling fs layer [2020-12-20T18:10:19.583Z] bd61cee6920e: Waiting [2020-12-20T18:10:19.583Z] 87c4ece4675c: Waiting [2020-12-20T18:10:19.583Z] 90ca8b2ff088: Waiting [2020-12-20T18:10:19.583Z] ea42096754a7: Waiting [2020-12-20T18:10:19.859Z] 94e28978939c: Verifying Checksum [2020-12-20T18:10:19.859Z] 94e28978939c: Download complete [2020-12-20T18:10:19.859Z] 687389c36290: Download complete [2020-12-20T18:10:19.859Z] 159e5727ea61: Download complete [2020-12-20T18:10:19.859Z] bd61cee6920e: Verifying Checksum [2020-12-20T18:10:19.859Z] bd61cee6920e: Download complete [2020-12-20T18:10:20.136Z] 87c4ece4675c: Verifying Checksum [2020-12-20T18:10:20.136Z] 87c4ece4675c: Download complete [2020-12-20T18:10:20.136Z] 90ca8b2ff088: Verifying Checksum [2020-12-20T18:10:20.136Z] 90ca8b2ff088: Download complete [Pipeline] // withDockerContainer [Pipeline] } [2020-12-20T18:10:20.738Z] 159e5727ea61: Pull complete [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] } [2020-12-20T18:10:21.349Z] 687389c36290: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [2020-12-20T18:10:21.622Z] 94e28978939c: Pull complete [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2020-12-20T18:10:21.899Z] ea42096754a7: Verifying Checksum [2020-12-20T18:10:21.899Z] ea42096754a7: Download complete [Pipeline] } [2020-12-20T18:10:21.905Z] Failed in branch amd64 [2020-12-20T18:10:26.212Z] ea42096754a7: Pull complete [2020-12-20T18:10:26.212Z] bd61cee6920e: Pull complete [2020-12-20T18:10:26.212Z] 87c4ece4675c: Pull complete [2020-12-20T18:10:26.805Z] 90ca8b2ff088: Pull complete [2020-12-20T18:10:26.805Z] Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 [2020-12-20T18:10:26.805Z] Status: Downloaded newer image for docker:latest [2020-12-20T18:10:30.193Z] ---> 486442fc6998 [2020-12-20T18:10:30.193Z] Step 6/7 : COPY go.mod . [2020-12-20T18:10:30.794Z] ---> 87e17ac9c3e1 [2020-12-20T18:10:30.794Z] Step 7/7 : RUN go mod download [2020-12-20T18:10:31.068Z] ---> Running in 13fe664a9303 [2020-12-20T18:10:57.878Z] Removing intermediate container 13fe664a9303 [2020-12-20T18:10:57.878Z] ---> 8fd45bff56a4 [2020-12-20T18:10:57.878Z] Successfully built 8fd45bff56a4 [2020-12-20T18:10:57.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:10:58.228Z] + docker inspect -f . ci-base-image-arm64 [2020-12-20T18:10:58.228Z] . [Pipeline] withDockerContainer [2020-12-20T18:10:58.508Z] prd-ubuntu18.04-docker-arm64-4c-16g-16913 does not seem to be running inside a container [2020-12-20T18:10:58.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-20T18:11:00.089Z] $ docker top 3d6c739e700fcb02eceba4f9e8214690970a6a20f3b70eaef1ea02b860946d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-20T18:11:01.123Z] + go version [2020-12-20T18:11:01.123Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-20T18:11:01.146Z] $ docker stop --time=1 3d6c739e700fcb02eceba4f9e8214690970a6a20f3b70eaef1ea02b860946d68 [2020-12-20T18:11:03.061Z] $ docker rm -f 3d6c739e700fcb02eceba4f9e8214690970a6a20f3b70eaef1ea02b860946d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:11:04.042Z] + docker inspect -f . ci-base-image-arm64 [2020-12-20T18:11:04.042Z] . [Pipeline] withDockerContainer [2020-12-20T18:11:04.262Z] prd-ubuntu18.04-docker-arm64-4c-16g-16913 does not seem to be running inside a container [2020-12-20T18:11:04.341Z] $ 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/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-20T18:11:05.570Z] $ docker top d3bc3ba8b11f7340eafb8aec0eda697d69389cbbfda8f8fde4fd05b5a26fafac -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-20T18:11:05.889Z] ========================================================= [2020-12-20T18:11:05.889Z] [edgeXBuildGoParallel] Running Tests and Build... [2020-12-20T18:11:05.889Z] ========================================================= [Pipeline] sh [2020-12-20T18:11:06.204Z] + make test [2020-12-20T18:11:06.474Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-20T18:11:28.641Z] ? github.com/edgexfoundry/edgex-go [no test files] [2020-12-20T18:12:07.936Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2020-12-20T18:12:30.669Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2020-12-20T18:12:33.294Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2020-12-20T18:12:33.294Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2020-12-20T18:12:33.294Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2020-12-20T18:12:38.724Z] # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] [2020-12-20T18:12:38.724Z] internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 [2020-12-20T18:12:39.326Z] ok github.com/edgexfoundry/edgex-go/internal/core/command 0.257s coverage: 46.6% of statements [2020-12-20T18:12:39.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2020-12-20T18:12:39.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2020-12-20T18:12:39.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] [2020-12-20T18:12:39.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] [2020-12-20T18:12:39.326Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] [2020-12-20T18:12:39.598Z] # 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-20T18:12:39.598Z] internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 [2020-12-20T18:12:39.598Z] internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 [2020-12-20T18:12:39.598Z] internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary [2020-12-20T18:12:39.598Z] internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary [2020-12-20T18:12:47.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/data 1.619s coverage: 27.0% of statements [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2020-12-20T18:12:47.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.080s coverage: 100.0% of statements [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] [2020-12-20T18:12:47.899Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.083s coverage: 100.0% of statements [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] [2020-12-20T18:12:47.899Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] [2020-12-20T18:12:47.899Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] [2020-12-20T18:12:47.899Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] [2020-12-20T18:12:52.219Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.098s coverage: 28.6% of statements [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] [2020-12-20T18:12:52.219Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.150s coverage: 100.0% of statements [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] [2020-12-20T18:12:52.219Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.078s coverage: 100.0% of statements [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] [2020-12-20T18:12:52.219Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.299s coverage: 86.7% of statements [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] [2020-12-20T18:12:52.219Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.353s coverage: 97.5% of statements [2020-12-20T18:12:52.219Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] [2020-12-20T18:12:53.656Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.216s coverage: 78.3% of statements [2020-12-20T18:12:53.656Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] [2020-12-20T18:12:53.656Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] [2020-12-20T18:12:53.656Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] [2020-12-20T18:12:53.656Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] [2020-12-20T18:12:57.980Z] --- FAIL: TestAddDeviceProfile_Created (0.02s) [2020-12-20T18:12:57.980Z] --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.02s) [2020-12-20T18:12:57.980Z] panic: [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] mock: Unexpected Method Call [2020-12-20T18:12:57.980Z] ----------------------------- [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:12:57.980Z] 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-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] The closest call I have is: [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:12:57.980Z] 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-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] Difference found in argument 0: [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] --- Expected [2020-12-20T18:12:57.980Z] +++ Actual [2020-12-20T18:12:57.980Z] @@ -20,3 +20,3 @@ [2020-12-20T18:12:57.980Z] Properties: (models.PropertyValue) { [2020-12-20T18:12:57.980Z] - Type: (string) (len=5) "INT16", [2020-12-20T18:12:57.980Z] + Type: (string) (len=5) "Int16", [2020-12-20T18:12:57.980Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] 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-20T18:12:57.980Z] panic: [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] mock: Unexpected Method Call [2020-12-20T18:12:57.980Z] ----------------------------- [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:12:57.980Z] 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-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] The closest call I have is: [2020-12-20T18:12:57.980Z] [2020-12-20T18:12:57.980Z] AddDeviceProfile(models.DeviceProfile) [2020-12-20T18:12:57.981Z] 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-20T18:12:57.981Z] [2020-12-20T18:12:57.981Z] Difference found in argument 0: [2020-12-20T18:12:57.981Z] [2020-12-20T18:12:57.981Z] --- Expected [2020-12-20T18:12:57.981Z] +++ Actual [2020-12-20T18:12:57.981Z] @@ -20,3 +20,3 @@ [2020-12-20T18:12:57.981Z] Properties: (models.PropertyValue) { [2020-12-20T18:12:57.981Z] - Type: (string) (len=5) "INT16", [2020-12-20T18:12:57.981Z] + Type: (string) (len=5) "Int16", [2020-12-20T18:12:57.981Z] ReadWrite: (string) (len=2) "RW", [2020-12-20T18:12:57.981Z] [2020-12-20T18:12:57.981Z] 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-20T18:12:57.981Z] [2020-12-20T18:12:57.981Z] goroutine 91 [running]: [2020-12-20T18:12:57.981Z] testing.tRunner.func1.1(0x3e9e20, 0x400004fd80) [2020-12-20T18:12:57.981Z] /usr/local/go/src/testing/testing.go:1072 +0x320 [2020-12-20T18:12:57.981Z] testing.tRunner.func1(0x4000083080) [2020-12-20T18:12:57.981Z] /usr/local/go/src/testing/testing.go:1075 +0x460 [2020-12-20T18:12:57.981Z] panic(0x3e9e20, 0x400004fd80) [2020-12-20T18:12:57.981Z] /usr/local/go/src/runtime/panic.go:975 +0x420 [2020-12-20T18:12:57.981Z] github.com/stretchr/testify/mock.(*Mock).fail(0x400009c820, 0x46c283, 0x6f, 0x4000348e80, 0x4, 0x4) [2020-12-20T18:12:57.981Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:254 +0x180 [2020-12-20T18:12:57.981Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x400009c820, 0x66ac6f, 0x10, 0x400004ee00, 0x1, 0x1, 0x4000348b40, 0x4, 0x4) [2020-12-20T18:12:57.981Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:384 +0x394 [2020-12-20T18:12:57.981Z] github.com/stretchr/testify/mock.(*Mock).Called(0x400009c820, 0x400004ee00, 0x1, 0x1, 0x40001f1000, 0x2e8e00, 0x4000348b00) [2020-12-20T18:12:57.981Z] /go/pkg/mod/github.com/stretchr/testify@v1.6.1/mock/mock.go:356 +0x15c [2020-12-20T18:12:57.981Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0x400009c820, 0x0, 0x0, 0x40003625b0, 0xf, 0x40000ce630, 0x24, 0x40000a6e40, 0x15, 0x40003625a0, ...) [2020-12-20T18:12:57.981Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0xec [2020-12-20T18:12:57.981Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0x40003625b0, 0xf, 0x40000ce630, 0x24, 0x40000a6e40, 0x15, 0x40003625a0, 0x10, ...) [2020-12-20T18:12:57.981Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/application/deviceprofile.go:31 +0x1ec [2020-12-20T18:12:57.981Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0x4000099260, 0x4e0840, 0x40000a3f80, 0x40000ac900) [2020-12-20T18:12:57.981Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x3e8 [2020-12-20T18:12:57.981Z] net/http.HandlerFunc.ServeHTTP(...) [2020-12-20T18:12:57.981Z] /usr/local/go/src/net/http/server.go:2042 [2020-12-20T18:12:57.981Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0x4000083080) [2020-12-20T18:12:57.981Z] /w/workspace/edgex-go/14/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x334 [2020-12-20T18:12:57.981Z] testing.tRunner(0x4000083080, 0x40000137a0) [2020-12-20T18:12:57.981Z] /usr/local/go/src/testing/testing.go:1123 +0x174 [2020-12-20T18:12:57.981Z] created by testing.(*T).Run [2020-12-20T18:12:57.981Z] /usr/local/go/src/testing/testing.go:1168 +0x43c [2020-12-20T18:12:57.981Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.443s [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] [2020-12-20T18:12:57.981Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] [2020-12-20T18:12:57.981Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.162s coverage: 0.1% of statements [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2020-12-20T18:12:57.981Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2020-12-20T18:12:57.981Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.148s coverage: 75.5% of statements [2020-12-20T18:12:57.981Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2020-12-20T18:12:58.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.072s coverage: 80.8% of statements [2020-12-20T18:12:58.967Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.128s coverage: 87.2% of statements [2020-12-20T18:12:59.960Z] # github.com/edgexfoundry/edgex-go/internal/security/fileprovider [github.com/edgexfoundry/edgex-go/internal/security/fileprovider.test] [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:34:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks" [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:35:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:63:26: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:76:26: undefined: MockAuthTokenLoader [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:156:26: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:164:26: undefined: MockAuthTokenLoader [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:204:26: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:212:26: undefined: MockAuthTokenLoader [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:288:26: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/fileprovider/tokenconfig_test.go:24:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:12:59.960Z] internal/security/fileprovider/provider_test.go:288:26: too many errors [2020-12-20T18:12:59.960Z] # github.com/edgexfoundry/edgex-go/internal/security/kdf [github.com/edgexfoundry/edgex-go/internal/security/kdf.test] [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:18:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:34:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:61:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:82:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:100:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:120:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:141:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:161:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:181:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:202:21: undefined: MockFileIoPerformer [2020-12-20T18:12:59.960Z] internal/security/kdf/methods_test.go:202:21: too many errors [2020-12-20T18:13:00.950Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.147s coverage: 84.2% of statements [2020-12-20T18:13:02.400Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.190s coverage: 91.4% of statements [2020-12-20T18:13:02.400Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2020-12-20T18:13:02.400Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2020-12-20T18:13:02.400Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2020-12-20T18:13:02.400Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2020-12-20T18:13:02.400Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.074s coverage: 100.0% of statements [2020-12-20T18:13:02.400Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/kdf [build failed] [2020-12-20T18:13:02.400Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements [2020-12-20T18:13:03.005Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.071s coverage: 73.7% of statements [2020-12-20T18:13:03.988Z] # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] [2020-12-20T18:13:03.988Z] internal/security/secretstore/init_test.go:17:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:13:03.988Z] internal/security/secretstore/init_test.go:37:17: undefined: MockFileIoPerformer [2020-12-20T18:13:03.988Z] internal/security/secretstore/init_test.go:58:17: undefined: MockFileIoPerformer [2020-12-20T18:13:03.988Z] internal/security/secretstore/vmkencryption_test.go:17:2: imported and not used: "github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks" [2020-12-20T18:13:03.988Z] internal/security/secretstore/vmkencryption_test.go:25:17: undefined: MockFileIoPerformer [2020-12-20T18:13:03.989Z] internal/security/secretstore/vmkencryption_test.go:45:17: undefined: MockFileIoPerformer [2020-12-20T18:13:03.989Z] internal/security/secretstore/vmkencryption_test.go:80:17: undefined: MockFileIoPerformer [2020-12-20T18:13:04.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.067s coverage: 100.0% of statements [2020-12-20T18:13:09.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.901s coverage: 55.9% of statements [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] [2020-12-20T18:13:09.302Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2020-12-20T18:13:09.302Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2020-12-20T18:13:09.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.554s coverage: 84.0% of statements [2020-12-20T18:13:09.302Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.078s coverage: 100.0% of statements [2020-12-20T18:13:13.639Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.365s coverage: 47.1% of statements [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] [2020-12-20T18:13:13.639Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.115s coverage: 100.0% of statements [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] [2020-12-20T18:13:13.639Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.097s coverage: 100.0% of statements [2020-12-20T18:13:13.639Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.994s coverage: 29.1% of statements [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.191s coverage: 99.0% of statements [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.142s coverage: 100.0% of statements [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.041s coverage: 0.0% of statements [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.065s coverage: 100.0% of statements [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.126s coverage: 87.9% of statements [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] [2020-12-20T18:13:20.383Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.061s coverage: 100.0% of statements [2020-12-20T18:13:20.383Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.082s coverage: 32.1% of statements [2020-12-20T18:13:21.362Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.075s coverage: 100.0% of statements [2020-12-20T18:13:21.362Z] FAIL [2020-12-20T18:13:21.955Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2020-12-20T18:13:21.977Z] $ docker stop --time=1 d3bc3ba8b11f7340eafb8aec0eda697d69389cbbfda8f8fde4fd05b5a26fafac [2020-12-20T18:13:24.162Z] $ docker rm -f d3bc3ba8b11f7340eafb8aec0eda697d69389cbbfda8f8fde4fd05b5a26fafac [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-20T18:13:26.337Z] 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-20T18:13:28.742Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:13:30.521Z] ---> package-listing.sh [2020-12-20T18:13:30.521Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-20T18:13:30.521Z] ++ facter osfamily [2020-12-20T18:13:30.790Z] + OS_FAMILY=redhat [2020-12-20T18:13:30.790Z] + workspace=/w/workspace/edgex-go/14 [2020-12-20T18:13:30.790Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-20T18:13:30.790Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-20T18:13:30.790Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-20T18:13:30.790Z] + PACKAGES=/tmp/packages_start.txt [2020-12-20T18:13:30.790Z] + '[' /w/workspace/edgex-go/14 ']' [2020-12-20T18:13:30.790Z] + PACKAGES=/tmp/packages_end.txt [2020-12-20T18:13:30.790Z] + case "${OS_FAMILY}" in [2020-12-20T18:13:30.790Z] + rpm -qa [2020-12-20T18:13:30.790Z] + sort [2020-12-20T18:13:36.177Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-20T18:13:36.177Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-20T18:13:36.177Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-20T18:13:36.177Z] + '[' /w/workspace/edgex-go/14 ']' [2020-12-20T18:13:36.177Z] + mkdir -p /w/workspace/edgex-go/14/archives/ [2020-12-20T18:13:36.177Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/14/archives/ [Pipeline] echo [2020-12-20T18:13:36.193Z] 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/14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-20T18:13:36.505Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:13:36.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-20T18:13:37.131Z] [2020-12-20T18:13:37.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-20T18:13:37.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-20T18:13:37.498Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-20T18:13:37.498Z] df20fa9351a1: Pulling fs layer [2020-12-20T18:13:37.498Z] 36b3adc4ff6f: Pulling fs layer [2020-12-20T18:13:37.498Z] 8ad3a11d3b57: Pulling fs layer [2020-12-20T18:13:37.498Z] 46f8f816bc3b: Pulling fs layer [2020-12-20T18:13:37.498Z] 93b61091891f: Pulling fs layer [2020-12-20T18:13:37.498Z] 93b9cdb0e59b: Pulling fs layer [2020-12-20T18:13:37.498Z] 5e14af77c1be: Pulling fs layer [2020-12-20T18:13:37.498Z] 01666e4c0597: Pulling fs layer [2020-12-20T18:13:37.498Z] aa168da1d23b: Pulling fs layer [2020-12-20T18:13:37.498Z] 93b9cdb0e59b: Waiting [2020-12-20T18:13:37.498Z] 5e14af77c1be: Waiting [2020-12-20T18:13:37.498Z] aa168da1d23b: Waiting [2020-12-20T18:13:37.498Z] 01666e4c0597: Waiting [2020-12-20T18:13:37.498Z] 93b61091891f: Waiting [2020-12-20T18:13:37.498Z] 46f8f816bc3b: Waiting [2020-12-20T18:13:37.856Z] 36b3adc4ff6f: Download complete [2020-12-20T18:13:37.856Z] 46f8f816bc3b: Download complete [2020-12-20T18:13:37.856Z] df20fa9351a1: Verifying Checksum [2020-12-20T18:13:37.856Z] 93b9cdb0e59b: Verifying Checksum [2020-12-20T18:13:37.856Z] 93b9cdb0e59b: Download complete [2020-12-20T18:13:37.856Z] 93b61091891f: Verifying Checksum [2020-12-20T18:13:37.856Z] 93b61091891f: Download complete [2020-12-20T18:13:37.856Z] 5e14af77c1be: Verifying Checksum [2020-12-20T18:13:37.856Z] 5e14af77c1be: Download complete [2020-12-20T18:13:37.856Z] 01666e4c0597: Verifying Checksum [2020-12-20T18:13:37.856Z] 01666e4c0597: Download complete [2020-12-20T18:13:38.534Z] df20fa9351a1: Pull complete [2020-12-20T18:13:38.809Z] 8ad3a11d3b57: Verifying Checksum [2020-12-20T18:13:38.809Z] 8ad3a11d3b57: Download complete [2020-12-20T18:13:39.087Z] 36b3adc4ff6f: Pull complete [2020-12-20T18:13:41.181Z] 8ad3a11d3b57: Pull complete [2020-12-20T18:13:41.483Z] 46f8f816bc3b: Pull complete [2020-12-20T18:13:42.548Z] 93b61091891f: Pull complete [2020-12-20T18:13:42.858Z] 93b9cdb0e59b: Pull complete [2020-12-20T18:13:43.134Z] aa168da1d23b: Verifying Checksum [2020-12-20T18:13:43.134Z] aa168da1d23b: Download complete [2020-12-20T18:13:43.134Z] 5e14af77c1be: Pull complete [2020-12-20T18:13:43.399Z] 01666e4c0597: Pull complete [2020-12-20T18:13:55.882Z] aa168da1d23b: Pull complete [2020-12-20T18:13:55.882Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-20T18:13:55.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-20T18:13:55.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-20T18:13:56.251Z] prd-centos7-docker-4c-2g-16912 does not seem to be running inside a container [2020-12-20T18:13:56.328Z] $ 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/14/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/14 -v /w/workspace/edgex-go/14:/w/workspace/edgex-go/14:rw,z -v /w/workspace/edgex-go/14@tmp:/w/workspace/edgex-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-20T18:14:03.270Z] $ docker top 5d024781b3da78ae73f050e07be1605cca1b9d6bf703574ff24ac9751f30a2a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-20T18:14:04.357Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-20T18:14:05.060Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-20T18:14:05.714Z] + ls /var/log/sa-host [2020-12-20T18:14:05.714Z] + sadf -c /var/log/sa-host/sa20 [2020-12-20T18:14:05.714Z] file_magic: OK [2020-12-20T18:14:05.714Z] HZ: Using current value: 100 [2020-12-20T18:14:05.714Z] file_header: OK [2020-12-20T18:14:05.714Z] 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-20T18:14:05.714Z] Statistics: [2020-12-20T18:14:05.714Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-20T18:14:05.714Z] File successfully converted to sysstat format version 12.2.1 [2020-12-20T18:14:05.714Z] + sadf -c /var/log/sa-host/sa23 [2020-12-20T18:14:05.714Z] file_magic: OK [2020-12-20T18:14:05.714Z] HZ: Using current value: 100 [2020-12-20T18:14:05.714Z] file_header: OK [2020-12-20T18:14:05.714Z] 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-20T18:14:05.714Z] Statistics: [2020-12-20T18:14:05.714Z] Hnuu...uuuununununu... [2020-12-20T18:14:05.714Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-20T18:14:06.413Z] provisioning config files... [2020-12-20T18:14:06.435Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/14@tmp/config1873099772381557356tmp [Pipeline] { [Pipeline] echo [2020-12-20T18:14:06.505Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:14:06.844Z] ---> create-netrc.sh [Pipeline] } [2020-12-20T18:14:06.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-20T18:14:06.953Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:14:07.804Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-20T18:14:07.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:14:08.893Z] ---> sudo-logs.sh [2020-12-20T18:14:08.893Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-20T18:14:08.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:14:09.726Z] ---> job-cost.sh [2020-12-20T18:14:09.726Z] lf-activate-venv: SKIPPING [2020-12-20T18:14:09.726Z] INFO: No Stack... [2020-12-20T18:14:11.164Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-20T18:14:11.441Z] INFO: Archiving Costs [Pipeline] echo [2020-12-20T18:14:11.459Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-20T18:14:11.808Z] ---> logs-deploy.sh [2020-12-20T18:14:11.808Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2942/14 [2020-12-20T18:14:11.808Z] INFO: archiving workspace using pattern(s): [2020-12-20T18:14:13.754Z] Archives upload complete. [2020-12-20T18:14:14.024Z] INFO: archiving logs to Nexus