1. 27 Feb, 2019 2 commits
  2. 26 Feb, 2019 3 commits
    • juga's avatar
      scanner: stop threads when there're not destinations · 3fe64b06
      juga authored
      Exit the scanner with error stoping threads first when there is not
      any functional destination, since the destinations can not be recovered.
      After merging #28897, `stop_threads` can be used (instroduced in #28869).
      3fe64b06
    • juga's avatar
      destination: record consecutive failures · 84e5d82c
      juga authored
      Add methods to store consecutive destination failures and retrieve
      the destinations that are still functional.
      Since destinations can fail because of Tor circuits, it's not count
      individual failures but consecutives one.
      Also exit with error if there are no functional destinations left.
      The maximum number of consecuitve failures is set to 10, but it
      may need to be changed depending on the percentage of circuits and
      requests that fail.
      84e5d82c
    • juga's avatar
      destination: stop running twice usability tests · d33ac8f6
      juga authored
      in every measurement.
      This removes the need for an extra lock for every measurement
      It should also not be depending on a time interval, but on the
      number of failures detected.
      Not counting number of failures since it would need to modify the
      destination or list of at runtime. It should be done in a future
      refactor.
      
      Fixes bug #28897. Bugfix v0.3.0
      d33ac8f6
  3. 23 Feb, 2019 2 commits
    • juga's avatar
      scanner: Stop threads in a test network · 689ce5ab
      juga authored
      after finishing the first loop.
      As noted in bug28933_01.
      689ce5ab
    • juga's avatar
      generate: Load all results, including error ones · 9e31dcfb
      juga authored
      The bandwidth file is generated only with relays that have some
      successful measurements, but we forgot to load all results
      (including the relays with failed measurements) after we started
      to include the number of failure measurements in each relay
      bandwidth line.
      
      Closes #29568. Bugfix v0.4.0 (line introduced in v0.1.0).
      9e31dcfb
  4. 18 Feb, 2019 1 commit
  5. 12 Feb, 2019 1 commit
  6. 04 Feb, 2019 10 commits
  7. 23 Jan, 2019 1 commit
  8. 11 Jan, 2019 1 commit
  9. 09 Jan, 2019 1 commit
  10. 02 Jan, 2019 1 commit
    • juga's avatar
      scanner: log backtrace when not progressing · a550d731
      juga authored
      When sbws stalls after the prioritization loop waiting for thread
      results, give it some minutes and otherwise log the backtrace.
      This way if there's any bug or deadlock, operators can help to
      debug it.
      a550d731
  11. 21 Dec, 2018 2 commits
    • juga's avatar
      tests: add generate test for round digits argument. · 968f29eb
      juga authored
      Torflow's scaling now round digits according to Proposal 276,
      but for compatibility with Torflow's round digits algorithm,
      the argument option has to be available and by default be
      Proposal 276.
      968f29eb
    • juga's avatar
      generate: use round_digs variable name in methods · c57ba63e
      juga authored
      The torflow-round-digs cli argument was kept, but it was added
      other argument, round-digs, for the same option.
      argparse takes the first argument as the variable name, but the
      methods where still using torflow_round_digs.
      
      Closes bug #28602. Bugfix 1.0.3-dev0.
      c57ba63e
  12. 14 Dec, 2018 1 commit
  13. 12 Dec, 2018 4 commits
  14. 09 Dec, 2018 8 commits
  15. 03 Dec, 2018 2 commits