Re: [collections] Race condition

2003-12-03 Thread Phil Steitz
Stephen,

I am not seeing these failures.  Did recent commits include a fix?  If so, 
where?  I am running the tests under maven, Sun Linux JDK 1.4.2.

Phil

Stephen Colebourne wrote:
HELP!
Anyone got any good ideas or tools to track this down. It is now very
occaisional, but may knock out the next gump run! Today it only happens when
I run TestAllPackages.
Stephen
- Original Message -
From: Stephen Colebourne [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:46 AM
Subject: [collections] Race condition


Sadly there seems to be a race condition in one of the new classes/tests

There was 1 failure:
1) testMapIteratorSet(TestFlat3Map.bulkTestMapIterator.testMapIteratorSet)
junit.framework.AssertionFailedError: Map must not contain old value
expected:false but was:true
at
org.apache.commons.collections.iterators.AbstractTestMapIterator.testMapIter

atorSet(AbstractTestMapIterator.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39

)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

.java:25)
at org.apache.commons.collections.map.TestAll.main(TestAll.java:80)
When I run with Eclipse debugger the error is in TestFlat3Map. When I run
without the debugger, the error is in TestHashedMap. And occaisionaly it
works.
I'm going to sleep, so I'll disable the test for the moment in case Gump
runs. If anyone wants to play they're welcome - I'm guessing its the test
thats bad.
Stephen



-
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]


Re: [collections] Race condition

2003-12-03 Thread Stephen Colebourne
I've seen it once today. Maybe its just my setup - as far as I can see there
is no threading in these tests...
Stephen
Sun JDK1.4.1 Windows98

- Original Message -
From: Phil Steitz [EMAIL PROTECTED]
 I am not seeing these failures.  Did recent commits include a fix?  If so,
 where?  I am running the tests under maven, Sun Linux JDK 1.4.2.

 Phil

 Stephen Colebourne wrote:
  HELP!
  Anyone got any good ideas or tools to track this down. It is now very
  occaisional, but may knock out the next gump run! Today it only happens
when
  I run TestAllPackages.
  Stephen
 
  - Original Message -
  From: Stephen Colebourne [EMAIL PROTECTED]
  To: Jakarta Commons Developers List [EMAIL PROTECTED]
  Sent: Tuesday, December 02, 2003 12:46 AM
  Subject: [collections] Race condition
 
 
 
 Sadly there seems to be a race condition in one of the new classes/tests
 
 There was 1 failure:
 1)
testMapIteratorSet(TestFlat3Map.bulkTestMapIterator.testMapIteratorSet)
 junit.framework.AssertionFailedError: Map must not contain old value
 expected:false but was:true
  at
 
 
 
org.apache.commons.collections.iterators.AbstractTestMapIterator.testMapIter
 
 atorSet(AbstractTestMapIterator.java:267)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 
 
 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
 
 )
  at
 
 
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 
 .java:25)
  at org.apache.commons.collections.map.TestAll.main(TestAll.java:80)
 
 When I run with Eclipse debugger the error is in TestFlat3Map. When I
run
 without the debugger, the error is in TestHashedMap. And occaisionaly it
 works.
 
 I'm going to sleep, so I'll disable the test for the moment in case Gump
 runs. If anyone wants to play they're welcome - I'm guessing its the
test
 thats bad.
 
 Stephen
 
 
 
 -
 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]



Re: [collections] Race condition

2003-12-03 Thread Michael Heuer

I gave it multiple tries but haven't been able to reproduce this
failure either, under maven and OSX JDK 1.4.1_01 or Sun Linux JDK 1.4.2.

   michael


On Wed, 3 Dec 2003, Stephen Colebourne wrote:

 I've seen it once today. Maybe its just my setup - as far as I can see there
 is no threading in these tests...
 Stephen
 Sun JDK1.4.1 Windows98

 - Original Message -
 From: Phil Steitz [EMAIL PROTECTED]
  I am not seeing these failures.  Did recent commits include a fix?  If so,
  where?  I am running the tests under maven, Sun Linux JDK 1.4.2.
 
  Phil
 
  Stephen Colebourne wrote:
   HELP!
   Anyone got any good ideas or tools to track this down. It is now very
   occaisional, but may knock out the next gump run! Today it only happens
 when
   I run TestAllPackages.
   Stephen
  
   - Original Message -
   From: Stephen Colebourne [EMAIL PROTECTED]
   To: Jakarta Commons Developers List [EMAIL PROTECTED]
   Sent: Tuesday, December 02, 2003 12:46 AM
   Subject: [collections] Race condition
  
  
  
  Sadly there seems to be a race condition in one of the new classes/tests
  
  There was 1 failure:
  1)
 testMapIteratorSet(TestFlat3Map.bulkTestMapIterator.testMapIteratorSet)
  junit.framework.AssertionFailedError: Map must not contain old value
  expected:false but was:true
   at
  
  
  
 org.apache.commons.collections.iterators.AbstractTestMapIterator.testMapIter
  
  atorSet(AbstractTestMapIterator.java:267)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
  
  
  
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  
  )
   at
  
  
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  
  .java:25)
   at org.apache.commons.collections.map.TestAll.main(TestAll.java:80)
  
  When I run with Eclipse debugger the error is in TestFlat3Map. When I
 run
  without the debugger, the error is in TestHashedMap. And occaisionaly it
  works.
  
  I'm going to sleep, so I'll disable the test for the moment in case Gump
  runs. If anyone wants to play they're welcome - I'm guessing its the
 test
  thats bad.
  
  Stephen
  
  
  
  -
  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]



Re: [collections] Race condition

2003-12-02 Thread Stephen Colebourne
HELP!
Anyone got any good ideas or tools to track this down. It is now very
occaisional, but may knock out the next gump run! Today it only happens when
I run TestAllPackages.
Stephen

- Original Message -
From: Stephen Colebourne [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:46 AM
Subject: [collections] Race condition


 Sadly there seems to be a race condition in one of the new classes/tests

 There was 1 failure:
 1) testMapIteratorSet(TestFlat3Map.bulkTestMapIterator.testMapIteratorSet)
 junit.framework.AssertionFailedError: Map must not contain old value
 expected:false but was:true
  at

org.apache.commons.collections.iterators.AbstractTestMapIterator.testMapIter
 atorSet(AbstractTestMapIterator.java:267)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
 )
  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 .java:25)
  at org.apache.commons.collections.map.TestAll.main(TestAll.java:80)

 When I run with Eclipse debugger the error is in TestFlat3Map. When I run
 without the debugger, the error is in TestHashedMap. And occaisionaly it
 works.

 I'm going to sleep, so I'll disable the test for the moment in case Gump
 runs. If anyone wants to play they're welcome - I'm guessing its the test
 thats bad.

 Stephen



 -
 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]