|
Re: Buckminster and Emma No Coverage [message #991281 is a reply to message #990908] |
Tue, 18 December 2012 10:30   |
|
Not sure if it's related but the options for the emma command changed
slightly when we moved to eclemma 2.2.0 (mid November so the timing
seems just about right). In particular, the formats 'emma' and 'txt' are
no longer supported. Details can be found here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=368042
- thomas
On 2012-12-14 20:12, Scott Hendrickson wrote:
> Hi,
>
> I'm using Buckminster to build my product headlessly. However, around
> mid November, it started to fail when running emma. I get the following
> error:
>
>
> [java] INFO: Starting test session AllTests
> [java] INFO: Running test
> org.archstudio.prolog.test.ProofTest2.testProof1...
> [java] INFO: ...OK [2.857s]
> ...
> [java] INFO: Running test
> org.archstudio.xarchadt.variability.XArchADTVariabilityImplTest.testOverviewWithDependent...
>
> [java] INFO: ...OK [0.379s]
> [java] INFO: Tests finished.
> [java] INFO: Elapsed time: 51.399 seconds.
> [java] INFO: Total number of tests executed: 64
> [java] INFO: Successful tests: 64
> [java] INFO: Failed tests: 0
> [java] INFO: Errors: 0
> [java] INFO: Ignored tests: 0
> [java] INFO: Overall status: OK
> [java] ERROR: No coverage has been collected during coverage launch
> (code 5101).
> [java] org.eclipse.core.runtime.CoreException: No coverage sessions
> found.
> [java] at
> org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:57)
>
> [java] at
> org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:53)
>
> [java] at
> org.eclipse.buckminster.emma.Emma.internalRun(Emma.java:101)
> [java] at
> org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
>
> [java] at
> org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
>
> [java] at
> org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
> [java] at
> org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
> [java] at
> org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
> [java] at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> [java] at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> [java] at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> [java] at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
>
> [java] at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [java] at java.lang.reflect.Method.invoke(Method.java:597)
> [java] at
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
> [java] at
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> [java] at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> [java] at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
> [java] No coverage sessions found.
>
>
> According to here: http://www.eclemma.org/faq.html#trouble01 "This
> happens when the Java process did not terminate properly, e.g. has been
> manually killed with the Terminate button. Make sure your program
> terminates on its own."
>
> But, my scripts are not terminating abnormally, as far as I know.
>
> Any ideas?
>
> Thank you,
> -- Scott
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.01897 seconds