You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/06/03 20:55:47 UTC

[jira] [Created] (DERBY-5259) If an upgrade test fails for multiple versions the fail directory output is not preserved for all versions

If an upgrade test fails for multiple versions the fail directory output is not preserved for all versions
----------------------------------------------------------------------------------------------------------

                 Key: DERBY-5259
                 URL: https://issues.apache.org/jira/browse/DERBY-5259
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.9.0.0
            Reporter: Kathey Marsden
            Priority: Minor


If JUnit tests fail,  the failure infomation including stack trace, database and derby.log are saved to a directory:
fail/<framework>/<TestClass>/fixture

For the upgrade tests, fixtures are run many times for multiple versions. If one of the tests fails in more than one version only the output of one of the failures will be preserved.  It would be nice to save them all.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5259) If an upgrade test fails for multiple versions the fail directory output is not preserved for all versions

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044722#comment-13044722 ] 

Kristian Waagan commented on DERBY-5259:
----------------------------------------

Do you know if this is true for all of the files that are saved / written to in the fail directory?
The file containing the error stack trace is supposed to be appended, so if it only contains one trace maybe the test is purging the directory?

One scheme is to append date_time[_counter] to the files. The only downside is that this may eat up a lot of disk space, due to copies of the database, in some rare cases (i.e. you test a bad patch that causes most of the tests to fail).

> If an upgrade test fails for multiple versions the fail directory output is not preserved for all versions
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5259
>                 URL: https://issues.apache.org/jira/browse/DERBY-5259
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Kathey Marsden
>            Priority: Minor
>
> If JUnit tests fail,  the failure infomation including stack trace, database and derby.log are saved to a directory:
> fail/<framework>/<TestClass>/fixture
> For the upgrade tests, fixtures are run many times for multiple versions. If one of the tests fails in more than one version only the output of one of the failures will be preserved.  It would be nice to save them all.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5259) If an upgrade test fails for multiple versions the fail directory output is not preserved for all versions

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-5259:
--------------------------------------

    Urgency: Normal
     Labels: derby_triage10_10  (was: )
    
> If an upgrade test fails for multiple versions the fail directory output is not preserved for all versions
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5259
>                 URL: https://issues.apache.org/jira/browse/DERBY-5259
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.1.0
>            Reporter: Kathey Marsden
>            Priority: Minor
>              Labels: derby_triage10_10
>
> If JUnit tests fail,  the failure infomation including stack trace, database and derby.log are saved to a directory:
> fail/<framework>/<TestClass>/fixture
> For the upgrade tests, fixtures are run many times for multiple versions. If one of the tests fails in more than one version only the output of one of the failures will be preserved.  It would be nice to save them all.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira