Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA5A7D501 for ; Tue, 25 Sep 2012 00:08:07 +0000 (UTC) Received: (qmail 77620 invoked by uid 500); 25 Sep 2012 00:08:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 77592 invoked by uid 500); 25 Sep 2012 00:08:07 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 77581 invoked by uid 99); 25 Sep 2012 00:08:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 00:08:07 +0000 Date: Tue, 25 Sep 2012 11:08:07 +1100 (NCT) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: <978941055.119661.1348531687641.JavaMail.jiratomcat@arcas> In-Reply-To: <38694371.3926.1337621561475.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (DERBY-5775) Upgrade tests should print full IOException stack trace when it fails to access old versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-5775: -------------------------------------- Issue & fix info: Known fix,Newcomer Urgency: Low Labels: derby_triage10_10 (was: ) > 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 > > 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