Build: #23 failed Child of PIPESPECS-PACKAGEPIPEMAINCASA674-31

Build result summary

Details

Completed
Queue duration
9 hours
Duration
1231 minutes
Labels
None
Agent
cvpost128.cv.nrao.edu
Revisions
Casa6
7619dd0412988f02e45ccd9cfe2dd08cd6e44b22
Pipeline
058d8aeea34d9aecc6b4a6a172339e1e4dea7d4a
Total tests
722
Failing since
#22 (Child of PIPESPECS-PACKAGEPIPEMAINCASA674-30)

Responsible

  • Luca Di Mascolo Luca Di Mascolo Automatically assigned
  • Luke Maud Luke Maud Automatically assigned
  • Rui Xue Rui Xue Automatically assigned

Code commits

Pipeline
Author Commit Message Commit date
Rui Xue Rui Xue 058d8aeea34d9aecc6b4a6a172339e1e4dea7d4a Pull request #1810: PIPE-3085: reduce MS open calls
Merge in PIPE/pipeline from PIPE-3085-improve-the-freq-frame--chan-conversion-speed-within-fluxcalflag to main

* commit 'ad315c171f1d6b940df0fe50f4c392b23effb04e':
  PIPE-3085: Replace singleton ms tool with MSReader; add type hints
  PIPE-3085: Extend MS open optimization to `correctedampflag`, `rawflagchans`, `gcorfluxscale`
  PIPE-3085: Reduce MS open overhead in `hif_applycal` weblog rendering
  PIPE-3085: hifa_fluxcalflag - cache SPW freq grids and use searchsorted in _get_chanrange
Rui Xue Rui Xue ad315c171f1d6b940df0fe50f4c392b23effb04e m PIPE-3085: Replace singleton ms tool with MSReader; add type hints
Rui Xue Rui Xue 454b91e80c6962a09f89ae57b094da0fbc1bbc61 m PIPE-3085: Extend MS open optimization to `correctedampflag`, `rawflagchans`, `gcorfluxscale`
Hoist casa_tools.MSReader outside the inner loops in three additional
tasks, following the same pattern established for hif_applycal weblog
rendering:

- hif_correctedampflag: open once for the intent × field × spw loop
  in _run_flagging_iteration; thread ms_handle through
  _evaluate_heuristic → _evaluate_heuristic_for_baseline_set →
  mstools.read_channel_averaged_data_from_ms.
- hif_rawflagchans: open once for the spw loop in
  RawflagchansData.prepare; call openms.reset() between iterations
  instead of opening a fresh handle per SPW.
- hifa_gfluxscale: open once for the field × spw loop in
  _derive_calvis_flux; pass ms_handle to mstools.compute_mean_flux.

Also: bare except: → except Exception:, lazy % log formatting.
Rui Xue Rui Xue 7673073843ca00326b758194ef083e23c7573149 m PIPE-3085: Reduce MS open overhead in `hif_applycal` weblog rendering
Reduce the cost of opening measurement sets in get_brightest_field()
by reusing a single MS handle across all (field, spw) iterations instead
of opening and closing the MS once per combination. On lazy-import data
sets, where the DATA column is ASDM-backed, this cuts the applycal
post-processing time significantly (observed ~50 min saving on a
2496-call dataset).

- renderer.py: open MS once with casa_tools.MSReader and pass handle
  down to mstools.compute_mean_flux via the new ms_handle kwarg.
- mstools.py: add keyword-only ms_handle parameter to both
  read_channel_averaged_data_from_ms and compute_mean_flux; call
  openms.reset() before each reuse to clear prior selection state.
Rui Xue Rui Xue 50fed352aa45cc77be74ca0dc00d3c028d594bfc m PIPE-3085: hifa_fluxcalflag - cache SPW freq grids and use searchsorted in _get_chanrange
Open the MS once per prepare() call instead of once per line candidate,
and cache the cvelfreqs result per (vis, fieldid, spwid, refframe) via a
new _get_spw_freqs helper. Replace the O(N) linear channel scan with
np.searchsorted for O(log N) boundary lookup. Also convert %-style LOG
calls to lazy-format style and raise ValueError instead of Exception.

Configuration changes

Plan configuration has changed since the last successful build. See the plan audit log for more details.

Tests

New test failures 1
Status Test View job Duration
Collapse Failed alma_if_fast_test test_2023_1_00228_S__uid___A002_X1199f9e_X7c24__procedure_hifa_calimage_diffgain__regression
Test ManyLinux 2.28 Python 3.12 560 mins
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
(50 more lines...)
Existing test failures 1
Status Test Failing since View job Duration
Failed: Failed to match 29 result values within tolerances :
s21.hifa_gfluxscale.uid___A002_X10b6f7c_X41d1.field_0.spw_16.qa.metric.score_gfluxscale_k_spw
	values differ by > a relative difference of 1e-07
	expected: 0.9998218986723444
	new:      0.9998227851376125
	diff: -8.864652680795615e-07
	percent_diff: -8.866231768444877e-05%
s21.hifa_gfluxscale.uid___A002_X10b6f7c_X41d1.field_0.spw_18.I
(432 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypePIPE-3085Could not obtain issue details from Jira

Shared artifacts

Artifact File size
Unit Test Result xml 30 KB
Regression Test Result 139 KB