OpenWrt 21.02.0: speedtest-cli bug or user error

I'm running Openwrt 21.02.0 r16279-5cc0535800 on a ZeroPi.

I've installed python3-speedtest-cli. When calling speedtest --list on the commandline, I get the following messages:

Retrieving speedtest.net configuration...
Traceback (most recent call last):
  File "/usr/bin/speedtest", line 33, in <module>
    sys.exit(load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')())
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1986, in main
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1872, in shell
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1091, in __init__
  File "/usr/lib/python3.9/site-packages/speedtest.py", line 1173, in get_config
ValueError: invalid literal for int() with base 10: ''

Does this indicate a program bug or a user error? Did I miss anything?

Try speedtest -L or speedtest --servers

Both options do not exist:

speedtest: error: unrecognized arguments: -L
speedtest: error: unrecognized arguments: --servers

These are the available options:

usage: speedtest [-h] [--no-download] [--no-upload] [--single] [--bytes] [--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER]
                 [--csv-header] [--json] [--list] [--server SERVER] [--exclude EXCLUDE] [--mini MINI] [--source SOURCE] [--timeout TIMEOUT]
                 [--secure] [--no-pre-allocate] [--version]

This is the version I use...

Use speedtest-netperf, only 170kb - speedtest-cli uses 6.7mb

root@OpenWrt:~# speedtest-netperf.sh
2021-11-05 17:44:36 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
..............................................................
 Download: 308.33 Mbps
  Latency: [in msec, 62 pings, 0.00% packet loss]
      Min:   3.046
    10pct:   3.374
   Median:   4.440
      Avg:   6.188
    90pct:   6.103
      Max:  35.422
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 59 samples]
     cpu0:  55.3 +/- 11.2  @ 1376 MHz
     cpu1:  35.6 +/-  7.7  @ 1280 MHz
 Overhead: [in % used of total CPU available]
  netperf:  17.6
..............................................................
   Upload: 151.47 Mbps
  Latency: [in msec, 62 pings, 0.00% packet loss]
      Min:   3.033
    10pct:   3.355
   Median:   4.775
      Avg:   5.156
    90pct:   6.771
      Max:  18.833
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 58 samples]
     cpu0:  50.0 +/-  5.3  @ 1389 MHz
     cpu1:  16.5 +/-  4.6  @  857 MHz
 Overhead: [in % used of total CPU available]
  netperf:   3.2

I personally don't run speed tests from the router.

I'm more interested in throughput from the router to the endpoint.

I use Speedtest from the Linux and Windows command line on the client.

Local network i prefer iperf3.

I've been on the speedtest.net site. They don't offer a version for OpenWRT.

Thanks for your hint. I'll give it a try.

This is just a test for me. After successfull finish I'll decide, what's the best way to run a speedtest for me.