** Description changed:

  rally version 0.11.2
  dnspython 1.16.0
  
- When try to execute command rally verify list-verifier-exts, have following 
error:
- (.venv) 
root@s-bmk01:~/.rally/verification/verifier-2f1f8725-dde8-4a3f-beef-7231a9c3b2ac/repo#
 rally verify list-verifier-exts                                                
                              
- 2019-09-02 14:02:53.874 3415 WARNING rally.common.plugin.discover [-] 
OpenStack plugins moved to the separate package (see 
https://pypi.python.org/pypi/rally-openstack). In-tree OpenStack plugins will 
be 
- removed from the Rally main package soon.                                     
                                                                                
                                              
- Command failed, please check log for more info                                
                                                                                
                                              
- 2019-09-02 14:02:55.263 3415 CRITICAL rally [-] Unhandled error: 
ScannerError: mapping values are not allowed here                               
                                                           
-   in "<string>", line 1, column 153:                                          
                                                                                
                                              
-      ... s/hash.py:25: DeprecationWarning: dns.hash module will be remove ... 
                                                                                
                                              
-                                         ^                                     
                                             
+ When try to execute command `rally verify list-verifier-exts`, have following 
error:
+ (.venv) 
root@s-bmk01:~/.rally/verification/verifier-2f1f8725-dde8-4a3f-beef-7231a9c3b2ac/repo#
 rally verify list-verifier-exts
+ 2019-09-02 14:02:53.874 3415 WARNING rally.common.plugin.discover [-] 
OpenStack plugins moved to the separate package (see 
https://pypi.python.org/pypi/rally-openstack). In-tree OpenStack plugins will be
+ removed from the Rally main package soon.
+ Command failed, please check log for more info
+ 2019-09-02 14:02:55.263 3415 CRITICAL rally [-] Unhandled error: 
ScannerError: mapping values are not allowed here
+   in "<string>", line 1, column 153:
+      ... s/hash.py:25: DeprecationWarning: dns.hash module will be remove ...
+                                         ^
  
- 2019-09-02 14:02:55.263 3415 ERROR rally Traceback (most recent call last):   
                                                                                
                                              
- 2019-09-02 14:02:55.263 3415 ERROR rally   File "/usr/local/bin/rally", line 
10, in <module>                                                                 
                                               
+ 2019-09-02 14:02:55.263 3415 ERROR rally Traceback (most recent call last):
+ 2019-09-02 14:02:55.263 3415 ERROR rally   File "/usr/local/bin/rally", line 
10, in <module>
  2019-09-02 14:02:55.263 3415 ERROR rally     sys.exit(main())
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/cli/main.py", line 42, in main
  2019-09-02 14:02:55.263 3415 ERROR rally     return cliutils.run(sys.argv, 
categories)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/cli/cliutils.py", line 678, in run
  2019-09-02 14:02:55.263 3415 ERROR rally     ret = fn(*fn_args, **fn_kwargs)
  2019-09-02 14:02:55.263 3415 ERROR rally   File "<decorator-gen-84>", line 2, 
in list_verifier_exts
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/cli/envutils.py", line 69, in 
default_from_global
  2019-09-02 14:02:55.263 3415 ERROR rally     return f(*args, **kwargs)
  2019-09-02 14:02:55.263 3415 ERROR rally   File "<decorator-gen-83>", line 2, 
in list_verifier_exts
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/plugins/__init__.py", line 59, in 
ensure_plugins_are_loaded
  2019-09-02 14:02:55.263 3415 ERROR rally     return f(*args, **kwargs)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/cli/commands/verify.py", line 
411, in list_verifier_exts
  2019-09-02 14:02:55.263 3415 ERROR rally     verifier_exts = 
api.verifier.list_extensions(verifier_id=verifier_id)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/api.py", line 950, in 
list_extensions
  2019-09-02 14:02:55.263 3415 ERROR rally     return 
verifier.manager.list_extensions()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/verification/tempest/manager.py",
 line 177, in list_extensions
  2019-09-02 14:02:55.263 3415 ERROR rally     return yaml.safe_load(output)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/rally/common/yamlutils.py", line 68, in 
safe_load
  2019-09-02 14:02:55.263 3415 ERROR rally     return yaml.load(stream, 
_SafeLoader)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/__init__.py", line 71, in load
  2019-09-02 14:02:55.263 3415 ERROR rally     return loader.get_single_data()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/constructor.py", line 37, in 
get_single_data
  2019-09-02 14:02:55.263 3415 ERROR rally     node = self.get_single_node()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/composer.py", line 36, in 
get_single_node
  2019-09-02 14:02:55.263 3415 ERROR rally     document = 
self.compose_document()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/composer.py", line 55, in 
compose_document
  2019-09-02 14:02:55.263 3415 ERROR rally     node = self.compose_node(None, 
None)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/composer.py", line 84, in 
compose_node
  2019-09-02 14:02:55.263 3415 ERROR rally     node = 
self.compose_mapping_node(anchor)
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/composer.py", line 127, in 
compose_mapping_node
  2019-09-02 14:02:55.263 3415 ERROR rally     while not 
self.check_event(MappingEndEvent):
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/parser.py", line 98, in check_event
  2019-09-02 14:02:55.263 3415 ERROR rally     self.current_event = self.state()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/parser.py", line 428, in 
parse_block_mapping_key
  2019-09-02 14:02:55.263 3415 ERROR rally     if self.check_token(KeyToken):
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/scanner.py", line 116, in 
check_token
  2019-09-02 14:02:55.263 3415 ERROR rally     self.fetch_more_tokens()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/scanner.py", line 220, in 
fetch_more_tokens
  2019-09-02 14:02:55.263 3415 ERROR rally     return self.fetch_value()
  2019-09-02 14:02:55.263 3415 ERROR rally   File 
"/usr/local/lib/python2.7/dist-packages/yaml/scanner.py", line 576, in 
fetch_value
  2019-09-02 14:02:55.263 3415 ERROR rally     self.get_mark())
  2019-09-02 14:02:55.263 3415 ERROR rally ScannerError: mapping values are not 
allowed here
  2019-09-02 14:02:55.263 3415 ERROR rally   in "<string>", line 1, column 153:
  2019-09-02 14:02:55.263 3415 ERROR rally      ... s/hash.py:25: 
DeprecationWarning: dns.hash module will be remove ...
  2019-09-02 14:02:55.263 3415 ERROR rally                                      
    ^
  2019-09-02 14:02:55.263 3415 ERROR rally
  
- 
  Expected result:
  (.venv) 
root@s-bmk01:~/.rally/verification/verifier-2f1f8725-dde8-4a3f-beef-7231a9c3b2ac/repo#
 rally verify list-verifier-exts
  2019-09-02 14:12:50.518 3441 WARNING rally.common.plugin.discover [-] 
OpenStack plugins moved to the separate package (see 
https://pypi.python.org/pypi/rally-openstack). In-tree OpenStack plugins will 
be removed from the Rally main package soon.
  +-----------------+--------------------------------------------------------+
  | Name            | Entry point                                            |
  +-----------------+--------------------------------------------------------+
  | heat            | heat_tempest_plugin.plugin:HeatTempestPlugin           |
  | telemetry_tests | telemetry_tempest_plugin.plugin:TelemetryTempestPlugin |
  +-----------------+--------------------------------------------------------+
  
- 
- It seems that rally tries to parse Warning message from file 
lib/python2.7/site-packages/dns/hash.py, which presented in packages dnspython 
version 1.16.0
+ It seems that rally tries to parse Warning message from file
+ lib/python2.7/site-packages/dns/hash.py, which presented in packages
+ dnspython version 1.16.0
  
  After switching to dnspython version 1.15.0, command 'rally verify list-
  verifier-exts' is executed as expected

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1842330

Title:
  Command rally verify list-verifier-exts crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/rally/+bug/1842330/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to