Build: #52 failed
Job: Test ManyLinux 2.28 Python 3.12 failed
2023 1 00228 s uid a002 x1199f9e x7c24 procedure hifa calimage diffgain regression: Test case result
The below summarizes the result of the test " 2023 1 00228 s uid a002 x1199f9e x7c24 procedure hifa calimage diffgain regression" in build 52 of PIPESPECS - Test Pipeline main with Casa master - Test ManyLinux 2.28 Python 3.12.
- Description
- 2023 1 00228 s uid a002 x1199f9e x7c24 procedure hifa calimage diffgain regression
- Test class
- tests.regression.fast.alma_if_fast_test
- Method
- test_2023_1_00228_S__uid___A002_X1199f9e_X7c24__procedure_hifa_calimage_diffgain__regression
- Duration
- 500 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: Expected key s21.hif_applycal.uid___A002_X1199f9e_X7c24.spw_31.qa.metric.phase_vs_freqslope does not match new key s21.hif_applycal.uid___A002_X1199f9e_X7c24.spw_31.qa.metric.phase_vs_freqintercept.
@pytest.mark.seven
@pytest.mark.mpi
def test_2023_1_00228_S__uid___A002_X1199f9e_X7c24__procedure_hifa_calimage_diffgain__regression():
"""Run ALMA cal+image regression on a 7m B2B dataset with differential gain calibration.
Recipe name: procedure_hifa_calimage_diffgain
Dataset: 2023.1.00228.S: uid___A002_X1199f9e_X7c24
"""
ref_directory = 'pl-regressiontest/2023.1.00228.S'
pt = PipelineTester(
visname=['uid___A002_X1199f9e_X7c24'],
recipe='procedure_hifa_calimage_diffgain.xml',
input_dir=ref_directory,
expectedoutput_dir=ref_directory,
)
> pt.run()
tests/regression/fast/alma_if_fast_test.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/testing_utils.py:376: in run
self.__compare_results(new_file, default_relative_tolerance)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests.testing_utils.PipelineTester object at 0x7f3ae0bca870>
new_file = 'uid___A002_X1199f9e_X7c24.NEW.results.txt'
relative_tolerance = 1e-07
def __compare_results(self, new_file: str, relative_tolerance: float) -> None:
"""
Compare results between new one loaded from file and old one.
Args:
new_file : file path of new results
relative_tolerance : relative tolerance of output value
"""
with open(self.expectedoutput_file) as expected_fd, open(new_file) as new_fd:
expected_results = expected_fd.readlines()
new_results = new_fd.readlines()
errors = []
worst_diff = (0, 0)
worst_percent_diff = (0, 0)
for old, new in zip(expected_results, new_results):
try:
oldkey, oldval, tol = self.__sanitize_results_string(old)
newkey, newval, _ = self.__sanitize_results_string(new)
except ValueError as e:
errorstr = "The results: {0} could not be parsed. Error: {1}".format(new, str(e))
errors.append(errorstr)
continue
> assert oldkey == newkey, f"Expected key {oldkey} does not match new key {newkey}."
^^^^^^^^^^^^^^^^
E AssertionError: Expected key s21.hif_applycal.uid___A002_X1199f9e_X7c24.spw_31.qa.metric.phase_vs_freqslope does not match new key s21.hif_applycal.uid___A002_X1199f9e_X7c24.spw_31.qa.metric.phase_vs_freqintercept.
tests/testing_utils.py:409: AssertionError