Bug 33330 - selenium/authentication.t is failing randomly
Summary: selenium/authentication.t is failing randomly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords: RM_priority
Depends on:
Blocks: 25551
  Show dependency treegraph
 
Reported: 2023-03-24 08:10 UTC by Jonathan Druart
Modified: 2023-12-19 09:01 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2023-03-24 08:10:55 UTC
15:44:43 koha_1       |         #   Failed test at t/db_dependent/selenium/authentication.t line 235.
15:44:43 koha_1       |         #                   'Koha online catalog'
15:44:43 koha_1       |         #     doesn't match '(?^u:Your library home)'
15:44:43 es_1         | [2023-03-23T14:42:59,727][WARN ][o.e.c.r.a.DiskThresholdMonitor] [hMhQRNC] high disk watermark [90%] exceeded on [hMhQRNCrTdG53zO1o_VVxQ][hMhQRNC][/usr/share/elasticsearch/data/nodes/0] free: 813.7mb[8.1%], shards will be relocated away from this node
15:44:43 koha_1       |         # Looks like you failed 1 test of 13.
15:44:43 koha_1       | 
15:44:43 koha_1       |     #   Failed test 'not authorized'
15:44:43 koha_1       |     #   at t/db_dependent/selenium/authentication.t line 274.
15:44:43 koha_1       |     # Looks like you failed 1 test of 7.
15:44:43 koha_1       | 
15:44:43 koha_1       | #   Failed test 'OPAC interface authentication'
15:44:43 koha_1       | #   at t/db_dependent/selenium/authentication.t line 277.
15:44:43 selenium_1   | 1679582588195	Marionette	INFO	Stopped listening on port 43169
15:44:43 selenium_1   | JavaScript error: resource:///modules/Interactions.jsm, line 230: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
15:44:43 selenium_1   | 14:43:09.324 INFO [ActiveSessions$1.onStop] - Removing session 6022a951-b117-4314-9d9a-ad7218eb2905 (org.openqa.selenium.firefox.GeckoDriverService)
15:44:43 koha_1       | # Looks like you failed 1 test of 3.
15:44:43 koha_1       | [14:43:09] t/db_dependent/selenium/authentication.t
Comment 1 Jonathan Druart 2023-03-24 08:11:16 UTC
Koha_Master/2437
Comment 2 Katrin Fischer 2023-12-18 16:00:55 UTC
Failing in D11 as of today:

not ok 4 - Enforce 2FA setup on first login
not ok 7 - Encoding in session variables


Passing locally:

 prove t/db_dependent/selenium/authentication.t 
t/db_dependent/selenium/authentication.t .. ok   
All tests successful.
Files=1, Tests=3, 19 wallclock secs ( 0.02 usr  0.00 sys +  2.08 cusr  0.31 csys =  2.41 CPU)
Result: PASS

Ideas welcome.
Comment 3 Jonathan Druart 2023-12-19 09:01:59 UTC
(In reply to Katrin Fischer from comment #2)
> Failing in D11 as of today:
> 
> not ok 4 - Enforce 2FA setup on first login
> not ok 7 - Encoding in session variables

This is not authentication.t but authentication_2fa.t 

Reported on bug 35598.