Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.8.4, 3.9.1, 3.10
-
Component/s: Authentication, Unit tests
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-69271_35 -
Pull 3.5 Diff URL:
-
Pull 3.8 Branch:
MDL-69271_38 -
Pull 3.8 Diff URL:
-
Pull 3.9 Branch:
MDL-69271_39 -
Pull 3.9 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
It has started to happen recently (few weeks before the creation of this issue).
Link: https://ci.moodle.org/job/W39.01.05%20-%20PHPUnit%20-%20Oracle%20(php73)/11/
There were 8 failures:
|
|
1) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 1, subcontexts 0" (1, 0)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
2) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 1, subcontexts 1" (1, 1)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
3) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 3, subcontexts 0" (3, 0)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
4) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 3, subcontexts 1" (3, 1)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
5) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 5, subcontexts 0" (5, 0)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
6) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 5, subcontexts 1" (5, 1)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
7) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 1000, subcontexts 0" (1000, 0)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
|
8) auth_ldap_plugin_testcase::test_auth_ldap with data set "pagesize 1000, subcontexts 1" (1000, 1)
|
Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
|
|
/var/www/html/auth/ldap/tests/plugin_test.php:183
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
|
Seems to happen with Oracle (slowness?) and not with others. Detected in 38, 39 and master.