..........................................F---------------- --- Failed steps: 001 Scenario: Updates and deletes in recent activity block # /Users/huong/Work/moodles/integration_500/moodle/blocks/recent_activity/tests/behat/structural_changes.feature:131 And I run all adhoc tasks # /Users/huong/Work/moodles/integration_500/moodle/blocks/recent_activity/tests/behat/structural_changes.feature:183 │ Execute adhoc task: core_course\task\course_delete_modules │ Adhoc task id: 467001 │ Adhoc task custom data: {"cms":[{"id":"199000","course":"2","module":"8","instance":"250000","section":"204000","idnumber":"forum1","added":"1769762207","score":"0","indent":"0","visible":"1","visibleoncoursepage":"1","visibleold":"1","groupmode":"0","groupingid":"0","completion":"0","completiongradeitemnumber":null,"completionview":"0","completionexpected":"0","completionpassgrade":"0","showdescription":"0","availability":null,"deletioninprogress":"1","downloadcontent":"1","lang":""}],"userid":"3","realuserid":"3"} │ ... started 16:37:00. Current memory use 84.4 MB. │ ... used 0 dbqueries │ ... used 0.00042581558227539 seconds │ ... used 85.4 MB peak memory │ Adhoc task failed: core_course\task\course_delete_modules,Coding error detected, it must be fixed by a programmer: Testing! │ Backtrace: │ * line 523 of /lib/classes/cron.php: call to core_course\task\course_delete_modules->execute() │ * line 1265 of /lib/tests/behat/behat_general.php: call to core\cron::run_inner_adhoc_task() │ * line 110 of /vendor/behat/behat/src/Behat/Testwork/Call/Handler/RuntimeCallHandler.php: call to behat_general->i_run_all_adhoc_tasks() │ * line 64 of /vendor/behat/behat/src/Behat/Testwork/Call/Handler/RuntimeCallHandler.php: call to Behat\Testwork\Call\Handler\RuntimeCallHandler->executeCall() │ * line 138 of /vendor/behat/behat/src/Behat/Testwork/Call/CallCenter.php: call to Behat\Testwork\Call\Handler\RuntimeCallHandler->handleCall() │ * line 96 of /vendor/behat/behat/src/Behat/Testwork/Call/CallCenter.php: call to Behat\Testwork\Call\CallCenter->handleCall() │ * line 138 of /vendor/behat/behat/src/Behat/Behat/Tester/Runtime/RuntimeStepTester.php: call to Behat\Testwork\Call\CallCenter->makeCall() │ * line 75 of /vendor/behat/behat/src/Behat/Behat/Tester/Runtime/RuntimeStepTester.php: call to Behat\Behat\Tester\Runtime\RuntimeStepTester->testDefinition() │ * line 74 of /vendor/behat/behat/src/Behat/Behat/Hook/Tester/HookableStepTester.php: call to Behat\Behat\Tester\Runtime\RuntimeStepTester->test() │ * line 110 of /lib/behat/extension/Moodle/BehatExtension/EventDispatcher/Tester/ChainedStepTester.php: call to Behat\Behat\Hook\Tester\HookableStepTester->test() │ * line 104 of /lib/behat/extension/Moodle/BehatExtension/EventDispatcher/Tester/MoodleEventDispatchingStepTester.php: call to Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester->test() │ * line 59 of /vendor/behat/behat/src/Behat/Behat/Tester/StepContainerTester.php: call to Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester->test() │ * line 76 of /vendor/behat/behat/src/Behat/Behat/Tester/Runtime/RuntimeScenarioTester.php: call to Behat\Behat\Tester\StepContainerTester->test() │ * line 74 of /vendor/behat/behat/src/Behat/Behat/Hook/Tester/HookableScenarioTester.php: call to Behat\Behat\Tester\Runtime\RuntimeScenarioTester->test() │ * line 106 of /vendor/behat/behat/src/Behat/Behat/EventDispatcher/Tester/EventDispatchingScenarioTester.php: call to Behat\Behat\Hook\Tester\HookableScenarioTester->test() │ * line 69 of /vendor/behat/behat/src/Behat/Behat/Tester/Runtime/IsolatingScenarioTester.php: call to Behat\Behat\EventDispatcher\Tester\EventDispatchingScenarioTester->test() │ * line 76 of /vendor/behat/behat/src/Behat/Behat/Tester/Runtime/RuntimeFeatureTester.php: call to Behat\Behat\Tester\Runtime\IsolatingScenarioTester->test() │ * line 75 of /vendor/behat/behat/src/Behat/Behat/Hook/Tester/HookableFeatureTester.php: call to Behat\Behat\Tester\Runtime\RuntimeFeatureTester->test() │ * line 77 of /vendor/behat/behat/src/Behat/Behat/EventDispatcher/Tester/EventDispatchingFeatureTester.php: call to Behat\Behat\Hook\Tester\HookableFeatureTester->test() │ * line 60 of /vendor/behat/behat/src/Behat/Testwork/Tester/Runtime/RuntimeSuiteTester.php: call to Behat\Behat\EventDispatcher\Tester\EventDispatchingFeatureTester->test() │ * line 70 of /vendor/behat/behat/src/Behat/Testwork/Hook/Tester/HookableSuiteTester.php: call to Behat\Testwork\Tester\Runtime\RuntimeSuiteTester->test() │ * line 72 of /vendor/behat/behat/src/Behat/Testwork/EventDispatcher/Tester/EventDispatchingSuiteTester.php: call to Behat\Testwork\Hook\Tester\HookableSuiteTester->test() │ * line 74 of /vendor/behat/behat/src/Behat/Testwork/Tester/Runtime/RuntimeExercise.php: call to Behat\Testwork\EventDispatcher\Tester\EventDispatchingSuiteTester->test() │ * line 76 of /vendor/behat/behat/src/Behat/Testwork/EventDispatcher/Tester/EventDispatchingExercise.php: call to Behat\Testwork\Tester\Runtime\RuntimeExercise->test() │ * line 67 of /vendor/behat/behat/src/Behat/Testwork/Ordering/OrderedExercise.php: call to Behat\Testwork\EventDispatcher\Tester\EventDispatchingExercise->test() │ * line 155 of /vendor/behat/behat/src/Behat/Testwork/Tester/Cli/ExerciseController.php: call to Behat\Testwork\Ordering\OrderedExercise->test() │ * line 114 of /vendor/behat/behat/src/Behat/Testwork/Tester/Cli/ExerciseController.php: call to Behat\Testwork\Tester\Cli\ExerciseController->testSpecifications() │ * line 63 of /vendor/behat/behat/src/Behat/Testwork/Cli/Command.php: call to Behat\Testwork\Tester\Cli\ExerciseController->execute() │ * line 279 of /vendor/symfony/console/Command/Command.php: call to Behat\Testwork\Cli\Command->execute() │ * line 1076 of /vendor/symfony/console/Application.php: call to Symfony\Component\Console\Command\Command->run() │ * line 342 of /vendor/symfony/console/Application.php: call to Symfony\Component\Console\Application->doRunCommand() │ * line 140 of /vendor/behat/behat/src/Behat/Testwork/Cli/Application.php: call to Symfony\Component\Console\Application->doRun() │ * line 193 of /vendor/symfony/console/Application.php: call to Behat\Testwork\Cli\Application->doRun() │ * line 34 of /vendor/behat/behat/bin/behat: call to Symfony\Component\Console\Application->run() │ * line 119 of /vendor/bin/behat: call to include() │ │  An adhoc task failed (Behat\Mink\Exception\DriverException) 1 scenario (1 failed) 59 steps (42 passed, 1 failed, 16 skipped) 0m17.98s (84.67Mb)