The SMS query for ProviderInfo has an issue that I am having trouble debugging. After successfully registering the provider, I get an exception. Below is a piece of the trace:
INFO c.v.v.u.Assert [assertBoolean:258] [main] - Successfully registered provider.
INFO c.v.v.s.VasaProvider [queryProviderInfo:50] [main] - Querying for ProviderInfo...
INFO c.v.v.s.VasaProvider [queryProviderInfo:50] [main] - Querying for ProviderInfo...
ERROR c.v.v.e.OutcomePrinter [afterInvocation:40] [main] - exception thrown
com.vmware.vc.InvalidRequest: null
at com.vmware.vc.InvalidRequest$Factory.parse(Unknown Source) [vc.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_81]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_81]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_81]
at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_81]
at com.vmware.vc.ExtensionMapper.getTypeObject(Unknown Source) [vc.jar:na]
at com.vmware.vc.RuntimeFault$Factory.parse(Unknown Source) [vc.jar:na]
at com.vmware.vc.RuntimeFaultFault$Factory.parse(Unknown Source) [vc.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_81]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_81]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_81]
at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_81]
at com.vmware.vc.sms.ExtensionMapper.getTypeObject(Unknown Source) [vc-sms.jar:na]
at com.vmware.vc.sms.InternalSmsServiceStub.processFault(Unknown Source) [vc-sms.jar:na]
at com.vmware.vc.sms.InternalSmsServiceStub.queryProviderInfo(Unknown Source) [vc-sms.jar:na]
at com.vmware.vcqa.sm.VasaProvider.queryProviderInfo(VasaProvider.java:51) [vcqa.jar:na]
at sm.lifecycle.LifeCycleTestsHelper.registerVP(LifeCycleTestsHelper.java:190) [vasatests.jar:na]
at vasa.vp.Pos050.test(Pos050.java:120) [vasatests.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_81]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_81]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_81]
at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_81]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:640) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:627) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:798) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1102) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestRunner.runWorkers(TestRunner.java:1009) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestRunner.privateRun(TestRunner.java:683) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestRunner.run(TestRunner.java:553) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:311) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:306) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:268) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.SuiteRunner.run(SuiteRunner.java:217) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestNG.runSuite(TestNG.java:1062) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestNG.runSuitesLocally(TestNG.java:956) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestNG.run(TestNG.java:874) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestNG.privateMain(TestNG.java:1178) [testng-5.13.1.jar:5.13.1-201008031538]
at org.testng.TestNG.main(TestNG.java:1137) [testng-5.13.1.jar:5.13.1-201008031538]
INFO c.v.v.e.OutcomePrinter [afterInvocation:47] [main] - OUTCOME:FAIL
INFO c.v.v.s.VasaProvider [queryProviderInfo:50] [main] - Querying for ProviderInfo...
INFO c.v.v.v.VpxdConnectAnchor [createService:67] [main] - ConnectAnchor: Endpoint URL for Internal Vpxd Binding = http://10.79.189.88:443/sdk
ERROR c.v.v.u.TestUtil [handleException:3914] [main] - Caught Exception
org.apache.axis2.AxisFault: Unsupported version URI "urn:vpxd3/dev"
I do not know where the unsupported version URI comes from. This would seem to be an issue in the way the workbench test queries the SMS, and not directly related to the VASA provider being tested. Any suggestions are appreciated.
Thanks
eric