[Bug 24022] New: Z3950Responder tests are failing on D8 and U18
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Bug ID: 24022 Summary: Z3950Responder tests are failing on D8 and U18 Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: P5 - low Component: Test Suite Assignee: jonathan.druart@bugs.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org Depends on: 13937 koha_1 | # Failed test 'test_search' koha_1 | # at t/db_dependent/Koha/Z3950Responder/GenericSession.t line 152. koha_1 | ZOOM error 10000 "Connect failed" (addinfo: "localhost:42111") from diag-set 'ZOOM'# Looks like your test exited with 255 just after 3. koha_1 | [14:13:54] t/db_dependent/Koha/Z3950Responder/GenericSession.t koha_1 | # Failed test 'test_search' koha_1 | # at t/db_dependent/Koha/Z3950Responder/ZebraSession.t line 118. koha_1 | ZOOM error 10000 "Connect failed" (addinfo: "127.0.0.1:42111") from diag-set 'ZOOM'# Looks like your test exited with 255 just after 3. koha_1 | [14:36:24] t/db_dependent/Koha/Z3950Responder/ZebraSession.t Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13937 [Bug 13937] Add an Elasticsearch-compatible Z39.50/SRU daemon that can inject item status MARC subfields -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|jonathan.druart@bugs.koha-c |chris@bigballofwax.co.nz |ommunity.org | Severity|normal |major --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- We have a race condition here, I guess that's why we get the "Connect failed". kohadev-koha@c46b1ba2057e:/kohadevbox/koha$ prove t/db_dependent/Koha/Z3950Responder/Session*.t t/db_dependent/Koha/Z3950Responder/Session2.t .. ok t/db_dependent/Koha/Z3950Responder/Session.t ... 1/3 # Failed test 'All statuses added in one field as expected' # at t/db_dependent/Koha/Z3950Responder/Session.t line 63. # got: 'Checked Out, Lost, Not for Loan, Borked completely, Withdrawn, In Transit, On Hold' # expected: 'Checked Out, Lost, Not for Loan, Damaged, Withdrawn, In Transit, On Hold' # Failed test 'Available status added as expected' # at t/db_dependent/Koha/Z3950Responder/Session.t line 66. # got: 'Free as a bird' # expected: 'Available' # Looks like you failed 2 tests of 2. t/db_dependent/Koha/Z3950Responder/Session.t ... 3/3 # Failed test 'add_item_status' # at t/db_dependent/Koha/Z3950Responder/Session.t line 68. # Looks like you failed 1 test of 3. t/db_dependent/Koha/Z3950Responder/Session.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests Test Summary Report ------------------- t/db_dependent/Koha/Z3950Responder/Session.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=2, Tests=6, 6 wallclock secs ( 0.01 usr 0.01 sys + 4.65 cusr 1.31 csys = 5.98 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Ok, maybe not. # Failed test 'All statuses added in one field as expected' # at t/db_dependent/Koha/Z3950Responder/Session.t line 63. # got: 'Checked Out, Lost, Not for Loan, Borked completely, Withdrawn, In Transit, On Hold' # expected: 'Checked Out, Lost, Not for Loan, Damaged, Withdrawn, In Transit, On Hold' # Failed test 'Available status added as expected' # at t/db_dependent/Koha/Z3950Responder/Session.t line 66. # got: 'Free as a bird' # expected: 'Available' # Looks like you failed 2 tests of 2. => This happens when Session2.t is run before Session.t To recreate: prove t/db_dependent/Koha/Z3950Responder/Session2.t t/db_dependent/Koha/Z3950Responder/Session.t I do not recreate the "Connect failed" when logged in to the container -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 95332 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95332&action=edit Bug 24022: Prevent Session2.t to fail if run after Session.t Cache must be cleaned! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 95333 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95333&action=edit Bug 24022: Remove unecessary delete from authorised_values Why do we need that exactly? The cache is not flushed so it should not be needed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 95336 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95336&action=edit Bug 24022: Try to fix 'connect failed' I am assuming that the tests fail on Jenkins's nodes because they are too slow. The server is not setup yet when we are trying to access it. Just a guess... Note that sleep is usually a bad idea... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |jonathan.druart@bugs.koha-c | |ommunity.org Summary|Z3950Responder tests are |Z3950Responder tests are |failing on D8 and U18 |failing randomly Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ere.maijala@helsinki.fi, | |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #95332|0 |1 is obsolete| | --- Comment #6 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 95362 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95362&action=edit Bug 24022: Prevent Session2.t to fail if run after Session.t Cache must be cleaned! Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #95333|0 |1 is obsolete| | --- Comment #7 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 95363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95363&action=edit Bug 24022: Remove unecessary delete from authorised_values Why do we need that exactly? The cache is not flushed so it should not be needed. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #95336|0 |1 is obsolete| | --- Comment #8 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 95364 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95364&action=edit Bug 24022: Try to fix 'connect failed' I am assuming that the tests fail on Jenkins's nodes because they are too slow. The server is not setup yet when we are trying to access it. Just a guess... Note that sleep is usually a bad idea... Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@ptfs-europe |y.org |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #9 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- This all looks sane to me, passing QA and pushing. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |19.11.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 --- Comment #10 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Nice work! Pushed to master for 19.11.00 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |fridolin.somers@biblibre.co | |m Status|Pushed to master |RESOLVED --- Comment #11 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Depends on Bug 13937 not in 19.05.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24022 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |25551 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25551 [Bug 25551] [OMNIBUS] Some tests are failing randomly -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org