Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
clemens.tolboomComment #3
clemens.tolboomComment #4
clemens.tolboomI 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 :-(
Comment #5
clemens.tolboomIs there something missing in this report. How can I improve this?
Comment #6
clemens.tolboomSeems similar to #2610952: Dependency not detected for Services Token module
Comment #7
clemens.tolboomCan someone please respond. The maintainer wants me to fix the testbot first before accepting any commits so I'm blocked.
Comment #8
jthorson CreditAttribution: jthorson commentedDependency 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.
Comment #9
clemens.tolboom@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
That message looks like an install failure to me :-?
Comment #10
jthorson CreditAttribution: jthorson commentedUnfortunately, 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.
Comment #11
MixologicMoving out of deprecated queue.
Comment #12
MixologicComment #13
MixologicClosing 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