[tor-bugs] #13498 [Ooni]: Problem with scapy based tests inside of a virtualbox VM
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Oct 20 14:39:53 UTC 2014
#13498: Problem with scapy based tests inside of a virtualbox VM
---------------------+-------------------------
Reporter: hellais | Owner: hellais
Type: defect | Status: new
Priority: normal | Milestone:
Component: Ooni | Version:
Keywords: | Actual Points:
Parent ID: | Points:
---------------------+-------------------------
When I run the fast.deck from inside of a virtualbox debian unstable 64
bit VM I get the following error:
{{{
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-
x86_64.egg/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/usr/local/lib/python2.7/dist-
packages/ooniprobe-1.2.2-py2.7.egg/ooni/nettests/manipulation/traceroute.py",
line 62, in run_traceroute
yield traceroute(self.localOptions['backend'])
File "/usr/local/lib/python2.7/dist-
packages/ooniprobe-1.2.2-py2.7.egg/ooni/utils/txscapy.py", line 432, in
UDPTraceroute
IP(dst=host, ttl=(self.ttl_min, self.ttl_max), id=RandShort()) /
UDP(dport=dst_port, sport=RandShort()))
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-
x86_64.egg/twisted/internet/defer.py", line 1237, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-
x86_64.egg/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/usr/local/lib/python2.7/dist-
packages/ooniprobe-1.2.2-py2.7.egg/ooni/utils/txscapy.py", line 462, in
sendPackets
self.factory.super_socket.send(packet)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/arch/pcapdnet.py", line 244, in send
sx = str(cls()/x)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/packet.py", line 263, in __str__
return self.build()
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/packet.py", line 321, in build
p = self.do_build()
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/packet.py", line 310, in do_build
pkt = self.self_build()
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/packet.py", line 301, in self_build
p = f.addfield(self, p, val)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/fields.py", line 70, in addfield
return s+struct.pack(self.fmt, self.i2m(pkt,val))
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/layers/l2.py", line 94, in i2m
return MACField.i2m(self, pkt, self.i2h(pkt, x))
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/layers/l2.py", line 88, in i2h
x = conf.neighbor.resolve(pkt,pkt.payload)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/layers/l2.py", line 38, in resolve
return self.resolvers[k](l2inst,l3inst)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/layers/inet.py", line 727, in <lambda>
conf.neighbor.register_l3(Ether, IP, lambda l2,l3: getmacbyip(l3.dst))
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/layers/l2.py", line 72, in getmacbyip
nofilter=1)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/sendrecv.py", line 375, in srp1
a,b=srp(*args,**kargs)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/sendrecv.py", line 358, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File "/usr/local/lib/python2.7/dist-packages/scapy_real-2.2.0_dev-
py2.7.egg/scapy/sendrecv.py", line 129, in sndrcv
inp, out, err = select(inmask,[],[], remaintime)
select.error: (4, 'Interrupted system call')
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13498>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list