2021-04-11 13:04:15 |
Brian Murray |
bug |
|
|
added bug |
2021-04-11 13:04:39 |
Brian Murray |
information type |
Private |
Public |
|
2021-04-11 13:10:07 |
Apport retracing service |
tags |
amd64 apport-crash hirsute need-duplicate-check |
amd64 apport-crash hirsute |
|
2021-04-11 13:10:08 |
Apport retracing service |
speedtest-cli (Ubuntu): importance |
Undecided |
Medium |
|
2021-04-11 13:10:09 |
Apport retracing service |
bug |
|
|
added subscriber Crash bug triagers for Ubuntu packages |
2021-04-12 17:19:22 |
Brian Murray |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986637 |
|
2021-04-12 17:19:22 |
Brian Murray |
bug task added |
|
speedtest-cli (Debian) |
|
2021-04-12 17:28:52 |
Launchpad Janitor |
speedtest-cli (Ubuntu): status |
New |
Confirmed |
|
2021-04-12 17:29:53 |
Brian Murray |
speedtest-cli (Ubuntu): status |
Confirmed |
In Progress |
|
2021-04-13 03:40:23 |
Bug Watch Updater |
speedtest-cli (Debian): status |
Unknown |
Fix Released |
|
2021-04-13 12:52:05 |
Brian Murray |
speedtest-cli (Ubuntu): status |
In Progress |
Fix Released |
|
2021-04-13 12:52:08 |
Brian Murray |
speedtest-cli (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2021-05-07 21:31:56 |
Brian Murray |
nominated for series |
|
Ubuntu Focal |
|
2021-05-07 21:31:56 |
Brian Murray |
bug task added |
|
speedtest-cli (Ubuntu Focal) |
|
2021-05-07 21:31:56 |
Brian Murray |
nominated for series |
|
Ubuntu Groovy |
|
2021-05-07 21:31:56 |
Brian Murray |
bug task added |
|
speedtest-cli (Ubuntu Groovy) |
|
2021-05-07 21:32:06 |
Brian Murray |
speedtest-cli (Ubuntu Focal): status |
New |
In Progress |
|
2021-05-07 21:32:09 |
Brian Murray |
speedtest-cli (Ubuntu Groovy): status |
New |
In Progress |
|
2021-05-07 21:32:12 |
Brian Murray |
speedtest-cli (Ubuntu Focal): assignee |
|
Brian Murray (brian-murray) |
|
2021-05-07 21:32:13 |
Brian Murray |
speedtest-cli (Ubuntu Groovy): assignee |
|
Brian Murray (brian-murray) |
|
2021-05-07 21:32:16 |
Brian Murray |
speedtest-cli (Ubuntu Focal): importance |
Undecided |
High |
|
2021-05-07 21:32:18 |
Brian Murray |
speedtest-cli (Ubuntu Groovy): importance |
Undecided |
High |
|
2021-05-08 16:31:16 |
TJ |
description |
I just tried to run speedtest-cli and it crashed.
ProblemType: Crash
DistroRelease: Ubuntu 21.04
Package: speedtest-cli 2.1.2-2
ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu62
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Sun Apr 11 05:52:59 2021
ExecutablePath: /usr/bin/speedtest-cli
InstallationDate: Installed on 2018-08-10 (974 days ago)
InstallationMedia: Ubuntu-Server 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InterpreterPath: /usr/bin/python3.9
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/speedtest-cli
Python3Details: /usr/bin/python3.9, Python 3.9.4, python3-minimal, 3.9.2-2
PythonArgs: ['/usr/bin/speedtest-cli']
PythonDetails: N/A
SourcePackage: speedtest-cli
Title: speedtest-cli crashed with ValueError in get_config(): invalid literal for int() with base 10: ''
UpgradeStatus: Upgraded to hirsute on 2021-04-11 (0 days ago)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo |
SRU justification (created by Tj)
[Impact]
Without this patch `speedtest-cli` is unable to download the list of servers it needs to fetch each time it is invoked and causes a Python exception and terminates, rendering the tool unusable.
Applying the upstream fix (commit cadc68b5aef20) and backporting it enables the tool to function as intended.
The fix handles the case where `ignoreids` is empty or contains empty ids.
[Test Plan]
Reproduce:
$ speedtest-cli
Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/usr/bin/speedtest-cli", line 11, in <module>
load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest-cli')()
File "/usr/lib/python3/dist-packages/speedtest.py", line 1986, in main
shell()
File "/usr/lib/python3/dist-packages/speedtest.py", line 1872, in shell
speedtest = Speedtest(
File "/usr/lib/python3/dist-packages/speedtest.py", line 1091, in __init__
self.get_config()
File "/usr/lib/python3/dist-packages/speedtest.py", line 1173, in get_config
ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''
After applying the fix:
$ speedtest-cli
Retrieving speedtest.net configuration...
Testing from Starlink (176.116.125.19)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by toob Ltd (London) [2.56 km]: 42.699 ms
Testing download speed................................................................................
Download: 222.97 Mbit/s
Testing upload speed................................................................................................
Upload: 41.19 Mbit/s
[Where problems could occur]
Unlikely this can cause any unwanted reaction.
------------
I just tried to run speedtest-cli and it crashed.
ProblemType: Crash
DistroRelease: Ubuntu 21.04
Package: speedtest-cli 2.1.2-2
ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu62
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Sun Apr 11 05:52:59 2021
ExecutablePath: /usr/bin/speedtest-cli
InstallationDate: Installed on 2018-08-10 (974 days ago)
InstallationMedia: Ubuntu-Server 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InterpreterPath: /usr/bin/python3.9
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/speedtest-cli
Python3Details: /usr/bin/python3.9, Python 3.9.4, python3-minimal, 3.9.2-2
PythonArgs: ['/usr/bin/speedtest-cli']
PythonDetails: N/A
SourcePackage: speedtest-cli
Title: speedtest-cli crashed with ValueError in get_config(): invalid literal for int() with base 10: ''
UpgradeStatus: Upgraded to hirsute on 2021-04-11 (0 days ago)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo |
|
2021-05-26 12:07:21 |
Robie Basak |
speedtest-cli (Ubuntu Groovy): status |
In Progress |
Fix Committed |
|
2021-05-26 12:07:23 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-05-26 12:07:26 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2021-05-26 12:07:29 |
Robie Basak |
tags |
amd64 apport-crash hirsute |
amd64 apport-crash hirsute verification-needed verification-needed-groovy |
|
2021-05-26 12:07:46 |
Robie Basak |
speedtest-cli (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-05-26 12:07:51 |
Robie Basak |
tags |
amd64 apport-crash hirsute verification-needed verification-needed-groovy |
amd64 apport-crash hirsute verification-needed verification-needed-focal verification-needed-groovy |
|
2021-05-26 17:15:37 |
Bjørn Sune Bruun Andersen |
tags |
amd64 apport-crash hirsute verification-needed verification-needed-focal verification-needed-groovy |
amd64 apport-crash hirsute verification-done-focal verification-needed verification-needed-groovy |
|
2021-05-27 11:10:17 |
Bjørn Sune Bruun Andersen |
tags |
amd64 apport-crash hirsute verification-done-focal verification-needed verification-needed-groovy |
amd64 apport-crash hirsute verification-done-focal verification-done-groovy verification-needed |
|
2021-06-03 17:15:42 |
Launchpad Janitor |
speedtest-cli (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2021-06-03 17:15:46 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-06-03 17:17:57 |
Launchpad Janitor |
speedtest-cli (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-08-02 15:42:36 |
Hans Joachim Desserud |
tags |
amd64 apport-crash hirsute verification-done-focal verification-done-groovy verification-needed |
amd64 apport-crash bionic hirsute verification-done-focal verification-done-groovy verification-needed |
|
2021-10-28 00:09:14 |
William Wilson |
attachment added |
|
Bionic debdiff https://bugs.launchpad.net/ubuntu/+source/speedtest-cli/+bug/1923352/+attachment/5536541/+files/lp1923352_bionic.debdiff |
|
2021-10-28 00:53:09 |
Brian Murray |
nominated for series |
|
Ubuntu Bionic |
|
2021-10-28 00:53:09 |
Brian Murray |
bug task added |
|
speedtest-cli (Ubuntu Bionic) |
|
2021-10-28 00:53:56 |
Brian Murray |
speedtest-cli (Ubuntu Bionic): status |
New |
In Progress |
|
2021-10-28 00:53:56 |
Brian Murray |
speedtest-cli (Ubuntu Bionic): assignee |
|
William Wilson (jawn-smith) |
|
2021-10-28 14:40:43 |
William Wilson |
tags |
amd64 apport-crash bionic hirsute verification-done-focal verification-done-groovy verification-needed |
amd64 apport-crash bionic hirsute verification-done-focal verification-done-groovy verification-needed verification-needed-bionic |
|
2021-11-03 02:18:50 |
Chris Halse Rogers |
speedtest-cli (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2021-11-03 02:18:54 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-11-08 00:32:13 |
William Wilson |
tags |
amd64 apport-crash bionic hirsute verification-done-focal verification-done-groovy verification-needed verification-needed-bionic |
amd64 apport-crash bionic hirsute verification-done verification-done-bionic verification-done-focal verification-done-groovy |
|
2021-11-10 13:25:08 |
Launchpad Janitor |
speedtest-cli (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|