[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #32864 [Community/Relays]: Reproduce Arthur's exit failures and then contact or badexit the relays
#32864: Reproduce Arthur's exit failures and then contact or badexit the relays
-----------------------------------------------+--------------------------
Reporter: arma | Owner: gk
Type: enhancement | Status: assigned
Priority: Medium | Milestone:
Component: Community/Relays | Version:
Severity: Normal | Resolution:
Keywords: network-health, GeorgKoppen202001 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------------------------+--------------------------
Changes (by gk):
* cc: arthuredelstein (added)
Comment:
So, I started looking into this but I don't even get a successful run so
far (I tried twice). After a while, during the third round in the exit
relay loop the script is throwing exceptions and breaks:
{{{
main function encountered error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
501, in errback
self._startRunCallbacks(fail)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
568, in _startRunCallbacks
self._runCallbacks()
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
1475, in gotResult
_inlineCallbacks(r, g, status)
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line
491, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/gk/exit-dns/tor_dns_survey/relay_perf.py", line 125, in
_main
exit_results = await test_relays(reactor, state, socks, [guard1],
exits, 10, bareIP)
File "/home/gk/exit-dns/tor_dns_survey/relay_perf.py", line 105, in
test_relays
result = await time_two_hop(reactor, state, socks, relay, exit_node,
bareIP)
File "/home/gk/exit-dns/tor_dns_survey/relay_perf.py", line 76, in
time_two_hop
circuit_results = await build_two_hop_circuit(state, guard, exit_node)
File "/home/gk/exit-dns/tor_dns_survey/relay_perf.py", line 54, in
build_two_hop_circuit
return { "circuit" : circuit,
builtins.UnboundLocalError: local variable 'circuit' referenced before
assignment
}}}
I wonder how Arthur is running that and whether he encountered similar
bugs. This is with Tor 0.3.5.8, Python 3.7.3, python3-txtorcon 18.3.0-1 on
a Debian 10 system.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32864#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs