Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 18.52 KB | None | 0 0
  1. [vijay-vm:~/mine/projects/karaf2/snbi/features]
  2. 210 => mvn clean install
  3. [INFO] Scanning for projects...
  4. [WARNING]
  5. [WARNING] Some problems were encountered while building the effective model for org.opendaylight.snbi:features-snbi:jar:1.0.0-SNAPSHOT
  6. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 114, column 18
  7. [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 127, column 18
  8. [WARNING]
  9. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  10. [WARNING]
  11. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  12. [WARNING]
  13. [INFO]                                                                        
  14. [INFO] ------------------------------------------------------------------------
  15. [INFO] Building features-snbi 1.0.0-SNAPSHOT
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO]
  18. [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ features-snbi ---
  19. [INFO]
  20. [INFO] --- maven-resources-plugin:2.3:resources (filter) @ features-snbi ---
  21. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  22. [INFO] Copying 1 resource
  23. [INFO]
  24. [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ features-snbi ---
  25. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  26. [INFO] Copying 1 resource
  27. [INFO]
  28. [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ features-snbi ---
  29. [INFO] No sources to compile
  30. [INFO]
  31. [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ features-snbi ---
  32. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  33. [INFO] skip non existing resourceDirectory /home/vijay/mine/projects/karaf2/snbi/features/src/test/resources
  34. [INFO]
  35. [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ features-snbi ---
  36. [INFO] No sources to compile
  37. [INFO]
  38. [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ features-snbi ---
  39. [INFO] Surefire report directory: /home/vijay/mine/projects/karaf2/snbi/features/target/surefire-reports
  40.  
  41. -------------------------------------------------------
  42.  T E S T S
  43. -------------------------------------------------------
  44. Running org.opendaylight.yangtools.featuretest.SingleFeatureTest
  45. SLF4J: Class path contains multiple SLF4J bindings.
  46. SLF4J: Found binding in [jar:file:/home/vijay/.m2/repository/com/jcabi/jcabi-maven-slf4j/0.8/jcabi-maven-slf4j-0.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  47. SLF4J: Found binding in [jar:file:/home/vijay/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  48. SLF4J: Found binding in [jar:file:/home/vijay/.m2/repository/org/apache/karaf/org.apache.karaf.client/3.0.1/org.apache.karaf.client-3.0.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  49. SLF4J: Found binding in [jar:file:/home/vijay/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.7.2/pax-logging-api-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  50. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  51. SLF4J: Actual binding is of type [org.slf4j.impl.JcabiLoggers]
  52. [info] Creating test runners for repoURL file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml recursive false
  53. [info] Pax Exam System (Version: 3.5.0) created.
  54. [debug] main org.ops4j.store.intern.TemporaryStore: Storage Area is /tmp/1409322544825-0
  55. [info] creating PaxExam runner for class org.opendaylight.yangtools.featuretest.SingleFeatureTest
  56. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Created Registry on 21427
  57. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Currently 15 out of 98 ports are in use. Port range is from 21413 up to 21511
  58. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Created Registry on 21428
  59. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Currently 16 out of 98 ports are in use. Port range is from 21413 up to 21511
  60. [debug] main org.ops4j.pax.exam.spi.PaxExamRuntime: Found TestContainerFactory: org.ops4j.pax.exam.karaf.container.internal.KarafTestContainerFactory
  61. [info] Using karaf distro [org.opendaylight.controller, opendaylight-karaf-empty, 1.4.2-SNAPSHOT, zip] {} {} {}
  62. [info] mvnLocalRepo ""
  63. [debug] main org.ops4j.pax.exam.spi.DefaultExamSystem: creating default probe
  64. [debug] main org.ops4j.pax.exam.spi.reactors.ReactorManager: No User defined probe hook found
  65. [debug] main org.ops4j.pax.exam.spi.intern.DefaultTestAddress: NEW ADDRESS= PaxExam-c938e255-e301-4711-be89-657979f185e9 parent=null root=[TestAddress:PaxExam-c938e255-e301-4711-be89-657979f185e9 root:PaxExam-c938e255-e301-4711-be89-657979f185e9] args=[Ljava.lang.Object;@ed01c3
  66. [debug] main org.ops4j.pax.exam.spi.DefaultExamReactor: Staging reactor with probes: 1 using strategy: org.ops4j.pax.exam.spi.reactors.PerMethod@1ac263
  67. [debug] main org.ops4j.store.intern.TemporaryStore: Storage Area is /tmp/1409322544825-0
  68. [debug] main org.ops4j.pax.exam.spi.intern.DefaultTestAddress: NEW ADDRESS= PaxExam-46fd1df0-d296-4c47-97bc-be292d9e59ee parent=[TestAddress:PaxExam-c938e255-e301-4711-be89-657979f185e9 root:PaxExam-c938e255-e301-4711-be89-657979f185e9] root=[TestAddress:PaxExam-c938e255-e301-4711-be89-657979f185e9 root:PaxExam-c938e255-e301-4711-be89-657979f185e9] args=[Ljava.lang.Object;@a3f672
  69. [info] creating PaxExam runner for class org.opendaylight.yangtools.featuretest.SingleFeatureTest
  70. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Created Registry on 21429
  71. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Currently 17 out of 98 ports are in use. Port range is from 21413 up to 21511
  72. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Created Registry on 21430
  73. [debug] main org.ops4j.pax.exam.karaf.container.internal.RMIRegistry: Currently 18 out of 98 ports are in use. Port range is from 21413 up to 21511
  74. [debug] main org.ops4j.pax.exam.spi.PaxExamRuntime: Found TestContainerFactory: org.ops4j.pax.exam.karaf.container.internal.KarafTestContainerFactory
  75. [info] Using karaf distro [org.opendaylight.controller, opendaylight-karaf-empty, 1.4.2-SNAPSHOT, zip] {} {} {}
  76. [info] mvnLocalRepo ""
  77. [debug] main org.ops4j.pax.exam.spi.reactors.ReactorManager: No User defined probe hook found
  78. [debug] main org.ops4j.pax.exam.spi.intern.DefaultTestAddress: NEW ADDRESS= PaxExam-e3fa5125-9d91-4402-a085-5fbbc2b25592 parent=null root=[TestAddress:PaxExam-e3fa5125-9d91-4402-a085-5fbbc2b25592 root:PaxExam-e3fa5125-9d91-4402-a085-5fbbc2b25592] args=[Ljava.lang.Object;@148a9f6
  79. [debug] main org.ops4j.pax.exam.spi.DefaultExamReactor: Staging reactor with probes: 1 using strategy: org.ops4j.pax.exam.spi.reactors.PerMethod@1ac263
  80. [debug] main org.ops4j.store.intern.TemporaryStore: Storage Area is /tmp/1409322544825-0
  81. [debug] main org.ops4j.pax.exam.spi.intern.DefaultTestAddress: NEW ADDRESS= PaxExam-db6e1349-0e11-4de5-baf4-c3c02ce5faa3 parent=[TestAddress:PaxExam-c938e255-e301-4711-be89-657979f185e9 root:PaxExam-c938e255-e301-4711-be89-657979f185e9] root=[TestAddress:PaxExam-c938e255-e301-4711-be89-657979f185e9 root:PaxExam-c938e255-e301-4711-be89-657979f185e9] args=[Ljava.lang.Object;@18e7a09
  82. [info] About to run test for file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml
  83. [info] About to run test for feature: odl-snbi-all 1.0.0-SNAPSHOT
  84. [info] running test class org.opendaylight.yangtools.featuretest.SingleFeatureTest
  85. [debug] main org.ops4j.pax.exam.junit.impl.ProbeRunner: Invoke installFeature @ [TestAddress:PaxExam-46fd1df0-d296-4c47-97bc-be292d9e59ee root:PaxExam-c938e255-e301-4711-be89-657979f185e9] Arguments: [Ljava.lang.Object;@ed01c3
  86. [debug] main org.ops4j.store.intern.TemporaryStore: Storage Area is /tmp/1409322544825-0
  87. [debug] main org.ops4j.pax.url.mvn.internal.Connection: Resolving [mvn:org.opendaylight.controller/opendaylight-karaf-empty/1.4.2-SNAPSHOT/zip]
  88. [debug] main org.ops4j.pax.url.maven.commons.MavenConfigurationImpl: Using repositories [[http://repo1.maven.org/maven2/,releases=true,snapshots=false]]
  89. [debug] main org.ops4j.pax.url.mvn.internal.AetherBasedResolver: Resolved (org.opendaylight.controller:opendaylight-karaf-empty:zip:1.4.2-SNAPSHOT) as /home/vijay/.m2/repository/org/opendaylight/controller/opendaylight-karaf-empty/1.4.2-SNAPSHOT/opendaylight-karaf-empty-1.4.2-SNAPSHOT.zip
  90. [debug] main org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer: Test Container started in 141 millis
  91. [info] Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
  92. [info] Waiting for remote bundle context.. on 21428 name: dbdf5054-9636-4c28-b4c0-ae32e81f7c74 timout: [ RelativeTimeout value = 180000 ]
  93. 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:
  94. Port already in use: 44444;
  95. You may have started two containers.  If you need to start a second container or the default ports are already in use update the config file etc/org.apache.karaf.management.cfg and change the Registry Port and Server Port to unused ports
  96.     at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:254)
  97. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  98. SLF4J: Defaulting to no-operation (NOP) logger implementation
  99. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  100. [debug] main org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient: Remote bundle context found after 79919 millis
  101. [debug] main org.ops4j.pax.tinybundles.core.intern.RawBuilder: make()
  102. [debug] main org.ops4j.store.intern.TemporaryStore: Enter store()
  103. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Creating manifest from added headers.
  104. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: DynamicImport-Package = *
  105. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Ignore-Package =
  106. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: PaxExam-c938e255-e301-4711-be89-657979f185e9 = org.opendaylight.yangtools.featuretest.SingleFeatureTest;installFeature
  107. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: PaxExam-Executable = PaxExam-c938e255-e301-4711-be89-657979f185e9,
  108. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Bundle-SymbolicName = PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc
  109. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Bundle-ManifestVersion = 2
  110. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Copying resource org/opendaylight/yangtools/featuretest/SingleFeatureTest.class
  111. [debug] main org.ops4j.store.intern.TemporaryStore: Exit store(): 5c2a08ec76a30c4b1f5d629cb8ed160fe5b67227
  112. [debug] Thread-4 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Copy thread finished.
  113. [debug] main org.ops4j.pax.exam.container.remote.RBCRemoteTarget: Preparing and Installing bundle (from stream )..
  114. [debug] main org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient: Packing probe into memory for true RMI. Hopefully things will fill in..
  115. [debug] main org.ops4j.pax.exam.container.remote.RBCRemoteTarget: Installed bundle (from stream) as ID: 94
  116. [debug] main org.ops4j.pax.exam.container.remote.RBCRemoteTarget: call [[TestAddress:PaxExam-46fd1df0-d296-4c47-97bc-be292d9e59ee root:PaxExam-c938e255-e301-4711-be89-657979f185e9]]
  117. 2014-08-29 20:00:33,777 | INFO  | ion(1)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Attempting to add repository file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml
  118. 2014-08-29 20:00:33,816 | INFO  | ion(1)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Successfully loaded repository file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml
  119. 2014-08-29 20:00:33,817 | INFO  | ion(1)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Attempting to install feature odl-snbi-all 1.0.0-SNAPSHOT
  120. 2014-08-29 20:00:36,352 | INFO  | ion(1)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Successfull installed feature odl-snbi-all 1.0.0-SNAPSHOT
  121. [debug] main org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer: Shutting down the test container (Pax Runner)
  122. [info] suite finished
  123. [info] About to run test for file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml
  124. [info] About to run test for feature: odl-snbi-southplugin 1.0.0-SNAPSHOT
  125. [info] running test class org.opendaylight.yangtools.featuretest.SingleFeatureTest
  126. [debug] main org.ops4j.pax.exam.junit.impl.ProbeRunner: Invoke installFeature @ [TestAddress:PaxExam-db6e1349-0e11-4de5-baf4-c3c02ce5faa3 root:PaxExam-c938e255-e301-4711-be89-657979f185e9] Arguments: [Ljava.lang.Object;@ed01c3
  127. [debug] main org.ops4j.store.intern.TemporaryStore: Storage Area is /tmp/1409322544825-0
  128. [debug] main org.ops4j.pax.url.mvn.internal.Connection: Resolving [mvn:org.opendaylight.controller/opendaylight-karaf-empty/1.4.2-SNAPSHOT/zip]
  129. [debug] main org.ops4j.pax.url.maven.commons.MavenConfigurationImpl: Using repositories [[http://repo1.maven.org/maven2/,releases=true,snapshots=false]]
  130. [debug] main org.ops4j.pax.url.mvn.internal.AetherBasedResolver: Resolved (org.opendaylight.controller:opendaylight-karaf-empty:zip:1.4.2-SNAPSHOT) as /home/vijay/.m2/repository/org/opendaylight/controller/opendaylight-karaf-empty/1.4.2-SNAPSHOT/opendaylight-karaf-empty-1.4.2-SNAPSHOT.zip
  131. [debug] main org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer: Test Container started in 9 millis
  132. [info] Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
  133. [info] Waiting for remote bundle context.. on 21430 name: 295acd6f-eb28-484e-9d52-9c894b027aa2 timout: [ RelativeTimeout value = 180000 ]
  134. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  135. SLF4J: Defaulting to no-operation (NOP) logger implementation
  136. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  137. [debug] main org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient: Remote bundle context found after 64760 millis
  138. [debug] main org.ops4j.pax.tinybundles.core.intern.RawBuilder: make()
  139. [debug] main org.ops4j.store.intern.TemporaryStore: Enter store()
  140. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Creating manifest from added headers.
  141. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: DynamicImport-Package = *
  142. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Ignore-Package =
  143. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: PaxExam-c938e255-e301-4711-be89-657979f185e9 = org.opendaylight.yangtools.featuretest.SingleFeatureTest;installFeature
  144. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: PaxExam-Executable = PaxExam-c938e255-e301-4711-be89-657979f185e9,
  145. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Bundle-SymbolicName = PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc
  146. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Bundle-ManifestVersion = 2
  147. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Copying resource org/opendaylight/yangtools/featuretest/SingleFeatureTest.class
  148. [debug] main org.ops4j.store.intern.TemporaryStore: Exit store(): 0b4c872533d85a53ef36948e6943c7b38b8c8635
  149. [debug] main org.ops4j.pax.exam.container.remote.RBCRemoteTarget: Preparing and Installing bundle (from stream )..
  150. [debug] main org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient: Packing probe into memory for true RMI. Hopefully things will fill in..
  151. [debug] Thread-7 org.ops4j.pax.tinybundles.core.intern.RawBuilder: Copy thread finished.
  152. [debug] main org.ops4j.pax.exam.container.remote.RBCRemoteTarget: Installed bundle (from stream) as ID: 94
  153. [debug] main org.ops4j.pax.exam.container.remote.RBCRemoteTarget: call [[TestAddress:PaxExam-db6e1349-0e11-4de5-baf4-c3c02ce5faa3 root:PaxExam-c938e255-e301-4711-be89-657979f185e9]]
  154. 2014-08-29 20:01:47,175 | INFO  | ion(3)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Attempting to add repository file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml
  155. 2014-08-29 20:01:47,431 | INFO  | ion(3)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Successfully loaded repository file:/home/vijay/mine/projects/karaf2/snbi/features/target/classes/features.xml
  156. 2014-08-29 20:01:47,442 | INFO  | ion(3)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Attempting to install feature odl-snbi-southplugin 1.0.0-SNAPSHOT
  157. 2014-08-29 20:01:50,664 | INFO  | ion(3)-127.0.0.1 | SingleFeatureTest                | 94 - PAXEXAM-PROBE-150d8c0e-5c36-48bc-abcf-99322a40e8cc - 0.0.0 | Successfull installed feature odl-snbi-southplugin 1.0.0-SNAPSHOT
  158. [debug] main org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer: Shutting down the test container (Pax Runner)
  159. [info] suite finished
  160. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 172.616 sec - in org.opendaylight.yangtools.featuretest.SingleFeatureTest
  161.  
  162. Results :
  163.  
  164. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
  165.  
  166. [INFO]
  167. [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ features-snbi ---
  168. [INFO] ------------------------------------------------------------------------
  169. [INFO] BUILD FAILURE
  170. [INFO] ------------------------------------------------------------------------
  171. [INFO] Total time: 3:10.880s
  172. [INFO] Finished at: Fri Aug 29 20:01:57 IST 2014
  173. [INFO] Final Memory: 25M/61M
  174. [INFO] ------------------------------------------------------------------------
  175. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.3.2:jar (default-jar) on project features-snbi: Error assembling JAR: Manifest file: /home/vijay/mine/projects/karaf2/snbi/features/target/classes/META-INF/MANIFEST.MF does not exist. -> [Help 1]
  176. [ERROR]
  177. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  178. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  179. [ERROR]
  180. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  181. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  182. [vijay-vm:~/mine/projects/karaf2/snbi/features]
  183. 211 =>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement