Opened 7 years ago
Closed 7 years ago
#16745 closed defect (fixed)
Random OperationalError: disk I/O error
Reported by: | vbraun | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | packages: standard | Keywords: | random_fail ipython |
Cc: | roed | Merged in: | |
Authors: | Volker Braun | Reviewers: | William Stein |
Report Upstream: | N/A | Work issues: | |
Branch: | f9cbe65 (Commits, GitHub, GitLab) | Commit: | f9cbe655c1efb81c898a8f613cd16bf3bf7e3047 |
Dependencies: | #16921 | Stopgaps: |
Description (last modified by )
I see this occasionally on different buildbots, so it is not a hardware problem. Looks like a race with the IPython sqlite history database.
sage: sig_on_count() ## line 923 ## 0 sage: ascii_art(tuple(DyckWords(3))) ## line 933 ## ( /\ ) ( /\ /\ /\/\ / \ ) ( /\/\/\, /\/ \, / \/\, / \, / \ ) sage: sig_on_count() ## line 937 ## 0 ********************************************************************** Traceback (most recent call last): File "/Users/buildslave-sage/slave/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 2117, in __call__ atexit._run_exitfuncs() File "/Users/buildslave-sage/slave/sage_git/build/local/lib/python/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/Users/buildslave-sage/slave/sage_git/build/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 3189, in atexit_operations self.history_manager.end_session() File "/Users/buildslave-sage/slave/sage_git/build/local/lib/python2.7/site-packages/IPython/core/history.py", line 525, in end_session len(self.input_hist_parsed)-1, self.session_number)) OperationalError: disk I/O error
See also #16372.
Change History (12)
comment:1 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:2 Changed 7 years ago by
- Component changed from doctest framework to packages: standard
- Keywords ipython added
comment:3 Changed 7 years ago by
- Description modified (diff)
comment:4 Changed 7 years ago by
The doctest framework should (and does) disable the saving of commands to the history. Maybe we do something wrong / not enough to turn it off though. Could be an IPython issue as well, I agree.
comment:5 Changed 7 years ago by
Possible cause: https://github.com/ipython/ipython/pull/5874
comment:6 Changed 7 years ago by
- Branch set to u/vbraun/close_ipython_history
comment:7 Changed 7 years ago by
- Commit set to f9cbe655c1efb81c898a8f613cd16bf3bf7e3047
- Dependencies set to 16921
comment:8 Changed 7 years ago by
comment:9 Changed 7 years ago by
- Dependencies changed from 16921 to #16921
comment:10 Changed 7 years ago by
- Status changed from new to needs_review
At least the patch doesn't make it worse ;-) only time will tell whether it fixes this. I'll reopen if it does not...
comment:11 Changed 7 years ago by
- Reviewers set to William Stein
- Status changed from needs_review to positive_review
I'm rubber stamping this.
comment:12 Changed 7 years ago by
- Branch changed from u/vbraun/close_ipython_history to f9cbe655c1efb81c898a8f613cd16bf3bf7e3047
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Not sure why you think this is related to the doctest framework... It looks like a bug in IPython.