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 "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2012/09/25 23:12:08 UTC

[jira] [Resolved] (DERBY-5775) Upgrade tests should print full IOException stack trace when it fails to access old versions

     [ https://issues.apache.org/jira/browse/DERBY-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-5775.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.10.0.0
                   10.9.1.1
                   10.8.2.3
    
> Upgrade tests should  print full IOException stack trace when it fails to access old versions
> ---------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5775
>                 URL: https://issues.apache.org/jira/browse/DERBY-5775
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.2.2
>            Reporter: Kathey Marsden
>            Assignee: Myrna van Lunteren
>            Priority: Trivial
>              Labels: derby_triage10_10
>             Fix For: 10.8.2.3, 10.9.1.1, 10.10.0.0
>
>         Attachments: DERBY-5775.diff
>
>
> When the Upgrade tests fail to access the oldVersions due to an IOException the message is not very clear as to what the IOException was. e,g. can output 
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> Time: 0.008
> OK (0 tests)
> The code in OldVersions.getVersions()
>           }
>         } catch (IOException ioe) {
>             alarm("Error reading from file: " + oldVersionsPath + ioe.getMessage());
>         }
>         
> should print the exception stack trace or possibly even fail on IOException.

--
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