[Pkg-linaro-lava-devel] Bug#864417: lava-tool: Python exception splat attempting to list jobs
Mark Brown
broonie at debian.org
Thu Jun 8 10:53:33 UTC 2017
Package: lava-tool
Version: 0.21-1
Severity: normal
When attempting to list jobs on my server I get:
$ lava-tool jobs-list http://broonie@lava.sirena.org.uk/RPC2
Traceback (most recent call last):
File "/usr/bin/lava-tool", line 11, in <module>
load_entry_point('lava-tool==0.21', 'console_scripts', 'lava-tool')()
File "/usr/lib/python2.7/dist-packages/lava_tool/dispatcher.py", line 49, in main
LavaDispatcher.run()
File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 150, in run
raise SystemExit(cls().dispatch(args))
File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 140, in dispatch
return command.invoke()
File "/usr/lib/python2.7/dist-packages/lava_scheduler_tool/commands.py", line 319, in invoke
jobs_list = server.scheduler.all_jobs()
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/dist-packages/lava_tool/authtoken.py", line 349, in request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1491, in parse_response
p.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 567, in close
parser.Parse("", 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 613922, column 12
There are rather a lot of jobs but this shouldn't happen.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lava-tool depends on:
ii python 2.7.13-2
ii python-jinja2 2.8-1
ii python-requests 2.12.4-1
ii python-setuptools 33.1.1-1
ii python-xdg 0.25-4
ii python-yaml 3.12-1
ii python-zmq 16.0.2-2
ii python2.7 2.7.13-2
Versions of packages lava-tool recommends:
ii ca-certificates 20161130+nmu1
lava-tool suggests no packages.
-- no debconf information
More information about the Pkg-linaro-lava-devel
mailing list