Why I've following massive errors:

Table 'web245-pol.simpletest639782locales_source' doesn't exist query: SELECT s.lid, t.translation, s.version FROM simpletest639782locales_source s LEFT JOIN simpletest639782locales_target t ON s.lid = t.lid AND t.language = 'pl' WHERE s.source = 'Stores details about batches (processes that run in multiple HTTP requests).' AND s.textgroup = 'default'	User warning	database.mysqli.inc	128	_db_query()	
Table 'web245-polandia.simpletest639782locales_source' doesn't exist query: INSERT INTO simpletest639782locales_source (location, source, textgroup, version) VALUES ('/batch?id=25&op=do', 'Stores details about batches (processes that run in multiple HTTP requests).', 'default', '6.9')	User warning	database.mysqli.inc	128	_db_query()	
Table 'web245-pol.simpletest639782cache' doesn't exist query: DELETE FROM simpletest639782cache WHERE cid LIKE 'locale:%'	User warning	database.mysqli.inc	128	_db_query()	
Undefined index: schema

?
If it's problem with schema module, those tests shouldn't be executed without schema or there should be dependency set.

Comments

boombatower’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

What test are you running?

Anonymous’s picture

Hi !

I have such issues.
I am running test of my own.

Test file

Here is the test file :

<?php
class motdepasseTestCase extends DrupalWebTestCase {
	/**
	 * Implémentation ode getInfo().
	 */
	function getInfo() {
	  return array(
	    'name' => "Tests unitaires des contrôles sur le mot de passe",
	    'description' => "Tests unitaires des contrôles sur le mot de passe",
	    'group' => 'Test du module WS MotDePasse',
	  );
	}
	
	/**
	 *
	 */
	function test_ws_motdepasse_TU_check_is_well_constructLongueurCorrecte () {
		
		// Au moins 8 caractères
		$resultat = _ws_motdepasse_check_is_well_construct ("toto1oto");
		$this->assertTrue($resultat['controle ok'],"La longueur du Mot de Passe est correcte");
	}
}
?>

Results

Results are : "1 pass, 1 fail, and 9 exceptions"

9 exceptions

All the exceptions have the following common data :

  • Group : User warning
  • Filename : database.mysql.inc
  • Line : 128
  • Function : _db_query()

Here follows the 9 warning messages :

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: SELECT s.lid, t.translation, s.version FROM simpletest473987locales_source s LEFT JOIN simpletest473987locales_target t ON s.lid = t.lid AND t.language = 'fr' WHERE s.source = 'Stores details about batches (processes that run in multiple HTTP requests).' AND s.textgroup = 'default'

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: INSERT INTO simpletest473987locales_source (location, source, textgroup, version) VALUES ('/batch?id=8&op=do', 'Stores details about batches (processes that run in multiple HTTP requests).', 'default', '6.9')

Table 'javanais-sigma-test1.simpletest473987cache' doesn't exist query: DELETE FROM simpletest473987cache WHERE cid LIKE 'locale:%'

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: SELECT s.lid, t.translation, s.version FROM simpletest473987locales_source s LEFT JOIN simpletest473987locales_target t ON s.lid = t.lid AND t.language = 'fr' WHERE s.source = 'The navigation menu is provided by Drupal and is the main interactive menu for any site. It is usually the only menu that contains personalized links for authenticated users, and is often not even visible to anonymous users.' AND s.textgroup = 'default'

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: INSERT INTO simpletest473987locales_source (location, source, textgroup, version) VALUES ('/batch?id=8&op=do', 'The navigation menu is provided by Drupal and is the main interactive menu for any site. It is usually the only menu that contains personalized links for authenticated users, and is often not even visible to anonymous users.', 'default', '6.9')

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: SELECT s.lid, t.translation, s.version FROM simpletest473987locales_source s LEFT JOIN simpletest473987locales_target t ON s.lid = t.lid AND t.language = 'fr' WHERE s.source = 'Primary links are often used at the theme layer to show the major sections of a site. A typical representation for primary links would be tabs along the top.' AND s.textgroup = 'default'

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: INSERT INTO simpletest473987locales_source (location, source, textgroup, version) VALUES ('/batch?id=8&op=do', 'Primary links are often used at the theme layer to show the major sections of a site. A typical representation for primary links would be tabs along the top.', 'default', '6.9')

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: SELECT s.lid, t.translation, s.version FROM simpletest473987locales_source s LEFT JOIN simpletest473987locales_target t ON s.lid = t.lid AND t.language = 'fr' WHERE s.source = 'Secondary links are often used for pages like legal notices, contact details, and other secondary navigation items that play a lesser role than primary links' AND s.textgroup = 'default'

Table 'javanais-sigma-test1.simpletest473987locales_source' doesn't exist query: INSERT INTO simpletest473987locales_source (location, source, textgroup, version) VALUES ('/batch?id=8&op=do', 'Secondary links are often used for pages like legal notices, contact details, and other secondary navigation items that play a lesser role than primary links', 'default', '6.9')

1 fail

No indication for the failes result.

1 pass

A cool backgrounded green line of result with a quiet green symbol !

Context

Drupal 6.9
I am a french user with localized Drupal.

Hope this will help

Anonymous’s picture

Additional data

Occurs both on module version :

  • 6.x-2.6
  • 6.x-2.x-dev 2009-02-13
boombatower’s picture

Version: 6.x-2.5 » 6.x-2.6
Status: Postponed (maintainer needs more info) » Closed (duplicate)