hang during report generation

62 views
Skip to first unread message

iang...@gmail.com

unread,
Jun 7, 2009, 5:45:33 PM6/7/09
to testng-users
I seem to be having problems with testng in using surefire - I get
everything to run (using includes/excludes - not an explicit XML), but
after all tests run, I get a hang at this point.

I left this running for hours but it never terminated.

any ideas?


"main" prio=3 tid=0x08070400 nid=0x2 runnable [0xfe44b000..0xfe44bd48]
java.lang.Thread.State: RUNNABLE
at org.testng.internal.Graph.removeFromNodes(Graph.java:182)
at org.testng.internal.Graph.topologicalSort(Graph.java:150)
at org.testng.internal.MethodHelper.topologicalSort
(MethodHelper.java:494)
at org.testng.internal.MethodHelper.getMethodsDependedUpon
(MethodHelper.java:564)
at org.testng.reporters.FailedReporter.generateXmlTest
(FailedReporter.java:115)
at org.testng.reporters.FailedReporter.generateFailureSuite
(FailedReporter.java:64)
at org.testng.reporters.FailedReporter.generateReport
(FailedReporter.java:44)
at org.testng.TestNG.generateReports(TestNG.java:735)
at org.testng.TestNG.run(TestNG.java:721)
at org.apache.maven.surefire.testng.TestNGExecutor.run
(TestNGExecutor.java:62)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute
(TestNGDirectoryTestSuit

Cédric Beust ♔

unread,
Jun 7, 2009, 9:11:22 PM6/7/09
to testng...@googlegroups.com
That's an interesting stack trace.  I doubt it's a Surefire problem.

Can you trim down your tests as much as possible while preserving the hang, zip them up and email them to me?

--
Cedric

--
Cédric


Aakash

unread,
Jul 16, 2009, 6:58:58 AM7/16/09
to testng-users
I get the same stacktrace, and TestNG hangs with high CPU usage
indefinitely after all the test cases are over.

Is there any solution to this, this is a blocker for us.

Cédric Beust ♔

unread,
Jul 16, 2009, 11:07:17 AM7/16/09
to testng...@googlegroups.com
It looks like a bug in the topological sort algorithm, could you send me a test case (ideally as small as possible) that I can run on my end?

--
Cédric

Reply all
Reply to author
Forward
0 new messages