Last modified: 2011-01-31 20:37:38 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 T28244, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26244 - Tesla does funky things
Tesla does funky things
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-05 00:57 UTC by Platonides
Modified: 2011-01-31 20:37 UTC (History)
1 user (show)

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


Attachments
mark's phpinfo (28.08 KB, text/plain)
2010-12-07 16:38 UTC, Mark A. Hershberger
Details
from my 64bit laptop (27.57 KB, text/plain)
2010-12-07 19:11 UTC, Mark A. Hershberger
Details

Description Platonides 2010-12-05 00:57:17 UTC
Tesla does funky things getting errors were a normal setup doesn't. It should play with electricity the normal way!
Comment 1 Mark A. Hershberger 2010-12-06 21:59:35 UTC
I dunno... what is considered "normal" .. it fails on my setup, too.
Comment 2 Platonides 2010-12-06 22:42:39 UTC
Well, what's your setup?

Which php version? 32 or 64 bits? 

The error happens if you do the following in the command line?
php phpunit.php includes/search/SearchDbTest.php
Comment 3 Mark A. Hershberger 2010-12-07 16:38:32 UTC
Created attachment 7892 [details]
mark's phpinfo

phpinfo where this bug occurs.
Comment 4 Mark A. Hershberger 2010-12-07 16:43:25 UTC
SearchDbTest shows no errors, but:

$ ./phpunit.php includes/ParserOptionsTest.php 
[.,,]
Time: 1 second, Memory: 12.00Mb

There was 1 error:

1) ParserOptionsTest::testGetParserCacheKeyWithDynamicDates
MWException: Tried to create a ParserCache with an invalid memcached

/home/mah/work/code/mediawiki/mw-svn/includes/parser/ParserCache.php:35
/home/mah/work/code/mediawiki/mw-svn/includes/parser/ParserCache.php:22
/home/mah/work/code/mediawiki/mw-svn/maintenance/tests/phpunit/includes/ParserOptionsTest.php:13
/home/mah/work/code/mediawiki/mw-svn/maintenance/tests/phpunit/phpunit.php:34
Comment 5 Mark A. Hershberger 2010-12-07 19:11:46 UTC
Created attachment 7893 [details]
from my 64bit laptop

This is from my other laptop that is also showing the same symptoms
Comment 6 Max Semenik 2010-12-07 19:16:56 UTC
A few differences between Tesla and average developer's setup™:
* It uses install.php to setup things from CLI
* On Linux, there's no predefined order in which files are returned by file search, therefore tests are run in an unpredictable order. This matters if some tests aren't isolated enough (and we have plenty of such tests, I assure you)
Comment 7 Platonides 2010-12-07 20:40:47 UTC
(In reply to comment #4)
> SearchDbTest shows no errors, but:
> 
> $ ./phpunit.php includes/ParserOptionsTest.php 
> [.,,]
> Time: 1 second, Memory: 12.00Mb
> 
> There was 1 error:
> 
> 1) ParserOptionsTest::testGetParserCacheKeyWithDynamicDates
> MWException: Tried to create a ParserCache with an invalid memcached

Here too. Fixed in r78009.

Does it help with the other issue?
Comment 8 Platonides 2010-12-07 23:57:39 UTC
(In reply to comment #6)
> * It uses install.php to setup things from CLI
Tried with an install.php generated LocalSettings. No change.

> * On Linux, there's no predefined order in which files are returned by file
> search, therefore tests are run in an unpredictable order. This matters if some
> tests aren't isolated enough (and we have plenty of such tests, I assure you)

Actually there usually is a sorted order due to the use of trees in the filesystem implementing the folders.

r78009 seem to have fixed the tesla issues.
Comment 9 Mark A. Hershberger 2010-12-08 01:17:05 UTC
 * On Linux, there's no predefined order in which files are returned by file search.

Is this really different than the "average developer's setup™"?? Most devs I know use Linux.
Comment 10 Mark A. Hershberger 2010-12-08 01:20:13 UTC
fwiw, this rev (also?) helped me r78005
Comment 11 Max Semenik 2010-12-08 17:47:43 UTC
(In reply to comment #9)
> Is this really different than the "average developer's setup™"?? Most devs I
> know use Linux.

It may be different  on *every* Linux box, that what I meant.

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


Navigation
Links