[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8803 [- Select a component]: ooni-probe fails with ooni.errors.OONIBReportCreationError when running before_i_commit.testdeck
#8803: ooni-probe fails with ooni.errors.OONIBReportCreationError when running
before_i_commit.testdeck
----------------------------------+-----------------------------------------
Reporter: aagbsn | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: - Select a component | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
{{{
failures when running a test deck:
[D] Successfully performed measurement <ooni.tasks.Measurement object at
0x4039890>
[D] None
[D] Checking all tasks for completion 1 == 1
[D] Halting reactor
[D] Creating ./report-
http_header_field_manipulation-2013-04-30T081726Z.yamloo
[D] Writing report with YAML reporter
CREATED REPORT <ooni.reporter.YAMLReporter object at 0x3fa5190>
[D] Created report with <ooni.reporter.YAMLReporter object at 0x3fa5190>
Reporting httpo://nkvphnp3p6agi5qq.onion/report
[D] Sending {"software_name": "ooniprobe", "software_version": "0.0.11",
"content": "---\noptions: [-b, 'http://93.95.227.200']\nprobe_asn:
AS23673\nprobe_cc: KH\nprobe_ip: 203.189.158.111\nsoftware_name:
ooniprobe\nsoftware_version: 0.0.11\nstart_time: 1367338646.0\ntest_name:
http_header_field_manipulation\ntest_version: 0.1.3\n...\n",
"test_version": "0.1.3", "test_name": "http_header_field_manipulation",
"probe_asn": "AS23673"}
Creating report with OONIB Reporter. Please be patient.
This may take up to 1-2 minutes...
[D] Successfully performed report <ooni.tasks.ReportEntry object at
0x4039350>
[D] None
[!] Failed to connect to reporter backend
Traceback (most recent call last):
File "/home/user/ooni-probe/ooni/reporter.py", line 323, in createReport
bodyProducer=bodyProducer)
ConnectError: An error occurred while connecting: [Failure instance:
Traceback (failure with no frames): <class
'twisted.internet.error.ConnectionLost'>: Connection to the other side was
lost in a non-clean fashion: Connection lost.
].
[!] Failed to open <ooni.reporter.OONIBReporter object at 0x4069650>
reporter, giving up...
[!] Reporter <ooni.reporter.OONIBReporter object at 0x4069650> failed,
removing from report...
[D] Starting this task <generator object generateMeasurements at
0x4b9a870>
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_put
[D] Finished test setup
[D] Performing request http://93.95.227.200 PUT {'Accept-Language': ['en-
US,en;q=0.8'], 'Accept-Encoding': ['gzip,deflate,sdch'], 'Accept':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'User-Agent': ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6'], 'Accept-Charset':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'Host': ['lfxLCYv85iysWyM.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_get_random_capitalization
[D] Finished test setup
[D] Performing request http://93.95.227.200 GEt {'ACCePt-lAnGuaGe': ['en-
US,en;q=0.8'], 'aCcePT-ENCODiNG': ['gzip,deflate,sdch'], 'acCept':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'user-AGENT': ['Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7'], 'aCCept-cHARsET':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'hOsT': ['5fN4JrKyEkSe1Xo.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_post_random_capitalization
[D] Finished test setup
[D] Performing request http://93.95.227.200 POst {'ACCept-laNgUAGE': ['en-
US,en;q=0.8'], 'AccEPt-enCoDing': ['gzip,deflate,sdch'], 'aCCePT':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'uSer-AgeNT': ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6'], 'aCCept-CharSeT':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'hoST': ['IrfZHOGQx7lrL46.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_post
[D] Finished test setup
[D] Performing request http://93.95.227.200 POST {'Accept-Language': ['en-
US,en;q=0.8'], 'Accept-Encoding': ['gzip,deflate,sdch'], 'Accept':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'User-Agent': ['Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7'], 'Accept-Charset':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'Host': ['NbWUUavWxVbWhhy.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_get
[D] Finished test setup
[D] Performing request http://93.95.227.200 GET {'aCcePt-lAnGuage': ['en-
US,en;q=0.8'], 'accEpt-eNCODing': ['gzip,deflate,sdch'], 'ACCePt':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'uSer-AGENt': ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6'], 'aCCEPT-cHARSeT':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'hoST': ['CkbHgg7PuVP92Ok.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_put_random_capitalization
[D] Finished test setup
[D] Performing request http://93.95.227.200 puT {'acCepT-LANguaGe': ['en-
US,en;q=0.8'], 'acCEpT-ENcOdinG': ['gzip,deflate,sdch'], 'aCcePt':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'UsER-agent': ['Mozilla/5.0 (iPhone; U; CPU iPhone OS 3 1 2 like Mac OS X;
en-us) AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7D11'], 'AccePt-
cHArset': ['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'HosT':
['9cTOW8kFfMP4VjH.com']}
[D] Checking all tasks for completion 0 == 6
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 421, in errback
self._startRunCallbacks(fail)
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 488, in _startRunCallbacks
self._runCallbacks()
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 575, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 1126, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 1068, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/user/lib/python2.7/site-packages/twisted/python/failure.py",
line 389, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/user/ooni-probe/ooni/reporter.py", line 336, in createReport
raise errors.OONIBReportCreationError
ooni.errors.OONIBReportCreationError:
Main loop terminated.[D] Successfully performed measurement
<ooni.tasks.Measurement object at 0x4039890>
[D] None
[D] Checking all tasks for completion 1 == 1
[D] Halting reactor
[D] Creating ./report-
http_header_field_manipulation-2013-04-30T081726Z.yamloo
[D] Writing report with YAML reporter
CREATED REPORT <ooni.reporter.YAMLReporter object at 0x3fa5190>
[D] Created report with <ooni.reporter.YAMLReporter object at 0x3fa5190>
Reporting httpo://nkvphnp3p6agi5qq.onion/report
[D] Sending {"software_name": "ooniprobe", "software_version": "0.0.11",
"content": "---\noptions: [-b, 'http://93.95.227.200']\nprobe_asn:
AS23673\nprobe_cc: KH\nprobe_ip: 203.189.158.111\nsoftware_name:
ooniprobe\nsoftware_version: 0.0.11\nstart_time: 1367338646.0\ntest_name:
http_header_field_manipulation\ntest_version: 0.1.3\n...\n",
"test_version": "0.1.3", "test_name": "http_header_field_manipulation",
"probe_asn": "AS23673"}
Creating report with OONIB Reporter. Please be patient.
This may take up to 1-2 minutes...
[D] Successfully performed report <ooni.tasks.ReportEntry object at
0x4039350>
[D] None
[!] Failed to connect to reporter backend
Traceback (most recent call last):
File "/home/user/ooni-probe/ooni/reporter.py", line 323, in createReport
bodyProducer=bodyProducer)
ConnectError: An error occurred while connecting: [Failure instance:
Traceback (failure with no frames): <class
'twisted.internet.error.ConnectionLost'>: Connection to the other side was
lost in a non-clean fashion: Connection lost.
].
[!] Failed to open <ooni.reporter.OONIBReporter object at 0x4069650>
reporter, giving up...
[!] Reporter <ooni.reporter.OONIBReporter object at 0x4069650> failed,
removing from report...
[D] Starting this task <generator object generateMeasurements at
0x4b9a870>
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_put
[D] Finished test setup
[D] Performing request http://93.95.227.200 PUT {'Accept-Language': ['en-
US,en;q=0.8'], 'Accept-Encoding': ['gzip,deflate,sdch'], 'Accept':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'User-Agent': ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6'], 'Accept-Charset':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'Host': ['lfxLCYv85iysWyM.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_get_random_capitalization
[D] Finished test setup
[D] Performing request http://93.95.227.200 GEt {'ACCePt-lAnGuaGe': ['en-
US,en;q=0.8'], 'aCcePT-ENCODiNG': ['gzip,deflate,sdch'], 'acCept':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'user-AGENT': ['Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7'], 'aCCept-cHARsET':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'hOsT': ['5fN4JrKyEkSe1Xo.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_post_random_capitalization
[D] Finished test setup
[D] Performing request http://93.95.227.200 POst {'ACCept-laNgUAGE': ['en-
US,en;q=0.8'], 'AccEPt-enCoDing': ['gzip,deflate,sdch'], 'aCCePT':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'uSer-AgeNT': ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6'], 'aCCept-CharSeT':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'hoST': ['IrfZHOGQx7lrL46.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_post
[D] Finished test setup
[D] Performing request http://93.95.227.200 POST {'Accept-Language': ['en-
US,en;q=0.8'], 'Accept-Encoding': ['gzip,deflate,sdch'], 'Accept':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'User-Agent': ['Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7'], 'Accept-Charset':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'Host': ['NbWUUavWxVbWhhy.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_get
[D] Finished test setup
[D] Performing request http://93.95.227.200 GET {'aCcePt-lAnGuage': ['en-
US,en;q=0.8'], 'accEpt-eNCODing': ['gzip,deflate,sdch'], 'ACCePt':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'uSer-AGENt': ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6'], 'aCCEPT-cHARSeT':
['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'hoST': ['CkbHgg7PuVP92Ok.com']}
[D] Running <class
'nettests.manipulation.http_header_field_manipulation.HTTPHeaderFieldManipulation'>
test_put_random_capitalization
[D] Finished test setup
[D] Performing request http://93.95.227.200 puT {'acCepT-LANguaGe': ['en-
US,en;q=0.8'], 'acCEpT-ENcOdinG': ['gzip,deflate,sdch'], 'aCcePt':
['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'],
'UsER-agent': ['Mozilla/5.0 (iPhone; U; CPU iPhone OS 3 1 2 like Mac OS X;
en-us) AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7D11'], 'AccePt-
cHArset': ['ISO-8859-1,utf-8;q=0.7,*;q=0.3'], 'HosT':
['9cTOW8kFfMP4VjH.com']}
[D] Checking all tasks for completion 0 == 6
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 421, in errback
self._startRunCallbacks(fail)
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 488, in _startRunCallbacks
self._runCallbacks()
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 575, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 1126, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/home/user/lib/python2.7/site-packages/twisted/internet/defer.py",
line 1068, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/user/lib/python2.7/site-packages/twisted/python/failure.py",
line 389, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/user/ooni-probe/ooni/reporter.py", line 336, in createReport
raise errors.OONIBReportCreationError
ooni.errors.OONIBReportCreationError:
Main loop terminated.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8803>
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