--- Begin Message ---
Source: python-proliantutils
Version: 2.8.2-2
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-proliantutils.html
...
======================================================================
FAIL:
proliantutils.tests.hpssa.test_manager.ManagerTestCases.test_create_configuration_max_as_size_gb
proliantutils.tests.hpssa.test_manager.ManagerTestCases.test_create_configuration_max_as_size_gb
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in patched
return func(*args, **keywargs)
File
"/build/1st/python-proliantutils-2.8.2/proliantutils/tests/hpssa/test_manager.py",
line 288, in test_create_configuration_max_as_size_gb
raid_info = manager.create_configuration(raid_info)
File "/build/1st/python-proliantutils-2.8.2/proliantutils/hpssa/manager.py",
line 130, in create_configuration
validate(raid_config)
File "/build/1st/python-proliantutils-2.8.2/proliantutils/hpssa/manager.py",
line 52, in validate
jsonschema.validate(raid_config, raid_config_schema)
File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 895, in
validate
cls.check_schema(schema)
File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 289, in
check_schema
raise exceptions.SchemaError.create_from(error)
jsonschema.exceptions.SchemaError: {'type': 'object', 'properties':
{'raid_level': {'type': 'string', 'enum': ['0', '1', '5', '6', '10', '50',
'60', '1+0', '5+0', '6+0'], 'description': 'RAID level for the logical disk.
Required.'}, 'size_gb': {'anyOf': [{'type': 'integer', 'minimum': 0,
'exclusiveMinimum': True}, {'type': 'string', 'enum': ['MAX']}], 'description':
"Size in GiB (Integer) for the logical disk. Use 'MAX' as size_gb if this
logical disk is supposed to use the rest of the space available. Required."},
'volume_name': {'type': 'string', 'description': 'Name of the volume to be
created. Optional.'}, 'is_root_volume': {'type': 'boolean', 'description':
'Specifies whether this disk is a root volume. Optional.'},
'share_physical_disks': {'type': 'boolean', 'description': 'Specifies whether
other logical disks can share physical disks with this logical disk.
Optional.'}, 'disk_type': {'type': 'string', 'enum': ['hdd', 'ssd'],
'description': "Specifies the type of disk preferred. Valid values are 'hdd'
and 'ssd'. Optional."}, 'interface_type': {'type': 'string', 'enum': ['sata',
'scsi', 'sas'], 'description': "Specifies the interface type of disk. Valid
values are 'sata', 'scsi' and 'sas'. Optional."}, 'number_of_physical_disks':
{'type': 'integer', 'minimum': 0, 'exclusiveMinimum': True, 'description':
'Number of physical disks to use for this logical disk. Optional.'},
'controller': {'type': 'string', 'description': 'Controller to use for this
logical disk. Optional.'}, 'physical_disks': {'type': 'array', 'items':
{'type': 'string'}, 'description': 'The physical disks to use for this logical
disk. Optional'}}, 'required': ['raid_level', 'size_gb'],
'additionalProperties': False} is not valid under any of the given schemas
Failed validating 'anyOf' in
metaschema['properties']['properties']['additionalProperties']['properties']['items']:
{'anyOf': [{'$ref': '#'}, {'$ref': '#/definitions/schemaArray'}],
'default': True}
On schema['properties']['logical_disks']['items']:
{'additionalProperties': False,
'properties': {'controller': {'description': 'Controller to use for '
'this logical disk. '
'Optional.',
'type': 'string'},
'disk_type': {'description': 'Specifies the type of '
'disk preferred. Valid '
"values are 'hdd' and "
"'ssd'. Optional.",
'enum': ['hdd', 'ssd'],
'type': 'string'},
'interface_type': {'description': 'Specifies the '
'interface type of '
'disk. Valid values '
"are 'sata', 'scsi' "
"and 'sas'. "
'Optional.',
'enum': ['sata', 'scsi', 'sas'],
'type': 'string'},
'is_root_volume': {'description': 'Specifies whether '
'this disk is a root '
'volume. Optional.',
'type': 'boolean'},
'number_of_physical_disks': {'description': 'Number of '
'physical '
'disks to '
'use for '
'this '
'logical '
'disk. '
'Optional.',
'exclusiveMinimum': True,
'minimum': 0,
'type': 'integer'},
'physical_disks': {'description': 'The physical disks '
'to use for this '
'logical disk. '
'Optional',
'items': {'type': 'string'},
'type': 'array'},
'raid_level': {'description': 'RAID level for the '
'logical disk. Required.',
'enum': ['0',
'1',
'5',
'6',
'10',
'50',
'60',
'1+0',
'5+0',
'6+0'],
'type': 'string'},
'share_physical_disks': {'description': 'Specifies '
'whether other '
'logical disks '
'can share '
'physical '
'disks with '
'this logical '
'disk. '
'Optional.',
'type': 'boolean'},
'size_gb': {'anyOf': [{'exclusiveMinimum': True,
'minimum': 0,
'type': 'integer'},
{'enum': ['MAX'],
'type': 'string'}],
'description': 'Size in GiB (Integer) for '
'the logical disk. Use '
"'MAX' as size_gb if this "
'logical disk is supposed '
'to use the rest of the '
'space available. '
'Required.'},
'volume_name': {'description': 'Name of the volume to '
'be created. Optional.',
'type': 'string'}},
'required': ['raid_level', 'size_gb'],
'type': 'object'}
======================================================================
...
FAILED (failures=48)
make[1]: *** [debian/rules:24: override_dh_auto_install] Error 1
--- End Message ---