Open matthewhilton opened 7 months ago
Running this locally on an 8.1 site, the dataflows tests seem to install correctly and run, except I get a spam of debug output:
1) tool_dataflows\local\execution\tool_dataflows_basic_execution_test::test_direct_and_out
This test printed output:
Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /var/www/mdl41-dataflows/admin/tool/dataflows/vendor/symfony/yaml/Inline.php on line 211
Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /var/www/mdl41-dataflows/admin/tool/dataflows/vendor/symfony/yaml/Inline.php on line 211
Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /var/www/mdl41-dataflows/admin/tool/dataflows/vendor/symfony/yaml/Inline.php on line 211
Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /var/www/mdl41-dataflows/admin/tool/dataflows/vendor/symfony/yaml/Inline.php on line 211
Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /var/www/mdl41-dataflows/admin/tool/dataflows/vendor/symfony/yaml/Inline.php on line 211
Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /var/www/mdl41-dataflows/admin/tool/dataflows/vendor/symfony/yaml/Inline.php on line 211
...
Re-ran https://github.com/catalyst/moodle-tool_dataflows/pull/846 actions with debugging output, and it seemed to spam a ton of deprecated messages (as in like 20k of them) and then gets stuck running the unit tests - something like an infinite loop or just too much output - not sure.
I've got a strong suspicion that test timeouts we've been seeing on our CI server is a regression of https://github.com/catalyst/moodle-tool_dataflows/pull/846
You can see even the Github CI actions for any php 8.1 simply dies, e.g.:
https://github.com/catalyst/moodle-tool_dataflows/actions/runs/6700057320/job/18205330143?pr=846
The PR I suspect caused it because of updates to the vendor i.e. composer libraries. Maybe a library version is bugged ?