[Bug 25513] New: acquisitions_orders.t is failing randomly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Bug ID: 25513 Summary: acquisitions_orders.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 Master_D8 #869 14:12:37 koha_1 | # Failed test 'SWAGGER3.3.2' 14:12:37 koha_1 | # at t/db_dependent/api/v1/acquisitions_orders.t line 129. 14:12:37 koha_1 | # Structures begin differing at: 14:12:37 koha_1 | # $got->{ecost_tax_excluded} = '9963405519357589504' 14:12:37 koha_1 | # $expected->{ecost_tax_excluded} = '9.96340551935759e+18' 14:12:37 koha_1 | # Looks like you failed 1 test of 6. 14:12:37 koha_1 | 14:12:37 koha_1 | # Failed test 'get() tests' 14:12:37 koha_1 | # at t/db_dependent/api/v1/acquisitions_orders.t line 141. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |18731 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18731 [Bug 18731] Add routes for acquisition orders -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rel_20_05_candidate -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Master_U18 #788 14:48:26 koha_1 | # Failed test 'SWAGGER3.3.2' 14:48:26 koha_1 | # at t/db_dependent/api/v1/acquisitions_orders.t line 129. 14:48:26 koha_1 | # Structures begin differing at: 14:48:26 koha_1 | # $got->{unit_price} = '10177559957753600000' 14:48:26 koha_1 | # $expected->{unit_price} = '1.01775599577536e+19' 14:48:26 koha_1 | # Looks like you failed 1 test of 6. 14:48:26 koha_1 | 14:48:26 koha_1 | # Failed test 'get() tests' 14:48:26 koha_1 | # at t/db_dependent/api/v1/acquisitions_orders.t line 141. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Those two runs were on Docker_2 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Master_U18 #772 01:45:29 koha_1 | # Failed test 'SWAGGER3.3.2' 01:45:29 koha_1 | # at t/db_dependent/api/v1/acquisitions_orders.t line 129. 01:45:29 koha_1 | # Structures begin differing at: 01:45:29 koha_1 | # $got->{unit_price_tax_included} = '15313858494394601472' 01:45:29 koha_1 | # $expected->{unit_price_tax_included} = '1.53138584943946e+19' 01:45:29 koha_1 | # Looks like you failed 1 test of 6. 01:45:29 koha_1 | 01:45:29 koha_1 | # Failed test 'get() tests' 01:45:29 koha_1 | # at t/db_dependent/api/v1/acquisitions_orders.t Also on Docker_2 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 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=25513 didier <didier.gautheron@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |didier.gautheron@biblibre.c | |om --- Comment #4 from didier <didier.gautheron@biblibre.com> --- Hi, Could be link to 'ecost_tax_excluded' being a decimal 28,6 in mysql and swagger type a double? It wouldn't be the first time a buggy double to string function didn't roundtrip for some values. It seems '$expected->{' is coming from /usr/share/perl5/Test/More.pm, but it doesn't print the full number. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- It comes from a wrong formatting, and I think it depends on some locale settings (for instance it seems to only fail on Docker_2). The thing people should try is to set 9963405519357589504 for ecost_tax_excluded (for instance). And see if it fails. I cannot make it fail locally. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105170 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105170&action=edit Bug 25513: DO NOT PUSH - try recreating the failure -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- You could try this patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #8 from didier <didier.gautheron@biblibre.com> --- Hi There's a thinko in the patch should be: - value => { orderstatus => 'new' } + value => { orderstatus => 'new', ecost_tax_excluded => 9963405519357589504, unitprice => 10177559957753600000 } Not - value => { orderstatus => 'new' } + value => { orderstatus => 'new', value => { ecost_tax_excluded => 9963405519357589504, unitprice => 10177559957753600000 } } And it fails for me ok 1 - list() tests # Subtest: get() tests 1..6 [Thu May 21 10:08:23 2020] [debug] GET "/api/v1/acquisitions/orders/48" [Thu May 21 10:08:23 2020] [debug] Routing to controller "Koha::REST::V1::Auth" and action "under" [Thu May 21 10:08:23 2020] [debug] Routing to controller "Koha::REST::V1::Acquisitions::Orders" and action "get" [Thu May 21 10:08:23 2020] [debug] 200 OK (0.039639s, 25.228/s) ok 1 - GET //fgMbl_VX3EQexGiV17S9yOb3KOVToMz0qyMP_TOrYUeMkzAppWplcQ5izgERU:thePassword123@/api/v1/acquisitions/orders/48 ok 2 - SWAGGER3.2.2 not ok 3 - SWAGGER3.3.2 # Failed test 'SWAGGER3.3.2' # at ./t/db_dependent/api/v1/acquisitions_orders.t line 129. # Structures begin differing at: # $got->{ecost_tax_excluded} = '9963405519357589504' # $expected->{ecost_tax_excluded} = '9.96340551935759e+18' [Thu May 21 10:08:23 2020] [debug] GET "/api/v1/acquisitions/orders/48" [Thu May 21 10:08:23 2020] [debug] Routing to controller "Koha::REST::V1::Auth" and action "under" [Thu May 21 10:08:23 2020] [debug] Routing to controller "Koha::REST::V1::Acquisitions::Orders" and action "get" [Thu May 21 10:08:23 2020] [debug] 404 Not Found (0.034099s, 29.326/s) ok 4 - GET //fgMbl_VX3EQexGiV17S9yOb3KOVToMz0qyMP_TOrYUeMkzAppWplcQ5izgERU:thePassword123@/api/v1/acquisitions/orders/48 ok 5 - 404 Not Found ok 6 - exact match for JSON Pointer "/error" # Looks like you failed 1 test of 6. not ok 2 - get() tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Indeed! But still not fail for me (I tried yesterday and wrote the patch this morning...) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #10 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Didier, ping me on IRC when you are available :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105170|0 |1 is obsolete| | --- Comment #11 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105175 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105175&action=edit Bug 25513: DO NOT PUSH - try recreating the failure This is failing in stretch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105175|0 |1 is obsolete| | --- Comment #12 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105177 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105177&action=edit Bug 25513: DO NOT PUSH - try recreating the failure This is failing in stretch: Stretch with mysql 5.5 Stretch with 10.1.44-MariaDB-1~bionic (docker-compose.mariadb_d9.yml) Not on Buster with 10.1.44-MariaDB-1~bionic (docker-compose.mariadb_d9.yml) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #13 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- However, using Postman I see the same output (exponent format) with both stretch and buster: "unit_price": 1.01775599577536e+19, "ecost_tax_excluded": 9.96340551935759e+18, -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #14 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- buster has JSON=4.02 stretch has JSON=2.90 % more xxx.pl use Modern::Perl; use Mojo::JSON qw(decode_json encode_json); my $bytes = encode_json {foo => 9963405519357589504, bar => 10177559957753600000}; say $bytes; buster: % perl xxx.pl {"bar":10177559957753600000,"foo":9963405519357589504} stretch: % perl xxx.pl {"bar":10177559957753600000,"foo":9963405519357589504} I am missing something obvious... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #15 from didier <didier.gautheron@biblibre.com> --- Could be something like? https://dba.stackexchange.com/questions/172216/why-would-mysqls-roundn-dd-1-... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #16 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to didier from comment #15)
Could be something like? https://dba.stackexchange.com/questions/172216/why-would-mysqls-roundn-dd-1- sometimes-show-no-digits-after-the-decimal-place
Yes, that seems related. Stretch has 4.041-2 and Buster has 4.050-2 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #17 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jonathan Druart from comment #14)
buster has JSON=4.02 stretch has JSON=2.90
% more xxx.pl use Modern::Perl; use Mojo::JSON qw(decode_json encode_json); my $bytes = encode_json {foo => 9963405519357589504, bar => 10177559957753600000}; say $bytes;
buster: % perl xxx.pl {"bar":10177559957753600000,"foo":9963405519357589504}
stretch: % perl xxx.pl {"bar":10177559957753600000,"foo":9963405519357589504}
I am missing something obvious...
Note that this was meaningless, we wanted to test: use Mojo::JSON qw(decode_json encode_json); my $bytes = encode_json {foo => 9963405519357589504.0000, bar => 10177559957753600000.0000}; say $bytes; Both return {"bar":1.01775599577536e+19,"foo":9.96340551935759e+18} -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 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=25513 --- Comment #18 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 105265 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105265&action=edit Bug 25513: Fix random failure from acquisitions_orders.t No idea if this is correct, but the tests pass without that condition See bug 17932 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |17932 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17932 [Bug 17932] Koha::Object should provide a TO_JSON method -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #19 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Additional notes: 1. This may break Jessie, so we should have a patch for stables that will "fix" the tests by adding specific value to the order we create 2. There is a "format" parameter in the API spec, but we don't use it https://swagger.io/docs/specification/data-models/data-types/ Maybe we should. Another fix would be to extend the test in that area (TO_JSON) and add _float_column_type. We could then use Math::BigFloat: use Math::BigFloat; my $x = Math::BigFloat->new(10177559957753600000); my $y = Math::BigFloat->new(1.01775599577536e+19); say $x;say $y; will display twice 10177559957753600000 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #20 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #19)
Additional notes: 1. This may break Jessie, so we should have a patch for stables that will "fix" the tests by adding specific value to the order we create 2. There is a "format" parameter in the API spec, but we don't use it https://swagger.io/docs/specification/data-models/data-types/ Maybe we should.
Another fix would be to extend the test in that area (TO_JSON) and add _float_column_type. We could then use Math::BigFloat: use Math::BigFloat; my $x = Math::BigFloat->new(10177559957753600000); my $y = Math::BigFloat->new(1.01775599577536e+19); say $x;say $y; will display twice 10177559957753600000
I agree we should be identifying floats and using: "type:" "number", "format": "float" I would like to mention that the like you provided is for OAS3 and we are using OAS2 https://swagger.io/specification/v2/ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105265|0 |1 is obsolete| | --- Comment #21 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Created attachment 105317 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105317&action=edit Bug 25513: Fix random failure from acquisitions_orders.t No idea if this is correct, but the tests pass without that condition See bug 17932 Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |victor@tuxayo.net --- Comment #22 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Tested on koha-testing-docker on Ubuntu 18.04 By running the test in a loop (on master) I could get 2 failures in less that 20 runs. But after that it took 150 runs to get a failure. Thanks to the patch "Bug 25513: DO NOT PUSH - try recreating the failure" , now it fails every time. And the 2nd patch (fix) works! :D -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #23 from Victor Grousset/tuxayo <victor@tuxayo.net> --- On master + only the fix: the tests passed 1350 times and counting. Looks pretty solid :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #24 from Victor Grousset/tuxayo <victor@tuxayo.net> --- In total, overnight, the tests passed 4649 times. Unconceivable to reach without the patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |master 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=25513 --- Comment #25 from Tomás Cohen Arazi <tomascohen@gmail.com> --- This bug is related to an original bug we reported to DBD::mysql RT: https://rt.cpan.org/Public/Bug/Display.html?id=119904 which is now migrated to: https://github.com/perl5-dbi/DBD-mysql/issues/212 The basic idea is that under some circumstances DBD::mysql output failed the looks_like_number test because of wrong flags set on the scalar variable. This bug is removing our workaround under the assumption current DBD::mysql versions on our supported OS are patched. This is the case in Stretch, Buster and Focal. But as the Github link suggests, there's still questions about this being really fixed for good. I'm adding a regression test based on Jonathan's DO NOT PUSH patch, so our CI can catch any issues now and in the future. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|acquisitions_orders.t is |Integer casting in |failing randomly |Koha::Object->TO_JSON | |causes random test failures -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 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=25513 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105177|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=25513 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105317|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=25513 --- Comment #26 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105393 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105393&action=edit Bug 25513: Regression tests 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=25513 --- Comment #27 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105394&action=edit Bug 25513: Fix random failure from acquisitions_orders.t No idea if this is correct, but the tests pass without that condition See bug 17932 Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> 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=25513 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105394|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=25513 --- Comment #28 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105395&action=edit Bug 25513: Remove unneeded integer casting in Koha::Object->TO_JSON This patch removes a problematic integer casting happening in TO_JSON. The original need for this cast (a DBD::mysql bug) is now fixed. We remove the cast as it is causing random failures. To test: 1. Apply the regression tests 2. Run: $ kshell k$ prove t/db_dependent/api/v1/acquisitions_orders.t => FAIL: Tests fail with select high values (i.e. casting gives wrong results) 3. Apply this patch 4. Repeat 2 => SUCCESS: Tests now pass! 5. Sign off :-D Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> 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=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_20_05_candidate | Version(s)| |20.05 released in| | Status|Passed QA |Pushed to master --- Comment #29 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 20.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=25638 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |25638 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25638 [Bug 25638] API related tests failing on comparing floats -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #30 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Hm, bug still happened on Ubuntu 18.04 for last 3 builds. https://jenkins.koha-community.org/job/Koha_Master_U18/813/ https://jenkins.koha-community.org/job/Koha_Master_U18/812/ https://jenkins.koha-community.org/job/Koha_Master_U18/811/ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 --- Comment #31 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I confirm I can make it fail 100% of the time on U18, but only occasionally on D10 (hum?) On U18 it's failing on the tests we wrote for this specific problem ("Regression tests for bug 25513"), but on D10 it fails on another one: t/db_dependent/api/v1/acquisitions_orders.t .. 1/5 # Failed test 'SWAGGER3.3.2' # at t/db_dependent/api/v1/acquisitions_orders.t line 129. # Structures begin differing at: # $got->{ecost_tax_included} = '2.7621662673219e+21' # $expected->{ecost_tax_included} = '2762166267321895092224.000000' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleisha@catalyst.net.nz Version(s)|20.05 |20.05.00 released in| | Status|Pushed to master |Pushed to stable --- Comment #32 from Aleisha Amohia <aleisha@catalyst.net.nz> --- missing dependencies, not backported to 19.11.x -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org