Last modified: 2013-03-26 12:09:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33518, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31518 - Jenkins job: PHPUnit code coverage
Jenkins job: PHPUnit code coverage
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
http://gcov.php.net/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-08 10:08 UTC by Sam Reed (reedy)
Modified: 2013-03-26 12:09 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2011-10-08 10:08:25 UTC
We should setup test code coverage analysis, so we can see what code is actually tested
Comment 1 Mark A. Hershberger 2012-03-14 18:20:34 UTC
Was looking for this today.
Comment 2 Antoine "hashar" Musso (WMF) 2013-03-13 05:56:36 UTC
I have been working on it with a new shinny Jenkins job :-]

At first we need XDebug and a place where to put the report : https://gerrit.wikimedia.org/r/53531

And the Jenkins job:
https://gerrit.wikimedia.org/r/53532

That segfault for now :(
Comment 3 Antoine "hashar" Musso (WMF) 2013-03-13 11:54:58 UTC
First repost https://integration.mediawiki.org/coverage/

The job still has some segmentation faults :-(
Comment 4 Antoine "hashar" Musso (WMF) 2013-03-14 04:12:03 UTC
A @cover had a typo : https://gerrit.wikimedia.org/r/53719

CleanUpTest (for UtfNormal) were reaching the 10 seconds timeout when run under code coverage/Xdebug. Raised the timeout with https://gerrit.wikimedia.org/r/#/c/53720/
Comment 5 Antoine "hashar" Musso (WMF) 2013-03-20 12:38:27 UTC
The job dashboard is at https://integration.wikimedia.org/ci/job/mediawiki-core-code-coverage/

Output is https://integration.wikimedia.org/coverage/
Comment 6 Antoine "hashar" Musso (WMF) 2013-03-26 11:56:45 UTC
The job is still marked as failure because of CleanUpTest taking too long (see bug 46561).  I have instructed PHPUnit to ignore coverage for them with 
https://gerrit.wikimedia.org/r/55875
Comment 7 Antoine "hashar" Musso (WMF) 2013-03-26 12:03:53 UTC
https://gerrit.wikimedia.org/r/55876 switch the URL to https://integration.wikimedia.org/cover/mediawiki-core/master/php/
Comment 8 Antoine "hashar" Musso (WMF) 2013-03-26 12:09:46 UTC
That is now living on: https://integration.wikimedia.org/cover/mediawiki-core/master/php/

There are still some culprit but the gross work has been completed now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links