harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <nbe...@gmail.com>
Subject Re: [archive] test failure, odd url
Date Fri, 22 Feb 2008 02:49:29 GMT
I have OpenDNS configured, so I'm getting this -
http://guide.opendns.com/?url=jcltest.apache.org%2Finternalres%2FBug93893-1.crl.

I guess that's the issue ... thanks.

-Nathan

On Thu, Feb 21, 2008 at 3:22 AM, Stepan Mishura
<stepan.mishura@gmail.com> wrote:
> On 2/21/08, Stepan Mishura <stepan.mishura@gmail.com> wrote:
>  > On 2/21/08, Nathan Beyer <nbeyer@gmail.com> 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 <sean.xx.qiu@gmail.com> wrote:
>  > > > Hi, Nathan
>  > > >  It works well in my machine, windows xp sp2 32.
>  > > >
>  > > >
>  > > >  2008/2/19, Nathan Beyer <ndbeyer@apache.org>:
>  > > >
>  > > >
>  > > > >
>  > > >  > 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 <ndbeyer@apache.org>
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
>  > > >
>  > >
>  >
>

Mime
View raw message