[jboss-jira] [JBoss JIRA] Updated: (JBAS-7924) smoke-tests build SUCCESS despite FAILURE

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Aug 23 09:26:11 EDT 2010


     [ https://jira.jboss.org/browse/JBAS-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated JBAS-7924:
-------------------------------

    Attachment: JBAS-7924.patch


Attached is a patch which allow all the tests in the smoke-tests target to run and if there's a failure in any of the tests, then fails the build:

smoke-tests-raw:
     [echo] 
     [echo]    junit.timeout:              300000
     [echo]    jbosstest.iterationcount:   10
     [echo]    jbosstest.threadcount:      5
     [echo]    jbosstest.beancount:        5
     [echo]          
    [junit] Running org.jboss.test.aop.test.AOPUnitTestCase
    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 11.002 sec
... // some lines removed intentionally
    [junit] Running org.jboss.test.ejb3.test.SimpleSessionUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.67 sec
    [junit] Test org.jboss.test.ejb3.test.SimpleSessionUnitTestCase FAILED
    [junit] Running org.jboss.test.jbossmessaging.test.JoramUnitTestCase
    [junit] Tests run: 197, Failures: 0, Errors: 0, Time elapsed: 29.891 sec
    [junit] Running org.jboss.test.jca.test.BaseConnectionManagerUnitTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 29.255 sec
    [junit] Running org.jboss.test.jca.test.PoolingUnitTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.799 sec
    [junit] Running org.jboss.test.jca.test.XADSUnitTestCase
... // some lines removed intentionally
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.97 sec
    [junit] Running org.jboss.test.jmsra.test.RaTopicUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.13 sec
    [junit] Running org.jboss.test.naming.test.SimpleUnitTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 5.445 sec
    [junit] Running org.jboss.test.tm.test.TransactionManagerUnitTestCase
    [junit] Tests run: 28, Failures: 0, Errors: 0, Time elapsed: 0.682 sec
    [junit] Running org.jboss.test.web.test.WebIntegrationUnitTestCase
    [junit] Tests run: 38, Failures: 0, Errors: 0, Time elapsed: 9.591 sec
    [junit] Running org.jboss.test.xml.DDValidatorUnitTestCase
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 11.801 sec

check.smoke.test.failure:

BUILD FAILED
/NotBackedUp/jpai/business/jboss/wc/jbossas/trunk/testsuite/build.xml:1317: The following error occurred while executing this line:
/NotBackedUp/jpai/business/jboss/wc/jbossas/trunk/testsuite/build.xml:1669: The following error occurred while executing this line:
/NotBackedUp/jpai/business/jboss/wc/jbossas/trunk/testsuite/build.xml:1674: Some tests FAILED. Check the logs for details




> smoke-tests build SUCCESS despite FAILURE
> -----------------------------------------
>
>                 Key: JBAS-7924
>                 URL: https://jira.jboss.org/browse/JBAS-7924
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Thomas Diesler
>            Assignee: Shelly McGowan
>             Fix For: 6.0.0.CR1
>
>         Attachments: JBAS-7924.patch
>
>
> [tdiesler at tdvaio testsuite]$ ./build.sh clean jars smoke-tests
> smoke-tests:
> [server:start] Starting server "all", with command (start timeout is 120 seconds ): 
> [server:start] /usr/java/jdk1.6.0_17/bin/java -cp /home/tdiesler/git/jbossas/build/target/jboss-6.0.0-SNAPSHOT/bin/run.jar:/usr/java/jdk1.6/lib/tools.jar -Xms128m -Xmx512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:-UseGCOverheadLimit -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/home/tdiesler/git/jbossas/build/target/jboss-6.0.0-SNAPSHOT/lib/endorsed -Djgroups.udp.ip_ttl=0 -Djboss.server.log.threshold=DEBUG -Djava.endorsed.dirs=/home/tdiesler/git/jbossas/build/target/jboss-6.0.0-SNAPSHOT/lib/endorsed/ -Dxb.builder.useUnorderedSequence=true org.jboss.Main -c all -b localhost -g DefaultPartition 
> [server:start] Server started.
> ...
> smoke-tests-raw:
>      [echo] 
>      [echo]    junit.timeout:              300000
>      [echo]    jbosstest.iterationcount:   10
>      [echo]    jbosstest.threadcount:      5
>      [echo]    jbosstest.beancount:        5
>      [echo]          
>     [mkdir] Created dir: /home/tdiesler/git/jbossas/testsuite/output/log
> ...
>     [junit] Running org.jboss.test.jmsra.test.RaJMSSessionUnitTestCase
>     [junit] 	javax.ejb.EJBException: javax.jms.JMSException: Could not create a session: Unable to get managed connection for JmsXA)
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.423 sec
>     [junit] Test org.jboss.test.jmsra.test.RaJMSSessionUnitTestCase FAILED
> ...
> [server:stop] Shutting down server: all
> [server:stop] log4j:WARN No appenders could be found for logger (org.jnp.interfaces.TimedSocketFactory).
> [server:stop] log4j:WARN Please initialize the log4j system properly.
> [server:stop] shutdownTimeout will be=45
> [server:stop] Server stopped.
> BUILD SUCCESSFUL
> Total time: 6 minutes 3 seconds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list