[Koha-bugs] [Bug 25811] authentication.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 26 01:41:15 CEST 2020


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

--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
> Victor, can you try to call $driver->get_page_source(); and share the content?

Okay!

Did 113 run recreating it >_< disabled the additional logging to see if that
was the cause.

After 20 runs, got this error. it's not related right?

t/db_dependent/selenium/authentication.t .. 1/2 
STRACE: /usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch
{...} 
        /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm:353 in
Try::Tiny::try
        (eval 444):1 in Selenium::Remote::Driver::__ANON__
        (eval 446):2 in Selenium::Remote::Driver::__ANON__
        /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm:1330 in
Selenium::Remote::Driver::_execute_command
        /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm:1330 in (eval)
        t/db_dependent/selenium/authentication.t:99 in
Selenium::Remote::Driver::find_element
        /usr/share/perl/5.28/Test/Builder.pm:339 in main::__ANON__
        /usr/share/perl/5.28/Test/Builder.pm:339 in (eval)
        /usr/share/perl/5.28/Test/More.pm:807 in Test::Builder::subtest
        t/db_dependent/selenium/authentication.t:133 in Test::More::subtest

    # Looks like you planned 6 tests but ran 3.
t/db_dependent/selenium/authentication.t .. 2/2 
#   Failed test 'OPAC interface authentication'
#   at t/db_dependent/selenium/authentication.t line 133.
malformed JSON string, neither tag, array, object, number, string or atom, at
character offset 0 (before "(end of string)") at /usr/share/perl5/JSON.pm line
190.
# Looks like your test exited with 255 just after 2.
t/db_dependent/selenium/authentication.t .. Dubious, test returned 255 (wstat
65280, 0xff00)




I'm retrying with the logging added and hoping the original issue to happen.

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


More information about the Koha-bugs mailing list