[Koha-bugs] [Bug 32010] selenium/authentication_2fa.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 27 10:50:42 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32010

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=32011

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Jonathan Druart from comment #1)
> There is another error that I get locally
> 
> STRACE: /usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch
> {...} 
>         /usr/share/perl5/Selenium/Remote/Driver.pm:361 in Try::Tiny::try    
> (eval 541):1 in Selenium::Remote::Driver::__ANON__
>         (eval 543):2 in Selenium::Remote::Driver::__ANON__
>         /usr/share/perl5/Selenium/Remote/Driver.pm:1058 in
> Selenium::Remote::Driver::_execute_command       
> /kohadevbox/koha/t/lib/Selenium.pm:203 in
> Selenium::Remote::Driver::execute_script
>         t/db_dependent/selenium/authentication_2fa.t:264 in
> t::lib::Selenium::wait_for_ajax
>         /usr/share/perl/5.32/Test/Builder.pm:334 in main::__ANON__
>         /usr/share/perl/5.32/Test/Builder.pm:334 in (eval)       
> /usr/share/perl/5.32/Test/More.pm:809 in Test::Builder::subtest
>         t/db_dependent/selenium/authentication_2fa.t:291 in
> Test::More::subtest
>     # Looks like you planned 7 tests but ran
> 2.t/db_dependent/selenium/authentication_2fa.t .. 4/5 
> #   Failed test 'Enforce 2FA setup on first login'
> #   at t/db_dependent/selenium/authentication_2fa.t line 291.Error while
> executing command: unexpected alert open: Dismissed user prompt dialog:
> [object Object] at /usr/share/perl5/Selenium/Remote/Driver.pm line 411.
>  at /usr/share/perl5/Selenium/Remote/Driver.pm line 356.
> 
> There is a 500 in the logs:
>  "POST /api/v1/app.pl/api/v1/auth/two-factor/registration HTTP/1.1" 500
> 
> That is caused by
> [ERROR] POST /api/v1/auth/two-factor/registration: unhandled exception
> (Mojo::Exception)<<Overflow error. version 8
> total bits: 1268  max bits: 1232>>

Moved to bug 32011.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list