0s autopkgtest [23:11:24]: starting date and time: 2026-01-22 23:11:24+0000 0s autopkgtest [23:11:24]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [23:11:24]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.of7y3x2x/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.254 lxd-armhf-10.145.243.254:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [23:11:46]: testbed dpkg architecture: armhf 24s autopkgtest [23:11:48]: testbed apt version: 3.1.12 28s autopkgtest [23:11:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 31s autopkgtest [23:11:55]: testbed release detected to be: None 38s autopkgtest [23:12:02]: updating testbed package index (apt update) 40s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 41s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 41s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 41s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 41s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 41s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.6 kB] 41s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1011 kB] 41s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.2 kB] 41s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [95.3 kB] 41s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [658 kB] 41s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [4896 B] 41s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1398 kB] 42s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [310 kB] 42s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 43s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1371 kB] 43s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 44s Get:17 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 47s Fetched 42.2 MB in 7s (6030 kB/s) 49s Reading package lists... 55s autopkgtest [23:12:19]: upgrading testbed (apt dist-upgrade and autopurge) 56s Reading package lists... 57s Building dependency tree... 57s Reading state information... 58s Calculating upgrade... 59s The following packages were automatically installed and are no longer required: 59s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 59s Use 'apt autoremove' to remove them. 59s The following NEW packages will be installed: 59s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 59s The following packages will be upgraded: 59s libplymouth5 libpython3-stdlib plymouth plymouth-theme-ubuntu-text python3 59s python3-gdbm python3-minimal 59s 7 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 59s Need to get 6525 kB of archives. 59s After this operation, 22.5 MB of additional disk space will be used. 59s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.2-1 [905 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.2-1 [2155 kB] 60s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.14.2-1 [11.1 kB] 60s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.14.2-1 [28.2 kB] 60s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.14.2-1 [22.9 kB] 60s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.2-1 [2270 kB] 60s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.2-1 [816 kB] 60s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.14.2-1 [10.9 kB] 60s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libplymouth5 armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [147 kB] 60s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf plymouth-theme-ubuntu-text armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [10.0 kB] 60s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf plymouth armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [150 kB] 61s Fetched 6525 kB in 1s (5169 kB/s) 61s Selecting previously unselected package libpython3.14-minimal:armhf. 61s (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 ... 66485 files and directories currently installed.) 61s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_armhf.deb ... 61s Unpacking libpython3.14-minimal:armhf (3.14.2-1) ... 61s Selecting previously unselected package python3.14-minimal. 61s Preparing to unpack .../python3.14-minimal_3.14.2-1_armhf.deb ... 61s Unpacking python3.14-minimal (3.14.2-1) ... 61s Preparing to unpack .../python3-gdbm_3.14.2-1_armhf.deb ... 61s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 61s Setting up libpython3.14-minimal:armhf (3.14.2-1) ... 61s Setting up python3.14-minimal (3.14.2-1) ... 63s (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 ... 66827 files and directories currently installed.) 63s Preparing to unpack .../python3-minimal_3.14.2-1_armhf.deb ... 63s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 63s Setting up python3-minimal (3.14.2-1) ... 63s (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 ... 66827 files and directories currently installed.) 63s Preparing to unpack .../0-python3_3.14.2-1_armhf.deb ... 64s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 64s Selecting previously unselected package libpython3.14-stdlib:armhf. 64s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_armhf.deb ... 64s Unpacking libpython3.14-stdlib:armhf (3.14.2-1) ... 64s Selecting previously unselected package python3.14. 64s Preparing to unpack .../2-python3.14_3.14.2-1_armhf.deb ... 64s Unpacking python3.14 (3.14.2-1) ... 64s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_armhf.deb ... 64s Unpacking libpython3-stdlib:armhf (3.14.2-1) over (3.13.7-1) ... 64s Preparing to unpack .../4-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 64s Unpacking libplymouth5:armhf (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 64s Preparing to unpack .../5-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 64s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 64s Preparing to unpack .../6-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 64s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 64s Setting up libpython3.14-stdlib:armhf (3.14.2-1) ... 64s Setting up libplymouth5:armhf (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 64s Setting up python3.14 (3.14.2-1) ... 66s Setting up libpython3-stdlib:armhf (3.14.2-1) ... 66s Setting up python3-gdbm (3.14.2-1) ... 66s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 66s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 66s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 67s Setting up python3 (3.14.2-1) ... 67s Processing triggers for libc-bin (2.42-2ubuntu4) ... 67s Processing triggers for systemd (259-1ubuntu2) ... 67s Processing triggers for man-db (2.13.1-1) ... 68s Processing triggers for initramfs-tools (0.150ubuntu7) ... 68s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 68s Processing triggers for initramfs-tools (0.150ubuntu7) ... 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Solving dependencies... 72s The following packages will be REMOVED: 72s libpython3.13-minimal* libpython3.13-stdlib* python3.13* python3.13-minimal* 74s 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. 74s After this operation, 21.3 MB disk space will be freed. 74s (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 ... 67257 files and directories currently installed.) 74s Removing python3.13 (3.13.11-1) ... 74s Removing libpython3.13-stdlib:armhf (3.13.11-1) ... 74s Removing python3.13-minimal (3.13.11-1) ... 74s Removing libpython3.13-minimal:armhf (3.13.11-1) ... 75s Processing triggers for man-db (2.13.1-1) ... 75s Processing triggers for systemd (259-1ubuntu2) ... 75s (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 ... 66518 files and directories currently installed.) 75s Purging configuration files for libpython3.13-minimal:armhf (3.13.11-1) ... 75s Purging configuration files for python3.13-minimal (3.13.11-1) ... 77s autopkgtest [23:12:41]: rebooting testbed after setup commands that affected boot 121s autopkgtest [23:13:25]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 147s autopkgtest [23:13:51]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pylibacl 161s Get:1 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (dsc) [2430 B] 161s Get:2 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (tar) [49.3 kB] 161s Get:3 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (asc) [833 B] 161s Get:4 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (diff) [10.3 kB] 162s gpgv: Signature made Sat Oct 18 14:09:05 2025 UTC 162s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 162s gpgv: Can't check signature: No public key 162s dpkg-source: warning: cannot verify inline signature for ./python-pylibacl_0.7.2-1build1.dsc: no acceptable signature found 162s autopkgtest [23:14:06]: testing package python-pylibacl version 0.7.2-1build1 164s autopkgtest [23:14:08]: build not needed 167s autopkgtest [23:14:11]: test simple: preparing testbed 169s Reading package lists... 169s Building dependency tree... 169s Reading state information... 170s Solving dependencies... 170s The following NEW packages will be installed: 170s acl python-pylibacl-doc python3-iniconfig python3-pluggy python3-pylibacl 170s python3-pytest 171s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 171s Need to get 393 kB of archives. 171s After this operation, 2114 kB of additional disk space will be used. 171s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf acl armhf 2.3.2-2 [36.8 kB] 171s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python-pylibacl-doc all 0.7.2-1build1 [30.3 kB] 171s Get:3 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-2 [6962 B] 171s Get:4 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-2 [21.1 kB] 171s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf python3-pylibacl armhf 0.7.2-1build1 [20.5 kB] 171s Get:6 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 9.0.2-2 [277 kB] 172s Fetched 393 kB in 1s (781 kB/s) 172s Selecting previously unselected package acl. 172s (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 ... 66518 files and directories currently installed.) 172s Preparing to unpack .../0-acl_2.3.2-2_armhf.deb ... 172s Unpacking acl (2.3.2-2) ... 172s Selecting previously unselected package python-pylibacl-doc. 172s Preparing to unpack .../1-python-pylibacl-doc_0.7.2-1build1_all.deb ... 172s Unpacking python-pylibacl-doc (0.7.2-1build1) ... 172s Selecting previously unselected package python3-iniconfig. 172s Preparing to unpack .../2-python3-iniconfig_2.1.0-2_all.deb ... 172s Unpacking python3-iniconfig (2.1.0-2) ... 172s Selecting previously unselected package python3-pluggy. 172s Preparing to unpack .../3-python3-pluggy_1.6.0-2_all.deb ... 172s Unpacking python3-pluggy (1.6.0-2) ... 172s Selecting previously unselected package python3-pylibacl:armhf. 172s Preparing to unpack .../4-python3-pylibacl_0.7.2-1build1_armhf.deb ... 172s Unpacking python3-pylibacl:armhf (0.7.2-1build1) ... 172s Selecting previously unselected package python3-pytest. 172s Preparing to unpack .../5-python3-pytest_9.0.2-2_all.deb ... 172s Unpacking python3-pytest (9.0.2-2) ... 172s Setting up python3-iniconfig (2.1.0-2) ... 172s Setting up python3-pylibacl:armhf (0.7.2-1build1) ... 172s Setting up acl (2.3.2-2) ... 172s Setting up python3-pluggy (1.6.0-2) ... 173s Setting up python-pylibacl-doc (0.7.2-1build1) ... 173s Setting up python3-pytest (9.0.2-2) ... 173s Processing triggers for man-db (2.13.1-1) ... 186s autopkgtest [23:14:30]: test simple: [----------------------- 188s 188s autopkgtest [23:14:32]: test simple: -----------------------] 192s autopkgtest [23:14:36]: test simple: - - - - - - - - - - results - - - - - - - - - - 192s simple PASS 196s autopkgtest [23:14:40]: test run-testsuite-if-acls-enabled: preparing testbed 198s Reading package lists... 198s Building dependency tree... 198s Reading state information... 199s Solving dependencies... 199s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 209s autopkgtest [23:14:53]: test run-testsuite-if-acls-enabled: [----------------------- 212s Temporary directory '/tmp/autopkgtest.UxOWiU/autopkgtest_tmp' has ACLs enabled, running tests 212s * testing Python 3 212s 212s ============================= test session starts ============================== 212s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 212s rootdir: /tmp/autopkgtest.UxOWiU/autopkgtest_tmp 212s plugins: typeguard-4.4.4 212s collected 156 items 212s 213s test_acls.py ..........................X................................ [ 37%] 213s .x..............FF.xF......x............FFFFFF.......................... [ 83%] 213s ......................... [100%] 213s 213s =================================== FAILURES =================================== 213s __________________________ TestModification.test_str ___________________________ 213s 213s self = 213s 213s def test_str(self): 213s """Test str() of an ACL.""" 213s acl = posix1e.ACL(text=BASIC_ACL_TEXT) 213s str_acl = str(acl) 213s > self.checkRef(str_acl) 213s 213s test_acls.py:642: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = 213s obj = 'user::rw-\ngroup::r--\nother::---\n' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s _________________________ TestModification.test_append _________________________ 213s 213s self = 213s 213s def test_append(self): 213s """Test append a new Entry to the ACL""" 213s acl = posix1e.ACL() 213s e = acl.append() 213s e.tag_type = posix1e.ACL_OTHER 213s ignore_ioerror(errno.EINVAL, acl.calc_mask) 213s str_format = str(e) 213s > self.checkRef(str_format) 213s 213s test_acls.py:651: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = 213s obj = 'ACL entry for the others' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s _____________________ TestModification.test_entry_creation _____________________ 213s 213s self = 213s 213s def test_entry_creation(self): 213s acl = posix1e.ACL() 213s e = posix1e.Entry(acl) 213s ignore_ioerror(errno.EINVAL, acl.calc_mask) 213s str_format = str(e) 213s > self.checkRef(str_format) 213s 213s test_acls.py:678: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = 213s obj = 'ACL entry for undefined type' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s _____________________ TestModification.test_permset[read] ______________________ 213s 213s self = , perm = 4, txt = 'read' 213s 213s @pytest.mark.parametrize("perm, txt, accessor", 213s PERMSETS, ids=PERMSETS_IDS) 213s def test_permset(self, perm, txt, accessor): 213s """Test permissions""" 213s del accessor 213s acl = posix1e.ACL() 213s e = acl.append() 213s ps = e.permset 213s ps.clear() 213s str_ps = str(ps) 213s > self.checkRef(str_ps) 213s 213s test_acls.py:893: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = , obj = '---' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s _____________________ TestModification.test_permset[write] _____________________ 213s 213s self = , perm = 2 213s txt = 'write' 213s 213s @pytest.mark.parametrize("perm, txt, accessor", 213s PERMSETS, ids=PERMSETS_IDS) 213s def test_permset(self, perm, txt, accessor): 213s """Test permissions""" 213s del accessor 213s acl = posix1e.ACL() 213s e = acl.append() 213s ps = e.permset 213s ps.clear() 213s str_ps = str(ps) 213s > self.checkRef(str_ps) 213s 213s test_acls.py:893: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = , obj = '---' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s ____________________ TestModification.test_permset[execute] ____________________ 213s 213s self = , perm = 1 213s txt = 'execute' 213s 213s @pytest.mark.parametrize("perm, txt, accessor", 213s PERMSETS, ids=PERMSETS_IDS) 213s def test_permset(self, perm, txt, accessor): 213s """Test permissions""" 213s del accessor 213s acl = posix1e.ACL() 213s e = acl.append() 213s ps = e.permset 213s ps.clear() 213s str_ps = str(ps) 213s > self.checkRef(str_ps) 213s 213s test_acls.py:893: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = , obj = '---' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s ______________ TestModification.test_permset_via_accessors[read] _______________ 213s 213s self = , perm = 4, txt = 'read' 213s accessor = 213s 213s @pytest.mark.parametrize("perm, txt, accessor", 213s PERMSETS, ids=PERMSETS_IDS) 213s def test_permset_via_accessors(self, perm, txt, accessor): 213s """Test permissions""" 213s acl = posix1e.ACL() 213s e = acl.append() 213s ps = e.permset 213s ps.clear() 213s def getter(): 213s return accessor.__get__(ps) # type: ignore 213s def setter(value): 213s return accessor.__set__(ps, value) # type: ignore 213s str_ps = str(ps) 213s > self.checkRef(str_ps) 213s 213s test_acls.py:926: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = , obj = '---' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s ______________ TestModification.test_permset_via_accessors[write] ______________ 213s 213s self = , perm = 2 213s txt = 'write', accessor = 213s 213s @pytest.mark.parametrize("perm, txt, accessor", 213s PERMSETS, ids=PERMSETS_IDS) 213s def test_permset_via_accessors(self, perm, txt, accessor): 213s """Test permissions""" 213s acl = posix1e.ACL() 213s e = acl.append() 213s ps = e.permset 213s ps.clear() 213s def getter(): 213s return accessor.__get__(ps) # type: ignore 213s def setter(value): 213s return accessor.__set__(ps, value) # type: ignore 213s str_ps = str(ps) 213s > self.checkRef(str_ps) 213s 213s test_acls.py:926: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = , obj = '---' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s _____________ TestModification.test_permset_via_accessors[execute] _____________ 213s 213s self = , perm = 1 213s txt = 'execute', accessor = 213s 213s @pytest.mark.parametrize("perm, txt, accessor", 213s PERMSETS, ids=PERMSETS_IDS) 213s def test_permset_via_accessors(self, perm, txt, accessor): 213s """Test permissions""" 213s acl = posix1e.ACL() 213s e = acl.append() 213s ps = e.permset 213s ps.clear() 213s def getter(): 213s return accessor.__get__(ps) # type: ignore 213s def setter(value): 213s return accessor.__set__(ps, value) # type: ignore 213s str_ps = str(ps) 213s > self.checkRef(str_ps) 213s 213s test_acls.py:926: 213s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 213s 213s self = , obj = '---' 213s 213s def checkRef(self, obj): 213s """Checks if a given obj has a 'sane' refcount""" 213s if platform.python_implementation() == "PyPy": 213s return 213s ref_cnt = sys.getrefcount(obj) 213s # FIXME: hardcoded value for the max ref count... but I've 213s # seen it overflow on bad reference counting, so it's better 213s # to be safe 213s if ref_cnt < 2 or ref_cnt > 1024: 213s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 213s ref_cnt) 213s E Failed: Wrong reference count, expected 2-1024 and got 1 213s 213s test_acls.py:635: Failed 213s =========================== short test summary info ============================ 213s FAILED test_acls.py::TestModification::test_str - Failed: Wrong reference cou... 213s FAILED test_acls.py::TestModification::test_append - Failed: Wrong reference ... 213s FAILED test_acls.py::TestModification::test_entry_creation - Failed: Wrong re... 213s FAILED test_acls.py::TestModification::test_permset[read] - Failed: Wrong ref... 213s FAILED test_acls.py::TestModification::test_permset[write] - Failed: Wrong re... 213s FAILED test_acls.py::TestModification::test_permset[execute] - Failed: Wrong ... 213s FAILED test_acls.py::TestModification::test_permset_via_accessors[read] - Fai... 213s FAILED test_acls.py::TestModification::test_permset_via_accessors[write] - Fa... 213s FAILED test_acls.py::TestModification::test_permset_via_accessors[execute] - ... 213s ============= 9 failed, 143 passed, 3 xfailed, 1 xpassed in 0.90s ============== 214s autopkgtest [23:14:58]: test run-testsuite-if-acls-enabled: -----------------------] 218s autopkgtest [23:15:02]: test run-testsuite-if-acls-enabled: - - - - - - - - - - results - - - - - - - - - - 218s run-testsuite-if-acls-enabled FAIL non-zero exit status 1 222s autopkgtest [23:15:06]: @@@@@@@@@@@@@@@@@@@@ summary 222s simple PASS 222s run-testsuite-if-acls-enabled FAIL non-zero exit status 1