After having the problem also on Windows I was pretty sure the OS was not the cause :p

Everything was caused by MDB2 being used as a static / global service and therefore being serialized/unserialized between test cases....

...

it turns out that DB connections do not appreciate being serialized !

There are still errors about classname collisions but unfortunately these are Fatal Errors which PHPUnit cannot wrap gracefully. I therefore haven't pushed the test for triggering them but as long as they're not fixed, coverage cannot be computed...

You will find them in the log of the CI server at the end of the phpunit step and before the copy/paste detector step. the line looks like :

Writing code coverage data to XML file, this may take a moment.
PHP Fatal error:  Cannot redeclare class common\libraries\RestResult in 
/var/lib/hudson/jobs/Chamilo2/workspace/hg/common/libraries/php/webservice/rest/client/rest_result.class.php
 on line 5



For those who have forgotten, the CI server is here : http://hephaistos.vinci.be:8080/job/Chamilo2/

Systho



Le 3/06/2011 17:24, Systho a écrit :
Actually I'm now having the problem with ubuntu as well...

Ubuntu Natty (11.04) & Debian squeeze (6.0.1) are guilty so far :'(

Systho



On 03/06/11 17:17, Yannick Warnier wrote:
El vie, 03-06-2011 a las 16:55 +0200, Philippe Van Eerdenbrugghe
escribió:
Hi all,

I'm trying get the CI server up&  running again for helping bug hunting
during the stabilization but I encounter a problem on the debian server
which I do not have on windows nor on Ubuntu...

can anyone run the core testsuite on a debian machine and tell me if he
also have lots of "mysqli_set_charset(): Couldn't fetch mysqli" errors ?
[...]

Debian... 5, 6? Doesn't matter?


_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev

_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev

Reply via email to