[Bug 25538] New: www/search_utf8.t is failing randomly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Bug ID: 25538 Summary: www/search_utf8.t is failing randomly Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org This is a new failure, we got it twice in the last couple of days: Master_D8 #870 and Master_U18 #790, the output is (quite verbose): 14:12:44 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 259. 14:12:44 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:12:44 koha_1 | # 'Koha › Catalog › Results of search for 'kw,wrdl: deuteros' Menu CirculationPatronsSearchAdvanced searchItem searchCartMore ListsCatalogingAcquisitionsAuthoritiesSerialsCourse reservesReportsToolsAdministrationAbout Koha koha | Centerville CPL Logged in as:koha Location: Centerville CPLSet libraryMy accountMy checkoutsLog out HelpYour cart is empty.Enter patron card number or partial name: Scan a barcode to check in: Scan a barcode to renew: Enter search keywords: Check outCheck inRenewSearch the catalogHome › Catalog › Search for 'kw,wrdl: deuteros' 2 result(s) found for 'kw,wrdl: deuteros'. Select all | Clear all | Unhighlight Highlight | Add to cart Add to list New list Place hold Z39.50/SRU search Edit Batch editBatch deleteMerge records Sort RelevancePopularityPopularity (most to least)Popularity (least to most)AuthorAuthor (A-Z)Author (Z-A)Call numberCall number (0-9 to A-Z)Call number (Z-A to 9-0)DatesPublication/Copyright date: newest to oldestPublication/Copyright date: oldest to newestAcquisition date: newest to oldestAcquisition date: oldest to newestTitleTitle (A-Z)Title (Z-A) ResultsLocation 1. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items 2. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items Refine your searchAvailabilityLimit to currently available itemsTopicsGardeningΚηπουρική学協会. μμ' 14:12:44 koha_1 | # doesn't match '(?^u:Publisher: Αθήνα)' 14:12:44 koha_1 | 14:12:44 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 268. 14:12:44 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:12:44 koha_1 | # 'Koha › Catalog › Results of search for 'kw,wrdl: Αθήνα' Menu CirculationPatronsSearchAdvanced searchItem searchCartMore ListsCatalogingAcquisitionsAuthoritiesSerialsCourse reservesReportsToolsAdministrationAbout Koha koha | Centerville CPL Logged in as:koha Location: Centerville CPLSet libraryMy accountMy checkoutsLog out HelpYour cart is empty.Enter patron card number or partial name: Scan a barcode to check in: Scan a barcode to renew: Enter search keywords: Check outCheck inRenewSearch the catalogHome › Catalog › Search for 'kw,wrdl: Αθήνα' 2 result(s) found for 'kw,wrdl: Αθήνα'. Select all | Clear all | Unhighlight Highlight | Add to cart Add to list New list Place hold Z39.50/SRU search Edit Batch editBatch deleteMerge records Sort RelevancePopularityPopularity (most to least)Popularity (least to most)AuthorAuthor (A-Z)Author (Z-A)Call numberCall number (0-9 to A-Z)Call number (Z-A to 9-0)DatesPublication/Copyright date: newest to oldestPublication/Copyright date: oldest to newestAcquisition date: newest to oldestAcquisition date: oldest to newestTitleTitle (A-Z)Title (Z-A) ResultsLocation 1. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items 2. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items Refine your searchAvailabilityLimit to currently available itemsTopicsGardeningΚηπουρική学協会. μμ' 14:12:44 koha_1 | # doesn't match '(?^u:Publisher: Αθήνα)' 14:12:45 koha_1 | 14:12:45 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 282. 14:12:45 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:12:45 koha_1 | # 'Koha online catalog › Results of search for 'deuteros' Koha online Your cart is empty. Cart Lists Your listsNo private listsNew list Welcome, koha Your accountSearch history Clear Log out Search Library catalogTitleAuthorSubjectISBNISSNSeriesCall numberGoAdvanced searchCourse reservesAuthority searchTag cloud Libraries ×Log in to your accountLogin:Password:Forgot your password?Don't have an account? Register here.Home ›Results of search for 'deuteros'Refine your searchAvailabilityLimit to currently available items.TopicsGardeningΚηπουρική学協会. μμYour search returned 2 results. RelevancePopularity (most to least)Popularity (least to most)Author (A-Z)Author (Z-A)Call number (0-9 to A-Z)Call number (Z-A to 9-0)Publication/Copyright date: Newest to oldestPublication/Copyright date: Oldest to newestAcquisition date: Newest to oldestAcquisition date: Oldest to newestTitle (A-Z)Title (Z-A) Unhighlight Highlight| | 1. Material type: Text Availability: No items available : Save to lists Add to cart (remove) 2. Material type: Text Availability: No items available : Save to lists Add to cart (remove) Not finding what you're looking for? Make a purchase suggestionPowered by Koha' 14:12:45 koha_1 | # doesn't match '(?^u:Publisher: Αθήνα)' 14:12:46 koha_1 | 14:12:46 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 291. 14:12:46 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:12:46 koha_1 | # 'Koha online catalog › Results of search for 'Αθήνα' Koha online Your cart is empty. Cart Lists Your listsNo private listsNew list Welcome, koha Your accountSearch history Clear Log out Search Library catalogTitleAuthorSubjectISBNISSNSeriesCall numberGoAdvanced searchCourse reservesAuthority searchTag cloud Libraries ×Log in to your accountLogin:Password:Forgot your password?Don't have an account? Register here.Home ›Results of search for 'Αθήνα'Refine your searchAvailabilityLimit to currently available items.TopicsGardeningΚηπουρική学協会. μμYour search returned 2 results. RelevancePopularity (most to least)Popularity (least to most)Author (A-Z)Author (Z-A)Call number (0-9 to A-Z)Call number (Z-A to 9-0)Publication/Copyright date: Newest to oldestPublication/Copyright date: Oldest to newestAcquisition date: Newest to oldestAcquisition date: Oldest to newestTitle (A-Z)Title (Z-A) Unhighlight Highlight| | 1. Material type: Text Availability: No items available : Save to lists Add to cart (remove) 2. Material type: Text Availability: No items available : Save to lists Add to cart (remove) Not finding what you're looking for? Make a purchase suggestionPowered by Koha' 14:12:46 koha_1 | # doesn't match '(?^u:Publisher: Αθήνα)' 14:13:29 koha_1 | 14:13:29 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 259. 14:13:29 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:13:29 koha_1 | # 'Koha › Catalog › Results of search for 'kw,wrdl: Tòmas' Menu CirculationPatronsSearchAdvanced searchItem searchCartMore ListsCatalogingAcquisitionsAuthoritiesSerialsCourse reservesReportsToolsAdministrationAbout Koha koha | Centerville CPL Logged in as:koha Location: Centerville CPLSet libraryMy accountMy checkoutsLog out HelpYour cart is empty.Enter patron card number or partial name: Scan a barcode to check in: Scan a barcode to renew: Enter search keywords: Check outCheck inRenewSearch the catalogHome › Catalog › Search for 'kw,wrdl: Tòmas' 2 result(s) found for 'kw,wrdl: Tòmas'. Select all | Clear all | Unhighlight Highlight | Add to cart Add to list New list Place hold Z39.50/SRU search Edit Batch editBatch deleteMerge records Sort RelevancePopularityPopularity (most to least)Popularity (least to most)AuthorAuthor (A-Z)Author (Z-A)Call numberCall number (0-9 to A-Z)Call number (Z-A to 9-0)DatesPublication/Copyright date: newest to oldestPublication/Copyright date: oldest to newestAcquisition date: newest to oldestAcquisition date: oldest to newestTitleTitle (A-Z)Title (Z-A) ResultsLocation 1. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items 2. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items Refine your searchAvailabilityLimit to currently available itemsTopicsThomas Aquinas, s.AuthorsTòmas, Giovanni Feli...' 14:13:29 koha_1 | # doesn't match '(?^u:Publisher: Ramòn)' 14:13:30 koha_1 | 14:13:30 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 268. 14:13:30 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:13:30 koha_1 | # 'Koha › Catalog › Results of search for 'kw,wrdl: Ramòn' Menu CirculationPatronsSearchAdvanced searchItem searchCartMore ListsCatalogingAcquisitionsAuthoritiesSerialsCourse reservesReportsToolsAdministrationAbout Koha koha | Centerville CPL Logged in as:koha Location: Centerville CPLSet libraryMy accountMy checkoutsLog out HelpYour cart is empty.Enter patron card number or partial name: Scan a barcode to check in: Scan a barcode to renew: Enter search keywords: Check outCheck inRenewSearch the catalogHome › Catalog › Search for 'kw,wrdl: Ramòn' 2 result(s) found for 'kw,wrdl: Ramòn'. Select all | Clear all | Unhighlight Highlight | Add to cart Add to list New list Place hold Z39.50/SRU search Edit Batch editBatch deleteMerge records Sort RelevancePopularityPopularity (most to least)Popularity (least to most)AuthorAuthor (A-Z)Author (Z-A)Call numberCall number (0-9 to A-Z)Call number (Z-A to 9-0)DatesPublication/Copyright date: newest to oldestPublication/Copyright date: oldest to newestAcquisition date: newest to oldestAcquisition date: oldest to newestTitleTitle (A-Z)Title (Z-A) ResultsLocation 1. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items 2. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items Refine your searchAvailabilityLimit to currently available itemsTopicsThomas Aquinas, s.AuthorsTòmas, Giovanni Feli...' 14:13:30 koha_1 | # doesn't match '(?^u:Publisher: Ramòn)' 14:13:30 koha_1 | 14:13:30 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 282. 14:13:30 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:13:30 koha_1 | # 'Koha online catalog › Results of search for 'Tòmas' Koha online Your cart is empty. Cart Lists Your listsNo private listsNew list Welcome, koha Your accountSearch history Clear Log out Search Library catalogTitleAuthorSubjectISBNISSNSeriesCall numberGoAdvanced searchCourse reservesAuthority searchTag cloud Libraries ×Log in to your accountLogin:Password:Forgot your password?Don't have an account? Register here.Home ›Results of search for 'Tòmas'Refine your searchAvailabilityLimit to currently available items.AuthorsTòmas, Giovanni Feli...TopicsThomas Aquinas, s.Your search returned 2 results. RelevancePopularity (most to least)Popularity (least to most)Author (A-Z)Author (Z-A)Call number (0-9 to A-Z)Call number (Z-A to 9-0)Publication/Copyright date: Newest to oldestPublication/Copyright date: Oldest to newestAcquisition date: Newest to oldestAcquisition date: Oldest to newestTitle (A-Z)Title (Z-A) Unhighlight Highlight| | 1. Material type: Text Availability: No items available : Save to lists Add to cart (remove) 2. Material type: Text Availability: No items available : Save to lists Add to cart (remove) Not finding what you're looking for? Make a purchase suggestionPowered by Koha' 14:13:30 koha_1 | # doesn't match '(?^u:Publisher: Ramòn)' 14:13:31 koha_1 | 14:13:31 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 291. 14:13:31 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:13:31 koha_1 | # 'Koha online catalog › Results of search for 'Ramòn' Koha online Your cart is empty. Cart Lists Your listsNo private listsNew list Welcome, koha Your accountSearch history Clear Log out Search Library catalogTitleAuthorSubjectISBNISSNSeriesCall numberGoAdvanced searchCourse reservesAuthority searchTag cloud Libraries ×Log in to your accountLogin:Password:Forgot your password?Don't have an account? Register here.Home ›Results of search for 'Ramòn'Refine your searchAvailabilityLimit to currently available items.AuthorsTòmas, Giovanni Feli...TopicsThomas Aquinas, s.Your search returned 2 results. RelevancePopularity (most to least)Popularity (least to most)Author (A-Z)Author (Z-A)Call number (0-9 to A-Z)Call number (Z-A to 9-0)Publication/Copyright date: Newest to oldestPublication/Copyright date: Oldest to newestAcquisition date: Newest to oldestAcquisition date: Oldest to newestTitle (A-Z)Title (Z-A) Unhighlight Highlight| | 1. Material type: Text Availability: No items available : Save to lists Add to cart (remove) 2. Material type: Text Availability: No items available : Save to lists Add to cart (remove) Not finding what you're looking for? Make a purchase suggestionPowered by Koha' 14:13:31 koha_1 | # doesn't match '(?^u:Publisher: Ramòn)' 14:14:13 koha_1 | 14:14:13 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 259. 14:14:13 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:14:13 koha_1 | # 'Koha › Catalog › Results of search for 'kw,wrdl: A tiny record' Menu CirculationPatronsSearchAdvanced searchItem searchCartMore ListsCatalogingAcquisitionsAuthoritiesSerialsCourse reservesReportsToolsAdministrationAbout Koha koha | Centerville CPL Logged in as:koha Location: Centerville CPLSet libraryMy accountMy checkoutsLog out HelpYour cart is empty.Enter patron card number or partial name: Scan a barcode to check in: Scan a barcode to renew: Enter search keywords: Check outCheck inRenewSearch the catalogHome › Catalog › Search for 'kw,wrdl: A tiny record' 2 result(s) found for 'kw,wrdl: A tiny record'. Select all | Clear all | Unhighlight Highlight | Add to cart Add to list New list Place hold Z39.50/SRU search Edit Batch editBatch deleteMerge records Sort RelevancePopularityPopularity (most to least)Popularity (least to most)AuthorAuthor (A-Z)Author (Z-A)Call numberCall number (0-9 to A-Z)Call number (Z-A to 9-0)DatesPublication/Copyright date: newest to oldestPublication/Copyright date: oldest to newestAcquisition date: newest to oldestAcquisition date: oldest to newestTitleTitle (A-Z)Title (Z-A) ResultsLocation 1. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items 2. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items Refine your searchAvailabilityLimit to currently available itemsTopics😀' 14:14:13 koha_1 | # doesn't match '(?^u:Publisher: 𠻺tomasito𠻺)' 14:14:14 koha_1 | 14:14:14 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 268. 14:14:14 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:14:14 koha_1 | # 'Koha › Catalog › Results of search for 'kw,wrdl: 𠻺tomasito𠻺' Menu CirculationPatronsSearchAdvanced searchItem searchCartMore ListsCatalogingAcquisitionsAuthoritiesSerialsCourse reservesReportsToolsAdministrationAbout Koha koha | Centerville CPL Logged in as:koha Location: Centerville CPLSet libraryMy accountMy checkoutsLog out HelpYour cart is empty.Enter patron card number or partial name: Scan a barcode to check in: Scan a barcode to renew: Enter search keywords: Check outCheck inRenewSearch the catalogHome › Catalog › Search for 'kw,wrdl: 𠻺tomasito𠻺' 2 result(s) found for 'kw,wrdl: 𠻺tomasito𠻺'. Select all | Clear all | Unhighlight Highlight | Add to cart Add to list New list Place hold Z39.50/SRU search Edit Batch editBatch deleteMerge records Sort RelevancePopularityPopularity (most to least)Popularity (least to most)AuthorAuthor (A-Z)Author (Z-A)Call numberCall number (0-9 to A-Z)Call number (Z-A to 9-0)DatesPublication/Copyright date: newest to oldestPublication/Copyright date: oldest to newestAcquisition date: newest to oldestAcquisition date: oldest to newestTitleTitle (A-Z)Title (Z-A) ResultsLocation 1. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items 2. Material type: Text No holds allowed | Add to cart (remove) | Edit record | Edit items | OPAC view No items Refine your searchAvailabilityLimit to currently available itemsTopics😀' 14:14:14 koha_1 | # doesn't match '(?^u:Publisher: 𠻺tomasito𠻺)' 14:14:15 koha_1 | 14:14:15 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 282. 14:14:15 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:14:15 koha_1 | # 'Koha online catalog › Results of search for 'A tiny record' Koha online Your cart is empty. Cart Lists Your listsNo private listsNew list Welcome, koha Your accountSearch history Clear Log out Search Library catalogTitleAuthorSubjectISBNISSNSeriesCall numberGoAdvanced searchCourse reservesAuthority searchTag cloud Libraries ×Log in to your accountLogin:Password:Forgot your password?Don't have an account? Register here.Home ›Results of search for 'A tiny record'Refine your searchAvailabilityLimit to currently available items.Topics😀Your search returned 2 results. RelevancePopularity (most to least)Popularity (least to most)Author (A-Z)Author (Z-A)Call number (0-9 to A-Z)Call number (Z-A to 9-0)Publication/Copyright date: Newest to oldestPublication/Copyright date: Oldest to newestAcquisition date: Newest to oldestAcquisition date: Oldest to newestTitle (A-Z)Title (Z-A) Unhighlight Highlight| | 1. Material type: Text Availability: No items available : Save to lists Add to cart (remove) 2. Material type: Text Availability: No items available : Save to lists Add to cart (remove) Not finding what you're looking for? Make a purchase suggestionPowered by Koha' 14:14:15 koha_1 | # doesn't match '(?^u:Publisher: 𠻺tomasito𠻺)' 14:14:15 koha_1 | 14:14:15 koha_1 | # Failed test at t/db_dependent/www/search_utf8.t line 291. 14:14:15 koha_1 | Wide character in print at /usr/share/perl5/Test2/Formatter/TAP.pm line 105. 14:14:15 koha_1 | # 'Koha online catalog › Results of search for '𠻺tomasito𠻺' Koha online Your cart is empty. Cart Lists Your listsNo private listsNew list Welcome, koha Your accountSearch history Clear Log out Search Library catalogTitleAuthorSubjectISBNISSNSeriesCall numberGoAdvanced searchCourse reservesAuthority searchTag cloud Libraries ×Log in to your accountLogin:Password:Forgot your password?Don't have an account? Register here.Home ›Results of search for '𠻺tomasito𠻺'Refine your searchAvailabilityLimit to currently available items.Topics😀Your search returned 2 results. RelevancePopularity (most to least)Popularity (least to most)Author (A-Z)Author (Z-A)Call number (0-9 to A-Z)Call number (Z-A to 9-0)Publication/Copyright date: Newest to oldestPublication/Copyright date: Oldest to newestAcquisition date: Newest to oldestAcquisition date: Oldest to newestTitle (A-Z)Title (Z-A) Unhighlight Highlight| | 1. Material type: Text Availability: No items available : Save to lists Add to cart (remove) 2. Material type: Text Availability: No items available : Save to lists Add to cart (remove) Not finding what you're looking for? Make a purchase suggestionPowered by Koha' 14:14:15 koha_1 | # doesn't match '(?^u:Publisher: 𠻺tomasito𠻺)' 14:14:22 koha_1 | # Looks like you failed 12 tests of 99. 14:14:22 koha_1 | [12:14:22] t/db_dependent/www/search_utf8.t ........................................ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |24458 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Maybe caused by bug 24458 (?) Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24458 [Bug 24458] Search results don't use Koha::Filter::MARC::ViewPolicy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Again on Master_D9_MDB_Latest #303 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #3 from Tomás Cohen Arazi <tomascohen@gmail.com> --- You need to make sure the used fw has the checked girls set to display in the relevant interface. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Tomás Cohen Arazi from comment #3)
You need to make sure the used fw has the checked girls set to display in the relevant interface.
Why would that make it fail randomly? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- This is because KOHA_OPAC_URL is not set. On both U18 and D11 I get the following (known error that should not have been ignored so long): root@c4adf9b9b785:koha(master|BISECTING)$ kshell bash: /root/.bashrc: Permission denied This can be recreated easily by defining a wrong KOHA_OPAC_URL. $ koha-shell ${KOHA_INSTANCE} -p -c "echo $KOHA_OPAC_URL" -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105675 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105675&action=edit Bug 25538: Don't run search_utf8.t if KOHA_*_URL empty -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- koha-testing-docker related issue: https://gitlab.com/koha-community/koha-testing-docker/-/issues/202 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- 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=25538 --- Comment #8 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105676 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105676&action=edit Bug 25538: Use sudo -i in koha-shell See man sudo, -i parameter. Should we expect regressions? Test plan: 0. Use D11 or U18. Don't apply this patch 1. $ echo $KOHA_INTRANET_URL $ sudo koha-shell kohadev $ echo $KOHA_INTRANET_URL 2. Apply this patch $ cp debian/scripts/koha-shell /usr/sbin/koha-shell 3. Repeat 1. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |jonathan.druart@bugs.koha-c | |ommunity.org Severity|normal |major -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105685 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105685&action=edit Bug 25538: Default to --login|-i if no command passed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105675|0 |1 is obsolete| | --- Comment #10 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 105686 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105686&action=edit Bug 25538: Don't run search_utf8.t if KOHA_*_URL empty Signed-off-by: Martin Renvoize <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=25538 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105676|0 |1 is obsolete| | --- Comment #11 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 105687 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105687&action=edit Bug 25538: Use sudo -i in koha-shell See man sudo, -i parameter. Should we expect regressions? Test plan: 0. Use D11 or U18. Don't apply this patch 1. $ echo $KOHA_INTRANET_URL $ sudo koha-shell kohadev $ echo $KOHA_INTRANET_URL 2. Apply this patch $ cp debian/scripts/koha-shell /usr/sbin/koha-shell 3. Repeat 1. Signed-off-by: Martin Renvoize <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=25538 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105685|0 |1 is obsolete| | --- Comment #12 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 105688 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105688&action=edit Bug 25538: Default to --login|-i if no command passed Signed-off-by: Martin Renvoize <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=25538 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Status|Needs Signoff |Signed Off --- Comment #13 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Looks good to me and works as expected when running in koha-testing-docker interactively. Signing off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |tomascohen@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #14 from Tomás Cohen Arazi <tomascohen@gmail.com> --- I tried it on an Ubuntu 18.04 KTD (19.11-bionic) and it doesn't seem to fix the issue, and it also feels like it is choosing a different shell: root@744612f9fc98:kohadevbox$ export KOHA_INTRANET_URL=hola root@744612f9fc98:kohadevbox$ echo $KOHA_INTRANET_URL hola root@744612f9fc98:kohadevbox$ koha/debian/scripts/koha-shell kohadev $ echo $KOHA_INTRANET_URL $ Will try on different images. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #15 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- $KOHA_INTRANET_URL is not supposed to be the one coming from the shell you had before (does it?). It is defined in the .bashrc of the kohadev-koha $ grep KOHA_INTRANET_URL /var/lib/koha/kohadev/.bashrc export KOHA_INTRANET_URL=http://koha:8081 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #16 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I think the env vars must be kept if --preserve-env is passed. But in that case we should do the test in the bashrc (if vars exist, don't reset them with the default values). Also I guess the following lines should be removed (var must be defined in bashrc?) 51 "env " 52 . "KOHA_CONF=/etc/koha/sites/$instance/koha-conf.xml " 53 . "PERL5LIB=$perl5lib But we are going to far, the whole script needs its own bug report (if the above is correct). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #17 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #16)
I think the env vars must be kept if --preserve-env is passed. But in that case we should do the test in the bashrc (if vars exist, don't reset them with the default values).
Also I guess the following lines should be removed (var must be defined in bashrc?) 51 "env " 52 . "KOHA_CONF=/etc/koha/sites/$instance/koha-conf.xml " 53 . "PERL5LIB=$perl5lib
But we are going to far, the whole script needs its own bug report (if the above is correct).
It smells like this is a problem in KTD, the run.sh script should be doing things in a different way. We passed things like KOHA_INTRANET_URL to the koha-shell because the different default shells pick or not the variables depending on which is being used. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105688|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105686|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105687|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #18 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105763 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105763&action=edit Bug 25538: Don't run search_utf8.t if KOHA_*_URL empty Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #19 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105764 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105764&action=edit Bug 25538: Use sudo -i in koha-shell See man sudo, -i parameter. Should we expect regressions? Test plan: 0. Use D11 or U18. Don't apply this patch 1. $ echo $KOHA_INTRANET_URL $ sudo koha-shell kohadev $ echo $KOHA_INTRANET_URL 2. Apply this patch $ cp debian/scripts/koha-shell /usr/sbin/koha-shell 3. Repeat 1. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #20 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105765 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105765&action=edit Bug 25538: Default to --login|-i if no command passed Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #21 from Tomás Cohen Arazi <tomascohen@gmail.com> --- It all makes sense now that I've spent enough time trying myself to fix. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #22 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- root@3c7b0504a2a3:koha(master|BISECTING)$ cp debian/scripts/koha-shell /usr/sbin/koha-shell root@3c7b0504a2a3:koha(master|BISECTING)$ kshell bash: /root/.bashrc: Permission denied kohadev-koha@3c7b0504a2a3:/kohadevbox/koha$ pwd /kohadevbox/koha kohadev-koha@3c7b0504a2a3:/kohadevbox/koha$ exit # Switching to branch bug_25538 root@3c7b0504a2a3:koha(master|BISECTING)$ cp debian/scripts/koha-shell /usr/sbin/koha-shell root@3c7b0504a2a3:koha(master|BISECTING)$ kshell kohadev-koha@3c7b0504a2a3:~$ pwd /var/lib/koha/kohadev Isn't this actually a problem? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #23 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- root@3c7b0504a2a3:koha(master|BISECTING)$ koha-shell kohadev -p -c "prove t/DateUtils.t" t/DateUtils.t .. ok All tests successful. Files=1, Tests=79, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.49 cusr 0.03 csys = 0.55 CPU) Result: PASS So I should not break the tests launched by ktd. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |20.11.00 released in| | Status|Passed QA |Pushed to master --- Comment #24 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 20.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|www/search_utf8.t is |koha-shell should pass |failing randomly |--login to sudo if no | |command -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robin@catalyst.net.nz Component|Test Suite |Command-line Utilities -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |25752 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25752 [Bug 25752] Current directory not kept when using koha-create -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Version(s)|20.11.00 |20.11.00, 20.05.01 released in| | Status|Pushed to master |Pushed to stable --- Comment #25 from Lucas Gass <lucas@bywatersolutions.com> --- backported to 20.05.x for 20.05.01 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleisha@catalyst.net.nz Status|Pushed to stable |Pushed to oldstable Version(s)|20.11.00, 20.05.01 |20.11.00, 20.05.01, released in| |19.11.07 --- Comment #26 from Aleisha Amohia <aleisha@catalyst.net.nz> --- backported to 19.11.x for 19.11.07 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |Pushed to oldoldstable Version(s)|20.11.00, 20.05.01, |20.11.00, 20.05.01, released in|19.11.07 |19.11.07, 19.05.12 CC| |victor@tuxayo.net --- Comment #27 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Backported to 19.05.x branch for 19.05.12 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #28 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Still the same failure on 20.05_U18/11 (note that selenium/authentication.t is failing as well) Please report here when it happens. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #29 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 19.11_U18 #190 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #30 from Victor Grousset/tuxayo <victor@tuxayo.net> ---
Please report here when it happens.
https://jenkins.koha-community.org/view/19.05/job/Koha_19.05_D9/246/consoleT... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 --- Comment #31 from Victor Grousset/tuxayo <victor@tuxayo.net> --- https://jenkins.koha-community.org/job/Koha_19.05_D8/256/consoleText -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25538 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |26031 --- Comment #32 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I moved the original issue to bug 26031. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26031 [Bug 26031] www/search_utf8.t is failing randomly -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org