Pull request #3045 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch master at 2a4efc596d6299a706f2b1b5ea90705279ab33b1 rather than 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c Obtained Jenkinsfile from 2a4efc596d6299a706f2b1b5ea90705279ab33b1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24572 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/10 [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/10 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 2a4efc596d6299a706f2b1b5ea90705279ab33b1 into PR head commit 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c Merge succeeded, producing 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c Checking out Revision 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c (PR-3045) > 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/3045/head:refs/remotes/origin/PR-3045 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c # 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 2a4efc596d6299a706f2b1b5ea90705279ab33b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c # timeout=10 Commit message: "feat(notifications): Implement POST /subscription V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:08:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:08:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:08:42 ========================================================= 16:08:42 EdgeX Global Pipelines Version Info 16:08:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 559437349852cd536165913e20adae43b911e452 # timeout=10 16:08:43 ------------------- 16:08:43 stable info: 16:08:43 ------------------- 16:08:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:08:43 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 16:08:43 Message: update stable to v1.0.179 16:08:44 ------------------- 16:08:44 experimental info: 16:08:44 ------------------- 16:08:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:08:44 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 16:08:44 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:08:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 16:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:08:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3045 [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3045 [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3045 [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b400c5 [Pipeline] echo 16:08:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:08:47 provisioning config files... 16:08:47 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/10@tmp/config6271710032148499428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:48 ---> docker-login.sh 16:08:48 nexus3.edgexfoundry.org:10001 16:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:48 Configure a credential helper to remove this warning. See 16:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:48 16:08:48 Login Succeeded 16:08:48 nexus3.edgexfoundry.org:10002 16:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:49 Configure a credential helper to remove this warning. See 16:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:49 16:08:49 Login Succeeded 16:08:49 nexus3.edgexfoundry.org:10003 16:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:49 Configure a credential helper to remove this warning. See 16:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:49 16:08:49 Login Succeeded 16:08:49 nexus3.edgexfoundry.org:10004 16:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:49 Configure a credential helper to remove this warning. See 16:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:49 16:08:49 Login Succeeded 16:08:49 docker.io 16:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:49 Configure a credential helper to remove this warning. See 16:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:49 16:08:49 Login Succeeded 16:08:49 ---> docker-login.sh ends [Pipeline] } 16:08:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:50 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/core-command/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo core-command,cmd/core-command/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/core-data/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo core-data,cmd/core-data/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/core-metadata/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo core-metadata,cmd/core-metadata/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/security-bootstrapper/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/security-proxy-setup/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/security-secretstore-setup/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/support-notifications/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo support-notifications,cmd/support-notifications/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/support-scheduler/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:08:50 + for file in '`ls cmd/**/Dockerfile`' 16:08:50 ++ dirname cmd/sys-mgmt-agent/Dockerfile 16:08:50 ++ cut -d/ -f2 16:08:50 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:08:50 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-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:51 16:08:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:08:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:52 latest: Pulling from edgex-devops/git-semver 16:08:52 31603596830f: Pulling fs layer 16:08:52 2a8b12db71e7: Pulling fs layer 16:08:52 6ca5941a6612: Pulling fs layer 16:08:52 ecc8261a40a4: Pulling fs layer 16:08:52 ecc8261a40a4: Waiting 16:08:52 2a8b12db71e7: Verifying Checksum 16:08:52 2a8b12db71e7: Download complete 16:08:52 31603596830f: Download complete 16:08:52 ecc8261a40a4: Verifying Checksum 16:08:52 ecc8261a40a4: Download complete 16:08:52 6ca5941a6612: Verifying Checksum 16:08:52 6ca5941a6612: Download complete 16:08:52 31603596830f: Pull complete 16:08:52 2a8b12db71e7: Pull complete 16:08:53 6ca5941a6612: Pull complete 16:08:53 ecc8261a40a4: Pull complete 16:08:53 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:08:53 prd-centos7-docker-4c-2g-24572 does not seem to be running inside a container 16:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:08:56 $ docker top cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:56 [ssh-agent] Looking for ssh-agent implementation... 16:08:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:56 $ docker exec cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e ssh-agent 16:08:57 SSH_AUTH_SOCK=/tmp/ssh-3olUMNN6mwAN/agent.11 16:08:57 SSH_AGENT_PID=17 16:08:57 Running ssh-add (command line suppressed) 16:08:57 Identity added: /w/workspace/edgex-go/10@tmp/private_key_4537829274690787693.key (/w/workspace/edgex-go/10@tmp/private_key_4537829274690787693.key) 16:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:57 + git tag --points-at HEAD [Pipeline] } 16:08:57 $ docker exec --env ******** --env ******** cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e ssh-agent -k 16:08:57 unset SSH_AUTH_SOCK; 16:08:57 unset SSH_AGENT_PID; 16:08:57 echo Agent pid 17 killed; 16:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:08:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:57 [ssh-agent] Looking for ssh-agent implementation... 16:08:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:58 $ docker exec cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e ssh-agent 16:08:58 SSH_AUTH_SOCK=/tmp/ssh-GfHIocCooNSK/agent.48 16:08:58 SSH_AGENT_PID=53 16:08:58 Running ssh-add (command line suppressed) 16:08:58 Identity added: /w/workspace/edgex-go/10@tmp/private_key_894646204039218377.key (/w/workspace/edgex-go/10@tmp/private_key_894646204039218377.key) 16:08:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:58 + git semver init 16:08:58 # -> Open(): unable to determine branch for HEAD 16:08:58 # $GIT_DIR = /w/workspace/edgex-go/10/.git 16:08:58 # $GIT_WORK_TREE = /w/workspace/edgex-go/10 16:08:58 # $SEMVER_REMOTE_NAME = origin 16:08:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:08:58 # $SEMVER_USER_NAME = edgex-jenkins 16:08:58 # $SEMVER_BRANCH = PR-3045 16:08:58 # $SEMVER_TEMP = /tmp/semver-116536690 16:08:58 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:09:17 # '/tmp/semver-116536690' -> '/w/workspace/edgex-go/10/.semver' 16:09:17 # -> Force: false 16:09:17 # $SEMVER_DIR = /w/workspace/edgex-go/10/.semver [Pipeline] } 16:09:17 $ docker exec --env ******** --env ******** cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e ssh-agent -k 16:09:17 unset SSH_AUTH_SOCK; 16:09:17 unset SSH_AGENT_PID; 16:09:17 echo Agent pid 53 killed; 16:09:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:17 + git semver [Pipeline] } 16:09:17 $ docker stop --time=1 cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e 16:09:19 $ docker rm -f cf58a648887607994db2c202054922ecfe9acc7ebafa9625948865049809402e [Pipeline] // withDockerContainer [Pipeline] sh 16:09:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:20 Stashed 1 file(s) [Pipeline] echo 16:09:20 [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 16:09:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:09:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:09:22 + sudo service docker restart 16:09:22 + true 16:09:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 16:09:22 ========================================================= 16:09:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:09:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:09:23 + 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 . 16:09:27 Sending build context to Docker daemon 327.5MB 16:09:27 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 16:09:27 Step 2/6 : FROM ${BASE} 16:09:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:09:27 188c0c94c7c5: Pulling fs layer 16:09:27 0ef7d3d256c8: Pulling fs layer 16:09:27 de9db76c5a1d: Pulling fs layer 16:09:27 bca2f99d35d6: Pulling fs layer 16:09:27 93359f2a8cfa: Pulling fs layer 16:09:27 7c6f9722023f: Pulling fs layer 16:09:27 a35cf1a2eb13: Pulling fs layer 16:09:27 93359f2a8cfa: Waiting 16:09:27 7c6f9722023f: Waiting 16:09:27 bca2f99d35d6: Waiting 16:09:27 a35cf1a2eb13: Waiting 16:09:27 de9db76c5a1d: Verifying Checksum 16:09:27 de9db76c5a1d: Download complete 16:09:27 0ef7d3d256c8: Verifying Checksum 16:09:27 0ef7d3d256c8: Download complete 16:09:27 93359f2a8cfa: Verifying Checksum 16:09:27 93359f2a8cfa: Download complete 16:09:27 188c0c94c7c5: Verifying Checksum 16:09:27 188c0c94c7c5: Download complete 16:09:27 7c6f9722023f: Verifying Checksum 16:09:27 7c6f9722023f: Download complete 16:09:27 188c0c94c7c5: Pull complete 16:09:27 0ef7d3d256c8: Pull complete 16:09:27 de9db76c5a1d: Pull complete 16:09:29 a35cf1a2eb13: Verifying Checksum 16:09:29 a35cf1a2eb13: Download complete 16:09:29 bca2f99d35d6: Download complete 16:09:34 bca2f99d35d6: Pull complete 16:09:34 93359f2a8cfa: Pull complete 16:09:34 7c6f9722023f: Pull complete 16:09:35 Still waiting to schedule task 16:09:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:09:39 a35cf1a2eb13: Pull complete 16:09:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:09:39 ---> a62c8e92a672 16:09:39 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 16:09:39 ---> Running in 0a33a21cd910 16:09:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:09:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:09:40 (1/12) Installing libmagic (5.38-r0) 16:09:40 (2/12) Installing file (5.38-r0) 16:09:41 (3/12) Installing libc-dev (0.7.2-r3) 16:09:41 (4/12) Installing g++ (9.3.0-r2) 16:09:49 (5/12) Installing fortify-headers (1.1-r0) 16:09:49 (6/12) Installing patch (2.7.6-r6) 16:09:49 (7/12) Installing build-base (0.5-r2) 16:09:49 (8/12) Installing libsodium (1.0.18-r0) 16:09:49 (9/12) Installing pkgconf (1.7.2-r0) 16:09:49 (10/12) Installing libsodium-dev (1.0.18-r0) 16:09:49 (11/12) Installing libzmq (4.3.3-r0) 16:09:49 (12/12) Installing zeromq-dev (4.3.3-r0) 16:09:49 Executing busybox-1.31.1-r19.trigger 16:09:49 OK: 233 MiB in 51 packages 16:09:52 Removing intermediate container 0a33a21cd910 16:09:52 ---> b849c8a75c40 16:09:52 Step 4/6 : WORKDIR /edgex-go 16:09:52 ---> Running in 6baadffb0f08 16:09:52 Removing intermediate container 6baadffb0f08 16:09:52 ---> 422fe64590a9 16:09:52 Step 5/6 : COPY go.mod . 16:09:52 ---> 4e63f6ff2d29 16:09:52 Step 6/6 : RUN go mod download 16:09:52 ---> Running in 91a78b78e1d6 16:10:14 Removing intermediate container 91a78b78e1d6 16:10:14 ---> 229a04de0784 16:10:14 Successfully built 229a04de0784 16:10:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:10:15 + docker inspect -f . ci-base-image-x86_64 16:10:15 . [Pipeline] withDockerContainer 16:10:15 prd-centos7-docker-4c-2g-24572 does not seem to be running inside a container 16:10:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:16 $ docker top eccc8bf41b05b58e0fc54fe27a358c2c56e92a833db6a61def69a5455e13b7fd -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:16 + go version 16:10:16 go version go1.15.5 linux/amd64 [Pipeline] } 16:10:16 $ docker stop --time=1 eccc8bf41b05b58e0fc54fe27a358c2c56e92a833db6a61def69a5455e13b7fd 16:10:17 $ docker rm -f eccc8bf41b05b58e0fc54fe27a358c2c56e92a833db6a61def69a5455e13b7fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:10:18 + docker inspect -f . ci-base-image-x86_64 16:10:18 . [Pipeline] withDockerContainer 16:10:18 prd-centos7-docker-4c-2g-24572 does not seem to be running inside a container 16:10:18 $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:19 $ docker top 01b8fe7237a252345fadc2ae8f752032f108641de3a48f6153cc6e0d93632181 -eo pid,comm [Pipeline] { [Pipeline] echo 16:10:19 ========================================================= 16:10:19 [edgeXBuildGoParallel] Running Tests and Build... 16:10:19 ========================================================= [Pipeline] sh 16:10:20 + make test 16:10:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:10:30 ? github.com/edgexfoundry/edgex-go [no test files] 16:10:45 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:10:49 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:10:49 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:10:49 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:10:49 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 16:10:52 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:10:52 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:10:52 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:10:52 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:10:52 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 16:10:52 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 16:10:55 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 16:10:55 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 16:10:55 ? github.com/edgexfoundry/edgex-go/internal [no test files] 16:10:56 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.097s coverage: 46.0% of statements 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 16:10:56 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [no test files] 16:10:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.061s coverage: 100.0% of statements 16:10:59 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.160s coverage: 27.1% of statements 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 16:10:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.042s coverage: 100.0% of statements 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 16:10:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.037s coverage: 100.0% of statements 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 16:10:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.082s coverage: 65.8% of statements 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 16:10:59 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 16:11:00 --- FAIL: TestAddEvent (0.03s) 16:11:00 --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.00s) 16:11:00 event_test.go:225: 16:11:00 Error Trace: event_test.go:225 16:11:00 Error: Not equal: 16:11:00 expected: 201 16:11:00 actual : 400 16:11:00 Test: TestAddEvent/Valid_-_AddEventRequest 16:11:00 Messages: HTTP status code not as expected 16:11:00 event_test.go:227: 16:11:00 Error Trace: event_test.go:227 16:11:00 Error: Not equal: 16:11:00 expected: 201 16:11:00 actual : 400 16:11:00 Test: TestAddEvent/Valid_-_AddEventRequest 16:11:00 Messages: BaseResponse status code not as expected 16:11:00 event_test.go:231: 16:11:00 Error Trace: event_test.go:231 16:11:00 Error: Should be empty, but was event json decoding failed 16:11:00 Test: TestAddEvent/Valid_-_AddEventRequest 16:11:00 Messages: Message should be empty when it is successful 16:11:00 --- FAIL: TestAddEvent/Valid_-_No_RequestId (0.00s) 16:11:00 event_test.go:225: 16:11:00 Error Trace: event_test.go:225 16:11:00 Error: Not equal: 16:11:00 expected: 201 16:11:00 actual : 400 16:11:00 Test: TestAddEvent/Valid_-_No_RequestId 16:11:00 Messages: HTTP status code not as expected 16:11:00 event_test.go:227: 16:11:00 Error Trace: event_test.go:227 16:11:00 Error: Not equal: 16:11:00 expected: 201 16:11:00 actual : 400 16:11:00 Test: TestAddEvent/Valid_-_No_RequestId 16:11:00 Messages: BaseResponse status code not as expected 16:11:00 event_test.go:231: 16:11:00 Error Trace: event_test.go:231 16:11:00 Error: Should be empty, but was event json decoding failed 16:11:00 Test: TestAddEvent/Valid_-_No_RequestId 16:11:00 Messages: Message should be empty when it is successful 16:11:00 FAIL 16:11:00 coverage: 78.8% of statements 16:11:00 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.104s 16:11:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 16:11:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 16:11:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 16:11:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 16:11:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.334s coverage: 28.6% of statements 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 16:11:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.088s coverage: 100.0% of statements 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 16:11:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.038s coverage: 100.0% of statements 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 16:11:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.100s coverage: 86.7% of statements 16:11:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 16:11:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.099s coverage: 97.5% of statements 16:11:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 16:11:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.059s coverage: 78.3% of statements 16:11:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 16:11:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 16:11:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 16:11:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 16:11:05 --- FAIL: TestAddDevice (0.02s) 16:11:05 --- FAIL: TestAddDevice/Valid (0.00s) 16:11:05 device_test.go:204: 16:11:05 Error Trace: device_test.go:204 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestAddDevice/Valid 16:11:05 --- FAIL: TestAddDevice/Invalid_-_not_found_service (0.00s) 16:11:05 device_test.go:204: 16:11:05 Error Trace: device_test.go:204 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestAddDevice/Invalid_-_not_found_service 16:11:05 --- FAIL: TestAddDevice/Invalid_-_not_found_profile (0.00s) 16:11:05 device_test.go:204: 16:11:05 Error Trace: device_test.go:204 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestAddDevice/Invalid_-_not_found_profile 16:11:05 --- FAIL: TestPatchDevice (0.04s) 16:11:05 --- FAIL: TestPatchDevice/Valid (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Valid 16:11:05 --- FAIL: TestPatchDevice/Valid_-_no_requestId (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Valid_-_no_requestId 16:11:05 --- FAIL: TestPatchDevice/Valid_-_no_id (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Valid_-_no_id 16:11:05 --- FAIL: TestPatchDevice/Valid_-_no_name (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Valid_-_no_name 16:11:05 --- FAIL: TestPatchDevice/Invalid_-_not_found_id (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Invalid_-_not_found_id 16:11:05 --- FAIL: TestPatchDevice/Invalid_-_not_found_name (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Invalid_-_not_found_name 16:11:05 --- FAIL: TestPatchDevice/Invalid_-_not_found_service (0.00s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Invalid_-_not_found_service 16:11:05 --- FAIL: TestPatchDevice/Invalid_-_not_found_profile (0.01s) 16:11:05 device_test.go:528: 16:11:05 Error Trace: device_test.go:528 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDevice/Invalid_-_not_found_profile 16:11:05 --- FAIL: TestAddDeviceProfile_Created (0.01s) 16:11:05 --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.00s) 16:11:05 deviceprofile_test.go:179: 16:11:05 Error Trace: deviceprofile_test.go:179 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest 16:11:05 --- FAIL: TestAddDeviceProfile_Created/Valid_-_No_requestId (0.00s) 16:11:05 deviceprofile_test.go:179: 16:11:05 Error Trace: deviceprofile_test.go:179 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceProfile_Created/Valid_-_No_requestId 16:11:05 --- FAIL: TestAddDeviceProfile_Duplicated (0.00s) 16:11:05 --- FAIL: TestAddDeviceProfile_Duplicated/duplicate_id (0.00s) 16:11:05 deviceprofile_test.go:322: 16:11:05 Error Trace: deviceprofile_test.go:322 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceProfile_Duplicated/duplicate_id 16:11:05 --- FAIL: TestAddDeviceProfile_Duplicated/duplicate_name (0.00s) 16:11:05 deviceprofile_test.go:322: 16:11:05 Error Trace: deviceprofile_test.go:322 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceProfile_Duplicated/duplicate_name 16:11:05 --- FAIL: TestUpdateDeviceProfile (0.01s) 16:11:05 --- FAIL: TestUpdateDeviceProfile/Valid_-_DeviceProfileRequest (0.00s) 16:11:05 deviceprofile_test.go:444: 16:11:05 Error Trace: deviceprofile_test.go:444 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestUpdateDeviceProfile/Valid_-_DeviceProfileRequest 16:11:05 --- FAIL: TestUpdateDeviceProfile/Valid_-_No_requestId (0.00s) 16:11:05 deviceprofile_test.go:444: 16:11:05 Error Trace: deviceprofile_test.go:444 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestUpdateDeviceProfile/Valid_-_No_requestId 16:11:05 --- FAIL: TestAddDeviceProfileByYaml_Created (0.00s) 16:11:05 deviceprofile_test.go:489: 16:11:05 Error Trace: deviceprofile_test.go:489 16:11:05 Error: Not equal: 16:11:05 expected: 201 16:11:05 actual : 400 16:11:05 Test: TestAddDeviceProfileByYaml_Created 16:11:05 Messages: HTTP status code not as expected 16:11:05 deviceprofile_test.go:491: 16:11:05 Error Trace: deviceprofile_test.go:491 16:11:05 Error: Not equal: 16:11:05 expected: 201 16:11:05 actual : 400 16:11:05 Test: TestAddDeviceProfileByYaml_Created 16:11:05 Messages: BaseResponse status code not as expected 16:11:05 deviceprofile_test.go:492: 16:11:05 Error Trace: deviceprofile_test.go:492 16:11:05 Error: Should be empty, but was DeviceProfile.Versionable.ApiVersion field is required 16:11:05 Test: TestAddDeviceProfileByYaml_Created 16:11:05 Messages: Message should be empty when it is successful 16:11:05 --- FAIL: TestAddDeviceProfileByYaml_Duplicated (0.00s) 16:11:05 deviceprofile_test.go:607: 16:11:05 Error Trace: deviceprofile_test.go:607 16:11:05 Error: Not equal: 16:11:05 expected: 409 16:11:05 actual : 400 16:11:05 Test: TestAddDeviceProfileByYaml_Duplicated 16:11:05 Messages: HTTP status code not as expected 16:11:05 deviceprofile_test.go:609: 16:11:05 Error Trace: deviceprofile_test.go:609 16:11:05 Error: Not equal: 16:11:05 expected: 409 16:11:05 actual : 400 16:11:05 Test: TestAddDeviceProfileByYaml_Duplicated 16:11:05 Messages: BaseResponse status code not as expected 16:11:05 deviceprofile_test.go:610: 16:11:05 Error Trace: deviceprofile_test.go:610 16:11:05 Error: "DeviceProfile.Versionable.ApiVersion field is required" does not contain "device profile TestDeviceProfileName already exists" 16:11:05 Test: TestAddDeviceProfileByYaml_Duplicated 16:11:05 Messages: Message not as expected 16:11:05 --- FAIL: TestUpdateDeviceProfileByYaml (0.03s) 16:11:05 --- FAIL: TestUpdateDeviceProfileByYaml/Valid (0.00s) 16:11:05 deviceprofile_test.go:737: 16:11:05 Error Trace: deviceprofile_test.go:737 16:11:05 Error: Not equal: 16:11:05 expected: 200 16:11:05 actual : 400 16:11:05 Test: TestUpdateDeviceProfileByYaml/Valid 16:11:05 Messages: HTTP status code not as expected 16:11:05 deviceprofile_test.go:739: 16:11:05 Error Trace: deviceprofile_test.go:739 16:11:05 Error: Not equal: 16:11:05 expected: 200 16:11:05 actual : 400 16:11:05 Test: TestUpdateDeviceProfileByYaml/Valid 16:11:05 Messages: HTTP status code not as expected 16:11:05 --- FAIL: TestUpdateDeviceProfileByYaml/Not_found (0.00s) 16:11:05 deviceprofile_test.go:737: 16:11:05 Error Trace: deviceprofile_test.go:737 16:11:05 Error: Not equal: 16:11:05 expected: 404 16:11:05 actual : 400 16:11:05 Test: TestUpdateDeviceProfileByYaml/Not_found 16:11:05 Messages: HTTP status code not as expected 16:11:05 deviceprofile_test.go:739: 16:11:05 Error Trace: deviceprofile_test.go:739 16:11:05 Error: Not equal: 16:11:05 expected: 404 16:11:05 actual : 400 16:11:05 Test: TestUpdateDeviceProfileByYaml/Not_found 16:11:05 Messages: HTTP status code not as expected 16:11:05 --- FAIL: TestAddDeviceService (0.01s) 16:11:05 --- FAIL: TestAddDeviceService/Request_Normal (0.00s) 16:11:05 deviceservice_test.go:170: 16:11:05 Error Trace: deviceservice_test.go:170 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceService/Request_Normal 16:11:05 --- FAIL: TestAddDeviceService/Request_without_requestId (0.00s) 16:11:05 deviceservice_test.go:170: 16:11:05 Error Trace: deviceservice_test.go:170 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceService/Request_without_requestId 16:11:05 --- FAIL: TestAddDeviceService/Request_with_duplicate_service_name (0.00s) 16:11:05 deviceservice_test.go:170: 16:11:05 Error Trace: deviceservice_test.go:170 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestAddDeviceService/Request_with_duplicate_service_name 16:11:05 --- FAIL: TestPatchDeviceService (0.01s) 16:11:05 --- FAIL: TestPatchDeviceService/Valid (0.00s) 16:11:05 deviceservice_test.go:350: 16:11:05 Error Trace: deviceservice_test.go:350 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDeviceService/Valid 16:11:05 --- FAIL: TestPatchDeviceService/Valid_-_no_requestId (0.00s) 16:11:05 deviceservice_test.go:350: 16:11:05 Error Trace: deviceservice_test.go:350 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDeviceService/Valid_-_no_requestId 16:11:05 --- FAIL: TestPatchDeviceService/Valid_-_no_id (0.00s) 16:11:05 deviceservice_test.go:350: 16:11:05 Error Trace: deviceservice_test.go:350 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDeviceService/Valid_-_no_id 16:11:05 --- FAIL: TestPatchDeviceService/Valid_-_no_name (0.00s) 16:11:05 deviceservice_test.go:350: 16:11:05 Error Trace: deviceservice_test.go:350 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDeviceService/Valid_-_no_name 16:11:05 --- FAIL: TestPatchDeviceService/Invalid_-_not_found_id (0.00s) 16:11:05 deviceservice_test.go:350: 16:11:05 Error Trace: deviceservice_test.go:350 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDeviceService/Invalid_-_not_found_id 16:11:05 --- FAIL: TestPatchDeviceService/Invalid_-_not_found_name (0.00s) 16:11:05 deviceservice_test.go:350: 16:11:05 Error Trace: deviceservice_test.go:350 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestPatchDeviceService/Invalid_-_not_found_name 16:11:05 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Created (0.00s) 16:11:05 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_AddProvisionWatcherRequest (0.00s) 16:11:05 provisionwatcher_test.go:136: 16:11:05 Error Trace: provisionwatcher_test.go:136 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_AddProvisionWatcherRequest 16:11:05 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_no_RequestId (0.00s) 16:11:05 provisionwatcher_test.go:136: 16:11:05 Error Trace: provisionwatcher_test.go:136 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_no_RequestId 16:11:05 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Duplicated (0.00s) 16:11:05 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_id (0.00s) 16:11:05 provisionwatcher_test.go:236: 16:11:05 Error Trace: provisionwatcher_test.go:236 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_id 16:11:05 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_name (0.00s) 16:11:05 provisionwatcher_test.go:236: 16:11:05 Error Trace: provisionwatcher_test.go:236 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:11:05 Test: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_name 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher (0.02s) 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_requestId (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_requestId 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_id (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_id 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_name (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_name 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_id (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_id 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_name (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_name 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_service (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_service 16:11:05 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_profile (0.00s) 16:11:05 provisionwatcher_test.go:711: 16:11:05 Error Trace: provisionwatcher_test.go:711 16:11:05 Error: Received unexpected error: 16:11:05 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:05 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_profile 16:11:05 FAIL 16:11:05 coverage: 74.7% of statements 16:11:05 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.369s 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.029s coverage: 58.8% of statements 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.053s coverage: 0.1% of statements 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 16:11:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.028s coverage: 45.5% of statements 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.045s coverage: 79.5% of statements 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.041s coverage: 94.1% of statements 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.068s coverage: 96.3% of statements 16:11:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.032s coverage: 87.5% of statements 16:11:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.042s coverage: 94.4% of statements 16:11:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.038s coverage: 44.8% of statements 16:11:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24573 in /w/workspace/edgexfoundry_edgex-go_PR-3045 [Pipeline] { [Pipeline] ws 16:11:27 Running in /w/workspace/edgex-go/10 [Pipeline] { [Pipeline] checkout 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.064s coverage: 92.9% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.050s coverage: 87.2% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.042s coverage: 75.5% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.032s coverage: 80.8% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.043s coverage: 84.2% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.4% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.159s coverage: 63.5% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.033s coverage: 100.0% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 91.3% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.267s coverage: 68.9% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.085s coverage: 37.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.282s coverage: 84.0% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.037s coverage: 100.0% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.126s coverage: 47.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.047s coverage: 100.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.044s coverage: 100.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.071s coverage: 100.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.669s coverage: 29.1% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.066s coverage: 99.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.045s coverage: 100.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 16:11:29 --- FAIL: TestAddInterval (0.01s) 16:11:29 --- FAIL: TestAddInterval/Valid (0.00s) 16:11:29 interval_test.go:133: 16:11:29 Error Trace: interval_test.go:133 16:11:29 Error: Received unexpected error: 16:11:29 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:29 Test: TestAddInterval/Valid 16:11:29 --- FAIL: TestAddInterval/Valid_-_no_request_Id (0.00s) 16:11:29 interval_test.go:133: 16:11:29 Error Trace: interval_test.go:133 16:11:29 Error: Received unexpected error: 16:11:29 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:29 Test: TestAddInterval/Valid_-_no_request_Id 16:11:29 --- FAIL: TestAddInterval/Invalid_-_duplicated_name (0.00s) 16:11:29 interval_test.go:133: 16:11:29 Error Trace: interval_test.go:133 16:11:29 Error: Received unexpected error: 16:11:29 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:11:29 Test: TestAddInterval/Invalid_-_duplicated_name 16:11:29 FAIL 16:11:29 coverage: 51.7% of statements 16:11:29 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.039s 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/system 0.035s coverage: 0.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.029s coverage: 100.0% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.044s coverage: 87.9% of statements 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 16:11:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.040s coverage: 100.0% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements 16:11:29 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 100.0% of statements 16:11:29 FAIL 16:11:29 make: *** [Makefile:98: test] Error 1 [Pipeline] } 16:11:29 $ docker stop --time=1 01b8fe7237a252345fadc2ae8f752032f108641de3a48f6153cc6e0d93632181 16:11:31 $ docker rm -f 01b8fe7237a252345fadc2ae8f752032f108641de3a48f6153cc6e0d93632181 [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] } 16:11:32 using credential edgex-jenkins-ssh [Pipeline] // stage 16:11:32 Cloning the remote Git repository [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:11:33 Failed in branch amd64 16:11:32 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:11:33 > git init /w/workspace/edgex-go/10 # timeout=10 16:11:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:11:33 > git --version # timeout=10 16:11:33 > git --version # 'git version 2.17.1' 16:11:33 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:11:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:11:49 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:11:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3045/head:refs/remotes/origin/PR-3045 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:11:50 Merging remotes/origin/master commit 2a4efc596d6299a706f2b1b5ea90705279ab33b1 into PR head commit 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c 16:11:50 Merge succeeded, producing 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c 16:11:50 Checking out Revision 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c (PR-3045) 16:11:50 > git config core.sparsecheckout # timeout=10 16:11:50 > git checkout -f 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c # timeout=10 16:11:50 > git remote # timeout=10 16:11:50 > git config --get remote.origin.url # timeout=10 16:11:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:50 > git merge 2a4efc596d6299a706f2b1b5ea90705279ab33b1 # timeout=10 16:11:50 > git rev-parse HEAD^{commit} # timeout=10 16:11:50 > git config core.sparsecheckout # timeout=10 16:11:50 > git checkout -f 1b400c5499d3575fa8f1315a72e6abf86b0e2f7c # timeout=10 16:11:54 Commit message: "feat(notifications): Implement POST /subscription V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:11:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:11:57 + sudo service docker restart 16:11:57 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:11:59 provisioning config files... 16:11:59 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/10@tmp/config61270902024112993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:59 ---> docker-login.sh 16:11:59 nexus3.edgexfoundry.org:10001 16:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:01 Configure a credential helper to remove this warning. See 16:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:01 16:12:01 Login Succeeded 16:12:01 nexus3.edgexfoundry.org:10002 16:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:01 Configure a credential helper to remove this warning. See 16:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:01 16:12:01 Login Succeeded 16:12:01 nexus3.edgexfoundry.org:10003 16:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:01 Configure a credential helper to remove this warning. See 16:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:01 16:12:01 Login Succeeded 16:12:01 nexus3.edgexfoundry.org:10004 16:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:02 Configure a credential helper to remove this warning. See 16:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:02 16:12:02 Login Succeeded 16:12:02 docker.io 16:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:03 Configure a credential helper to remove this warning. See 16:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:03 16:12:03 Login Succeeded 16:12:03 ---> docker-login.sh ends [Pipeline] } 16:12:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:12:03 ========================================================= 16:12:03 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:12:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:12:03 + 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 . 16:12:06 Sending build context to Docker daemon 166.1MB 16:12:06 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 16:12:06 Step 2/6 : FROM ${BASE} 16:12:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:12:06 5f621e34cdf4: Pulling fs layer 16:12:06 a4357932f1b6: Pulling fs layer 16:12:06 18c013af1878: Pulling fs layer 16:12:06 00ac8860ef70: Pulling fs layer 16:12:06 63d7cb157983: Pulling fs layer 16:12:06 b116817d02f9: Pulling fs layer 16:12:06 745a02a5169b: Pulling fs layer 16:12:06 00ac8860ef70: Waiting 16:12:06 b116817d02f9: Waiting 16:12:06 63d7cb157983: Waiting 16:12:06 745a02a5169b: Waiting 16:12:06 18c013af1878: Verifying Checksum 16:12:06 18c013af1878: Download complete 16:12:06 a4357932f1b6: Verifying Checksum 16:12:06 a4357932f1b6: Download complete 16:12:06 63d7cb157983: Verifying Checksum 16:12:06 63d7cb157983: Download complete 16:12:06 b116817d02f9: Verifying Checksum 16:12:06 b116817d02f9: Download complete 16:12:06 5f621e34cdf4: Verifying Checksum 16:12:06 5f621e34cdf4: Download complete 16:12:07 5f621e34cdf4: Pull complete 16:12:07 a4357932f1b6: Pull complete 16:12:08 18c013af1878: Pull complete 16:12:09 745a02a5169b: Verifying Checksum 16:12:09 745a02a5169b: Download complete 16:12:10 00ac8860ef70: Verifying Checksum 16:12:10 00ac8860ef70: Download complete 16:12:20 00ac8860ef70: Pull complete 16:12:20 63d7cb157983: Pull complete 16:12:20 b116817d02f9: Pull complete 16:12:24 745a02a5169b: Pull complete 16:12:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:12:24 ---> b7e6874047d6 16:12:24 Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 16:12:28 ---> Running in 19663b3befb1 16:12:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:12:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:12:30 (1/12) Installing libmagic (5.38-r0) 16:12:30 (2/12) Installing file (5.38-r0) 16:12:30 (3/12) Installing libc-dev (0.7.2-r3) 16:12:30 (4/12) Installing g++ (9.3.0-r2) 16:12:35 (5/12) Installing fortify-headers (1.1-r0) 16:12:35 (6/12) Installing patch (2.7.6-r6) 16:12:35 (7/12) Installing build-base (0.5-r2) 16:12:35 (8/12) Installing libsodium (1.0.18-r0) 16:12:35 (9/12) Installing pkgconf (1.7.2-r0) 16:12:35 (10/12) Installing libsodium-dev (1.0.18-r0) 16:12:35 (11/12) Installing libzmq (4.3.3-r0) 16:12:35 (12/12) Installing zeromq-dev (4.3.3-r0) 16:12:35 Executing busybox-1.31.1-r19.trigger 16:12:35 OK: 217 MiB in 51 packages 16:12:39 Removing intermediate container 19663b3befb1 16:12:39 ---> 3312ea9d5e21 16:12:39 Step 4/6 : WORKDIR /edgex-go 16:12:39 ---> Running in d42feaf582d3 16:12:39 Removing intermediate container d42feaf582d3 16:12:39 ---> 3c81c4b5da78 16:12:39 Step 5/6 : COPY go.mod . 16:12:40 ---> e82e230b2384 16:12:40 Step 6/6 : RUN go mod download 16:12:40 ---> Running in dce97c185e07 16:13:07 Removing intermediate container dce97c185e07 16:13:07 ---> 67cd2272910b 16:13:07 Successfully built 67cd2272910b 16:13:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:13:07 + docker inspect -f . ci-base-image-arm64 16:13:07 . [Pipeline] withDockerContainer 16:13:08 prd-ubuntu18.04-docker-arm64-4c-16g-24573 does not seem to be running inside a container 16:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:10 $ docker top b9bef442f8298714c7cea30ed06bc2bbe0d9d2b7f8791d3226a90d55fbc4785a -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:11 + go version 16:13:11 go version go1.15.5 linux/arm64 [Pipeline] } 16:13:11 $ docker stop --time=1 b9bef442f8298714c7cea30ed06bc2bbe0d9d2b7f8791d3226a90d55fbc4785a 16:13:13 $ docker rm -f b9bef442f8298714c7cea30ed06bc2bbe0d9d2b7f8791d3226a90d55fbc4785a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:13:14 + docker inspect -f . ci-base-image-arm64 16:13:14 . [Pipeline] withDockerContainer 16:13:14 prd-ubuntu18.04-docker-arm64-4c-16g-24573 does not seem to be running inside a container 16:13:14 $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:15 $ docker top 8c92aaedd3d6761405e20a3aff65fa0bc3c778c466e65719c00e064fc1703c81 -eo pid,comm [Pipeline] { [Pipeline] echo 16:13:16 ========================================================= 16:13:16 [edgeXBuildGoParallel] Running Tests and Build... 16:13:16 ========================================================= [Pipeline] sh 16:13:16 + make test 16:13:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:13:39 ? github.com/edgexfoundry/edgex-go [no test files] 16:14:26 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:14:31 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:14:35 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:14:35 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:14:35 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 16:14:44 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:14:44 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:14:44 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:14:44 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:14:44 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 16:14:44 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 16:14:51 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 16:14:51 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 16:14:51 ? github.com/edgexfoundry/edgex-go/internal [no test files] 16:14:57 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.351s coverage: 46.0% of statements 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 16:14:57 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2/application [no test files] 16:14:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.129s coverage: 100.0% of statements 16:15:04 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.508s coverage: 27.1% of statements 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 16:15:04 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.120s coverage: 100.0% of statements 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 16:15:04 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.080s coverage: 100.0% of statements 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 16:15:04 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.440s coverage: 65.8% of statements 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 16:15:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 16:15:06 --- FAIL: TestAddEvent (0.09s) 16:15:06 --- FAIL: TestAddEvent/Valid_-_AddEventRequest (0.01s) 16:15:06 event_test.go:225: 16:15:06 Error Trace: event_test.go:225 16:15:06 Error: Not equal: 16:15:06 expected: 201 16:15:06 actual : 400 16:15:06 Test: TestAddEvent/Valid_-_AddEventRequest 16:15:06 Messages: HTTP status code not as expected 16:15:06 event_test.go:227: 16:15:06 Error Trace: event_test.go:227 16:15:06 Error: Not equal: 16:15:06 expected: 201 16:15:06 actual : 400 16:15:06 Test: TestAddEvent/Valid_-_AddEventRequest 16:15:06 Messages: BaseResponse status code not as expected 16:15:06 event_test.go:231: 16:15:06 Error Trace: event_test.go:231 16:15:06 Error: Should be empty, but was event json decoding failed 16:15:06 Test: TestAddEvent/Valid_-_AddEventRequest 16:15:06 Messages: Message should be empty when it is successful 16:15:06 --- FAIL: TestAddEvent/Valid_-_No_RequestId (0.00s) 16:15:06 event_test.go:225: 16:15:06 Error Trace: event_test.go:225 16:15:06 Error: Not equal: 16:15:06 expected: 201 16:15:06 actual : 400 16:15:06 Test: TestAddEvent/Valid_-_No_RequestId 16:15:06 Messages: HTTP status code not as expected 16:15:06 event_test.go:227: 16:15:06 Error Trace: event_test.go:227 16:15:06 Error: Not equal: 16:15:06 expected: 201 16:15:06 actual : 400 16:15:06 Test: TestAddEvent/Valid_-_No_RequestId 16:15:06 Messages: BaseResponse status code not as expected 16:15:06 event_test.go:231: 16:15:06 Error Trace: event_test.go:231 16:15:06 Error: Should be empty, but was event json decoding failed 16:15:06 Test: TestAddEvent/Valid_-_No_RequestId 16:15:06 Messages: Message should be empty when it is successful 16:15:06 FAIL 16:15:06 coverage: 78.8% of statements 16:15:06 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.395s 16:15:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 16:15:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 16:15:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 16:15:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 16:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.206s coverage: 28.6% of statements 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 16:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.198s coverage: 100.0% of statements 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 16:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.068s coverage: 100.0% of statements 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 16:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.368s coverage: 86.7% of statements 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 16:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.374s coverage: 97.5% of statements 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 16:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.140s coverage: 78.3% of statements 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 16:15:15 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 16:15:23 --- FAIL: TestAddDevice (0.07s) 16:15:23 --- FAIL: TestAddDevice/Valid (0.01s) 16:15:23 device_test.go:204: 16:15:23 Error Trace: device_test.go:204 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestAddDevice/Valid 16:15:23 --- FAIL: TestAddDevice/Invalid_-_not_found_service (0.00s) 16:15:23 device_test.go:204: 16:15:23 Error Trace: device_test.go:204 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestAddDevice/Invalid_-_not_found_service 16:15:23 --- FAIL: TestAddDevice/Invalid_-_not_found_profile (0.00s) 16:15:23 device_test.go:204: 16:15:23 Error Trace: device_test.go:204 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestAddDevice/Invalid_-_not_found_profile 16:15:23 --- FAIL: TestPatchDevice (0.08s) 16:15:23 --- FAIL: TestPatchDevice/Valid (0.01s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Valid 16:15:23 --- FAIL: TestPatchDevice/Valid_-_no_requestId (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Valid_-_no_requestId 16:15:23 --- FAIL: TestPatchDevice/Valid_-_no_id (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Valid_-_no_id 16:15:23 --- FAIL: TestPatchDevice/Valid_-_no_name (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Valid_-_no_name 16:15:23 --- FAIL: TestPatchDevice/Invalid_-_not_found_id (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Invalid_-_not_found_id 16:15:23 --- FAIL: TestPatchDevice/Invalid_-_not_found_name (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Invalid_-_not_found_name 16:15:23 --- FAIL: TestPatchDevice/Invalid_-_not_found_service (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Invalid_-_not_found_service 16:15:23 --- FAIL: TestPatchDevice/Invalid_-_not_found_profile (0.00s) 16:15:23 device_test.go:528: 16:15:23 Error Trace: device_test.go:528 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDevice/Invalid_-_not_found_profile 16:15:23 --- FAIL: TestAddDeviceProfile_Created (0.02s) 16:15:23 --- FAIL: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest (0.01s) 16:15:23 deviceprofile_test.go:179: 16:15:23 Error Trace: deviceprofile_test.go:179 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceProfile_Created/Valid_-_AddDeviceProfileRequest 16:15:23 --- FAIL: TestAddDeviceProfile_Created/Valid_-_No_requestId (0.00s) 16:15:23 deviceprofile_test.go:179: 16:15:23 Error Trace: deviceprofile_test.go:179 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceProfile_Created/Valid_-_No_requestId 16:15:23 --- FAIL: TestAddDeviceProfile_Duplicated (0.01s) 16:15:23 --- FAIL: TestAddDeviceProfile_Duplicated/duplicate_id (0.01s) 16:15:23 deviceprofile_test.go:322: 16:15:23 Error Trace: deviceprofile_test.go:322 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceProfile_Duplicated/duplicate_id 16:15:23 --- FAIL: TestAddDeviceProfile_Duplicated/duplicate_name (0.00s) 16:15:23 deviceprofile_test.go:322: 16:15:23 Error Trace: deviceprofile_test.go:322 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceProfile_Duplicated/duplicate_name 16:15:23 --- FAIL: TestUpdateDeviceProfile (0.05s) 16:15:23 --- FAIL: TestUpdateDeviceProfile/Valid_-_DeviceProfileRequest (0.01s) 16:15:23 deviceprofile_test.go:444: 16:15:23 Error Trace: deviceprofile_test.go:444 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestUpdateDeviceProfile/Valid_-_DeviceProfileRequest 16:15:23 --- FAIL: TestUpdateDeviceProfile/Valid_-_No_requestId (0.01s) 16:15:23 deviceprofile_test.go:444: 16:15:23 Error Trace: deviceprofile_test.go:444 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestUpdateDeviceProfile/Valid_-_No_requestId 16:15:23 --- FAIL: TestAddDeviceProfileByYaml_Created (0.02s) 16:15:23 deviceprofile_test.go:489: 16:15:23 Error Trace: deviceprofile_test.go:489 16:15:23 Error: Not equal: 16:15:23 expected: 201 16:15:23 actual : 400 16:15:23 Test: TestAddDeviceProfileByYaml_Created 16:15:23 Messages: HTTP status code not as expected 16:15:23 deviceprofile_test.go:491: 16:15:23 Error Trace: deviceprofile_test.go:491 16:15:23 Error: Not equal: 16:15:23 expected: 201 16:15:23 actual : 400 16:15:23 Test: TestAddDeviceProfileByYaml_Created 16:15:23 Messages: BaseResponse status code not as expected 16:15:23 deviceprofile_test.go:492: 16:15:23 Error Trace: deviceprofile_test.go:492 16:15:23 Error: Should be empty, but was DeviceProfile.Versionable.ApiVersion field is required 16:15:23 Test: TestAddDeviceProfileByYaml_Created 16:15:23 Messages: Message should be empty when it is successful 16:15:23 --- FAIL: TestAddDeviceProfileByYaml_Duplicated (0.02s) 16:15:23 deviceprofile_test.go:607: 16:15:23 Error Trace: deviceprofile_test.go:607 16:15:23 Error: Not equal: 16:15:23 expected: 409 16:15:23 actual : 400 16:15:23 Test: TestAddDeviceProfileByYaml_Duplicated 16:15:23 Messages: HTTP status code not as expected 16:15:23 deviceprofile_test.go:609: 16:15:23 Error Trace: deviceprofile_test.go:609 16:15:23 Error: Not equal: 16:15:23 expected: 409 16:15:23 actual : 400 16:15:23 Test: TestAddDeviceProfileByYaml_Duplicated 16:15:23 Messages: BaseResponse status code not as expected 16:15:23 deviceprofile_test.go:610: 16:15:23 Error Trace: deviceprofile_test.go:610 16:15:23 Error: "DeviceProfile.Versionable.ApiVersion field is required" does not contain "device profile TestDeviceProfileName already exists" 16:15:23 Test: TestAddDeviceProfileByYaml_Duplicated 16:15:23 Messages: Message not as expected 16:15:23 --- FAIL: TestUpdateDeviceProfileByYaml (0.11s) 16:15:23 --- FAIL: TestUpdateDeviceProfileByYaml/Valid (0.01s) 16:15:23 deviceprofile_test.go:737: 16:15:23 Error Trace: deviceprofile_test.go:737 16:15:23 Error: Not equal: 16:15:23 expected: 200 16:15:23 actual : 400 16:15:23 Test: TestUpdateDeviceProfileByYaml/Valid 16:15:23 Messages: HTTP status code not as expected 16:15:23 deviceprofile_test.go:739: 16:15:23 Error Trace: deviceprofile_test.go:739 16:15:23 Error: Not equal: 16:15:23 expected: 200 16:15:23 actual : 400 16:15:23 Test: TestUpdateDeviceProfileByYaml/Valid 16:15:23 Messages: HTTP status code not as expected 16:15:23 --- FAIL: TestUpdateDeviceProfileByYaml/Not_found (0.01s) 16:15:23 deviceprofile_test.go:737: 16:15:23 Error Trace: deviceprofile_test.go:737 16:15:23 Error: Not equal: 16:15:23 expected: 404 16:15:23 actual : 400 16:15:23 Test: TestUpdateDeviceProfileByYaml/Not_found 16:15:23 Messages: HTTP status code not as expected 16:15:23 deviceprofile_test.go:739: 16:15:23 Error Trace: deviceprofile_test.go:739 16:15:23 Error: Not equal: 16:15:23 expected: 404 16:15:23 actual : 400 16:15:23 Test: TestUpdateDeviceProfileByYaml/Not_found 16:15:23 Messages: HTTP status code not as expected 16:15:23 --- FAIL: TestAddDeviceService (0.03s) 16:15:23 --- FAIL: TestAddDeviceService/Request_Normal (0.02s) 16:15:23 deviceservice_test.go:170: 16:15:23 Error Trace: deviceservice_test.go:170 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceService/Request_Normal 16:15:23 --- FAIL: TestAddDeviceService/Request_without_requestId (0.00s) 16:15:23 deviceservice_test.go:170: 16:15:23 Error Trace: deviceservice_test.go:170 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceService/Request_without_requestId 16:15:23 --- FAIL: TestAddDeviceService/Request_with_duplicate_service_name (0.00s) 16:15:23 deviceservice_test.go:170: 16:15:23 Error Trace: deviceservice_test.go:170 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestAddDeviceService/Request_with_duplicate_service_name 16:15:23 --- FAIL: TestPatchDeviceService (0.04s) 16:15:23 --- FAIL: TestPatchDeviceService/Valid (0.01s) 16:15:23 deviceservice_test.go:350: 16:15:23 Error Trace: deviceservice_test.go:350 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDeviceService/Valid 16:15:23 --- FAIL: TestPatchDeviceService/Valid_-_no_requestId (0.00s) 16:15:23 deviceservice_test.go:350: 16:15:23 Error Trace: deviceservice_test.go:350 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDeviceService/Valid_-_no_requestId 16:15:23 --- FAIL: TestPatchDeviceService/Valid_-_no_id (0.00s) 16:15:23 deviceservice_test.go:350: 16:15:23 Error Trace: deviceservice_test.go:350 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDeviceService/Valid_-_no_id 16:15:23 --- FAIL: TestPatchDeviceService/Valid_-_no_name (0.00s) 16:15:23 deviceservice_test.go:350: 16:15:23 Error Trace: deviceservice_test.go:350 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDeviceService/Valid_-_no_name 16:15:23 --- FAIL: TestPatchDeviceService/Invalid_-_not_found_id (0.00s) 16:15:23 deviceservice_test.go:350: 16:15:23 Error Trace: deviceservice_test.go:350 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDeviceService/Invalid_-_not_found_id 16:15:23 --- FAIL: TestPatchDeviceService/Invalid_-_not_found_name (0.00s) 16:15:23 deviceservice_test.go:350: 16:15:23 Error Trace: deviceservice_test.go:350 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestPatchDeviceService/Invalid_-_not_found_name 16:15:23 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Created (0.01s) 16:15:23 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_AddProvisionWatcherRequest (0.01s) 16:15:23 provisionwatcher_test.go:136: 16:15:23 Error Trace: provisionwatcher_test.go:136 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_AddProvisionWatcherRequest 16:15:23 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_no_RequestId (0.00s) 16:15:23 provisionwatcher_test.go:136: 16:15:23 Error Trace: provisionwatcher_test.go:136 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestProvisionWatcherController_AddProvisionWatcher_Created/Valid_-_no_RequestId 16:15:23 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Duplicated (0.01s) 16:15:23 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_id (0.00s) 16:15:23 provisionwatcher_test.go:236: 16:15:23 Error Trace: provisionwatcher_test.go:236 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_id 16:15:23 --- FAIL: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_name (0.00s) 16:15:23 provisionwatcher_test.go:236: 16:15:23 Error Trace: provisionwatcher_test.go:236 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseWithIdResponse 16:15:23 Test: TestProvisionWatcherController_AddProvisionWatcher_Duplicated/duplicate_name 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher (0.06s) 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid (0.01s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_requestId (0.01s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_requestId 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_id (0.01s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_id 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_name (0.00s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Valid_-_no_name 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_id (0.00s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_id 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_name (0.00s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_name 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_service (0.00s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_service 16:15:23 --- FAIL: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_profile (0.00s) 16:15:23 provisionwatcher_test.go:711: 16:15:23 Error Trace: provisionwatcher_test.go:711 16:15:23 Error: Received unexpected error: 16:15:23 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:15:23 Test: TestProvisionWatcherController_PatchProvisionWatcher/Invalid_-_not_found_profile 16:15:23 FAIL 16:15:23 coverage: 74.7% of statements 16:15:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.178s 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.211s coverage: 0.1% of statements 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 16:15:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.068s coverage: 45.5% of statements 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.087s coverage: 79.5% of statements 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.095s coverage: 94.1% of statements 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.125s coverage: 96.3% of statements 16:15:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.066s coverage: 87.5% of statements 16:15:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.078s coverage: 94.4% of statements 16:15:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.055s coverage: 44.8% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.120s coverage: 92.9% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.076s coverage: 75.5% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.067s coverage: 80.8% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.130s coverage: 87.2% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.127s coverage: 84.2% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.188s coverage: 91.4% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.553s coverage: 63.5% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.060s coverage: 100.0% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.084s coverage: 91.3% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.080s coverage: 73.7% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.045s coverage: 100.0% of statements 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.758s coverage: 68.9% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 16:15:50 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.379s coverage: 37.0% of statements 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 16:15:50 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 16:15:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.544s coverage: 84.0% of statements 16:15:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.082s coverage: 100.0% of statements 16:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.459s coverage: 47.0% of statements 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 16:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.106s coverage: 100.0% of statements 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 16:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.114s coverage: 100.0% of statements 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 16:15:59 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.237s coverage: 100.0% of statements 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 16:15:59 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.006s coverage: 29.1% of statements 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.226s coverage: 99.0% of statements 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.087s coverage: 100.0% of statements 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 16:16:07 --- FAIL: TestAddInterval (0.02s) 16:16:07 --- FAIL: TestAddInterval/Valid (0.01s) 16:16:07 interval_test.go:133: 16:16:07 Error Trace: interval_test.go:133 16:16:07 Error: Received unexpected error: 16:16:07 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:16:07 Test: TestAddInterval/Valid 16:16:07 --- FAIL: TestAddInterval/Valid_-_no_request_Id (0.00s) 16:16:07 interval_test.go:133: 16:16:07 Error Trace: interval_test.go:133 16:16:07 Error: Received unexpected error: 16:16:07 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:16:07 Test: TestAddInterval/Valid_-_no_request_Id 16:16:07 --- FAIL: TestAddInterval/Invalid_-_duplicated_name (0.00s) 16:16:07 interval_test.go:133: 16:16:07 Error Trace: interval_test.go:133 16:16:07 Error: Received unexpected error: 16:16:07 json: cannot unmarshal object into Go value of type []common.BaseResponse 16:16:07 Test: TestAddInterval/Invalid_-_duplicated_name 16:16:07 FAIL 16:16:07 coverage: 51.7% of statements 16:16:07 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.142s 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/system 0.046s coverage: 0.0% of statements 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.055s coverage: 100.0% of statements 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.094s coverage: 87.9% of statements 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 16:16:07 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.081s coverage: 100.0% of statements 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.061s coverage: 32.1% of statements 16:16:07 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 16:16:07 FAIL 16:16:08 make: *** [Makefile:98: test] Error 1 [Pipeline] } 16:16:08 $ docker stop --time=1 8c92aaedd3d6761405e20a3aff65fa0bc3c778c466e65719c00e064fc1703c81 16:16:10 $ docker rm -f 8c92aaedd3d6761405e20a3aff65fa0bc3c778c466e65719c00e064fc1703c81 [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] } 16:16:12 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 16:16:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:16:16 ---> package-listing.sh 16:16:16 ++ facter osfamily 16:16:16 ++ tr '[:upper:]' '[:lower:]' 16:16:16 + OS_FAMILY=redhat 16:16:16 + workspace=/w/workspace/edgex-go/10 16:16:16 + START_PACKAGES=/tmp/packages_start.txt 16:16:16 + END_PACKAGES=/tmp/packages_end.txt 16:16:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:16:16 + PACKAGES=/tmp/packages_start.txt 16:16:16 + '[' /w/workspace/edgex-go/10 ']' 16:16:16 + PACKAGES=/tmp/packages_end.txt 16:16:16 + case "${OS_FAMILY}" in 16:16:16 + rpm -qa 16:16:16 + sort 16:16:21 + '[' -f /tmp/packages_start.txt ']' 16:16:21 + '[' -f /tmp/packages_end.txt ']' 16:16:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:16:21 + '[' /w/workspace/edgex-go/10 ']' 16:16:21 + mkdir -p /w/workspace/edgex-go/10/archives/ 16:16:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/10/archives/ [Pipeline] echo 16:16:21 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/10/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:16:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:16:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:16:21 16:16:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:16:22 alpine: Pulling from edgex-lftools-log-publisher 16:16:22 df20fa9351a1: Pulling fs layer 16:16:22 36b3adc4ff6f: Pulling fs layer 16:16:22 8ad3a11d3b57: Pulling fs layer 16:16:22 46f8f816bc3b: Pulling fs layer 16:16:22 93b61091891f: Pulling fs layer 16:16:22 93b9cdb0e59b: Pulling fs layer 16:16:22 5e14af77c1be: Pulling fs layer 16:16:22 01666e4c0597: Pulling fs layer 16:16:22 aa168da1d23b: Pulling fs layer 16:16:22 46f8f816bc3b: Waiting 16:16:22 93b61091891f: Waiting 16:16:22 93b9cdb0e59b: Waiting 16:16:22 01666e4c0597: Waiting 16:16:22 aa168da1d23b: Waiting 16:16:22 36b3adc4ff6f: Verifying Checksum 16:16:22 36b3adc4ff6f: Download complete 16:16:22 46f8f816bc3b: Verifying Checksum 16:16:22 46f8f816bc3b: Download complete 16:16:22 df20fa9351a1: Verifying Checksum 16:16:22 df20fa9351a1: Download complete 16:16:22 93b9cdb0e59b: Verifying Checksum 16:16:22 93b9cdb0e59b: Download complete 16:16:22 93b61091891f: Download complete 16:16:22 5e14af77c1be: Verifying Checksum 16:16:22 5e14af77c1be: Download complete 16:16:22 01666e4c0597: Verifying Checksum 16:16:22 01666e4c0597: Download complete 16:16:22 8ad3a11d3b57: Verifying Checksum 16:16:22 8ad3a11d3b57: Download complete 16:16:23 df20fa9351a1: Pull complete 16:16:23 36b3adc4ff6f: Pull complete 16:16:24 8ad3a11d3b57: Pull complete 16:16:24 46f8f816bc3b: Pull complete 16:16:24 93b61091891f: Pull complete 16:16:24 aa168da1d23b: Verifying Checksum 16:16:24 aa168da1d23b: Download complete 16:16:24 93b9cdb0e59b: Pull complete 16:16:24 5e14af77c1be: Pull complete 16:16:24 01666e4c0597: Pull complete 16:16:33 aa168da1d23b: Pull complete 16:16:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:16:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:16:33 prd-centos7-docker-4c-2g-24572 does not seem to be running inside a container 16:16:33 $ 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/10/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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:16:36 $ docker top b6c070bd38cddf0b1ffa9271a01ba6d209b633765f7b4a858a6a6ca09b0baed4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:16:37 + mkdir -p /var/log/sa [Pipeline] sh 16:16:37 + ls /var/log/sa-host 16:16:37 + sadf -c /var/log/sa-host/sa02 16:16:37 file_magic: OK 16:16:37 HZ: Using current value: 100 16:16:37 file_header: OK 16:16:37 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 16:16:37 Statistics: 16:16:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:16:37 File successfully converted to sysstat format version 12.2.1 16:16:37 + sadf -c /var/log/sa-host/sa23 16:16:37 file_magic: OK 16:16:37 HZ: Using current value: 100 16:16:37 file_header: OK 16:16:37 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 16:16:37 Statistics: 16:16:37 Hnuu...uuuununununu... 16:16:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:38 provisioning config files... 16:16:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/10@tmp/config6757063950585677878tmp [Pipeline] { [Pipeline] echo 16:16:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:16:38 ---> create-netrc.sh [Pipeline] } 16:16:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:16:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:16:38 ---> python-tools-install.sh [Pipeline] echo 16:16:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:16:39 ---> sudo-logs.sh 16:16:39 Archiving 'sudo' log.. [Pipeline] echo 16:16:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:16:39 ---> job-cost.sh 16:16:39 lf-activate-venv: SKIPPING 16:16:39 INFO: No Stack... 16:16:40 INFO: Retrieving Pricing Info for: v1-standard-2 16:16:41 INFO: Archiving Costs [Pipeline] echo 16:16:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:16:41 ---> logs-deploy.sh 16:16:41 lf-activate-venv: SKIPPING 16:16:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3045/10 16:16:41 INFO: archiving workspace using pattern(s): 16:16:42 Archives upload complete. 16:16:42 INFO: archiving logs to Nexus