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