ValueError: not enough values to unpack during Tempest execution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
Andriy Kurilin |
Bug Description
We are using Rally to execute Tempest tests. This error occurs randomly, but quite often. Stacktrace:
[-] Unexpected exception in CLI: ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
File "/usr/local/
ret = fn(*fn_args, **fn_kwargs)
File "<decorator-
File "/usr/local/
return f(*args, **kwargs)
File "<decorator-
File "/usr/local/
return f(*args, **kwargs)
File "<decorator-
File "/usr/local/
return f(*args, **kwargs)
File "/usr/local/
tags=tags, **run_args)
File "/usr/local/
results = verifier.
File "/usr/local/
logger_
File "/usr/local/
v2.
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
route_
File "/usr/local/
mime_type, charset = mime_type.split("; ")[:2]
ValueError: not enough values to unpack (expected 2, got 1)
2020-04-07 08:38:59.952 899 ERROR rally.cli.cliutils
Environment information:
Tempest revision: 16.1.0 (19e20abb9311dc
rally-openstack 1.7.0
Python 3.6.8
Rally 3.0.0
CentOS Linux release 7.7.1908
Additional info:
Tempest regex: api
description: | updated |
We have a CI job for checking rally verification component. It never faced such issue. strange:(
May I ask to modify code of rally to print additional debug information? https:/ /github. com/openstack/ rally/blob/ master/ rally/common/ io/subunit_ v2.py#L39 it would be nice to print mime_type before this line, so we can understand was is the root cause.