Console Output
+ source /etc/profile.d/larson-group.sh
++ export GIT_EDITOR=vi
++ GIT_EDITOR=vi
++ export SVN_EDITOR=vi
++ SVN_EDITOR=vi
++ export OMP_STACKSIZE=1048579
++ OMP_STACKSIZE=1048579
++ export LMOD_ROOT=/opt/lmod/
++ LMOD_ROOT=/opt/lmod/
++ source /opt/lmod//lmod/lmod/init/bash
+++ '[' -z '' ']'
+++ case "$-" in
+++ __lmod_vx=x
+++ '[' -n x ']'
+++ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/local/spack/opt/spack/linux-pop22-cascadelake/gcc-12.2.0/lmod-8.7.37-bi3kyxcdrfgw3y7vv2k7c5rjxg75qzju/lmod/lmod/init/bash)
Shell debugging restarted
+++ unset __lmod_vx
+++ find /usr/local/spack/share/spack/lmod/linux-pop22-x86_64/Core -print -quit
++ export MODULEPATH=/usr/local/spack/share/spack/lmod/linux-pop22-x86_64/Core
++ MODULEPATH=/usr/local/spack/share/spack/lmod/linux-pop22-x86_64/Core
+ module load gcc netcdf-fortran
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_sh_dbg=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output
Lmod Warning:
-------------------------------------------------------------------------------
The following dependent module(s) are not currently loaded:
gcc-runtime/13.1.0-gzedt3f (required by: mpich/4.2.1, hdf5/1.14.3-42x3zrv,
netcdf-c/4.9.2, netcdf-fortran/4.5.3)
-------------------------------------------------------------------------------
Shell debugging restarted
+ unset __lmod_sh_dbg
+ return 0
+ bash tests/run_pytests.sh -unit -include_generated --junitxml=/home/jenkins/workspace/clubb_branch_python/output/tests/pytests/unit.xml --durations=10
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.7.0
rootdir: /home/jenkins/workspace/clubb_branch_python
collected 456 items
utilities/pytests/auto_llm_generated_pytests/test_case_json_to_namelist.py . [ 0%]
......... [ 2%]
utilities/pytests/auto_llm_generated_pytests/test_clubb_case_runner.py . [ 2%]
........... [ 4%]
utilities/pytests/auto_llm_generated_pytests/test_expldiff_settings_rules.py . [ 5%]
.......... [ 7%]
utilities/pytests/auto_llm_generated_pytests/test_json_input_definitions.py . [ 7%]
......... [ 9%]
utilities/pytests/auto_llm_generated_pytests/test_loss_cli.py .......... [ 11%]
.. [ 12%]
utilities/pytests/auto_llm_generated_pytests/test_timing_workers.py ... [ 12%]
utilities/pytests/test_clubb_settings_resolution.py .......... [ 14%]
utilities/pytests/test_create_case_namelist.py ......................... [ 20%]
............ [ 23%]
utilities/pytests/test_create_multi_col_params.py .. [ 23%]
utilities/pytests/test_output_paths.py ..... [ 24%]
utilities/pytests/test_run_script_arguments.py .............. [ 27%]
utilities/pytests/test_settings_rules.py .................. [ 31%]
utilities/pytests/test_stats_json_to_namelist.py ......... [ 33%]
utilities/pytests/test_time_clubb.py ....................... [ 38%]
utilities/pytests/test_timing_profiles.py ....... [ 40%]
tuner/pytests/auto_llm_generated_pytests/test_case_window_overrides.py . [ 40%]
.. [ 40%]
tuner/pytests/auto_llm_generated_pytests/test_jax_backend.py ........... [ 43%]
...... [ 44%]
tuner/pytests/auto_llm_generated_pytests/test_jax_launch_errors.py .... [ 45%]
tuner/pytests/auto_llm_generated_pytests/test_runtime_device_settings.py . [ 45%]
........ [ 47%]
tuner/pytests/auto_llm_generated_pytests/test_tuner_top_overrides.py ... [ 48%]
..... [ 49%]
tuner/pytests/test_adam_baselines.py ............ [ 51%]
tuner/pytests/test_parameter_ranges.py ....... [ 53%]
tuner/pytests/test_presets.py ........... [ 55%]
tuner/pytests/test_tuning_strategy.py .................................. [ 63%]
........ [ 64%]
tuner/pytests/test_workspaces.py ...... [ 66%]
tests/pytests/auto_llm_generated_pytests/test_compile_compiler_selection.py . [ 66%]
...... [ 67%]
tests/pytests/auto_llm_generated_pytests/test_jax_silhs_forwarding.py .. [ 68%]
. [ 68%]
tests/pytests/auto_llm_generated_pytests/test_run_loss_output_consistency.py . [ 68%]
..... [ 69%]
tests/pytests/auto_llm_generated_pytests/test_run_restart_test.py ...... [ 71%]
.... [ 71%]
tests/pytests/auto_llm_generated_pytests/test_run_stats_output_consistency.py . [ 72%]
...................... [ 76%]
tests/pytests/auto_llm_generated_pytests/test_run_timestep_sweep.py .... [ 77%]
..............F.... [ 82%]
tests/pytests/auto_llm_generated_pytests/test_scm_jax_driver_test.py ... [ 82%]
........ [ 84%]
tests/pytests/test_bindiff_report.py .... [ 85%]
tests/pytests/test_column_mirror.py .................................... [ 93%]
..................... [ 97%]
tests/pytests/test_compile_install_aliases.py .. [ 98%]
tests/pytests/test_jax_compare_forwarding.py ...... [ 99%]
tests/pytests/test_run_clubb_conv_test.py .. [100%]
=================================== FAILURES ===================================
______ test_invalid_paths_and_abbreviated_options_are_rejected[options1] _______
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7bc537e458b0>
options = ['-time', '60']
@pytest.mark.parametrize("options", [["-output_root", "../outside"], ["-time", "60"]])
def test_invalid_paths_and_abbreviated_options_are_rejected(monkeypatch, options):
monkeypatch.setattr(sys, "argv", ["run_timestep_sweep.py", *options])
> with pytest.raises(SystemExit) as exc:
E Failed: DID NOT RAISE SystemExit
tests/pytests/auto_llm_generated_pytests/test_run_timestep_sweep.py:103: Failed
- generated xml file: /home/jenkins/workspace/clubb_branch_python/output/tests/pytests/unit.xml -
============================= slowest 10 durations =============================
1.47s call tests/pytests/test_column_mirror.py::test_incremental_build_reuses_objects_and_picks_up_source_changes
1.05s call utilities/pytests/test_time_clubb.py::test_continue_on_error_completes_remaining_sweep_points
0.76s call utilities/pytests/test_time_clubb.py::test_live_results_have_workload_metadata_before_benchmark_finishes
0.75s call utilities/pytests/test_time_clubb.py::test_failure_preserves_completed_and_failed_points
0.73s call tests/pytests/test_column_mirror.py::test_runner_detects_first_column_state_leak[separator1-True]
0.72s call tests/pytests/test_column_mirror.py::test_runner_detects_first_column_state_leak[separator0-True]
0.71s call tests/pytests/test_column_mirror.py::test_failed_run_does_not_compare_stale_output
0.60s call utilities/pytests/test_time_clubb.py::test_warmups_are_aggregated_and_dash_ignores_them
0.58s call utilities/pytests/test_time_clubb.py::test_fake_runner_is_concurrent_and_writes_isolated_csv_rows
0.57s call utilities/pytests/test_time_clubb.py::test_failure_console_includes_namelist_error_without_launching_model
=========================== short test summary info ============================
FAILED tests/pytests/auto_llm_generated_pytests/test_run_timestep_sweep.py::test_invalid_paths_and_abbreviated_options_are_rejected[options1] - Failed: DID NOT RAISE SystemExit
======================== 1 failed, 455 passed in 16.18s ========================