[tor-bugs] #7053 [Ooni]: Ooniprobe doesn't run legacy tests, NameError: name 'inputs' is not defined

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Oct 6 09:39:04 UTC 2012


#7053: Ooniprobe doesn't run legacy tests, NameError: name 'inputs' is not defined
----------------------------------------+-----------------------------------
 Reporter:  isis                        |          Owner:  isis
     Type:  defect                      |         Status:  new 
 Priority:  major                       |      Milestone:      
Component:  Ooni                        |        Version:      
 Keywords:  ooniprobe, ooni, oonitests  |         Parent:      
   Points:                              |   Actualpoints:      
----------------------------------------+-----------------------------------

Comment(by hellais):

 This is done in commit 5cdc37ff80f1c8343e26f94fd7b7a29b3081ed03.

 The report it outputs looks like this:


 - runTime: 7.863668918609619
   startTime: 1349516158.063672
   tests:
     0:
       input: null
       lastTime: 7.863617897033691
       name: captivep
       report:
         check0x20: !!python/tuple
         - true
         - true
         - [OoNI.nu., OoNI.nu., OoNI.nu., OoNI.nu., OoNI.nu.]
         - [OoNI.nu., OoNI.nu., OoNI.nu., OoNI.nu., OoNI.nu.]
         - ['2012060100', '2012060100', '2012060100', '2012060100',
 '2012060100']
         vendor_dns_tests:
           google_dns_cp: !!set {}
           ms_dns_cp: [131.107.255.255]
         vendor_tests:
         - result: true
           vt: ['http://www.apple.com/library/test/success.html', Success,
 '200', 'Mozilla/5.0
               (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML,
 like Gecko)
               Version/3.0 Mobile/1A543a Safari/419.3', Apple HTTP Captive
 Portal]
         - result: true
           vt: ['http://tools.ietf.org/html/draft-nottingham-http-
 portal-02', 428 Network
               Authentication Required, '428', 'Mozilla/5.0 (Windows NT
 6.1; rv:5.0)
               Gecko/20100101 Firefox/5.0', W3 Captive Portal]
         - result: true
           vt: ['http://www.msftncsi.com/ncsi.txt', Microsoft NCSI, '200',
 Microsoft
               NCSI, MS HTTP Captive Portal]
       testStarted: 1349516158.063676
   testsRun: 1


 I think that we may want to adjust how the information is structured in
 the check0x20 section and investigate why google_dns_cp is set to an empty
 set.

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


More information about the tor-bugs mailing list