#2121 closed defect (fixed)

test_system.SystemTest.test_filesystem fails on OSX 10.9

Reported by: markberger Owned by: daira
Priority: normal Milestone: 1.10.1
Component: code Version: 1.10.0
Keywords: mac osx test openitp-packaging Cc:
Launchpad Bug:

Description

This might be a 'not our problem' ticket, but the test suite fails on OSX Mavericks running Python 2.7.5.

When I run the entire test suite I get this callback:

Node._startService failed, aborting
[Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 9] Bad file descriptor
/Users/markberger/Code/tahoe-lafs/support/lib/python2.7/site-packages/foolscap-0.6.4-py2.7.egg/foolscap/eventual.py:26:_turn
/Users/markberger/Code/tahoe-lafs/src/allmydata/node.py:308:_startService
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:301:addCallback
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:290:addCallbacks
--- <exception caught here> ---
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:551:_runCallbacks
/Users/markberger/Code/tahoe-lafs/src/allmydata/node.py:308:<lambda>
/Users/markberger/Code/tahoe-lafs/src/allmydata/util/iputil.py:85:get_local_addresses_async
/Users/markberger/Code/tahoe-lafs/src/allmydata/util/iputil.py:129:get_local_ip_for
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/posixbase.py:373:listenUDP
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/udp.py:101:startListening
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/udp.py:106:_bindSocket
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/base.py:1088:createInternetSocket
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/fdesc.py:48:_setCloseOnExec
]
calling os.abort()

When I run the test by itself, I receive this callback:

Node._startService failed, aborting
[Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 9] Bad file descriptor
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/base.py:1178:mainLoop
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/base.py:773:runUntilCurrent
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:368:callback
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:464:_startRunCallbacks
--- <exception caught here> ---
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:551:_runCallbacks
/Users/markberger/Code/tahoe-lafs/src/allmydata/node.py:379:_setup_tub
/Users/markberger/Code/tahoe-lafs/src/allmydata/util/fileutil.py:255:write_atomically
]
calling os.abort()

Change History (7)

comment:1 Changed at 2013-11-30T20:54:17Z by daira

Duplicate of #2023 (on a different platform)?

comment:2 Changed at 2013-12-02T13:59:51Z by zooko

markberger: Daira and Brian did some good analysis of #2023 at the Summit in San Francisco, on one of the days when you weren't there. They were somewhat stymied by not having a machine on which the problem was happening. (The problem happens on some buildslaves which are FreeBSD or Slackware buildslaves, IIUC.)

Maybe we can debug it, now that a similar or identical problem is happening on your Mavericks system!

comment:3 Changed at 2014-01-23T18:54:58Z by daira

  • Component changed from unknown to code
  • Keywords mac osx test added

comment:4 Changed at 2014-09-08T16:36:45Z by daira

  • Keywords openitp-packaging added

comment:5 Changed at 2014-09-11T00:47:03Z by warner

  • Milestone changed from undecided to 1.11.0

I'm pulling this into the 1.11 milestone because I believe that the patch for #2023 (https://github.com/tahoe-lafs/tahoe-lafs/pull/108) will fix this (in fact I'm more confident that it will fix this than #2023).

comment:6 Changed at 2014-09-11T22:31:12Z by warner

#2287 was a dup

comment:7 Changed at 2014-09-13T18:07:32Z by warner

  • Resolution set to fixed
  • Status changed from new to closed

Landed in [d27a57cb49], merged in [d91170a7acd], although for some reason the auto-notify hook didn't see fit to add a comment here.

Note: See TracTickets for help on using tickets.