... aka "the SQLite Surge".

CommentFileSizeAuthor
#1 sqlite-test-report.txt1.74 MBdamien tournoud

Comments

damien tournoud’s picture

StatusFileSize
new1.74 MB

Here is the full test log.

damien tournoud’s picture

Removed the admin menu failures... that are obviously not core.

Paul Natsuo Kishimoto’s picture

sun.core’s picture

Priority: Critical » Normal

Individual issues can be critical, but let's move meta issues out of the critical queue, please.

damien tournoud’s picture

Here are the remaining failures as of today:

Invalid data 6 passes, 1 fail, and 0 exceptions

This is probably a borked test.

Field CRUD tests 50 passes, 1 fail, and 0 exceptions

This is because SQLite doesn't trim fixed-precision data by default. I'm unsure how to fix that (except by removing the test).

Session https handling 52 passes, 1 fail, and 1 exception

This is due to #715108: Make Merge queries more consistent and robust.

Locking framework tests 16 passes, 1 fail, and 0 exceptions

This is because of a difference on how MySQL and SQLite handles the notion of "affected row" when there is a float column. I'm pondering.

damien tournoud’s picture

With #716006: Schema tests fail on SQLite, #714964: ActionLoopTestCase is fragile and #715108: Make Merge queries more consistent and robust applied, we are down to 3 failures!

Invalid data 6 passes, 1 fail, and 0 exceptions
Field CRUD tests 50 passes, 1 fail, and 0 exceptions
Locking framework tests 16 passes, 1 fail, and 0 exceptions
andypost’s picture

mfer’s picture

Category: task » bug
Priority: Normal » Critical

There are currently a number of failing SQLite tests. Here are the current failures:

  • Actions executing in a potentially infinite loop: 15 passes, 6 fails, and 0 exceptions
  • Timer test: 4 passes, 1 fail, and 0 exceptions
  • Anonymous comments: 126 passes, 19 fails, and 6 exceptions
  • Comment approval: 124 passes, 27 fails, and 6 exceptions
  • Invalid data: 6 passes, 1 fail, and 0 exceptions
  • Field CRUD tests: 50 passes, 1 fail, and 0 exceptions
  • Core filters: 129 passes, 0 fails, and 2 exceptions
  • Node creation: 27 passes, 1 fail, and 0 exceptions
  • Node edit: 87 passes, 2 fails, and 0 exceptions
  • Session https handling: 52 passes, 1 fail, and 1 exception
  • String filtering tests: 5 passes, 0 fails, and 1 exception
  • Drupal render: 5 passes, 2 fails, and 0 exceptions

That's 61 failures and 16 exceptions.

I marked this as critical until the issues from this are found and created. D7 is ready to go when all the critical issues are gone. The SQLite test failures are critical.

damien tournoud’s picture

Category: bug » task
Priority: Critical » Normal

This is the meta-issue, it shouldn't be marked critical.

If you want to help, please open *separate* issues and link them back here.

Actions executing in a potentially infinite loop: 15 passes, 6 fails, and 0 exceptions

This is just due to a granularity issue. I have a patch.

Anonymous comments: 126 passes, 19 fails, and 6 exceptions
Comment approval: 124 passes, 27 fails, and 6 exceptions
Core filters: 129 passes, 0 fails, and 2 exceptions
Node creation: 27 passes, 1 fail, and 0 exceptions
Node edit: 87 passes, 2 fails, and 0 exceptions
String filtering tests: 5 passes, 0 fails, and 1 exception
Drupal render: 5 passes, 2 fails, and 0 exceptions

I never saw those. I'm tempted to say that there is something wrong in your environment.

mfer’s picture

Some of these are not related to SQLite. But, they are happening on several systems. On systems older than PHP 5.2.5 some of the problems go away. Digging deeper into this.

mfer’s picture

The core filter tests are unrelated and an entirely different problem. See #755758: check_plain throwing warnings for more detail.

damien tournoud’s picture

As of today:

Invalid data 6 passes, 1 fail, and 0 exceptions
Regression tests 24 passes, 1 fail, and 1 exception
Temporary query test 2 passes, 1 fail, and 2 exceptions
Schema API 6 passes, 4 fails, and 1 exception
List field 11 passes, 0 fails, and 1 exception
Field SQL storage tests 72 passes, 0 fails, and 1 exception
Field CRUD tests 46 passes, 1 fail, and 1 exception
File field validation tests 91 passes, 0 fails, and 1 exception
Enable/disable modules 53 passes, 2 fails, and 0 exceptions
Module dependencies 60 passes, 2 fails, and 0 exceptions
Node creation 24 passes, 1 fail, and 0 exceptions
Node edit 91 passes, 2 fails, and 0 exceptions
Basic upgrade path 20 passes, 19 fails, and 9 exceptions
damien tournoud’s picture

Node creation 24 passes, 1 fail, and 0 exceptions

That was because my version of SQLite didn't support SAVEPOINTs. Upgrading to a newer version fixed that.

Invalid data 6 passes, 1 fail, and 0 exceptions

This is because the base implementation of InsertQuery doesn't actually rollback the transaction if one insert fails.

damien tournoud’s picture

steven jones’s picture

Can this issue be closed now? It seems very much out of date?

bfroehle’s picture

bfroehle’s picture

Status: Active » Closed (fixed)

All tests pass for me... :)