| Summary: | python-speedtest-cli-2.1.2 and below broken, need update to 2.1.3 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Barry Jackson <zen25000> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | andrewsfarm, geiger.david68210, rolfpedersen, sysadmin-bugs |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7TOO MGA7-64-OK MGA8-64-OK | ||
| Source RPM: | python-speedtest-cli-2.1.2 | CVE: | |
| Status comment: | |||
|
Barry Jackson
2021-04-16 01:39:43 CEST
Whiteboard:
(none) =>
MGA7TOO Done for both mga7 and mga8! CC:
(none) =>
geiger.david68210 python-speedtest-cli-2.1.3-1 has been pushed to 7/core/updates_testing ########################## Advisory This update to version 2.1.3 fixes speedtest-cli which stopped working in previous versions on 7th April 2021. ######################### References https://bugs.mageia.org/show_bug.cgi?id=28784 ######################## Affected rpms python3-speedtest-cli-2.1.3-1.mga7.noarch.rpm From python-speedtest-cli-2.1.3-1.mga7.src.rpm ####################### Testing Confirm bug as in comment #0 Update using the new version and confirm that the test completes, which takes minute or so. python-speedtest-cli-2.1.3-1 has been pushed to 8/core/updates_testing ########################## Advisory This update to version 2.1.3 fixes speedtest-cli which stopped working in previous versions on 7th April 2021. ######################### References https://bugs.mageia.org/show_bug.cgi?id=28784 ######################## Affected rpms python3-speedtest-cli-2.1.3-1.mga8.noarch.rpm From python-speedtest-cli-2.1.3-1.mga8.src.rpm ####################### Testing Confirm bug as in comment #0 Update using the new version and confirm that the test completes, which takes minute or so.
Barry Jackson
2021-04-16 14:11:18 CEST
Assignee:
bugsquad =>
qa-bugs Tested in a MGA7 vbox Plasma guest.
Before update:
$ speedtest
Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/usr/bin/speedtest", line 11, in <module>
load_entry_point('speedtest-cli==2.1.1', 'console_scripts', 'speedtest')()
File "/usr/lib/python3.7/site-packages/speedtest.py", line 1930, in main
shell()
File "/usr/lib/python3.7/site-packages/speedtest.py", line 1819, in shell
secure=args.secure
File "/usr/lib/python3.7/site-packages/speedtest.py", line 1053, in __init__
self.get_config()
File "/usr/lib/python3.7/site-packages/speedtest.py", line 1136, in get_config
map(int, server_config['ignoreids'].split(','))
ValueError: invalid literal for int() with base 10: ''
After update (no installation issues, IP disguised):
$ speedtest
Retrieving speedtest.net configuration...
Testing from Spectrum (XXX.XXX.XXX.XXX)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Spectrum (Syracuse, NY) [16.09 km]: 57.893 ms
Testing download speed................................................................................
Download: 222.25 Mbit/s
Testing upload speed......................................................................................................
Upload: 11.63 Mbit/s
Looks OK for MGA7.CC:
(none) =>
andrewsfarm Tested with a MGA8 vbox Plasma guest.
Before update:
$ speedtest
Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/usr/bin/speedtest", line 11, in <module>
load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')()
File "/usr/lib/python3.8/site-packages/speedtest.py", line 1986, in main
shell()
File "/usr/lib/python3.8/site-packages/speedtest.py", line 1872, in shell
speedtest = Speedtest(
File "/usr/lib/python3.8/site-packages/speedtest.py", line 1091, in __init__
self.get_config()
File "/usr/lib/python3.8/site-packages/speedtest.py", line 1173, in get_config
ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''
After update (No installation issues, IP again disguised):
$ speedtest
Retrieving speedtest.net configuration...
Testing from Spectrum (XXX.XXX.XXX.XXX)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Time Warner Cable (Syracuse, NY) [16.09 km]: 58.088 ms
Testing download speed................................................................................
Download: 172.95 Mbit/s
Testing upload speed......................................................................................................
Upload: 11.55 Mbit/s
Difference in download speed between this test and Comment 4 is probably due to another computer on the network starting a browser. "Spectrum" and "Time-Warner Cable" are the same company.
Looks OK for MGA8. Validating. Advisories in comment 2 and Comment 3.Whiteboard:
MGA7TOO =>
MGA7TOO MGA7-64-OK MGA8-64-OK Also working as it once was, here on MGA 8 64-bit, after experiencing speedtest.py errors reported in this bug for the previous version. Thanks. CC:
(none) =>
rolfpedersen
Thomas Backlund
2021-04-18 19:33:40 CEST
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2021-0090.html Status:
NEW =>
RESOLVED |
Description of problem: In both Mageia 7 and 8 python-speedtest-cli-2.1.2 stopped working on Wed April 7th. 2.1.3 was released around the same time and fixes the problem in both Mga7 and Mga8 [baz@localhost ~]$ 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.8/site-packages/speedtest.py", line 1986, in main shell() File "/usr/lib/python3.8/site-packages/speedtest.py", line 1872, in shell speedtest = Speedtest( File "/usr/lib/python3.8/site-packages/speedtest.py", line 1091, in __init__ self.get_config() File "/usr/lib/python3.8/site-packages/speedtest.py", line 1173, in get_config ignore_servers = list( ValueError: invalid literal for int() with base 10: '' [baz@localhost ~]$ Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Try to run speedtest-cli in a terminal as user. 2. 3.