Commit 1c28142
misc cleanup: skip flaky test_values, fix dup-doc warning, ignore artifacts (#688)
Three small loose ends bundled into one PR.
* mpisppy/tests/test_admmWrapper.py, mpisppy/tests/test_stoch_admmWrapper.py:
test_values in both files fails when run via pytest's subprocess
capture (returncode=1, empty stdout AND stderr) but works
identically when launched from a bare Python script or shell. The
subprocess seems to die before producing any output — likely a
pytest stdio-capture / file-descriptor interaction with Open MPI's
I/O forwarding. Mark both tests with @unittest.skip and a clear
reason pointing at the example bash scripts as the manual
workaround until the root cause is diagnosed.
* doc/src/generic_admm.rst: the file documents consensus_vars_creator
twice (once for --admm, once for --stoch-admm), which produced a
Sphinx "duplicate object description" warning. Add :no-index: to
the --stoch-admm directive so only one ends up in the index.
* .gitignore: add conservative patterns for mpi-sppy runtime
artifacts that have been accumulating untracked in many users'
working trees — per-rank iteration summaries, _delme*/delete_me*
scratch dirs, specific.csv_* exports, example output files
(ef.txt, hub.log, solution_*.txt, *_full_solution/, *_pickles/,
*_cyl_nonants.npy). Leaves ambiguous patterns (e.g., archive/,
CI/, *.perf.csv) untouched.
Tests: 42 passed, 2 skipped (the two test_values). Doc build:
4 warnings -> 3 warnings (dup-description warning gone).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f49377c commit 1c28142
4 files changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
132 | 141 | | |
133 | 142 | | |
134 | 143 | | |
| |||
0 commit comments