0s autopkgtest [10:27:06]: starting date and time: 2024-06-16 10:27:06+0000 0s autopkgtest [10:27:06]: git checkout: 433ed4c Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:27:06]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.iiuglu4k/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:dt-schema --apt-upgrade dt-schema --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=dt-schema/2023.11-3 -- lxd -r lxd-armhf-10.145.243.21 lxd-armhf-10.145.243.21:autopkgtest/ubuntu/oracular/armhf 27s autopkgtest [10:27:33]: testbed dpkg architecture: armhf 28s autopkgtest [10:27:34]: testbed apt version: 2.9.5 29s autopkgtest [10:27:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 36s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 37s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 37s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 37s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 37s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 37s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [34.8 kB] 37s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1860 B] 37s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [293 kB] 37s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [2528 B] 37s Fetched 877 kB in 1s (1049 kB/s) 37s Reading package lists... 54s tee: /proc/self/fd/2: Permission denied 75s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 75s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 76s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 76s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 77s Reading package lists... 77s Reading package lists... 77s Building dependency tree... 77s Reading state information... 78s Calculating upgrade... 78s The following packages will be upgraded: 78s libldap-common libldap2 79s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 79s Need to get 203 kB of archives. 79s After this operation, 0 B of additional disk space will be used. 79s Get:1 http://ftpmaster.internal/ubuntu oracular/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 79s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu9 [171 kB] 79s Fetched 203 kB in 0s (490 kB/s) 79s (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 ... 58402 files and directories currently installed.) 79s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 79s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 79s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_armhf.deb ... 79s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 79s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 79s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu9) ... 79s Processing triggers for man-db (2.12.1-2) ... 80s Processing triggers for libc-bin (2.39-0ubuntu9) ... 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s autopkgtest [10:28:29]: rebooting testbed after setup commands that affected boot 123s autopkgtest [10:29:09]: testbed running kernel: Linux 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:51:32 UTC 2024 153s autopkgtest [10:29:39]: @@@@@@@@@@@@@@@@@@@@ apt-source dt-schema 175s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed/universe dt-schema 2023.11-3 (dsc) [2207 B] 175s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe dt-schema 2023.11-3 (tar) [68.2 kB] 175s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe dt-schema 2023.11-3 (diff) [5036 B] 177s gpgv: Signature made Sun Jan 28 20:56:36 2024 UTC 177s gpgv: using RSA key DB1309B6B0AA08EC28A1BF1C06369EAD1D3E0105 177s gpgv: issuer "gagath@debian.org" 177s gpgv: Can't check signature: No public key 177s dpkg-source: warning: cannot verify inline signature for ./dt-schema_2023.11-3.dsc: no acceptable signature found 181s autopkgtest [10:30:07]: testing package dt-schema version 2023.11-3 183s autopkgtest [10:30:09]: build not needed 185s autopkgtest [10:30:11]: test unittests: preparing testbed 198s Reading package lists... 199s Building dependency tree... 199s Reading state information... 199s Starting pkgProblemResolver with broken count: 0 199s Starting 2 pkgProblemResolver with broken count: 0 199s Done 200s The following additional packages will be installed: 200s device-tree-compiler dt-schema libfdt1 python3-all python3-libfdt 200s python3-rfc3987 python3-ruamel.yaml python3-ruamel.yaml.clib 201s The following NEW packages will be installed: 201s autopkgtest-satdep device-tree-compiler dt-schema libfdt1 python3-all 201s python3-libfdt python3-rfc3987 python3-ruamel.yaml python3-ruamel.yaml.clib 201s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 201s Need to get 529 kB/530 kB of archives. 201s After this operation, 1598 kB of additional disk space will be used. 201s Get:1 /tmp/autopkgtest.hLSnJv/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [732 B] 202s Get:2 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-libfdt armhf 1.7.0-2build1 [51.5 kB] 202s Get:3 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-rfc3987 all 1.3.8-2 [8862 B] 202s Get:4 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-ruamel.yaml.clib armhf 0.2.8-1build1 [120 kB] 202s Get:5 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-ruamel.yaml all 0.17.21-1 [86.6 kB] 202s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf dt-schema all 2023.11-3 [24.4 kB] 202s Get:7 http://ftpmaster.internal/ubuntu oracular/main armhf python3-all armhf 3.12.3-0ubuntu1 [886 B] 202s Get:8 http://ftpmaster.internal/ubuntu oracular/main armhf libfdt1 armhf 1.7.0-2build1 [16.5 kB] 202s Get:9 http://ftpmaster.internal/ubuntu oracular/main armhf device-tree-compiler armhf 1.7.0-2build1 [221 kB] 216s Fetched 529 kB in 1s (530 kB/s) 217s Selecting previously unselected package python3-libfdt. 218s (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 ... 58402 files and directories currently installed.) 218s Preparing to unpack .../0-python3-libfdt_1.7.0-2build1_armhf.deb ... 218s Unpacking python3-libfdt (1.7.0-2build1) ... 219s Selecting previously unselected package python3-rfc3987. 222s Preparing to unpack .../1-python3-rfc3987_1.3.8-2_all.deb ... 222s Unpacking python3-rfc3987 (1.3.8-2) ... 223s Selecting previously unselected package python3-ruamel.yaml.clib:armhf. 225s Preparing to unpack .../2-python3-ruamel.yaml.clib_0.2.8-1build1_armhf.deb ... 225s Unpacking python3-ruamel.yaml.clib:armhf (0.2.8-1build1) ... 225s Selecting previously unselected package python3-ruamel.yaml. 226s Preparing to unpack .../3-python3-ruamel.yaml_0.17.21-1_all.deb ... 226s Unpacking python3-ruamel.yaml (0.17.21-1) ... 227s Selecting previously unselected package dt-schema. 228s Preparing to unpack .../4-dt-schema_2023.11-3_all.deb ... 228s Unpacking dt-schema (2023.11-3) ... 228s Selecting previously unselected package python3-all. 230s Preparing to unpack .../5-python3-all_3.12.3-0ubuntu1_armhf.deb ... 230s Unpacking python3-all (3.12.3-0ubuntu1) ... 230s Selecting previously unselected package libfdt1:armhf. 233s Preparing to unpack .../6-libfdt1_1.7.0-2build1_armhf.deb ... 233s Unpacking libfdt1:armhf (1.7.0-2build1) ... 233s Selecting previously unselected package device-tree-compiler. 235s Preparing to unpack .../7-device-tree-compiler_1.7.0-2build1_armhf.deb ... 235s Unpacking device-tree-compiler (1.7.0-2build1) ... 236s Selecting previously unselected package autopkgtest-satdep. 238s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 238s Unpacking autopkgtest-satdep (0) ... 238s Setting up python3-ruamel.yaml.clib:armhf (0.2.8-1build1) ... 238s Setting up python3-all (3.12.3-0ubuntu1) ... 238s Setting up libfdt1:armhf (1.7.0-2build1) ... 238s Setting up python3-libfdt (1.7.0-2build1) ... 239s Setting up python3-rfc3987 (1.3.8-2) ... 239s Setting up device-tree-compiler (1.7.0-2build1) ... 239s Setting up python3-ruamel.yaml (0.17.21-1) ... 240s Setting up dt-schema (2023.11-3) ... 240s Setting up autopkgtest-satdep (0) ... 240s Processing triggers for man-db (2.12.1-2) ... 240s Processing triggers for libc-bin (2.39-0ubuntu9) ... 256s (Reading database ... 58533 files and directories currently installed.) 256s Removing autopkgtest-satdep (0) ... 263s autopkgtest [10:31:29]: test unittests: [----------------------- 269s === python3.12 === 270s .EEEEEEEEEEEEEEEEE.EEEE.../tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/schemas/bad-example.yaml: ignoring, error in schema: required: 3 270s E 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='$id') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='title') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='maintainers') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='description') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='required') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='bad-key') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 68, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/compatible') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/reg') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupts') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-names') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/interrupt-controller') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/#interrupt-cells') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/gpio-controller') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpio') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/some-gpios') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/another-property') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_bad_properties (__main__.TestDTMetaSchema.test_bad_properties) (k='properties/vendor,property') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 76, in test_bad_properties 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_required_properties (__main__.TestDTMetaSchema.test_required_properties) 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 45, in test_required_properties 270s self.schema.is_valid(strict=True) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='$id') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='title') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_required_property_missing (__main__.TestDTMetaSchema.test_required_property_missing) (k='maintainers') 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 869, in resolve_from_url 270s document = self.store[url] 270s ~~~~~~~~~~^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 28, in __getitem__ 270s return self.store[self.normalize(uri)] 270s ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: 'http://devicetree.org/meta-schemas/core.yaml' 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 872, in resolve_from_url 270s document = self.resolve_remote(url) 270s ^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 973, in resolve_remote 270s result = self.handlers[scheme](uri) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 81, in http_handler 270s raise RefResolutionError('Error in referenced schema matching $id: ' + uri) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s During handling of the above exception, another exception occurred: 270s 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 54, in test_required_property_missing 270s self.assertRaises(jsonschema.SchemaError, schema_tmp.is_valid, strict=True) 270s File "/usr/lib/python3.12/unittest/case.py", line 778, in assertRaises 270s return context.handle('assertRaises', args, kwargs) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3.12/unittest/case.py", line 238, in handle 270s callable_obj(*args, **kwargs) 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 132, in is_valid 270s for error in self.iter_errors(): 270s File "/usr/lib/python3/dist-packages/dtschema/schema.py", line 120, in iter_errors 270s meta_schema = self.resolver.resolve_from_url(self['$schema']) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 874, in resolve_from_url 270s raise exceptions.RefResolutionError(exc) 270s jsonschema.exceptions.RefResolutionError: Error in referenced schema matching $id: http://devicetree.org/meta-schemas/core.yaml 270s 270s ====================================================================== 270s ERROR: test_dtb_validation (__main__.TestDTValidate.test_dtb_validation) 270s Test that all DT files under ./test/ validate against the DT schema (DTB) 270s ---------------------------------------------------------------------- 270s Traceback (most recent call last): 270s File "/tmp/autopkgtest.hLSnJv/autopkgtest_tmp/test/test-dt-validate.py", line 107, in setUp 270s self.validator = dtschema.DTValidator([ os.path.join(os.path.abspath(basedir), "schemas/")]) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 363, in __init__ 270s self.make_property_type_cache() 270s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 420, in make_property_type_cache 270s self.props, self.pat_props = get_prop_types(self.schemas) 270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 270s File "/usr/lib/python3/dist-packages/dtschema/validator.py", line 187, in get_prop_types 270s del props[r'^[a-z][a-z0-9\-]*$'] 270s ~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 270s KeyError: '^[a-z][a-z0-9\\-]*$' 270s 270s ---------------------------------------------------------------------- 270s Ran 9 tests in 0.130s 270s 270s FAILED (errors=22) 271s autopkgtest [10:31:37]: test unittests: -----------------------] 277s autopkgtest [10:31:43]: test unittests: - - - - - - - - - - results - - - - - - - - - - 277s unittests FAIL non-zero exit status 1 282s autopkgtest [10:31:48]: @@@@@@@@@@@@@@@@@@@@ summary 282s unittests FAIL non-zero exit status 1