[Koha-bugs] [Bug 32010] New: selenium/authentication_2fa.t is failing randomly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 27 09:53:55 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32010
Bug ID: 32010
Summary: selenium/authentication_2fa.t is failing randomly
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Test Suite
Assignee: jonathan.druart+koha at gmail.com
Reporter: jonathan.druart+koha at gmail.com
QA Contact: testopia at bugs.koha-community.org
Depends on: 30588
Blocks: 25551
Since bug 30588 t/db_dependent/selenium/authentication_2fa.t is failing
randomly.
Well, it seems that it fails consistently on jenkins.
17:28:48 koha_1 | STRACE: /usr/share/perl5/Try/Tiny.pm:123 in
Selenium::Remote::Driver::catch {...}
17:28:48 koha_1 | /usr/share/perl5/Selenium/Remote/Driver.pm:361
in Try::Tiny::try
17:28:48 koha_1 | (eval 541):1 in
Selenium::Remote::Driver::__ANON__
17:30:50 koha_1 | (eval 543):2 in
Selenium::Remote::Driver::__ANON__
17:30:50 koha_1 | /usr/share/perl5/Selenium/Remote/Driver.pm:654
in Selenium::Remote::Driver::_execute_command
17:30:50 koha_1 |
t/db_dependent/selenium/authentication_2fa.t:282 in
Selenium::Remote::Driver::get_alert_text
17:30:50 koha_1 | /usr/share/perl/5.32/Test/Builder.pm:334 in
main::__ANON__
17:30:50 koha_1 | /usr/share/perl/5.32/Test/Builder.pm:334 in
(eval)
17:30:50 koha_1 | /usr/share/perl/5.32/Test/More.pm:809 in
Test::Builder::subtest
17:30:50 koha_1 |
t/db_dependent/selenium/authentication_2fa.t:291 in Test::More::subtest
17:30:50 koha_1 |
17:30:50 selenium_1 | 1666711728262 Marionette INFO Stopped
listening on port 35969
17:30:50 selenium_1 | JavaScript error: resource://gre/modules/Prompter.jsm,
line 1253: NS_ERROR_NOT_AVAILABLE: prompt aborted by user
17:30:50 selenium_1 | JavaScript error: resource:///modules/Interactions.jsm,
line 230: NS_ERROR_FAILURE: Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
17:30:50 koha_1 | # Looks like you planned 7 tests but ran 4.
17:30:50 koha_1 |
17:30:50 koha_1 | # Failed test 'Enforce 2FA setup on first login'
17:30:50 koha_1 | # at t/db_dependent/selenium/authentication_2fa.t
line 291.
17:30:50 koha_1 | Error while executing command: no such alert at
/usr/share/perl5/Selenium/Remote/Driver.pm line 411.
17:30:50 koha_1 | at /usr/share/perl5/Selenium/Remote/Driver.pm line
356.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25551
[Bug 25551] [OMNIBUS] Some tests are failing randomly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30588
[Bug 30588] Add the option to require 2FA setup on first staff login
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list