[tor-bugs] #7064 [Ooni]: ooni-probe nettests/experimental/domclass_collector.py --help does not work

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Oct 7 21:17:26 UTC 2012


#7064: ooni-probe nettests/experimental/domclass_collector.py --help does not work
--------------------+-------------------------------------------------------
 Reporter:  aagbsn  |          Owner:  hellais
     Type:  defect  |         Status:  new    
 Priority:  normal  |      Milestone:         
Component:  Ooni    |        Version:         
 Keywords:          |         Parent:         
   Points:          |   Actualpoints:         
--------------------+-------------------------------------------------------
Description changed by hellais:

Old description:

> Expected output: a (helpful) list of options that could be provided to
> this test.
>
> Actual output:
> {{{
> ooniprobe nettests/experimental/domclass_collector.py --help
> 2012-10-07 16:55:58-0400 [-] Starting OONI...
> 2012-10-07 16:55:58-0400 [-] -->
> domclass_collector.DOMClassCollector.test_collect <--
> Now starting {'testStarted': 1349643358.2097089, 'input':
> 'http://news.google.com/', 'name': 'DOM class collector'}
> Running both!!
> 2012-10-07 16:55:58-0400 [-] Running geo IP lookup via
> check.torproject.org
> 2012-10-07 16:55:58-0400 [-] Starting factory
> <twisted.web.client._HTTP11ClientFactory instance at 0x26e23b0>
> 2012-10-07 16:55:58-0400 [-] Starting factory
> <twisted.web.client._HTTP11ClientFactory instance at 0x26e27a0>
> 2012-10-07 16:55:58-0400 [HTTP11ClientProtocol
> (TLSMemoryBIOProtocol),client] Stopping factory
> <twisted.web.client._HTTP11ClientFactory instance at 0x26e23b0>
> 2012-10-07 16:56:00-0400 [HTTP11ClientProtocol,client] Stopping factory
> <twisted.web.client._HTTP11ClientFactory instance at 0x26e27a0>
> 2012-10-07 16:56:00-0400 [-] Main loop terminated.
> 2012-10-07 16:56:00-0400 [-] -->
> domclass_collector.DOMClassCollector.test_collect <--
> Now starting {'testStarted': 1349643360.0544419, 'input':
> 'http://wikileaks.org/', 'name': 'DOM class collector'}
> Only one :P
> 2012-10-07 16:56:00-0400 [-] Starting factory
> <twisted.web.client._HTTP11ClientFactory instance at 0x26e2b48>
> 2012-10-07 16:56:00-0400 [-] Main loop terminated.
> 2012-10-07 16:56:00-0400 [HTTP11ClientProtocol,client] Stopping factory
> <twisted.web.client._HTTP11ClientFactory instance at 0x26e2b48>
> }}}
>
> Oh huh, my computer just connected to wikileaks.org.
>
> But there is no reference to wikileaks.org in domclass_collector.py

New description:

 Expected output: a (helpful) list of options that could be provided to
 this test.

 Actual output:
 {{{
 ooniprobe nettests/experimental/domclass_collector.py --help
 2012-10-07 16:55:58-0400 [-] Starting OONI...
 2012-10-07 16:55:58-0400 [-] -->
 domclass_collector.DOMClassCollector.test_collect <--
 Now starting {'testStarted': 1349643358.2097089, 'input':
 'http://news.google.com/', 'name': 'DOM class collector'}
 Running both!!
 2012-10-07 16:55:58-0400 [-] Running geo IP lookup via
 check.torproject.org
 2012-10-07 16:55:58-0400 [-] Starting factory
 <twisted.web.client._HTTP11ClientFactory instance at 0x26e23b0>
 2012-10-07 16:55:58-0400 [-] Starting factory
 <twisted.web.client._HTTP11ClientFactory instance at 0x26e27a0>
 2012-10-07 16:55:58-0400 [HTTP11ClientProtocol
 (TLSMemoryBIOProtocol),client] Stopping factory
 <twisted.web.client._HTTP11ClientFactory instance at 0x26e23b0>
 2012-10-07 16:56:00-0400 [HTTP11ClientProtocol,client] Stopping factory
 <twisted.web.client._HTTP11ClientFactory instance at 0x26e27a0>
 2012-10-07 16:56:00-0400 [-] Main loop terminated.
 }}}

--

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


More information about the tor-bugs mailing list