[ http://jira.codehaus.org/browse/SUREFIRE-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267591#action_267591 ]
Kristian Rosenvold edited comment on SUREFIRE-742 at 5/20/11 4:39 PM: ---------------------------------------------------------------------- Can you please assist me with the following: If you run the regular mvn command that fails with the -X option, you'll see just above the block of tests (that fails) you'll have something like this in your log: ------------------------------------------------------- T E S T S ------------------------------------------------------- Forking command line: /bin/sh -c cd /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy && /usr/lib/jvm/java-6-sun-1.6.0.24/jre/bin/java -jar /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy/target/surefire/surefirebooter3411177604895141972.jar /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy/target/surefire/surefire6672401462508136354tmp /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy/target/surefire/surefire7212216459049262080tmp Can you take the full command line as seen in "forking command line", redirect the entire output to a file. Either attach the file to this issue or send it directly to my email. The file may be large and will contain output from your tests. If you send it directly to me it will not be made public. (Please make sure the tests fails/performs incorrectly on the logfile you send me, or send me one of each) was (Author: krosenvold): Can you please assist me with the following: If you run the regular mvn command that fails with the -X option, you'll see just above the block of tests (that fails) you'll have something like this in your log: ------------------------------------------------------- T E S T S ------------------------------------------------------- Forking command line: /bin/sh -c cd /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy && /usr/lib/jvm/java-6-sun-1.6.0.24/jre/bin/java -jar /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy/target/surefire/surefirebooter3411177604895141972.jar /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy/target/surefire/surefire6672401462508136354tmp /home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/consoleoutput-noisy/target/surefire/surefire7212216459049262080tmp Can you take the full command line as seen in "forking command line", redirect the entire output to a file. Either attach the file to this issue or send it directly to my email. The file may be large and will contain output from your tests. If you send it directly to me it will not be made public. > Latest 2.8.2-SNAPSHOT version having sporadic java.lang.RuntimeException > errors > ------------------------------------------------------------------------------- > > Key: SUREFIRE-742 > URL: http://jira.codehaus.org/browse/SUREFIRE-742 > Project: Maven Surefire > Issue Type: Bug > Affects Versions: Backlog > Environment: Linux x64 > Reporter: S Daigle > Attachments: sf.txt, sf2.txt, sf3.txt > > > We're using the latest 2.8.2-SNAPSHOT > (maven-surefire-plugin-2.8.2-20110519.214109-36) and we're seeing sporadic > errors with some of our tests: > Exception in thread "ThreadedStreamConsumer" java.lang.RuntimeException: > java.util.StringTokenizer@5051207c > at > org.apache.maven.plugin.surefire.booterclient.output.ForkClient.createReportEntry(ForkClient.java:190) > at > org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:106) > at > org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.util.NoSuchElementException > at java.util.StringTokenizer.nextToken(StringTokenizer.java:332) > at > org.apache.maven.plugin.surefire.booterclient.output.ForkClient.deserializeStackStraceWriter(ForkClient.java:198) > at > org.apache.maven.plugin.surefire.booterclient.output.ForkClient.createReportEntry(ForkClient.java:181) > ... 3 more > We've also noted, when run individually, maven reports FAILED but when run > with a group of tests, we still see the failures but maven reports SUCCESS. I > attached a log with the individual test run using "mvn -e". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira