Follow-up to #2296801: Tests pass locally and not on testbot: commerce_event_ticket
I'm trying to get tests for the Commerce Discount module to run on qa.d.o. They are failing:
https://qa.drupal.org/pifr/test/290308
They run fine locally on a fresh D7 install (admittedly on PHP 5.5 but I think it would be clear if the PHP version was the problem here).
The error messages (on the testbot) start with:
Fatal error: Call to undefined function entity_import() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/commerce_discount/commerce_discount.test on line 387
FATAL CommerceDiscountTest: test runner returned a non-zero error code (255).
I've tried many things to get this working with nothing yielding positive results. It's as if entity module isn't downloaded or enabled.
Comments
Comment #1
joelpittetStill fails with all test methods disabled.
https://qa.drupal.org/pifr/test/290308
Comment #2
dave reidFYI I had @joelpittet create a new tagged release in order to get the dependencies rebuilt (to pick up the new addressfield module test_dependency listing). But all the dependency information on the release node (https://www.drupal.org/node/2541016) is curiously empty.
Comment #3
joelpittet@mglaman found the missing dependency, I had no idea it was missing as my travis and local were passing. But the new tagged released kicked testbot into gear after we added that to the test_dependencies and it failed off the start (like @Dave Reid said in #2) then started picking up the tests after I restarted both the -dev and alpha6 branch tests.
I know there is an open issue for rebuilding dependencies, is this something that could be exposed as retest is? Adding a new tagged branch seems like a bug work around, but thankfully it worked. Thanks @Dave Reid!
Comment #4
mglamanClosing this up. Fixed up once test dependencies worked themselves out.