0s autopkgtest [15:18:31]: starting date and time: 2026-01-24 15:18:31+0000 0s autopkgtest [15:18:31]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [15:18:31]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.o7jno62p/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-pylibacl --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-11.secgroup --name adt-resolute-amd64-python-pylibacl-20260124-151830-juju-7f2275-prod-proposed-migration-environment-2-0a63bb24-bdac-41dd-a475-8c5325eaade5 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-amd64-python-pylibacl-20260124-151830-juju-7f2275-prod-proposed-migration-environment-2-0a63bb24-bdac-41dd-a475-8c5325eaade5 from image adt/ubuntu-resolute-amd64-server-20260124.img (UUID 46811f22-3700-43f4-953b-ee3c613d71bb)... 80s autopkgtest [15:19:51]: testbed dpkg architecture: amd64 80s autopkgtest [15:19:51]: testbed apt version: 3.1.13 80s autopkgtest [15:19:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup 80s autopkgtest [15:19:51]: testbed release detected to be: None 81s autopkgtest [15:19:52]: updating testbed package index (apt update) 81s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 81s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 81s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 81s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 81s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 81s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [24.3 kB] 81s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [91.5 kB] 81s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [994 kB] 82s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [96.0 kB] 82s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [113 kB] 82s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3712 B] 82s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 82s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 82s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 82s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [876 kB] 82s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [373 kB] 82s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [24.9 kB] 82s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4704 B] 82s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [12.4 kB] 82s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [824 B] 83s Fetched 2758 kB in 1s (2116 kB/s) 83s Reading package lists... 84s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 84s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 84s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 84s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 85s Reading package lists... 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 85s Calculating upgrade... 85s The following packages were automatically installed and are no longer required: 85s python3.13 python3.13-minimal 85s Use 'sudo apt autoremove' to remove them. 85s The following NEW packages will be installed: 85s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 85s The following packages will be upgraded: 85s libpython3-stdlib python3 python3-gdbm python3-minimal rust-coreutils 85s 5 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 85s Need to get 10.4 MB of archives. 85s After this operation, 25.2 MB of additional disk space will be used. 85s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 86s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.2-1 [2563 kB] 86s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.14.2-1 [28.2 kB] 86s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.14.2-1 [22.9 kB] 86s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 86s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.2-1 [816 kB] 86s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.14.2-1 [10.9 kB] 86s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 rust-coreutils amd64 0.5.0-0ubuntu1 [3628 kB] 86s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-gdbm amd64 3.14.2-1 [11.1 kB] 86s dpkg-preconfigure: unable to re-open stdin: No such file or directory 86s Fetched 10.4 MB in 1s (17.0 MB/s) 86s Selecting previously unselected package libpython3.14-minimal:amd64. 86s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124177 files and directories currently installed.) 86s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_amd64.deb ... 86s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 86s Selecting previously unselected package python3.14-minimal. 86s Preparing to unpack .../python3.14-minimal_3.14.2-1_amd64.deb ... 86s Unpacking python3.14-minimal (3.14.2-1) ... 87s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 87s Setting up python3.14-minimal (3.14.2-1) ... 87s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124519 files and directories currently installed.) 87s Preparing to unpack .../python3-minimal_3.14.2-1_amd64.deb ... 87s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 87s Setting up python3-minimal (3.14.2-1) ... 87s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124519 files and directories currently installed.) 87s Preparing to unpack .../python3_3.14.2-1_amd64.deb ... 87s running python pre-rtupdate hooks for python3.14... 87s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 87s Selecting previously unselected package libpython3.14-stdlib:amd64. 87s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_amd64.deb ... 87s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 88s Selecting previously unselected package python3.14. 88s Preparing to unpack .../python3.14_3.14.2-1_amd64.deb ... 88s Unpacking python3.14 (3.14.2-1) ... 88s Preparing to unpack .../libpython3-stdlib_3.14.2-1_amd64.deb ... 88s Unpacking libpython3-stdlib:amd64 (3.14.2-1) over (3.13.9-3) ... 88s Preparing to unpack .../rust-coreutils_0.5.0-0ubuntu1_amd64.deb ... 88s Unpacking rust-coreutils (0.5.0-0ubuntu1) over (0.2.2-0ubuntu2) ... 88s Setting up rust-coreutils (0.5.0-0ubuntu1) ... 88s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124980 files and directories currently installed.) 88s Preparing to unpack .../python3-gdbm_3.14.2-1_amd64.deb ... 88s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 88s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 88s Setting up python3.14 (3.14.2-1) ... 89s Setting up libpython3-stdlib:amd64 (3.14.2-1) ... 89s Setting up python3-gdbm (3.14.2-1) ... 89s Setting up python3 (3.14.2-1) ... 89s running python rtupdate hooks for python3.14... 89s running python post-rtupdate hooks for python3.14... 89s Processing triggers for man-db (2.13.1-1) ... 89s Processing triggers for systemd (259-1ubuntu2) ... 89s autopkgtest [15:20:00]: upgrading testbed (apt dist-upgrade and autopurge) 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s Calculating upgrade... 90s The following packages were automatically installed and are no longer required: 90s python3.13 python3.13-minimal 90s Use 'sudo apt autoremove' to remove them. 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Solving dependencies... 90s The following packages will be REMOVED: 90s python3.13* python3.13-minimal* 90s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 90s After this operation, 7860 kB disk space will be freed. 90s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124978 files and directories currently installed.) 90s Removing python3.13 (3.13.11-1) ... 90s Removing python3.13-minimal (3.13.11-1) ... 91s Processing triggers for man-db (2.13.1-1) ... 91s Processing triggers for systemd (259-1ubuntu2) ... 91s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124951 files and directories currently installed.) 91s Purging configuration files for python3.13-minimal (3.13.11-1) ... 93s autopkgtest [15:20:04]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:49:02 UTC 2026 93s autopkgtest [15:20:04]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pylibacl 95s Get:1 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (dsc) [2430 B] 95s Get:2 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (tar) [49.3 kB] 95s Get:3 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (asc) [833 B] 95s Get:4 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (diff) [10.3 kB] 95s gpgv: Signature made Sat Oct 18 14:09:05 2025 UTC 95s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 95s gpgv: Can't check signature: No public key 95s dpkg-source: warning: cannot verify inline signature for ./python-pylibacl_0.7.2-1build1.dsc: no acceptable signature found 95s autopkgtest [15:20:06]: testing package python-pylibacl version 0.7.2-1build1 95s autopkgtest [15:20:06]: build not needed 96s autopkgtest [15:20:07]: test simple: preparing testbed 96s Reading package lists... 96s Building dependency tree... 96s Reading state information... 96s Solving dependencies... 96s The following NEW packages will be installed: 96s acl python-pylibacl-doc python3-iniconfig python3-pluggy python3-pylibacl 96s python3-pytest 96s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 96s Need to get 397 kB of archives. 96s After this operation, 2089 kB of additional disk space will be used. 96s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 acl amd64 2.3.2-2 [39.4 kB] 96s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python-pylibacl-doc all 0.7.2-1build1 [30.3 kB] 96s Get:3 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-2 [6962 B] 96s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-2 [21.1 kB] 96s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-pylibacl amd64 0.7.2-1build1 [22.1 kB] 96s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 9.0.2-2 [277 kB] 96s Fetched 397 kB in 0s (2218 kB/s) 96s Selecting previously unselected package acl. 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124953 files and directories currently installed.) 96s Preparing to unpack .../0-acl_2.3.2-2_amd64.deb ... 96s Unpacking acl (2.3.2-2) ... 96s Selecting previously unselected package python-pylibacl-doc. 96s Preparing to unpack .../1-python-pylibacl-doc_0.7.2-1build1_all.deb ... 96s Unpacking python-pylibacl-doc (0.7.2-1build1) ... 96s Selecting previously unselected package python3-iniconfig. 96s Preparing to unpack .../2-python3-iniconfig_2.1.0-2_all.deb ... 96s Unpacking python3-iniconfig (2.1.0-2) ... 96s Selecting previously unselected package python3-pluggy. 96s Preparing to unpack .../3-python3-pluggy_1.6.0-2_all.deb ... 96s Unpacking python3-pluggy (1.6.0-2) ... 96s Selecting previously unselected package python3-pylibacl:amd64. 96s Preparing to unpack .../4-python3-pylibacl_0.7.2-1build1_amd64.deb ... 96s Unpacking python3-pylibacl:amd64 (0.7.2-1build1) ... 96s Selecting previously unselected package python3-pytest. 96s Preparing to unpack .../5-python3-pytest_9.0.2-2_all.deb ... 96s Unpacking python3-pytest (9.0.2-2) ... 96s Setting up python3-iniconfig (2.1.0-2) ... 97s Setting up python3-pylibacl:amd64 (0.7.2-1build1) ... 97s Setting up acl (2.3.2-2) ... 97s Setting up python3-pluggy (1.6.0-2) ... 97s Setting up python-pylibacl-doc (0.7.2-1build1) ... 97s Setting up python3-pytest (9.0.2-2) ... 97s Processing triggers for man-db (2.13.1-1) ... 98s autopkgtest [15:20:09]: test simple: [----------------------- 98s 99s autopkgtest [15:20:10]: test simple: -----------------------] 99s autopkgtest [15:20:10]: test simple: - - - - - - - - - - results - - - - - - - - - - 99s simple PASS 99s autopkgtest [15:20:10]: test run-testsuite-if-acls-enabled: preparing testbed 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 100s Solving dependencies... 100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s autopkgtest [15:20:12]: test run-testsuite-if-acls-enabled: [----------------------- 101s Temporary directory '/tmp/autopkgtest.DEXsPg/autopkgtest_tmp' has ACLs enabled, running tests 101s * testing Python 3 101s 101s ============================= test session starts ============================== 101s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 101s rootdir: /tmp/autopkgtest.DEXsPg/autopkgtest_tmp 101s plugins: typeguard-4.4.4 101s collected 156 items 101s 101s test_acls.py ..........................X................................ [ 37%] 101s .x..............FF.xF......x............FFFFFF.......................... [ 83%] 101s ......................... [100%] 101s 101s =================================== FAILURES =================================== 101s __________________________ TestModification.test_str ___________________________ 101s 101s self = 101s 101s def test_str(self): 101s """Test str() of an ACL.""" 101s acl = posix1e.ACL(text=BASIC_ACL_TEXT) 101s str_acl = str(acl) 101s > self.checkRef(str_acl) 101s 101s test_acls.py:642: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = 101s obj = 'user::rw-\ngroup::r--\nother::---\n' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s _________________________ TestModification.test_append _________________________ 101s 101s self = 101s 101s def test_append(self): 101s """Test append a new Entry to the ACL""" 101s acl = posix1e.ACL() 101s e = acl.append() 101s e.tag_type = posix1e.ACL_OTHER 101s ignore_ioerror(errno.EINVAL, acl.calc_mask) 101s str_format = str(e) 101s > self.checkRef(str_format) 101s 101s test_acls.py:651: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = 101s obj = 'ACL entry for the others' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s _____________________ TestModification.test_entry_creation _____________________ 101s 101s self = 101s 101s def test_entry_creation(self): 101s acl = posix1e.ACL() 101s e = posix1e.Entry(acl) 101s ignore_ioerror(errno.EINVAL, acl.calc_mask) 101s str_format = str(e) 101s > self.checkRef(str_format) 101s 101s test_acls.py:678: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = 101s obj = 'ACL entry for undefined type' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s _____________________ TestModification.test_permset[read] ______________________ 101s 101s self = , perm = 4 101s txt = 'read' 101s 101s @pytest.mark.parametrize("perm, txt, accessor", 101s PERMSETS, ids=PERMSETS_IDS) 101s def test_permset(self, perm, txt, accessor): 101s """Test permissions""" 101s del accessor 101s acl = posix1e.ACL() 101s e = acl.append() 101s ps = e.permset 101s ps.clear() 101s str_ps = str(ps) 101s > self.checkRef(str_ps) 101s 101s test_acls.py:893: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = , obj = '---' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s _____________________ TestModification.test_permset[write] _____________________ 101s 101s self = , perm = 2 101s txt = 'write' 101s 101s @pytest.mark.parametrize("perm, txt, accessor", 101s PERMSETS, ids=PERMSETS_IDS) 101s def test_permset(self, perm, txt, accessor): 101s """Test permissions""" 101s del accessor 101s acl = posix1e.ACL() 101s e = acl.append() 101s ps = e.permset 101s ps.clear() 101s str_ps = str(ps) 101s > self.checkRef(str_ps) 101s 101s test_acls.py:893: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = , obj = '---' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s ____________________ TestModification.test_permset[execute] ____________________ 101s 101s self = , perm = 1 101s txt = 'execute' 101s 101s @pytest.mark.parametrize("perm, txt, accessor", 101s PERMSETS, ids=PERMSETS_IDS) 101s def test_permset(self, perm, txt, accessor): 101s """Test permissions""" 101s del accessor 101s acl = posix1e.ACL() 101s e = acl.append() 101s ps = e.permset 101s ps.clear() 101s str_ps = str(ps) 101s > self.checkRef(str_ps) 101s 101s test_acls.py:893: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = , obj = '---' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s ______________ TestModification.test_permset_via_accessors[read] _______________ 101s 101s self = , perm = 4 101s txt = 'read', accessor = 101s 101s @pytest.mark.parametrize("perm, txt, accessor", 101s PERMSETS, ids=PERMSETS_IDS) 101s def test_permset_via_accessors(self, perm, txt, accessor): 101s """Test permissions""" 101s acl = posix1e.ACL() 101s e = acl.append() 101s ps = e.permset 101s ps.clear() 101s def getter(): 101s return accessor.__get__(ps) # type: ignore 101s def setter(value): 101s return accessor.__set__(ps, value) # type: ignore 101s str_ps = str(ps) 101s > self.checkRef(str_ps) 101s 101s test_acls.py:926: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = , obj = '---' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s ______________ TestModification.test_permset_via_accessors[write] ______________ 101s 101s self = , perm = 2 101s txt = 'write', accessor = 101s 101s @pytest.mark.parametrize("perm, txt, accessor", 101s PERMSETS, ids=PERMSETS_IDS) 101s def test_permset_via_accessors(self, perm, txt, accessor): 101s """Test permissions""" 101s acl = posix1e.ACL() 101s e = acl.append() 101s ps = e.permset 101s ps.clear() 101s def getter(): 101s return accessor.__get__(ps) # type: ignore 101s def setter(value): 101s return accessor.__set__(ps, value) # type: ignore 101s str_ps = str(ps) 101s > self.checkRef(str_ps) 101s 101s test_acls.py:926: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = , obj = '---' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s _____________ TestModification.test_permset_via_accessors[execute] _____________ 101s 101s self = , perm = 1 101s txt = 'execute', accessor = 101s 101s @pytest.mark.parametrize("perm, txt, accessor", 101s PERMSETS, ids=PERMSETS_IDS) 101s def test_permset_via_accessors(self, perm, txt, accessor): 101s """Test permissions""" 101s acl = posix1e.ACL() 101s e = acl.append() 101s ps = e.permset 101s ps.clear() 101s def getter(): 101s return accessor.__get__(ps) # type: ignore 101s def setter(value): 101s return accessor.__set__(ps, value) # type: ignore 101s str_ps = str(ps) 101s > self.checkRef(str_ps) 101s 101s test_acls.py:926: 101s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 101s 101s self = , obj = '---' 101s 101s def checkRef(self, obj): 101s """Checks if a given obj has a 'sane' refcount""" 101s if platform.python_implementation() == "PyPy": 101s return 101s ref_cnt = sys.getrefcount(obj) 101s # FIXME: hardcoded value for the max ref count... but I've 101s # seen it overflow on bad reference counting, so it's better 101s # to be safe 101s if ref_cnt < 2 or ref_cnt > 1024: 101s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 101s ref_cnt) 101s E Failed: Wrong reference count, expected 2-1024 and got 1 101s 101s test_acls.py:635: Failed 101s =========================== short test summary info ============================ 101s FAILED test_acls.py::TestModification::test_str - Failed: Wrong reference cou... 101s FAILED test_acls.py::TestModification::test_append - Failed: Wrong reference ... 101s FAILED test_acls.py::TestModification::test_entry_creation - Failed: Wrong re... 101s FAILED test_acls.py::TestModification::test_permset[read] - Failed: Wrong ref... 101s FAILED test_acls.py::TestModification::test_permset[write] - Failed: Wrong re... 101s FAILED test_acls.py::TestModification::test_permset[execute] - Failed: Wrong ... 101s FAILED test_acls.py::TestModification::test_permset_via_accessors[read] - Fai... 101s FAILED test_acls.py::TestModification::test_permset_via_accessors[write] - Fa... 101s FAILED test_acls.py::TestModification::test_permset_via_accessors[execute] - ... 101s ============= 9 failed, 143 passed, 3 xfailed, 1 xpassed in 0.27s ============== 102s autopkgtest [15:20:13]: test run-testsuite-if-acls-enabled: -----------------------] 102s autopkgtest [15:20:13]: test run-testsuite-if-acls-enabled: - - - - - - - - - - results - - - - - - - - - - 102s run-testsuite-if-acls-enabled FAIL non-zero exit status 1 102s autopkgtest [15:20:13]: @@@@@@@@@@@@@@@@@@@@ summary 102s simple PASS 102s run-testsuite-if-acls-enabled FAIL non-zero exit status 1