[Python-modules-team] Bug#594146: namebench: benchmark stops with UnicodeDecodeError

Konrad Schöbel Konrad.Schoebel at gmail.com
Mon Aug 23 23:53:16 UTC 2010


Package: namebench
Version: 1.3.1+dfsg-1
Severity: important


options used:
+ Include global DNS providers
+ Include best available regional DNS service
+ Include censorship checks
+ Upload and share your anonymized results
+ Your location:  Germany
+ Health Check Performance  Fast
+ Query Data Source:  Mozilla Firefox (958)

traceback:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/libnamebench/tk.py", line 120, in run
    self.RunAndOpenReports()
  File "/usr/lib/pymodules/python2.6/libnamebench/base_ui.py", line 154, in RunAndOpenReports
    self.CreateReports()
  File "/usr/lib/pymodules/python2.6/libnamebench/base_ui.py", line 179, in CreateReports
    json_data = self.reporter.CreateJsonData()
  File "/usr/lib/pymodules/python2.6/libnamebench/reporter.py", line 422, in CreateJsonData
    return simplejson.dumps(sharing_data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 261, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/pymodules/python2.6/simplejson/encoder.py", line 214, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/pymodules/python2.6/simplejson/encoder.py", line 282, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte
Showing popup: 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte
> 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte

complete output:
Starting Tk interface for namebench...
* Failed to use GoogleLocAPI: <type 'exceptions.KeyError'> 'location' (content: {})
> Reading Top 2,000 Websites (Alexa): /usr/share/namebench/data/alexa-top-2000-domains.txt (0.7MB)
> Reading Cache Latency Test (100% hit): /usr/share/namebench/data/cache-hit.txt (0.1MB)
> Reading Cache Latency Test (100% miss): /usr/share/namebench/data/cache-miss.txt (0.1MB)
> Reading Cache Latency Test (50% hit, 50% miss): /usr/share/namebench/data/cache-mix.txt (0.1MB)
> Reading Mozilla Firefox: /home/kosco/.mozilla/firefox/kjmd77tu.default/places.sqlite (0.6MB)
> Skipping /home/kosco/.kde/share/apps/konqueror/konq_history (312d old)
> Running...
> namebench 1.3.1 is ready!
> Generating tests from Mozilla Firefox (958 records, selecting 250 automatic)
> Running...
> Started thread
> Selecting 250 out of 673 sanitized records (random mode).
> Checking query interception status...
> Checking connection quality... [1/3]
> Checking connection quality... [2/3]
> Checking connection quality... [3/3]
> Congestion level is 1.92X (check duration: 76.93ms)
> Applied 1.92X timeout multiplier due to congestion: 1.0 ping, 7.2 health.
> Checking latest sanity reference
> Censorship checks enabled: 24 found.
> Checking nameserver availability (27 threads)... [0/27]
> Checking nameserver availability (27 threads)... [2/27]
> Checking nameserver availability (27 threads)... [27/27]
> 26 of 27 servers are available (duration: 0:00:00.528206)
> Removing secondary nameservers slower than 304.25ms (max=400)
> Running initial health checks on 26 servers (26 threads)... [0/26]
> Running initial health checks on 26 servers (26 threads)... [0/26]
> Running initial health checks on 26 servers (26 threads)... [0/26]
> Running initial health checks on 26 servers (26 threads)... [26/26]
> 26 of 26 tested name servers are healthy
> Making Google Public DNS [ey-out-f94] the primary anycast - faster than Google Public DNS-2 [ey-out-f94] by 4.75ms
> Making UltraDNS [udns8abld] the primary anycast - faster than UltraDNS-2 [Ultra.Recursive] by 5.87ms
> Making DynGuide [ig-01-fra] the primary anycast - faster than DynGuide-2 [ec-05-spl] by 8.76ms
> Making OpenDNS [10.ams] the primary anycast - faster than OpenDNS-2 [5.ams] by 5.07ms
> Picking 17 secondary servers to use (8 nearest, 9 fastest)
> Waiting for wildcard cache queries from 22 servers (22 threads)... [0/22]
> Waiting for wildcard cache queries from 22 servers (22 threads)... [0/22]
> Waiting for wildcard cache queries from 22 servers (22 threads)... [22/22]
> Waiting 4s for TTL's to decrement.
> Running cache-sharing checks on 22 servers (40 threads)... [0/462]
> Running cache-sharing checks on 22 servers (40 threads)... [0/462]
> Running cache-sharing checks on 22 servers (40 threads)... [54/462]
> Running cache-sharing checks on 22 servers (40 threads)... [121/462]
x> Running cache-sharing checks on 22 servers (40 threads)... [198/462]
> Running cache-sharing checks on 22 servers (40 threads)... [273/462]
x> Running cache-sharing checks on 22 servers (40 threads)... [339/462]
> Running cache-sharing checks on 22 servers (40 threads)... [412/462]
> Running cache-sharing checks on 22 servers (40 threads)... [462/462]
> Disabling Hansent 2-84 DE - slower replica of Hansenet-2 DE by 0.4ms.
> Disabling Google Public DNS-2 [ey-out-f94] - slower replica of Google Public DNS [ey-out-f94] by 4.8ms.
> Disabling Arcor/Vodafone-2 DE - slower replica of Arcor/Vodafone 7 DE by 6.2ms.
> Disabling Arcor/Vodafone 4 DE - slower replica of Arcor/Vodafone 6 DE by 1.8ms.
> Picking 6 secondary servers to use (3 nearest, 3 fastest)
> SO36 IPV6 DE [83.223.73.116] appears to be the nearest regional (54.21ms)
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [0/11]
> Running final health checks on 11 servers (11 threads)... [1/11]
> Running final health checks on 11 servers (11 threads)... [3/11]
> Running final health checks on 11 servers (11 threads)... [3/11]
> Running final health checks on 11 servers (11 threads)... [6/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [9/11]
> Running final health checks on 11 servers (11 threads)... [11/11]
> Running censorship checks on 11 servers (11 threads)... [0/11]
> Running censorship checks on 11 servers (11 threads)... [0/11]
> Running censorship checks on 11 servers (11 threads)... [0/11]
> Running censorship checks on 11 servers (11 threads)... [0/11]
> Running censorship checks on 11 servers (11 threads)... [2/11]
> Running censorship checks on 11 servers (11 threads)... [3/11]
> Running censorship checks on 11 servers (11 threads)... [6/11]
> Running censorship checks on 11 servers (11 threads)... [8/11]
> Running censorship checks on 11 servers (11 threads)... [8/11]
> Running censorship checks on 11 servers (11 threads)... [8/11]
> Running censorship checks on 11 servers (11 threads)... [9/11]
> Running censorship checks on 11 servers (11 threads)... [9/11]
> Running censorship checks on 11 servers (11 threads)... [10/11]
> Running censorship checks on 11 servers (11 threads)... [10/11]
> Running censorship checks on 11 servers (11 threads)... [11/11]
> Sending 250 queries to 11 servers... [0/2750]
> Sending 250 queries to 11 servers... [7/2750]

[...]

> Sending 250 queries to 11 servers... [2746/2750]
> Sending 250 queries to 11 servers... [2750/2750]
> Error querying HanseNet-4 DE [213.191.92.82]: ****************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ****************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ****************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: *********************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ******************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: *****************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: **************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: **************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: *************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: **************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ****************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ****************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ********************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: *******************************.: Timeout
> Error querying Arcor/Vodafone 7 DE [145.253.2.81]: ***************.: Timeout
> Error querying Hansenet 4 DE [213.191.92.86]: ****************.: Timeout
> Error querying Hansenet 4 DE [213.191.92.86]: ****************.: Timeout
> Sending 8 queries to 11 servers... [0/88]
> Sending 8 queries to 11 servers... [7/88]
> Sending 8 queries to 11 servers... [19/88]
> Sending 8 queries to 11 servers... [32/88]
> Sending 8 queries to 11 servers... [39/88]
> Sending 8 queries to 11 servers... [45/88]
> Sending 8 queries to 11 servers... [51/88]
> Sending 8 queries to 11 servers... [52/88]
> Sending 8 queries to 11 servers... [57/88]
> Sending 8 queries to 11 servers... [62/88]
> Sending 8 queries to 11 servers... [69/88]
> Sending 8 queries to 11 servers... [81/88]
> Sending 8 queries to 11 servers... [86/88]
> Sending 8 queries to 11 servers... [88/88]
* Failed to use GoogleLocAPI: <type 'exceptions.KeyError'> 'location' (content: {})
> Running port behavior checks on 11 servers (11 threads)... [0/11]
> Running port behavior checks on 11 servers (11 threads)... [0/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [9/11]
> Running port behavior checks on 11 servers (11 threads)... [11/11]
> Saving anonymized JSON to /tmp/namebench_2010-08-24_0136.js
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/libnamebench/tk.py", line 120, in run
    self.RunAndOpenReports()
  File "/usr/lib/pymodules/python2.6/libnamebench/base_ui.py", line 154, in RunAndOpenReports
    self.CreateReports()
  File "/usr/lib/pymodules/python2.6/libnamebench/base_ui.py", line 179, in CreateReports
    json_data = self.reporter.CreateJsonData()
  File "/usr/lib/pymodules/python2.6/libnamebench/reporter.py", line 422, in CreateJsonData
    return simplejson.dumps(sharing_data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 261, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/pymodules/python2.6/simplejson/encoder.py", line 214, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/pymodules/python2.6/simplejson/encoder.py", line 282, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte
Showing popup: 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte
> 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages namebench depends on:
ii  python                        2.6.5-11   interactive high-level object-orie
ii  python-dnspython              1.8.0-1    DNS toolkit for Python
ii  python-graphy                 1.0+dfsg-1 chart generation library for Pytho
ii  python-httplib2               0.6.0-3    comprehensive HTTP client library 
ii  python-jinja2                 2.5-1      small but fast and easy to use sta
ii  python-simplejson             2.1.1-1    simple, fast, extensible JSON enco
ii  python-support                1.0.9      automated rebuilding support for P

Versions of packages namebench recommends:
ii  iceweasel [www-browser]       3.5.11-1   Web browser based on Firefox
ii  python-tk                     2.6.5-1    Tkinter - Writing Tk applications 

namebench suggests no packages.

-- no debconf information





More information about the Python-modules-team mailing list