gfrontiero / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner #162

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
namebench-read-only$ ./namebench.py 
- The python-tk (tkinter) library is missing, using the command-line interface.

namebench 1.5-DEVEL - best source (automatic) on 2010-10-03 12:25:02.691800
threads=30/2 queries=250 runs=1 timeout=3.5 health_timeout=3.75 servers=11
------------------------------------------------------------------------------
You need to specify some DNS servers to benchmark. Try:

namebench.py -s all              # Test best available DNS servers
namebench.py -s preferred,isp    # Only test preferred + ISP DNS servers
namebench.py -s system           # Only test current system DNS servers
namebench.py -s global 8.8.8.8   # Benchmark global DNS servers + 8.8.8.8
namebench.py 8.8.8.8 10.0.0.1    # Benchmark just these two servers

For more assistance, get help via namebench.py -h
bugabundo@BluBUG:~/temp/namebench-read-only$ ./namebench.py -s system     
namebench 1.5-DEVEL - best source (automatic) on 2010-10-03 12:25:14.985799
threads=30/2 queries=250 runs=1 timeout=3.5 health_timeout=3.75 servers=11
------------------------------------------------------------------------------
- DNS server filter: dhcp,system 
- 1 of 5467 nameservers have tags: dhcp, system
- Reading Chromium: /home/bugabundo/.config/chromium/Default/History (8.3MB)
- Reading Mozilla Firefox: 
/home/bugabundo/.mozilla/firefox/3.6SSD/places.sqlite (1.4MB)
- Generating tests from Chromium (23106 records, selecting 250 automatic)
- Selecting 250 out of 9021 sanitized records (random mode).
------------------------------------------------------------------------------
- Checking nameserver availability (1 threads): 0/1.1/1
- 1 of 1 servers are available (duration: 0:00:00.515201)
- Running initial health checks on 1 servers (1 threads): 0/1.1/1
- 1 of 1 tested name servers are healthy
- Running final health checks on 1 servers (1 threads): 0/1.1/1
Final list of nameservers considered:
------------------------------------------------------------------------------
8.8.4.4         Google Public DNS  62  ms | 

- Sending 250 queries to 1 servers: 
0/250..............................59..........................110..............
.............162............................213..............Exception in 
thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/home/bugabundo/temp/namebench-read-only/libnamebench/benchmark.py", line 45, in run
    (response, duration, error_msg) = ns.TimedRequest(request_type, hostname)
  File "/home/bugabundo/temp/namebench-read-only/libnamebench/nameserver.py", line 399, in TimedRequest
    record = dns.name.from_text(record_string, None)
  File "/home/bugabundo/temp/namebench-read-only/nb_third_party/dns/name.py", line 637, in from_text
    raise EmptyLabel
EmptyLabel

....

$ apt-cache policy python
python:
  Installed: 2.6.6-2ubuntu1
  Candidate: 2.6.6-2ubuntu1
  Version table:
 *** 2.6.6-2ubuntu1 0
        500 mirror://mirrors.ubuntu.com/mirrors.txt/ maverick/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Original issue reported on code.google.com by BUGabu...@gmail.com on 3 Oct 2010 at 11:27