Pull request #2958 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea+dd265b0a906f4796680bcfa54b47b0c8333d6388 (437f2e456ac457a758649aa6ced71c75ef1dfb88) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2958/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-2958/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-16467 in /w/workspace/edgexfoundry_edgex-go_PR-2958 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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/2958/head:refs/remotes/origin/PR-2958 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dd265b0a906f4796680bcfa54b47b0c8333d6388 into PR head commit 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea Merge succeeded, producing 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea Checking out Revision 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea (PR-2958) > git config core.sparsecheckout # timeout=10 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dd265b0a906f4796680bcfa54b47b0c8333d6388 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:22:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:22:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:22:48 ========================================================= 06:22:48 EdgeX Global Pipelines Version Info 06:22:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:22:50 ------------------- 06:22:50 stable info: 06:22:50 ------------------- 06:22:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:22:50 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:22:50 Message: update stable to v1.0.173 06:22:51 ------------------- 06:22:51 experimental info: 06:22:51 ------------------- 06:22:51 Commited By: **** collab-it+edgex@linuxfoundation.org 06:22:51 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:22:51 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:22:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 06:22:51 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 06:22:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:22:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:22:54 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:22:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2958 [Pipeline] echo 06:22:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2958 [Pipeline] echo 06:22:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2958 [Pipeline] echo 06:22:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea [Pipeline] echo 06:22:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2dc74f6 [Pipeline] echo 06:22:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:22:55 provisioning config files... 06:22:56 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5222276472491662885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:56 ---> docker-login.sh 06:22:56 nexus3.edgexfoundry.org:10001 06:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:57 Configure a credential helper to remove this warning. See 06:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:57 06:22:57 Login Succeeded 06:22:57 nexus3.edgexfoundry.org:10002 06:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:57 Configure a credential helper to remove this warning. See 06:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:57 06:22:57 Login Succeeded 06:22:57 nexus3.edgexfoundry.org:10003 06:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:57 Configure a credential helper to remove this warning. See 06:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:57 06:22:57 Login Succeeded 06:22:57 nexus3.edgexfoundry.org:10004 06:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:57 Configure a credential helper to remove this warning. See 06:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:57 06:22:57 Login Succeeded 06:22:57 docker.io 06:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:57 Configure a credential helper to remove this warning. See 06:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:57 06:22:57 Login Succeeded 06:22:57 ---> docker-login.sh ends [Pipeline] } 06:22:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:22:58 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/core-command/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo core-command,cmd/core-command/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/core-data/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo core-data,cmd/core-data/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/core-metadata/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo core-metadata,cmd/core-metadata/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/security-bootstrap-redis/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/security-proxy-setup/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/security-secrets-setup/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ cut -d/ -f2 06:22:58 ++ dirname cmd/security-secretstore-setup/Dockerfile 06:22:58 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/support-notifications/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo support-notifications,cmd/support-notifications/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/support-scheduler/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo support-scheduler,cmd/support-scheduler/Dockerfile 06:22:58 + for file in '`ls cmd/**/Dockerfile`' 06:22:58 ++ dirname cmd/sys-mgmt-agent/Dockerfile 06:22:58 ++ cut -d/ -f2 06:22:58 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 06:22:58 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:22:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:22:59 06:22:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:22:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:22:59 latest: Pulling from edgex-devops/git-semver 06:22:59 31603596830f: Pulling fs layer 06:22:59 2a8b12db71e7: Pulling fs layer 06:22:59 6ca5941a6612: Pulling fs layer 06:22:59 ecc8261a40a4: Pulling fs layer 06:22:59 ecc8261a40a4: Waiting 06:22:59 2a8b12db71e7: Verifying Checksum 06:22:59 2a8b12db71e7: Download complete 06:23:00 31603596830f: Download complete 06:23:00 ecc8261a40a4: Verifying Checksum 06:23:00 ecc8261a40a4: Download complete 06:23:00 31603596830f: Pull complete 06:23:00 6ca5941a6612: Verifying Checksum 06:23:00 6ca5941a6612: Download complete 06:23:00 2a8b12db71e7: Pull complete 06:23:01 6ca5941a6612: Pull complete 06:23:01 ecc8261a40a4: Pull complete 06:23:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:23:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:23:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:23:01 prd-centos7-docker-4c-2g-16467 does not seem to be running inside a container 06:23:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:23:04 $ docker top e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:05 [ssh-agent] Looking for ssh-agent implementation... 06:23:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:05 $ docker exec e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f ssh-agent 06:23:05 SSH_AUTH_SOCK=/tmp/ssh-ohjNrSQMoVAo/agent.11 06:23:05 SSH_AGENT_PID=16 06:23:05 Running ssh-add (command line suppressed) 06:23:05 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6586851054590641865.key (/w/workspace/edgex-go/1@tmp/private_key_6586851054590641865.key) 06:23:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:06 + git tag --points-at HEAD [Pipeline] } 06:23:06 $ docker exec --env ******** --env ******** e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f ssh-agent -k 06:23:06 unset SSH_AUTH_SOCK; 06:23:06 unset SSH_AGENT_PID; 06:23:06 echo Agent pid 16 killed; 06:23:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:23:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:06 [ssh-agent] Looking for ssh-agent implementation... 06:23:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:06 $ docker exec e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f ssh-agent 06:23:06 SSH_AUTH_SOCK=/tmp/ssh-kF1hVGqesulO/agent.46 06:23:06 SSH_AGENT_PID=51 06:23:06 Running ssh-add (command line suppressed) 06:23:07 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2471192998439637601.key (/w/workspace/edgex-go/1@tmp/private_key_2471192998439637601.key) 06:23:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:07 + git semver init 06:23:07 # -> Open(): unable to determine branch for HEAD 06:23:07 # $GIT_DIR = /w/workspace/edgex-go/1/.git 06:23:07 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 06:23:07 # $SEMVER_REMOTE_NAME = origin 06:23:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:23:07 # $SEMVER_USER_NAME = edgex-jenkins 06:23:07 # $SEMVER_BRANCH = PR-2958 06:23:07 # $SEMVER_TEMP = /tmp/semver-013180194 06:23:07 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 06:23:34 # '/tmp/semver-013180194' -> '/w/workspace/edgex-go/1/.semver' 06:23:34 # -> Force: false 06:23:34 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 06:23:34 $ docker exec --env ******** --env ******** e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f ssh-agent -k 06:23:34 unset SSH_AUTH_SOCK; 06:23:34 unset SSH_AGENT_PID; 06:23:34 echo Agent pid 51 killed; 06:23:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:35 + git semver [Pipeline] } 06:23:35 $ docker stop --time=1 e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f 06:23:36 $ docker rm -f e284effa373fa5f4d1e34705ebe8b8aef786c752a1d967308ee1448a16b2228f [Pipeline] // withDockerContainer [Pipeline] sh 06:23:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:23:37 Stashed 1 file(s) [Pipeline] echo 06:23:37 [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 06:23:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:23:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:23:39 + sudo service docker restart 06:23:39 + true 06:23:39 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 06:23:40 ========================================================= 06:23:40 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:23:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:23:40 + 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 . 06:23:44 Sending build context to Docker daemon 326.3MB 06:23:44 Step 1/7 : ARG BASE=golang:1.15-alpine 06:23:44 Step 2/7 : FROM ${BASE} 06:23:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:23:44 188c0c94c7c5: Pulling fs layer 06:23:44 0ef7d3d256c8: Pulling fs layer 06:23:44 de9db76c5a1d: Pulling fs layer 06:23:44 bca2f99d35d6: Pulling fs layer 06:23:44 93359f2a8cfa: Pulling fs layer 06:23:44 7c6f9722023f: Pulling fs layer 06:23:44 a35cf1a2eb13: Pulling fs layer 06:23:44 a35cf1a2eb13: Waiting 06:23:44 93359f2a8cfa: Waiting 06:23:44 7c6f9722023f: Waiting 06:23:44 bca2f99d35d6: Waiting 06:23:44 de9db76c5a1d: Verifying Checksum 06:23:44 de9db76c5a1d: Download complete 06:23:44 0ef7d3d256c8: Verifying Checksum 06:23:44 0ef7d3d256c8: Download complete 06:23:44 93359f2a8cfa: Verifying Checksum 06:23:44 93359f2a8cfa: Download complete 06:23:44 188c0c94c7c5: Download complete 06:23:44 7c6f9722023f: Verifying Checksum 06:23:44 7c6f9722023f: Download complete 06:23:44 188c0c94c7c5: Pull complete 06:23:44 0ef7d3d256c8: Pull complete 06:23:44 de9db76c5a1d: Pull complete 06:23:46 a35cf1a2eb13: Verifying Checksum 06:23:46 a35cf1a2eb13: Download complete 06:23:47 bca2f99d35d6: Verifying Checksum 06:23:47 bca2f99d35d6: Download complete 06:23:53 Still waiting to schedule task 06:23:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:23:54 bca2f99d35d6: Pull complete 06:23:54 93359f2a8cfa: Pull complete 06:23:54 7c6f9722023f: Pull complete 06:23:58 a35cf1a2eb13: Pull complete 06:23:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:23:58 ---> a62c8e92a672 06:23:58 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 06:23:58 ---> Running in de66189a40c2 06:23:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:23:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:23:59 (1/12) Installing libmagic (5.38-r0) 06:24:00 (2/12) Installing file (5.38-r0) 06:24:00 (3/12) Installing libc-dev (0.7.2-r3) 06:24:01 (4/12) Installing g++ (9.3.0-r2) 06:24:06 (5/12) Installing fortify-headers (1.1-r0) 06:24:06 (6/12) Installing patch (2.7.6-r6) 06:24:06 (7/12) Installing build-base (0.5-r2) 06:24:06 (8/12) Installing libsodium (1.0.18-r0) 06:24:06 (9/12) Installing pkgconf (1.7.2-r0) 06:24:06 (10/12) Installing libsodium-dev (1.0.18-r0) 06:24:06 (11/12) Installing libzmq (4.3.3-r0) 06:24:06 (12/12) Installing zeromq-dev (4.3.3-r0) 06:24:06 Executing busybox-1.31.1-r19.trigger 06:24:06 OK: 233 MiB in 51 packages 06:24:09 Removing intermediate container de66189a40c2 06:24:09 ---> 013e7aed2adf 06:24:09 Step 4/7 : WORKDIR /edgex-go 06:24:09 ---> Running in 4da5b7a1a8dd 06:24:09 Removing intermediate container 4da5b7a1a8dd 06:24:09 ---> 5624d3fb851b 06:24:09 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 06:24:10 latest: Pulling from library/docker 06:24:10 05e7bc50f07f: Pulling fs layer 06:24:10 6db28d0fdbf6: Pulling fs layer 06:24:10 292df0bc6bf3: Pulling fs layer 06:24:10 a3104fdc50d0: Pulling fs layer 06:24:10 a8e67d69e12c: Pulling fs layer 06:24:10 1ede2b221ee4: Pulling fs layer 06:24:10 fc74c0d5b799: Pulling fs layer 06:24:10 1ede2b221ee4: Waiting 06:24:10 a8e67d69e12c: Waiting 06:24:10 fc74c0d5b799: Waiting 06:24:10 a3104fdc50d0: Waiting 06:24:10 292df0bc6bf3: Verifying Checksum 06:24:10 292df0bc6bf3: Download complete 06:24:10 6db28d0fdbf6: Download complete 06:24:10 05e7bc50f07f: Verifying Checksum 06:24:10 05e7bc50f07f: Download complete 06:24:10 a8e67d69e12c: Verifying Checksum 06:24:10 a8e67d69e12c: Download complete 06:24:11 1ede2b221ee4: Download complete 06:24:11 fc74c0d5b799: Verifying Checksum 06:24:11 fc74c0d5b799: Download complete 06:24:11 05e7bc50f07f: Pull complete 06:24:11 6db28d0fdbf6: Pull complete 06:24:11 292df0bc6bf3: Pull complete 06:24:12 a3104fdc50d0: Verifying Checksum 06:24:12 a3104fdc50d0: Download complete 06:24:14 a3104fdc50d0: Pull complete 06:24:14 a8e67d69e12c: Pull complete 06:24:14 1ede2b221ee4: Pull complete 06:24:15 fc74c0d5b799: Pull complete 06:24:15 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 06:24:15 Status: Downloaded newer image for docker:latest 06:24:16 ---> 77f993eed3e8 06:24:16 Step 6/7 : COPY go.mod . 06:24:16 ---> af998b02db8a 06:24:16 Step 7/7 : RUN go mod download 06:24:17 ---> Running in 3063bdcd1822 06:24:39 Removing intermediate container 3063bdcd1822 06:24:39 ---> 405f4126ad15 06:24:39 Successfully built 405f4126ad15 06:24:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:24:39 + docker inspect -f . ci-base-image-x86_64 06:24:39 . [Pipeline] withDockerContainer 06:24:39 prd-centos7-docker-4c-2g-16467 does not seem to be running inside a container 06:24:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:24:40 $ docker top 30eca344156e99dea1e461f0b2f8008648db0359b98e8e7ce2e6b5157aa5d39d -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:40 + go version 06:24:40 go version go1.15.5 linux/amd64 [Pipeline] } 06:24:40 $ docker stop --time=1 30eca344156e99dea1e461f0b2f8008648db0359b98e8e7ce2e6b5157aa5d39d 06:24:42 $ docker rm -f 30eca344156e99dea1e461f0b2f8008648db0359b98e8e7ce2e6b5157aa5d39d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:24:43 + docker inspect -f . ci-base-image-x86_64 06:24:43 . [Pipeline] withDockerContainer 06:24:43 prd-centos7-docker-4c-2g-16467 does not seem to be running inside a container 06:24:43 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:24:44 $ docker top 6c9267972d145441b98f6bcfbd5094c6bc51ef5099d28f9b226e6ddf1a2c2ea3 -eo pid,comm [Pipeline] { [Pipeline] echo 06:24:44 ========================================================= 06:24:44 [edgeXBuildGoParallel] Running Tests and Build... 06:24:44 ========================================================= [Pipeline] sh 06:24:44 + make test 06:24:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:24:53 ? github.com/edgexfoundry/edgex-go [no test files] 06:25:08 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:25:15 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 06:25:15 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 06:25:15 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 06:25:15 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 06:25:15 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 06:25:15 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 06:25:17 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.024s 06:25:17 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 06:25:17 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 06:25:18 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 06:25:18 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 06:25:18 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 06:25:18 ? github.com/edgexfoundry/edgex-go/internal [no test files] 06:25:20 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 06:25:20 internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 06:25:20 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.122s coverage: 46.6% of statements 06:25:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 06:25:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 06:25:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 06:25:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 06:25:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 06:25:20 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 06:25:20 internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 06:25:20 internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 06:25:20 internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary 06:25:20 internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary 06:25:24 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.153s coverage: 27.1% of statements 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 06:25:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.045s coverage: 100.0% of statements 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 06:25:24 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.039s coverage: 100.0% of statements 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 06:25:24 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 06:25:24 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 06:25:24 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.338s coverage: 28.6% of statements 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 06:25:24 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.054s coverage: 100.0% of statements 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 06:25:24 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.040s coverage: 100.0% of statements 06:25:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 06:25:25 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.105s coverage: 86.7% of statements 06:25:25 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 06:25:25 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.121s coverage: 97.5% of statements 06:25:25 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 06:25:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.072s coverage: 78.3% of statements 06:25:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 06:25:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 06:25:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 06:25:26 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 06:25:27 --- FAIL: TestAddDeviceProfile_Created (0.01s) 06:25:27 --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.01s) 06:25:27 panic: 06:25:27 06:25:27 mock: Unexpected Method Call 06:25:27 ----------------------------- 06:25:27 06:25:27 AddDeviceProfile(models.DeviceProfile) 06:25:27 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}}} 06:25:27 06:25:27 The closest call I have is: 06:25:27 06:25:27 AddDeviceProfile(models.DeviceProfile) 06:25:27 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}}} 06:25:27 06:25:27 Difference found in argument 0: 06:25:27 06:25:27 --- Expected 06:25:27 +++ Actual 06:25:27 @@ -20,3 +20,3 @@ 06:25:27 Properties: (models.PropertyValue) { 06:25:27 - Type: (string) (len=5) "INT16", 06:25:27 + Type: (string) (len=5) "Int16", 06:25:27 ReadWrite: (string) (len=2) "RW", 06:25:27 06:25:27 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] 06:25:27 panic: 06:25:27 06:25:27 mock: Unexpected Method Call 06:25:27 ----------------------------- 06:25:27 06:25:27 AddDeviceProfile(models.DeviceProfile) 06:25:27 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}}} 06:25:27 06:25:27 The closest call I have is: 06:25:27 06:25:27 AddDeviceProfile(models.DeviceProfile) 06:25:27 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}}} 06:25:27 06:25:27 Difference found in argument 0: 06:25:27 06:25:27 --- Expected 06:25:27 +++ Actual 06:25:27 @@ -20,3 +20,3 @@ 06:25:27 Properties: (models.PropertyValue) { 06:25:27 - Type: (string) (len=5) "INT16", 06:25:27 + Type: (string) (len=5) "Int16", 06:25:27 ReadWrite: (string) (len=2) "RW", 06:25:27 06:25:27 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}]}) 06:25:27 06:25:27 goroutine 101 [running]: 06:25:27 testing.tRunner.func1.1(0x8ad2a0, 0xc000507990) 06:25:27 /usr/local/go/src/testing/testing.go:1072 +0x46a 06:25:27 testing.tRunner.func1(0xc000510600) 06:25:27 /usr/local/go/src/testing/testing.go:1075 +0x636 06:25:27 panic(0x8ad2a0, 0xc000507990) 06:25:27 /usr/local/go/src/runtime/panic.go:975 +0x47a 06:25:27 github.com/stretchr/testify/mock.(*Mock).fail(0xc00052e1e0, 0x92e3cd, 0x6f, 0xc000527440, 0x4, 0x4) 06:25:27 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:236 +0x21f 06:25:27 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00052e1e0, 0xb2ad17, 0x10, 0xc000506b90, 0x1, 0x1, 0xc000527100, 0x4, 0x4) 06:25:27 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:366 +0x510 06:25:27 github.com/stretchr/testify/mock.(*Mock).Called(0xc00052e1e0, 0xc000506b90, 0x1, 0x1, 0xc000500da0, 0x20, 0x1) 06:25:27 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:338 +0x1ee 06:25:27 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0xc00052e1e0, 0x0, 0x0, 0xc000502ec0, 0xf, 0xc00051c0f0, 0x24, 0xc000504500, 0x15, 0xc000502eb0, ...) 06:25:27 /w/workspace/edgex-go/1/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0x151 06:25:27 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0xc000502ec0, 0xf, 0xc00051c0f0, 0x24, 0xc000504500, 0x15, 0xc000502eb0, 0x10, ...) 06:25:27 /w/workspace/edgex-go/1/internal/core/metadata/v2/application/deviceprofile.go:31 +0x282 06:25:27 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0xc000500300, 0x9a1120, 0xc000526540, 0xc000520400) 06:25:27 /w/workspace/edgex-go/1/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x565 06:25:27 net/http.HandlerFunc.ServeHTTP(...) 06:25:27 /usr/local/go/src/net/http/server.go:2042 06:25:27 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0xc000510600) 06:25:27 /w/workspace/edgex-go/1/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x40e 06:25:27 testing.tRunner(0xc000510600, 0xc00051e780) 06:25:27 /usr/local/go/src/testing/testing.go:1123 +0x203 06:25:27 created by testing.(*T).Run 06:25:27 /usr/local/go/src/testing/testing.go:1168 +0x5bc 06:25:27 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.136s 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 06:25:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.035s coverage: 58.8% of statements 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 06:25:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.049s coverage: 0.1% of statements 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 06:25:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.038s coverage: 100.0% of statements 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 06:25:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.042s coverage: 75.5% of statements 06:25:27 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 06:25:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.030s coverage: 80.8% of statements 06:25:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.074s coverage: 87.2% of statements 06:25:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.055s coverage: 84.2% of statements 06:25:28 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.119s coverage: 91.4% of statements 06:25:28 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 06:25:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.182s coverage: 63.5% of statements 06:25:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 06:25:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 06:25:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.050s coverage: 100.0% of statements 06:25:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.049s coverage: 91.3% of statements 06:25:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements 06:25:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.042s coverage: 73.7% of statements 06:25:30 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.036s coverage: 100.0% of statements 06:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.312s coverage: 55.9% of statements 06:25:31 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 06:25:31 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 06:25:31 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 06:25:31 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 06:25:31 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 06:25:31 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 4.329s coverage: 86.3% of statements 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.127s coverage: 72.2% of statements 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.442s coverage: 72.1% of statements 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.047s coverage: 82.4% of statements 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.033s coverage: 48.4% of statements 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.036s coverage: 28.8% of statements 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.039s coverage: 96.8% of statements 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.087s coverage: 37.0% of statements 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 06:25:35 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.312s coverage: 84.0% of statements 06:25:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.044s coverage: 100.0% of statements 06:25:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.109s coverage: 47.1% of statements 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 06:25:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.049s coverage: 100.0% of statements 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 06:25:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.065s coverage: 100.0% of statements 06:25:37 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.729s coverage: 29.1% of statements 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.069s coverage: 99.0% of statements 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.047s coverage: 100.0% of statements 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.038s coverage: 100.0% of statements 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.057s coverage: 87.9% of statements 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 06:25:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 06:25:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.046s coverage: 100.0% of statements 06:25:39 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.038s coverage: 32.1% of statements 06:25:39 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 06:25:39 FAIL 06:25:39 make: *** [Makefile:99: test] Error 2 [Pipeline] } 06:25:39 $ docker stop --time=1 6c9267972d145441b98f6bcfbd5094c6bc51ef5099d28f9b226e6ddf1a2c2ea3 06:25:41 $ docker rm -f 6c9267972d145441b98f6bcfbd5094c6bc51ef5099d28f9b226e6ddf1a2c2ea3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:25:44 Failed in branch amd64 06:25:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16469 in /w/workspace/edgexfoundry_edgex-go_PR-2958 [Pipeline] { [Pipeline] ws 06:25:45 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 06:25:51 using credential edgex-jenkins-ssh 06:25:51 Cloning the remote Git repository 06:25:51 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:25:51 > git init /w/workspace/edgex-go/1 # timeout=10 06:25:51 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:25:51 > git --version # timeout=10 06:25:51 > git --version # 'git version 2.17.1' 06:25:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:25:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:26:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:26:07 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2958/head:refs/remotes/origin/PR-2958 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:26:08 Merging remotes/origin/master commit dd265b0a906f4796680bcfa54b47b0c8333d6388 into PR head commit 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea 06:26:08 Merge succeeded, producing 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea 06:26:08 Checking out Revision 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea (PR-2958) 06:26:08 > git config core.sparsecheckout # timeout=10 06:26:08 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 06:26:08 > git remote # timeout=10 06:26:08 > git config --get remote.origin.url # timeout=10 06:26:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:08 > git merge dd265b0a906f4796680bcfa54b47b0c8333d6388 # timeout=10 06:26:08 > git rev-parse HEAD^{commit} # timeout=10 06:26:08 > git config core.sparsecheckout # timeout=10 06:26:08 > git checkout -f 2dc74f6a3c7ed0aea5b3204217d20d0bf1540fea # timeout=10 06:26:13 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 06:26:13 > git --version # timeout=10 06:26:13 > git --version # 'git version 2.17.1' 06:26:13 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:26:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:26:16 + sudo service docker restart+ 06:26:16 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:26:18 provisioning config files... 06:26:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3264170307332312728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:18 ---> docker-login.sh 06:26:18 nexus3.edgexfoundry.org:10001 06:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:19 Configure a credential helper to remove this warning. See 06:26:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:19 06:26:19 Login Succeeded 06:26:19 nexus3.edgexfoundry.org:10002 06:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:20 Configure a credential helper to remove this warning. See 06:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:20 06:26:20 Login Succeeded 06:26:20 nexus3.edgexfoundry.org:10003 06:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:21 Configure a credential helper to remove this warning. See 06:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:21 06:26:21 Login Succeeded 06:26:21 nexus3.edgexfoundry.org:10004 06:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:21 Configure a credential helper to remove this warning. See 06:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:21 06:26:21 Login Succeeded 06:26:21 docker.io 06:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:22 Configure a credential helper to remove this warning. See 06:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:22 06:26:22 Login Succeeded 06:26:22 ---> docker-login.sh ends [Pipeline] } 06:26:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:26:23 ========================================================= 06:26:23 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:26:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:26:23 + 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 . 06:26:26 Sending build context to Docker daemon 165.5MB 06:26:26 Step 1/7 : ARG BASE=golang:1.15-alpine 06:26:26 Step 2/7 : FROM ${BASE} 06:26:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:26:26 5f621e34cdf4: Pulling fs layer 06:26:26 a4357932f1b6: Pulling fs layer 06:26:26 18c013af1878: Pulling fs layer 06:26:26 00ac8860ef70: Pulling fs layer 06:26:26 63d7cb157983: Pulling fs layer 06:26:26 b116817d02f9: Pulling fs layer 06:26:26 745a02a5169b: Pulling fs layer 06:26:26 00ac8860ef70: Waiting 06:26:26 63d7cb157983: Waiting 06:26:26 b116817d02f9: Waiting 06:26:26 745a02a5169b: Waiting 06:26:26 18c013af1878: Download complete 06:26:26 a4357932f1b6: Verifying Checksum 06:26:26 a4357932f1b6: Download complete 06:26:26 63d7cb157983: Verifying Checksum 06:26:26 63d7cb157983: Download complete 06:26:26 b116817d02f9: Verifying Checksum 06:26:26 b116817d02f9: Download complete 06:26:26 5f621e34cdf4: Verifying Checksum 06:26:26 5f621e34cdf4: Download complete 06:26:27 5f621e34cdf4: Pull complete 06:26:28 a4357932f1b6: Pull complete 06:26:28 18c013af1878: Pull complete 06:26:29 745a02a5169b: Verifying Checksum 06:26:29 745a02a5169b: Download complete 06:26:30 00ac8860ef70: Verifying Checksum 06:26:30 00ac8860ef70: Download complete 06:26:40 00ac8860ef70: Pull complete 06:26:40 63d7cb157983: Pull complete 06:26:40 b116817d02f9: Pull complete 06:26:43 745a02a5169b: Pull complete 06:26:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:26:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:26:43 ---> b7e6874047d6 06:26:43 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 06:26:47 ---> Running in 0c4cd1ab18bc 06:26:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:26:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:26:50 (1/12) Installing libmagic (5.38-r0) 06:26:50 (2/12) Installing file (5.38-r0) 06:26:50 (3/12) Installing libc-dev (0.7.2-r3) 06:26:50 (4/12) Installing g++ (9.3.0-r2) 06:26:56 (5/12) Installing fortify-headers (1.1-r0) 06:26:56 (6/12) Installing patch (2.7.6-r6) 06:26:56 (7/12) Installing build-base (0.5-r2) 06:26:56 (8/12) Installing libsodium (1.0.18-r0) 06:26:56 (9/12) Installing pkgconf (1.7.2-r0) 06:26:56 (10/12) Installing libsodium-dev (1.0.18-r0) 06:26:56 (11/12) Installing libzmq (4.3.3-r0) 06:26:56 (12/12) Installing zeromq-dev (4.3.3-r0) 06:26:56 Executing busybox-1.31.1-r19.trigger 06:26:56 OK: 217 MiB in 51 packages 06:27:00 Removing intermediate container 0c4cd1ab18bc 06:27:00 ---> d1ad2d80c057 06:27:00 Step 4/7 : WORKDIR /edgex-go 06:27:00 ---> Running in 2e2740f68957 06:27:00 Removing intermediate container 2e2740f68957 06:27:00 ---> fdab503f1687 06:27:00 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 06:27:01 latest: Pulling from library/docker 06:27:01 a3cc7d3b244e: Pulling fs layer 06:27:01 02a3295e0d61: Pulling fs layer 06:27:01 0f4f2e6d8100: Pulling fs layer 06:27:01 065c9533d613: Pulling fs layer 06:27:01 9fce0df16b8b: Pulling fs layer 06:27:01 e3faa53604c1: Pulling fs layer 06:27:01 04b5adaa2053: Pulling fs layer 06:27:01 9fce0df16b8b: Waiting 06:27:01 065c9533d613: Waiting 06:27:01 e3faa53604c1: Waiting 06:27:01 04b5adaa2053: Waiting 06:27:02 0f4f2e6d8100: Verifying Checksum 06:27:02 0f4f2e6d8100: Download complete 06:27:02 a3cc7d3b244e: Verifying Checksum 06:27:02 a3cc7d3b244e: Download complete 06:27:02 02a3295e0d61: Verifying Checksum 06:27:02 02a3295e0d61: Download complete 06:27:02 e3faa53604c1: Verifying Checksum 06:27:02 e3faa53604c1: Download complete 06:27:02 04b5adaa2053: Verifying Checksum 06:27:02 04b5adaa2053: Download complete 06:27:02 9fce0df16b8b: Verifying Checksum 06:27:02 9fce0df16b8b: Download complete 06:27:02 a3cc7d3b244e: Pull complete 06:27:03 02a3295e0d61: Pull complete 06:27:03 065c9533d613: Verifying Checksum 06:27:03 065c9533d613: Download complete 06:27:03 0f4f2e6d8100: Pull complete 06:27:08 065c9533d613: Pull complete 06:27:08 9fce0df16b8b: Pull complete 06:27:08 e3faa53604c1: Pull complete 06:27:08 04b5adaa2053: Pull complete 06:27:08 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 06:27:08 Status: Downloaded newer image for docker:latest 06:27:13 ---> 833c7af0ec52 06:27:13 Step 6/7 : COPY go.mod . 06:27:13 ---> 24d185b90805 06:27:13 Step 7/7 : RUN go mod download 06:27:13 ---> Running in 37c63c313d2f 06:27:40 Removing intermediate container 37c63c313d2f 06:27:40 ---> 6cdd8eaa47b5 06:27:40 Successfully built 6cdd8eaa47b5 06:27:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:27:40 + docker inspect -f . ci-base-image-arm64 06:27:40 . [Pipeline] withDockerContainer 06:27:40 prd-ubuntu18.04-docker-arm64-4c-16g-16469 does not seem to be running inside a container 06:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:27:42 $ docker top 3688faa94a701c25d0493274cb38048728275e31ab481fecd5576c072526817a -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:43 + go version 06:27:43 go version go1.15.5 linux/arm64 [Pipeline] } 06:27:43 $ docker stop --time=1 3688faa94a701c25d0493274cb38048728275e31ab481fecd5576c072526817a 06:27:45 $ docker rm -f 3688faa94a701c25d0493274cb38048728275e31ab481fecd5576c072526817a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:46 + docker inspect -f . ci-base-image-arm64 06:27:46 . [Pipeline] withDockerContainer 06:27:46 prd-ubuntu18.04-docker-arm64-4c-16g-16469 does not seem to be running inside a container 06:27:47 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:27:48 $ docker top 0cd0343bfd6c4b7ecff983972c62a1d7e3a9c8eb0e557d3c0124e2869a376566 -eo pid,comm [Pipeline] { [Pipeline] echo 06:27:48 ========================================================= 06:27:48 [edgeXBuildGoParallel] Running Tests and Build... 06:27:48 ========================================================= [Pipeline] sh 06:27:49 + make test 06:27:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:28:11 ? github.com/edgexfoundry/edgex-go [no test files] 06:28:50 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 06:29:13 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.072s 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 06:29:13 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 06:29:14 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 06:29:14 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 06:29:14 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 06:29:14 ? github.com/edgexfoundry/edgex-go/internal [no test files] 06:29:23 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 06:29:23 internal/core/data/v2/application/event_test.go:55:18: undefined: dtos.ValueTypeUint16 06:29:23 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 06:29:23 internal/core/data/v2/controller/http/event_test.go:43:16: undefined: dtos.ValueTypeUint8 06:29:23 internal/core/data/v2/controller/http/event_test.go:70:17: undefined: dtos.ValueTypeUint8 06:29:23 internal/core/data/v2/controller/http/event_test.go:154:17: undefined: dtos.ValueTypeBinary 06:29:23 internal/core/data/v2/controller/http/event_test.go:166:17: undefined: dtos.ValueTypeBinary 06:29:23 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.235s coverage: 46.6% of statements 06:29:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 06:29:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 06:29:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 06:29:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 06:29:23 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 06:29:29 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.456s coverage: 27.1% of statements 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 06:29:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.069s coverage: 100.0% of statements 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 06:29:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.074s coverage: 100.0% of statements 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 06:29:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 06:29:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 06:29:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 06:29:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.159s coverage: 28.6% of statements 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 06:29:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.153s coverage: 100.0% of statements 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 06:29:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.073s coverage: 100.0% of statements 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 06:29:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.275s coverage: 86.7% of statements 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 06:29:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.391s coverage: 97.5% of statements 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 06:29:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.122s coverage: 78.3% of statements 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 06:29:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 06:29:42 --- FAIL: TestAddDeviceProfile_Created (0.04s) 06:29:42 --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.04s) 06:29:42 panic: 06:29:42 06:29:42 mock: Unexpected Method Call 06:29:42 ----------------------------- 06:29:42 06:29:42 AddDeviceProfile(models.DeviceProfile) 06:29:42 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}}} 06:29:42 06:29:42 The closest call I have is: 06:29:42 06:29:42 AddDeviceProfile(models.DeviceProfile) 06:29:42 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}}} 06:29:42 06:29:42 Difference found in argument 0: 06:29:42 06:29:42 --- Expected 06:29:42 +++ Actual 06:29:42 @@ -20,3 +20,3 @@ 06:29:42 Properties: (models.PropertyValue) { 06:29:42 - Type: (string) (len=5) "INT16", 06:29:42 + Type: (string) (len=5) "Int16", 06:29:42 ReadWrite: (string) (len=2) "RW", 06:29:42 06:29:42 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] 06:29:42 panic: 06:29:42 06:29:42 mock: Unexpected Method Call 06:29:42 ----------------------------- 06:29:42 06:29:42 AddDeviceProfile(models.DeviceProfile) 06:29:42 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}}} 06:29:42 06:29:42 The closest call I have is: 06:29:42 06:29:42 AddDeviceProfile(models.DeviceProfile) 06:29:42 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}}} 06:29:42 06:29:42 Difference found in argument 0: 06:29:42 06:29:42 --- Expected 06:29:42 +++ Actual 06:29:42 @@ -20,3 +20,3 @@ 06:29:42 Properties: (models.PropertyValue) { 06:29:42 - Type: (string) (len=5) "INT16", 06:29:42 + Type: (string) (len=5) "Int16", 06:29:42 ReadWrite: (string) (len=2) "RW", 06:29:42 06:29:42 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}]}) 06:29:42 06:29:42 goroutine 56 [running]: 06:29:42 testing.tRunner.func1.1(0x3e9980, 0x400041c8f0) 06:29:42 /usr/local/go/src/testing/testing.go:1072 +0x320 06:29:42 testing.tRunner.func1(0x40001a0c00) 06:29:42 /usr/local/go/src/testing/testing.go:1075 +0x460 06:29:42 panic(0x3e9980, 0x400041c8f0) 06:29:42 /usr/local/go/src/runtime/panic.go:975 +0x420 06:29:42 github.com/stretchr/testify/mock.(*Mock).fail(0x40005480a0, 0x46b615, 0x6f, 0x400042a0c0, 0x4, 0x4) 06:29:42 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:236 +0x180 06:29:42 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x40005480a0, 0x669377, 0x10, 0x4000339af0, 0x1, 0x1, 0x400034bd80, 0x4, 0x4) 06:29:42 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:366 +0x394 06:29:42 github.com/stretchr/testify/mock.(*Mock).Called(0x40005480a0, 0x4000339af0, 0x1, 0x1, 0x4000153000, 0x2e9400, 0x400034bd00) 06:29:42 /go/pkg/mod/github.com/stretchr/testify@v1.5.1/mock/mock.go:338 +0x15c 06:29:42 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks.(*DBClient).AddDeviceProfile(0x40005480a0, 0x0, 0x0, 0x40002f3f40, 0xf, 0x40002de6f0, 0x24, 0x40002e2e60, 0x15, 0x40002f3f30, ...) 06:29:42 /w/workspace/edgex-go/1/internal/core/metadata/v2/infrastructure/interfaces/mocks/DBClient.go:43 +0xec 06:29:42 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application.AddDeviceProfile(0x0, 0x0, 0x40002f3f40, 0xf, 0x40002de6f0, 0x24, 0x40002e2e60, 0x15, 0x40002f3f30, 0x10, ...) 06:29:42 /w/workspace/edgex-go/1/internal/core/metadata/v2/application/deviceprofile.go:31 +0x1ec 06:29:42 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.(*DeviceProfileController).AddDeviceProfile(0x40005341a0, 0x4df820, 0x400034b200, 0x40004d6800) 06:29:42 /w/workspace/edgex-go/1/internal/core/metadata/v2/controller/http/deviceprofile.go:69 +0x3e8 06:29:42 net/http.HandlerFunc.ServeHTTP(...) 06:29:42 /usr/local/go/src/net/http/server.go:2042 06:29:42 github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.TestAddDeviceProfile_Created.func2(0x40001a0c00) 06:29:42 /w/workspace/edgex-go/1/internal/core/metadata/v2/controller/http/deviceprofile_test.go:174 +0x334 06:29:42 testing.tRunner(0x40001a0c00, 0x4000452420) 06:29:42 /usr/local/go/src/testing/testing.go:1123 +0x174 06:29:42 created by testing.(*T).Run 06:29:42 /usr/local/go/src/testing/testing.go:1168 +0x43c 06:29:42 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.463s 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 06:29:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 06:29:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.184s coverage: 0.1% of statements 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 06:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 06:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.096s coverage: 75.5% of statements 06:29:42 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 06:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.087s coverage: 80.8% of statements 06:29:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.148s coverage: 87.2% of statements 06:29:43 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.252s coverage: 84.2% of statements 06:29:44 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.188s coverage: 91.4% of statements 06:29:44 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 06:29:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.622s coverage: 63.5% of statements 06:29:48 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 06:29:48 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 06:29:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.068s coverage: 100.0% of statements 06:29:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.116s coverage: 91.3% of statements 06:29:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.098s coverage: 100.0% of statements 06:29:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.106s coverage: 73.7% of statements 06:29:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.067s coverage: 100.0% of statements 06:29:53 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.799s coverage: 55.9% of statements 06:29:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 06:29:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 06:29:53 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 06:29:53 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 06:29:53 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 06:29:53 ? github.com/edgexfoundry/edgex-go/internal/security/secrets [no test files] 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 15.698s coverage: 86.3% of statements 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/command [no test files] 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 4.268s coverage: 72.2% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 1.508s coverage: 72.1% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.085s coverage: 82.4% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.069s coverage: 48.4% of statements 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/container [no test files] 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/contract [no test files] 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/directory [no test files] 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.116s coverage: 28.8% of statements 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/mocks [no test files] 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.094s coverage: 96.8% of statements 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secrets/test [no test files] 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.386s coverage: 37.0% of statements 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 06:30:08 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.559s coverage: 84.0% of statements 06:30:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.082s coverage: 100.0% of statements 06:30:10 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.354s coverage: 47.1% of statements 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 06:30:10 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.135s coverage: 100.0% of statements 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 06:30:10 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.092s coverage: 100.0% of statements 06:30:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.907s coverage: 29.1% of statements 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.216s coverage: 99.0% of statements 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.148s coverage: 100.0% of statements 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.054s coverage: 100.0% of statements 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.083s coverage: 87.9% of statements 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 06:30:18 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements 06:30:18 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.064s coverage: 32.1% of statements 06:30:19 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 06:30:19 FAIL 06:30:20 make: *** [Makefile:99: test] Error 2 [Pipeline] } 06:30:20 $ docker stop --time=1 0cd0343bfd6c4b7ecff983972c62a1d7e3a9c8eb0e557d3c0124e2869a376566 06:30:22 $ docker rm -f 0cd0343bfd6c4b7ecff983972c62a1d7e3a9c8eb0e557d3c0124e2869a376566 [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] } 06:30:25 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 06:30:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:30:30 ---> package-listing.sh 06:30:30 ++ facter osfamily 06:30:30 ++ tr '[:upper:]' '[:lower:]' 06:30:30 + OS_FAMILY=redhat 06:30:30 + workspace=/w/workspace/edgex-go/1 06:30:30 + START_PACKAGES=/tmp/packages_start.txt 06:30:30 + END_PACKAGES=/tmp/packages_end.txt 06:30:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:30:30 + PACKAGES=/tmp/packages_start.txt 06:30:30 + '[' /w/workspace/edgex-go/1 ']' 06:30:30 + PACKAGES=/tmp/packages_end.txt 06:30:30 + case "${OS_FAMILY}" in 06:30:30 + rpm -qa 06:30:30 + sort 06:30:35 + '[' -f /tmp/packages_start.txt ']' 06:30:35 + '[' -f /tmp/packages_end.txt ']' 06:30:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:30:35 + '[' /w/workspace/edgex-go/1 ']' 06:30:35 + mkdir -p /w/workspace/edgex-go/1/archives/ 06:30:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 06:30:35 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:30:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:30:36 06:30:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:30:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:30:36 alpine: Pulling from edgex-lftools-log-publisher 06:30:36 df20fa9351a1: Pulling fs layer 06:30:36 36b3adc4ff6f: Pulling fs layer 06:30:36 8ad3a11d3b57: Pulling fs layer 06:30:36 46f8f816bc3b: Pulling fs layer 06:30:36 93b61091891f: Pulling fs layer 06:30:36 93b9cdb0e59b: Pulling fs layer 06:30:36 5e14af77c1be: Pulling fs layer 06:30:36 01666e4c0597: Pulling fs layer 06:30:36 aa168da1d23b: Pulling fs layer 06:30:36 93b9cdb0e59b: Waiting 06:30:36 5e14af77c1be: Waiting 06:30:36 01666e4c0597: Waiting 06:30:36 aa168da1d23b: Waiting 06:30:36 46f8f816bc3b: Waiting 06:30:36 93b61091891f: Waiting 06:30:36 36b3adc4ff6f: Verifying Checksum 06:30:36 36b3adc4ff6f: Download complete 06:30:36 46f8f816bc3b: Verifying Checksum 06:30:36 46f8f816bc3b: Download complete 06:30:36 df20fa9351a1: Verifying Checksum 06:30:36 df20fa9351a1: Download complete 06:30:36 93b9cdb0e59b: Verifying Checksum 06:30:36 93b9cdb0e59b: Download complete 06:30:36 93b61091891f: Download complete 06:30:36 5e14af77c1be: Verifying Checksum 06:30:36 5e14af77c1be: Download complete 06:30:36 01666e4c0597: Verifying Checksum 06:30:36 01666e4c0597: Download complete 06:30:37 df20fa9351a1: Pull complete 06:30:37 36b3adc4ff6f: Pull complete 06:30:37 8ad3a11d3b57: Verifying Checksum 06:30:37 8ad3a11d3b57: Download complete 06:30:38 8ad3a11d3b57: Pull complete 06:30:38 46f8f816bc3b: Pull complete 06:30:39 93b61091891f: Pull complete 06:30:39 93b9cdb0e59b: Pull complete 06:30:39 aa168da1d23b: Verifying Checksum 06:30:39 aa168da1d23b: Download complete 06:30:39 5e14af77c1be: Pull complete 06:30:39 01666e4c0597: Pull complete 06:30:47 aa168da1d23b: Pull complete 06:30:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:30:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:30:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:30:48 prd-centos7-docker-4c-2g-16467 does not seem to be running inside a container 06:30:48 $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:30:52 $ docker top 676517ba637f452ac70a20d9b860e3d724ff3ffc56d248ba68504fcee3944022 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:52 + touch /tmp/pre-build-complete [Pipeline] sh 06:30:53 + mkdir -p /var/log/sa [Pipeline] sh 06:30:53 + ls /var/log/sa-host 06:30:53 + sadf -c /var/log/sa-host/sa17 06:30:53 file_magic: OK 06:30:53 HZ: Using current value: 100 06:30:53 file_header: OK 06:30:53 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 06:30:53 Statistics: 06:30:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:30:53 File successfully converted to sysstat format version 12.2.1 06:30:53 + sadf -c /var/log/sa-host/sa23 06:30:53 file_magic: OK 06:30:53 HZ: Using current value: 100 06:30:53 file_header: OK 06:30:53 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 06:30:53 Statistics: 06:30:53 Hnuu...uuuununununu... 06:30:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:53 provisioning config files... 06:30:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7180715601866551086tmp [Pipeline] { [Pipeline] echo 06:30:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:30:54 ---> create-netrc.sh [Pipeline] } 06:30:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:30:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:30:54 ---> python-tools-install.sh [Pipeline] echo 06:30:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:30:55 ---> sudo-logs.sh 06:30:55 Archiving 'sudo' log.. [Pipeline] echo 06:30:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:30:55 ---> job-cost.sh 06:30:55 lf-activate-venv: SKIPPING 06:30:55 INFO: No Stack... 06:30:56 INFO: Retrieving Pricing Info for: v1-standard-2 06:30:57 INFO: Archiving Costs [Pipeline] echo 06:30:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:30:57 ---> logs-deploy.sh 06:30:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2958/1 06:30:57 INFO: archiving workspace using pattern(s): 06:30:58 Archives upload complete. 06:30:58 INFO: archiving logs to Nexus