Commit f287374
committed
Add instrumentation to debug I/O error in CI that I don't get locally
try to debug 'sqlite3.OperationalError: disk I/O error' failures:
https://github.com/roundup-tracker/roundup/actions/runs/2995869962
https://app.travis-ci.com/github/roundup-tracker/roundup/jobs/581894108
during commit().
Get info on mode, uid, gid etc. for db directory and files in it.
I can provoke the failure by stopping before a self.conn.commit(),
chmod 555 the directory holding the db then continue. But even running
a full test suite I never see this error. It only occurs for some
tests and not others and doesn't seem to be consistent.
One other possible workaround is setting it to WAL mode rather than
journal mode when opening it.1 parent e00d0dd commit f287374
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
421 | 442 | | |
422 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
423 | 449 | | |
424 | 450 | | |
425 | 451 | | |
| 452 | + | |
| 453 | + | |
426 | 454 | | |
427 | 455 | | |
428 | 456 | | |
| |||
0 commit comments