Login  Register

Re: fuelized test failures

Posted by Mariano Martinez Peck on Jul 24, 2012; 6:54pm
URL: https://forum.world.st/fuelized-test-failures-tp4640954p4641351.html

THere is something I don't understand. If I see: https://ci.lille.inria.fr/pharo/view/Pharo%202.0/job/pharo-2.0-tests/Architecture=32,OS=mac/ws/Pharo-2.0-AfterRunningTests/
it seems it is independent of a particular build. What does it mean? that we only have the .fuel of the last build? if this is the case, then it is not very helpful at all.

Thanks!

On Tue, Jul 24, 2012 at 7:57 PM, Mariano Martinez Peck <[hidden email]> wrote:


On Tue, Jul 24, 2012 at 4:35 PM, Camillo Bruni <[hidden email]> wrote:

On 2012-07-24, at 16:29, Mariano Martinez Peck wrote:

> On Fri, Jul 20, 2012 at 6:09 PM, Camillo Bruni <[hidden email]>wrote:
>
>> From now on all the test-failures are serialized on the build server.
>>
>> This allows us to quickly find the cause of a failing test:
>> - download the .fuel file for the failing test
>> - materialize the .fuel in the image and debug the code
>>        | aContext |
>>        aContext := FLMaterializer materializeFromFileNamed:
>> 'PharoDebug.fuel'.
>>        Debugger openContext: aContext label:  'This is the new debugger!'
>> contents: nil
>>
>>
>
> does it really work for you?? I am trying to materialize, for example,
> https://ci.lille.inria.fr/pharo/view/Pharo%202.0/job/pharo-2.0-tests/ws/Architecture/32/OS/mac/Pharo-2.0-AfterRunningTests/ClassHierarchyTest-testMethodDuplication.fuel
>
> and I get:
>
> FLClassNotFound: Materialization error. Class named #HDTestReport not found
>
> That happens because during serialization the graph somehow reached the
> class HDTestReport (probably a sender at some point in the stack). But now,
> when materializing, such class is not present. So...is there in the
> workspace an image with the jenkins stuff?
> Anyway, the idea was to include this directly in Pharo, wasn't it?

I suggest you use the image in the same directory, cause we install
some Hudson tools (which IMO should be included by default).

+1  I remember there was an issue for that...I tried to find it but I fail. 
Do you remember?
 
I don't
really like that we have to load stuff for running the test, meaning
that this might affect the outcome of the results...

So for now either take the following image:
        https://ci.lille.inria.fr/pharo/view/Pharo%202.0/job/pharo-2.0-tests/Architecture=32,OS=mac/lastSuccessfulBuild/artifact/Pharo-2.0-AfterRunningTests.zip


ok, thanks!
 
or manually install the hudson tools:
"Load Hudson Build Tools"
Gofer new
        url: 'http://ss3.gemstone.com/ss/CISupport';
        package: 'HudsonBuildTools20';
        load.

then everything should work I think.


yes, it works. And it is really cool :)

Thanks! 

--
Mariano
http://marianopeck.wordpress.com




--
Mariano
http://marianopeck.wordpress.com