This is a multi-part message in MIME format.
--------------040906020901080705060505
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Patch d83d67ff715c0707b1715e09249532ca14c7e21a added a static Map that
cached UriBuilders. This made the test "testGet" in
"BackendHostNicLabelResourceTest" fail in some cases.
Since JUnit test order is not deterministic some tests would wrongly use
cached UriBuilders from previous tests and thus fail with the exception
below.
We've introduced patch 330d7aee596ad6ad8f6854eb73aeb75a3f67cd9e that
reverted the original patch till a suitable solution will be found so if
you encounter this failure you are encouraged to fetch it.
Feb 25, 2015 4:17:16 PM org.ovirt.engine.api.restapi.resource.BackendResource
setActionItem
SCHWERWIEGEND: Resource to action assignment failure.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.ovirt.engine.api.restapi.resource.BackendResource.setActionItem(BackendResource.java:452)
at
org.ovirt.engine.api.restapi.resource.AbstractBackendActionableResource.actionSuccess(AbstractBackendActionableResource.java:180)
at
org.ovirt.engine.api.restapi.resource.AbstractBackendActionableResource.doAction(AbstractBackendActionableResource.java:87)
at
org.ovirt.engine.api.restapi.resource.AbstractBackendActionableResource.doAction(AbstractBackendActionableResource.java:120)
at
org.ovirt.engine.api.restapi.resource.BackendStorageDomainImageResource.doImport(BackendStorageDomainImageResource.java:65)
at
org.ovirt.engine.api.restapi.resource.BackendStorageDomainImageResourceTest.testImport(BackendStorageDomainImageResourceTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.ovirt.engine.api.restapi.resource.BackendDisksResourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec
Running org.ovirt.engine.api.restapi.resource.BackendStatisticResourceTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec <<<
FAILURE!
Running org.ovirt.engine.api.restapi.resource.BackendRoleResourceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
Running org.ovirt.engine.api.restapi.resource.BackendReadOnlyNicsResourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.098 sec
Running org.ovirt.engine.api.restapi.resource.BackendIscsiBondNetworkResourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
Running org.ovirt.engine.api.restapi.resource.BackendHostHookResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running org.ovirt.engine.api.restapi.resource.BackendCdRomsResourceTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.246 sec
Running org.ovirt.engine.api.restapi.resource.BackendTemplateDiskResourceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
Running
org.ovirt.engine.api.restapi.resource.BackendEntityAssignedPermissionsResourceTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.199 sec
Running org.ovirt.engine.api.restapi.resource.BackendCreationResourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.ovirt.engine.api.restapi.resource.BackendJobsResourceTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.097 sec
Running org.ovirt.engine.api.restapi.resource.BackendVmPoolResourceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest
Tests run: 9, Failures: 3, Errors: 0, Skipped: 1, Time elapsed: 0.144 sec <<<
FAILURE!
Running org.ovirt.engine.api.restapi.resource.BackendStorageDomainTemplateResourceTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 sec
Running org.ovirt.engine.api.restapi.resource.BackendJobResourceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Results :
Failed tests:
testGet(org.ovirt.engine.api.restapi.resource.BackendHostNicLabelResourceTest)
testQuery(org.ovirt.engine.api.restapi.resource.externalhostproviders.BackendHostKatelloErrataResourceTest)
testList(org.ovirt.engine.api.restapi.resource.externalhostproviders.BackendHostKatelloErrataResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.externalhostproviders.BackendHostKatelloErratumResourceTest)
testGetForceTrue(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testUpdateWithClusterId(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testUpdateWithClusterName(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testGetIncludeStatistics(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testGetForceFalse(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testUpdate(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testAddHost(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testAddHostClusterById(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testQuery(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testListIncludeStatistics(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testAddHostClusterByName(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest)
testListIncludeStatistics(org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest)
testAddTagByName(org.ovirt.engine.api.restapi.resource.BackendHostTagsResourceTest)
testAddTag(org.ovirt.engine.api.restapi.resource.BackendHostTagsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostTagsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendStatisticsResourceTest)
testAdd(org.ovirt.engine.api.restapi.resource.BackendHostNicLabelsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostNicLabelsResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendStatisticResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest)
testGetVg(org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest)
--------------040906020901080705060505
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Patch d83d67ff715c0707b1715e09249532ca14c7e21a added a static Map
that cached UriBuilders. This made the test "testGet" in
"BackendHostNicLabelResourceTest" fail in some cases.<br>
Since JUnit test order is not deterministic some tests would wrongly
use cached UriBuilders from previous tests and thus fail with the
exception below.<br>
We've introduced patch <span style="color: rgb(53, 53, 53);
font-family: sans-serif; font-size: 10.6666669845581px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: nowrap; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(255, 255,
255);">330d7aee596ad6ad8f6854eb73aeb75a3f67cd9e</span>
that reverted the original patch till a suitable solution will be
found so if you encounter this failure you are encouraged to fetch
it.<br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<br>
<pre wrap="">Feb 25, 2015 4:17:16 PM
org.ovirt.engine.api.restapi.resource.BackendResource setActionItem
SCHWERWIEGEND: Resource to action assignment failure.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.ovirt.engine.api.restapi.resource.BackendResource.setActionItem(BackendResource.java:452)
at
org.ovirt.engine.api.restapi.resource.AbstractBackendActionableResource.actionSuccess(AbstractBackendActionableResource.java:180)
at
org.ovirt.engine.api.restapi.resource.AbstractBackendActionableResource.doAction(AbstractBackendActionableResource.java:87)
at
org.ovirt.engine.api.restapi.resource.AbstractBackendActionableResource.doAction(AbstractBackendActionableResource.java:120)
at
org.ovirt.engine.api.restapi.resource.BackendStorageDomainImageResource.doImport(BackendStorageDomainImageResource.java:65)
at
org.ovirt.engine.api.restapi.resource.BackendStorageDomainImageResourceTest.testImport(BackendStorageDomainImageResourceTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.ovirt.engine.api.restapi.resource.BackendDisksResourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec
Running org.ovirt.engine.api.restapi.resource.BackendStatisticResourceTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
<<< FAILURE!
Running org.ovirt.engine.api.restapi.resource.BackendRoleResourceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
Running org.ovirt.engine.api.restapi.resource.BackendReadOnlyNicsResourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.098 sec
Running org.ovirt.engine.api.restapi.resource.BackendIscsiBondNetworkResourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
Running org.ovirt.engine.api.restapi.resource.BackendHostHookResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running org.ovirt.engine.api.restapi.resource.BackendCdRomsResourceTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.246 sec
Running org.ovirt.engine.api.restapi.resource.BackendTemplateDiskResourceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
Running
org.ovirt.engine.api.restapi.resource.BackendEntityAssignedPermissionsResourceTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.199 sec
Running org.ovirt.engine.api.restapi.resource.BackendCreationResourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.ovirt.engine.api.restapi.resource.BackendJobsResourceTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.097 sec
Running org.ovirt.engine.api.restapi.resource.BackendVmPoolResourceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest
Tests run: 9, Failures: 3, Errors: 0, Skipped: 1, Time elapsed: 0.144 sec
<<< FAILURE!
Running org.ovirt.engine.api.restapi.resource.BackendStorageDomainTemplateResourceTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 sec
Running org.ovirt.engine.api.restapi.resource.BackendJobResourceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Results :
Failed tests:
testGet(org.ovirt.engine.api.restapi.resource.BackendHostNicLabelResourceTest)
testQuery(org.ovirt.engine.api.restapi.resource.externalhostproviders.BackendHostKatelloErrataResourceTest)
testList(org.ovirt.engine.api.restapi.resource.externalhostproviders.BackendHostKatelloErrataResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.externalhostproviders.BackendHostKatelloErratumResourceTest)
testGetForceTrue(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testUpdateWithClusterId(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testUpdateWithClusterName(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testGetIncludeStatistics(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testGetForceFalse(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testUpdate(org.ovirt.engine.api.restapi.resource.BackendHostResourceTest)
testAddHost(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testAddHostClusterById(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testQuery(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testListIncludeStatistics(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testAddHostClusterByName(org.ovirt.engine.api.restapi.resource.BackendHostsResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest)
testListIncludeStatistics(org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest)
testAddTagByName(org.ovirt.engine.api.restapi.resource.BackendHostTagsResourceTest)
testAddTag(org.ovirt.engine.api.restapi.resource.BackendHostTagsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostTagsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendStatisticsResourceTest)
testAdd(org.ovirt.engine.api.restapi.resource.BackendHostNicLabelsResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostNicLabelsResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendStatisticResourceTest)
testGet(org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest)
testGetVg(org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest)
testList(org.ovirt.engine.api.restapi.resource.BackendHostStorageResourceTest)
</pre>
<br>
</body>
</html>
--------------040906020901080705060505--