DMSC Integration Testing

Last updated: May 27, 2026 07:22:11

Test: chexus|magic|run_chexus|

View job log here


instrument = 'magic', coda_proposal_id = '999999'
pathfinder = . at 0x7f9e8288f7e0>

def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/999999/raw/coda_magic_999999_00002274.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_a/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/4
E depends_on_target_missing: 0/9
E float_dataset_units_missing: 0/48
E group_has_units: 0/40
E index_has_units: 0/18
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/98
E NX_class_attr_missing: 0/40
E NX_class_is_legacy: 0/40
E transformation_depends_on_missing: 0/3
E transformation_offset_units_missing: 0/0
E units_invalid: 0/95
E NXlog_has_value: 0/11
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 0/0
E event_index_too_small: 1/1
E chopper_frequency_unit_invalid: 0/0
E dataset_units_check: 0/95
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/5
E
E Total: 1/509

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'magic', coda_proposal_id = '999999'
pathfinder = . at 0x7f3737b337e0>

def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/999999/raw/coda_magic_999999_00002148.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_a/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/4
E depends_on_target_missing: 0/9
E float_dataset_units_missing: 0/48
E group_has_units: 0/40
E index_has_units: 0/18
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/99
E NX_class_attr_missing: 0/40
E NX_class_is_legacy: 0/40
E transformation_depends_on_missing: 0/3
E transformation_offset_units_missing: 0/0
E units_invalid: 0/95
E NXlog_has_value: 0/11
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 0/0
E event_index_too_small: 1/1
E chopper_frequency_unit_invalid: 0/0
E dataset_units_check: 0/95
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/5
E
E Total: 1/510

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'magic', coda_proposal_id = '999999'
pathfinder = . at 0x7fa7e4eff7e0>

def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/999999/raw/coda_magic_999999_00002031.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_a/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/4
E depends_on_target_missing: 0/9
E float_dataset_units_missing: 0/48
E group_has_units: 0/40
E index_has_units: 0/18
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/98
E NX_class_attr_missing: 0/40
E NX_class_is_legacy: 0/40
E transformation_depends_on_missing: 0/3
E transformation_offset_units_missing: 0/0
E units_invalid: 0/95
E NXlog_has_value: 0/11
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 0/0
E event_index_too_small: 1/1
E chopper_frequency_unit_invalid: 0/0
E dataset_units_check: 0/95
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/5
E
E Total: 1/509

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'magic', coda_proposal_id = '999999'
pathfinder = . at 0x7f6a9efef7e0>

def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/999999/raw/coda_magic_999999_00001914.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_a/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/4
E depends_on_target_missing: 0/9
E float_dataset_units_missing: 0/48
E group_has_units: 0/40
E index_has_units: 0/18
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/99
E NX_class_attr_missing: 0/40
E NX_class_is_legacy: 0/40
E transformation_depends_on_missing: 0/3
E transformation_offset_units_missing: 0/0
E units_invalid: 0/95
E NXlog_has_value: 0/11
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 0/0
E event_index_too_small: 1/1
E chopper_frequency_unit_invalid: 0/0
E dataset_units_check: 0/95
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/5
E
E Total: 1/510

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'magic', coda_proposal_id = '999999'
pathfinder = . at 0x7fa4c821f7e0>

def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/999999/raw/coda_magic_999999_00001797.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_a/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/4
E depends_on_target_missing: 0/9
E float_dataset_units_missing: 0/48
E group_has_units: 0/40
E index_has_units: 0/18
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/98
E NX_class_attr_missing: 0/40
E NX_class_is_legacy: 0/40
E transformation_depends_on_missing: 0/3
E transformation_offset_units_missing: 0/0
E units_invalid: 0/95
E NXlog_has_value: 0/11
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 0/0
E event_index_too_small: 1/1
E chopper_frequency_unit_invalid: 0/0
E dataset_units_check: 0/95
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/5
E
E Total: 1/509

tests/chexus/chexus_test.py:25: AssertionError