)]}'
{"tempest/cmd/init.py":[{"author":{"_account_id":20190,"name":"zhufl","email":"zhu.fanglei@zte.com.cn","username":"zhufl"},"change_message_id":"7f250e8e5e94aed8f343d8f8c14fb56a5b5fab13","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"STESTR_CONF \u003d r\"\"\"[DEFAULT]"},{"line_number":30,"context_line":"test_path\u003d\"%s\""},{"line_number":31,"context_line":"top_dir\u003d\"%s\""},{"line_number":32,"context_line":"group_regex\u003d([^\\.]*\\.)*"},{"line_number":33,"context_line":"\"\"\""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ffd0ebdf_b8b40137","line":31,"range":{"start_line":31,"start_character":0,"end_line":31,"end_character":12},"updated":"2019-01-03 01:54:18.000000000","message":"I\u0027m curious that does conf file like below can\u0027t work?\n[DEFAULT]\ntop_dir\u003dMy dir","commit_id":"9122c98da069277903d8ff54a72e890e910b9472"},{"author":{"_account_id":8911,"name":"Sergey Vilgelm","email":"sergey@vilgelm.info","username":"sergey.vilgelm"},"change_message_id":"eb0f6d39ee9a0d0ad8b2093db9db8ee224654d04","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"STESTR_CONF \u003d r\"\"\"[DEFAULT]"},{"line_number":30,"context_line":"test_path\u003d\"%s\""},{"line_number":31,"context_line":"top_dir\u003d\"%s\""},{"line_number":32,"context_line":"group_regex\u003d([^\\.]*\\.)*"},{"line_number":33,"context_line":"\"\"\""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ffd0ebdf_b81de1be","line":31,"range":{"start_line":31,"start_character":0,"end_line":31,"end_character":12},"in_reply_to":"ffd0ebdf_38f7b1f8","updated":"2019-01-03 02:45:08.000000000","message":"Here is `.stestr.conf` file generated by `tempest init tests`:\n\n    [DEFAULT]\n    test_path\u003d/Users/svilgelm/Library/Mobile Documents/com~apple~CloudDocs/workspace/qa/tempest/tempest/test_discover\n    top_dir\u003d/Users/svilgelm/Library/Mobile Documents/com~apple~CloudDocs/workspace/qa/tempest/tempest\n    group_regex\u003d([^\\.]*\\.)*\n\n\nHere is a tracebake:\n\n    20:41:26$ tempest run --workspace tests -l\n    2019-01-02 20:41:30.948 1650 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf\n    /Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from \u0027collections\u0027 instead of from \u0027collections.abc\u0027 is deprecated, and in 3.8 it will stop working\n      if not isinstance(key, collections.Hashable):\n    Traceback (most recent call last):\n      File \"/usr/local/Cellar/python/3.7.2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py\", line 193, in _run_module_as_main\n        \"__main__\", mod_spec)\n      File \"/usr/local/Cellar/python/3.7.2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py\", line 85, in _run_code\n        exec(code, run_globals)\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/subunit/run.py\", line 149, in \u003cmodule\u003e\n        main()\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/subunit/run.py\", line 145, in main\n        stdout\u003dstdout, exit\u003dFalse)\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/testtools/run.py\", line 171, in __init__\n        self.parseArgs(argv)\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/unittest2/main.py\", line 113, in parseArgs\n        self._do_discovery(argv[2:])\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/testtools/run.py\", line 211, in _do_discovery\n        super(TestProgram, self)._do_discovery(argv, Loader\u003dLoader)\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/unittest2/main.py\", line 223, in _do_discovery\n        self.test \u003d loader.discover(self.start, self.pattern, self.top)\n      File \"/Users/svilgelm/.local/share/virtualenvs/qa-BDEBjO9C/lib/python3.7/site-packages/unittest2/loader.py\", line 364, in discover\n        raise ImportError(\u0027Start directory is not importable: %r\u0027 % start_dir)\n    ImportError: Start directory is not importable: \u0027Documents/com~apple~CloudDocs/workspace/qa/tempest/tempest\u0027\n    \n    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n    Failures during discovery\n    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n    \n    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n    The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.\n\n\nI don\u0027t know how it work on your env, but it doesn\u0027t work for me, I have to modify .stestr.conf and  put in quotes every time I create new workspace","commit_id":"9122c98da069277903d8ff54a72e890e910b9472"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"ff8b4655ff18441a41f77da5e0d9cd9343aba5ed","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"STESTR_CONF \u003d r\"\"\"[DEFAULT]"},{"line_number":30,"context_line":"test_path\u003d\"%s\""},{"line_number":31,"context_line":"top_dir\u003d\"%s\""},{"line_number":32,"context_line":"group_regex\u003d([^\\.]*\\.)*"},{"line_number":33,"context_line":"\"\"\""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ffd0ebdf_38f7b1f8","line":31,"range":{"start_line":31,"start_character":0,"end_line":31,"end_character":12},"in_reply_to":"ffd0ebdf_b8b40137","updated":"2019-01-03 02:04:57.000000000","message":"Yeah, I\u0027m not sure I understand what this is trying to solve. The configparser module should support spaces in values: https://docs.python.org/3/library/configparser.html#supported-ini-file-structure\n\nand that is what stestr uses to parse the config files: \n\nhttps://github.com/mtreinish/stestr/blob/master/stestr/config_file.py#L16\n\nI also tested this on python2 and python3 quickly with my system. Do you have a stack trace or something showing where this falls apart?","commit_id":"9122c98da069277903d8ff54a72e890e910b9472"}]}
