There was 1 failure:
1) quickDrupalCase::testQuickDrupal
Unexpected exit code: /home/travis/build/helmo/drush/drush --root=/tmp/drush-sandbox/qd-devel --nocolor core-quick-drupal --yes --no-server --makefile=/home/travis/build/helmo/drush/tests/makefiles/qd-devel.make
Failed asserting that 1 matches expected 0.
/home/travis/build/helmo/drush/tests/drush_testcase.inc:349
/home/travis/build/helmo/drush/tests/drush_testcase.inc:416
/home/travis/build/helmo/drush/tests/quickDrupalTest.php:42
/home/travis/build/helmo/drush/tests/quickDrupalTest.php:53
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.

Full details: https://travis-ci.org/helmo/drush/jobs/8535163

CommentFileSizeAuthor
#5 drush.tests_.2030491-5.patch573 byteshelmo

Comments

moshe weitzman’s picture

Assigned: Unassigned » owen barton
moshe weitzman’s picture

Any patch?

owen barton’s picture

Having trouble reproducing this (I use PHP 5.4.16). The phpunit test and manually building qd-devel.make both work correctly for me - I do get the bunch of sqlite warnings from core (#1893612: Error during install "Warning: Illegal string offset 'field' in UpdateQuery_sqlite->removeFieldsInCondition()" I think), but I don't think those are related to the fail. There doesn't seem to be a specific error message in the Travis logs - from the log messages, it appears that the core install is (silently) failing. Any ideas?

helmo’s picture

We see the same kind of errors the the sqlite testing pull request https://travis-ci.org/helmo/drush/builds/8919668

Thanks for linking the issue.
The makefiles/qd-devel.make specified core 7.15, I'll test if updating to 7.22 helps.

Summary of the test result for reference:

Time: 14 seconds, Memory: 9.75Mb
There was 1 failure:
1) quickDrupalCase::testQuickDrupal
Unexpected exit code: /home/travis/build/helmo/drush/drush --root=/tmp/drush-sandbox/qd-devel --nocolor core-quick-drupal --yes --no-server --makefile=/home/travis/build/helmo/drush/tests/makefiles/qd-devel.make
Failed asserting that 1 matches expected 0.
/home/travis/build/helmo/drush/tests/drush_testcase.inc:349
/home/travis/build/helmo/drush/tests/drush_testcase.inc:416
/home/travis/build/helmo/drush/tests/quickDrupalTest.php:42
/home/travis/build/helmo/drush/tests/quickDrupalTest.php:53
helmo’s picture

Status: Active » Needs review
StatusFileSize
new573 bytes

Strange... tests started to pass a few (~7) days ago ....

However updating the test to use 7.22 still significantly reduced the noice.

Pre: https://travis-ci.org/helmo/drush/jobs/8919726

Post: https://travis-ci.org/helmo/drush/jobs/8929623

owen barton’s picture

Status: Needs review » Fixed

Committed - thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.