Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-UploadToStratopan CPAN distribution.

Report information
The Basics
Id: 127199
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-UploadToStratopan

People
Owner: WATERKIP [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.013
Fixed in: 0.015



Subject: t/stratopan.t started to fail
On my smoker systems I see the following failure: ... # Failed test 'Unable to login' # at t/stratopan.t line 45. # expecting: Regexp ((?^:Incorrect login or password)) # found: normal exit # Looks like you failed 1 test of 3. t/stratopan.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests (less 2 skipped subtests: 0 okay) ... I suspect that this is caused by newer Mojolicious version (8.0 and newer).
On Tue Sep 25 21:05:09 2018, SREZIC wrote: Show quoted text
> On my smoker systems I see the following failure: > > ... > # Failed test 'Unable to login' > # at t/stratopan.t line 45. > # expecting: Regexp ((?^:Incorrect login or password)) > # found: normal exit > # Looks like you failed 1 test of 3. > t/stratopan.t ... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/3 subtests > (less 2 skipped subtests: 0 okay) > ... > > I suspect that this is caused by newer Mojolicious version (8.0 and newer).
I'm not sure if it is that. What I see from all the fails on CPAN testers is that Mojo::DOM and Mojo::UserAgent have a satisfied dependency. I've set the dependency to 0, so that any installed version is OK, and CPAN testers report that version 0 is installed. I think it has to do with the fact that Mojo::{DOM,UserAgent} don't have a $VERSION and thus always report 0 back to CPAN testers. I've changed the dependencies to Mojolicious and haven't set a dependency (version 0 again) in a trial release and see how that goes. I'm unable to reproduce the error with my Docker build, which fetches the latest Mojolicious release. Could you maybe report which version of Mojolicious you have installed (if any).
On 2018-09-26 11:42:35, WATERKIP wrote: Show quoted text
> On Tue Sep 25 21:05:09 2018, SREZIC wrote:
> > On my smoker systems I see the following failure: > > > > ... > > # Failed test 'Unable to login' > > # at t/stratopan.t line 45. > > # expecting: Regexp ((?^:Incorrect login or password)) > > # found: normal exit > > # Looks like you failed 1 test of 3. > > t/stratopan.t ... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/3 subtests > > (less 2 skipped subtests: 0 okay) > > ... > > > > I suspect that this is caused by newer Mojolicious version (8.0 and > > newer).
> > I'm not sure if it is that. What I see from all the fails on CPAN > testers is that Mojo::DOM and Mojo::UserAgent have a satisfied > dependency. I've set the dependency to 0, so that any installed > version is OK, and CPAN testers report that version 0 is installed. I > think it has to do with the fact that Mojo::{DOM,UserAgent} don't have > a $VERSION and thus always report 0 back to CPAN testers. > > I've changed the dependencies to Mojolicious and haven't set a > dependency (version 0 again) in a trial release and see how that goes. > > I'm unable to reproduce the error with my Docker build, which fetches > the latest Mojolicious release. > > Could you maybe report which version of Mojolicious you have installed > (if any).
Thanks for putting Mojolicious as a prereq --- this makes analysing things easier, as we have now a real version number. With 0.014-TRIAL I get this result using statistical analysis: **************************************************************** Regression 'mod:Mojolicious' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 424269209247404096.00 [1='eq_7.05'] 0.0000 0.0000 163.17 [2='eq_7.33'] 0.0000 0.0000 133.23 [3='eq_7.55'] 0.0000 0.0000 33.31 [4='eq_7.70'] 0.0000 0.0000 99.92 [5='eq_7.71'] 0.0000 0.0000 99.92 [6='eq_7.81'] -1.0000 0.0000 -300003634907493760.00 [7='eq_7.82'] -1.0000 0.0000 -300003634907493824.00 [8='eq_7.84'] -1.0000 0.0000 -300003634907493696.00 [9='eq_7.85'] -1.0000 0.0000 -300003634907493888.00 [10='eq_7.88'] -1.0000 0.0000 -387303027266137856.00 [11='eq_7.93'] -1.0000 0.0000 -396867505190322176.00 [12='eq_8.0'] -1.0000 0.0000 -367427913251787648.00 [13='eq_8.01'] -1.0000 0.0000 -421270802705793408.00 R^2= 1.000, N= 97, K= 14 **************************************************************** theta=-1 means 100% fail --- so it fails on my systems with Mojolicious 7.81 and later.
On Thu Sep 27 00:47:22 2018, SREZIC wrote: Show quoted text
> > Could you maybe report which version of Mojolicious you have > > installed > > (if any).
> > Thanks for putting Mojolicious as a prereq --- this makes analysing > things easier, as we have now a real version number. > > With 0.014-TRIAL I get this result using statistical analysis:
<snip> It still lists the following: Mojo::DOM 0 0 Mojo::UserAgent 0 0 Mojolicious 8.01 0 I'm going to exclude Mojo::DOM and Mojo::UserAgent in another trial release.
On 2018-09-27 13:35:36, WATERKIP wrote: Show quoted text
> On Thu Sep 27 00:47:22 2018, SREZIC wrote: >
> > > Could you maybe report which version of Mojolicious you have > > > installed > > > (if any).
> > > > Thanks for putting Mojolicious as a prereq --- this makes analysing > > things easier, as we have now a real version number. > > > > With 0.014-TRIAL I get this result using statistical analysis:
> > <snip> > > It still lists the following: > > Mojo::DOM 0 0 > Mojo::UserAgent 0 0 > Mojolicious 8.01 0 > > I'm going to exclude Mojo::DOM and Mojo::UserAgent in another trial release.
There's no need to --- Mojo::DOM and Mojo::UserAgent have no version, and CPAN::Reporter reports this as version "0". Including these two modules in the prereq list does not hurt and does not help. It's quite clear that the tests fail only with newer Mojolicious versions, as I already wrote.
On 2018-09-27 16:58:21, SREZIC wrote: Show quoted text
> On 2018-09-27 13:35:36, WATERKIP wrote:
> > On Thu Sep 27 00:47:22 2018, SREZIC wrote: > >
> > > > Could you maybe report which version of Mojolicious you have > > > > installed > > > > (if any).
> > > > > > Thanks for putting Mojolicious as a prereq --- this makes analysing > > > things easier, as we have now a real version number. > > > > > > With 0.014-TRIAL I get this result using statistical analysis:
> > > > <snip> > > > > It still lists the following: > > > > Mojo::DOM 0 0 > > Mojo::UserAgent 0 0 > > Mojolicious 8.01 0 > > > > I'm going to exclude Mojo::DOM and Mojo::UserAgent in another trial > > release.
> > There's no need to --- Mojo::DOM and Mojo::UserAgent have no version, > and CPAN::Reporter reports this as version "0". Including these two > modules in the prereq list does not hurt and does not help. > > It's quite clear that the tests fail only with newer Mojolicious > versions, as I already wrote.
And we have now the result of statistical analysis on cpantesters.org: http://analysis.cpantesters.org/solved?distv=Dist-Zilla-Plugin-UploadToStratopan-0.014-TRIAL
I found it. The certificate of Stratopan expired and we didn't look at the response object if it had an error. Fixed this in 0.15. Thank you for your help!