Skip to content

Add processing and comparison of ctests in JEDI builds#778

Open
mranst wants to merge 7 commits into
developfrom
feature/mranst/jedi_ctest_comparisons
Open

Add processing and comparison of ctests in JEDI builds#778
mranst wants to merge 7 commits into
developfrom
feature/mranst/jedi_ctest_comparisons

Conversation

@mranst

@mranst mranst commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Description

Addressing #699 and #442, this PR adds tasks to run ctests for selected bundles within JEDI, and compare the number passed between two builds. I'm envisioning this being a part of tier2 tests by running ctests for fv3-jedi whevever JEDI is built nightly, then confirming the same tests pass as the previous pinned version (For fv3-jedi, at least, there's always some that fail). It's currently geared to run for fv3-jedi, but can theoretically work for any JEDI bundle

Output of CompareJediCtests looks like this:

CTL: /discover/nobackup/manstett/SwellExperiments/swell-build_jedi/swell-build_jedi-suite/experiment.yaml
EXP: /discover/nobackup/manstett/SwellExperiments/swell-build_jedi/swell-build_jedi-suite/experiment.yaml

fv3-jedi                               CTL   EXP
fv3jedi_staticb_nicas_gfs              Fail  Fail
fv3jedi_hofx_nomodel_abi_radii         Fail  Fail
fv3jedi_staticb_split_nicas_gfs        Fail  Fail
fv3jedi_hyb                            Fail  Fail
fv3jedi_staticb_dirac_local_gfs_12pe   Fail  Fail
fv3jedi_staticb_cor_geos               Fail  Fail
fv3jedi_staticb_dirac_local_gfs_6pe    Fail  Fail
fv3jedi_staticb_nicas_geos             Fail  Fail
fv3jedi_staticb_dirac_global_gfs_6pe   Fail  Fail
fv3jedi_staticb_dirac_global_gfs_12pe  Fail  Fail

@mer-a-o

mer-a-o commented May 7, 2026

Copy link
Copy Markdown
Contributor

@mranst, Can you please add documentation for this new feature?

Comment thread src/swell/tasks/compare_jedi_ctests.py
Comment thread src/swell/tasks/run_jedi_ctests.py Outdated
Comment thread src/swell/swell.py Outdated
@mer-a-o mer-a-o self-requested a review May 8, 2026 21:04
@mranst mranst requested a review from Dooruk May 29, 2026 17:57
@dataclass
class bundles_to_run_ctests(TaskQuestion):
default_value: list[str] = mutable_field([
"fv3-jedi"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't want to keep you from merging but did you test it with two bundles here? We could add soca at some point?

@Dooruk Dooruk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested it but looks good 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants