0s autopkgtest [17:03:56]: starting date and time: 2025-11-17 17:03:56+0000 0s autopkgtest [17:03:56]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [17:03:56]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.z8n6q_fc/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:dt-schema --apt-upgrade dt-schema --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=dt-schema/2025.08-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-5.secgroup --name adt-resolute-arm64-dt-schema-20251117-170356-juju-7f2275-prod-proposed-migration-environment-2-a321f3bb-00d1-42a8-89ab-9c0521d3595c --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-dt-schema-20251117-170356-juju-7f2275-prod-proposed-migration-environment-2-a321f3bb-00d1-42a8-89ab-9c0521d3595c from image adt/ubuntu-resolute-arm64-server-20251117.img (UUID 1cd33fbb-18df-4c5a-b8f0-2dcb25269485)... 62s autopkgtest [17:04:58]: testbed dpkg architecture: arm64 63s autopkgtest [17:04:59]: testbed apt version: 3.1.11 63s autopkgtest [17:04:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s autopkgtest [17:05:00]: testbed release detected to be: None 65s autopkgtest [17:05:01]: updating testbed package index (apt update) 65s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 65s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 65s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 65s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 65s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 66s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 66s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 66s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 66s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [143 kB] 66s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [3224 B] 66s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [107 kB] 66s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [324 B] 66s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [517 kB] 66s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [17.1 kB] 66s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [12.5 kB] 66s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 67s Fetched 1774 kB in 1s (1365 kB/s) 68s Reading package lists... 69s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 69s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 69s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 70s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 71s Reading package lists... 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 72s Calculating upgrade... 72s The following packages will be upgraded: 72s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 73s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s Need to get 2764 kB of archives. 73s After this operation, 104 kB of additional disk space will be used. 73s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB] 73s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt1 arm64 1:4.5.1-1 [88.3 kB] 73s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libapt-pkg7.0 arm64 3.1.12 [1063 kB] 73s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 apt arm64 3.1.12 [1407 kB] 74s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 usbutils arm64 1:019-1 [81.7 kB] 74s dpkg-preconfigure: unable to re-open stdin: No such file or directory 74s Fetched 2764 kB in 1s (2253 kB/s) 75s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 88137 files and directories currently installed.) 75s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_arm64.deb ... 75s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 75s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_arm64.deb ... 75s Unpacking libcrypt1:arm64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 75s Setting up libcrypt1:arm64 (1:4.5.1-1) ... 75s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 88137 files and directories currently installed.) 75s Preparing to unpack .../libapt-pkg7.0_3.1.12_arm64.deb ... 75s Unpacking libapt-pkg7.0:arm64 (3.1.12) over (3.1.11) ... 75s Preparing to unpack .../archives/apt_3.1.12_arm64.deb ... 75s Unpacking apt (3.1.12) over (3.1.11) ... 76s Preparing to unpack .../usbutils_1%3a019-1_arm64.deb ... 76s Unpacking usbutils (1:019-1) over (1:018-2) ... 76s Setting up usbutils (1:019-1) ... 76s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ... 76s Setting up libapt-pkg7.0:arm64 (3.1.12) ... 76s Setting up apt (3.1.12) ... 77s Processing triggers for man-db (2.13.1-1) ... 79s Processing triggers for libc-bin (2.42-2ubuntu2) ... 79s autopkgtest [17:05:15]: upgrading testbed (apt dist-upgrade and autopurge) 80s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Calculating upgrade... 82s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Solving dependencies... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s autopkgtest [17:05:20]: rebooting testbed after setup commands that affected boot 115s autopkgtest [17:05:51]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 119s autopkgtest [17:05:55]: @@@@@@@@@@@@@@@@@@@@ apt-source dt-schema 121s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (dsc) [2032 B] 121s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (tar) [81.0 kB] 121s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (diff) [9416 B] 121s gpgv: Signature made Thu Oct 23 07:47:34 2025 UTC 121s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 121s gpgv: issuer "bage@debian.org" 121s gpgv: Can't check signature: No public key 121s dpkg-source: warning: cannot verify inline signature for ./dt-schema_2025.08-1.dsc: no acceptable signature found 121s autopkgtest [17:05:57]: testing package dt-schema version 2025.08-1 122s autopkgtest [17:05:58]: build not needed 122s autopkgtest [17:05:58]: test unittests: preparing testbed 122s Reading package lists... 123s Building dependency tree... 123s Reading state information... 123s Solving dependencies... 123s The following NEW packages will be installed: 123s dt-schema python3-all python3-libfdt python3-rfc3987 python3-ruamel.yaml 123s python3-ruamel.yaml.clib 124s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 124s Need to get 348 kB of archives. 124s After this operation, 1552 kB of additional disk space will be used. 124s Get:1 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-libfdt arm64 1.7.2-2build1 [46.5 kB] 124s Get:2 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-rfc3987 all 1.3.8-3 [8960 B] 124s Get:3 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-ruamel.yaml.clib arm64 0.2.12+ds-1build1 [138 kB] 124s Get:4 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-ruamel.yaml all 0.18.10+ds-1 [127 kB] 124s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 dt-schema all 2025.08-1 [27.2 kB] 124s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-all arm64 3.13.7-1 [884 B] 125s Fetched 348 kB in 1s (548 kB/s) 125s Selecting previously unselected package python3-libfdt. 125s (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 ... 88137 files and directories currently installed.) 125s Preparing to unpack .../0-python3-libfdt_1.7.2-2build1_arm64.deb ... 125s Unpacking python3-libfdt (1.7.2-2build1) ... 125s Selecting previously unselected package python3-rfc3987. 125s Preparing to unpack .../1-python3-rfc3987_1.3.8-3_all.deb ... 125s Unpacking python3-rfc3987 (1.3.8-3) ... 125s Selecting previously unselected package python3-ruamel.yaml.clib. 125s Preparing to unpack .../2-python3-ruamel.yaml.clib_0.2.12+ds-1build1_arm64.deb ... 125s Unpacking python3-ruamel.yaml.clib (0.2.12+ds-1build1) ... 125s Selecting previously unselected package python3-ruamel.yaml. 125s Preparing to unpack .../3-python3-ruamel.yaml_0.18.10+ds-1_all.deb ... 125s Unpacking python3-ruamel.yaml (0.18.10+ds-1) ... 125s Selecting previously unselected package dt-schema. 125s Preparing to unpack .../4-dt-schema_2025.08-1_all.deb ... 125s Unpacking dt-schema (2025.08-1) ... 125s Selecting previously unselected package python3-all. 125s Preparing to unpack .../5-python3-all_3.13.7-1_arm64.deb ... 125s Unpacking python3-all (3.13.7-1) ... 125s Setting up python3-ruamel.yaml.clib (0.2.12+ds-1build1) ... 125s Setting up python3-all (3.13.7-1) ... 125s Setting up python3-libfdt (1.7.2-2build1) ... 125s Setting up python3-rfc3987 (1.3.8-3) ... 126s Setting up python3-ruamel.yaml (0.18.10+ds-1) ... 126s Setting up dt-schema (2025.08-1) ... 127s autopkgtest [17:06:03]: test unittests: [----------------------- 128s === python3.13 === 128s .EEEEEEEEEEEEEEEEEEEEEE..../tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/bad-example.yaml: ignoring, error in schema: properties: interrupts: description 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: phandle: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: status: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: secure-status: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: bootph-pre-sram: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: bootph-verify: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: bootph-pre-ram: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: bootph-some-ram: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: bootph-all: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/conditionals-allof-example.yaml: pinctrl-names: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: reg: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: interrupts: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: #interrupt-cells: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: interrupt-controller: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: clock-frequency: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: clocks: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: #clock-cells: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: clock-output-names: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: some-gpios: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: a-single-gpios: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: interrupt-parent: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: interrupts-extended: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clocks: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-rates-u64: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-rates: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-parents: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-sscs: missing type definition 128s /tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/schemas/child-node-example.yaml: foo: missing type definition 128s vendor,bool-prop: size (5) error for type flag 128s EEvendor,required-property: size (9) error for type uint32 128s EEEEEEEE 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='$id') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='title') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='maintainers') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='description') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='required') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='bad-key') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/compatible') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/reg') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupts') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-names') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-controller') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/#interrupt-cells') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/gpio-controller') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpio') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpios') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/another-property') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/vendor,property') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_bad_schema (__main__.TestDTMetaSchema.test_bad_schema) 128s bad-example.yaml is all bad. There is no condition where it should pass validation 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 58, in test_bad_schema 128s self.assertRaises(jsonschema.SchemaError, self.bad_schema.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_required_properties (__main__.TestDTMetaSchema.test_required_properties) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 45, in test_required_properties 128s self.schema.is_valid(strict=True) 128s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='$id') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='title') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='maintainers') 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 128s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 128s return context.handle('assertRaises', args, kwargs) 128s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 128s callable_obj(*args, **kwargs) 128s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 128s for error in self.iter_errors(strict): 128s ~~~~~~~~~~~~~~~~^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 128s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 128s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 128s return self[uri].contents 128s ~~~~^^^^^ 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 128s raise exceptions.NoSuchResource(ref=uri) from None 128s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/device-fail.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 128s testtree = self.validator.decode_dtb(res.stdout) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 128s return [dtschema.dtb.fdt_unflatten(self, dtb)] 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 534, in fdt_unflatten 128s fixup_interrupts(dt, 1) 128s ~~~~~~~~~~~~~~~~^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 463, in fixup_interrupts 128s fixup_interrupts(v, icells) 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 468, in fixup_interrupts 128s while i < len(val): 128s ~~~^^^^^ 128s TypeError: object of type 'sized_int' has no len() 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-allof-fail.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 128s resource = registry._retrieve(uri) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 128s return DRAFT201909.create_resource(self.schemas[uri]) 128s ~~~~~~~~~~~~^^^^^ 128s KeyError: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 128s retrieved = self._registry.get_or_retrieve(uri) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 128s raise exceptions.Unretrievable(ref=uri) from error 128s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 128s resolved = self._resolver.lookup(ref) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 128s raise exceptions.Unresolvable(ref=ref) from error 128s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s During handling of the above exception, another exception occurred: 128s 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 128s self.check_subtree('/', testtree[0]) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 128s self.check_subtree(name, value) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 128s self.check_node(nodename, subtree) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 128s self.validator.validate(node) 128s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 128s for error in self.iter_errors(instance, filter=filter): 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 128s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 128s yield from validator._validate_reference(ref=ref, instance=instance) 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 128s raise exceptions._WrappedReferencingError(err) 128s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/child-node-fail.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 128s resource = registry._retrieve(uri) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 128s return DRAFT201909.create_resource(self.schemas[uri]) 128s ~~~~~~~~~~~~^^^^^ 128s KeyError: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 128s retrieved = self._registry.get_or_retrieve(uri) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 128s raise exceptions.Unretrievable(ref=uri) from error 128s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 128s resolved = self._resolver.lookup(ref) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 128s raise exceptions.Unresolvable(ref=ref) from error 128s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/uint32 128s 128s During handling of the above exception, another exception occurred: 128s 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 128s self.check_subtree('/', testtree[0]) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 128s self.check_subtree(name, value) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 128s self.check_node(nodename, subtree) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 128s self.validator.validate(node) 128s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 128s for error in self.iter_errors(instance, filter=filter): 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 128s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 128s yield from validator._validate_reference(ref=ref, instance=instance) 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 128s raise exceptions._WrappedReferencingError(err) 128s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/uint32 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/device.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 128s testtree = self.validator.decode_dtb(res.stdout) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 128s return [dtschema.dtb.fdt_unflatten(self, dtb)] 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 533, in fdt_unflatten 128s fixup_gpios(dt) 128s ~~~~~~~~~~~^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 422, in fixup_gpios 128s fixup_gpios(v) 128s ~~~~~~~~~~~^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 429, in fixup_gpios 128s while i < len(val): 128s ~~~^^^^^ 128s TypeError: object of type 'sized_int' has no len() 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-allof-pass.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 128s resource = registry._retrieve(uri) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 128s return DRAFT201909.create_resource(self.schemas[uri]) 128s ~~~~~~~~~~~~^^^^^ 128s KeyError: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 128s retrieved = self._registry.get_or_retrieve(uri) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 128s raise exceptions.Unretrievable(ref=uri) from error 128s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 128s resolved = self._resolver.lookup(ref) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 128s raise exceptions.Unresolvable(ref=ref) from error 128s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s During handling of the above exception, another exception occurred: 128s 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 128s self.assertIsNone(self.check_subtree('/', testtree[0])) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 128s self.check_subtree(name, value) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 128s self.check_node(nodename, subtree) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 128s self.validator.validate(node) 128s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 128s for error in self.iter_errors(instance, filter=filter): 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 128s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 128s yield from validator._validate_reference(ref=ref, instance=instance) 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 128s raise exceptions._WrappedReferencingError(err) 128s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/simple-bus-fail.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 128s testtree = self.validator.decode_dtb(res.stdout) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 128s return [dtschema.dtb.fdt_unflatten(self, dtb)] 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 535, in fdt_unflatten 128s fixup_addresses(validator, dt, 2, 1) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 507, in fixup_addresses 128s fixup_addresses(validator, v, ac, sc) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 521, in fixup_addresses 128s while i < len(val): 128s ~~~^^^^^ 128s TypeError: object of type 'sized_int' has no len() 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-single-pass.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 128s resource = registry._retrieve(uri) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 128s return DRAFT201909.create_resource(self.schemas[uri]) 128s ~~~~~~~~~~~~^^^^^ 128s KeyError: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 128s retrieved = self._registry.get_or_retrieve(uri) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 128s raise exceptions.Unretrievable(ref=uri) from error 128s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 128s resolved = self._resolver.lookup(ref) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 128s raise exceptions.Unresolvable(ref=ref) from error 128s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s During handling of the above exception, another exception occurred: 128s 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 128s self.assertIsNone(self.check_subtree('/', testtree[0])) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 128s self.check_subtree(name, value) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 128s self.check_node(nodename, subtree) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 128s self.validator.validate(node) 128s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 128s for error in self.iter_errors(instance, filter=filter): 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 128s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 128s yield from validator._validate_reference(ref=ref, instance=instance) 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 128s raise exceptions._WrappedReferencingError(err) 128s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-single-fail.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 128s resource = registry._retrieve(uri) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 128s return DRAFT201909.create_resource(self.schemas[uri]) 128s ~~~~~~~~~~~~^^^^^ 128s KeyError: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 128s retrieved = self._registry.get_or_retrieve(uri) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 128s raise exceptions.Unretrievable(ref=uri) from error 128s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 128s resolved = self._resolver.lookup(ref) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 128s raise exceptions.Unresolvable(ref=ref) from error 128s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s During handling of the above exception, another exception occurred: 128s 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 128s self.check_subtree('/', testtree[0]) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 128s self.check_subtree(name, value) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 128s self.check_node(nodename, subtree) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 128s self.validator.validate(node) 128s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 128s for error in self.iter_errors(instance, filter=filter): 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 128s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 128s yield from validator._validate_reference(ref=ref, instance=instance) 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 128s raise exceptions._WrappedReferencingError(err) 128s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/simple-bus-pass.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 128s testtree = self.validator.decode_dtb(res.stdout) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 128s return [dtschema.dtb.fdt_unflatten(self, dtb)] 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 535, in fdt_unflatten 128s fixup_addresses(validator, dt, 2, 1) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 507, in fixup_addresses 128s fixup_addresses(validator, v, ac, sc) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 521, in fixup_addresses 128s while i < len(val): 128s ~~~^^^^^ 128s TypeError: object of type 'sized_int' has no len() 128s 128s ====================================================================== 128s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/child-node.dts') 128s Test that all DT files under ./test/ validate against the DT schema (DTB) 128s ---------------------------------------------------------------------- 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 128s resource = registry._retrieve(uri) 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 128s return DRAFT201909.create_resource(self.schemas[uri]) 128s ~~~~~~~~~~~~^^^^^ 128s KeyError: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 128s retrieved = self._registry.get_or_retrieve(uri) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 128s raise exceptions.Unretrievable(ref=uri) from error 128s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 128s resolved = self._resolver.lookup(ref) 128s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 128s raise exceptions.Unresolvable(ref=ref) from error 128s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/uint32 128s 128s During handling of the above exception, another exception occurred: 128s 128s Traceback (most recent call last): 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 128s self.assertIsNone(self.check_subtree('/', testtree[0])) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 128s self.check_subtree(name, value) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 128s self.check_node(nodename, subtree) 128s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.ixhH2u/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 128s self.validator.validate(node) 128s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 128s for error in self.iter_errors(instance, filter=filter): 128s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 128s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 128s yield from validator.descend( 128s ...<4 lines>... 128s ) 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 128s for error in errors: 128s ^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 128s yield from validator._validate_reference(ref=ref, instance=instance) 128s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 128s raise exceptions._WrappedReferencingError(err) 128s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/uint32 128s 128s ---------------------------------------------------------------------- 128s Ran 10 tests in 0.188s 128s 128s FAILED (errors=32) 129s autopkgtest [17:06:05]: test unittests: -----------------------] 129s unittests FAIL non-zero exit status 1 129s autopkgtest [17:06:05]: test unittests: - - - - - - - - - - results - - - - - - - - - - 130s autopkgtest [17:06:06]: @@@@@@@@@@@@@@@@@@@@ summary 130s unittests FAIL non-zero exit status 1