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

joelpittet’s picture

Still fails with all test methods disabled.

https://qa.drupal.org/pifr/test/290308

dave reid’s picture

FYI 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.

joelpittet’s picture

@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!

mglaman’s picture

Status: Active » Closed (fixed)

Closing this up. Fixed up once test dependencies worked themselves out.