You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Toby Hobson <to...@gmail.com> on 2012/11/21 13:34:07 UTC
Test failures with trunk/head
Hi
I'm trying to build the latest source code which I've checked out from
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk.
I created a build.properties file and I'm able to successfully build Tomcat
using the default ant goal. However a few tests are failing when I execute
"ant test" and I wondered if anyone can give me some pointers as to what
could be wrong.
The tests that fail are TestSwallowAbortedUploads and TestAccessLogValve:
junit.framework.AssertionFailedError: Limited upload with swallow disabled
does not generate client exception at
org.apache.catalina.core.TestSwallowAbortedUploads.testAbortedUploadLimitedNoSwallow(TestSwallowAbortedUploads.java:126
junit.framework.AssertionFailedError: Limited upload with swallow disabled
does not generate client exception at
org.apache.catalina.core.TestSwallowAbortedUploads.testAbortedPOST413NoSwallow(TestSwallowAbortedUploads.java:172
junit.framework.AssertionFailedError: arrays first differed at element [0];
expected:<...Jan/1970:01:00:00 +0[1]00]> but was:<...Jan/1970:01:00:00
+0[0]00]> at
org.apache.catalina.valves.TestAccessLogValve.testBug54044(TestAccessLogValve.java:52)
At this stage I haven't made any changes to the source code.
I'm running Java 1.6 on OS X:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-12A269)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
Ant 1.8.2
Thanks
Toby
Re: Test failures with trunk/head
Posted by Rainer Jung <ra...@kippdata.de>.
On 21.11.2012 14:44, Mark Thomas wrote:
> On 21/11/2012 13:40, Christopher Schultz wrote:
>>> This should have been fixed very recently by r1410770 about 4
>>> days ago. Please check if your TC 7 checkout already contains
>>> that revision.
>
>> This unit test fails for me even in the 7.0.33 bundle.
>
> As expected.
... because 7.0.33 is r1410718 = r1710770 - 52 ;)
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Test failures with trunk/head
Posted by Mark Thomas <ma...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21/11/2012 13:40, Christopher Schultz wrote:
>> This should have been fixed very recently by r1410770 about 4
>> days ago. Please check if your TC 7 checkout already contains
>> that revision.
>
> This unit test fails for me even in the 7.0.33 bundle.
As expected.
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQIcBAEBAgAGBQJQrNq4AAoJEBDAHFovYFnnWpoQAKFhpgRLv8oKuPxqy1PWstqm
w+S9kgp5W7dlksL+8UQTM47vQph1/Yu3SGPKKRqcBbd/HiuKpmWfsAhhXpEMVy15
LXoR2eywPKx+kA6XJKJAraHNPuFrW0akc1lgTAQoxtjUw3jYMCz1F5xwf1ROWc8A
vfdx+3cUT+Ld7As7KZozKonSS7Xf5O5i/wRnP/33xwgD5Mke8u11XZJK5RrUXAOE
+4BGi0zxMIS97xPHpJFvF3OVCUwBAavXFfWD4YY33JHNQOmNR2CSvbTW7pJ9X1Sf
NigJ4jekoAAEzzn7rUWrUdqve4fUxcHi+3pwTo8CKTEd3rL+FI9TgOCJ09bBtCsH
d2RgM5mRd0ERqCfosoEIqzxmbLBCKCnDGHNMeoQqM4xenqfWTmKcJXAu/4Mf8sO3
zKnybektXhjMqCbpzh2N3Ocp/mPfgvImZOqJD4dCQUI4z4Q8noWDBC+cPW9uoyOw
1NHJ2L0aPqrFF0dbX4J4htiorHmb/cxKLEGO+qwY0c6QXl6G4BprNLj30eDmdtVX
o5paw8QZqbz3qluCI/+NcAd6DUliyeJwQ5nZbPp+a57AHGsQOBvp0IBCrNYXNVsx
s1FIp8i3Eu09i7OZWYLcRyxwXCFxIt1UiItbqzHSoNaRwvFJeIMaMtEj/EVeWpz4
nNzpSq1VUru19T6w4rcx
=Cdej
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Test failures with trunk/head
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rainer,
On 11/21/12 8:33 AM, Rainer Jung wrote:
> On 21.11.2012 13:34, Toby Hobson wrote:
>> I'm trying to build the latest source code which I've checked out from
>> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk.
>>
>> I created a build.properties file and I'm able to successfully build Tomcat
>> using the default ant goal. However a few tests are failing when I execute
>> "ant test" and I wondered if anyone can give me some pointers as to what
>> could be wrong.
>>
>> The tests that fail are TestSwallowAbortedUploads and TestAccessLogValve:
>>
>> junit.framework.AssertionFailedError: Limited upload with swallow disabled
>> does not generate client exception at
>> org.apache.catalina.core.TestSwallowAbortedUploads.testAbortedUploadLimitedNoSwallow(TestSwallowAbortedUploads.java:126
>>
>>
>> junit.framework.AssertionFailedError: Limited upload with swallow disabled
>> does not generate client exception at
>> org.apache.catalina.core.TestSwallowAbortedUploads.testAbortedPOST413NoSwallow(TestSwallowAbortedUploads.java:172
>
> Never have seen that one failing.
>
>> junit.framework.AssertionFailedError: arrays first differed at element [0];
>> expected:<...Jan/1970:01:00:00 +0[1]00]> but was:<...Jan/1970:01:00:00
>> +0[0]00]> at
>> org.apache.catalina.valves.TestAccessLogValve.testBug54044(TestAccessLogValve.java:52)
>
> This should have been fixed very recently by r1410770 about 4 days ago.
> Please check if your TC 7 checkout already contains that revision.
This unit test fails for me even in the 7.0.33 bundle.
-chris
Re: Test failures with trunk/head
Posted by Toby Hobson <to...@gmail.com>.
Rainer Jung <rainer.jung <at> kippdata.de> writes:
>
> Never have seen that one failing.
>
> > junit.framework.AssertionFailedError: arrays first differed at element [0];
> > expected:<...Jan/1970:01:00:00 +0[1]00]> but was:<...Jan/1970:01:00:00
> > +0[0]00]> at
> >
org.apache.catalina.valves.TestAccessLogValve.testBug54044
(TestAccessLogValve.java:52)
>
> This should have been fixed very recently by r1410770 about 4 days ago.
> Please check if your TC 7 checkout already contains that revision.
>
> Regards,
>
> Rainer
>
I'm on r1412145
Regards,
Toby
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Test failures with trunk/head
Posted by Rainer Jung <ra...@kippdata.de>.
On 21.11.2012 13:34, Toby Hobson wrote:
> I'm trying to build the latest source code which I've checked out from
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk.
>
> I created a build.properties file and I'm able to successfully build Tomcat
> using the default ant goal. However a few tests are failing when I execute
> "ant test" and I wondered if anyone can give me some pointers as to what
> could be wrong.
>
> The tests that fail are TestSwallowAbortedUploads and TestAccessLogValve:
>
> junit.framework.AssertionFailedError: Limited upload with swallow disabled
> does not generate client exception at
> org.apache.catalina.core.TestSwallowAbortedUploads.testAbortedUploadLimitedNoSwallow(TestSwallowAbortedUploads.java:126
>
>
> junit.framework.AssertionFailedError: Limited upload with swallow disabled
> does not generate client exception at
> org.apache.catalina.core.TestSwallowAbortedUploads.testAbortedPOST413NoSwallow(TestSwallowAbortedUploads.java:172
Never have seen that one failing.
> junit.framework.AssertionFailedError: arrays first differed at element [0];
> expected:<...Jan/1970:01:00:00 +0[1]00]> but was:<...Jan/1970:01:00:00
> +0[0]00]> at
> org.apache.catalina.valves.TestAccessLogValve.testBug54044(TestAccessLogValve.java:52)
This should have been fixed very recently by r1410770 about 4 days ago.
Please check if your TC 7 checkout already contains that revision.
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org