-
Bug
-
Resolution: Cannot Reproduce
-
None
-
unspecified
-
None
-
Operating System: All
Platform: PC
-
1669
[14:28:06] <flaviof> Madhu: i'm stuck trying to build ovsdb... its getting stuck doing pax exam... any chance you could give ma a hand?
[14:28:44] <flaviof> https://gist.github.com/8134a0221c06b8f5a317
[14:29:34] <Madhu> remove features from your pom.xml
[14:29:36] <Madhu> and make progress
==
$ git diff
diff --git a/pom.xml b/pom.xml
index c2a1b8b..c16d4f8 100755
— a/pom.xml
+++ b/pom.xml
@@ -37,9 +37,6 @@
<module>ovs-sfc</module>
<!-- Integration Tests -->
<module>integrationtest</module>
- <!-- Karaf Distribution -->
- <module>features/ovsdb</module>
- <module>features/of-nxm-extensions</module>
<!-- OVSDB Distribution -->
<module>distribution/opendaylight</module>
</modules>
==
https://gist.github.com/fd8339935744d97f22c0
...
INFO: Creating test runners for repoURL file:/Users/ffernand/ODL/projects/ovsdb.git/features/of-nxm-extensions/target/classes/features.xml recursive false
Sep 02, 2014 3:58:31 PM org.ops4j.pax.exam.junit.PaxExam <init>
INFO: creating PaxExam runner for class org.opendaylight.yangtools.featuretest.SingleFeatureTest
Sep 02, 2014 3:58:31 PM org.ops4j.pax.exam.spi.DefaultExamSystem create
INFO: Pax Exam System (Version: 3.5.0) created.
Sep 02, 2014 4:01:02 PM org.opendaylight.yangtools.featuretest.SingleFeatureTest getKarafDistroOption
INFO: Using karaf distro org.opendaylight.controller opendaylight-karaf-empty 1.4.2-SNAPSHOT zip
Sep 02, 2014 4:01:02 PM org.opendaylight.yangtools.featuretest.SingleFeatureTest mvnLocalRepoOption
INFO: mvnLocalRepo ""
Sep 02, 2014 4:01:02 PM org.opendaylight.yangtools.featuretest.PerRepoTestRunner runChild
INFO: About to run test for file:/Users/ffernand/ODL/projects/ovsdb.git/features/of-nxm-extensions/target/classes/features.xml
Sep 02, 2014 4:01:02 PM org.opendaylight.yangtools.featuretest.PerFeatureRunner run
INFO: About to run test for feature: odl-openflow-nxm-extensions 0.0.3-SNAPSHOT
Sep 02, 2014 4:01:02 PM org.ops4j.pax.exam.junit.PaxExam run
INFO: running test class org.opendaylight.yangtools.featuretest.SingleFeatureTest
Sep 02, 2014 4:01:03 PM org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer startKaraf
INFO: Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
Sep 02, 2014 4:01:03 PM org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl getRemoteBundleContext
INFO: Waiting for remote bundle context.. on 21414 name: fac0192b-7d2e-4016-aad4-3a730a189628 timout: [ RelativeTimeout value = 180000 ]
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server
at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:258)
Caused by: java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/karaf-root]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:
java.net.ConnectException: Operation timed out]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:826)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:245)
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:
java.net.ConnectException: Operation timed out]
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:143)
at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)
at javax.naming.InitialContext.bind(InitialContext.java:419)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:643)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
... 1 more
Caused by: java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:
java.net.ConnectException: Operation timed out
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)
... 5 more
Caused by: java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 10 more
Sep 02, 2014 4:04:50 PM org.ops4j.pax.exam.spi.reactors.ReactorManager afterClass
INFO: suite finished
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 379.129 sec <<< FAILURE! - in org.opendaylight.yangtools.featuretest.SingleFeatureTest
installFeature(org.opendaylight.yangtools.featuretest.SingleFeatureTest)[repoUrl: file:/Users/ffernand/ODL/projects/ovsdb.git/features/of-nxm-extensions/target/classes/features.xml, Feature: odl-openflow-nxm-extensions 0.0.3-SNAPSHOT] Time elapsed: 227.632 sec <<< ERROR!
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:242)
at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.waitForState(RemoteBundleContextClientImpl.java:211)
at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.waitForState(KarafTestContainer.java:528)
at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.startKaraf(KarafTestContainer.java:214)
at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:164)
at org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:79)
at org.ops4j.pax.exam.junit.PaxExam$2.evaluate(PaxExam.java:293)
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.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:111)
at org.opendaylight.yangtools.featuretest.PerFeatureRunner.run(PerFeatureRunner.java:63)
at org.opendaylight.yangtools.featuretest.PerRepoTestRunner.runChild(PerRepoTestRunner.java:117)
at org.opendaylight.yangtools.featuretest.PerRepoTestRunner.runChild(PerRepoTestRunner.java:32)
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.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Results :
Tests in error:
Operation timed out
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OVSDB Parent POM ................................... SUCCESS [ 0.168 s]
[INFO] OVSDB Library ...................................... SUCCESS [ 9.993 s]
[INFO] OVSDB Open_vSwitch Schema .......................... SUCCESS [ 1.707 s]
[INFO] OVSDB hardware_vtep Schema ......................... SUCCESS [ 0.835 s]
[INFO] OpenDaylight OVSDB Plugin .......................... SUCCESS [ 1.413 s]
[INFO] Opendaylight OVS Network Virtualization ............ SUCCESS [ 1.691 s]
[INFO] OpenDaylight OVSDB Northbound APIs ................. SUCCESS [ 2.069 s]
[INFO] OVSDB Integration Test Parent POM .................. SUCCESS [ 0.046 s]
[INFO] OpenDaylight OVSDB Plugin Shell .................... SUCCESS [ 0.521 s]
[INFO] OpenDaylight OVSDB Plugin MD_SAL Adapter ........... SUCCESS [ 8.792 s]
[INFO] Opendaylight OVS NX for OpenflowJava Models ........ SUCCESS [ 3.455 s]
[INFO] Opendaylight OVS NX Extensions for SAL Flow Models . SUCCESS [ 12.107 s]
[INFO] OpenDaylight OVS utility for md-sal based OpenFlow . SUCCESS [ 1.510 s]
[INFO] Opendaylight OVS Network Virtualization Providers .. SUCCESS [ 1.653 s]
[INFO] OpenDaylight OVS Service Function Chaining ......... SUCCESS [ 2.614 s]
[INFO] OpenDaylight OVSDB Integration Tests ............... SUCCESS [ 2.344 s]
[INFO] Openflow Nicira Extensions Karaf Feature ........... FAILURE [06:21 min]
[INFO] OpenDaylight OVSDB Project Karaf Features .......... SKIPPED
[INFO] OpenDaylight OVSDB Distribution .................... SKIPPED
[INFO] ovsdb .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:14 min
[INFO] Finished at: 2014-09-02T16:04:50-04:00
[INFO] Final Memory: 120M/489M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project features-openflow-nxm: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/ffernand/ODL/projects/ovsdb.git/features/of-nxm-extensions/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :features-openflow-nxm
real 7m16.234s
user 1m48.928s
sys 0m5.457s