Open stepht opened 2 years ago
I forgot to add and similar for crud.t.... somehow the fs does not let the test remove the .db presumably because the code still has the db loaded ....
On windows this is usually due to antivirus. Does it happen consistently?
I am using windows 10. 21H2. The only antivirus is bit defender which can be stopped for a short while. doing so I get the same messages...
#
# t/00-report-prereqs.t .. ok t/connection.t ......... ok t/crud.t ............... 1/? cannot unlink file for /tmp/66R6Y8nDUT/sqlite.db: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/66R6Y8nDUT/sqlite.db: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot unlink file for /tmp/66R6Y8nDUT/sqlite.db-shm: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/66R6Y8nDUT/sqlite.db-shm: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot unlink file for /tmp/66R6Y8nDUT/sqlite.db-wal: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/66R6Y8nDUT/sqlite.db-wal: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot remove directory for /tmp/66R6Y8nDUT: Directory not empty at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. t/crud.t ............... ok t/database.t ........... ok t/migrations.t ......... ok t/results.t ............ 1/? cannot unlink file for /tmp/BoL11oJK5X/sqlite.db: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/BoL11oJK5X/sqlite.db: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot unlink file for /tmp/BoL11oJK5X/sqlite.db-shm: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/BoL11oJK5X/sqlite.db-shm: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot unlink file for /tmp/BoL11oJK5X/sqlite.db-wal: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/BoL11oJK5X/sqlite.db-wal: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot remove directory for /tmp/BoL11oJK5X: Directory not empty at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. t/results.t ............ ok t/sqlite_lite_app.t .... ok All tests successful. Files=7, Tests=55, 10 wallclock secs ( 0.22 usr 0.06 sys + 4.78 cusr 4.18 csys = 9.24 CPU) Result: PASS OK Successfully tested Mojo-SQLite-3.008
Hi Grinnz, On cygwin for the latest Mojo::Sqlite I get:
t/results.t ............ 1/? cannot unlink file for /tmp/uShTlS3sau/sqlite.db: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/uShTlS3sau/sqlite.db: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot unlink file for /tmp/uShTlS3sau/sqlite.db-shm: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/uShTlS3sau/sqlite.db-shm: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot unlink file for /tmp/uShTlS3sau/sqlite.db-wal: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot restore permissions to 0100755 for /tmp/uShTlS3sau/sqlite.db-wal: Device or resource busy at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. cannot remove directory for /tmp/uShTlS3sau: Directory not empty at /tmp/cpanm_t.d/p5lib/lib/perl5/File/Temp.pm line 2643. t/results.t ............ ok t/sqlite_lite_app.t .... ok All tests successful. Files=7, Tests=55, 7 wallclock secs ( 0.11 usr 0.08 sys + 3.46 cusr 2.60 csys = 6.25 CPU)
installs fine though. I've got similar messages in past versions, and if I recall correctly needed to force-install.
hth p.s cyg version is recent
% steph@kerangi (/xddxc) % % cygcheck -dc | grep ^cygwin' ' cygwin 3.2.0-1