samuelcolvin / watchfiles

Simple, modern and fast file watching and code reload in Python.
https://watchfiles.helpmanual.io
MIT License
1.72k stars 108 forks source link

Testsuite hangs on test_ignore_permission_denied on Debian i386 #262

Open baldurmen opened 6 months ago

baldurmen commented 6 months ago

Description

When running the testsuite on a Debian unstable i386 machine, the testsuite hangs during the test_ignore_permission_denied test, in test_rust_notify.py.

You can see the testsuite log here, but I have replicated this 100% of the time in a VM. Disabling the test in question resolves the issue.

Example Code

No response

Watchfiles Output

No response

Operating System & Architecture

Debian i386.

This does not happen on any other architectures we test on (amd64, arm64, armel, armhf, ppc64el, s390x).

Environment

No response

Python & Watchfiles Version

python3.12 and python3.11, using watchfiles 0.21.0

Rust & Cargo Version

No response

baldurmen commented 6 months ago

It seems the issue also happens on amd64, but less frequently (flaky?). I can't reproduce it manually, but our automated tests crashed in the same fashion as i386 here: https://ci.debian.net/packages/p/python-watchfiles/unstable/amd64/43134307/