"speedtest-cli 2.0.0-1" package outputs incorrect results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
speedtest-cli (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
### OS ###
$ lsb_release -rd
Description: Ubuntu 18.04.3 LTS
Release: 18.04
### PACKAGE ###
$ apt-cache policy speedtest-cli
speedtest-cli:
Installed: 2.0.0-1
Candidate: 2.0.0-1
Version table:
*** 2.0.0-1 500
500 http://
500 http://
100 /var/lib/
pi@rock64:~
### RESULTS ###
I recently noticed some discrepancies between the "speedtest-cli" results when installed using the "apt" package manager vs running the script itself.
I noticed that when using Armbian Buster OS (https:/
The repository and package version used to install "speedtest-cli":
speedtest-
Example:
localhost:~$ speedtest-cli
Retrieving speedtest.net configuration...
Testing from ISP_CENSURED (IP_CENSURED)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by ISP_CENSURED: 4.866 ms
Testing download speed..
Download: 233.49 Mbit/s
Testing upload speed..
Upload: 4.08 Mbit/s
localhost:~$ curl -s https:/
Retrieving speedtest.net configuration...
Testing from ISP_CENSURED (IP_CENSURED)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by ISP_CENSURED [6.90 km]: 5.145 ms
Testing download speed..
Download: 468.78 Mbit/s
Testing upload speed..
Upload: 272.79 Mbit/s
localhost:~$
I have also tested this on Raspbian Buster and Fedora Workstation 31 and no such discrepancies were noticed.
Regards,
this is a known bug in speedtest-cli and has been long-fixed. please update the version in bionic so we don't have to keep installing this from source.