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 2012/09/25 22:24:07 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13463177#comment-13463177 ] 

Kathey Marsden commented on DERBY-5775:
---------------------------------------

+1 to this patch. I think it will provide useful information when the upgrade tests don't run.

                
> 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
>            Priority: Trivial
>              Labels: derby_triage10_10
>         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