On 8/7/12 11:29 AM, Luc Maisonobe wrote:
> Le 07/08/2012 00:21, Phil Steitz a écrit :
>> On 8/6/12 2:53 PM, Gilles Sadowski wrote:
>>> On Sun, Aug 05, 2012 at 03:13:33PM -0700, Phil Steitz wrote:
>>>> The site build just hung on me due to
>>>> BOBYQAOptimizerTest.testConstrainedRosenWithMoreInterpolationPoints
>>>> spinning.  A sample thread dump showing the spinning thread is show
>>>> below.  Above the reference to
>>>> BOBYQAOptimizer.doOptimize(BOBYQAOptimizer.java:246), successive
>>>> dumps change.  The code continues to run, but does not complete. 
>>>> The hang happened during the coberta instrumented test run.
>>>>
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb(BOBYQAOptimizer.java:970)
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqa(BOBYQAOptimizer.java:334)
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.doOptimize(BOBYQAOptimizer.java:246)
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimize(BaseAbstractMultivariateOptimizer.java:126)
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer.optimize(BaseAbstractMultivariateSimpleBoundsOptimizer.java:139)
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BOBYQAOptimizerTest.doTest(BOBYQAOptimizerTest.java:321)
>>>>     at
>>>> org.apache.commons.math3.optimization.direct.BOBYQAOptimizerTest.testConstrainedRosenWithMoreInterpolationPoints(BOBYQAOptimizerTest.java:249)
>>> Runs fine here...
>>> Excerpt from Cobertura report:
>>> BOBYQAOptimizer   87%          1022/1162       84%         525/624      23
>> Interesting.  Hangs every time for me on
> Same here.
> I wanted to use cobertura for testing the studff I am working on, and
> could not succeed.

What I don't get is why this happens only when running the
coberta-instrumented code and why it is not actually hung, just not
terminating.  Successive thread dumps show that processing is
continuing.  Have we seen other situations where this test does not
terminate?

Phil
>
> I'm running the following versions, on a Linux box with Debian squeeze
> OS, a three years old AMD 64 processor and about 6 Gbytes RAM.
>
> (lehrin) luc% mvn -version
> Apache Maven 2.2.1 (rdebian-8)
> Java version: 1.6.0_24
> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> Default locale: fr_FR, platform encoding: UTF-8
> OS name: "linux" version: "3.2.0-3-amd64" arch: "amd64" Family: "unix"
> (lehrin) luc% java -version
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-2)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> (lehrin) luc%
>
> Luc
>
>> BOBYQAOptimizer.doOptimize(BOBYQAOptimizer.java:246)
>>
>> running
>>
>> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
>> java version "1.6.0_33"
>> Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
>>
>> Phil
>>
>>>
>>> Gilles
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to