Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 101734
Status: rejected
Priority: 0/
Queue: DBIx-Class

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

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



Subject: t/54taint.t fails on Windows "Unable to open \tmp\_dbictest_global.lock"
Hi,

I have experienced the following test failure with DBIx-Class-0.082810:
t/52leaks.t ......................................... ok
t/53lean_startup.t .................................. ok
Unable to open \tmp\_dbictest_global.lock: Permission denied at t/lib/DBICTest.pm line 86.
BEGIN failed--compilation aborted at t/54taint.t line 63.
t/54taint.t .........................................
No subtests run

The path ' \tmp\_dbictest_global.lock' is definitely not a valid tempfile on my Windows box. I have not investigated how it happened to be this particular value.

Basically I am running latest 5.20-maint (nowadays nearly 5.20.2) at MS Windows 32bit + all other modules in the latest versions available at CPAN.

--
kmx
On Sun Jan 25 19:49:49 2015, KMX wrote: Show quoted text
> Hi, > > I have experienced the following test failure with DBIx-Class- > 0.082810: > > t/52leaks.t ......................................... ok > t/53lean_startup.t .................................. ok > Unable to open \tmp\_dbictest_global.lock: Permission denied at > t/lib/DBICTest.pm line 86. > BEGIN failed--compilation aborted at t/54taint.t line 63. > t/54taint.t ......................................... > No subtests run > > > The path ' \tmp\_dbictest_global.lock' is definitely not a valid > tempfile on my > Windows box. I have not investigated how it happened to be this > particular > value. > > Basically I am running latest 5.20-maint (nowadays nearly 5.20.2) at > MS Windows > 32bit + all other modules in the latest versions available at CPAN. >
Sorry for the delayed reply Wow... I wonder how is this even possible... File::Spec has a lot of warts wrt tempdir determination on windows, so I overly-instrumented the entire process here [1]. Yet somehow the entire thing got short circuited, as there is no extra output on your console. I do not have access to any windows currently, so can't do much digging myself. Can you please look further into it, and give me pointers to what I missed? (it ought to be something fairly obvious, should be easy to find with "print debugging") Thank you! [1] https://github.com/dbsrgits/dbix-class/blob/v0.082810/t/lib/DBICTest/RunMode.pm#L26-L90
Hoping you still can repro this. Can you please zip up your perl dir, and upload it somewhere so i can try and repro locally?
It seems that this hasn't been reproduced since. I am closing the issue for the time being. Please by all means reopen it if the problem reappears.