Commit e9b5773
Fix Clang Sanitizer CI regression test failures
Three issues caused the regression-related sanitizer CI jobs to fail:
1. cbmc-regression: The build creates thin archives (ar rcT) that
reference .o files by path. The artifact tarball excludes .o files
to save space, breaking the thin archives. The regression/invariants
and regression/libcprover-cpp tests link against these archives and
fail. Fix: convert thin archives to regular archives before packaging.
2. cbmc-special-regression: The cprover-smt2 tests need the
cprover-smt2-solver binary in PATH (from src/solvers/), but the job
didn't set this up. All 497 of 1164 cprover-smt2 tests failed with
VERIFICATION ERROR because the solver couldn't be found. Fix: add
export PATH=$PATH:$PWD/src/solvers before running the tests, matching
what pull-request-checks.yaml does.
3. jbmc-regression: The job timed out after 6 hours (GitHub Actions
default). Sanitizer overhead on Java bytecode processing is extreme.
Fix: add TESTPL_TIMEOUT=600 to kill individual tests that hang, and
set an explicit timeout-minutes on the job.
Co-authored-by: Kiro <kiro-agent@users.noreply.github.com>1 parent a0afc81 commit e9b5773
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
148 | 149 | | |
149 | | - | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | | - | |
| 153 | + | |
| 154 | + | |
153 | 155 | | |
154 | | - | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| 190 | + | |
| 191 | + | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
227 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
228 | 234 | | |
229 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
230 | 238 | | |
231 | 239 | | |
232 | 240 | | |
233 | 241 | | |
234 | 242 | | |
| 243 | + | |
235 | 244 | | |
236 | 245 | | |
237 | 246 | | |
| |||
252 | 261 | | |
253 | 262 | | |
254 | 263 | | |
| 264 | + | |
| 265 | + | |
255 | 266 | | |
0 commit comments