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.
In Examples D7 and some related other contrib, the full suite of tests is being run (all of Drupal core).
We recently changed the branch of D7 Examples from master to 7.x-1.x. I wonder if this is the cause.
Also, in the process (due to my bad advice) the actual release node was deleted.
Comments
Comment #1
sunLibraries API patches are tested against master, so this doesn't seem to be the cause.
In other words: Same issue, subscribing, and see http://qa.drupal.org/pifr/test/137504
Comment #2
rfayIt looks to me like this is a #fail related to pifr_client_review_pifr_simpletest::test_list(). It has a number of ways to find the tests it ought to run, but at the end, since the arguments simpletest.tests and drupal.modules are both empty arrays, it just goes with --all on run-test.sh
I have turned on debug on the testbots so we can see the full test delivered to each of these. (It's in the collapsed fieldset at the bottom of the test results)
Comment #3
rfayA bit more study and it seems this isn't PIFR... or even PIFT. The project_info module's update of project_info_module table (on drupal.org) hasn't succeeded since January 16, 2011. So all release nodes created since then have this behavior.
So pifr.cron.inc tries to get the list of modules to put into the drupal.modules argument, but there's nothing there:
Now I guess the thing is to find out what triggers an update of the project_info information.
Comment #4
rfayLooks to me like the work of populating project_info_module is done by project_info_package_info_process_all() and probably only there. But I can't for the life of me find where that would get called from. (in project_info.package.inc)
Do we have a one-off operation that's supposed to happen here that's not happening any more?
Comment #5
Dave ReidOh that's lovely...
Comment #6
BerdirSubscribe, seeing this too with Privatemsg 7.x-2.x.
Comment #7
jthorson CreditAttribution: jthorson commentedPopulation of project_info_module (in the CVS days) could also be triggered via admin/project/project_info/batch. There's a call to project_info_package_list_store() on line 237 of that file.
Unfortunately, it looks like project_info.batch.inc (and the form at admin/project/project_info/batch) were missed during the Git migration; as they still reference cvs.
In other news ... the entire project_info module appears to be missing from drupal.org; which might explain how it got overlooked.
It also might be nice if someone could go back and grep an old version of d.o code (available via bzr?) for project_info_package_info_process_all, to see if/where it used to be called ...
On the other hand, the only things that appear to reference the project_module_info table are project_info and the pift cron run. Is project_info.module dead code, and is there another table the required info is available?
Comment #8
rfayYeah, we decided to go ahead and try to get #102102: Parse project .info files: present module list and dependency information done... and it's months later. But http://drupal.org/project_dependency is out there waiting for review.
What we need to do is get a test environment set up for it and ask for deployment.
Comment #9
rfayWondering if the strategy in #1231918: Full test being done with manual interface when only the branch in question should be tested can solve this one, even before we get dependencies.
Comment #10
jthorson CreditAttribution: jthorson commentedPossible fix available with patch in #1231918-20: Full test being done with manual interface when only the branch in question should be tested.
Comment #11
jthorson CreditAttribution: jthorson commentedPatch moved over from #1231918: Full test being done with manual interface when only the branch in question should be tested to this issue (where it probably belonged in the first place.)
Comment #12
rfayMarked #1169082: Don't run all core tests with every patch as a duplicate.
Comment #13
jthorson CreditAttribution: jthorson commentedPatch addresses one specific scenario, but not all.
Comment #14
jthorson CreditAttribution: jthorson commentedIf it works, this approach should address the most common scenario. (Posting before testing for easy transfer to testbot ... feeling lazy!)
Comment #15
jthorson CreditAttribution: jthorson commentedPatch result: Hung on 'review'. Will investigate after food.
Comment #16
jthorson CreditAttribution: jthorson commentedNew version ... a few fixes, a few less '$this->log' debug lines, and verified to work at http://qa.scratch.drupal.org/pifr/test/136969 .
This was applied on top of the other outstanding patches for the test, but the patch is rolled against 6.x-2.x directly.
Comment #17
jthorson CreditAttribution: jthorson commentedComment #18
Dave ReidCurious as to why test runners need chart and multivariate to run SimpleTest?
Comment #19
jthorson CreditAttribution: jthorson commentedGood question ... I've just been pulling those along based on their being included in the canned 'review tests locally' testbot D6 tests ... but haven't actually looked at whether they were required.
Comment #20
Dave ReidI think that was because of corrupted dependency data - they're not actually dependencies for running tests in D6.
Comment #21
jthorson CreditAttribution: jthorson commentedLooking back at the original code, I misunderstood it's purpose ... it was testing 'D6 with dependencies' ... not testing 'D6' with required dependencies.
New patch with chart/multivariate removed.
Comment #22
jthorson CreditAttribution: jthorson commentedFixed a bad reference reference to $this->vcs[main][repository][type].
Comment #23
jthorson CreditAttribution: jthorson commentedPatches in #11 and #22 committed to 6.x-2.x (aa4b4685 and 9ed42d0c) as per #1236228-1: August 1st PIFR Testing Results
Comment #24
jthorson CreditAttribution: jthorson commentedCore test detection wasn't quite working ... this patch is applied on top of #22.
Committed to 6.x-2.x (0267c17).
Comment #25
rfaySadly, it looks to me like this one didn't work. I just ran a branch test of Examples D7 (from the qa ui) and it's doing a full test.
Comment #26
jthorson CreditAttribution: jthorson commentedLooks pretty good here ... http://qa.scratch.drupal.org/pifr/test/26934
Comment #27
rfayAgreed - it worked fine on scratchtestbot. I don't know why it wouldn't work right on the newly deployed 2.6 testbots unless I just messed something up in the deployment.
Comment #28
rfayHere's the same test I just triggered by a commit on qa: http://qa.drupal.org/pifr/test/136969; it ran an enormous number of tests.
It was done on drupaltestbot664; I checked and drupaltestbot664 was in fact updated to 6.x-2.6, and I checked the 6.x-2.6 tag, and it is in fact the latest commit.
Comment #29
jthorson CreditAttribution: jthorson commentedYup ... running with an --all parameter. :(
Can you pull the $test array from the watchdog log and paste it here? (Or I suppose we could enable debug, and pull it from the log ...)
Comment #30
jthorson CreditAttribution: jthorson commentedGrabbed the test array ... can finally do some debugging.
Comment #31
jthorson CreditAttribution: jthorson commentedDamn ... patch in #24 isn't in the code ... the bad reference to $this->vcs['dependencies'] still exists.Scratchtestbot, on the other hand, received the proper patch.Edit: Never mind ... I'm just totally confused.
Comment #32
jthorson CreditAttribution: jthorson commentedLooks like the qa.scratch test has the full suite of modules explicitly set in the $test array, while the qa.d.o version does not have any drupal.modules entries. Thus, they are not taking the same path through the PIFR code. I plan on modifying the qa.scratch database entry to mimic the production $test array, and will troubleshoot from there. (Once I can get qa.scratch working again, that is!)
Comment #33
jthorson CreditAttribution: jthorson commentedThe littlest things cause the biggest headaches ...
Probably breaking the rules here, but I've manually patched the d.o testbots (654, 659, and 664) to speed up contrib patch responses until this gets into an 'official' version.
Comment #34
jthorson CreditAttribution: jthorson commentedExamples 7.x-1.x now correctly running 2,031 tests.
http://qa.drupal.org/pifr/test/136969
Comment #35
rfayAh, I see - you patched them on the fly. Well it worked!
This is good to go, IMO.
Comment #36
rfayI think we're not quite out of the woods on this yet.
http://qa.drupal.org/pifr/test/136969 is Examples 8.x-1.x and it's currently doing the whole suite.
Comment #37
jthorson CreditAttribution: jthorson commentedLol ... just realized the 'switch' condition only covers D7 or D6 ... not D8. Trivial fix. I'll manually adjust the testbots again.
This patch replaces the one in #33.
Perhaps replacing the 'switch' condition with an 'if-else' for the D6 case would be better moving forward.
Comment #38
jthorson CreditAttribution: jthorson commentedCommitted to 6.x-2.x (c4f92ab).