DMSC Integration Testing

Last updated: May 27, 2026 07:24:18

Test: chexus|loki|run_chexus|

View job log here


instrument = 'loki', coda_proposal_id = '999999'
pathfinder = . at 0x7fe95104b7e0>

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_loki_999999_00002533.hdf:
E Violations
E ----------
E depends_on_target_missing @ /entry/instrument/beam_monitor_m4/transformations/trans_20 (depends_on target /entry/instrument/beamstop_z1 is not a transformation)
E
E
E Summary
E -------
E depends_on_missing: 0/61
E depends_on_target_missing: 1/131
E float_dataset_units_missing: 0/620
E group_has_units: 0/314
E index_has_units: 0/197
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/315
E NX_class_attr_missing: 0/314
E NX_class_is_legacy: 0/314
E transformation_depends_on_missing: 0/58
E transformation_offset_units_missing: 0/0
E units_invalid: 0/1258
E NXlog_has_value: 0/142
E detector_numbers are not unique: 0/9
E event_id is not subset of associated detector_numbers: 0/9
E Shape of pixel offsets does not correspond to detector_number: 0/9
E event_index_too_small: 0/12
E chopper_frequency_unit_invalid: 0/4
E dataset_units_check: 0/1258
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/60
E
E Total: 1/5085

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'loki', coda_proposal_id = '999999'
pathfinder = . at 0x7f014654f7e0>

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_loki_999999_00002273.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/beam_monitor_m2/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m3/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m4/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_0/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_1/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_2/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_3/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_4/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_5/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_6/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_7/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_8/detector_events/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/60
E depends_on_target_missing: 0/132
E float_dataset_units_missing: 0/631
E group_has_units: 0/318
E index_has_units: 0/200
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/318
E NX_class_attr_missing: 0/318
E NX_class_is_legacy: 0/318
E transformation_depends_on_missing: 0/58
E transformation_offset_units_missing: 0/0
E units_invalid: 0/1282
E NXlog_has_value: 0/147
E detector_numbers are not unique: 0/9
E event_id is not subset of associated detector_numbers: 0/9
E Shape of pixel offsets does not correspond to detector_number: 0/9
E event_index_too_small: 12/12
E chopper_frequency_unit_invalid: 0/4
E dataset_units_check: 0/1282
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/60
E
E Total: 12/5167

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'loki', coda_proposal_id = '999999'
pathfinder = . at 0x7f38deed77e0>

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_loki_999999_00002147.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/beam_monitor_m2/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m3/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m4/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_0/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_1/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_2/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_3/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_4/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_5/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_6/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_7/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_8/detector_events/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/60
E depends_on_target_missing: 0/132
E float_dataset_units_missing: 0/631
E group_has_units: 0/318
E index_has_units: 0/200
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/318
E NX_class_attr_missing: 0/318
E NX_class_is_legacy: 0/318
E transformation_depends_on_missing: 0/58
E transformation_offset_units_missing: 0/0
E units_invalid: 0/1282
E NXlog_has_value: 0/147
E detector_numbers are not unique: 0/9
E event_id is not subset of associated detector_numbers: 0/9
E Shape of pixel offsets does not correspond to detector_number: 0/9
E event_index_too_small: 12/12
E chopper_frequency_unit_invalid: 0/4
E dataset_units_check: 0/1282
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/60
E
E Total: 12/5167

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'loki', coda_proposal_id = '999999'
pathfinder = . at 0x7f199c5db7e0>

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_loki_999999_00002030.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/beam_monitor_m2/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m3/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m4/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_0/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_1/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_2/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_3/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_4/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_5/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_6/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_7/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_8/detector_events/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/60
E depends_on_target_missing: 0/132
E float_dataset_units_missing: 0/631
E group_has_units: 0/318
E index_has_units: 0/200
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/318
E NX_class_attr_missing: 0/318
E NX_class_is_legacy: 0/318
E transformation_depends_on_missing: 0/58
E transformation_offset_units_missing: 0/0
E units_invalid: 0/1282
E NXlog_has_value: 0/147
E detector_numbers are not unique: 0/9
E event_id is not subset of associated detector_numbers: 0/9
E Shape of pixel offsets does not correspond to detector_number: 0/9
E event_index_too_small: 12/12
E chopper_frequency_unit_invalid: 0/4
E dataset_units_check: 0/1282
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/60
E
E Total: 12/5167

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'loki', coda_proposal_id = '999999'
pathfinder = . at 0x7fc66340f7e0>

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_loki_999999_00001913.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/beam_monitor_m2/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m3/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m4/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_0/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_1/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_2/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_3/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_4/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_5/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_6/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_7/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_8/detector_events/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/60
E depends_on_target_missing: 0/132
E float_dataset_units_missing: 0/631
E group_has_units: 0/318
E index_has_units: 0/200
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/318
E NX_class_attr_missing: 0/318
E NX_class_is_legacy: 0/318
E transformation_depends_on_missing: 0/58
E transformation_offset_units_missing: 0/0
E units_invalid: 0/1282
E NXlog_has_value: 0/147
E detector_numbers are not unique: 0/9
E event_id is not subset of associated detector_numbers: 0/9
E Shape of pixel offsets does not correspond to detector_number: 0/9
E event_index_too_small: 12/12
E chopper_frequency_unit_invalid: 0/4
E dataset_units_check: 0/1282
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/60
E
E Total: 12/5167

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'loki', coda_proposal_id = '999999'
pathfinder = . at 0x7f26877a77e0>

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_loki_999999_00001796.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/beam_monitor_m2/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m3/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/beam_monitor_m4/monitor_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_0/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_1/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_2/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_3/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_4/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_5/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_6/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_7/detector_events/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/loki_detector_8/detector_events/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/60
E depends_on_target_missing: 0/132
E float_dataset_units_missing: 0/631
E group_has_units: 0/318
E index_has_units: 0/200
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/319
E NX_class_attr_missing: 0/318
E NX_class_is_legacy: 0/318
E transformation_depends_on_missing: 0/58
E transformation_offset_units_missing: 0/0
E units_invalid: 0/1282
E NXlog_has_value: 0/147
E detector_numbers are not unique: 0/9
E event_id is not subset of associated detector_numbers: 0/9
E Shape of pixel offsets does not correspond to detector_number: 0/9
E event_index_too_small: 12/12
E chopper_frequency_unit_invalid: 0/4
E dataset_units_check: 0/1282
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/60
E
E Total: 12/5168

tests/chexus/chexus_test.py:25: AssertionError