This test is failing in buildbot, with the following error: Traceback (most recent call last): File "/var/lib/buildbot/telepathy/gabble-default-i386/build/build/telepathy-gabble-0.15.1.1/tests/twisted/gabbletest.py", line 634, in exec_test_deferred fun(queue, bus, conns[0], streams[0]) File "/var/lib/buildbot/telepathy/gabble-default-i386/build/build/telepathy-gabble-0.15.1.1/tests/twisted/tubes/tubetestutil.py", line 366, in <lambda> test(q, bus, conn, stream, bytestream_cls, *args)) File "../../../tests/twisted/tubes/offer-private-stream-tube.py", line 44, in test address1 = t.set_up_echo(q, address_type, True, streamfile='stream') File "/var/lib/buildbot/telepathy/gabble-default-i386/build/build/telepathy-gabble-0.15.1.1/tests/twisted/tubes/tubetestutil.py", line 241, in set_up_echo return create_server(q, address_type, factory, streamfile=streamfile) File "/var/lib/buildbot/telepathy/gabble-default-i386/build/build/telepathy-gabble-0.15.1.1/tests/twisted/tubes/tubetestutil.py", line 288, in create_server reactor.listenUNIX(path, factory) File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 380, in listenUNIX p.startListening() File "/usr/lib/python2.6/dist-packages/twisted/internet/unix.py", line 120, in startListening raise CannotListenError, (None, self.port, le) CannotListenError: Couldn't listen on any:/var/lib/buildbot/telepathy/gabble-default-i386/build/build/telepathy-gabble-0.15.1.1/_build/tests/twisted/stream: AF_UNIX path too long. FAIL: tubes/offer-private-stream-tube.py See: http://buildbot.telepathy.im/builders/Gabble%20-%20default%20-%20i386/builds/164/steps/Tests/logs/stdio
This should make things work. Not sure about the cleanup thing. What do people think?
(Obviously this goes on the assumption that a temp file isn't created in the biggest path evah.)
r+ if you make _to_cleanup empty its list so it's idempotent?
(In reply to comment #3) > r+ if you make _to_cleanup empty its list so it's idempotent? Good point. Done and dusted^Wpushed.
Created attachment 56368 [details] [review] tubetestutil: clear list in a way that doesn't make it a local variable (In reply to comment #4) > Good point. Done and dusted^Wpushed. Turns out not to work, see attached.
(In reply to comment #5) > Turns out not to work, see attached. Yes yes, I suck. Sorry. :-( r+
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.