Skip to main content



      Home
Home » Archived » Buckminster » Buckminster and Emma No Coverage
Buckminster and Emma No Coverage [message #990908] Fri, 14 December 2012 14:12 Go to next message
Eclipse UserFriend
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

Re: Buckminster and Emma No Coverage [message #991281 is a reply to message #990908] Tue, 18 December 2012 05:30 Go to previous messageGo to next message
Eclipse UserFriend
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
>
>
Re: Buckminster and Emma No Coverage [message #991432 is a reply to message #991281] Tue, 18 December 2012 23:29 Go to previous message
Eclipse UserFriend
Thanks Thomas,

Thank you for the potential cause, but I get the error whether I actually ask for the coverage report (using --xml) or not when I run the tests. So, I currently cannot run the tests at all.

-- Scott
Previous Topic:p2 sites for 3.8 target platform
Next Topic:creating an action which depends on other components' actions
Goto Forum:
  


Current Time: Fri May 16 15:21:36 EDT 2025

Powered by FUDForum. Page generated in 0.03277 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top