Page MenuHomePhabricator

Function: MediaWikiTestCase::resetDB Error: 1146 Table 'wiki.unittest_math' doesn't exist ()
Closed, ResolvedPublic

Description

With http://paste.debian.net/111811/ :

vagrant@nemobis:/srv/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php

[...]

PHPUnit 3.7.37 by Sebastian Bergmann.

Configuration read from /srv/vagrant/mediawiki/tests/phpunit/suite.xml

[...]

........................................................... 10974 / 14398 ( 76%)
..............FFFFF....................I...E...echo_subscription doesn't exist.
...betafeatures_user_counts table already exists.
...abuse_filter table already exists.
...abuse_filter_history table already exists.
...have afh_changed_fields field in abuse_filter_history table.
...have af_deleted field in abuse_filter table.
...have af_actions field in abuse_filter table.
...have af_global field in abuse_filter table.
...have afl_rev_id field in abuse_filter_log table.
...index filter_timestamp already set on abuse_filter_log table.
...have af_group field in abuse_filter table.
...index wiki_timestamp already set on abuse_filter_log table.
Modifying afl_namespace field of table abuse_filter_log ...done.
...spoofuser table already exists.
...cu_changes table already exists.
...cu_log table already exists.
...index cuc_ip_hex_time already set on cu_changes table.
...index cuc_user_ip_time already set on cu_changes table.
...have cuc_private field in cu_changes table.
...echo_event table already exists.
...echo_email_batch table already exists.
...event_agent field does not exist in echo_event table, skipping modify field patch.
Modifying event_variant field of table echo_event ...done.
Modifying event_extra field of table echo_event ...done.
Modifying event_agent_ip field of table echo_event ...done.
...have notification_bundle_base field in echo_notification table.
...echo_event table does not contain event_timestamp field.
...have eeb_event_hash field in echo_email_batch table.
...have event_page_id field in echo_event table.
...index echo_event_type already set on echo_event table.
...index echo_user_timestamp already set on echo_notification table.
...thread table already exists.
...thread_history table already exists.
...thread_pending_relationship table already exists.
...thread_reaction table already exists.
...have ums_conversation field in user_message_state table.
...have thread_article_namespace field in thread table.
...have thread_article_title field in thread table.
...have thread_ancestor field in thread table.
...have thread_parent field in thread table.
...have thread_modified field in thread table.
...have thread_created field in thread table.
...have thread_editedness field in thread table.
...have thread_subject field in thread table.
...have thread_author_id field in thread table.
...have thread_author_name field in thread table.
...have thread_sortkey field in thread table.
...have thread_replies field in thread table.
...have thread_article_id field in thread table.
...have thread_signature field in thread table.
...index thread_summary_page already set on thread table.
...index thread_parent already set on thread table.
Creating math table ...done.
...mathindex table already exists.
...mathobservation table already exists.
...mathvarstat table already exists.
...mathpagestat table already exists.
...mathsemantics table already exists.
...mathperformance table already exists.
...mathidentifier table already exists.
...pagetriage_tags table already exists.
...pagetriage_page_tags table already exists.
...pagetriage_page table already exists.
...pagetriage_log table already exists.
...index ptrp_reviewed_updated already set on pagetriage_page table.
...pr_index table already exists.
...translate_sections table already exists.
...have trs_order field in translate_sections table.
...revtag table already exists.
...translate_groupstats table already exists.
...index trs_page_order already set on translate_sections table.
...trs_page key doesn't exist.
...translate_reviews table already exists.
...translate_groupreviews table already exists.
...translate_tms table already exists.
...translate_metadata table already exists.
...translate_messageindex table already exists.
...index tgs_lang already set on translate_groupstats table.
...have tgs_proofread field in translate_groupstats table.
...translate_stash table already exists.
...uw_campaigns table already exists.
...index uw_campaigns_name already set on uw_campaigns table.
...index uw_campaigns_enabled already set on uw_campaigns table.
...urlshortcodes table already exists.
...wikilove_log table already exists.
...wikilove_image_log table already exists.
...geo_tags table already exists.
...ep_orgs table already exists.
...have course_title field in ep_courses table.
...have course_touched field in ep_courses table.
...index ep_upc_user_courseid_role already set on ep_users_per_course table.
...have org_last_active_date field in ep_orgs table.
...flow_revision table already exists.
...have rev_last_edit_id field in flow_revision table.
...have rev_mod_reason field in flow_revision table.
Modifying subscription_user_id field of table flow_subscription ...done.
...flow_summary_revision table does not exist, skipping modify field patch.
...rev_comment field does not exist in flow_revision table, skipping modify field patch.
Modifying workflow_id field of table flow_workflow ...done.
...have workflow_type field in flow_workflow table.
...index flow_workflow_lookup already set on flow_workflow table.
...index flow_topic_list_topic_id already set on flow_topic_list table.
Modifying rev_change_type field of table flow_revision ...done.
Modifying rc_source field of table recentchanges ...done.
Modifying rev_change_type field of table flow_revision ...done.
...have workflow_user_ip field in flow_workflow table.
...have workflow_user_wiki field in flow_workflow table.
...index flow_tree_descendant_rev_id already set on flow_tree_revision table.
...flow_tree_revision table does not contain tree_orig_create_time field.
...index flow_revision_user already set on flow_revision table.
Modifying rev_user_ip field of table flow_revision ...done.
...have rev_type_id field in flow_revision table.
...flow_ext_ref table already exists.
...flow_definition doesn't exist.
...transcode table already exists.
...transcode table already exists.
...index transcode_name_key already set on transcode table.
A database query error has occurred.
Query: DELETE FROM unittest_math
Function: MediaWikiTestCase::resetDB
Error: 1146 Table 'wiki.unittest_math' doesn't exist ()

Backtrace:
#0 /srv/vagrant/mediawiki/includes/db/Database.php(1158): DatabaseBase->reportQueryError('Table 'wiki.uni...', 1146, 'DELETE FROM `un...', 'MediaWikiTestCa...', false)
#1 /srv/vagrant/mediawiki/includes/db/Database.php(2944): DatabaseBase->query('DELETE FROM `un...', 'MediaWikiTestCa...')
#2 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php(574): DatabaseBase->delete('math', '*', 'MediaWikiTestCa...')
#3 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php(138): MediaWikiTestCase->resetDB()
#4 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(779): MediaWikiTestCase->run(Object(PHPUnit_Framework_TestResult))
#5 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(749): PHPUnit_Framework_TestSuite->runTest(Object(MathDatabaseTest), Object(PHPUnit_Framework_TestResult))
#6 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(709): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, false)
#7 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(709): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, false)
#8 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(709): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, false)
#9 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php(350): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, false)
#10 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php(176): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#11 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php(42): PHPUnit_TextUI_Command->run(Array, true)
#12 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php(160): MediaWikiPHPUnitCommand::main()
#13 {main}
PHP Warning: Unknown: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0
PHP Stack trace:
PHP 1. MWExceptionHandler::handle() /srv/vagrant/mediawiki/includes/exception/MWExceptionHandler.php:0

Warning: Unknown: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0

Call Stack:
3399.9595 1049583872 1. MWExceptionHandler::handle() /srv/vagrant/mediawiki/includes/exception/MWExceptionHandler.php:0

PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
PHP Stack trace:
PHP 1. MWExceptionHandler::handle() /srv/vagrant/mediawiki/includes/exception/MWExceptionHandler.php:0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Call Stack:
3399.9595 1049583872 1. MWExceptionHandler::handle() /srv/vagrant/mediawiki/includes/exception/MWExceptionHandler.php:0


Version: unspecified
Severity: normal

Details

Reference
bz68628

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:37 AM
bzimport added a project: Math.
bzimport set Reference to bz68628.
bzimport added a subscriber: Unknown Object (MLST).
Nemo_bis created this task.Jul 26 2014, 7:55 PM

This is a duplicate of bug 67148 (which has a terrible subject :D ).

  • This bug has been marked as a duplicate of bug 67148 ***