[tor-bugs] #29882 [Core Tor/Tor]: Make practracker produce output in a stable order

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 25 05:10:52 UTC 2019


#29882: Make practracker produce output in a stable order
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: unspecified
    Component:  Core     |    Version:
  Tor/Tor                |
     Severity:  Normal   |   Keywords:  042-must, tor-merge-scripts, tor-ci
Actual Points:           |  Parent ID:  #29880
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 It looks like practracker produces different output based on the OS
 directory traversal order.

 Two directories on my macOS machine produce the same file, but with a
 different line order to the one in git. See the resulting commit here:
 https://github.com/torproject/tor/pull/837/commits/973451edd1a8f0fe7c07ae5ba7fe8256ef279f95

 If we want to automate practracker, we'll need to use a stable sort order
 for warnings.

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


More information about the tor-bugs mailing list