[tor-bugs] #8692 [Stem]: ONLINE integ target fails

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 12 14:55:11 UTC 2013


#8692: ONLINE integ target fails
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  minor   |      Milestone:        
Component:  Stem    |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 We rarely run the ONLINE integration target so, no surprise, it fails...

 {{{
 ======================================================================
 ERROR: test_attachstream
 ----------------------------------------------------------------------
 Traceback:
   File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line
 974, in test_attachstream
     circuit_id = controller.new_circuit(await_build = True)
   File "/home/atagar/Desktop/stem/stem/control.py", line 1781, in
 new_circuit
     return self.extend_circuit('0', path, purpose, await_build)
   File "/home/atagar/Desktop/stem/stem/control.py", line 1874, in
 extend_circuit
     raise stem.CircuitExtensionFailed("Circuit failed to be created: %s" %
 circ.reason, circ)
 CircuitExtensionFailed: Circuit failed to be created: TIMEOUT

 ======================================================================
 ERROR: test_mapaddress
 ----------------------------------------------------------------------
 Traceback:
   File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line
 791, in test_mapaddress
     test.util.negotiate_socks(s, '1.2.1.2', 80)
   File "/home/atagar/Desktop/stem/test/util.py", line 78, in
 negotiate_socks
     raise ProtocolError(error_msgs.get(response[1], "SOCKS server returned
 unrecognized error code"))
 ProtocolError: SOCKS server returned unrecognized error code

 ======================================================================
 FAIL: test_close_stream
 ----------------------------------------------------------------------
 Traceback:
   File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line
 769, in test_close_stream
     self.assertEqual([built_stream.id], [stream.id for stream in
 controller.get_streams()])
 AssertionError: Lists differ: ['34'] != ['34', '13', '530']

 Second list contains 2 additional elements.
 First extra element 1:
 13

 - ['34']
 + ['34', '13', '530']

 ----------------------------------------------------------------------
 Ran 31 tests in 28.013s

 FAILED
 }}}

 The ONLINE tests tend to be the flakiest since they rely on network
 resources. We should see if we can shore them up.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8692>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list