We get testbot failure
- https://www.drupal.org/node/1467996/qa
- https://qa.drupal.org/pifr/test/600168
for project
- https://www.drupal.org/project/context_entity_field
For details see
- #2567481: Fix the testbot failures

exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupaltestbotmysql.context' doesn't exist' in /var/lib/drupaltestbot/sites/default/files/checkout/includes/database/database.inc:2171

which looks like a dependency problem similar to some of https://www.drupal.org/project/issues/testbot?text=dependency

I both ran tests locally true UI and

 ./scripts/run-tests.sh \
  --verbose
  --url http://drupal.d7 \
  --file sites/drupal.d7/modules/context_entity_field/tests/context_entity_field.test

without problem. Forcing a new dev version by
- https://www.drupal.org/commitlog/commit/34802/03fc704a56204b487d0e8e2483...
did not help.

Please help :-)

Comments

clemens.tolboom created an issue. See original summary.

clemens.tolboom’s picture

clemens.tolboom’s picture

clemens.tolboom’s picture

Title: base table context not found (testing context_entity_field) » dependencies[] = context not enabled? (testing context_entity_field)
Component: malfunctioning testbot » unexplained test failure

I would guess the context module is not properly enabled thus missing it's base table I changed the component.

We cannot trust our tests now :-(

clemens.tolboom’s picture

Is there something missing in this report. How can I improve this?

clemens.tolboom’s picture

clemens.tolboom’s picture

Priority: Normal » Major

Can someone please respond. The maintainer wants me to fix the testbot first before accepting any commits so I'm blocked.

jthorson’s picture

Dependency calculation (on drupal.org) shows a dependency tree of Context 7.x-3.6 and Ctools 7.x-1.9.

Thus, the module not being enabled doesn't look like a dependency calculation issue.

clemens.tolboom’s picture

@jthorson thanks for the quick reply

Can I see the dependency tree too somewhere?

And how should one read https://dispatcher.drupalci.org/job/default/71868/console

18:29:32 exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jenkins_default_71868.context' doesn't exist' in /var/www/html/includes/database/database.inc:2171

That message looks like an install failure to me :-?

jthorson’s picture

Unfortunately, I don't believe the dependency trees are publicly available anywhere ... although it might be useful to expose this as part of a project's metadata on drupal.org in the future.

However, you can indirectly see what dependencies were checked out ... at the bottom of the test log you linked, the test runner outputs the 'job definition array', which contains the full list of instructions given to the test runner. In this array, there is a 'checkout' key, which contains information on all of the modules downloaded as part of the test.

That error does suggest the module has not been installed/enabled ... in D7, enabling of dependent modules is the responsibility of simpletest itself; not the test runner. But if that was the case, I wouldn't expect to see 39 passes on the Condition: field missing test; so without actually looking very deep into things, my initial suspicion would be an issue in the setup for that particular ContextConditionContextEntityTextFieldTest test.

Mixologic’s picture

Project: Drupal.org Testbots » DrupalCI: Test Runner
Component: unexplained test failure » Code
Category: Bug report » Support request

Moving out of deprecated queue.

Mixologic’s picture

Component: Code » Codebase Build
Mixologic’s picture

Status: Active » Closed (works as designed)

Closing old issues and had a closer look. This is not a dependencies issue. This is due to the fact that you never enable the context module in your test. I'll put more details into #2567481: Fix the testbot failures