You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2007/10/09 03:08:01 UTC

Re: svn commit: r583017 - /incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java

BTW, when I type "mvn test", testing stops after the first error.  Is
there a way I can have it continue testing even if there is a failed
test?  This way I can gather all problems at once.

Thanks,
Glen

Am Dienstag, den 09.10.2007, 00:27 +0000 schrieb gmazza@apache.org:
> Author: gmazza
> Date: Mon Oct  8 17:27:03 2007
> New Revision: 583017
> 
> URL: http://svn.apache.org/viewvc?rev=583017&view=rev
> Log:
> Test commit; ignoring one of the tests (does not work with Linux).
> 
> Modified:
>     incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
> 
> Modified: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?rev=583017&r1=583016&r2=583017&view=diff
> ==============================================================================
> --- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java (original)
> +++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java Mon Oct  8 17:27:03 2007
> @@ -100,6 +100,7 @@
>          assertEquals("test", echo.echo("test"));
>      }
>      @Test
> +    @Ignore("Seems to randomly hang on Linux")
>      public void testUsernameToken() throws Exception {
>          String actions = WSHandlerConstants.ENCRYPT + " " + WSHandlerConstants.SIGNATURE + " "
>                           + WSHandlerConstants.TIMESTAMP + " " + WSHandlerConstants.USERNAME_TOKEN;
> 
> 


RE: svn commit: r583017 -/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java

Posted by Benson Margulies <bi...@basistech.com>.
What Dan said. I misrembered -fae for 'fail-at-end'.

> -----Original Message-----
> From: Benson Margulies [mailto:bim2007@basistech.com]
> Sent: Monday, October 08, 2007 9:17 PM
> To: cxf-dev@incubator.apache.org
> Subject: RE: svn commit: r583017 -
>
/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secu
ri
> ty/wss4j/RoundTripTest.java
> 
> -fae.
> 
> > -----Original Message-----
> > From: Glen Mazza [mailto:glen.mazza@verizon.net]
> > Sent: Monday, October 08, 2007 9:08 PM
> > To: cxf-dev@incubator.apache.org
> > Subject: Re: svn commit: r583017 -
> >
>
/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secu
> ri
> > ty/wss4j/RoundTripTest.java
> >
> > BTW, when I type "mvn test", testing stops after the first error.
Is
> > there a way I can have it continue testing even if there is a failed
> > test?  This way I can gather all problems at once.
> >
> > Thanks,
> > Glen
> >
> > Am Dienstag, den 09.10.2007, 00:27 +0000 schrieb gmazza@apache.org:
> > > Author: gmazza
> > > Date: Mon Oct  8 17:27:03 2007
> > > New Revision: 583017
> > >
> > > URL: http://svn.apache.org/viewvc?rev=583017&view=rev
> > > Log:
> > > Test commit; ignoring one of the tests (does not work with Linux).
> > >
> > > Modified:
> > >
> >
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
> it
> > y/wss4j/RoundTripTest.java
> > >
> > > Modified:
> >
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
> it
> > y/wss4j/RoundTripTest.java
> > > URL:
> >
>
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test
> /j
> >
>
ava/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?rev=583017&r1=58
> 30
> > 16&r2=583017&view=diff
> > >
> >
>
========================================================================
> ==
> > ====
> > > ---
> >
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
> it
> > y/wss4j/RoundTripTest.java (original)
> > > +++
> >
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
> it
> > y/wss4j/RoundTripTest.java Mon Oct  8 17:27:03 2007
> > > @@ -100,6 +100,7 @@
> > >          assertEquals("test", echo.echo("test"));
> > >      }
> > >      @Test
> > > +    @Ignore("Seems to randomly hang on Linux")
> > >      public void testUsernameToken() throws Exception {
> > >          String actions = WSHandlerConstants.ENCRYPT + " " +
> > WSHandlerConstants.SIGNATURE + " "
> > >                           + WSHandlerConstants.TIMESTAMP + " " +
> > WSHandlerConstants.USERNAME_TOKEN;
> > >
> > >


RE: svn commit: r583017 -/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java

Posted by Benson Margulies <bi...@basistech.com>.
-fae.

> -----Original Message-----
> From: Glen Mazza [mailto:glen.mazza@verizon.net]
> Sent: Monday, October 08, 2007 9:08 PM
> To: cxf-dev@incubator.apache.org
> Subject: Re: svn commit: r583017 -
>
/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secu
ri
> ty/wss4j/RoundTripTest.java
> 
> BTW, when I type "mvn test", testing stops after the first error.  Is
> there a way I can have it continue testing even if there is a failed
> test?  This way I can gather all problems at once.
> 
> Thanks,
> Glen
> 
> Am Dienstag, den 09.10.2007, 00:27 +0000 schrieb gmazza@apache.org:
> > Author: gmazza
> > Date: Mon Oct  8 17:27:03 2007
> > New Revision: 583017
> >
> > URL: http://svn.apache.org/viewvc?rev=583017&view=rev
> > Log:
> > Test commit; ignoring one of the tests (does not work with Linux).
> >
> > Modified:
> >
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
it
> y/wss4j/RoundTripTest.java
> >
> > Modified:
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
it
> y/wss4j/RoundTripTest.java
> > URL:
>
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test
/j
>
ava/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?rev=583017&r1=58
30
> 16&r2=583017&view=diff
> >
>
========================================================================
==
> ====
> > ---
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
it
> y/wss4j/RoundTripTest.java (original)
> > +++
>
incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/secur
it
> y/wss4j/RoundTripTest.java Mon Oct  8 17:27:03 2007
> > @@ -100,6 +100,7 @@
> >          assertEquals("test", echo.echo("test"));
> >      }
> >      @Test
> > +    @Ignore("Seems to randomly hang on Linux")
> >      public void testUsernameToken() throws Exception {
> >          String actions = WSHandlerConstants.ENCRYPT + " " +
> WSHandlerConstants.SIGNATURE + " "
> >                           + WSHandlerConstants.TIMESTAMP + " " +
> WSHandlerConstants.USERNAME_TOKEN;
> >
> >


Re: svn commit: r583017 - /incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java

Posted by Daniel Kulp <dk...@apache.org>.
The best option is to add -fn on the command line.  That will cause it to 
fail at the end and list the modules that failed.

Dan


On Monday 08 October 2007, Glen Mazza wrote:
> BTW, when I type "mvn test", testing stops after the first error.  Is
> there a way I can have it continue testing even if there is a failed
> test?  This way I can gather all problems at once.
>
> Thanks,
> Glen
>
> Am Dienstag, den 09.10.2007, 00:27 +0000 schrieb gmazza@apache.org:
> > Author: gmazza
> > Date: Mon Oct  8 17:27:03 2007
> > New Revision: 583017
> >
> > URL: http://svn.apache.org/viewvc?rev=583017&view=rev
> > Log:
> > Test commit; ignoring one of the tests (does not work with Linux).
> >
> > Modified:
> >    
> > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
> >ecurity/wss4j/RoundTripTest.java
> >
> > Modified:
> > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
> >ecurity/wss4j/RoundTripTest.java URL:
> > http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/
> >test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?rev=583
> >017&r1=583016&r2=583017&view=diff
> > ====================================================================
> >========== ---
> > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
> >ecurity/wss4j/RoundTripTest.java (original) +++
> > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
> >ecurity/wss4j/RoundTripTest.java Mon Oct  8 17:27:03 2007 @@ -100,6
> > +100,7 @@
> >          assertEquals("test", echo.echo("test"));
> >      }
> >      @Test
> > +    @Ignore("Seems to randomly hang on Linux")
> >      public void testUsernameToken() throws Exception {
> >          String actions = WSHandlerConstants.ENCRYPT + " " +
> > WSHandlerConstants.SIGNATURE + " " + WSHandlerConstants.TIMESTAMP +
> > " " + WSHandlerConstants.USERNAME_TOKEN;



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Re: svn commit: r583017 - /incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java

Posted by Daniel Kulp <dk...@apache.org>.
Just a quick update.....   The RoundTripTest also fails randomly on OSX on my
machine.   Out of 10 runs, it failed 4 times.   Thus, it may be more
processor speed dependent than platform dependent.   

Definitely not a fun thing to try and track down.. :-(

Dan




Glen Mazza-2 wrote:
> 
> I would tend to agree--ignore + JIRA makes sense.  It is true, when
> newbies submit a patch and see failures they don't know if its their
> code or something preexisting, and it can cause unnecessary stress.
> 
> Glen
> 
> Am Dienstag, den 09.10.2007, 09:37 -0400 schrieb Daniel Kulp:
>> Honestly,  I'd prefer if this test (and the SequenceTest that keeps 
>> randomly failing for me) get @Ignores and a JIRA then logged so it's 
>> tracked. 
>> 
>> Random failures are extremely bad to have.   If someone new (like Glen) 
>> tries to make a change and starts seeing failures, they could waste a 
>> lot of time trying to figure out why and can easily get discouraged.
>> 
>> The other problem I have is if the test randomly fails during the "mvn 
>> release:prepare" step or "mvn release:perform" step, it's a pain to 
>> recover from.
>> 
>> Dan
>> 
>> 
>> On Monday 08 October 2007, Bozhong Lin wrote:
>> > Hi Glen,
>> >
>> > Do you plan to revisit this later? I never experienced this test hang
>> > on SUSE Linux. Instead of ignoring this test, we should fix the test
>> > if there is any issue.
>> >
>> > Cheers,
>> > Bo
>> >
>> > gmazza@apache.org wrote:
>> > > Author: gmazza
>> > > Date: Mon Oct  8 17:27:03 2007
>> > > New Revision: 583017
>> > >
>> > > URL: http://svn.apache.org/viewvc?rev=583017&view=rev
>> > > Log:
>> > > Test commit; ignoring one of the tests (does not work with Linux).
>> > >
>> > > Modified:
>> > >    
>> > > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
>> > >ecurity/wss4j/RoundTripTest.java
>> > >
>> > > Modified:
>> > > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
>> > >ecurity/wss4j/RoundTripTest.java URL:
>> > > http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/
>> > >test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?rev=583
>> > >017&r1=583016&r2=583017&view=diff
>> > > ====================================================================
>> > >========== ---
>> > > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
>> > >ecurity/wss4j/RoundTripTest.java (original) +++
>> > > incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/s
>> > >ecurity/wss4j/RoundTripTest.java Mon Oct  8 17:27:03 2007 @@ -100,6
>> > > +100,7 @@
>> > >          assertEquals("test", echo.echo("test"));
>> > >      }
>> > >      @Test
>> > > +    @Ignore("Seems to randomly hang on Linux")
>> > >      public void testUsernameToken() throws Exception {
>> > >          String actions = WSHandlerConstants.ENCRYPT + " " +
>> > > WSHandlerConstants.SIGNATURE + " " + WSHandlerConstants.TIMESTAMP +
>> > > " " + WSHandlerConstants.USERNAME_TOKEN;
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-svn-commit%3A-r583017----incubator-cxf-trunk-rt-ws-security-src-test-java-org-apache-cxf-ws-security-wss4j-RoundTripTest.java-tf4591550.html#a13214823
Sent from the cxf-dev mailing list archive at Nabble.com.