-
Task
-
Resolution: Done
-
Major
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
6
-
Team Hedgehog 2024 Sprint 3.3
Preparations
This is about inspecting the Apache logs for complete behat runs and fixing as many notices/problems as possible, aggregating information from all supported themes.
Used this regexp against Non-JS and Chrome webserver logs, for reference:
ag -v 'POST|GET|OPTIONS|\] (checking plan|(saving|calculating|loading|setting) controller|(applying|loading|instantiating) (backup|restore|plan)|(activity|section) skipped|setting file inclusion|processing file aliases|Unknown setting: (questionbank|overwrite_conf|course_shortname|course_fullname|course_startdate))|Failed Login: ' aggregated.txt > results.txt
|
(where aggregated.txt is the union of Non-JS and Chrome web server logs of all core themes)
Trick: When it's difficult to find which exact behat test is causing the problem, it's useful to run the tests with the "--pretty" command, getting the date prepended. That way, we can match them later with the dates in the Apache error logs. To do so, add the following to your behat run command:
vendor/bin/behat ...... --format pretty --no-colors | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }'
|
You can see the actual results @ [^results.txt]
Trick: Check the issue from the previous release that this issue was cloned from and see if the error was already detected there and considered okay.
- has a clone
-
MDL-83372 Fix problems reported in Apache logs before the 5.0 release
-
- Open
-
- is a clone of
-
MDL-81193 Fix problems reported in Apache logs before 4.4 release
-
- Closed
-
- will be (partly) resolved by
-
MDL-82814 Debugging notice when loading new preferences REST route
-
- Closed
-
-
MDL-83055 Moving question categories can leave active database transaction (coding error)
-
- Closed
-
-
MDL-83037 Badges Behat tests trigger file not found errors
-
- Closed
-
-
MDL-83038 Missing PAGE->url debugging when calling quiz grading page service
-
- Closed
-
-
MDL-83353 Missing PAGE->url debugging when calling load_section_navigation()
-
- Closed
-