m-lab / murakami

Run automated internet measurement tests in a Docker container.
Apache License 2.0
41 stars 11 forks source link

User reported issue with dockerhub image #28

Closed critzo closed 4 years ago

critzo commented 4 years ago

A user who is testing out the Dockerhub image reported this issue which we should investigate:

Status: Downloaded newer image for measurementlab/murakami:armv7-latest
/usr/local/lib/python3.8/site-packages/livejson.py:129: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
  class _NestedDict(_NestedBase, collections.MutableMapping):
/usr/local/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  while start is not 0:
usage: __main__.py [-h] [-c CONFIG] [-d DYNAMIC] [-p PORT] [-n HOSTNAME]
                   [-s [SSL_OPTIONS]] [-r [ADDITIONAL_ROUTES]] [-b BASE_PATH]
                   [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-t TESTS_PER_DAY]
                   [-i] [-w] [--location LOCATION]
                   [--network-type NETWORK_TYPE]
                   [--connection-type CONNECTION_TYPE]
__main__.py: error: argument -i/--immediate: ignored explicit argument 'mmediate'
robertodauria commented 4 years ago

@critzo do you have more details on the exact docker run command that was used? It seems to be the effect of running the container with the -immediate flag rather than -i or --immediate (please note the double --.)

e.g.

$ docker run measurementlab/murakami:armv7-latest -immediate
[...]
__main__.py: error: argument -i/--immediate: ignored explicit argument 'mmediate'