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-skylake_avx512/gcc-12.2.0/lmod-8.7.37-fq24mybyn2li6got2bxzk62ejh5d3p4z/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-wiuv7wc (required by: mpich/4.2.1, hdf5/1.14.3-nhc23hl,
netcdf-c/4.9.2-xduzp77, netcdf-fortran/4.5.3), glibc/2.35-tdr5czg (required by:
mpich/4.2.1, hdf5/1.14.3-nhc23hl, netcdf-c/4.9.2-xduzp77, 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 445 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_loss_cli.py .......... [ 9%]
.. [ 10%]
utilities/pytests/auto_llm_generated_pytests/test_timing_workers.py ... [ 10%]
utilities/pytests/test_clubb_settings_resolution.py .......... [ 13%]
utilities/pytests/test_create_case_namelist.py ......................... [ 18%]
............ [ 21%]
utilities/pytests/test_create_multi_col_params.py ... [ 22%]
utilities/pytests/test_output_paths.py ..... [ 23%]
utilities/pytests/test_run_script_arguments.py .............. [ 26%]
utilities/pytests/test_settings_rules.py ................. [ 30%]
utilities/pytests/test_stats_json_to_namelist.py ......... [ 32%]
utilities/pytests/test_time_clubb.py ....................... [ 37%]
utilities/pytests/test_timing_profiles.py ....... [ 38%]
tuner/pytests/auto_llm_generated_pytests/test_case_window_overrides.py . [ 39%]
.. [ 39%]
tuner/pytests/auto_llm_generated_pytests/test_jax_backend.py ........... [ 42%]
...... [ 43%]
tuner/pytests/auto_llm_generated_pytests/test_jax_launch_errors.py .... [ 44%]
tuner/pytests/auto_llm_generated_pytests/test_runtime_device_settings.py . [ 44%]
........ [ 46%]
tuner/pytests/auto_llm_generated_pytests/test_tuner_top_overrides.py ... [ 46%]
..... [ 48%]
tuner/pytests/test_adam_baselines.py ............ [ 50%]
tuner/pytests/test_parameter_ranges.py ...... [ 52%]
tuner/pytests/test_presets.py ........... [ 54%]
tuner/pytests/test_tuning_strategy.py .................................. [ 62%]
........ [ 64%]
tuner/pytests/test_workspaces.py ...... [ 65%]
tests/pytests/auto_llm_generated_pytests/test_compile_compiler_selection.py . [ 65%]
...... [ 66%]
tests/pytests/auto_llm_generated_pytests/test_jax_silhs_forwarding.py .. [ 67%]
. [ 67%]
tests/pytests/auto_llm_generated_pytests/test_run_loss_output_consistency.py . [ 67%]
..... [ 68%]
tests/pytests/auto_llm_generated_pytests/test_run_restart_test.py ...... [ 70%]
.... [ 71%]
tests/pytests/auto_llm_generated_pytests/test_run_stats_output_consistency.py . [ 71%]
...................... [ 76%]
tests/pytests/auto_llm_generated_pytests/test_run_timestep_sweep.py .... [ 77%]
..............F.... [ 81%]
tests/pytests/auto_llm_generated_pytests/test_scm_jax_driver_test.py ... [ 82%]
........ [ 84%]
tests/pytests/test_bindiff_report.py .... [ 84%]
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 0x7214388a2e10>
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.66s call tests/pytests/test_column_mirror.py::test_incremental_build_reuses_objects_and_picks_up_source_changes
0.84s call utilities/pytests/test_time_clubb.py::test_continue_on_error_completes_remaining_sweep_points
0.71s call tests/pytests/test_column_mirror.py::test_runner_detects_first_column_state_leak[separator1-True]
0.71s call utilities/pytests/test_time_clubb.py::test_fake_runner_is_concurrent_and_writes_isolated_csv_rows
0.68s call tests/pytests/test_column_mirror.py::test_runner_detects_first_column_state_leak[separator0-True]
0.65s call utilities/pytests/test_time_clubb.py::test_live_results_have_workload_metadata_before_benchmark_finishes
0.63s call tests/pytests/test_column_mirror.py::test_failed_run_does_not_compare_stale_output
0.62s call utilities/pytests/auto_llm_generated_pytests/test_timing_workers.py::test_warmup_and_repetitions_keep_pids_and_wait_for_all_peers
0.61s call utilities/pytests/test_time_clubb.py::test_failure_preserves_completed_and_failed_points
0.49s call utilities/pytests/test_time_clubb.py::test_warmups_are_aggregated_and_dash_ignores_them
=========================== 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, 444 passed in 15.65s ========================