title: How to analyze low-level OSGi problems during tycho test execution?
body: <p>When executing JUnit test with <a href="http://www.eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html" rel="noreferrer">tycho-surefire-plugin</a>, tycho forks an equinox runtime.
  In rare cases it may happen that some bundles in the OSGi test runtime cannot be resolved/started (e.g. package uses conflicts).
  If you read the debug log (maven CLI option <code>-X</code>), you will find something like</p>
  
  <pre><code>!ENTRY org.eclipse.osgi 2 0 2012-10-08 16:41:31.635
  !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
  !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-08 16:41:31.635
  An error has occurred. See the log file
  C:\mytestproject.tests\target\work\configuration\1349705136008.log.
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 12:03.181s
  [INFO] Finished at: Mon Oct 08 16:17:16 CEST 2012
  [INFO] Final Memory: 20M/309M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.15.0:test (default-test) on project mytestproject.tests: An unexpected error occured (return c
  ode 13). See log for details. -&gt; [Help 1]
  </code></pre>
  
  <p>The eclipse console log does not provide enough information in case of package uses conflicts.</p>
  
  <p>How can I analyze the bundles in the OSGi test runtime forked by tycho?</p>