You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by gm...@apache.org on 2007/10/09 02:27:04 UTC

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

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.


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

Posted by Glen Mazza <gl...@verizon.net>.
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 "Jeff.Yu" <je...@iona.com>.
Hi, Glen

Are you building it under cxf trunk or cxf-2.0.3 branch?
 From the error stack, I would say you didn't use the latest jca-module 
code. Can you check the CXFConnectionRequestInfo class? it should have 
the empty constructor with latest version.

Thanks
Jeff

Glen Mazza wrote:
> There is already another test in this same file ignored for the same
> reason.  Dan said he doesn't know what the problem is with this one,
> it's an intermittent Linux problem that I'm also experiencing with
> Ubuntu Linux 7.0.4.  
>
> Now that I know how to keep the tests running even if there is an error,
> I'll remove "ignore" in a few minutes.  I don't need it anymore.
>
> Next problem, though, running mvn test in the systests is giving me this
> failure:
>
> [INFO] Error for project: Apache CXF System Tests (during test)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[107,47] cannot find symbol
> symbol  : constructor CXFConnectionRequestInfo()
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[108,19] cannot find symbol
> symbol  : method
> setInterface(java.lang.Class<org.apache.hello_world_soap_http.Greeter>)
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[109,19] cannot find symbol
> symbol  : method setAddress(java.lang.String)
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> Does anyone know what (if anything) I'm doing wrong to cause this to
> occur?  Is there some external library I need to download?
>
> Thanks,
> Glen
>
>
> Am Dienstag, den 09.10.2007, 10:16 +0800 schrieb Bozhong Lin:
>   
>> 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/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 Glen Mazza <gl...@verizon.net>.
I'm working only from trunk.  Still, the svn up/mvn clean seemed to fix
the problem.

Thanks Willem and Jeff!

Glen

Am Dienstag, den 09.10.2007, 12:48 +0800 schrieb Willem Jiang: 
> Hi Glen ,
> 
> Are you using the trunk version or the2.0.x-fixes branches?
> If it is the 2.0.x-fixes branches, I think you need to do the following 
> steps from the CXF top directory
>  svn up
>  mvn clean install -Pfastinstall
> 
> Willem.
> 
> Glen Mazza wrote:
> > There is already another test in this same file ignored for the same
> > reason.  Dan said he doesn't know what the problem is with this one,
> > it's an intermittent Linux problem that I'm also experiencing with
> > Ubuntu Linux 7.0.4.  
> >
> > Now that I know how to keep the tests running even if there is an error,
> > I'll remove "ignore" in a few minutes.  I don't need it anymore.
> >
> > Next problem, though, running mvn test in the systests is giving me this
> > failure:
> >
> > [INFO] Error for project: Apache CXF System Tests (during test)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> > /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[107,47] cannot find symbol
> > symbol  : constructor CXFConnectionRequestInfo()
> > location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
> >
> > /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[108,19] cannot find symbol
> > symbol  : method
> > setInterface(java.lang.Class<org.apache.hello_world_soap_http.Greeter>)
> > location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
> >
> > /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[109,19] cannot find symbol
> > symbol  : method setAddress(java.lang.String)
> > location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
> >
> > Does anyone know what (if anything) I'm doing wrong to cause this to
> > occur?  Is there some external library I need to download?
> >
> > Thanks,
> > Glen
> >
> >
> > Am Dienstag, den 09.10.2007, 10:16 +0800 schrieb Bozhong Lin:
> >   
> >> 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/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 Willem Jiang <ni...@iona.com>.
Hi Glen ,

Are you using the trunk version or the2.0.x-fixes branches?
If it is the 2.0.x-fixes branches, I think you need to do the following 
steps from the CXF top directory
 svn up
 mvn clean install -Pfastinstall

Willem.

Glen Mazza wrote:
> There is already another test in this same file ignored for the same
> reason.  Dan said he doesn't know what the problem is with this one,
> it's an intermittent Linux problem that I'm also experiencing with
> Ubuntu Linux 7.0.4.  
>
> Now that I know how to keep the tests running even if there is an error,
> I'll remove "ignore" in a few minutes.  I don't need it anymore.
>
> Next problem, though, running mvn test in the systests is giving me this
> failure:
>
> [INFO] Error for project: Apache CXF System Tests (during test)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[107,47] cannot find symbol
> symbol  : constructor CXFConnectionRequestInfo()
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[108,19] cannot find symbol
> symbol  : method
> setInterface(java.lang.Class<org.apache.hello_world_soap_http.Greeter>)
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[109,19] cannot find symbol
> symbol  : method setAddress(java.lang.String)
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> Does anyone know what (if anything) I'm doing wrong to cause this to
> occur?  Is there some external library I need to download?
>
> Thanks,
> Glen
>
>
> Am Dienstag, den 09.10.2007, 10:16 +0800 schrieb Bozhong Lin:
>   
>> 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/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 Glen Mazza <gl...@verizon.net>.
There is already another test in this same file ignored for the same
reason.  Dan said he doesn't know what the problem is with this one,
it's an intermittent Linux problem that I'm also experiencing with
Ubuntu Linux 7.0.4.  

Now that I know how to keep the tests running even if there is an error,
I'll remove "ignore" in a few minutes.  I don't need it anymore.

Next problem, though, running mvn test in the systests is giving me this
failure:

[INFO] Error for project: Apache CXF System Tests (during test)
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[107,47] cannot find symbol
symbol  : constructor CXFConnectionRequestInfo()
location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo

/home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[108,19] cannot find symbol
symbol  : method
setInterface(java.lang.Class<org.apache.hello_world_soap_http.Greeter>)
location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo

/home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[109,19] cannot find symbol
symbol  : method setAddress(java.lang.String)
location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo

Does anyone know what (if anything) I'm doing wrong to cause this to
occur?  Is there some external library I need to download?

Thanks,
Glen


Am Dienstag, den 09.10.2007, 10:16 +0800 schrieb Bozhong Lin:
> 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/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 Glen Mazza <gl...@verizon.net>.
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;
> 
> 
> 


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>.
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;



-- 
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 Bozhong Lin <bl...@iona.com>.
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/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;
>
>