0s autopkgtest [21:13:52]: starting date and time: 2026-01-23 21:13:52+0000 0s autopkgtest [21:13:52]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [21:13:52]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.112ler6a/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-s390x-12.secgroup --name adt-resolute-s390x-python-pylibacl-20260123-211351-juju-7f2275-prod-proposed-migration-environment-2-b561ecc8-5f5f-4b00-bde8-dff030e4c2f1 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-python-pylibacl-20260123-211351-juju-7f2275-prod-proposed-migration-environment-2-b561ecc8-5f5f-4b00-bde8-dff030e4c2f1 from image adt/ubuntu-resolute-s390x-server-20260123.img (UUID 5f2e306c-5dfc-4ef6-8be2-414f657c7562)... 88s autopkgtest [21:15:20]: testbed dpkg architecture: s390x 88s autopkgtest [21:15:20]: testbed apt version: 3.1.13 89s autopkgtest [21:15:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 89s autopkgtest [21:15:21]: testbed release detected to be: None 90s autopkgtest [21:15:22]: updating testbed package index (apt update) 90s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 90s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 90s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 90s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 90s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.6 kB] 90s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [97.3 kB] 90s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1026 kB] 91s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 91s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [109 kB] 91s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [843 kB] 91s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [9152 B] 91s Fetched 2235 kB in 1s (2092 kB/s) 94s Reading package lists... 94s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 95s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 95s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 95s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 99s Reading package lists... 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 102s Calculating upgrade... 103s The following packages were automatically installed and are no longer required: 103s python3.13 python3.13-minimal 103s Use 'sudo apt autoremove' to remove them. 103s The following NEW packages will be installed: 103s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 103s The following packages will be upgraded: 103s libplymouth5 libpython3-stdlib libtasn1-6 plymouth 103s plymouth-theme-ubuntu-text python3 python3-gdbm python3-jaraco.context 103s python3-minimal 103s 9 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 7066 kB of archives. 103s After this operation, 24.3 MB of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-minimal s390x 3.14.2-1 [917 kB] 103s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14-minimal s390x 3.14.2-1 [2510 kB] 103s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.14.2-1 [28.2 kB] 103s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.14.2-1 [22.9 kB] 103s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-stdlib s390x 3.14.2-1 [2373 kB] 103s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14 s390x 3.14.2-1 [816 kB] 103s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.14.2-1 [10.9 kB] 103s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libtasn1-6 s390x 4.21.0-2 [48.6 kB] 103s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libplymouth5 s390x 24.004.60+git20250831.4a3c171d-0ubuntu5 [159 kB] 103s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x plymouth-theme-ubuntu-text s390x 24.004.60+git20250831.4a3c171d-0ubuntu5 [10.2 kB] 103s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x plymouth s390x 24.004.60+git20250831.4a3c171d-0ubuntu5 [152 kB] 103s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-gdbm s390x 3.14.2-1 [11.1 kB] 103s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x python3-jaraco.context all 6.0.1-2 [8198 B] 104s dpkg-preconfigure: unable to re-open stdin: No such file or directory 104s Fetched 7066 kB in 1s (11.6 MB/s) 105s Selecting previously unselected package libpython3.14-minimal:s390x. 106s (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 ... 87685 files and directories currently installed.) 106s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_s390x.deb ... 106s Unpacking libpython3.14-minimal:s390x (3.14.2-1) ... 106s Selecting previously unselected package python3.14-minimal. 106s Preparing to unpack .../python3.14-minimal_3.14.2-1_s390x.deb ... 106s Unpacking python3.14-minimal (3.14.2-1) ... 107s Setting up libpython3.14-minimal:s390x (3.14.2-1) ... 107s Setting up python3.14-minimal (3.14.2-1) ... 111s (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 ... 88027 files and directories currently installed.) 112s Preparing to unpack .../python3-minimal_3.14.2-1_s390x.deb ... 112s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 112s Setting up python3-minimal (3.14.2-1) ... 112s (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 ... 88027 files and directories currently installed.) 112s Preparing to unpack .../0-python3_3.14.2-1_s390x.deb ... 113s running python pre-rtupdate hooks for python3.14... 113s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 113s Selecting previously unselected package libpython3.14-stdlib:s390x. 113s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_s390x.deb ... 113s Unpacking libpython3.14-stdlib:s390x (3.14.2-1) ... 115s Selecting previously unselected package python3.14. 115s Preparing to unpack .../2-python3.14_3.14.2-1_s390x.deb ... 115s Unpacking python3.14 (3.14.2-1) ... 115s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_s390x.deb ... 115s Unpacking libpython3-stdlib:s390x (3.14.2-1) over (3.13.9-3) ... 116s Preparing to unpack .../4-libtasn1-6_4.21.0-2_s390x.deb ... 116s Unpacking libtasn1-6:s390x (4.21.0-2) over (4.20.0-2ubuntu1) ... 116s Preparing to unpack .../5-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu5_s390x.deb ... 116s Unpacking libplymouth5:s390x (24.004.60+git20250831.4a3c171d-0ubuntu5) over (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 116s Preparing to unpack .../6-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu5_s390x.deb ... 117s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu5) over (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 117s Preparing to unpack .../7-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu5_s390x.deb ... 117s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu5) over (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 118s Preparing to unpack .../8-python3-gdbm_3.14.2-1_s390x.deb ... 118s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 118s Preparing to unpack .../9-python3-jaraco.context_6.0.1-2_all.deb ... 118s Unpacking python3-jaraco.context (6.0.1-2) over (6.0.1-1build1) ... 119s Setting up libpython3.14-stdlib:s390x (3.14.2-1) ... 119s Setting up libplymouth5:s390x (24.004.60+git20250831.4a3c171d-0ubuntu5) ... 119s Setting up libtasn1-6:s390x (4.21.0-2) ... 119s Setting up python3.14 (3.14.2-1) ... 125s Setting up libpython3-stdlib:s390x (3.14.2-1) ... 125s Setting up python3-gdbm (3.14.2-1) ... 125s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu5) ... 125s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 126s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 127s Setting up python3 (3.14.2-1) ... 127s running python rtupdate hooks for python3.14... 127s running python post-rtupdate hooks for python3.14... 127s Setting up python3-jaraco.context (6.0.1-2) ... 128s Processing triggers for libc-bin (2.42-2ubuntu4) ... 129s Processing triggers for systemd (259-1ubuntu2) ... 129s Processing triggers for man-db (2.13.1-1) ... 136s Processing triggers for initramfs-tools (0.150ubuntu7) ... 136s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 155s Using config file '/etc/zipl.conf' 155s Building bootmap in '/boot' 155s Adding IPL section 'ubuntu' (default) 155s Preparing boot device: vda. 155s Done. 155s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu5) ... 155s Processing triggers for initramfs-tools (0.150ubuntu7) ... 156s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 178s Using config file '/etc/zipl.conf' 178s Building bootmap in '/boot' 178s Adding IPL section 'ubuntu' (default) 179s Preparing boot device: vda. 179s Done. 180s autopkgtest [21:16:52]: upgrading testbed (apt dist-upgrade and autopurge) 180s Reading package lists... 181s Building dependency tree... 181s Reading state information... 181s Calculating upgrade... 182s The following packages were automatically installed and are no longer required: 182s python3.13 python3.13-minimal 182s Use 'sudo apt autoremove' to remove them. 183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s Reading package lists... 183s Building dependency tree... 183s Reading state information... 183s Solving dependencies... 184s The following packages will be REMOVED: 184s python3.13* python3.13-minimal* 185s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 185s After this operation, 8012 kB disk space will be freed. 186s (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 ... 88454 files and directories currently installed.) 186s Removing python3.13 (3.13.11-1) ... 187s Removing python3.13-minimal (3.13.11-1) ... 190s Processing triggers for man-db (2.13.1-1) ... 192s Processing triggers for systemd (259-1ubuntu2) ... 193s (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 ... 88427 files and directories currently installed.) 193s Purging configuration files for python3.13-minimal (3.13.11-1) ... 195s autopkgtest [21:17:07]: rebooting testbed after setup commands that affected boot 253s autopkgtest [21:18:05]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP Mon Jan 12 15:39:23 UTC 2026 256s autopkgtest [21:18:08]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pylibacl 259s Get:1 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (dsc) [2430 B] 259s Get:2 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (tar) [49.3 kB] 259s Get:3 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (asc) [833 B] 259s Get:4 http://ftpmaster.internal/ubuntu resolute/main python-pylibacl 0.7.2-1build1 (diff) [10.3 kB] 259s gpgv: Signature made Sat Oct 18 14:09:05 2025 UTC 259s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 259s gpgv: Can't check signature: No public key 259s dpkg-source: warning: cannot verify inline signature for ./python-pylibacl_0.7.2-1build1.dsc: no acceptable signature found 259s autopkgtest [21:18:11]: testing package python-pylibacl version 0.7.2-1build1 259s autopkgtest [21:18:11]: build not needed 259s autopkgtest [21:18:11]: test simple: preparing testbed 259s Reading package lists... 260s Building dependency tree... 260s Reading state information... 260s Solving dependencies... 261s The following NEW packages will be installed: 261s acl python-pylibacl-doc python3-iniconfig python3-pluggy python3-pylibacl 261s python3-pytest 261s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 261s Need to get 398 kB of archives. 261s After this operation, 2073 kB of additional disk space will be used. 261s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x acl s390x 2.3.2-2 [40.4 kB] 261s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python-pylibacl-doc all 0.7.2-1build1 [30.3 kB] 261s Get:3 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-iniconfig all 2.1.0-2 [6962 B] 261s Get:4 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pluggy all 1.6.0-2 [21.1 kB] 261s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x python3-pylibacl s390x 0.7.2-1build1 [22.2 kB] 261s Get:6 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest all 9.0.2-2 [277 kB] 261s Fetched 398 kB in 0s (2447 kB/s) 262s Selecting previously unselected package acl. 262s (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 ... 88429 files and directories currently installed.) 262s Preparing to unpack .../0-acl_2.3.2-2_s390x.deb ... 262s Unpacking acl (2.3.2-2) ... 262s Selecting previously unselected package python-pylibacl-doc. 262s Preparing to unpack .../1-python-pylibacl-doc_0.7.2-1build1_all.deb ... 262s Unpacking python-pylibacl-doc (0.7.2-1build1) ... 262s Selecting previously unselected package python3-iniconfig. 262s Preparing to unpack .../2-python3-iniconfig_2.1.0-2_all.deb ... 262s Unpacking python3-iniconfig (2.1.0-2) ... 262s Selecting previously unselected package python3-pluggy. 262s Preparing to unpack .../3-python3-pluggy_1.6.0-2_all.deb ... 262s Unpacking python3-pluggy (1.6.0-2) ... 262s Selecting previously unselected package python3-pylibacl:s390x. 262s Preparing to unpack .../4-python3-pylibacl_0.7.2-1build1_s390x.deb ... 262s Unpacking python3-pylibacl:s390x (0.7.2-1build1) ... 262s Selecting previously unselected package python3-pytest. 262s Preparing to unpack .../5-python3-pytest_9.0.2-2_all.deb ... 262s Unpacking python3-pytest (9.0.2-2) ... 262s Setting up python3-iniconfig (2.1.0-2) ... 263s Setting up python3-pylibacl:s390x (0.7.2-1build1) ... 263s Setting up acl (2.3.2-2) ... 263s Setting up python3-pluggy (1.6.0-2) ... 263s Setting up python-pylibacl-doc (0.7.2-1build1) ... 263s Setting up python3-pytest (9.0.2-2) ... 265s Processing triggers for man-db (2.13.1-1) ... 269s autopkgtest [21:18:21]: test simple: [----------------------- 269s 269s autopkgtest [21:18:21]: test simple: -----------------------] 270s autopkgtest [21:18:22]: test simple: - - - - - - - - - - results - - - - - - - - - - 270s simple PASS 270s autopkgtest [21:18:22]: test run-testsuite-if-acls-enabled: preparing testbed 270s Reading package lists... 271s Building dependency tree... 271s Reading state information... 271s Solving dependencies... 271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 272s autopkgtest [21:18:24]: test run-testsuite-if-acls-enabled: [----------------------- 273s Temporary directory '/tmp/autopkgtest.EgEJaP/autopkgtest_tmp' has ACLs enabled, running tests 273s * testing Python 3 273s 274s ============================= test session starts ============================== 274s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 274s rootdir: /tmp/autopkgtest.EgEJaP/autopkgtest_tmp 274s plugins: typeguard-4.4.4 274s collected 156 items 274s 275s test_acls.py ..........................X................................ [ 37%] 275s .x..............FF.xF......x............FFFFFF.......................... [ 83%] 276s ......................... [100%] 276s 276s =================================== FAILURES =================================== 276s __________________________ TestModification.test_str ___________________________ 276s 276s self = 276s 276s def test_str(self): 276s """Test str() of an ACL.""" 276s acl = posix1e.ACL(text=BASIC_ACL_TEXT) 276s str_acl = str(acl) 276s > self.checkRef(str_acl) 276s 276s test_acls.py:642: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = 276s obj = 'user::rw-\ngroup::r--\nother::---\n' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s _________________________ TestModification.test_append _________________________ 276s 276s self = 276s 276s def test_append(self): 276s """Test append a new Entry to the ACL""" 276s acl = posix1e.ACL() 276s e = acl.append() 276s e.tag_type = posix1e.ACL_OTHER 276s ignore_ioerror(errno.EINVAL, acl.calc_mask) 276s str_format = str(e) 276s > self.checkRef(str_format) 276s 276s test_acls.py:651: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = 276s obj = 'ACL entry for the others' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s _____________________ TestModification.test_entry_creation _____________________ 276s 276s self = 276s 276s def test_entry_creation(self): 276s acl = posix1e.ACL() 276s e = posix1e.Entry(acl) 276s ignore_ioerror(errno.EINVAL, acl.calc_mask) 276s str_format = str(e) 276s > self.checkRef(str_format) 276s 276s test_acls.py:678: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = 276s obj = 'ACL entry for undefined type' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s _____________________ TestModification.test_permset[read] ______________________ 276s 276s self = , perm = 4 276s txt = 'read' 276s 276s @pytest.mark.parametrize("perm, txt, accessor", 276s PERMSETS, ids=PERMSETS_IDS) 276s def test_permset(self, perm, txt, accessor): 276s """Test permissions""" 276s del accessor 276s acl = posix1e.ACL() 276s e = acl.append() 276s ps = e.permset 276s ps.clear() 276s str_ps = str(ps) 276s > self.checkRef(str_ps) 276s 276s test_acls.py:893: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = , obj = '---' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s _____________________ TestModification.test_permset[write] _____________________ 276s 276s self = , perm = 2 276s txt = 'write' 276s 276s @pytest.mark.parametrize("perm, txt, accessor", 276s PERMSETS, ids=PERMSETS_IDS) 276s def test_permset(self, perm, txt, accessor): 276s """Test permissions""" 276s del accessor 276s acl = posix1e.ACL() 276s e = acl.append() 276s ps = e.permset 276s ps.clear() 276s str_ps = str(ps) 276s > self.checkRef(str_ps) 276s 276s test_acls.py:893: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = , obj = '---' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s ____________________ TestModification.test_permset[execute] ____________________ 276s 276s self = , perm = 1 276s txt = 'execute' 276s 276s @pytest.mark.parametrize("perm, txt, accessor", 276s PERMSETS, ids=PERMSETS_IDS) 276s def test_permset(self, perm, txt, accessor): 276s """Test permissions""" 276s del accessor 276s acl = posix1e.ACL() 276s e = acl.append() 276s ps = e.permset 276s ps.clear() 276s str_ps = str(ps) 276s > self.checkRef(str_ps) 276s 276s test_acls.py:893: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = , obj = '---' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s ______________ TestModification.test_permset_via_accessors[read] _______________ 276s 276s self = , perm = 4 276s txt = 'read', accessor = 276s 276s @pytest.mark.parametrize("perm, txt, accessor", 276s PERMSETS, ids=PERMSETS_IDS) 276s def test_permset_via_accessors(self, perm, txt, accessor): 276s """Test permissions""" 276s acl = posix1e.ACL() 276s e = acl.append() 276s ps = e.permset 276s ps.clear() 276s def getter(): 276s return accessor.__get__(ps) # type: ignore 276s def setter(value): 276s return accessor.__set__(ps, value) # type: ignore 276s str_ps = str(ps) 276s > self.checkRef(str_ps) 276s 276s test_acls.py:926: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = , obj = '---' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s ______________ TestModification.test_permset_via_accessors[write] ______________ 276s 276s self = , perm = 2 276s txt = 'write', accessor = 276s 276s @pytest.mark.parametrize("perm, txt, accessor", 276s PERMSETS, ids=PERMSETS_IDS) 276s def test_permset_via_accessors(self, perm, txt, accessor): 276s """Test permissions""" 276s acl = posix1e.ACL() 276s e = acl.append() 276s ps = e.permset 276s ps.clear() 276s def getter(): 276s return accessor.__get__(ps) # type: ignore 276s def setter(value): 276s return accessor.__set__(ps, value) # type: ignore 276s str_ps = str(ps) 276s > self.checkRef(str_ps) 276s 276s test_acls.py:926: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = , obj = '---' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s _____________ TestModification.test_permset_via_accessors[execute] _____________ 276s 276s self = , perm = 1 276s txt = 'execute', accessor = 276s 276s @pytest.mark.parametrize("perm, txt, accessor", 276s PERMSETS, ids=PERMSETS_IDS) 276s def test_permset_via_accessors(self, perm, txt, accessor): 276s """Test permissions""" 276s acl = posix1e.ACL() 276s e = acl.append() 276s ps = e.permset 276s ps.clear() 276s def getter(): 276s return accessor.__get__(ps) # type: ignore 276s def setter(value): 276s return accessor.__set__(ps, value) # type: ignore 276s str_ps = str(ps) 276s > self.checkRef(str_ps) 276s 276s test_acls.py:926: 276s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 276s 276s self = , obj = '---' 276s 276s def checkRef(self, obj): 276s """Checks if a given obj has a 'sane' refcount""" 276s if platform.python_implementation() == "PyPy": 276s return 276s ref_cnt = sys.getrefcount(obj) 276s # FIXME: hardcoded value for the max ref count... but I've 276s # seen it overflow on bad reference counting, so it's better 276s # to be safe 276s if ref_cnt < 2 or ref_cnt > 1024: 276s > pytest.fail("Wrong reference count, expected 2-1024 and got %d" % 276s ref_cnt) 276s E Failed: Wrong reference count, expected 2-1024 and got 1 276s 276s test_acls.py:635: Failed 276s =========================== short test summary info ============================ 276s FAILED test_acls.py::TestModification::test_str - Failed: Wrong reference cou... 276s FAILED test_acls.py::TestModification::test_append - Failed: Wrong reference ... 276s FAILED test_acls.py::TestModification::test_entry_creation - Failed: Wrong re... 276s FAILED test_acls.py::TestModification::test_permset[read] - Failed: Wrong ref... 276s FAILED test_acls.py::TestModification::test_permset[write] - Failed: Wrong re... 276s FAILED test_acls.py::TestModification::test_permset[execute] - Failed: Wrong ... 276s FAILED test_acls.py::TestModification::test_permset_via_accessors[read] - Fai... 276s FAILED test_acls.py::TestModification::test_permset_via_accessors[write] - Fa... 276s FAILED test_acls.py::TestModification::test_permset_via_accessors[execute] - ... 276s ============= 9 failed, 143 passed, 3 xfailed, 1 xpassed in 1.71s ============== 277s autopkgtest [21:18:29]: test run-testsuite-if-acls-enabled: -----------------------] 277s run-testsuite-if-acls-enabled FAIL non-zero exit status 1 277s autopkgtest [21:18:29]: test run-testsuite-if-acls-enabled: - - - - - - - - - - results - - - - - - - - - - 277s autopkgtest [21:18:29]: @@@@@@@@@@@@@@@@@@@@ summary 277s simple PASS 277s run-testsuite-if-acls-enabled FAIL non-zero exit status 1