On 16/01/2008, sebb <[EMAIL PROTECTED]> wrote: > On 16/01/2008, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > > > > On Wed, 2008-01-16 at 17:53 +0000, sebb wrote: > > > Sigs look OK. > > > > > > README.txt still refers to old Jakarta website. > > > > > > > Fixed. Good catch. Thank you. > > > > > mvn test gave me an error: > > > > > > ------------------------------------------------------- > > > T E S T S > > > ------------------------------------------------------- > > > Running org.apache.http.nio.TestAll > > > org.apache.http.nio.reactor.IOReactorException: Failure accepting > > > connection > > > at > > > org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.processEvent(DefaultListeningIOReactor.java:103) > > > at > > > org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.processEvents(DefaultListeningIOReactor.java:84) > > > at > > > org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:158) > > > at > > > org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor$1.run(TestDefaultListeningIOReactor.java:112) > > > at java.lang.Thread.run(Thread.java:595) > > > Caused by: java.nio.channels.ClosedChannelException > > > at > > > sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:130) > > > at > > > org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.processEvent(DefaultListeningIOReactor.java:100) > > > ... 4 more > > > Tests run: 97, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 5.891 > > > sec <<< FAILURE! > > > > > > Results : > > > Tests run: 97, Failures: 1, Errors: 7, Skipped: 0 > > > > > > The failure only happened once; the 7 errors seem to happen every time. > > > > > > This was using > > > > > > java version "1.5.0_13" > > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) > > > Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) > > > > > > > You are on Windows, aren't you? There has been no test failures on the > > GUMP build server since 4.0-alpha6, nor have I seen anything of that > > sort locally. I cannot fix things I am not able to reproduce. > > Yes, Windows XP by default, though I also have some VMWare > installations (and access to VMS if required ;-) > > > Could you please post the content > > of /module-nio/target/surefire-reports/org.apache.http.nio.TestAll.txt. > > Maybe that will give me some hints. > > > > Just had a look, and all the 7 errors seem to be due to: > > java.io.IOException: Invalid keystore format > > I get the same errors if I rename the file as test.keystore1, however > I then also get a Failure: > > testEndpointUpAndDown(org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor) > Time elapsed: 0.063 sec <<< FAILURE! > junit.framework.AssertionFailedError: expected:<1> but was:<0> > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:282) > at junit.framework.Assert.assertEquals(Assert.java:64) > at junit.framework.Assert.assertEquals(Assert.java:201) > at junit.framework.Assert.assertEquals(Assert.java:207) > at > org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor.testEndpointUpAndDown(TestDefaultListeningIOReactor.java:140) > > If I create an empty test.keystore file I get the errors: > > java.io.EOFException > > Same test cases; this confirms that the file is being read. > > By the way, the test.keystore file in SVN trunk does not seem to be > the same as the one in the source archive. They are not the same size: > trunk=1378, zip file 2060. Also the tar.gz one shows up as 2050 bytes. > > Could there be a problem with the packaging? >
I've tried extracting the src archives on Windows and people; the test.keystore files are different, so there seems to be a packaging problem. On Windows, test.keystore is the only file that is different when the two archives are extracted and compared. I've only compared the test.keystore file on people. > I tried testing with the test.keystore from trunk, but that also gave an > error: > > ------------------------------------------------------------------------------- > Test set: org.apache.http.nio.TestAll > ------------------------------------------------------------------------------- > Tests run: 97, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 5.079 > sec <<< FAILURE! > testEndpointUpAndDown(org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor) > Time elapsed: 0.093 sec <<< FAILURE! > junit.framework.AssertionFailedError: expected:<1> but was:<0> > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:282) > at junit.framework.Assert.assertEquals(Assert.java:64) > at junit.framework.Assert.assertEquals(Assert.java:201) > at junit.framework.Assert.assertEquals(Assert.java:207) > at > org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor.testEndpointUpAndDown(TestDefaultListeningIOReactor.java:140) > > testBufferedInput(org.apache.http.impl.nio.reactor.TestBaseIOReactorSSL) > Time elapsed: 0.016 sec <<< ERROR! > java.io.EOFException > > ... > > The rest of the tests showed EOF as well. > > Looks like Java may be having a problem reading the file. > > > > Oleg > > > > > On 16/01/2008, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > > > > Has anyone had a chance to have taken a look at the release notes and > > > > packages. Can I proceed? > > > > > > > > Oleg > > > > > > > > > > > > On Tue, 2008-01-15 at 11:32 +0100, Oleg Kalnichevski wrote: > > > > > Folks, > > > > > > > > > > Please take a few minutes to review the release notes and release > > > > > packages. If I hear no complaints, I'll go ahead with tagging the > > > > > release in SVN and building the official release artifacts. > > > > > > > > > > Feel free to add more stuff to the release notes as this is a very > > > > > important milestone for us. > > > > > > > > > > Release notes: > > > > > http://people.apache.org/~olegk/httpcore-4.0-beta1-preview/RELEASE_NOTES.txt > > > > > > > > > > Packages: > > > > > http://people.apache.org/~olegk/httpcore-4.0-beta1-preview/packages/ > > > > > > > > > > Cheers > > > > > > > > > > Oleg > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]