Build: #2 failed Changes by Joshua Hoskins

Build result summary

Details

Completed
Queue duration
6 minutes
Duration
20 minutes
Labels
None
Agent
cbt-pipeline-test.cv.nrao.edu
Revision
fe25f1ab2e3c45b2bcd85dbd5b810c576fc910a4
Total tests
678
Failing since
#1 (First build for this plan – )
Fixed in
#5 (Changes by Joshua Hoskins)

Responsible

This build has been failing since #1
No one has taken responsibility

Code commits

Author Commit Message Commit date
Joshua Hoskins Joshua Hoskins fe25f1ab2e3c45b2bcd85dbd5b810c576fc910a4 Fix merge issues.
Joshua Hoskins Joshua Hoskins 193cf30b020f379720a0000246bfad7af8cbd979 Merge branch 'main' into PIPE-2893-hsd_baseline-enable-sinusoid-option
# Conflicts:
#        pipeline/infrastructure/basetask.py
Rui Xue Rui Xue edfa947e20d405cd2555af1517b94c08b780b9b2 m Pull request #1756: PIPE-2997/PIPE-2998: expand the gh action unit test matrix
Merge in PIPE/pipeline from PIPE-2997-expand-the-gh-action-unit-test-matrix to main

* commit '233566793c8887be813de84e5000119af22028a8':
  PIPE-2997: Additional update/fixes to the workflow template
  PIPE-2997: Add Pixi-based GitHub Actions workflows/templates for documentation building and unit testing
  PIPE-2998: Recommend `memray` for memory use profiling as `memory_profiler` is no longer maintained.
  PIPE-2998: Use `shutil.which` for improved compatibility with Python 3.13
  PIPE-2997: Source `CASA6` packages explicitly from the NRAO PyPI index
  PIPE-2997: Add new Pixi environments in `pyproject.toml`
Rui Xue Rui Xue 56e111a89b8e0ad55239ece97777b1dcde7f4823 m Pull request #1159: PIPE-2014: improve the timing stats in timetracker.json and weblog
Merge in PIPE/pipeline from PIPE-2014-improve-timetracker-and-weblog-timing-stats to main

* commit '38d910f91e9b3fbbf159b54bc4a0f0c17e2d4b60':
  PIPE-2014: Use `datetime.timezone.utc` instead of `datetime.UTC` for Python 3.10 compatibility
  PIPE-2014: Update task duration mapping to use integer keys for stage numbers in timetracker
  PIPE-2014: Improve task duration formatting in HTML renderer and Mako template
  PIPE-2014: Revert to the old approach of tracking weblog rendering duration - restricted to rendering of per-stage task result page
  PIPE-2014: Switch to timezone-aware `datetime` in UTC for recording timestamps from `timetracker`
  PIPE-2014: Switch to `shelve.open()` which returns a shelf object that is a context manager since Python 3.4
  PIPE-2014: Ensure `TaskCompleteEvent` is sent for non-"multi_vis" tasks.
  PIPE-2014: add back a code block accidentally removed from the last merge conflict resolution.
  PIPE-2014: use the timetracker event stats for task duration calculations.
  PIPE-2014: optimize the renderer execution order for more accurate timing stats displayed in the weblog.
  PIPE-2014: start the weblog creation timer at the beginning of weblog rendering.
Rui Xue <rx.astro@gmail.com> Rui Xue <rx.astro@gmail.com> 233566793c8887be813de84e5000119af22028a8 m PIPE-2997: Additional update/fixes to the workflow template
* `shell:` is evaluated at workflow parse time, not at runtime, so `${{ inputs.pixi_env }}` isn't available in the shell: field for reusable workflows.
* Disable caching for Pixi environment to ensure the latest dev snapshots are used
* Fix a bug in the CASA config stage of the Pixi template
* Remove unnecessary solve-group entries
* Update `protobuf` version specification in `environment.yml` to ensure compatibility with `casaplotms`

Tests

Existing test failures 10
Status Test Failing since View job Duration
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'cspline', 19: 'cspline', 23: 'cspline'}, expected = None
should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'poly', 19: 'cspline', 23: 'cspline'}
expected = {'17': 'poly', 19: 'spline'}, should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'cspline', 19: 'cspline', 23: 'cspline'}, expected = {}
should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'cspline', 19: 'cspline', 23: 'cspline'}, expected = {30: 'poly'}
should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
TypeError: expected exception must be a BaseException type, not int
inp = <class 'ValueError'>, expected = {19: 'invalid'}, should_raise = True

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
            ({17: DEF,      19: DEF,      23: DEF}, None, False),
(18 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'poly', 19: 'poly', 23: 'poly'}, expected = 'poly'
should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'cspline', 19: 'cspline', 23: 'cspline'}, expected = 'spline'
should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'cspline', 19: 'cspline', 23: 'poly'}, expected = {'23': 'poly'}
should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)
TypeError: expected exception must be a BaseException type, not str
inp = <class 'ValueError'>, expected = 'badfunc', should_raise = True

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
            ({17: DEF,      19: DEF,      23: DEF}, None, False),
(18 more lines...)
ValueError: Unsupported fitting function type: <class 'list'>
inp = {17: 'poly', 19: 'cspline', 23: 'poly'}
expected = {17: 'poly', 19: 'spline', 23: 'poly'}, should_raise = False

    @pytest.mark.parametrize(
        "inp, expected, should_raise",
        [
            # valid inputs
(99 more lines...)

Jira issues

IssueDescriptionStatus
32 more issues…
Unknown Issue TypePIPE-1781Could not obtain issue details from Jira
Unknown Issue TypePIPE-1793Could not obtain issue details from Jira
Unknown Issue TypePIPE-1840Could not obtain issue details from Jira
Unknown Issue TypePIPE-1883Could not obtain issue details from Jira
Unknown Issue TypePIPE-2001Could not obtain issue details from Jira