Source: python-xattr
Version: 0.9.7-1
Severity: important
Tags: patch

The python-xattr autopkgtest is breaking on CI workers that use tmpfs to
back $AUTOPKGTEST_TMP.

This is currently blocking python-cffi migration due to the spurious
failure.

From tmpfs(5):
> The tmpfs filesystem supports extended attributes (see xattr(7)), but
> user extended attributes are not permitted.
https://man7.org/linux/man-pages/man5/tmpfs.5.html

#debian-release suggests using /var/tmp instead of /tmp, which will be
backed by a real filesystem (of some sort) on ci.debian.net nodes. Patch
attached.

I also notice that upstream ships a full test suite in xattr/tests/ but
these aren't run at build time (as far as I can see) or in the
autopkgtest. They could be...

Thanks,

SR
diff --git a/debian/tests/cli b/debian/tests/cli
index 4249244..75e2043 100755
--- a/debian/tests/cli
+++ b/debian/tests/cli
@@ -2,7 +2,7 @@
 
 set -e
 
-cd "$AUTOPKGTEST_TMP"
+cd /var/tmp
 
 FILE="file"
 NAME="user.n"

Reply via email to