Skip Menu |

This queue is for tickets about the File-Remove CPAN distribution.

Report information
The Basics
Id: 66574
Status: resolved
Priority: 0/
Queue: File-Remove

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

Bug Information
Severity: Important
Broken in: 1.48
Fixed in: (no value)



Subject: Tests not planned under Mac OS X
Hello Under Mac OS X there are two main issues that are causing problems: 1. t/02_directories.t is passing more tests than the planned: t/02_directories.t (Wstat: 65280 Tests: 336 Failed: 184) Failed tests: 153-336 Non-zero exit status: 255 Parse errors: Bad plan. You planned 152 tests but ran 336. (prove -v log in attach) 2. When running the 178th test of t/02_directories.t, Finder asks for a Password. This is bad because: 2.1. It doesn't say for what application (therefore, I did not know whether to trust and enter my administrator password) 2.2. It makes the module fail to install with App::cpanminus. Cheers ambs
Subject: prove.log
Download prove.log
application/octet-stream 13.2k

Message body not shown because it is not plain text.

Fixed in 1.49... I think. Please reopen if the problem still occurs.
Hello Although the number of tests is fixed and now I can install the module as it passes all the tests, it still asks for a password using Finder, without stating what the password is for. As I said earlier, this would be bad for: - cpanm - users would be surprised about the password request. If you think this is not relevant, please close the ticket again. :) Cheers ambs
Can you please confirm which test precisely is throwing a popup and under what circumstances? I've asked a few other Mac people to try it out and I can't replicate it
On Sun Jul 10 22:39:55 2011, ADAMK wrote: Show quoted text
> Can you please confirm which test precisely is throwing a popup and > under what circumstances? > > I've asked a few other Mac people to try it out and I can't replicate it
That's bad (not being able to replicate it). This is the complete output. Somewhere in test 02 the popup appeared. I didn't put the password (canceled), and the test failed. If I run the test suite locally, everything goes well. It seems that just only cpan (and under sudo) it failed. I tried to run 'sudo make test' but it still passes. So, I have no clue about what is going on. If you don't too, just close the ticket :-/ thanks. cpan[4]> install File::Remove Running install for module 'File::Remove' Running make for A/AD/ADAMK/File-Remove-1.50.tar.gz Checksum for /Users/ambs/CPAN/authors/id/A/AD/ADAMK/File-Remove-1.50.tar.gz ok File-Remove-1.50/ File-Remove-1.50/README File-Remove-1.50/Makefile.PL File-Remove-1.50/LICENSE File-Remove-1.50/xt/ File-Remove-1.50/xt/meta.t File-Remove-1.50/xt/pmv.t File-Remove-1.50/xt/pod.t File-Remove-1.50/lib/ File-Remove-1.50/lib/File/ File-Remove-1.50/lib/File/Remove.pm File-Remove-1.50/META.yml File-Remove-1.50/MANIFEST File-Remove-1.50/Changes File-Remove-1.50/t/ File-Remove-1.50/t/02_directories.t File-Remove-1.50/t/04_can_delete.t File-Remove-1.50/t/05_links.t File-Remove-1.50/t/07_cwd.t File-Remove-1.50/t/08_spaces.t File-Remove-1.50/t/01_compile.t File-Remove-1.50/t/03_deep_readonly.t File-Remove-1.50/t/06_curly.t File-Remove-1.50/inc/ File-Remove-1.50/inc/Module/ File-Remove-1.50/inc/Module/Install/ File-Remove-1.50/inc/Module/Install/DSL.pm File-Remove-1.50/inc/Module/Install/Win32.pm File-Remove-1.50/inc/Module/Install/WriteAll.pm File-Remove-1.50/inc/Module/Install/Can.pm File-Remove-1.50/inc/Module/Install/Metadata.pm File-Remove-1.50/inc/Module/Install/Base.pm File-Remove-1.50/inc/Module/Install/Makefile.pm File-Remove-1.50/inc/Module/Install/Fetch.pm File-Remove-1.50/inc/Module/Install.pm CPAN.pm: Going to build A/AD/ADAMK/File-Remove-1.50.tar.gz Checking if your kit is complete... Looks good Writing Makefile for File::Remove Writing MYMETA.yml and MYMETA.json cp lib/File/Remove.pm blib/lib/File/Remove.pm Manifying blib/man3/File::Remove.3 ADAMK/File-Remove-1.50.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01_compile.t ........ ok t/02_directories.t .... 206/? # Failed test 'trash: t/02_directories.t.tmp' # at t/02_directories.t line 95. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 97. # Failed test '-e: t/02_directories.t.tmp' # at t/02_directories.t line 101. # Failed test 'rmdir: t/02_directories.t.tmp' # at t/02_directories.t line 103. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 104. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 109. # Failed test 'mkdir: t/02_directories.t.tmp' # at t/02_directories.t line 110. # Failed test 'remove: t/02_directories.t.tmp' # at t/02_directories.t line 117. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 118. # Failed test '-e: t/02_directories.t.tmp' # at t/02_directories.t line 122. # Failed test 'rmdir: t/02_directories.t.tmp' # at t/02_directories.t line 124. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 125. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 130. # Failed test 'mkdir: t/02_directories.t.tmp' # at t/02_directories.t line 131. # Failed test 'rmdir: t/02_directories.t.tmp' # at t/02_directories.t line 144. # Failed test '!-e: t/02_directories.t.tmp' # at t/02_directories.t line 145. # Looks like you failed 16 tests of 340. t/02_directories.t .... Dubious, test returned 16 (wstat 4096, 0x1000) Failed 16/340 subtests t/03_deep_readonly.t .. ok t/04_can_delete.t ..... ok t/05_links.t .......... ok t/06_curly.t .......... ok t/07_cwd.t ............ ok t/08_spaces.t ......... ok Test Summary Report ------------------- t/02_directories.t (Wstat: 4096 Tests: 340 Failed: 16) Failed tests: 206, 208, 216-220, 265-266, 274-278, 339-340 Non-zero exit status: 16 Files=8, Tests=398, 7 wallclock secs ( 0.11 usr 0.03 sys + 0.70 cusr 0.36 csys = 1.20 CPU) Result: FAIL Failed 1/8 test programs. 16/398 subtests failed. make: *** [test_dynamic] Error 255 ADAMK/File-Remove-1.50.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports ADAMK/File-Remove-1.50.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: ADAMK/File-Remove-1.50.tar.gz : make_test NO
On Mon Jul 11 08:43:59 2011, AMBS wrote: Show quoted text
> On Sun Jul 10 22:39:55 2011, ADAMK wrote:
> > Can you please confirm which test precisely is throwing a popup and > > under what circumstances? > > > > I've asked a few other Mac people to try it out and I can't replicate it
> > That's bad (not being able to replicate it). This is the complete > output. Somewhere in test 02 the popup appeared. I didn't put the > password (canceled), and the test failed. >
Is this still happening to you? I don't have a Mac OS X system ready (and cannot). Regards, -- Shlomi Fish
Subject: Re: [rt.cpan.org #66574] Tests not planned under Mac OS X
Date: Sun, 10 Jan 2016 18:26:56 +0000
To: bug-File-Remove [...] rt.cpan.org, ambs [...] cpan.org
From: Alberto Simoes <ambs [...] perl-hackers.net>
On 10/01/16 18:23, Shlomi Fish via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=66574 > > > On Mon Jul 11 08:43:59 2011, AMBS wrote:
>> On Sun Jul 10 22:39:55 2011, ADAMK wrote:
>>> Can you please confirm which test precisely is throwing a popup and >>> under what circumstances? >>> >>> I've asked a few other Mac people to try it out and I can't replicate it
>> >> That's bad (not being able to replicate it). This is the complete >> output. Somewhere in test 02 the popup appeared. I didn't put the >> password (canceled), and the test failed. >>
> > Is this still happening to you? I don't have a Mac OS X system ready (and cannot).
Can't replicate the bug now, so, should be fixed :)
On Sun Jan 10 13:27:14 2016, ambs@perl-hackers.net wrote: Show quoted text
> On 10/01/16 18:23, Shlomi Fish via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=66574 > > > > > On Mon Jul 11 08:43:59 2011, AMBS wrote:
> >> On Sun Jul 10 22:39:55 2011, ADAMK wrote:
> >>> Can you please confirm which test precisely is throwing a popup and > >>> under what circumstances? > >>> > >>> I've asked a few other Mac people to try it out and I can't > >>> replicate it
> >> > >> That's bad (not being able to replicate it). This is the complete > >> output. Somewhere in test 02 the popup appeared. I didn't put the > >> password (canceled), and the test failed. > >>
> > > > Is this still happening to you? I don't have a Mac OS X system ready > > (and cannot).
> > Can't replicate the bug now, so, should be fixed :)
Marking as RESOLVED then. Thanks!