Skip Menu |

This queue is for tickets about the Perinci-Sub-GetArgs-Argv CPAN distribution.

Report information
The Basics
Id: 132716
Status: resolved
Priority: 0/
Queue: Perinci-Sub-GetArgs-Argv

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.843
Fixed in: (no value)



Subject: t/_is_simple_or_array_of_simple_or_hash_of_simple.t may fail
On some of my smokers: ... # Failed test 'result' # at t/_is_simple_or_array_of_simple_or_hash_of_simple.t line 126. # Structures begin differing at: # $got->[4]{examples} = ARRAY(0x800e4edc8) # $expected->[4]{examples} = Does not exist # [ # 1, # 0, # 0, # 'int', # { # 'examples' => [ # { # 'data' => 1, # 'valid' => 1 # }, # { # 'data' => 0, # 'valid' => 0 # }, # { # 'data' => -1, # 'valid' => 0 # } # ], # 'min' => 1, # 'summary' => 'Positive integer (1, 2, ...)' # }, # undef # ] # Looks like you failed 1 test of 1. # Failed test 'based on simple type' # at t/_is_simple_or_array_of_simple_or_hash_of_simple.t line 128. # Looks like you failed 1 test of 4. # Failed test 'simple' # at t/_is_simple_or_array_of_simple_or_hash_of_simple.t line 36. # Looks like you failed 1 test of 3. t/_is_simple_or_array_of_simple_or_hash_of_simple.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests ...
Statistical analysis is hinting to Data::Sah. So I reproduced this result with a randomly picked perl 5.24. I then downgraded Data::Sah to PERLANCAR/Data-Sah-0.904.tar.gz. That was enough to get Perinci-Sub-GetArgs-Argv-0.843.tar.gz pass its tests. Just a data point.
I then tried to reproduce this whole story that I reported on 5.24.4 with 5.28.3 and 5.30.3 but could not. So there is some additional dependency involved.
The one and only additional downgrade that was required in my case was to PERLANCAR/Sah-Schemas-Int-0.071.tar.gz. After this downgrade I could produce two pass reports for the picked 5.30.3 and 5.28.3 perls. On this page http://analysis.cpantesters.org/reports_by_field?SUBMIT_xxx=Submit&distv=Perinci-Sub-GetArgs-Argv-0.843&field=meta%3Adate&field=meta%3Adate&field=meta%3Afrom&field=meta%3Aperl&field=mod%3AData%3A%3ASah%3A%3AType%3A%3Aarray I just counted 34 fail reports on Perinci-Sub-GetArgs-Argv-0.843 with Data::Sah::Type::array bein version 0.908. And zero pass reports with that version.
I've just released 0.844 which uses Test::Deep's cmp_deeply() instead of Test::More's is_deeply(), so the test is not too sensitive to changes in schema modules. Please reopen if tests are still failing. On Sat, 13 Jun 2020 16:54:19 GMT, ANDK wrote: Show quoted text
> The one and only additional downgrade that was required in my case was > to PERLANCAR/Sah-Schemas-Int-0.071.tar.gz. After this downgrade I > could produce two pass reports for the picked 5.30.3 and 5.28.3 perls. > > On this page > http://analysis.cpantesters.org/reports_by_field?SUBMIT_xxx=Submit&distv=Perinci- > Sub-GetArgs-Argv- > 0.843&field=meta%3Adate&field=meta%3Adate&field=meta%3Afrom&field=meta%3Aperl&field=mod%3AData%3A%3ASah%3A%3AType%3A%3Aarray > I just counted 34 fail reports on Perinci-Sub-GetArgs-Argv-0.843 with > Data::Sah::Type::array bein version 0.908. And zero pass reports with > that version.