This queue is for tickets about the Expect CPAN distribution.

Report information
The Basics
Id:
98495
Status:
open
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
(no value)
Broken in:
  • 1.29
  • 1.30
  • 1.31
Fixed in:
(no value)



Subject: Failed test 'the number' -- random test results
As per subject. Sample reports ranging from 5.8.1 to 5.21.3: http://www.cpantesters.org/cpan/report/45318699 linux 5.8.1 NHORNE http://www.cpantesters.org/cpan/report/45335065 linux 5.8.5 ANDK http://www.cpantesters.org/cpan/report/45251138 linux 5.8.9 BINGOS http://www.cpantesters.org/cpan/report/45215891 linux 5.10.1 NHORNE http://www.cpantesters.org/cpan/report/45217045 linux 5.12.5 NHORNE http://www.cpantesters.org/cpan/report/45183245 linux 5.12.5 ANDK http://www.cpantesters.org/cpan/report/45319659 linux 5.14.1 NHORNE http://www.cpantesters.org/cpan/report/45219798 linux 5.14.2 NHORNE http://www.cpantesters.org/cpan/report/45204575 linux 5.14.2 NHORNE http://www.cpantesters.org/cpan/report/45221554 linux 5.14.3 NHORNE http://www.cpantesters.org/cpan/report/45205497 linux 5.14.3 NHORNE http://www.cpantesters.org/cpan/report/45218722 linux 5.14.4 NHORNE http://www.cpantesters.org/cpan/report/45183248 linux 5.14.4 ANDK http://www.cpantesters.org/cpan/report/45183172 linux 5.14.4 ANDK http://www.cpantesters.org/cpan/report/45222674 linux 5.16.2 NHORNE http://www.cpantesters.org/cpan/report/45206557 linux 5.16.2 NHORNE http://www.cpantesters.org/cpan/report/45223648 linux 5.16.3 NHORNE http://www.cpantesters.org/cpan/report/45207965 linux 5.16.3 NHORNE http://www.cpantesters.org/cpan/report/45183239 linux 5.16.3 ANDK http://www.cpantesters.org/cpan/report/45275669 linux 5.18.2 BINGOS http://www.cpantesters.org/cpan/report/45212064 linux 5.18.2 NHORNE http://www.cpantesters.org/cpan/report/45183190 linux 5.18.2 ANDK http://www.cpantesters.org/cpan/report/45225432 linux 5.20.0 NHORNE http://www.cpantesters.org/cpan/report/45209371 linux 5.20.0 NHORNE http://www.cpantesters.org/cpan/report/45183158 linux 5.21.1 ANDK http://www.cpantesters.org/cpan/report/45221862 linux 5.21.3 ANDK HTH&&Thanks,
The failing tests are also in 1.31. One Sample report: http://www.cpantesters.org/cpan/report/45504987
On 2014-09-04 21:26:51, ANDK wrote:
Show quoted text
> The failing tests are also in 1.31. One Sample report: > > http://www.cpantesters.org/cpan/report/45504987
It looks it depends whether "bc" is installed. With the linux bc it fails, without the failing tests are skipped. BTW, FreeBSD's bc does not seem to be problematic.
Subject: Re: [rt.cpan.org #98495] Failed test 'the number' -- random test results
Date: Sun, 14 Sep 2014 20:48:39 +0300
To: bug-Expect@rt.cpan.org
From: Gabor Szabo <SZABGAB@cpan.org>
As I understand the test is skipped if bc is not installed, but on systems there it is installed there are differences.
In some systems the expect catches the echo in other system it catches the result. I'll further refine the test.

CC: ANDK@cpan.org
Subject: Re: [rt.cpan.org #98495] Failed test 'the number' -- random test results
Date: Mon, 15 Sep 2014 05:50:55 +0200
To: bug-Expect@rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
Show quoted text
>>>>> On Sun, 14 Sep 2014 13:39:01 -0400, "Slaven_Rezic via RT" <bug-Expect@rt.cpan.org> said:
Show quoted text
> It looks it depends whether "bc" is installed. With the linux bc it > fails, without the failing tests are skipped.
No, there are fails and passes with same perl, same smoker, same bc. http://www.cpantesters.org/cpan/report/45519498 http://www.cpantesters.org/cpan/report/45500963 -- andreas
Subject: Re: [rt.cpan.org #98495] Failed test 'the number' -- random test results
Date: Mon, 15 Sep 2014 07:26:15 +0300
To: bug-Expect@rt.cpan.org
From: Gabor Szabo <SZABGAB@cpan.org>


On Mon, Sep 15, 2014 at 6:51 AM, (Andreas J. Koenig) via RT <bug-Expect@rt.cpan.org> wrote:
Show quoted text
       Queue: Expect
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98495
>

>>>>> On Sun, 14 Sep 2014 13:39:01 -0400, "Slaven_Rezic via RT" <bug-Expect@rt.cpan.org> said:

  > It looks it depends whether "bc" is installed. With the linux bc it
  > fails, without the failing tests are skipped.

No, there are fails and passes with same perl, same smoker, same bc.

http://www.cpantesters.org/cpan/report/45519498
http://www.cpantesters.org/cpan/report/45500963


Now that's a good catch. So what is the difference between those two?

Gabor

 
Subject: Re: [rt.cpan.org #98495] Failed test 'the number' -- random test results
Date: Mon, 15 Sep 2014 07:33:41 +0300
To: bug-Expect@rt.cpan.org
From: Gabor Szabo <SZABGAB@cpan.org>
On Mon, Sep 15, 2014 at 7:26 AM, Gabor Szabo <SZABGAB@cpan.org> wrote:
>
>
>
> On Mon, Sep 15, 2014 at 6:51 AM, (Andreas J. Koenig) via RT <bug-Expect@rt.cpan.org> wrote:
>>
>>        Queue: Expect
>>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98495 >
>>
>> >>>>> On Sun, 14 Sep 2014 13:39:01 -0400, "Slaven_Rezic via RT" <bug-Expect@rt.cpan.org> said:
>>
>>   > It looks it depends whether "bc" is installed. With the linux bc it
>>   > fails, without the failing tests are skipped.
>>
>> No, there are fails and passes with same perl, same smoker, same bc.
>>
>> http://www.cpantesters.org/cpan/report/45519498
>> http://www.cpantesters.org/cpan/report/45500963
>>
>
> Now that's a good catch. So what is the difference between those two?
>
> Gabor
>
>  


So far I noticed that the failing had ExtUtils::MakeMaker 6.99_09   while the passing had  ExtUtils::MakeMaker 6.98   but I doubt that will have an impact on the tests.


PERL5_CPANPLUS_IS_RUNNING and PERL5_CPAN_IS_RUNNING had different numbers, but if I am not mistaken these are process IDs.


Andreas, have these ran on the same machine?

As I can understand it is either ExtUtils::MakeMaker or more likely some timing issue.

Gabor


It would be very helpful if this test would be disabled. It may have to do with Expect but as long as the test is giving random results it is counterproductive to have it. Please make a stable release without it. Next development steps should be done in dev releases. Thanks,
Subject: Re: [rt.cpan.org #98495] Failed test 'the number' -- random test results
Date: Sun, 26 Oct 2014 08:05:25 +0200
To: bug-Expect@rt.cpan.org
From: Gabor Szabo <SZABGAB@cpan.org>
1.32 was uploaded to CPAN which is skipping the whole t/02-bc.t 
On 20141026T060533Z, SZABGAB wrote:
Show quoted text
> 1.32 was uploaded to CPAN which is skipping the whole t/02-bc.t
Wow, that was fast, THANKS!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.