Opened 5 years ago

Closed 4 years ago

#8417 closed defect (fixed)

BwAuthority doesn't come with bwfiles file, and so makes no progress.

Reported by: arma Owned by: aagbsn
Priority: Very High Milestone:
Component: Core Tor/Torflow Version:
Severity: Keywords:
Cc: mikeperry Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I've been running my new freshly-checked-out bwauth for six days, and my periodic cron job tells me:

NOTICE[Mon Mar 04 06:45:01 2013]:No scan results yet.

Mike tells me this means it is making no progress.

I have frequent tracebacks in the logs:

ERROR[Wed Mar 06 17:31:35 2013]:An unexpected error occured.
Traceback (most recent call last):
  File "bwauthority_child.py", line 391, in <module>
    else: main(sys.argv)
  File "bwauthority_child.py", line 331, in main
    min_streams, sql_file)
  File "bwauthority_child.py", line 235, in speedrace
    url = choose_url(start_pct)
  File "bwauthority_child.py", line 105, in choose_url
    f = file("./data/bwfiles", "r")
IOError: [Errno 2] No such file or directory: './data/bwfiles'

This data/bwfiles file is nowhere to be found. It looks like write_file_list() in aggregate.py is what's supposed to generate it. But maybe we only call that function once we have working stats?

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by arma

Cc: mikeperry added

comment:2 Changed 5 years ago by aagbsn

I added the bwfiles file from salsa (via mikeperry) to the torflow repository. Good catch, it looks like I had mistakenly created a directory in its absence.
https://gitweb.torproject.org/torflow.git/commit/b500f7e86566f87982e0d32063d8b59d46d1543b

comment:3 Changed 4 years ago by aagbsn

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.