DMSC Integration Testing

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

Test: chexus|nmx|run_chexus|

View job log here


instrument = 'nmx', coda_proposal_id = '999999'
pathfinder = . at 0x7f846dc737e0>

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_nmx_999999_00002275.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_panel_0/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_1/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_2/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/16
E depends_on_target_missing: 0/62
E float_dataset_units_missing: 0/295
E group_has_units: 0/127
E index_has_units: 0/85
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/180
E NX_class_attr_missing: 0/127
E NX_class_is_legacy: 0/127
E transformation_depends_on_missing: 0/17
E transformation_offset_units_missing: 0/28
E units_invalid: 0/572
E NXlog_has_value: 0/67
E detector_numbers are not unique: 0/3
E event_id is not subset of associated detector_numbers: 0/3
E Shape of pixel offsets does not correspond to detector_number: 0/3
E event_index_too_small: 3/3
E chopper_frequency_unit_invalid: 0/3
E dataset_units_check: 0/572
E transformation_offset_units_invalid: 0/29
E transformation_value_units_invalid: 0/46
E
E Total: 3/2365

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'nmx', coda_proposal_id = '999999'
pathfinder = . at 0x7f8b5caf37e0>

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_nmx_999999_00002149.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_panel_0/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_1/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_2/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/16
E depends_on_target_missing: 0/62
E float_dataset_units_missing: 0/295
E group_has_units: 0/127
E index_has_units: 0/85
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/180
E NX_class_attr_missing: 0/127
E NX_class_is_legacy: 0/127
E transformation_depends_on_missing: 0/17
E transformation_offset_units_missing: 0/28
E units_invalid: 0/572
E NXlog_has_value: 0/67
E detector_numbers are not unique: 0/3
E event_id is not subset of associated detector_numbers: 0/3
E Shape of pixel offsets does not correspond to detector_number: 0/3
E event_index_too_small: 3/3
E chopper_frequency_unit_invalid: 0/3
E dataset_units_check: 0/572
E transformation_offset_units_invalid: 0/29
E transformation_value_units_invalid: 0/46
E
E Total: 3/2365

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'nmx', coda_proposal_id = '999999'
pathfinder = . at 0x7f63c9e8b7e0>

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_nmx_999999_00002032.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_panel_0/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_1/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_2/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/16
E depends_on_target_missing: 0/62
E float_dataset_units_missing: 0/295
E group_has_units: 0/127
E index_has_units: 0/85
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/180
E NX_class_attr_missing: 0/127
E NX_class_is_legacy: 0/127
E transformation_depends_on_missing: 0/17
E transformation_offset_units_missing: 0/28
E units_invalid: 0/572
E NXlog_has_value: 0/67
E detector_numbers are not unique: 0/3
E event_id is not subset of associated detector_numbers: 0/3
E Shape of pixel offsets does not correspond to detector_number: 0/3
E event_index_too_small: 3/3
E chopper_frequency_unit_invalid: 0/3
E dataset_units_check: 0/572
E transformation_offset_units_invalid: 0/29
E transformation_value_units_invalid: 0/46
E
E Total: 3/2365

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'nmx', coda_proposal_id = '999999'
pathfinder = . at 0x7fd0bd9677e0>

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_nmx_999999_00001915.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_panel_0/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_1/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_2/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/16
E depends_on_target_missing: 0/62
E float_dataset_units_missing: 0/295
E group_has_units: 0/127
E index_has_units: 0/85
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/180
E NX_class_attr_missing: 0/127
E NX_class_is_legacy: 0/127
E transformation_depends_on_missing: 0/17
E transformation_offset_units_missing: 0/28
E units_invalid: 0/572
E NXlog_has_value: 0/67
E detector_numbers are not unique: 0/3
E event_id is not subset of associated detector_numbers: 0/3
E Shape of pixel offsets does not correspond to detector_number: 0/3
E event_index_too_small: 3/3
E chopper_frequency_unit_invalid: 0/3
E dataset_units_check: 0/572
E transformation_offset_units_invalid: 0/29
E transformation_value_units_invalid: 0/46
E
E Total: 3/2365

tests/chexus/chexus_test.py:25: AssertionError

View job log here


instrument = 'nmx', coda_proposal_id = '999999'
pathfinder = . at 0x7f642e43f7e0>

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_nmx_999999_00001798.hdf:
E Violations
E ----------
E event_index_too_small @ /entry/instrument/detector_panel_0/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_1/data/event_index (event_index type too small)
E event_index_too_small @ /entry/instrument/detector_panel_2/data/event_index (event_index type too small)
E
E
E Summary
E -------
E depends_on_missing: 0/16
E depends_on_target_missing: 0/62
E float_dataset_units_missing: 0/295
E group_has_units: 0/127
E index_has_units: 0/85
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/179
E NX_class_attr_missing: 0/127
E NX_class_is_legacy: 0/127
E transformation_depends_on_missing: 0/17
E transformation_offset_units_missing: 0/28
E units_invalid: 0/572
E NXlog_has_value: 0/67
E detector_numbers are not unique: 0/3
E event_id is not subset of associated detector_numbers: 0/3
E Shape of pixel offsets does not correspond to detector_number: 0/3
E event_index_too_small: 3/3
E chopper_frequency_unit_invalid: 0/3
E dataset_units_check: 0/572
E transformation_offset_units_invalid: 0/29
E transformation_value_units_invalid: 0/46
E
E Total: 3/2364

tests/chexus/chexus_test.py:25: AssertionError