devstack-gate run fails with "ValueError: No closing quotation" from shlex module

Bug #1528680 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
New
Undecided
Unassigned
OpenStack-Gate
New
Undecided
Unassigned

Bug Description

Seen here:

http://logs.openstack.org/88/256388/1/gate/gate-designate-dsvm-powerdns/9a48601/console.html.gz#_2015-12-16_13_56_43_534

2015-12-16 13:56:43.257 | 2015-12-16 13:56:43.229 | /opt/stack/new/designate /opt/stack/new/designate/devstack/gate
2015-12-16 13:56:43.534 | 2015-12-16 13:56:43.506 | Traceback (most recent call last):
2015-12-16 13:56:43.536 | 2015-12-16 13:56:43.509 | File "/usr/local/bin/tox", line 11, in <module>
2015-12-16 13:56:43.539 | 2015-12-16 13:56:43.511 | sys.exit(cmdline())
2015-12-16 13:56:43.541 | 2015-12-16 13:56:43.513 | File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 38, in main
2015-12-16 13:56:43.546 | 2015-12-16 13:56:43.518 | config = prepare(args)
2015-12-16 13:56:43.582 | 2015-12-16 13:56:43.520 | File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 26, in prepare
2015-12-16 13:56:43.583 | 2015-12-16 13:56:43.522 | config = parseconfig(args)
2015-12-16 13:56:43.583 | 2015-12-16 13:56:43.525 | File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 229, in parseconfig
2015-12-16 13:56:43.583 | 2015-12-16 13:56:43.527 | parseini(config, inipath)
2015-12-16 13:56:43.583 | 2015-12-16 13:56:43.529 | File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 729, in __init__
2015-12-16 13:56:43.583 | 2015-12-16 13:56:43.531 | self.make_envconfig(name, section, reader._subs, config)
2015-12-16 13:56:43.584 | 2015-12-16 13:56:43.533 | File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 760, in make_envconfig
2015-12-16 13:56:43.584 | 2015-12-16 13:56:43.534 | res = meth(env_attr.name, env_attr.default)
2015-12-16 13:56:43.584 | 2015-12-16 13:56:43.538 | File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 929, in getargvlist
2015-12-16 13:56:43.584 | 2015-12-16 13:56:43.539 | return _ArgvlistReader.getargvlist(self, s)
2015-12-16 13:56:43.584 | 2015-12-16 13:56:43.546 | File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 1100, in getargvlist
2015-12-16 13:56:43.584 | 2015-12-16 13:56:43.548 | commands.append(cls.processcommand(reader, current_command))
2015-12-16 13:56:43.585 | 2015-12-16 13:56:43.550 | File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 1140, in processcommand
2015-12-16 13:56:43.585 | 2015-12-16 13:56:43.552 | argv = list(shlexer)
2015-12-16 13:56:43.585 | 2015-12-16 13:56:43.554 | File "/usr/lib/python2.7/shlex.py", line 269, in next
2015-12-16 13:56:43.585 | 2015-12-16 13:56:43.557 | token = self.get_token()
2015-12-16 13:56:43.587 | 2015-12-16 13:56:43.559 | File "/usr/lib/python2.7/shlex.py", line 96, in get_token
2015-12-16 13:56:43.589 | 2015-12-16 13:56:43.561 | raw = self.read_token()
2015-12-16 13:56:43.592 | 2015-12-16 13:56:43.564 | File "/usr/lib/python2.7/shlex.py", line 172, in read_token
2015-12-16 13:56:43.597 | 2015-12-16 13:56:43.569 | raise ValueError, "No closing quotation"
2015-12-16 13:56:43.603 | 2015-12-16 13:56:43.571 | ValueError: No closing quotation

Which is coming from:

https://github.com/openstack/designate/blob/master/devstack/gate/run_tempest_tests.sh#L32

But this hits in a lot of projects:

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message:%5C%22ValueError:%20No%20closing%20quotation%5C%22%20AND%20tags:%5C%22console%5C%22%20AND%20voting:%5C%221%5C%22%20AND%20NOT%20build_queue:%5C%22experimental%5C%22

Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.