Traceback (most recent call last): File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/ynl_gen_c.py", line 3074, in main() ~~~~^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/ynl_gen_c.py", line 2783, in main parsed = Family(args.spec, exclude_ops) File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/ynl_gen_c.py", line 954, in __init__ super().__init__(file_name, exclude_ops=exclude_ops) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/lib/nlspec.py", line 462, in __init__ jsonschema.validate(self.yaml, schema) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/jsonschema/validators.py", line 1307, in validate raise error jsonschema.exceptions.ValidationError: None is not of type 'object' Failed validating 'type' in schema['properties']['definitions']['items']: {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'entries': {'description': 'For enum or flags array of ' 'values.', 'items': {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'name': {'type': 'string'}, 'value': {'type': 'integer'}}, 'required': ['name'], 'type': 'object'}]}, 'type': 'array'}, 'enum-cnt-name': {'description': 'Name of the ' 'render-max counter ' 'enum entry.', 'type': 'string'}, 'enum-name': {'description': 'Name for enum, if empty ' 'no name will be used.', 'type': ['string', 'null']}, 'header': {'description': 'For C-compatible languages, ' 'header which already ' 'defines this value.', 'type': 'string'}, 'members': {'description': 'List of struct members. ' 'Only scalars and strings ' 'members allowed.', 'items': {'additionalProperties': False, 'properties': {'byte-order': {'enum': ['little-endian', 'big-endian']}, 'display-hint': {'description': 'Optional ' 'format ' 'indicator ' 'that ' 'is ' 'intended ' 'only ' 'for ' 'choosing\n' 'the ' 'right ' 'formatting ' 'mechanism ' 'when ' 'displaying ' 'values ' 'of ' 'this\n' 'type.\n', 'enum': ['hex', 'mac', 'fddi', 'ipv4', 'ipv6', 'uuid']}, 'doc': {'description': 'Documentation ' 'for ' 'the ' 'struct ' 'member ' 'attribute.', 'type': 'string'}, 'enum': {'description': 'Name ' 'of ' 'the ' 'enum ' 'type ' 'used ' 'for ' 'the ' 'attribute.', 'type': 'string'}, 'len': {'$ref': '#/$defs/len-or-define'}, 'name': {'type': 'string'}, 'struct': {'description': 'Name ' 'of ' 'the ' 'nested ' 'struct ' 'type.', 'type': 'string'}, 'type': {'description': 'The ' 'netlink ' 'attribute ' 'type', 'enum': ['u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'string', 'binary']}}, 'required': ['name', 'type'], 'type': 'object'}, 'type': 'array'}, 'name': {'type': 'string'}, 'name-prefix': {'description': 'For enum the prefix of ' 'the values, optional.', 'type': 'string'}, 'render-max': {'description': 'Render the max members ' 'for this enum.', 'type': 'boolean'}, 'type': {'enum': ['const', 'enum', 'flags', 'struct']}, 'value': {'description': 'For const - the value.', 'type': ['string', 'integer']}, 'value-start': {'description': 'For enum or flags the ' 'literal initializer ' 'for the first value.', 'type': ['string', 'integer']}}, 'required': ['type', 'name'], 'type': 'object'} On instance['definitions'][22]: None Traceback (most recent call last): File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/ynl_gen_c.py", line 3074, in main() ~~~~^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/ynl_gen_c.py", line 2783, in main parsed = Family(args.spec, exclude_ops) File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/ynl_gen_c.py", line 954, in __init__ super().__init__(file_name, exclude_ops=exclude_ops) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/lib/nlspec.py", line 462, in __init__ jsonschema.validate(self.yaml, schema) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/jsonschema/validators.py", line 1307, in validate raise error jsonschema.exceptions.ValidationError: None is not of type 'object' Failed validating 'type' in schema['properties']['definitions']['items']: {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'entries': {'description': 'For enum or flags array of ' 'values.', 'items': {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'name': {'type': 'string'}, 'value': {'type': 'integer'}}, 'required': ['name'], 'type': 'object'}]}, 'type': 'array'}, 'enum-cnt-name': {'description': 'Name of the ' 'render-max counter ' 'enum entry.', 'type': 'string'}, 'enum-name': {'description': 'Name for enum, if empty ' 'no name will be used.', 'type': ['string', 'null']}, 'header': {'description': 'For C-compatible languages, ' 'header which already ' 'defines this value.', 'type': 'string'}, 'members': {'description': 'List of struct members. ' 'Only scalars and strings ' 'members allowed.', 'items': {'additionalProperties': False, 'properties': {'byte-order': {'enum': ['little-endian', 'big-endian']}, 'display-hint': {'description': 'Optional ' 'format ' 'indicator ' 'that ' 'is ' 'intended ' 'only ' 'for ' 'choosing\n' 'the ' 'right ' 'formatting ' 'mechanism ' 'when ' 'displaying ' 'values ' 'of ' 'this\n' 'type.\n', 'enum': ['hex', 'mac', 'fddi', 'ipv4', 'ipv6', 'uuid']}, 'doc': {'description': 'Documentation ' 'for ' 'the ' 'struct ' 'member ' 'attribute.', 'type': 'string'}, 'enum': {'description': 'Name ' 'of ' 'the ' 'enum ' 'type ' 'used ' 'for ' 'the ' 'attribute.', 'type': 'string'}, 'len': {'$ref': '#/$defs/len-or-define'}, 'name': {'type': 'string'}, 'struct': {'description': 'Name ' 'of ' 'the ' 'nested ' 'struct ' 'type.', 'type': 'string'}, 'type': {'description': 'The ' 'netlink ' 'attribute ' 'type', 'enum': ['u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'string', 'binary']}}, 'required': ['name', 'type'], 'type': 'object'}, 'type': 'array'}, 'name': {'type': 'string'}, 'name-prefix': {'description': 'For enum the prefix of ' 'the values, optional.', 'type': 'string'}, 'render-max': {'description': 'Render the max members ' 'for this enum.', 'type': 'boolean'}, 'type': {'enum': ['const', 'enum', 'flags', 'struct']}, 'value': {'description': 'For const - the value.', 'type': ['string', 'integer']}, 'value-start': {'description': 'For enum or flags the ' 'literal initializer ' 'for the first value.', 'type': ['string', 'integer']}}, 'required': ['type', 'name'], 'type': 'object'} On instance['definitions'][22]: None WARNING:root:Failed to parse ../../../../Documentation/netlink/specs/devlink.yaml. WARNING:root:'NoneType' object is not subscriptable make[1]: *** [Makefile:56: devlink.rst] Error 255 make[1]: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 3074, in main() ~~~~^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 2783, in main parsed = Family(args.spec, exclude_ops) File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 954, in __init__ super().__init__(file_name, exclude_ops=exclude_ops) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/lib/nlspec.py", line 462, in __init__ jsonschema.validate(self.yaml, schema) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/jsonschema/validators.py", line 1307, in validate raise error jsonschema.exceptions.ValidationError: None is not of type 'object' Failed validating 'type' in schema['properties']['definitions']['items']: {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'entries': {'description': 'For enum or flags array of ' 'values.', 'items': {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'name': {'type': 'string'}, 'value': {'type': 'integer'}}, 'required': ['name'], 'type': 'object'}]}, 'type': 'array'}, 'enum-cnt-name': {'description': 'Name of the ' 'render-max counter ' 'enum entry.', 'type': 'string'}, 'enum-name': {'description': 'Name for enum, if empty ' 'no name will be used.', 'type': ['string', 'null']}, 'header': {'description': 'For C-compatible languages, ' 'header which already ' 'defines this value.', 'type': 'string'}, 'members': {'description': 'List of struct members. ' 'Only scalars and strings ' 'members allowed.', 'items': {'additionalProperties': False, 'properties': {'byte-order': {'enum': ['little-endian', 'big-endian']}, 'display-hint': {'description': 'Optional ' 'format ' 'indicator ' 'that ' 'is ' 'intended ' 'only ' 'for ' 'choosing\n' 'the ' 'right ' 'formatting ' 'mechanism ' 'when ' 'displaying ' 'values ' 'of ' 'this\n' 'type.\n', 'enum': ['hex', 'mac', 'fddi', 'ipv4', 'ipv6', 'uuid']}, 'doc': {'description': 'Documentation ' 'for ' 'the ' 'struct ' 'member ' 'attribute.', 'type': 'string'}, 'enum': {'description': 'Name ' 'of ' 'the ' 'enum ' 'type ' 'used ' 'for ' 'the ' 'attribute.', 'type': 'string'}, 'len': {'$ref': '#/$defs/len-or-define'}, 'name': {'type': 'string'}, 'struct': {'description': 'Name ' 'of ' 'the ' 'nested ' 'struct ' 'type.', 'type': 'string'}, 'type': {'description': 'The ' 'netlink ' 'attribute ' 'type', 'enum': ['u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'string', 'binary']}}, 'required': ['name', 'type'], 'type': 'object'}, 'type': 'array'}, 'name': {'type': 'string'}, 'name-prefix': {'description': 'For enum the prefix of ' 'the values, optional.', 'type': 'string'}, 'render-max': {'description': 'Render the max members ' 'for this enum.', 'type': 'boolean'}, 'type': {'enum': ['const', 'enum', 'flags', 'struct']}, 'value': {'description': 'For const - the value.', 'type': ['string', 'integer']}, 'value-start': {'description': 'For enum or flags the ' 'literal initializer ' 'for the first value.', 'type': ['string', 'integer']}}, 'required': ['type', 'name'], 'type': 'object'} On instance['definitions'][22]: None Traceback (most recent call last): File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 3074, in main() ~~~~^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 2783, in main parsed = Family(args.spec, exclude_ops) File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 954, in __init__ super().__init__(file_name, exclude_ops=exclude_ops) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/lib/nlspec.py", line 462, in __init__ jsonschema.validate(self.yaml, schema) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/jsonschema/validators.py", line 1307, in validate raise error jsonschema.exceptions.ValidationError: None is not of type 'object' Failed validating 'type' in schema['properties']['definitions']['items']: {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'entries': {'description': 'For enum or flags array of ' 'values.', 'items': {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'name': {'type': 'string'}, 'value': {'type': 'integer'}}, 'required': ['name'], 'type': 'object'}]}, 'type': 'array'}, 'enum-cnt-name': {'description': 'Name of the ' 'render-max counter ' 'enum entry.', 'type': 'string'}, 'enum-name': {'description': 'Name for enum, if empty ' 'no name will be used.', 'type': ['string', 'null']}, 'header': {'description': 'For C-compatible languages, ' 'header which already ' 'defines this value.', 'type': 'string'}, 'members': {'description': 'List of struct members. ' 'Only scalars and strings ' 'members allowed.', 'items': {'additionalProperties': False, 'properties': {'byte-order': {'enum': ['little-endian', 'big-endian']}, 'display-hint': {'description': 'Optional ' 'format ' 'indicator ' 'that ' 'is ' 'intended ' 'only ' 'for ' 'choosing\n' 'the ' 'right ' 'formatting ' 'mechanism ' 'when ' 'displaying ' 'values ' 'of ' 'this\n' 'type.\n', 'enum': ['hex', 'mac', 'fddi', 'ipv4', 'ipv6', 'uuid']}, 'doc': {'description': 'Documentation ' 'for ' 'the ' 'struct ' 'member ' 'attribute.', 'type': 'string'}, 'enum': {'description': 'Name ' 'of ' 'the ' 'enum ' 'type ' 'used ' 'for ' 'the ' 'attribute.', 'type': 'string'}, 'len': {'$ref': '#/$defs/len-or-define'}, 'name': {'type': 'string'}, 'struct': {'description': 'Name ' 'of ' 'the ' 'nested ' 'struct ' 'type.', 'type': 'string'}, 'type': {'description': 'The ' 'netlink ' 'attribute ' 'type', 'enum': ['u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'string', 'binary']}}, 'required': ['name', 'type'], 'type': 'object'}, 'type': 'array'}, 'name': {'type': 'string'}, 'name-prefix': {'description': 'For enum the prefix of ' 'the values, optional.', 'type': 'string'}, 'render-max': {'description': 'Render the max members ' 'for this enum.', 'type': 'boolean'}, 'type': {'enum': ['const', 'enum', 'flags', 'struct']}, 'value': {'description': 'For const - the value.', 'type': ['string', 'integer']}, 'value-start': {'description': 'For enum or flags the ' 'literal initializer ' 'for the first value.', 'type': ['string', 'integer']}}, 'required': ['type', 'name'], 'type': 'object'} On instance['definitions'][22]: None make[1]: *** [Makefile:48: devlink-user.c] Error 1 make[1]: *** [Makefile:44: devlink-user.h] Error 1 make: *** [Makefile:25: generated] Error 2 WARNING:root:Failed to parse ../../../../Documentation/netlink/specs/devlink.yaml. WARNING:root:'NoneType' object is not subscriptable make: *** [Makefile:56: devlink.rst] Error 255 make: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 3074, in main() ~~~~^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 2783, in main parsed = Family(args.spec, exclude_ops) File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 954, in __init__ super().__init__(file_name, exclude_ops=exclude_ops) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/lib/nlspec.py", line 462, in __init__ jsonschema.validate(self.yaml, schema) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/jsonschema/validators.py", line 1307, in validate raise error jsonschema.exceptions.ValidationError: None is not of type 'object' Failed validating 'type' in schema['properties']['definitions']['items']: {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'entries': {'description': 'For enum or flags array of ' 'values.', 'items': {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'name': {'type': 'string'}, 'value': {'type': 'integer'}}, 'required': ['name'], 'type': 'object'}]}, 'type': 'array'}, 'enum-cnt-name': {'description': 'Name of the ' 'render-max counter ' 'enum entry.', 'type': 'string'}, 'enum-name': {'description': 'Name for enum, if empty ' 'no name will be used.', 'type': ['string', 'null']}, 'header': {'description': 'For C-compatible languages, ' 'header which already ' 'defines this value.', 'type': 'string'}, 'members': {'description': 'List of struct members. ' 'Only scalars and strings ' 'members allowed.', 'items': {'additionalProperties': False, 'properties': {'byte-order': {'enum': ['little-endian', 'big-endian']}, 'display-hint': {'description': 'Optional ' 'format ' 'indicator ' 'that ' 'is ' 'intended ' 'only ' 'for ' 'choosing\n' 'the ' 'right ' 'formatting ' 'mechanism ' 'when ' 'displaying ' 'values ' 'of ' 'this\n' 'type.\n', 'enum': ['hex', 'mac', 'fddi', 'ipv4', 'ipv6', 'uuid']}, 'doc': {'description': 'Documentation ' 'for ' 'the ' 'struct ' 'member ' 'attribute.', 'type': 'string'}, 'enum': {'description': 'Name ' 'of ' 'the ' 'enum ' 'type ' 'used ' 'for ' 'the ' 'attribute.', 'type': 'string'}, 'len': {'$ref': '#/$defs/len-or-define'}, 'name': {'type': 'string'}, 'struct': {'description': 'Name ' 'of ' 'the ' 'nested ' 'struct ' 'type.', 'type': 'string'}, 'type': {'description': 'The ' 'netlink ' 'attribute ' 'type', 'enum': ['u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'string', 'binary']}}, 'required': ['name', 'type'], 'type': 'object'}, 'type': 'array'}, 'name': {'type': 'string'}, 'name-prefix': {'description': 'For enum the prefix of ' 'the values, optional.', 'type': 'string'}, 'render-max': {'description': 'Render the max members ' 'for this enum.', 'type': 'boolean'}, 'type': {'enum': ['const', 'enum', 'flags', 'struct']}, 'value': {'description': 'For const - the value.', 'type': ['string', 'integer']}, 'value-start': {'description': 'For enum or flags the ' 'literal initializer ' 'for the first value.', 'type': ['string', 'integer']}}, 'required': ['type', 'name'], 'type': 'object'} On instance['definitions'][22]: None make: *** [Makefile:44: devlink-user.h] Error 1 Traceback (most recent call last): File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 3074, in main() ~~~~^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 2783, in main parsed = Family(args.spec, exclude_ops) File "/home/nipa/net-next/wt-1/tools/net/ynl/generated/../pyynl/ynl_gen_c.py", line 954, in __init__ super().__init__(file_name, exclude_ops=exclude_ops) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nipa/net-next/wt-1/tools/net/ynl/pyynl/lib/nlspec.py", line 462, in __init__ jsonschema.validate(self.yaml, schema) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/jsonschema/validators.py", line 1307, in validate raise error jsonschema.exceptions.ValidationError: None is not of type 'object' Failed validating 'type' in schema['properties']['definitions']['items']: {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'entries': {'description': 'For enum or flags array of ' 'values.', 'items': {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'doc': {'type': 'string'}, 'name': {'type': 'string'}, 'value': {'type': 'integer'}}, 'required': ['name'], 'type': 'object'}]}, 'type': 'array'}, 'enum-cnt-name': {'description': 'Name of the ' 'render-max counter ' 'enum entry.', 'type': 'string'}, 'enum-name': {'description': 'Name for enum, if empty ' 'no name will be used.', 'type': ['string', 'null']}, 'header': {'description': 'For C-compatible languages, ' 'header which already ' 'defines this value.', 'type': 'string'}, 'members': {'description': 'List of struct members. ' 'Only scalars and strings ' 'members allowed.', 'items': {'additionalProperties': False, 'properties': {'byte-order': {'enum': ['little-endian', 'big-endian']}, 'display-hint': {'description': 'Optional ' 'format ' 'indicator ' 'that ' 'is ' 'intended ' 'only ' 'for ' 'choosing\n' 'the ' 'right ' 'formatting ' 'mechanism ' 'when ' 'displaying ' 'values ' 'of ' 'this\n' 'type.\n', 'enum': ['hex', 'mac', 'fddi', 'ipv4', 'ipv6', 'uuid']}, 'doc': {'description': 'Documentation ' 'for ' 'the ' 'struct ' 'member ' 'attribute.', 'type': 'string'}, 'enum': {'description': 'Name ' 'of ' 'the ' 'enum ' 'type ' 'used ' 'for ' 'the ' 'attribute.', 'type': 'string'}, 'len': {'$ref': '#/$defs/len-or-define'}, 'name': {'type': 'string'}, 'struct': {'description': 'Name ' 'of ' 'the ' 'nested ' 'struct ' 'type.', 'type': 'string'}, 'type': {'description': 'The ' 'netlink ' 'attribute ' 'type', 'enum': ['u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'string', 'binary']}}, 'required': ['name', 'type'], 'type': 'object'}, 'type': 'array'}, 'name': {'type': 'string'}, 'name-prefix': {'description': 'For enum the prefix of ' 'the values, optional.', 'type': 'string'}, 'render-max': {'description': 'Render the max members ' 'for this enum.', 'type': 'boolean'}, 'type': {'enum': ['const', 'enum', 'flags', 'struct']}, 'value': {'description': 'For const - the value.', 'type': ['string', 'integer']}, 'value-start': {'description': 'For enum or flags the ' 'literal initializer ' 'for the first value.', 'type': ['string', 'integer']}}, 'required': ['type', 'name'], 'type': 'object'} On instance['definitions'][22]: None make: *** [Makefile:48: devlink-user.c] Error 1