(That's the reason I used custom script to fetch pending tasks when investigating large pending queues)
------
$ ./swarming.py query-list -S chromium-swarm.appspot.com
config:v1
Configuration service.
Traceback (most recent call last):
File "./swarming.py", line 1676, in <module>
sys.exit(main(sys.argv[1:]))
File "./swarming.py", line 1668, in main
return dispatcher.execute(OptionParserSwarming(version=__version__), args)
File "/Users/vadimsh/infra-git/infra/luci/client/third_party/depot_tools/subcommand.py", line 251, in execute
return command(parser, args[1:])
File "./swarming.py", line 1414, in CMDquery_list
for resource_name, resource in sorted(api['resources'].iteritems()):
KeyError: 'resources'
Sending the crash report ... done.
Report URL: https://chromium-swarm.appspot.com/restricted/ereporter2/errors/5381939106676736
Process exited due to exception
'resources'
----
$ ./swarming.py query tasks -S chromium-swarm.appspot.com
Failed to access https://chromium-swarm.appspot.com/api/swarming/v1/tasks?limit=200
(Guess what, there's no https://chromium-swarm.appspot.com/api/swarming/v1/tasks any more)
Comment 1 by bugdroid1@chromium.org
, Feb 15 2017