As far as I can see tests are currently failing on the 7.x-2.x-dev branch, and also the 7.x-2.9 current release.
The error I'm seeing locally is:
Function rules_test_custom_help() does not exist in ReflectionFunction->__construct() (line 1811 of /var/www/html/sites/all/modules/contrib/rules/includes/rules.core.inc)
Trying to run the tests on simplytest.me I got the same error:
7.x-2.9:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?render=overlay&id=2&op=do StatusText: Service unavailable (with message) ResponseText: ReflectionException: Function rules_test_custom_help() does not exist in ReflectionFunction->__construct() (line 1808 of /home/r1tj2/www/sites/default/modules/rules/includes/rules.core.inc).
7.x-2.x dev:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?render=overlay&id=2&op=do StatusText: Service unavailable (with message) ResponseText: ReflectionException: Function rules_test_custom_help() does not exist in ReflectionFunction->__construct() (line 1811 of /home/d1tjr/www/sites/default/modules/rules/includes/rules.core.inc)
Tests on a patch to 7.x-2.x are currently failing, and the d.o test system suggests tests have not passed since January (around 10 months ago at present) e.g.
https://www.drupal.org/pift-ci-job/530658
...although the specific test failure there looks slightly different.
Comment | File | Size | Author |
---|---|---|---|
#3 | rules-testbot-fix-2828037-3.patch | 697 bytes | MegaChriz |
|
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedIt is running in the same problem I had with Feeds last week: the testbot doesn't checkout the variable module anymore, a dependency for i18n:
Before (branch test Jan 15, 2016):
DCI_AdditionalRepositories
After (test Nov 15, 2016):
DCI_AdditionalRepositories
Comment #3
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedThis patch could fix the issue, but maybe we should file an issue against Project Dependency instead.
Comment #5
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedObviously, fails on the same error as the testbot doesn't check for additional dependencies in patches.
Comment #6
mcdruidThanks for looking into this MegaChriz.
The failure you've hit there:
...look very similar to what we're hitting in #2406863: stampede protection should be flexible ("Cache rebuild lock hit" watchdog message).
However, away from the d.o CI system, it looks like tests are failing. For example try running the tests just for the main rules module at simplytest.me - when I did so with both 7.x-2.9 and 7.x-2.x-dev I hit:
ReflectionException: Function rules_test_custom_help() does not exist in ReflectionFunction->__construct()
...and I get the same thing running those tests locally.
That looks like a different thing to what you're describing with the problem (not) downloading the dependencies.
Comment #7
mcdruidTests are passing again in a couple of issues where I've submitted patches for rules-7.x-2.x so I don't know if this is a problem any more; perhaps not.
Comment #8
TR CreditAttribution: TR commentedTests have been passing for more than a year - evidently this isn't a problem anymore.