Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on cygwin see filesystem (harmless) error messages about the *.db #23

Open
stepht opened this issue Nov 30, 2021 · 3 comments
Open

on cygwin see filesystem (harmless) error messages about the *.db #23

stepht opened this issue Nov 30, 2021 · 3 comments

Comments

@stepht
Copy link

stepht commented Nov 30, 2021

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

@stepht
Copy link
Author

stepht commented Nov 30, 2021

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 ....

@Grinnz
Copy link
Owner

Grinnz commented Nov 30, 2021

On windows this is usually due to antivirus. Does it happen consistently?

@stepht
Copy link
Author

stepht commented Dec 1, 2021

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...

image

=== Runtime Requires ===

Module Want Have

--------------------- ----- ------

Carp any 1.50

DBD::SQLite 1.68 1.70

DBI 1.627 1.643

File::Spec::Functions any 3.78

File::Temp any 0.2311

Mojolicious 8.03 9.22

SQL::Abstract::Pg 1.0 1.0

Scalar::Util any 1.60

URI 1.69 5.10

URI::db 0.15 0.19

URI::file 4.21 5.10

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants