Failing test on CI not locally ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Failing test on CI not locally ...

SergeStinckwich
Dear all,

GeneralFunctionFitTest>>testMaximumIterationsProbabilistic is a test
that fails only in mac in the CI :
https://travis-ci.org/PolyMathOrg/PolyMath/jobs/210555137

and if I try to run the same test on my mac laptop, it never fails ...
Any idea ?

I have also randomly tests that fails from time to time ...

Regards,
--
Serge Stinckwich
UCN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Failing test on CI not locally ...

werner kassens-2
Hi Serge,
the CI obviously makes the random seed more or less nonrandom.
i had marked my tests that use random-numbers with "Probabilistic" at the end of the name. if you want to make them nonrandom, just set the seed of the used randomgenerator in the test (i dont know by heart which one it is). i cant do it (at the moment?) because after i downloaded ConfigurationOfPolyMath-SergeStinckwich.59 from the PolyMath repository in smalltalkhub this line:
ConfigurationOfPolyMath loadDevelopment .
resulted in an error:NameNotFond:Math-Number-Extensions.
werner


On Mon, Mar 13, 2017 at 2:44 PM, Serge Stinckwich <[hidden email]> wrote:
Dear all,

GeneralFunctionFitTest>>testMaximumIterationsProbabilistic is a test
that fails only in mac in the CI :
https://travis-ci.org/PolyMathOrg/PolyMath/jobs/210555137

and if I try to run the same test on my mac laptop, it never fails ...
Any idea ?

I have also randomly tests that fails from time to time ...

Regards,
--
Serge Stinckwich
UCN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Failing test on CI not locally ...

SergeStinckwich
On Tue, Mar 14, 2017 at 7:16 PM, werner kassens <[hidden email]> wrote:

> Hi Serge,
> the CI obviously makes the random seed more or less nonrandom.
> i had marked my tests that use random-numbers with "Probabilistic" at the
> end of the name. if you want to make them nonrandom, just set the seed of
> the used randomgenerator in the test (i dont know by heart which one it is).
> i cant do it (at the moment?) because after i downloaded
> ConfigurationOfPolyMath-SergeStinckwich.59 from the PolyMath repository in
> smalltalkhub this line:
> ConfigurationOfPolyMath loadDevelopment .
> resulted in an error:NameNotFond:Math-Number-Extensions.
> werner

Yes there was a minor typo in the Configuration, This is fixed now.

With Nick, we fix also the falling test. The solution was to fix the
seed of the random generator before running the test.
Regards,

--
Serge Stinckwich
UCN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.