Bike shed test fails (PostgreSQL?)
Freso - May 30, 2008 - 23:30
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | tests |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
3 passes, 9 fails and 6 exceptions.Bike shed: Tests the bike shed text on the no results page.
Created role of name: simpletest_CQvj, id: 3 [Role] Pass Created permissions: search content [Role] Pass User created with name simpletest_Xt76 and pass adMHRxdfnY [User login] Pass GET to https://localhost/drupal7, response is 0 bytes. [Browser] Fail GET to https://localhost/drupal7/user, response is 0 bytes. [Browser] Fail Parsed page successfully. [Browser] Fail Found name: simpletest_Xt76 [Other] Fail GET to https://localhost/drupal7/search/node, response is 0 bytes. [Browser] Fail "Enter your keywords" found. at [/srv/http/localhost/htdocs/drupal7/modules/search/search.test line 190] [Other] Fail GET to https://localhost/drupal7/search/node, response is 0 bytes. [Browser] Fail Parsed page successfully. [Browser] Fail Help text is displayed when search returns no results. at [/srv/http/localhost/htdocs/drupal7/modules/search/search.test line 195] [Other] Fail Unexpected PHP error [pg_query() [function.pg-query]: Query failed: ERROR: type "int_unsigned" already exists] severity [E_WARNING] in [/srv/http/localhost/htdocs/drupal7/includes/database.pgsql.inc line 138] [PHP] Exception Unexpected PHP error [ERROR: type "int_unsigned" already exists
query: CREATE DOMAIN int_unsigned integer CHECK (VALUE >= 0)] severity [E_USER_WARNING] in [/srv/http/localhost/htdocs/drupal7/includes/database.pgsql.inc line 159][PHP] Exception Unexpected PHP error [pg_query() [function.pg-query]: Query failed: ERROR: type "smallint_unsigned" already exists] severity [E_WARNING] in [/srv/http/localhost/htdocs/drupal7/includes/database.pgsql.inc line 138] [PHP] Exception Unexpected PHP error [ERROR: type "smallint_unsigned" already exists
query: CREATE DOMAIN smallint_unsigned smallint CHECK (VALUE >= 0)] severity [E_USER_WARNING] in [/srv/http/localhost/htdocs/drupal7/includes/database.pgsql.inc line 159][PHP] Exception Unexpected PHP error [pg_query() [function.pg-query]: Query failed: ERROR: type "bigint_unsigned" already exists] severity [E_WARNING] in [/srv/http/localhost/htdocs/drupal7/includes/database.pgsql.inc line 138] [PHP] Exception Unexpected PHP error [ERROR: type "bigint_unsigned" already exists
query: CREATE DOMAIN bigint_unsigned bigint CHECK (VALUE >= 0)] severity [E_USER_WARNING] in [/srv/http/localhost/htdocs/drupal7/includes/database.pgsql.inc line 159][PHP] Exception
I will admit though, that I am not sure this is not just my local set-up, but I have no idea how to debug this - let alone make it go away. And as long as I'm getting these, I can't really use the tests to verify (or not) other code. :(
Drupal 7.x fresh from CVS, Gentoo Linux (2007.0), Apache 2.2.8, PHP "5.2.6RC4-pl0-gentoo with Suhosin-Patch 0.9.6.2", PostgreSQL 8.0.15.

#1
What is bike shed? I don't see a module with that name (at least not form search). Maybe I'm being silly here and I should know?
It would be helpful if we had the code to reproduce the error.
#2
#3
Sorry, the "bike shed" test of search.module.
#4
I have a feeling this could have been fixed with the trigger test cleanup commit? Does it still fail now?
#5
Nope. Getting the same errors still. :/
#6
The PostgreSQL issues are taken care of in #257009: simpletest throws exceptions on pgsql.
The browser issues turned out to go away when I accessed the site using unencrypted HTTP. So cwgordon7 told me to open a new issue for this: #268148: Browser tests fail under HTTPS
I believe this should then be considered a duplicate of these two!