Page MenuHomePhabricator

Jenkins reporting error with insufficient info
Closed, ResolvedPublic

Description

I have a commit that encounters an error while running the tests: https://gerrit.wikimedia.org/r/#/c/74645/

Unfortunately the build log does not make clear where the error is coming from. All I can deduce from it is that something is casting an EntityId to a string, which indeed ought to fail given the current dependencies. No info on where this cast is happening, or even which test case is starting the execution. If I run the tests locally, they pass.

I tried finding where this is coming from for 45 minutes, and am concluding I really need more info. Can you check if the place where these extensions get checked out is clean? Ie no old versions of other extensions? If there is an outdated (or even up to date) checkout of WikibaseQuery (which should not be loaded), then that would explain the problem.

Any way to make the error output actually helpful?


Version: wmf-deployment
Severity: normal

Details

Reference
bz51743

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:54 AM
bzimport set Reference to bz51743.
bzimport added a subscriber: Unknown Object (MLST).

Investigating a similar issue, I have recently proposed a core patch that allows debug output for tracking test cases. Maybe that would help?

https://gerrit.wikimedia.org/r/#/c/74224/

Following bug 55595, I have enabled $wgShowExceptionDetails and $wgDebugLogFile on all extension jobs. Still have to migrate mediawiki/core jobs though.

I am closing this bug, lets follow up on bug 55595.