Skip to content
Snippets Groups Projects
  1. Jan 01, 2019
    • Damian Johnson's avatar
      Update copyright dates for 2019 · 342dab71
      Damian Johnson authored
      Happy new year! Bumping the dates for 2019...
      
        % find . -type f -iname '*.py' -exec sed -i 's/-2018/-2019/g' "{}" +;
        % grep -R "# Copyright 2018," ./*
      342dab71
  2. Dec 17, 2018
  3. Nov 02, 2018
  4. Jun 15, 2018
    • Damian Johnson's avatar
      Stacktrace when tor26 lacks authority flag · a7989448
      Damian Johnson authored
      Oops, need to be a tad more defensive here...
      
      	Traceback (most recent call last):
        	File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 976, in <module>
          	main()
      	  File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 258, in main
        	  issues += run_checks(consensuses, votes)
      	  File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 352, in run_checks
        	  issues = checker(latest_consensus, consensuses, votes)
      	  File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 640, in has_authority_flag
        	  seen_authorities.remove('tor26')
      	KeyError: 'tor26'
      a7989448
  5. May 13, 2018
  6. May 10, 2018
  7. Apr 22, 2018
    • Damian Johnson's avatar
      Errors are getting incorrectly suppressed · 023cbeef
      Damian Johnson authored
      Interesting! Roger reported an issue where he isn't getting notified about
      moria1's bwauth scanner being down. In taking a look at the logs I'm indeed
      seeing something funky...
      
        04/21/2018 21:05:46 [DEBUG] NOTICE: The following directory authorities are not reporting bandwidth scanner results: gabelmoo
        04/21/2018 21:05:47 [INFO] Suppressing The_following_directory_authorities_are_not_reporting_bandwidth_scanner_results:_gabelmoo, time remaining is 1
        3 hours
        04/21/2018 21:05:47 [INFO] All 1 issues were suppressed. Not sending a notification.
        04/21/2018 21:05:47 [DEBUG] Checks finished, runtime was 46.84 seconds
        04/21/2018 22:05:45 [DEBUG] ERROR: The following directory authorities are not reporting bandwidth scanner results: gabelmoo, moria1
        04/21/2018 22:05:46 [INFO] All 1 issues were suppressed. Not sending a notification.
        04/21/2018 22:05:46 [DEBUG] Checks finished, runtime was 45.56 seconds
      
      I suspect what's happening is this...
      
        * When only gabelmoo is down this is a NOTICE runlevel notification, which
          works.
      
        * When moria1 is down as well it's an ERROR runlevel notice which should
          generate an email every hour, but isn't. I think this is due to a bug where
          ERROR notices in specific are getting incorrectly suppressed.
      
      Lets give this a try...
      023cbeef
  8. Apr 14, 2018
  9. Apr 13, 2018
  10. Apr 11, 2018
    • Damian Johnson's avatar
      Disable DocTor checks for tor26 · 5bae2023
      Damian Johnson authored
      To cut down on abuse tor26 rejects DirPort requests without a '.z' suffix
      (technically it throttles them, but I've never seen one work so effectively
      it's blocked). Stem no longer appends this suffix, using headers to indicate
      the compression it wants instead.
      5bae2023
  11. Apr 01, 2018
  12. Mar 24, 2018
  13. Feb 17, 2018
  14. Feb 11, 2018
  15. Jan 22, 2018
  16. Dec 18, 2017
  17. Nov 02, 2017
    • Damian Johnson's avatar
      Drop bwauth exception for gabelmoo · d54d5b3a
      Damian Johnson authored
      Earlier gabelmoo's bwauth had issues and after a while Sebastian disabled it.
      During it we disabled this check so he woulnd't spam for having *or* omitting
      bwauth measurements. Sebastian's now running a bwauth again so dropping this
      exception.
      d54d5b3a
  18. Aug 27, 2017
  19. May 10, 2017
  20. May 09, 2017
    • Damian Johnson's avatar
      Syntax error · d8f4d7a0
      Damian Johnson authored
      Stupid me, missing a bracket. Would be nice if we had a test suite for these... :/
      d8f4d7a0
    • Damian Johnson's avatar
      Avoid crashing when a vote is missing · 8724b42d
      Damian Johnson authored
      Addressing a simple stacktrace I see on occasion...
      
        Traceback (most recent call last):
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 885, in <module>
            main()
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 244, in main
            issues += run_checks(consensuses, votes)
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 336, in run_checks
            issues = checker(latest_consensus, consensuses, votes)
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 790, in shared_random_commit_partitioning
            if commitment.commit != self_commitments[commitment.identity]:
        KeyError: u'D586D18309DED4CD6D57C18FDB97EFA96D330566'
      8724b42d
  21. Apr 22, 2017
  22. Jan 29, 2017
    • Damian Johnson's avatar
      Stacktrace when shared random commitment isn't present · 13f97932
      Damian Johnson authored
      Not entirely sure what's up yet but got the following stacktrace on 1/26/17...
      
        Traceback (most recent call last):
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 879, in <module>
            main()
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 244, in main
            issues += run_checks(consensuses, votes)
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 336, in run_checks
            issues = checker(latest_consensus, consensuses, votes)
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 810, in shared_random_reveal_partitioning
            our_reveal = [c.reveal for c in vote.directory_authorities[0].shared_randomness_commitments if c.identity == our_v3ident][0]
        IndexError: list index out of range
      13f97932
  23. Jan 18, 2017
  24. Jan 17, 2017
  25. Jan 16, 2017
  26. Dec 22, 2016
    • Damian Johnson's avatar
      Stacktrace when all descriptors are unavalable or malformed · ab4698a6
      Damian Johnson authored
      Just addressing an interesting edge case that's currently cropping up because the consensus is invalid.
      
        Traceback (most recent call last):
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 802, in <module>
            main()
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 239, in main
            consensuses, consensus_fetching_issues = get_consensuses()
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 755, in get_consensuses
            return _get_documents('consensus', '/tor/status-vote/current/consensus.z')
          File "/srv/doctor.torproject.org/doctor/consensus_health_checker.py", line 790, in _get_documents
            median_time = sorted(times_taken.values())[len(times_taken) / 2]
        IndexError: list index out of range
      ab4698a6
  27. Nov 02, 2016
  28. Sep 11, 2016
  29. Sep 08, 2016
  30. Aug 28, 2016
    • Damian Johnson's avatar
      Disable notice that Tonga is a authority · 10193a86
      Damian Johnson authored
      Oops, tried to disable notices to Tonga but inadvertantly caused...
      
        NOTICE: The following authorities were not expected in the consensus: Tonga
      
      Disabling this part of the check until Tonga's gone.
      10193a86
  31. Aug 13, 2016
  32. Jul 02, 2016
  33. May 28, 2016
  34. May 27, 2016
Loading