Bug #70866 [NEW]: pdo_pgsql problems during Drupal 8 test suite
From: fabian at tag1consulting dot com
Operating system: Linux / Ubuntu
PHP version: 7.0Git-2015-11-05 (Git)
Package: PostgreSQL related
Bug Type: Bug
Bug description:pdo_pgsql problems during Drupal 8 test suite
Description:
------------
Several tests fail with pdo_pgsql on PHP7. Cause is unclear, but
exceptions seen only on PHP7 are:
- 'Object not in prerequisite state: 7 ERROR: currval of sequence
"simpletest386267queue_item_id_seq" is not yet defined
in this session:'
- 'SQLSTATE[42P01]: Undefined
table: 7 ERROR: relation "simpletest203206menu_tree_mlid_seq" does
not
exist: INSERT INTO simpletest257820config (collection, name, data)
VALUES
(:db_insert_placeholder_0, :db_insert_placeholder_1,
:db_insert_placeholder_2);'
Test script:
---------------
Reproducible with Drupal 8 and --with-pdo-pgsql (with Apache):
1. php ./core/scripts/run-tests.sh --sqlite /tmp/coretest.sqlite --dburl
pgsql://postgres:12345@localhost/drupal8 --color --non-html --url
http://127.0.0.1/ --verbose --class
'Drupal\menu_ui\Tests\MenuCacheTagsTest'
2. php ./core/scripts/run-tests.sh --sqlite /tmp/coretest.sqlite --dburl
pgsql://postgres:12345@localhost/drupal8 --color --non-html --url
http://127.0.0.1/ --verbose --class
'Drupal\system\Tests\Menu\MenuLinkTreeTest'
Expected result:
----------------
Tests do pass (they do with using --php /usr/bin/php5)
Actual result:
--------------
Tests fail with DB exceptions
--
Edit bug report at https://bugs.php.net/bug.php?id=70866&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70866&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70866&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70866&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70866&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70866&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70866&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70866&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70866&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70866&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70866&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70866&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70866&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70866&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70866&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70866&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70866&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70866&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70866&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70866&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70866&r=mysqlcfg
Thread (9 messages)
- fabian at tag1consulting dot com