org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:

SpringSource Issue Tracker | Yifeng Xiao | 4 years ago
  1. 0

    http://bdc-jenkins.eng.vmware.com/view/Re-Architecture/job/serengeti-dawn-nightly/21/testngreports/com.vmware.qe.aurora.tests.provision.resourcepool/com.vmware.qe.aurora.tests.provision.resourcepool.ProvisionResourcePoolTest/testNotExistedRpAndVcCluster/? {code} Exception org.testng.TestException Message: Expected exception com.vmware.qe.aurora.exceptions.ServiceException but got org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace: at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1417) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1180) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.testng.TestNG.privateMain(TestNG.java:1301) at org.testng.TestNG.main(TestNG.java:1265) Caused by: org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1410) at org.testng.internal.Invoker.invokeMethod(Invoker.java:722) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) ... 16 more Caused by: com.vmware.qe.aurora.exceptions.ServiceException: resourcepool testrp add failed: resource pool xxxyyy is not found at com.vmware.qe.aurora.framework.impl.cli.Cli.validate(Cli.java:298) at com.vmware.qe.aurora.framework.impl.cli.Cli.add(Cli.java:57) at com.vmware.qe.aurora.tests.provision.resourcepool.ProvisionResourcePoolTest.testNotExistedRpAndVcCluster(ProvisionResourcePoolTest.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) {code}

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:
  2. 0

    http://bdc-jenkins.eng.vmware.com/view/Re-Architecture/job/serengeti-dawn-nightly/21/testngreports/com.vmware.qe.aurora.tests.provision.resourcepool/com.vmware.qe.aurora.tests.provision.resourcepool.ProvisionResourcePoolTest/testNotExistedRpAndVcCluster/? {code} Exception org.testng.TestException Message: Expected exception com.vmware.qe.aurora.exceptions.ServiceException but got org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace: at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1417) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1180) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.testng.TestNG.privateMain(TestNG.java:1301) at org.testng.TestNG.main(TestNG.java:1265) Caused by: org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1410) at org.testng.internal.Invoker.invokeMethod(Invoker.java:722) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) ... 16 more Caused by: com.vmware.qe.aurora.exceptions.ServiceException: resourcepool testrp add failed: resource pool xxxyyy is not found at com.vmware.qe.aurora.framework.impl.cli.Cli.validate(Cli.java:298) at com.vmware.qe.aurora.framework.impl.cli.Cli.add(Cli.java:57) at com.vmware.qe.aurora.tests.provision.resourcepool.ProvisionResourcePoolTest.testNotExistedRpAndVcCluster(ProvisionResourcePoolTest.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) {code}

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:

    Root Cause Analysis

    1. com.vmware.qe.aurora.exceptions.ServiceException

      resourcepool testrp add failed: resource pool xxxyyy is not found

      at com.vmware.qe.aurora.framework.impl.cli.Cli.validate()
    2. com.vmware.qe
      ProvisionResourcePoolTest.testNotExistedRpAndVcCluster
      1. com.vmware.qe.aurora.framework.impl.cli.Cli.validate(Cli.java:298)
      2. com.vmware.qe.aurora.framework.impl.cli.Cli.add(Cli.java:57)
      3. com.vmware.qe.aurora.tests.provision.resourcepool.ProvisionResourcePoolTest.testNotExistedRpAndVcCluster(ProvisionResourcePoolTest.java:31)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. TestNG
      Invoker.invokeMethod
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
      2 frames