0s autopkgtest [18:59:47]: starting date and time: 2025-11-17 18:59:47+0000 0s autopkgtest [18:59:47]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [18:59:47]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.syn7g9j4/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-20.secgroup --name adt-resolute-ppc64el-dt-schema-20251117-185946-juju-7f2275-prod-proposed-migration-environment-2-85baf750-cd4d-49da-9fb8-6b79f1f82b09 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-ppc64el-dt-schema-20251117-185946-juju-7f2275-prod-proposed-migration-environment-2-85baf750-cd4d-49da-9fb8-6b79f1f82b09 from image adt/ubuntu-resolute-ppc64el-server-20251117.img (UUID c6f5b741-c77a-45db-84cb-f00b40e77676)... 52s autopkgtest [19:00:39]: testbed dpkg architecture: ppc64el 52s autopkgtest [19:00:39]: testbed apt version: 3.1.11 52s autopkgtest [19:00:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 52s autopkgtest [19:00:39]: testbed release detected to be: None 53s autopkgtest [19:00:40]: updating testbed package index (apt update) 54s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 54s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 54s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 54s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 54s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [72.6 kB] 54s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [778 kB] 54s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 54s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 54s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [135 kB] 54s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [1276 B] 54s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [499 kB] 55s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [11.0 kB] 55s Fetched 1618 kB in 1s (1342 kB/s) 56s Reading package lists... 57s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 58s Reading package lists... 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s The following packages will be upgraded: 58s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 58s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 3180 kB of archives. 58s After this operation, 118 kB of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt1 ppc64el 1:4.5.1-1 [125 kB] 59s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libapt-pkg7.0 ppc64el 3.1.12 [1286 kB] 59s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el apt ppc64el 3.1.12 [1516 kB] 59s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el usbutils ppc64el 1:019-1 [91.5 kB] 60s dpkg-preconfigure: unable to re-open stdin: No such file or directory 60s Fetched 3180 kB in 1s (2489 kB/s) 60s (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 ... 81022 files and directories currently installed.) 60s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 60s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 60s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_ppc64el.deb ... 60s Unpacking libcrypt1:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 60s Setting up libcrypt1:ppc64el (1:4.5.1-1) ... 61s (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 ... 81022 files and directories currently installed.) 61s Preparing to unpack .../libapt-pkg7.0_3.1.12_ppc64el.deb ... 61s Unpacking libapt-pkg7.0:ppc64el (3.1.12) over (3.1.11) ... 61s Preparing to unpack .../apt_3.1.12_ppc64el.deb ... 61s Unpacking apt (3.1.12) over (3.1.11) ... 61s Preparing to unpack .../usbutils_1%3a019-1_ppc64el.deb ... 61s Unpacking usbutils (1:019-1) over (1:018-2) ... 61s Setting up usbutils (1:019-1) ... 61s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 61s Setting up libapt-pkg7.0:ppc64el (3.1.12) ... 61s Setting up apt (3.1.12) ... 62s Processing triggers for man-db (2.13.1-1) ... 64s Processing triggers for libc-bin (2.42-2ubuntu2) ... 64s autopkgtest [19:00:51]: upgrading testbed (apt dist-upgrade and autopurge) 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Calculating upgrade... 65s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s Reading package lists... 66s Building dependency tree... 66s Reading state information... 66s Solving dependencies... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s autopkgtest [19:00:53]: rebooting testbed after setup commands that affected boot 92s autopkgtest [19:01:19]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 96s autopkgtest [19:01:23]: @@@@@@@@@@@@@@@@@@@@ apt-source dt-schema 98s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (dsc) [2032 B] 98s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (tar) [81.0 kB] 98s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe dt-schema 2025.08-1 (diff) [9416 B] 98s gpgv: Signature made Thu Oct 23 07:47:34 2025 UTC 98s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 98s gpgv: issuer "bage@debian.org" 98s gpgv: Can't check signature: No public key 98s dpkg-source: warning: cannot verify inline signature for ./dt-schema_2025.08-1.dsc: no acceptable signature found 98s autopkgtest [19:01:25]: testing package dt-schema version 2025.08-1 98s autopkgtest [19:01:25]: build not needed 99s autopkgtest [19:01:26]: test unittests: preparing testbed 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Solving dependencies... 99s The following NEW packages will be installed: 99s device-tree-compiler dt-schema libfdt1 python3-all python3-libfdt 99s python3-rfc3987 python3-ruamel.yaml python3-ruamel.yaml.clib 100s 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 660 kB of archives. 100s After this operation, 2564 kB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfdt1 ppc64el 1.7.2-2build1 [26.8 kB] 100s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-libfdt ppc64el 1.7.2-2build1 [51.9 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-rfc3987 all 1.3.8-3 [8960 B] 100s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-ruamel.yaml.clib ppc64el 0.2.12+ds-1build1 [169 kB] 100s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-ruamel.yaml all 0.18.10+ds-1 [127 kB] 100s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el dt-schema all 2025.08-1 [27.2 kB] 100s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-all ppc64el 3.13.7-1 [884 B] 100s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el device-tree-compiler ppc64el 1.7.2-2build1 [248 kB] 100s Fetched 660 kB in 1s (959 kB/s) 100s Selecting previously unselected package libfdt1:ppc64el. 101s (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 ... 81022 files and directories currently installed.) 101s Preparing to unpack .../0-libfdt1_1.7.2-2build1_ppc64el.deb ... 101s Unpacking libfdt1:ppc64el (1.7.2-2build1) ... 101s Selecting previously unselected package python3-libfdt. 101s Preparing to unpack .../1-python3-libfdt_1.7.2-2build1_ppc64el.deb ... 101s Unpacking python3-libfdt (1.7.2-2build1) ... 101s Selecting previously unselected package python3-rfc3987. 101s Preparing to unpack .../2-python3-rfc3987_1.3.8-3_all.deb ... 101s Unpacking python3-rfc3987 (1.3.8-3) ... 101s Selecting previously unselected package python3-ruamel.yaml.clib. 101s Preparing to unpack .../3-python3-ruamel.yaml.clib_0.2.12+ds-1build1_ppc64el.deb ... 101s Unpacking python3-ruamel.yaml.clib (0.2.12+ds-1build1) ... 101s Selecting previously unselected package python3-ruamel.yaml. 101s Preparing to unpack .../4-python3-ruamel.yaml_0.18.10+ds-1_all.deb ... 101s Unpacking python3-ruamel.yaml (0.18.10+ds-1) ... 101s Selecting previously unselected package dt-schema. 101s Preparing to unpack .../5-dt-schema_2025.08-1_all.deb ... 101s Unpacking dt-schema (2025.08-1) ... 101s Selecting previously unselected package python3-all. 101s Preparing to unpack .../6-python3-all_3.13.7-1_ppc64el.deb ... 101s Unpacking python3-all (3.13.7-1) ... 101s Selecting previously unselected package device-tree-compiler. 101s Preparing to unpack .../7-device-tree-compiler_1.7.2-2build1_ppc64el.deb ... 101s Unpacking device-tree-compiler (1.7.2-2build1) ... 101s Setting up python3-ruamel.yaml.clib (0.2.12+ds-1build1) ... 101s Setting up python3-all (3.13.7-1) ... 101s Setting up libfdt1:ppc64el (1.7.2-2build1) ... 101s Setting up python3-libfdt (1.7.2-2build1) ... 101s Setting up python3-rfc3987 (1.3.8-3) ... 101s Setting up device-tree-compiler (1.7.2-2build1) ... 101s Setting up python3-ruamel.yaml (0.18.10+ds-1) ... 101s Setting up dt-schema (2025.08-1) ... 101s Processing triggers for man-db (2.13.1-1) ... 102s Processing triggers for libc-bin (2.42-2ubuntu2) ... 103s autopkgtest [19:01:30]: test unittests: [----------------------- 103s === python3.13 === 103s .EEEEEEEEEEEEEEEEEEEEEE..../tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/bad-example.yaml: ignoring, error in schema: properties: interrupt-names: items 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: reg: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: foo: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: phandle: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: status: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: secure-status: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-pre-sram: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-verify: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-pre-ram: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-some-ram: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: bootph-all: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/child-node-example.yaml: pinctrl-names: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: interrupts: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: #interrupt-cells: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: interrupt-controller: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: clock-frequency: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: clocks: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: #clock-cells: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: clock-output-names: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: some-gpios: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: a-single-gpios: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: interrupt-parent: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: interrupts-extended: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clocks: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-rates-u64: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-rates: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-parents: missing type definition 103s /tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/schemas/good-example.yaml: assigned-clock-sscs: missing type definition 103s EEvendor,required-property: size (9) error for type uint32 103s EEEEEvendor,bool-prop: size (5) error for type flag 103s EEE 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='$id') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='title') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='maintainers') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='description') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='required') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='bad-key') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/compatible') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/reg') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupts') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-names') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-controller') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/#interrupt-cells') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/gpio-controller') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpio') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpios') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/another-property') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/vendor,property') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_bad_schema (__main__.TestDTMetaSchema.test_bad_schema) 103s bad-example.yaml is all bad. There is no condition where it should pass validation 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 58, in test_bad_schema 103s self.assertRaises(jsonschema.SchemaError, self.bad_schema.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_required_properties (__main__.TestDTMetaSchema.test_required_properties) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 45, in test_required_properties 103s self.schema.is_valid(strict=True) 103s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='$id') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='title') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='maintainers') 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 103s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 103s return context.handle('assertRaises', args, kwargs) 103s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 103s callable_obj(*args, **kwargs) 103s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 182, in is_valid 103s for error in self.iter_errors(strict): 103s ~~~~~~~~~~~~~~~~^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 167, in iter_errors 103s self.validator = self.DtValidator(registry.contents(meta_schema_id), registry=registry) 103s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 488, in contents 103s return self[uri].contents 103s ~~~~^^^^^ 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 338, in __getitem__ 103s raise exceptions.NoSuchResource(ref=uri) from None 103s referencing.exceptions.NoSuchResource: 'http://devicetree.org/meta-schemas/core.yaml' 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-allof-fail.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 103s resource = registry._retrieve(uri) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 103s return DRAFT201909.create_resource(self.schemas[uri]) 103s ~~~~~~~~~~~~^^^^^ 103s KeyError: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 103s retrieved = self._registry.get_or_retrieve(uri) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 103s raise exceptions.Unretrievable(ref=uri) from error 103s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 103s resolved = self._resolver.lookup(ref) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 103s raise exceptions.Unresolvable(ref=ref) from error 103s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s During handling of the above exception, another exception occurred: 103s 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 103s self.check_subtree('/', testtree[0]) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 103s self.check_subtree(name, value) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 103s self.check_node(nodename, subtree) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 103s self.validator.validate(node) 103s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 103s for error in self.iter_errors(instance, filter=filter): 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 103s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 103s yield from validator._validate_reference(ref=ref, instance=instance) 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 103s raise exceptions._WrappedReferencingError(err) 103s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/child-node.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 103s resource = registry._retrieve(uri) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 103s return DRAFT201909.create_resource(self.schemas[uri]) 103s ~~~~~~~~~~~~^^^^^ 103s KeyError: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 103s retrieved = self._registry.get_or_retrieve(uri) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 103s raise exceptions.Unretrievable(ref=uri) from error 103s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 103s resolved = self._resolver.lookup(ref) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 103s raise exceptions.Unresolvable(ref=ref) from error 103s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/uint32 103s 103s During handling of the above exception, another exception occurred: 103s 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 103s self.assertIsNone(self.check_subtree('/', testtree[0])) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 103s self.check_subtree(name, value) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 103s self.check_node(nodename, subtree) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 103s self.validator.validate(node) 103s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 103s for error in self.iter_errors(instance, filter=filter): 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 103s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 103s yield from validator._validate_reference(ref=ref, instance=instance) 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 103s raise exceptions._WrappedReferencingError(err) 103s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/uint32 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/child-node-fail.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 103s resource = registry._retrieve(uri) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 103s return DRAFT201909.create_resource(self.schemas[uri]) 103s ~~~~~~~~~~~~^^^^^ 103s KeyError: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 103s retrieved = self._registry.get_or_retrieve(uri) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 103s raise exceptions.Unretrievable(ref=uri) from error 103s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 103s resolved = self._resolver.lookup(ref) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 103s raise exceptions.Unresolvable(ref=ref) from error 103s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/uint32 103s 103s During handling of the above exception, another exception occurred: 103s 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 103s self.check_subtree('/', testtree[0]) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 103s self.check_subtree(name, value) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 103s self.check_node(nodename, subtree) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 103s self.validator.validate(node) 103s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 103s for error in self.iter_errors(instance, filter=filter): 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 103s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 103s yield from validator._validate_reference(ref=ref, instance=instance) 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 103s raise exceptions._WrappedReferencingError(err) 103s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/uint32 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-allof-pass.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 103s resource = registry._retrieve(uri) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 103s return DRAFT201909.create_resource(self.schemas[uri]) 103s ~~~~~~~~~~~~^^^^^ 103s KeyError: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 103s retrieved = self._registry.get_or_retrieve(uri) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 103s raise exceptions.Unretrievable(ref=uri) from error 103s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 103s resolved = self._resolver.lookup(ref) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 103s raise exceptions.Unresolvable(ref=ref) from error 103s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s During handling of the above exception, another exception occurred: 103s 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 103s self.assertIsNone(self.check_subtree('/', testtree[0])) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 103s self.check_subtree(name, value) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 103s self.check_node(nodename, subtree) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 103s self.validator.validate(node) 103s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 103s for error in self.iter_errors(instance, filter=filter): 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 103s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 103s yield from validator._validate_reference(ref=ref, instance=instance) 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 103s raise exceptions._WrappedReferencingError(err) 103s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-single-fail.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 103s resource = registry._retrieve(uri) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 103s return DRAFT201909.create_resource(self.schemas[uri]) 103s ~~~~~~~~~~~~^^^^^ 103s KeyError: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 103s retrieved = self._registry.get_or_retrieve(uri) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 103s raise exceptions.Unretrievable(ref=uri) from error 103s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 103s resolved = self._resolver.lookup(ref) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 103s raise exceptions.Unresolvable(ref=ref) from error 103s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s During handling of the above exception, another exception occurred: 103s 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 139, in test_dtb_validation 103s self.check_subtree('/', testtree[0]) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 103s self.check_subtree(name, value) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 103s self.check_node(nodename, subtree) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 103s self.validator.validate(node) 103s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 103s for error in self.iter_errors(instance, filter=filter): 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 103s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 103s yield from validator._validate_reference(ref=ref, instance=instance) 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 103s raise exceptions._WrappedReferencingError(err) 103s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/simple-bus-pass.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 103s testtree = self.validator.decode_dtb(res.stdout) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 103s return [dtschema.dtb.fdt_unflatten(self, dtb)] 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 535, in fdt_unflatten 103s fixup_addresses(validator, dt, 2, 1) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 507, in fixup_addresses 103s fixup_addresses(validator, v, ac, sc) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 521, in fixup_addresses 103s while i < len(val): 103s ~~~^^^^^ 103s TypeError: object of type 'sized_int' has no len() 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/device.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 103s testtree = self.validator.decode_dtb(res.stdout) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 103s return [dtschema.dtb.fdt_unflatten(self, dtb)] 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 533, in fdt_unflatten 103s fixup_gpios(dt) 103s ~~~~~~~~~~~^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 422, in fixup_gpios 103s fixup_gpios(v) 103s ~~~~~~~~~~~^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 429, in fixup_gpios 103s while i < len(val): 103s ~~~^^^^^ 103s TypeError: object of type 'sized_int' has no len() 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/device-fail.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 103s testtree = self.validator.decode_dtb(res.stdout) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 103s return [dtschema.dtb.fdt_unflatten(self, dtb)] 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 534, in fdt_unflatten 103s fixup_interrupts(dt, 1) 103s ~~~~~~~~~~~~~~~~^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 463, in fixup_interrupts 103s fixup_interrupts(v, icells) 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 468, in fixup_interrupts 103s while i < len(val): 103s ~~~^^^^^ 103s TypeError: object of type 'sized_int' has no len() 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/conditionals-single-pass.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 428, in get_or_retrieve 103s resource = registry._retrieve(uri) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 426, in retrieve 103s return DRAFT201909.create_resource(self.schemas[uri]) 103s ~~~~~~~~~~~~^^^^^ 103s KeyError: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 682, in lookup 103s retrieved = self._registry.get_or_retrieve(uri) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 435, in get_or_retrieve 103s raise exceptions.Unretrievable(ref=uri) from error 103s referencing.exceptions.Unretrievable: 'http://devicetree.org/schemas/types.yaml' 103s 103s The above exception was the direct cause of the following exception: 103s 103s Traceback (most recent call last): 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 446, in _validate_reference 103s resolved = self._resolver.lookup(ref) 103s File "/usr/lib/python3/dist-packages/referencing/_core.py", line 686, in lookup 103s raise exceptions.Unresolvable(ref=ref) from error 103s referencing.exceptions.Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s During handling of the above exception, another exception occurred: 103s 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 141, in test_dtb_validation 103s self.assertIsNone(self.check_subtree('/', testtree[0])) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 126, in check_subtree 103s self.check_subtree(name, value) 103s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 123, in check_subtree 103s self.check_node(nodename, subtree) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 120, in check_node 103s self.validator.validate(node) 103s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 466, in validate 103s for error in self.iter_errors(instance, filter=filter): 103s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 448, in iter_errors 103s for error in self.DtValidator(schema, registry=self.registry).iter_errors(instance): 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 368, in iter_errors 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 295, in properties 103s yield from validator.descend( 103s ...<4 lines>... 103s ) 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 416, in descend 103s for error in errors: 103s ^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/_keywords.py", line 274, in ref 103s yield from validator._validate_reference(ref=ref, instance=instance) 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 448, in _validate_reference 103s raise exceptions._WrappedReferencingError(err) 103s jsonschema.exceptions._WrappedReferencingError: Unresolvable: /schemas/types.yaml#/definitions/string 103s 103s ====================================================================== 103s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) (schema='test/simple-bus-fail.dts') 103s Test that all DT files under ./test/ validate against the DT schema (DTB) 103s ---------------------------------------------------------------------- 103s Traceback (most recent call last): 103s File "/tmp/autopkgtest.D1B8jj/autopkgtest_tmp/test/test-dt-validate.py", line 134, in test_dtb_validation 103s testtree = self.validator.decode_dtb(res.stdout) 103s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 594, in decode_dtb 103s return [dtschema.dtb.fdt_unflatten(self, dtb)] 103s ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 535, in fdt_unflatten 103s fixup_addresses(validator, dt, 2, 1) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 507, in fixup_addresses 103s fixup_addresses(validator, v, ac, sc) 103s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 103s File "/usr/lib/python3/dist-packages/dtschema/dtb.py", line 521, in fixup_addresses 103s while i < len(val): 103s ~~~^^^^^ 103s TypeError: object of type 'sized_int' has no len() 103s 103s ---------------------------------------------------------------------- 103s Ran 10 tests in 0.159s 103s 103s FAILED (errors=32) 104s autopkgtest [19:01:31]: test unittests: -----------------------] 104s unittests FAIL non-zero exit status 1 104s autopkgtest [19:01:31]: test unittests: - - - - - - - - - - results - - - - - - - - - - 105s autopkgtest [19:01:32]: @@@@@@@@@@@@@@@@@@@@ summary 105s unittests FAIL non-zero exit status 1