0s autopkgtest [21:43:57]: starting date and time: 2026-01-22 21:43:57+0000 0s autopkgtest [21:43:57]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [21:43:57]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4bo4sfc3/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-ppc64el-25.secgroup --name adt-resolute-ppc64el-python-pylibacl-20260122-214357-juju-7f2275-prod-proposed-migration-environment-15-5234a8db-9d32-4786-92ac-001ab06fdb6d --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-python-pylibacl-20260122-214357-juju-7f2275-prod-proposed-migration-environment-15-5234a8db-9d32-4786-92ac-001ab06fdb6d from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 56s autopkgtest [21:44:53]: testbed dpkg architecture: ppc64el 56s autopkgtest [21:44:53]: testbed apt version: 3.1.12 57s autopkgtest [21:44:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 57s autopkgtest [21:44:54]: testbed release detected to be: None 57s autopkgtest [21:44:54]: updating testbed package index (apt update) 58s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 58s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 58s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 58s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 58s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 58s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.2 kB] 58s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1011 kB] 58s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.6 kB] 58s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [100 kB] 58s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [703 kB] 58s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [5552 B] 58s Fetched 2050 kB in 1s (2542 kB/s) 59s Reading package lists... 60s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 60s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 60s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 60s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 61s Reading package lists... 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 61s The following packages were automatically installed and are no longer required: 61s python3.13 python3.13-minimal 61s Use 'sudo apt autoremove' to remove them. 61s The following NEW packages will be installed: 61s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 61s The following packages will be upgraded: 61s libplymouth5 libpython3-stdlib plymouth plymouth-theme-ubuntu-text python3 61s python3-gdbm python3-minimal 61s 7 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 61s Need to get 7312 kB of archives. 61s After this operation, 27.7 MB of additional disk space will be used. 61s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 61s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 61s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 61s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 61s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 61s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 61s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 61s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 61s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libplymouth5 ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [174 kB] 61s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el plymouth-theme-ubuntu-text ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [11.2 kB] 61s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el plymouth ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [160 kB] 62s dpkg-preconfigure: unable to re-open stdin: No such file or directory 62s Fetched 7312 kB in 0s (29.8 MB/s) 62s Selecting previously unselected package libpython3.14-minimal:ppc64el. 62s (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 ... 120824 files and directories currently installed.) 62s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 62s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 62s Selecting previously unselected package python3.14-minimal. 62s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 62s Unpacking python3.14-minimal (3.14.2-1) ... 62s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 62s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 63s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 63s Setting up python3.14-minimal (3.14.2-1) ... 64s (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 ... 121166 files and directories currently installed.) 64s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 64s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 64s Setting up python3-minimal (3.14.2-1) ... 64s (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 ... 121166 files and directories currently installed.) 64s Preparing to unpack .../0-python3_3.14.2-1_ppc64el.deb ... 64s running python pre-rtupdate hooks for python3.14... 64s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 64s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 64s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 64s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 64s Selecting previously unselected package python3.14. 64s Preparing to unpack .../2-python3.14_3.14.2-1_ppc64el.deb ... 64s Unpacking python3.14 (3.14.2-1) ... 64s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_ppc64el.deb ... 64s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 64s Preparing to unpack .../4-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 64s Unpacking libplymouth5:ppc64el (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 65s Preparing to unpack .../5-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 65s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 65s Preparing to unpack .../6-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 65s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 65s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 65s Setting up libplymouth5:ppc64el (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 65s Setting up python3.14 (3.14.2-1) ... 66s Setting up libpython3-stdlib:ppc64el (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 67s 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 running python rtupdate hooks for python3.14... 67s running python post-rtupdate hooks for python3.14... 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) ... 69s Processing triggers for initramfs-tools (0.150ubuntu7) ... 69s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 76s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 76s Processing triggers for initramfs-tools (0.150ubuntu7) ... 76s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 81s autopkgtest [21:45:18]: upgrading testbed (apt dist-upgrade and autopurge) 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Calculating upgrade... 81s The following packages were automatically installed and are no longer required: 81s python3.13 python3.13-minimal 81s Use 'sudo apt autoremove' to remove them. 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 82s Solving dependencies... 82s The following packages will be REMOVED: 82s python3.13* python3.13-minimal* 82s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 82s After this operation, 9077 kB disk space will be freed. 82s (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 ... 121596 files and directories currently installed.) 82s Removing python3.13 (3.13.11-1) ... 82s Removing python3.13-minimal (3.13.11-1) ... 83s Processing triggers for man-db (2.13.1-1) ... 83s Processing triggers for systemd (259-1ubuntu2) ... 83s (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 ... 121569 files and directories currently installed.) 83s Purging configuration files for python3.13-minimal (3.13.11-1) ... 84s autopkgtest [21:45:21]: rebooting testbed after setup commands that affected boot 121s autopkgtest [21:45:58]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:45:54 UTC 2026 123s autopkgtest [21:46:00]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pylibacl 125s Get:1 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (dsc) [2430 B] 125s Get:2 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (tar) [49.3 kB] 125s Get:3 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (asc) [833 B] 125s Get:4 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (diff) [10.3 kB] 125s gpgv: Signature made Sat Oct 18 14:09:05 2025 UTC 125s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 125s gpgv: Can't check signature: No public key 125s dpkg-source: warning: cannot verify inline signature for ./python-pylibacl_0.7.2-1build1.dsc: no acceptable signature found 125s autopkgtest [21:46:02]: testing package python-pylibacl version 0.7.2-1build1 125s autopkgtest [21:46:02]: build not needed 126s autopkgtest [21:46:03]: test simple: preparing testbed 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Solving dependencies... 126s The following NEW packages will be installed: 126s acl python-pylibacl-doc python3-iniconfig python3-pluggy python3-pylibacl 126s python3-pytest 126s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 126s Need to get 400 kB of archives. 126s After this operation, 2269 kB of additional disk space will be used. 126s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el acl ppc64el 2.3.2-2 [42.6 kB] 126s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python-pylibacl-doc all 0.7.2-1build1 [30.3 kB] 126s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-iniconfig all 2.1.0-2 [6962 B] 126s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pluggy all 1.6.0-2 [21.1 kB] 126s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-pylibacl ppc64el 0.7.2-1build1 [22.0 kB] 126s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest all 9.0.2-2 [277 kB] 126s Fetched 400 kB in 0s (2076 kB/s) 127s Selecting previously unselected package acl. 127s (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 ... 121571 files and directories currently installed.) 127s Preparing to unpack .../0-acl_2.3.2-2_ppc64el.deb ... 127s Unpacking acl (2.3.2-2) ... 127s Selecting previously unselected package python-pylibacl-doc. 127s Preparing to unpack .../1-python-pylibacl-doc_0.7.2-1build1_all.deb ... 127s Unpacking python-pylibacl-doc (0.7.2-1build1) ... 127s Selecting previously unselected package python3-iniconfig. 127s Preparing to unpack .../2-python3-iniconfig_2.1.0-2_all.deb ... 127s Unpacking python3-iniconfig (2.1.0-2) ... 127s Selecting previously unselected package python3-pluggy. 127s Preparing to unpack .../3-python3-pluggy_1.6.0-2_all.deb ... 127s Unpacking python3-pluggy (1.6.0-2) ... 127s Selecting previously unselected package python3-pylibacl:ppc64el. 127s Preparing to unpack .../4-python3-pylibacl_0.7.2-1build1_ppc64el.deb ... 127s Unpacking python3-pylibacl:ppc64el (0.7.2-1build1) ... 127s Selecting previously unselected package python3-pytest. 127s Preparing to unpack .../5-python3-pytest_9.0.2-2_all.deb ... 127s Unpacking python3-pytest (9.0.2-2) ... 127s Setting up python3-iniconfig (2.1.0-2) ... 127s Setting up python3-pylibacl:ppc64el (0.7.2-1build1) ... 127s Setting up acl (2.3.2-2) ... 127s Setting up python3-pluggy (1.6.0-2) ... 127s Setting up python-pylibacl-doc (0.7.2-1build1) ... 127s Setting up python3-pytest (9.0.2-2) ... 127s Processing triggers for man-db (2.13.1-1) ... 129s autopkgtest [21:46:06]: test simple: [----------------------- 129s 130s autopkgtest [21:46:07]: test simple: -----------------------] 130s simple PASS 130s autopkgtest [21:46:07]: test simple: - - - - - - - - - - results - - - - - - - - - - 130s autopkgtest [21:46:07]: test run-testsuite-if-acls-enabled: preparing testbed 131s Reading package lists... 131s Building dependency tree... 131s Reading state information... 131s Solving dependencies... 131s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 132s autopkgtest [21:46:09]: test run-testsuite-if-acls-enabled: [----------------------- 132s Temporary directory '/tmp/autopkgtest.lYYKsE/autopkgtest_tmp' has ACLs enabled, running tests 132s * testing Python 3 132s 132s ============================= test session starts ============================== 132s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 132s rootdir: /tmp/autopkgtest.lYYKsE/autopkgtest_tmp 132s plugins: typeguard-4.4.4 132s collected 156 items 132s 132s test_acls.py ..........................X................................ [ 37%] 133s .x..............FF.xF......x............FFFFFF.......................... [ 83%] 133s ......................... [100%] 133s 133s =================================== FAILURES =================================== 133s __________________________ TestModification.test_str ___________________________ 133s 133s self = 133s 133s def test_str(self): 133s """Test str() of an ACL.""" 133s acl = posix1e.ACL(text=BASIC_ACL_TEXT) 133s str_acl = str(acl) 133s > self.checkRef(str_acl) 133s 133s test_acls.py:642: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = 133s obj = 'user::rw-\ngroup::r--\nother::---\n' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s _________________________ TestModification.test_append _________________________ 133s 133s self = 133s 133s def test_append(self): 133s """Test append a new Entry to the ACL""" 133s acl = posix1e.ACL() 133s e = acl.append() 133s e.tag_type = posix1e.ACL_OTHER 133s ignore_ioerror(errno.EINVAL, acl.calc_mask) 133s str_format = str(e) 133s > self.checkRef(str_format) 133s 133s test_acls.py:651: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = 133s obj = 'ACL entry for the others' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s _____________________ TestModification.test_entry_creation _____________________ 133s 133s self = 133s 133s def test_entry_creation(self): 133s acl = posix1e.ACL() 133s e = posix1e.Entry(acl) 133s ignore_ioerror(errno.EINVAL, acl.calc_mask) 133s str_format = str(e) 133s > self.checkRef(str_format) 133s 133s test_acls.py:678: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = 133s obj = 'ACL entry for undefined type' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s _____________________ TestModification.test_permset[read] ______________________ 133s 133s self = , perm = 4 133s txt = 'read' 133s 133s @pytest.mark.parametrize("perm, txt, accessor", 133s PERMSETS, ids=PERMSETS_IDS) 133s def test_permset(self, perm, txt, accessor): 133s """Test permissions""" 133s del accessor 133s acl = posix1e.ACL() 133s e = acl.append() 133s ps = e.permset 133s ps.clear() 133s str_ps = str(ps) 133s > self.checkRef(str_ps) 133s 133s test_acls.py:893: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = , obj = '---' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s _____________________ TestModification.test_permset[write] _____________________ 133s 133s self = , perm = 2 133s txt = 'write' 133s 133s @pytest.mark.parametrize("perm, txt, accessor", 133s PERMSETS, ids=PERMSETS_IDS) 133s def test_permset(self, perm, txt, accessor): 133s """Test permissions""" 133s del accessor 133s acl = posix1e.ACL() 133s e = acl.append() 133s ps = e.permset 133s ps.clear() 133s str_ps = str(ps) 133s > self.checkRef(str_ps) 133s 133s test_acls.py:893: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = , obj = '---' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s ____________________ TestModification.test_permset[execute] ____________________ 133s 133s self = , perm = 1 133s txt = 'execute' 133s 133s @pytest.mark.parametrize("perm, txt, accessor", 133s PERMSETS, ids=PERMSETS_IDS) 133s def test_permset(self, perm, txt, accessor): 133s """Test permissions""" 133s del accessor 133s acl = posix1e.ACL() 133s e = acl.append() 133s ps = e.permset 133s ps.clear() 133s str_ps = str(ps) 133s > self.checkRef(str_ps) 133s 133s test_acls.py:893: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = , obj = '---' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s ______________ TestModification.test_permset_via_accessors[read] _______________ 133s 133s self = , perm = 4 133s txt = 'read', accessor = 133s 133s @pytest.mark.parametrize("perm, txt, accessor", 133s PERMSETS, ids=PERMSETS_IDS) 133s def test_permset_via_accessors(self, perm, txt, accessor): 133s """Test permissions""" 133s acl = posix1e.ACL() 133s e = acl.append() 133s ps = e.permset 133s ps.clear() 133s def getter(): 133s return accessor.__get__(ps) # type: ignore 133s def setter(value): 133s return accessor.__set__(ps, value) # type: ignore 133s str_ps = str(ps) 133s > self.checkRef(str_ps) 133s 133s test_acls.py:926: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = , obj = '---' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s ______________ TestModification.test_permset_via_accessors[write] ______________ 133s 133s self = , perm = 2 133s txt = 'write', accessor = 133s 133s @pytest.mark.parametrize("perm, txt, accessor", 133s PERMSETS, ids=PERMSETS_IDS) 133s def test_permset_via_accessors(self, perm, txt, accessor): 133s """Test permissions""" 133s acl = posix1e.ACL() 133s e = acl.append() 133s ps = e.permset 133s ps.clear() 133s def getter(): 133s return accessor.__get__(ps) # type: ignore 133s def setter(value): 133s return accessor.__set__(ps, value) # type: ignore 133s str_ps = str(ps) 133s > self.checkRef(str_ps) 133s 133s test_acls.py:926: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = , obj = '---' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s _____________ TestModification.test_permset_via_accessors[execute] _____________ 133s 133s self = , perm = 1 133s txt = 'execute', accessor = 133s 133s @pytest.mark.parametrize("perm, txt, accessor", 133s PERMSETS, ids=PERMSETS_IDS) 133s def test_permset_via_accessors(self, perm, txt, accessor): 133s """Test permissions""" 133s acl = posix1e.ACL() 133s e = acl.append() 133s ps = e.permset 133s ps.clear() 133s def getter(): 133s return accessor.__get__(ps) # type: ignore 133s def setter(value): 133s return accessor.__set__(ps, value) # type: ignore 133s str_ps = str(ps) 133s > self.checkRef(str_ps) 133s 133s test_acls.py:926: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = , obj = '---' 133s 133s def checkRef(self, obj): 133s """Checks if a given obj has a 'sane' refcount""" 133s if platform.python_implementation() == "PyPy": 133s return 133s ref_cnt = sys.getrefcount(obj) 133s # FIXME: hardcoded value for the max ref count... but I've 133s # seen it overflow on bad reference counting, so it's better 133s # to be safe 133s if ref_cnt < 2 or ref_cnt > 1024: 133s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 133s ref_cnt) 133s E Failed: Wrong reference count, expected 2-1024 and got 1 133s 133s test_acls.py:635: Failed 133s =========================== short test summary info ============================ 133s FAILED test_acls.py::TestModification::test_str - Failed: Wrong reference cou... 133s FAILED test_acls.py::TestModification::test_append - Failed: Wrong reference ... 133s FAILED test_acls.py::TestModification::test_entry_creation - Failed: Wrong re... 133s FAILED test_acls.py::TestModification::test_permset[read] - Failed: Wrong ref... 133s FAILED test_acls.py::TestModification::test_permset[write] - Failed: Wrong re... 133s FAILED test_acls.py::TestModification::test_permset[execute] - Failed: Wrong ... 133s FAILED test_acls.py::TestModification::test_permset_via_accessors[read] - Fai... 133s FAILED test_acls.py::TestModification::test_permset_via_accessors[write] - Fa... 133s FAILED test_acls.py::TestModification::test_permset_via_accessors[execute] - ... 133s ============= 9 failed, 143 passed, 3 xfailed, 1 xpassed in 0.58s ============== 133s autopkgtest [21:46:10]: test run-testsuite-if-acls-enabled: -----------------------] 133s autopkgtest [21:46:10]: test run-testsuite-if-acls-enabled: - - - - - - - - - - results - - - - - - - - - - 133s run-testsuite-if-acls-enabled FAIL non-zero exit status 1 134s autopkgtest [21:46:11]: @@@@@@@@@@@@@@@@@@@@ summary 134s simple PASS 134s run-testsuite-if-acls-enabled FAIL non-zero exit status 1