-
Bug
-
Resolution: Fixed
-
Major
-
3.9.13, 3.10, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
-
There is a variété of scenarios, all them related with the tool_customlang plugin that have started to fail recently (310_STABLE and up). It's specially noticeable with MSSQL / Oracle databases and/or when the worker is busy / slow.
All them come from the new export () and import () language strings features.
The error seems to be that the "load lang" intermediate step that happens in some of those scenarios takes too long and selenium/behat timeouts.
It affects a number of scenarios (sometimes only 1 fails, other they are 9...).
Some links:
- (9 failures) : https://ci.moodle.org/job/W.03.04%20-%20Behat%20-%20Chrome%20+%20MSSQL/738/
- (4 failures) : https://ci.moodle.org/job/W.03.04%20-%20Behat%20-%20Chrome%20+%20MSSQL/733/
- ...
And the output for the failure (apart from the scenario information that is varying):
001 Scenario: Import a PHP file to add a new core lang customization # /var/www/html/admin/tool/customlang/tests/behat/import_files.feature:15
|
And I click on "Import custom strings" "button" # /var/www/html/admin/tool/customlang/tests/behat/import_files.feature:11
|
timeout
|
(Session info: chrome=79.0.3945.117)
|
(Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.15.0-120-generic x86_64) (WebDriver\Exception\Timeout)
|
- has a non-specific relationship to
-
MDL-70734 Random behat failures with tool_httpsreplace scenarios (timeout)
- Closed
- has been marked as being related by
-
MDL-81203 Increase ROUGH_NUMBER_OF_STRINGS to next thoushand (33K)
- Closed
- Testing discovered
-
MDL-74380 Refactor tool_customlang for better backend and improved UI experience
- Open
- will be (partly) resolved by
-
MDL-70631 Poor performance of zip_packer::extract_to_pathname()
- Closed