Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 75097 invoked from network); 21 Feb 2008 09:22:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 09:22:52 -0000 Received: (qmail 77878 invoked by uid 500); 21 Feb 2008 09:22:47 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 77354 invoked by uid 500); 21 Feb 2008 09:22:45 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 77345 invoked by uid 99); 21 Feb 2008 09:22:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 01:22:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stepan.mishura@gmail.com designates 209.85.146.177 as permitted sender) Received: from [209.85.146.177] (HELO wa-out-1112.google.com) (209.85.146.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 09:22:11 +0000 Received: by wa-out-1112.google.com with SMTP id k22so4552416waf.18 for ; Thu, 21 Feb 2008 01:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9fwWX0pCwbpnOLA5sCwVr67gcqutbdCdvcApVWvMHy0=; b=ujcYCFy7FlBztYh3G5ZGevnzwMGZRU5IomBvLDDE5+oXdpUG7vMjjPz+ATbsuYLstKIMa0hPQRDC7gmz/qd0edl/MyggPhL7EY9siMVybuiWcVHtD8rGpI+Kwmva58B7KM34ZxG6IeYsSjqIbxlaLhCzxZfHK0U4E0hhKIuowg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fWFrqRXkHt4XQ7a7KQRG+kOxJt9S7pvY+mgzTrpurD9HkBON8p8YJkWPP5LcbOSE8IFtYyCbbvbmp5yQrMmxDXqEHOuYc0YXhoKED5IVil9hN+3wO7zUgknXslyndEmP3cSkg/1wPNe40DUP+Jd7TA+iGQa1r8ROkINHN3RE+y0= Received: by 10.115.94.1 with SMTP id w1mr128693wal.85.1203585740968; Thu, 21 Feb 2008 01:22:20 -0800 (PST) Received: by 10.114.57.10 with HTTP; Thu, 21 Feb 2008 01:22:20 -0800 (PST) Message-ID: <6e47b64f0802210122m351c4256g45dcb2937b019434@mail.gmail.com> Date: Thu, 21 Feb 2008 15:22:20 +0600 From: "Stepan Mishura" To: dev@harmony.apache.org Subject: Re: [archive] test failure, odd url In-Reply-To: <6e47b64f0802202345j148cc1fbn28d1d948a1b17aeb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3b3f27c60802162044h1963474ar82f51cea48621717@mail.gmail.com> <3b3f27c60802181850y1637c77o1805bede004b9eaf@mail.gmail.com> <94d710af0802182123o34f94b5na846d1ee3cbe54e@mail.gmail.com> <3b3f27c60802201856s6faf9221y493e9ee960bc5b5b@mail.gmail.com> <6e47b64f0802202345j148cc1fbn28d1d948a1b17aeb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 2/21/08, Stepan Mishura wrote: > On 2/21/08, Nathan Beyer wrote: > > I'm getting a bunch of failures for various tests connecting to the > > 'jcltest.apache.org' host. Does anyone know how that works? Is that a > > real host? > > > > I've uploaded my classlib test report here - > > http://people.apache.org/~ndbeyer/m5-tests/classlib-r629329.zip > > Interesting, yes there are failed tests in security module (not in archive). > I'll try to investigate why they failed. I've looked into: org.apache.harmony.security.tests.java.security.cert.CertificateFactory4Test test_generateCRLLjava_io_InputStream The next update: $ svn di Index: CertificateFactory4Test.java =================================================================== --- CertificateFactory4Test.java (revision 629706) +++ CertificateFactory4Test.java (working copy) @@ -116,6 +116,7 @@ + "\" were not parsed correctly", crl); } catch (IOException e) { // the certificate could not be found, skip it + System.out.println("Couldn't find certificate: " + certUrl.toExternalForm()); } catch (CRLException e) { fail("An exception was thrown while parsing \"" + certUrl.toExternalForm() + "\": " + e.getMessage()); Gives the next output: run-tests-api: [echo] Running SECURITY api tests [mkdir] Created dir: C:\Apache\Harmony\ClassLib\build\test_report [junit] Running org.apache.harmony.security.tests.java.security.cert.CertificateFactory4Test [junit] Couldn't find certificate: http://jcltest.apache.org/testres231/../internalres/Bug93893-1.crl [junit] Couldn't find certificate: http://jcltest.apache.org/testres231/../internalres/Bug93893-2.crl [junit] Couldn't find certificate: http://jcltest.apache.org/testres231/../internalres/Bug94404-DER.crl [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.594 sec So the test tries to open unreachable URL by InputStream is = certUrl.openStream(); and IOException is thrown. But in your case there is no exception and test tries to parse certificates and crls. You may wish to examine InputStream content. Thanks, Stepan. > > -Stepan. > > > > > -Nathan > > > > On Mon, Feb 18, 2008 at 11:23 PM, Sean Qiu wrote: > > > Hi, Nathan > > > It works well in my machine, windows xp sp2 32. > > > > > > > > > 2008/2/19, Nathan Beyer : > > > > > > > > > > > > > > Anyone else seeing a test failure in the archive module? I'm seeing > > > > this on all of my machines for the latest revision. > > > > > > > > On Feb 16, 2008 10:44 PM, Nathan Beyer wrote: > > > > > One of the archive module's tests is making a URL connection to > > > > > "http://jcltest.apache.org/testres231/../internalres/signedjars". Is > > > > > something supposed to be intercepting this and faking out the server? > > > > > > > > > > -Nathan > > > > > > > > > > > > > > > > > > > > > -- > > > Sean Qiu > > > http://xiaoxia.turendui.com > > > > > >