|
Commit "75b18ef BUG-7446: pull in guava-21" https://git.opendaylight.org/gerrit/#/c/49821/ causes the lispflowmapping in-repository PAX-EXAMP based integration tests to fail. Lispflowmapping doesn't mention Guava explicitly as a dependency anywhere the POMs, since it is expected to be provided by other dependencies. The integration tests have org.opendaylight.controller/mdsal-it-parent/1.5.0-SNAPSHOT as their parent.
This is shown in the build log:
Tests in error:
MappingServiceIntegrationTest.testLCAFs:355->registerAndQuery__SrcDestLCAF:1767 » ClassNotFound
MappingServiceIntegrationTest.testMultiSite:415->testMultiSiteScenarioA:662 » ClassNotFound
MappingServiceIntegrationTest.testNegativePrefix:421->insertMappings:618 NoClassDefFound
MappingServiceIntegrationTest.testSmr:410->testRepeatedSmr:444 » ClassNotFound
MappingServiceIntegrationTest.testTimeOuts:395->timedOutMappingRecord:2112 NoClassDefFound
Full build log: https://logs.opendaylight.org/releng/jenkins092/lispflowmapping-verify-carbon-mvn33-openjdk8/290/console.log.gz
Full karaf.log for an integration test PAX-EXAM run: https://logs.opendaylight.org/releng/jenkins092/lispflowmapping-verify-carbon-mvn33-openjdk8/290/archives/integrationtest/target/surefire-reports/org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest-output.txt.gz
One full stack trace: 2017-01-10 21:55:05,691 | INFO | on(3)-10.29.9.50 | AbstractConfigTestBase | 308 - PAXEXAM-PROBE-f60207b2-f171-4bad-b2ef-33b4dba32832 - 0.0.0 | TestWatcher: Test failed: testSmr(org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest)
java.lang.NoClassDefFoundError: org/opendaylight/yang/gen/v1/urn/opendaylight/lfm/mappingservice/rev150906/MappingOrigin
at org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest.testRepeatedSmr(MappingServiceIntegrationTest.java:444)
at org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest.testSmr(MappingServiceIntegrationTest.java:410)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_111]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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:325)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:68)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)[304:org.ops4j.pax.tipi.junit:4.12.0.1]
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_111]
at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_111]
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)[:1.8.0_111]
at sun.rmi.transport.Transport$1.run(Transport.java:200)[:1.8.0_111]
at sun.rmi.transport.Transport$1.run(Transport.java:197)[:1.8.0_111]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_111]
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)[:1.8.0_111]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)[:1.8.0_111]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)[:1.8.0_111]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)[:1.8.0_111]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_111]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)[:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_111]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]
Caused by: java.lang.ClassNotFoundException: org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.MappingOrigin
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_111]
... 51 more
|