0s autopkgtest [03:46:26]: starting date and time: 2026-01-23 03:46:26+0000 0s autopkgtest [03:46:26]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [03:46:26]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.b1nq2db4/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-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-arm64-8.secgroup --name adt-resolute-arm64-python-pylibacl-20260123-034626-juju-7f2275-prod-proposed-migration-environment-2-663127c5-8884-4f3c-a03b-1a6ae3b2b7bd --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-python-pylibacl-20260123-034626-juju-7f2275-prod-proposed-migration-environment-2-663127c5-8884-4f3c-a03b-1a6ae3b2b7bd from image adt/ubuntu-resolute-arm64-server-20260122.img (UUID ed27afc7-5f46-4e8b-ad73-864280a0ddbb)... 64s autopkgtest [03:47:30]: testbed dpkg architecture: arm64 64s autopkgtest [03:47:30]: testbed apt version: 3.1.12 65s autopkgtest [03:47:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup 65s autopkgtest [03:47:31]: testbed release detected to be: None 66s autopkgtest [03:47:32]: updating testbed package index (apt update) 67s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 67s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 67s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 67s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 67s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.6 kB] 67s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1181 kB] 67s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [95.1 kB] 67s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 67s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [3324 B] 67s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [7876 B] 67s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [304 B] 67s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [991 kB] 67s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [20.8 kB] 67s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [10.7 kB] 67s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [456 B] 70s Fetched 2581 kB in 2s (1689 kB/s) 71s Reading package lists... 72s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 72s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 72s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 72s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 73s Reading package lists... 73s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Calculating upgrade... 74s The following packages were automatically installed and are no longer required: 74s python3.13 python3.13-minimal 74s Use 'sudo apt autoremove' to remove them. 74s The following NEW packages will be installed: 74s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 74s The following packages will be upgraded: 74s apt dhcpcd-base libapt-pkg7.0 libplymouth5 libpython3-stdlib plymouth 74s plymouth-theme-ubuntu-text python3 python3-gdbm python3-minimal 74s 10 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 74s Need to get 9695 kB of archives. 74s After this operation, 26.0 MB of additional disk space will be used. 74s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libpython3.14-minimal arm64 3.14.2-1 [917 kB] 75s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 python3.14-minimal arm64 3.14.2-1 [2548 kB] 75s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3-gdbm arm64 3.14.2-1 [11.1 kB] 75s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3-minimal arm64 3.14.2-1 [28.2 kB] 75s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3 arm64 3.14.2-1 [22.9 kB] 75s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libpython3.14-stdlib arm64 3.14.2-1 [2351 kB] 75s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 python3.14 arm64 3.14.2-1 [816 kB] 75s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpython3-stdlib arm64 3.14.2-1 [10.9 kB] 75s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libapt-pkg7.0 arm64 3.1.13 [1067 kB] 75s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 apt arm64 3.1.13 [1412 kB] 75s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 dhcpcd-base arm64 1:10.3.0-7 [223 kB] 75s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libplymouth5 arm64 24.004.60+git20250831.4a3c171d-0ubuntu4 [141 kB] 75s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 plymouth-theme-ubuntu-text arm64 24.004.60+git20250831.4a3c171d-0ubuntu4 [10.0 kB] 75s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 plymouth arm64 24.004.60+git20250831.4a3c171d-0ubuntu4 [138 kB] 76s dpkg-preconfigure: unable to re-open stdin: No such file or directory 76s Fetched 9695 kB in 1s (8701 kB/s) 76s Selecting previously unselected package libpython3.14-minimal:arm64. 76s (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 ... 135223 files and directories currently installed.) 76s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_arm64.deb ... 76s Unpacking libpython3.14-minimal:arm64 (3.14.2-1) ... 76s Selecting previously unselected package python3.14-minimal. 76s Preparing to unpack .../python3.14-minimal_3.14.2-1_arm64.deb ... 76s Unpacking python3.14-minimal (3.14.2-1) ... 76s Preparing to unpack .../python3-gdbm_3.14.2-1_arm64.deb ... 76s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 76s Setting up libpython3.14-minimal:arm64 (3.14.2-1) ... 77s Setting up python3.14-minimal (3.14.2-1) ... 78s (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 ... 135565 files and directories currently installed.) 78s Preparing to unpack .../python3-minimal_3.14.2-1_arm64.deb ... 78s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 78s Setting up python3-minimal (3.14.2-1) ... 78s (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 ... 135565 files and directories currently installed.) 78s Preparing to unpack .../0-python3_3.14.2-1_arm64.deb ... 78s running python pre-rtupdate hooks for python3.14... 78s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 78s Selecting previously unselected package libpython3.14-stdlib:arm64. 78s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_arm64.deb ... 78s Unpacking libpython3.14-stdlib:arm64 (3.14.2-1) ... 78s Selecting previously unselected package python3.14. 79s Preparing to unpack .../2-python3.14_3.14.2-1_arm64.deb ... 79s Unpacking python3.14 (3.14.2-1) ... 79s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_arm64.deb ... 79s Unpacking libpython3-stdlib:arm64 (3.14.2-1) over (3.13.7-1) ... 79s Preparing to unpack .../4-libapt-pkg7.0_3.1.13_arm64.deb ... 79s Unpacking libapt-pkg7.0:arm64 (3.1.13) over (3.1.12) ... 79s Preparing to unpack .../5-apt_3.1.13_arm64.deb ... 79s Unpacking apt (3.1.13) over (3.1.12) ... 79s Preparing to unpack .../6-dhcpcd-base_1%3a10.3.0-7_arm64.deb ... 79s Unpacking dhcpcd-base (1:10.3.0-7) over (1:10.3.0-3) ... 79s Preparing to unpack .../7-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_arm64.deb ... 79s Unpacking libplymouth5:arm64 (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 79s Preparing to unpack .../8-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_arm64.deb ... 79s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 79s Preparing to unpack .../9-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_arm64.deb ... 79s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 80s Setting up libpython3.14-stdlib:arm64 (3.14.2-1) ... 80s Setting up dhcpcd-base (1:10.3.0-7) ... 80s Setting up libplymouth5:arm64 (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 80s Setting up libapt-pkg7.0:arm64 (3.1.13) ... 80s Setting up python3.14 (3.14.2-1) ... 81s Setting up libpython3-stdlib:arm64 (3.14.2-1) ... 81s Setting up apt (3.1.13) ... 82s Setting up python3-gdbm (3.14.2-1) ... 82s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 82s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 82s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 82s Setting up python3 (3.14.2-1) ... 82s running python rtupdate hooks for python3.14... 82s running python post-rtupdate hooks for python3.14... 82s Processing triggers for libc-bin (2.42-2ubuntu4) ... 82s Processing triggers for systemd (259-1ubuntu2) ... 83s Processing triggers for man-db (2.13.1-1) ... 84s Processing triggers for initramfs-tools (0.150ubuntu7) ... 84s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 102s System running in EFI mode, skipping. 102s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 102s Processing triggers for initramfs-tools (0.150ubuntu7) ... 102s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 117s System running in EFI mode, skipping. 117s autopkgtest [03:48:23]: upgrading testbed (apt dist-upgrade and autopurge) 125s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Calculating upgrade... 126s The following packages were automatically installed and are no longer required: 126s python3.13 python3.13-minimal 126s Use 'sudo apt autoremove' to remove them. 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Solving dependencies... 128s The following packages will be REMOVED: 128s python3.13* python3.13-minimal* 128s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 128s After this operation, 7766 kB disk space will be freed. 128s (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 ... 135992 files and directories currently installed.) 128s Removing python3.13 (3.13.11-1) ... 128s Removing python3.13-minimal (3.13.11-1) ... 129s Processing triggers for man-db (2.13.1-1) ... 129s Processing triggers for systemd (259-1ubuntu2) ... 129s (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 ... 135965 files and directories currently installed.) 129s Purging configuration files for python3.13-minimal (3.13.11-1) ... 130s autopkgtest [03:48:36]: rebooting testbed after setup commands that affected boot 168s autopkgtest [03:49:14]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:41:39 UTC 2026 171s autopkgtest [03:49:17]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pylibacl 173s Get:1 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (dsc) [2430 B] 173s Get:2 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (tar) [49.3 kB] 173s Get:3 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (asc) [833 B] 173s Get:4 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (diff) [10.3 kB] 173s gpgv: Signature made Sat Oct 18 14:09:05 2025 UTC 173s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 173s gpgv: Can't check signature: No public key 173s dpkg-source: warning: cannot verify inline signature for ./python-pylibacl_0.7.2-1build1.dsc: no acceptable signature found 173s autopkgtest [03:49:19]: testing package python-pylibacl version 0.7.2-1build1 173s autopkgtest [03:49:19]: build not needed 173s autopkgtest [03:49:19]: test simple: preparing testbed 174s Reading package lists... 174s Building dependency tree... 174s Reading state information... 174s Solving dependencies... 174s The following NEW packages will be installed: 174s acl python-pylibacl-doc python3-iniconfig python3-pluggy python3-pylibacl 174s python3-pytest 174s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 174s Need to get 396 kB of archives. 174s After this operation, 2269 kB of additional disk space will be used. 174s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 acl arm64 2.3.2-2 [38.9 kB] 175s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 python-pylibacl-doc all 0.7.2-1build1 [30.3 kB] 175s Get:3 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-iniconfig all 2.1.0-2 [6962 B] 175s Get:4 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pluggy all 1.6.0-2 [21.1 kB] 175s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-pylibacl arm64 0.7.2-1build1 [21.7 kB] 175s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest all 9.0.2-2 [277 kB] 175s Fetched 396 kB in 0s (2885 kB/s) 175s Selecting previously unselected package acl. 175s (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 ... 135967 files and directories currently installed.) 175s Preparing to unpack .../0-acl_2.3.2-2_arm64.deb ... 175s Unpacking acl (2.3.2-2) ... 175s Selecting previously unselected package python-pylibacl-doc. 175s Preparing to unpack .../1-python-pylibacl-doc_0.7.2-1build1_all.deb ... 175s Unpacking python-pylibacl-doc (0.7.2-1build1) ... 175s Selecting previously unselected package python3-iniconfig. 175s Preparing to unpack .../2-python3-iniconfig_2.1.0-2_all.deb ... 175s Unpacking python3-iniconfig (2.1.0-2) ... 175s Selecting previously unselected package python3-pluggy. 175s Preparing to unpack .../3-python3-pluggy_1.6.0-2_all.deb ... 175s Unpacking python3-pluggy (1.6.0-2) ... 175s Selecting previously unselected package python3-pylibacl:arm64. 175s Preparing to unpack .../4-python3-pylibacl_0.7.2-1build1_arm64.deb ... 175s Unpacking python3-pylibacl:arm64 (0.7.2-1build1) ... 175s Selecting previously unselected package python3-pytest. 175s Preparing to unpack .../5-python3-pytest_9.0.2-2_all.deb ... 175s Unpacking python3-pytest (9.0.2-2) ... 176s Setting up python3-iniconfig (2.1.0-2) ... 176s Setting up python3-pylibacl:arm64 (0.7.2-1build1) ... 176s Setting up acl (2.3.2-2) ... 176s Setting up python3-pluggy (1.6.0-2) ... 176s Setting up python-pylibacl-doc (0.7.2-1build1) ... 176s Setting up python3-pytest (9.0.2-2) ... 176s Processing triggers for man-db (2.13.1-1) ... 178s autopkgtest [03:49:24]: test simple: [----------------------- 178s 179s autopkgtest [03:49:25]: test simple: -----------------------] 179s simple PASS 179s autopkgtest [03:49:25]: test simple: - - - - - - - - - - results - - - - - - - - - - 179s autopkgtest [03:49:25]: test run-testsuite-if-acls-enabled: preparing testbed 180s Reading package lists... 180s Building dependency tree... 180s Reading state information... 180s Solving dependencies... 181s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 182s autopkgtest [03:49:28]: test run-testsuite-if-acls-enabled: [----------------------- 182s Temporary directory '/tmp/autopkgtest.DiWXtN/autopkgtest_tmp' has ACLs enabled, running tests 182s * testing Python 3 182s 182s ============================= test session starts ============================== 182s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 182s rootdir: /tmp/autopkgtest.DiWXtN/autopkgtest_tmp 182s plugins: typeguard-4.4.4 182s collected 156 items 182s 182s test_acls.py ..........................X................................ [ 37%] 183s .x..............FF.xF......x............FFFFFF.......................... [ 83%] 183s ......................... [100%] 183s 183s =================================== FAILURES =================================== 183s __________________________ TestModification.test_str ___________________________ 183s 183s self = 183s 183s def test_str(self): 183s """Test str() of an ACL.""" 183s acl = posix1e.ACL(text=BASIC_ACL_TEXT) 183s str_acl = str(acl) 183s > self.checkRef(str_acl) 183s 183s test_acls.py:642: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = 183s obj = 'user::rw-\ngroup::r--\nother::---\n' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s _________________________ TestModification.test_append _________________________ 183s 183s self = 183s 183s def test_append(self): 183s """Test append a new Entry to the ACL""" 183s acl = posix1e.ACL() 183s e = acl.append() 183s e.tag_type = posix1e.ACL_OTHER 183s ignore_ioerror(errno.EINVAL, acl.calc_mask) 183s str_format = str(e) 183s > self.checkRef(str_format) 183s 183s test_acls.py:651: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = 183s obj = 'ACL entry for the others' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s _____________________ TestModification.test_entry_creation _____________________ 183s 183s self = 183s 183s def test_entry_creation(self): 183s acl = posix1e.ACL() 183s e = posix1e.Entry(acl) 183s ignore_ioerror(errno.EINVAL, acl.calc_mask) 183s str_format = str(e) 183s > self.checkRef(str_format) 183s 183s test_acls.py:678: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = 183s obj = 'ACL entry for undefined type' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s _____________________ TestModification.test_permset[read] ______________________ 183s 183s self = , perm = 4 183s txt = 'read' 183s 183s @pytest.mark.parametrize("perm, txt, accessor", 183s PERMSETS, ids=PERMSETS_IDS) 183s def test_permset(self, perm, txt, accessor): 183s """Test permissions""" 183s del accessor 183s acl = posix1e.ACL() 183s e = acl.append() 183s ps = e.permset 183s ps.clear() 183s str_ps = str(ps) 183s > self.checkRef(str_ps) 183s 183s test_acls.py:893: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = , obj = '---' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s _____________________ TestModification.test_permset[write] _____________________ 183s 183s self = , perm = 2 183s txt = 'write' 183s 183s @pytest.mark.parametrize("perm, txt, accessor", 183s PERMSETS, ids=PERMSETS_IDS) 183s def test_permset(self, perm, txt, accessor): 183s """Test permissions""" 183s del accessor 183s acl = posix1e.ACL() 183s e = acl.append() 183s ps = e.permset 183s ps.clear() 183s str_ps = str(ps) 183s > self.checkRef(str_ps) 183s 183s test_acls.py:893: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = , obj = '---' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s ____________________ TestModification.test_permset[execute] ____________________ 183s 183s self = , perm = 1 183s txt = 'execute' 183s 183s @pytest.mark.parametrize("perm, txt, accessor", 183s PERMSETS, ids=PERMSETS_IDS) 183s def test_permset(self, perm, txt, accessor): 183s """Test permissions""" 183s del accessor 183s acl = posix1e.ACL() 183s e = acl.append() 183s ps = e.permset 183s ps.clear() 183s str_ps = str(ps) 183s > self.checkRef(str_ps) 183s 183s test_acls.py:893: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = , obj = '---' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s ______________ TestModification.test_permset_via_accessors[read] _______________ 183s 183s self = , perm = 4 183s txt = 'read', accessor = 183s 183s @pytest.mark.parametrize("perm, txt, accessor", 183s PERMSETS, ids=PERMSETS_IDS) 183s def test_permset_via_accessors(self, perm, txt, accessor): 183s """Test permissions""" 183s acl = posix1e.ACL() 183s e = acl.append() 183s ps = e.permset 183s ps.clear() 183s def getter(): 183s return accessor.__get__(ps) # type: ignore 183s def setter(value): 183s return accessor.__set__(ps, value) # type: ignore 183s str_ps = str(ps) 183s > self.checkRef(str_ps) 183s 183s test_acls.py:926: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = , obj = '---' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s ______________ TestModification.test_permset_via_accessors[write] ______________ 183s 183s self = , perm = 2 183s txt = 'write', accessor = 183s 183s @pytest.mark.parametrize("perm, txt, accessor", 183s PERMSETS, ids=PERMSETS_IDS) 183s def test_permset_via_accessors(self, perm, txt, accessor): 183s """Test permissions""" 183s acl = posix1e.ACL() 183s e = acl.append() 183s ps = e.permset 183s ps.clear() 183s def getter(): 183s return accessor.__get__(ps) # type: ignore 183s def setter(value): 183s return accessor.__set__(ps, value) # type: ignore 183s str_ps = str(ps) 183s > self.checkRef(str_ps) 183s 183s test_acls.py:926: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = , obj = '---' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s _____________ TestModification.test_permset_via_accessors[execute] _____________ 183s 183s self = , perm = 1 183s txt = 'execute', accessor = 183s 183s @pytest.mark.parametrize("perm, txt, accessor", 183s PERMSETS, ids=PERMSETS_IDS) 183s def test_permset_via_accessors(self, perm, txt, accessor): 183s """Test permissions""" 183s acl = posix1e.ACL() 183s e = acl.append() 183s ps = e.permset 183s ps.clear() 183s def getter(): 183s return accessor.__get__(ps) # type: ignore 183s def setter(value): 183s return accessor.__set__(ps, value) # type: ignore 183s str_ps = str(ps) 183s > self.checkRef(str_ps) 183s 183s test_acls.py:926: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = , obj = '---' 183s 183s def checkRef(self, obj): 183s """Checks if a given obj has a 'sane' refcount""" 183s if platform.python_implementation() == "PyPy": 183s return 183s ref_cnt = sys.getrefcount(obj) 183s # FIXME: hardcoded value for the max ref count... but I've 183s # seen it overflow on bad reference counting, so it's better 183s # to be safe 183s if ref_cnt < 2 or ref_cnt > 1024: 183s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 183s ref_cnt) 183s E Failed: Wrong reference count, expected 2-1024 and got 1 183s 183s test_acls.py:635: Failed 183s =========================== short test summary info ============================ 183s FAILED test_acls.py::TestModification::test_str - Failed: Wrong reference cou... 183s FAILED test_acls.py::TestModification::test_append - Failed: Wrong reference ... 183s FAILED test_acls.py::TestModification::test_entry_creation - Failed: Wrong re... 183s FAILED test_acls.py::TestModification::test_permset[read] - Failed: Wrong ref... 183s FAILED test_acls.py::TestModification::test_permset[write] - Failed: Wrong re... 183s FAILED test_acls.py::TestModification::test_permset[execute] - Failed: Wrong ... 183s FAILED test_acls.py::TestModification::test_permset_via_accessors[read] - Fai... 183s FAILED test_acls.py::TestModification::test_permset_via_accessors[write] - Fa... 183s FAILED test_acls.py::TestModification::test_permset_via_accessors[execute] - ... 183s ============= 9 failed, 143 passed, 3 xfailed, 1 xpassed in 0.59s ============== 183s autopkgtest [03:49:29]: test run-testsuite-if-acls-enabled: -----------------------] 184s run-testsuite-if-acls-enabled FAIL non-zero exit status 1 184s autopkgtest [03:49:30]: test run-testsuite-if-acls-enabled: - - - - - - - - - - results - - - - - - - - - - 184s autopkgtest [03:49:30]: @@@@@@@@@@@@@@@@@@@@ summary 184s simple PASS 184s run-testsuite-if-acls-enabled FAIL non-zero exit status 1