0s autopkgtest [16:58:51]: starting date and time: 2025-11-17 16:58:51+0000 0s autopkgtest [16:58:51]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [16:58:51]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9b0f9j0j/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.230 lxd-armhf-10.145.243.230:autopkgtest/ubuntu/resolute/armhf 20s autopkgtest [16:59:11]: testbed dpkg architecture: armhf 22s autopkgtest [16:59:13]: testbed apt version: 3.1.11 26s autopkgtest [16:59:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 28s autopkgtest [16:59:19]: testbed release detected to be: None 36s autopkgtest [16:59:27]: updating testbed package index (apt update) 38s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 38s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 38s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 38s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 38s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 38s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 39s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 39s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 39s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [134 kB] 39s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 39s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [474 kB] 39s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 39s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 39s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 40s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 40s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.4 MB] 43s Fetched 41.2 MB in 5s (8126 kB/s) 44s Reading package lists... 50s autopkgtest [16:59:41]: upgrading testbed (apt dist-upgrade and autopurge) 51s Reading package lists... 52s Building dependency tree... 52s Reading state information... 52s Calculating upgrade... 52s The following packages will be upgraded: 52s apt libapt-pkg7.0 libcrypt1 usbutils 52s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 52s Need to get 2774 kB of archives. 52s After this operation, 8192 B of additional disk space will be used. 52s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.12 [1157 kB] 53s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.12 [1440 kB] 53s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt1 armhf 1:4.5.1-1 [98.9 kB] 53s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 53s Fetched 2774 kB in 1s (3304 kB/s) 54s (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 ... 65904 files and directories currently installed.) 54s Preparing to unpack .../libapt-pkg7.0_3.1.12_armhf.deb ... 54s Unpacking libapt-pkg7.0:armhf (3.1.12) over (3.1.11) ... 54s Setting up libapt-pkg7.0:armhf (3.1.12) ... 54s (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 ... 65904 files and directories currently installed.) 54s Preparing to unpack .../archives/apt_3.1.12_armhf.deb ... 54s Unpacking apt (3.1.12) over (3.1.11) ... 54s Setting up apt (3.1.12) ... 54s (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 ... 65904 files and directories currently installed.) 54s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_armhf.deb ... 54s Unpacking libcrypt1:armhf (1:4.5.1-1) over (1:4.4.38-1build1) ... 54s Setting up libcrypt1:armhf (1:4.5.1-1) ... 54s (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 ... 65904 files and directories currently installed.) 54s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 54s Unpacking usbutils (1:019-1) over (1:018-2) ... 55s Setting up usbutils (1:019-1) ... 55s Processing triggers for man-db (2.13.1-1) ... 56s Processing triggers for libc-bin (2.42-2ubuntu2) ... 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Solving dependencies... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s autopkgtest [16:59:53]: rebooting testbed after setup commands that affected boot 103s autopkgtest [17:00:34]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 128s autopkgtest [17:00:59]: @@@@@@@@@@@@@@@@@@@@ apt-source dt-schema 139s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (dsc) [2032 B] 139s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (tar) [81.0 kB] 139s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (diff) [9416 B] 139s gpgv: Signature made Thu Oct 23 07:47:34 2025 UTC 139s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 139s gpgv: issuer "bage@debian.org" 139s gpgv: Can't check signature: No public key 139s dpkg-source: warning: cannot verify inline signature for ./dt-schema_2025.08-1.dsc: no acceptable signature found 139s autopkgtest [17:01:10]: testing package dt-schema version 2025.08-1 141s autopkgtest [17:01:12]: build not needed 143s autopkgtest [17:01:14]: test unittests: preparing testbed 146s Reading package lists... 146s Building dependency tree... 146s Reading state information... 146s Solving dependencies... 147s The following NEW packages will be installed: 147s device-tree-compiler dt-schema libfdt1 python3-all python3-libfdt 147s python3-rfc3987 python3-ruamel.yaml python3-ruamel.yaml.clib 147s 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. 147s Need to get 574 kB of archives. 147s After this operation, 2090 kB of additional disk space will be used. 147s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libfdt1 armhf 1.7.2-2build1 [17.5 kB] 148s Get:2 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-libfdt armhf 1.7.2-2build1 [41.1 kB] 148s Get:3 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-rfc3987 all 1.3.8-3 [8960 B] 148s Get:4 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-ruamel.yaml.clib armhf 0.2.12+ds-1build1 [130 kB] 148s Get:5 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-ruamel.yaml all 0.18.10+ds-1 [127 kB] 148s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf dt-schema all 2025.08-1 [27.2 kB] 148s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf python3-all armhf 3.13.7-1 [884 B] 148s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf device-tree-compiler armhf 1.7.2-2build1 [222 kB] 149s Fetched 574 kB in 1s (995 kB/s) 149s Selecting previously unselected package libfdt1:armhf. 149s (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 ... 65904 files and directories currently installed.) 149s Preparing to unpack .../0-libfdt1_1.7.2-2build1_armhf.deb ... 149s Unpacking libfdt1:armhf (1.7.2-2build1) ... 149s Selecting previously unselected package python3-libfdt. 149s Preparing to unpack .../1-python3-libfdt_1.7.2-2build1_armhf.deb ... 149s Unpacking python3-libfdt (1.7.2-2build1) ... 149s Selecting previously unselected package python3-rfc3987. 149s Preparing to unpack .../2-python3-rfc3987_1.3.8-3_all.deb ... 149s Unpacking python3-rfc3987 (1.3.8-3) ... 149s Selecting previously unselected package python3-ruamel.yaml.clib. 149s Preparing to unpack .../3-python3-ruamel.yaml.clib_0.2.12+ds-1build1_armhf.deb ... 149s Unpacking python3-ruamel.yaml.clib (0.2.12+ds-1build1) ... 149s Selecting previously unselected package python3-ruamel.yaml. 149s Preparing to unpack .../4-python3-ruamel.yaml_0.18.10+ds-1_all.deb ... 149s Unpacking python3-ruamel.yaml (0.18.10+ds-1) ... 149s Selecting previously unselected package dt-schema. 149s Preparing to unpack .../5-dt-schema_2025.08-1_all.deb ... 149s Unpacking dt-schema (2025.08-1) ... 149s Selecting previously unselected package python3-all. 149s Preparing to unpack .../6-python3-all_3.13.7-1_armhf.deb ... 149s Unpacking python3-all (3.13.7-1) ... 149s Selecting previously unselected package device-tree-compiler. 149s Preparing to unpack .../7-device-tree-compiler_1.7.2-2build1_armhf.deb ... 149s Unpacking device-tree-compiler (1.7.2-2build1) ... 149s Setting up python3-ruamel.yaml.clib (0.2.12+ds-1build1) ... 149s Setting up python3-all (3.13.7-1) ... 149s Setting up libfdt1:armhf (1.7.2-2build1) ... 149s Setting up python3-libfdt (1.7.2-2build1) ... 149s Setting up python3-rfc3987 (1.3.8-3) ... 149s Setting up device-tree-compiler (1.7.2-2build1) ... 149s Setting up python3-ruamel.yaml (0.18.10+ds-1) ... 149s Setting up dt-schema (2025.08-1) ... 149s Processing triggers for man-db (2.13.1-1) ... 150s Processing triggers for libc-bin (2.42-2ubuntu2) ... 158s autopkgtest [17:01:29]: test unittests: [----------------------- 159s === python3.13 === 160s .EEEEEEEEEEEEEEEEEEEEEE..../tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/bad-example.yaml: ignoring, error in schema: properties: interrupt-names: items 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: reg: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: foo: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: phandle: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: status: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: secure-status: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-pre-sram: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-verify: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-pre-ram: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-some-ram: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-all: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/child-node-example.yaml: pinctrl-names: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: interrupts: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: #interrupt-cells: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: interrupt-controller: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: clock-frequency: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: clocks: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: #clock-cells: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: clock-output-names: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: some-gpios: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: a-single-gpios: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: interrupt-parent: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: interrupts-extended: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clocks: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-rates-u64: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-rates: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-parents: missing type definition 160s /tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-sscs: missing type definition 160s vendor,required-property: size (9) error for type uint32 160s EEEEEEvendor,bool-prop: size (5) error for type flag 160s EEEE 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='$id') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='title') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='maintainers') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='description') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='required') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='bad-key') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/compatible') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/reg') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupts') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-names') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-controller') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/#interrupt-cells') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/gpio-controller') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpio') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpios') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/another-property') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/vendor,property') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_bad_schema (__main__.TestDTMetaSchema.test_bad_schema) 160s bad-example.yaml is all bad. There is no condition where it should pass validation 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 58, in test_bad_schema 160s self.assertRaises(jsonschema.SchemaError, self.bad_schema.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_required_properties (__main__.TestDTMetaSchema.test_required_properties) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 45, in test_required_properties 160s self.schema.is_valid(strict=True) 160s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='$id') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='title') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='maintainers') 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 160s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 160s return context.handle('assertRaises', args, kwargs) 160s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 160s callable_obj(*args, **kwargs) 160s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 160s for error in self.iter_errors(strict): 160s ~~~~~~~~~~~~~~~~^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 160s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 160s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 160s return self[uri].contents 160s ~~~~^^^^^ 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 160s raise exceptions.NoSuchResource(ref=uri) from None 160s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/child-node-fail.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 160s resource = registry._retrieve(uri) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 160s return DRAFT201909.create_resource(self.schemas[uri]) 160s ~~~~~~~~~~~~^^^^^ 160s KeyError: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 160s retrieved = self._registry.get_or_retrieve(uri) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 160s raise exceptions.Unretrievable(ref=uri) from error 160s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 160s resolved = self._resolver.lookup(ref) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 160s raise exceptions.Unresolvable(ref=ref) from error 160s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/uint32 160s 160s During handling of the above exception, another exception occurred: 160s 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 160s self.check_subtree('/', testtree[0]) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 160s self.check_subtree(name, value) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 160s self.check_node(nodename, subtree) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 160s self.validator.validate(node) 160s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 160s for error in self.iter_errors(instance, filter=filter): 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 160s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 160s yield from validator._validate_reference(ref=ref, instance=instance) 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 160s raise exceptions._WrappedReferencingError(err) 160s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/uint32 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/child-node.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 160s resource = registry._retrieve(uri) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 160s return DRAFT201909.create_resource(self.schemas[uri]) 160s ~~~~~~~~~~~~^^^^^ 160s KeyError: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 160s retrieved = self._registry.get_or_retrieve(uri) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 160s raise exceptions.Unretrievable(ref=uri) from error 160s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 160s resolved = self._resolver.lookup(ref) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 160s raise exceptions.Unresolvable(ref=ref) from error 160s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/uint32 160s 160s During handling of the above exception, another exception occurred: 160s 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 160s self.assertIsNone(self.check_subtree('/', testtree[0])) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 160s self.check_subtree(name, value) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 160s self.check_node(nodename, subtree) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 160s self.validator.validate(node) 160s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 160s for error in self.iter_errors(instance, filter=filter): 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 160s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 160s yield from validator._validate_reference(ref=ref, instance=instance) 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 160s raise exceptions._WrappedReferencingError(err) 160s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/uint32 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-allof-fail.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 160s resource = registry._retrieve(uri) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 160s return DRAFT201909.create_resource(self.schemas[uri]) 160s ~~~~~~~~~~~~^^^^^ 160s KeyError: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 160s retrieved = self._registry.get_or_retrieve(uri) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 160s raise exceptions.Unretrievable(ref=uri) from error 160s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 160s resolved = self._resolver.lookup(ref) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 160s raise exceptions.Unresolvable(ref=ref) from error 160s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s During handling of the above exception, another exception occurred: 160s 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 160s self.check_subtree('/', testtree[0]) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 160s self.check_subtree(name, value) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 160s self.check_node(nodename, subtree) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 160s self.validator.validate(node) 160s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 160s for error in self.iter_errors(instance, filter=filter): 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 160s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 160s yield from validator._validate_reference(ref=ref, instance=instance) 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 160s raise exceptions._WrappedReferencingError(err) 160s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-allof-pass.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 160s resource = registry._retrieve(uri) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 160s return DRAFT201909.create_resource(self.schemas[uri]) 160s ~~~~~~~~~~~~^^^^^ 160s KeyError: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 160s retrieved = self._registry.get_or_retrieve(uri) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 160s raise exceptions.Unretrievable(ref=uri) from error 160s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 160s resolved = self._resolver.lookup(ref) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 160s raise exceptions.Unresolvable(ref=ref) from error 160s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s During handling of the above exception, another exception occurred: 160s 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 160s self.assertIsNone(self.check_subtree('/', testtree[0])) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 160s self.check_subtree(name, value) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 160s self.check_node(nodename, subtree) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 160s self.validator.validate(node) 160s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 160s for error in self.iter_errors(instance, filter=filter): 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 160s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 160s yield from validator._validate_reference(ref=ref, instance=instance) 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 160s raise exceptions._WrappedReferencingError(err) 160s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-single-fail.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 160s resource = registry._retrieve(uri) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 160s return DRAFT201909.create_resource(self.schemas[uri]) 160s ~~~~~~~~~~~~^^^^^ 160s KeyError: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 160s retrieved = self._registry.get_or_retrieve(uri) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 160s raise exceptions.Unretrievable(ref=uri) from error 160s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 160s resolved = self._resolver.lookup(ref) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 160s raise exceptions.Unresolvable(ref=ref) from error 160s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s During handling of the above exception, another exception occurred: 160s 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 160s self.check_subtree('/', testtree[0]) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 160s self.check_subtree(name, value) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 160s self.check_node(nodename, subtree) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 160s self.validator.validate(node) 160s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 160s for error in self.iter_errors(instance, filter=filter): 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 160s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 160s yield from validator._validate_reference(ref=ref, instance=instance) 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 160s raise exceptions._WrappedReferencingError(err) 160s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-single-pass.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 160s resource = registry._retrieve(uri) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 160s return DRAFT201909.create_resource(self.schemas[uri]) 160s ~~~~~~~~~~~~^^^^^ 160s KeyError: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 160s retrieved = self._registry.get_or_retrieve(uri) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 160s raise exceptions.Unretrievable(ref=uri) from error 160s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 160s 160s The above exception was the direct cause of the following exception: 160s 160s Traceback (most recent call last): 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 160s resolved = self._resolver.lookup(ref) 160s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 160s raise exceptions.Unresolvable(ref=ref) from error 160s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s During handling of the above exception, another exception occurred: 160s 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 160s self.assertIsNone(self.check_subtree('/', testtree[0])) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 160s self.check_subtree(name, value) 160s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 160s self.check_node(nodename, subtree) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 160s self.validator.validate(node) 160s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 160s for error in self.iter_errors(instance, filter=filter): 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 160s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 160s yield from validator.descend( 160s ...<4 lines>... 160s ) 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 160s for error in errors: 160s ^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 160s yield from validator._validate_reference(ref=ref, instance=instance) 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 160s raise exceptions._WrappedReferencingError(err) 160s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/device-fail.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 160s testtree = self.validator.decode_dtb(res.stdout) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 160s return [dtschema.dtb.fdt_unflatten(self, dtb)] 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 534, in fdt_unflatten 160s fixup_interrupts(dt, 1) 160s ~~~~~~~~~~~~~~~~^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 463, in fixup_interrupts 160s fixup_interrupts(v, icells) 160s ~~~~~~~~~~~~~~~~^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 468, in fixup_interrupts 160s while i < len(val): 160s ~~~^^^^^ 160s TypeError: object of type 'sized_int' has no len() 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/device.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 160s testtree = self.validator.decode_dtb(res.stdout) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 160s return [dtschema.dtb.fdt_unflatten(self, dtb)] 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 533, in fdt_unflatten 160s fixup_gpios(dt) 160s ~~~~~~~~~~~^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 422, in fixup_gpios 160s fixup_gpios(v) 160s ~~~~~~~~~~~^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 429, in fixup_gpios 160s while i < len(val): 160s ~~~^^^^^ 160s TypeError: object of type 'sized_int' has no len() 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/simple-bus-fail.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 160s testtree = self.validator.decode_dtb(res.stdout) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 160s return [dtschema.dtb.fdt_unflatten(self, dtb)] 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 535, in fdt_unflatten 160s fixup_addresses(validator, dt, 2, 1) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 507, in fixup_addresses 160s fixup_addresses(validator, v, ac, sc) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 521, in fixup_addresses 160s while i < len(val): 160s ~~~^^^^^ 160s TypeError: object of type 'sized_int' has no len() 160s 160s ====================================================================== 160s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/simple-bus-pass.dts') 160s Test that all DT files under ./test/ validate against the DT schema (DTB) 160s ---------------------------------------------------------------------- 160s Traceback (most recent call last): 160s File "/tmp/autopkgtest.3wCKp0/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 160s testtree = self.validator.decode_dtb(res.stdout) 160s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 160s return [dtschema.dtb.fdt_unflatten(self, dtb)] 160s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 535, in fdt_unflatten 160s fixup_addresses(validator, dt, 2, 1) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 507, in fixup_addresses 160s fixup_addresses(validator, v, ac, sc) 160s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 160s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 521, in fixup_addresses 160s while i < len(val): 160s ~~~^^^^^ 160s TypeError: object of type 'sized_int' has no len() 160s 160s ---------------------------------------------------------------------- 160s Ran 10 tests in 0.132s 160s 160s FAILED (errors=32) 161s autopkgtest [17:01:32]: test unittests: -----------------------] 165s autopkgtest [17:01:36]: test unittests: - - - - - - - - - - results - - - - - - - - - - 165s unittests FAIL non-zero exit status 1 168s autopkgtest [17:01:39]: @@@@@@@@@@@@@@@@@@@@ summary 168s unittests FAIL non-zero exit status 1