0s autopkgtest [04:16:45]: starting date and time: 2025-02-19 04:16:45+0000 0s autopkgtest [04:16:45]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [04:16:45]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.18k0fqzg/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-marshmallow --apt-upgrade python-marshmallow-polyfield --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-marshmallow/3.26.1-0.1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-24.secgroup --name adt-plucky-amd64-python-marshmallow-polyfield-20250219-041644-juju-7f2275-prod-proposed-migration-environment-20-31a8ff3a-f4fa-4222-9636-24a409b4a76b --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 232s autopkgtest [04:20:37]: testbed dpkg architecture: amd64 233s autopkgtest [04:20:38]: testbed apt version: 2.9.29 233s autopkgtest [04:20:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 233s autopkgtest [04:20:38]: testbed release detected to be: None 234s autopkgtest [04:20:39]: updating testbed package index (apt update) 234s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 235s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 235s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 235s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 235s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [788 kB] 235s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 235s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [79.1 kB] 235s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 235s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [106 kB] 235s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [84.0 kB] 235s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2412 B] 235s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [7984 B] 235s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [271 kB] 235s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [712 kB] 235s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [3440 B] 235s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [12.4 kB] 235s Fetched 2194 kB in 1s (2176 kB/s) 236s Reading package lists... 237s Reading package lists... 237s Building dependency tree... 237s Reading state information... 237s Calculating upgrade... 238s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 238s Reading package lists... 238s Building dependency tree... 238s Reading state information... 238s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 238s autopkgtest [04:20:43]: upgrading testbed (apt dist-upgrade and autopurge) 238s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 239s Starting 2 pkgProblemResolver with broken count: 0 239s Done 240s Entering ResolveByKeep 240s 240s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 241s Starting pkgProblemResolver with broken count: 0 241s Starting 2 pkgProblemResolver with broken count: 0 241s Done 241s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 244s autopkgtest [04:20:49]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 4 16:02:16 UTC 2025 244s autopkgtest [04:20:49]: @@@@@@@@@@@@@@@@@@@@ apt-source python-marshmallow-polyfield 245s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-marshmallow-polyfield 5.10-1 (dsc) [2324 B] 245s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-marshmallow-polyfield 5.10-1 (tar) [10.6 kB] 245s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-marshmallow-polyfield 5.10-1 (diff) [2696 B] 246s gpgv: Signature made Sat Sep 18 15:43:30 2021 UTC 246s gpgv: using RSA key 77C9619C49D6A2CDCDF2FFAA428304A1748DCC7A 246s gpgv: Can't check signature: No public key 246s dpkg-source: warning: cannot verify inline signature for ./python-marshmallow-polyfield_5.10-1.dsc: no acceptable signature found 246s autopkgtest [04:20:51]: testing package python-marshmallow-polyfield version 5.10-1 246s autopkgtest [04:20:51]: build not needed 246s autopkgtest [04:20:51]: test upstream-tests: preparing testbed 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 247s Starting pkgProblemResolver with broken count: 0 247s Starting 2 pkgProblemResolver with broken count: 0 247s Done 248s The following NEW packages will be installed: 248s python3-all python3-iniconfig python3-marshmallow 248s python3-marshmallow-polyfield python3-packaging python3-pluggy 248s python3-pytest python3.12 python3.12-minimal 248s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 248s Need to get 3404 kB of archives. 248s After this operation, 10.9 MB of additional disk space will be used. 248s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12-minimal amd64 3.12.9-1 [2348 kB] 249s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12 amd64 3.12.9-1 [671 kB] 249s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.13.1-1~exp2 [894 B] 249s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 249s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 249s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-marshmallow all 3.26.1-0.1 [47.5 kB] 249s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-marshmallow-polyfield all 5.10-1 [6118 B] 249s Get:8 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 249s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.4-1 [252 kB] 249s Fetched 3404 kB in 1s (2702 kB/s) 249s Selecting previously unselected package python3.12-minimal. 249s (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 ... 108925 files and directories currently installed.) 249s Preparing to unpack .../0-python3.12-minimal_3.12.9-1_amd64.deb ... 249s Unpacking python3.12-minimal (3.12.9-1) ... 249s Selecting previously unselected package python3.12. 249s Preparing to unpack .../1-python3.12_3.12.9-1_amd64.deb ... 249s Unpacking python3.12 (3.12.9-1) ... 250s Selecting previously unselected package python3-all. 250s Preparing to unpack .../2-python3-all_3.13.1-1~exp2_amd64.deb ... 250s Unpacking python3-all (3.13.1-1~exp2) ... 250s Selecting previously unselected package python3-iniconfig. 250s Preparing to unpack .../3-python3-iniconfig_1.1.1-2_all.deb ... 250s Unpacking python3-iniconfig (1.1.1-2) ... 250s Selecting previously unselected package python3-packaging. 250s Preparing to unpack .../4-python3-packaging_24.2-1_all.deb ... 250s Unpacking python3-packaging (24.2-1) ... 250s Selecting previously unselected package python3-marshmallow. 250s Preparing to unpack .../5-python3-marshmallow_3.26.1-0.1_all.deb ... 250s Unpacking python3-marshmallow (3.26.1-0.1) ... 250s Selecting previously unselected package python3-marshmallow-polyfield. 250s Preparing to unpack .../6-python3-marshmallow-polyfield_5.10-1_all.deb ... 250s Unpacking python3-marshmallow-polyfield (5.10-1) ... 250s Selecting previously unselected package python3-pluggy. 250s Preparing to unpack .../7-python3-pluggy_1.5.0-1_all.deb ... 250s Unpacking python3-pluggy (1.5.0-1) ... 250s Selecting previously unselected package python3-pytest. 250s Preparing to unpack .../8-python3-pytest_8.3.4-1_all.deb ... 250s Unpacking python3-pytest (8.3.4-1) ... 250s Setting up python3-iniconfig (1.1.1-2) ... 250s Setting up python3.12-minimal (3.12.9-1) ... 251s Setting up python3.12 (3.12.9-1) ... 252s Setting up python3-all (3.13.1-1~exp2) ... 252s Setting up python3-packaging (24.2-1) ... 252s Setting up python3-pluggy (1.5.0-1) ... 252s Setting up python3-pytest (8.3.4-1) ... 253s Setting up python3-marshmallow (3.26.1-0.1) ... 253s Setting up python3-marshmallow-polyfield (5.10-1) ... 253s Processing triggers for man-db (2.13.0-1) ... 253s Processing triggers for systemd (257.2-3ubuntu1) ... 254s autopkgtest [04:20:59]: test upstream-tests: [----------------------- 255s 'tests' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests' 255s 'tests/__init__.py' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/__init__.py' 255s 'tests/polyclasses.py' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/polyclasses.py' 255s 'tests/shapes.py' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/shapes.py' 255s 'tests/test_deserialization.py' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/test_deserialization.py' 255s 'tests/test_polyfield_base.py' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/test_polyfield_base.py' 255s 'tests/test_serialization.py' -> '/tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/test_serialization.py' 255s Running testsuite with python3.12: 255s ============================= test session starts ============================== 255s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 255s rootdir: /tmp/autopkgtest.RVb0Qm/autopkgtest_tmp 255s plugins: typeguard-4.4.1 255s collected 19 items 255s 255s tests/test_deserialization.py ........... [ 57%] 255s tests/test_polyfield_base.py . [ 63%] 255s tests/test_serialization.py ..F.F.F [100%] 255s 255s =================================== FAILURES =================================== 255s _____________________ test_serializing_polyfield_rectangle _____________________ 255s 255s self = , attribute=None, validate=None, required=False, load_only=False, ...equired': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})> 255s value = , key = 'shape' 255s obj = Sticker(shape=, image='marshmallow.png') 255s kwargs = {}, schema = 255s 255s def _serialize(self, value, key, obj, **kwargs): 255s if value is None: 255s return None 255s try: 255s if self.many: 255s res = [] 255s for v in value: 255s schema = self.serialization_schema_selector(v, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s res.append(schema.dump(v)) 255s return res 255s else: 255s schema = self.serialization_schema_selector(value, obj) 255s > schema.context.update(getattr(self, 'context', {})) 255s E TypeError: 'NoneType' object is not iterable 255s 255s /usr/lib/python3/dist-packages/marshmallow_polyfield/polyfield.py:74: TypeError 255s 255s During handling of the above exception, another exception occurred: 255s 255s args_ = () 255s 255s def wrapped(*args_): 255s return [ 255s > func(*(args_ + (a,))) 255s for a in args 255s ] 255s 255s tests/polyclasses.py:15: 255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 255s tests/test_serialization.py:52: in test_serializing_polyfield_rectangle 255s rect_dict = field.serialize('shape', marshmallow_sticker) 255s /usr/lib/python3/dist-packages/marshmallow/fields.py:348: in serialize 255s return self._serialize(value, attr, obj, **kwargs) 255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 255s 255s self = , attribute=None, validate=None, required=False, load_only=False, ...equired': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})> 255s value = , key = 'shape' 255s obj = Sticker(shape=, image='marshmallow.png') 255s kwargs = {}, schema = 255s 255s def _serialize(self, value, key, obj, **kwargs): 255s if value is None: 255s return None 255s try: 255s if self.many: 255s res = [] 255s for v in value: 255s schema = self.serialization_schema_selector(v, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s res.append(schema.dump(v)) 255s return res 255s else: 255s schema = self.serialization_schema_selector(value, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s return schema.dump(value) 255s except Exception as err: 255s > raise TypeError( 255s 'Failed to serialize object. Error: {0}\n' 255s ' Ensure the serialization_schema_selector exists and ' 255s ' returns a Schema and that schema' 255s ' can serialize this value {1}'.format(err, value)) 255s E TypeError: Failed to serialize object. Error: 'NoneType' object is not iterable 255s E Ensure the serialization_schema_selector exists and returns a Schema and that schema can serialize this value 255s 255s /usr/lib/python3/dist-packages/marshmallow_polyfield/polyfield.py:77: TypeError 255s _______________________ test_serializing_polyfield_many ________________________ 255s 255s self = , attribute=None, validate=None, required=False, load_only=False, ...equired': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})> 255s value = [, ] 255s key = 'shapes' 255s obj = StickerCollection(shapes=[, ], image='marshmallow.png') 255s kwargs = {}, res = [], v = 255s schema = 255s 255s def _serialize(self, value, key, obj, **kwargs): 255s if value is None: 255s return None 255s try: 255s if self.many: 255s res = [] 255s for v in value: 255s schema = self.serialization_schema_selector(v, obj) 255s > schema.context.update(getattr(self, 'context', {})) 255s E TypeError: 'NoneType' object is not iterable 255s 255s /usr/lib/python3/dist-packages/marshmallow_polyfield/polyfield.py:69: TypeError 255s 255s During handling of the above exception, another exception occurred: 255s 255s args_ = () 255s 255s def wrapped(*args_): 255s return [ 255s > func(*(args_ + (a,))) 255s for a in args 255s ] 255s 255s tests/polyclasses.py:15: 255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 255s tests/test_serialization.py:79: in test_serializing_polyfield_many 255s shapes = field.serialize('shapes', marshmallow_sticker_collection) 255s /usr/lib/python3/dist-packages/marshmallow/fields.py:348: in serialize 255s return self._serialize(value, attr, obj, **kwargs) 255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 255s 255s self = , attribute=None, validate=None, required=False, load_only=False, ...equired': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})> 255s value = [, ] 255s key = 'shapes' 255s obj = StickerCollection(shapes=[, ], image='marshmallow.png') 255s kwargs = {}, res = [], v = 255s schema = 255s 255s def _serialize(self, value, key, obj, **kwargs): 255s if value is None: 255s return None 255s try: 255s if self.many: 255s res = [] 255s for v in value: 255s schema = self.serialization_schema_selector(v, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s res.append(schema.dump(v)) 255s return res 255s else: 255s schema = self.serialization_schema_selector(value, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s return schema.dump(value) 255s except Exception as err: 255s > raise TypeError( 255s 'Failed to serialize object. Error: {0}\n' 255s ' Ensure the serialization_schema_selector exists and ' 255s ' returns a Schema and that schema' 255s ' can serialize this value {1}'.format(err, value)) 255s E TypeError: Failed to serialize object. Error: 'NoneType' object is not iterable 255s E Ensure the serialization_schema_selector exists and returns a Schema and that schema can serialize this value [, ] 255s 255s /usr/lib/python3/dist-packages/marshmallow_polyfield/polyfield.py:77: TypeError 255s __________________ test_serializing_polyfield_by_parent_type ___________________ 255s 255s self = , attribute=None, validate=None, required=False, load_only=False, ...equired': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})> 255s value = , key = 'shape' 255s obj = Sticker(shape=, image='marshmallow.png', type='rectangle') 255s kwargs = {}, schema = 255s 255s def _serialize(self, value, key, obj, **kwargs): 255s if value is None: 255s return None 255s try: 255s if self.many: 255s res = [] 255s for v in value: 255s schema = self.serialization_schema_selector(v, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s res.append(schema.dump(v)) 255s return res 255s else: 255s schema = self.serialization_schema_selector(value, obj) 255s > schema.context.update(getattr(self, 'context', {})) 255s E TypeError: 'NoneType' object is not iterable 255s 255s /usr/lib/python3/dist-packages/marshmallow_polyfield/polyfield.py:74: TypeError 255s 255s During handling of the above exception, another exception occurred: 255s 255s args_ = () 255s 255s def wrapped(*args_): 255s return [ 255s > func(*(args_ + (a,))) 255s for a in args 255s ] 255s 255s tests/polyclasses.py:15: 255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 255s tests/test_serialization.py:99: in test_serializing_polyfield_by_parent_type 255s rect_dict = field.serialize('shape', marshmallow_sticker) 255s /usr/lib/python3/dist-packages/marshmallow/fields.py:348: in serialize 255s return self._serialize(value, attr, obj, **kwargs) 255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 255s 255s self = , attribute=None, validate=None, required=False, load_only=False, ...equired': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})> 255s value = , key = 'shape' 255s obj = Sticker(shape=, image='marshmallow.png', type='rectangle') 255s kwargs = {}, schema = 255s 255s def _serialize(self, value, key, obj, **kwargs): 255s if value is None: 255s return None 255s try: 255s if self.many: 255s res = [] 255s for v in value: 255s schema = self.serialization_schema_selector(v, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s res.append(schema.dump(v)) 255s return res 255s else: 255s schema = self.serialization_schema_selector(value, obj) 255s schema.context.update(getattr(self, 'context', {})) 255s return schema.dump(value) 255s except Exception as err: 255s > raise TypeError( 255s 'Failed to serialize object. Error: {0}\n' 255s ' Ensure the serialization_schema_selector exists and ' 255s ' returns a Schema and that schema' 255s ' can serialize this value {1}'.format(err, value)) 255s E TypeError: Failed to serialize object. Error: 'NoneType' object is not iterable 255s E Ensure the serialization_schema_selector exists and returns a Schema and that schema can serialize this value 255s 255s /usr/lib/python3/dist-packages/marshmallow_polyfield/polyfield.py:77: TypeError 255s =============================== warnings summary =============================== 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_none 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_none returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserailize_polyfield_none_required 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserailize_polyfield_none_required returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_type_error 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_type_error returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_validation_error 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_validation_error returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_generic_error 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_generic_error returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_schema_returned_is_invalid 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_invalid_schema_returned_is_invalid returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_errors 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyField::test_deserialize_polyfield_errors returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_deserialization.py::TestPolyFieldDisambiguationByProperty::test_deserialize_polyfield 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_deserialization.py::TestPolyFieldDisambiguationByProperty::test_deserialize_polyfield returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_serialization.py::test_serializing_named_tuple 255s /tmp/autopkgtest.RVb0Qm/autopkgtest_tmp/tests/test_serialization.py:27: ChangedInMarshmallow4Warning: `Field` should not be instantiated. Use `fields.Raw` or another field subclass instead. 255s field = fields.Field() 255s 255s tests/test_serialization.py::test_serializing_polyfield_None 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_serialization.py::test_serializing_polyfield_None returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s tests/test_serialization.py::test_invalid_polyfield 255s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_serialization.py::test_invalid_polyfield returned [None, None], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 255s warnings.warn( 255s 255s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 255s =========================== short test summary info ============================ 255s FAILED tests/test_serialization.py::test_serializing_polyfield_rectangle - Ty... 255s FAILED tests/test_serialization.py::test_serializing_polyfield_many - TypeErr... 255s FAILED tests/test_serialization.py::test_serializing_polyfield_by_parent_type 255s ================== 3 failed, 16 passed, 12 warnings in 0.13s =================== 255s autopkgtest [04:21:00]: test upstream-tests: -----------------------] 256s autopkgtest [04:21:01]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 256s upstream-tests FAIL non-zero exit status 1 256s autopkgtest [04:21:01]: test autodep8-python3: preparing testbed 469s autopkgtest [04:24:34]: testbed dpkg architecture: amd64 469s autopkgtest [04:24:34]: testbed apt version: 2.9.29 469s autopkgtest [04:24:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 470s autopkgtest [04:24:35]: testbed release detected to be: plucky 470s autopkgtest [04:24:35]: updating testbed package index (apt update) 471s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 471s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 471s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 471s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 471s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 471s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [79.1 kB] 471s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [788 kB] 472s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 472s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [84.0 kB] 472s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [106 kB] 472s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2412 B] 472s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [7984 B] 472s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [712 kB] 472s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [271 kB] 472s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [12.4 kB] 472s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [3440 B] 472s Fetched 2194 kB in 2s (1429 kB/s) 473s Reading package lists... 474s Reading package lists... 474s Building dependency tree... 474s Reading state information... 474s Calculating upgrade... 474s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 474s Reading package lists... 475s Building dependency tree... 475s Reading state information... 475s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 475s autopkgtest [04:24:40]: upgrading testbed (apt dist-upgrade and autopurge) 475s Reading package lists... 475s Building dependency tree... 475s Reading state information... 475s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 475s Starting 2 pkgProblemResolver with broken count: 0 475s Done 476s Entering ResolveByKeep 476s 476s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 476s Reading package lists... 477s Building dependency tree... 477s Reading state information... 477s Starting pkgProblemResolver with broken count: 0 477s Starting 2 pkgProblemResolver with broken count: 0 477s Done 477s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 480s Reading package lists... 481s Building dependency tree... 481s Reading state information... 481s Starting pkgProblemResolver with broken count: 0 481s Starting 2 pkgProblemResolver with broken count: 0 481s Done 482s The following NEW packages will be installed: 482s python3-all python3-marshmallow python3-marshmallow-polyfield 482s python3-packaging python3.12 python3.12-minimal 483s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 483s Need to get 3125 kB of archives. 483s After this operation, 9475 kB of additional disk space will be used. 483s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12-minimal amd64 3.12.9-1 [2348 kB] 484s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12 amd64 3.12.9-1 [671 kB] 484s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.13.1-1~exp2 [894 B] 484s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 484s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-marshmallow all 3.26.1-0.1 [47.5 kB] 484s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-marshmallow-polyfield all 5.10-1 [6118 B] 484s Fetched 3125 kB in 2s (1535 kB/s) 484s Selecting previously unselected package python3.12-minimal. 484s (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 ... 108925 files and directories currently installed.) 484s Preparing to unpack .../0-python3.12-minimal_3.12.9-1_amd64.deb ... 484s Unpacking python3.12-minimal (3.12.9-1) ... 485s Selecting previously unselected package python3.12. 485s Preparing to unpack .../1-python3.12_3.12.9-1_amd64.deb ... 485s Unpacking python3.12 (3.12.9-1) ... 485s Selecting previously unselected package python3-all. 485s Preparing to unpack .../2-python3-all_3.13.1-1~exp2_amd64.deb ... 485s Unpacking python3-all (3.13.1-1~exp2) ... 485s Selecting previously unselected package python3-packaging. 485s Preparing to unpack .../3-python3-packaging_24.2-1_all.deb ... 485s Unpacking python3-packaging (24.2-1) ... 485s Selecting previously unselected package python3-marshmallow. 485s Preparing to unpack .../4-python3-marshmallow_3.26.1-0.1_all.deb ... 485s Unpacking python3-marshmallow (3.26.1-0.1) ... 485s Selecting previously unselected package python3-marshmallow-polyfield. 485s Preparing to unpack .../5-python3-marshmallow-polyfield_5.10-1_all.deb ... 485s Unpacking python3-marshmallow-polyfield (5.10-1) ... 485s Setting up python3.12-minimal (3.12.9-1) ... 486s Setting up python3.12 (3.12.9-1) ... 487s Setting up python3-all (3.13.1-1~exp2) ... 487s Setting up python3-packaging (24.2-1) ... 487s Setting up python3-marshmallow (3.26.1-0.1) ... 488s Setting up python3-marshmallow-polyfield (5.10-1) ... 488s Processing triggers for man-db (2.13.0-1) ... 488s Processing triggers for systemd (257.2-3ubuntu1) ... 490s autopkgtest [04:24:55]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import marshmallow_polyfield; print(marshmallow_polyfield)" ; done 490s autopkgtest [04:24:55]: test autodep8-python3: [----------------------- 490s Testing with python3.12: 491s 491s Testing with python3.13: 491s 491s autopkgtest [04:24:56]: test autodep8-python3: -----------------------] 491s autodep8-python3 PASS (superficial) 491s autopkgtest [04:24:56]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 492s autopkgtest [04:24:57]: @@@@@@@@@@@@@@@@@@@@ summary 492s upstream-tests FAIL non-zero exit status 1 492s autodep8-python3 PASS (superficial) 511s nova [W] Skipping flock for amd64 511s Creating nova instance adt-plucky-amd64-python-marshmallow-polyfield-20250219-041644-juju-7f2275-prod-proposed-migration-environment-20-31a8ff3a-f4fa-4222-9636-24a409b4a76b from image adt/ubuntu-plucky-amd64-server-20250219.img (UUID 90711abf-916f-4a80-845a-825250a78697)... 511s nova [W] Timed out waiting for 07566fa8-cc11-41d8-bab9-08f44d5bbeac to get deleted. 511s nova [W] Skipping flock for amd64 511s Creating nova instance adt-plucky-amd64-python-marshmallow-polyfield-20250219-041644-juju-7f2275-prod-proposed-migration-environment-20-31a8ff3a-f4fa-4222-9636-24a409b4a76b from image adt/ubuntu-plucky-amd64-server-20250219.img (UUID 90711abf-916f-4a80-845a-825250a78697)... 511s nova [W] Timed out waiting for 9f4605b7-4815-41a3-9c1b-85c6191744a4 to get deleted.