Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> Anyone know how to get surefire to list timed out tests?


Copy link to this message
-
Re: Anyone know how to get surefire to list timed out tests?
Andy:
Have you looked at how dev-support/test-patch.sh finds zombie tests ?
It starts from line 659:

  ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
  if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then

Cheers

On Mon, Apr 8, 2013 at 7:09 PM, Andrew Purtell <[EMAIL PROTECTED]> wrote:

> I set up a freestyle project to build by invoking maven out of a shell
> script. My guess is that will show the timed out tests as happens when run
> locally in a terminal. See http://54.241.6.143/job/HBase-0.94-Freestyle
>
>
> On Mon, Apr 8, 2013 at 5:45 PM, Andrew Purtell <[EMAIL PROTECTED]>
> wrote:
>
> > See for example http://54.241.6.143/job/HBase-0.94/71/console:
> >
> > [...]
> > [JENKINS] Recording test results
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1:18:06.862s
> > [INFO] Finished at: Mon Apr 08 08:10:20 UTC 2013
> > [INFO] Final Memory: 32M/501M
> > [INFO]
> > ------------------------------------------------------------------------
> > [JENKINS] Archiving /home/ec2-user/jenkins/workspace/HBase-0.94/pom.xml
> to
> >
> /var/lib/jenkins/jobs/HBase-0.94/modules/org.apache.hbase$hbase/builds/2013-04-08_06-52-05/archive/org.apache.hbase/hbase/0.94.6/hbase-0.94.6.pom
> > Waiting for Jenkins to finish collecting data
> > mavenExecutionResult exceptions not empty
> > message : Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test
> > (secondPartTestsExecution) on project hbase: Failure or timeout
> > cause : Failure or timeout
> > Stack trace :
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test
> > (secondPartTestsExecution) on project hbase: Failure or timeout
> > [unhelpful big stacktrace]
> > channel stopped
> > Sending e-mails to: [EMAIL PROTECTED]
> > Finished: FAILURE
> >
> > It would be fantastic if the test(s) which timed out were listed somehow
> > here.
> >
> > --
> > Best regards,
> >
> >    - Andy
> >
> > Problems worthy of attack prove their worth by hitting back. - Piet Hein
> > (via Tom White)
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB