Opened 5 years ago

Closed 5 years ago

#22423 closed defect (fixed)

Random failure in sagenb/storage/

Reported by: vbraun Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords: random_fail
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


sage -t --long local/lib/python2.7/site-packages/sagenb/storage/
File "local/lib/python2.7/site-packages/sagenb/storage/", line 183, in
Failed example:
    try:  # long time
        while True:
            D._save(s, fn)
    except (AlarmInterrupt, OSError):
        # OSError could happen due to a double close() in
        # Python's tempfile module.
Expected nothing
    Exception AttributeError: "'file' object has no attribute 'close_called'" in <bound method _TemporaryFileWrapper.__del__ of <open file '<fdopen>', mode 'w+b' at 0x272406c90>> ignored
    close failed in file object destructor:
    IOError: [Errno 9] Bad file descriptor
1 item had failures:
   1 of   8 in
    [46 tests, 1 failure, 2.07 s]

Clearly the signal arrived during the TemporaryFile constructor...

Change History (1)

comment:1 Changed 5 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Milestone changed from sage-7.6 to sage-duplicate/invalid/wontfix
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.