[tor-bugs] #30676 [Core Tor/Tor]: From test-stem coverage, infer which events and commands are not getting covered

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 29 14:05:27 UTC 2019


#30676: From test-stem coverage, infer which events and commands are not getting
covered
--------------------------+----------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  defect        |         Status:  accepted
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  041-should    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by nickm):

 I instrumented tor to log all the commands that it receives from `make
 test-stem`.  Here is a list, with counts:
 {{{
     105 ADD_ONION
     138 AUTHCHALLENGE
     498 AUTHENTICATE
      12 blarg
      49 DEL_ONION
     517 GETCONF
    1436 GETINFO
       7 invalid
      35 +LOADCONF
     590 PROTOCOLINFO
     106 RESETCONF
      14 SAVECONF
     245 SETCONF
     328 SETEVENTS
      28 SIGNAL
       8 TAKEOWNERSHIP
 }}}

 That means that the following commands are the ones that are currently
 getting zero testing from test-stem:

 {{{
 ATTACHSTREAM
 CLOSECIRCUIT
 CLOSESTREAM
 DROPGUARDS
 DROPOWNERSHIP
 EXTENDCIRCUIT
 HSFETCH
 HSPOST
 LOADCONF
 MAPADDRESS
 POSTDESCRIPTOR
 REDIRECTSTREAM
 RESOLVE
 SETCIRCUITPURPOSE
 USEFEATURE
 }}}

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


More information about the tor-bugs mailing list