Opened 2 months ago

Closed 4 weeks ago

#23861 closed defect (fixed)

Excessive I learned some more directory information. [...] log message at startup

Reported by: s7r Owned by: dgoulet
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version: Tor: 0.3.2.2-alpha
Severity: Normal Keywords: tor-relay, logging
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

On 0.3.2.2-alpha-dev (git-51e47481fc6f131d), if started with an old consensus, until it bootstraps to 80% and starts with guard context 'default' it will print this log message excessively, multiple times per second even:

Oct 14 23:38:08.000 [notice] Bootstrapped 0%: Starting
Oct 14 23:38:27.000 [notice] This version of Tor (0.3.2.2-alpha-dev) is newer than any recommended version, according to the directory authorities. Recommended versions are: 0.2.5.14,0.2.8.14,0.2.8.15,0.2.9.11,0.2.9.12,0.3.0.9,0.3.0.10,0.3.0.11,0.3.1.5-alpha,0.3.1.6-rc,0.3.1.7,0.3.2.1-alpha,0.3.2.2-alpha
Oct 14 23:38:27.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:40.000 [notice] Bootstrapped 50%: Loading relay descriptors
Oct 14 23:38:40.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:41.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:41.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:41.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:41.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:42.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:42.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:42.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:43.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:43.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:43.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:43.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:43.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:43.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:44.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.
Oct 14 23:38:45.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no recent usable consensus.

Didn't paste the full log, there are 78 lines of this message. I recall we made a change in bootstrapping code which may lead to this.

Child Tickets

Change History (3)

comment:1 Changed 4 weeks ago by dgoulet

Owner: set to dgoulet
Status: newaccepted

Downloading relay descriptors makes this log statement to notice level:

directory_info_has_arrived(now, 0, 0); , last "0" doesn't send it to info. We've suppressed those for microdescriptors, I think we should also for normal descriptors.

See branch: bug23861_032_01

comment:2 Changed 4 weeks ago by dgoulet

Keywords: tor-relay logging added
Status: acceptedneeds_review

comment:3 Changed 4 weeks ago by nickm

Resolution: fixed
Status: needs_reviewclosed

looks good; merged to 0.3.2 and forward.

Note: See TracTickets for help on using tickets.