I'm trying to get tests for the Commerce Event Ticket module to run on qa.d.o. They are failing:
https://qa.drupal.org/pifr/test/804863

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 commerce_product_load() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/commerce/tests/commerce_base.test on line 368

which indicates that the setUp() stage is not working - Commerce modules are not getting enabled properly.

Yet, if I compare the failing tests:
http://cgit.drupalcode.org/commerce_event_ticket/tree/tests/commerce_eve...
with another Commerce-based project of mine where the tests pass:
http://cgit.drupalcode.org/commerce_stock_reserve/tree/tests/commerce_st...
there is very little difference.

Comments

pjcdawkins’s picture

Status: Active » Postponed

Got them to fail locally too...

pjcdawkins’s picture

Status: Postponed » Active

Still passing locally, failing on testbot. One test fails on simplytest.me (again, at the set-up stage), the others pass.

I'm still stumped.

joelpittet’s picture

I'm seeing this too!

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

Fatal error: Call to undefined function entity_load_single()

Probably something I've missed... did you resolve this?

pjcdawkins’s picture

Well it's a dependency issue, that should be present because "entity" is in the dependencies. For some reason the testbot doesn't install it

joelpittet’s picture

Category: Support request » Bug report

Yeah that's what I thought! Moving this to bug report as I think it has enough information to support that.

joelpittet’s picture

I've opened a new issue as it's similar but not the same #2490991: Tests pass locally and not on testbot: commerce_discount

Mixologic’s picture

Project: Drupal.org Testbots » DrupalCI: Test Runner
Component: unexplained test failure » Code
Status: Active » Closed (outdated)

If dependencies are still an issue with this, please feel free to reopen. I'll assume they are not as I see passing branch tests now.