)]}'
{"releasenotes/notes/add-worker-file-option-d949121a61156968.yaml":[{"author":{"_account_id":30742,"name":"Soniya Murlidhar Vyas","email":"svyas@redhat.com","username":"svyas"},"change_message_id":"b1510e57d2d8cbac1f60bcfc2cbc66a3a6ea21ef","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Add the option --worker-file in tempest run command. This is to gave"},{"line_number":5,"context_line":"    tempest more granularity to run parallel tests."},{"line_number":6,"context_line":"    By default, stestr group the tests by the class, for example,  all tests"},{"line_number":7,"context_line":"    under TestMinimumBasicScenario will be executed in one single worker."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3fa7e38b_55eb1610","line":4,"updated":"2020-02-20 12:46:36.000000000","message":"small nit - It should be \u0027give\u0027 instead of \u0027gave\u0027, I guess.","commit_id":"26c1ed63e8546dc6c0d33ef52e6f9218398724c1"},{"author":{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},"change_message_id":"69951db5c4f3a8b9206f4511bd525f8138ba59e8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Add the option --worker-file in tempest run command. This is to give"},{"line_number":5,"context_line":"    tempest more granularity to run parallel tests."},{"line_number":6,"context_line":"    By default, stestr group the tests by the class, for example,  all tests"},{"line_number":7,"context_line":"    under TestMinimumBasicScenario will be executed in one single worker."},{"line_number":8,"context_line":"    The worker file allow the user, for example, run all tests under"},{"line_number":9,"context_line":"    TestMinimumBasicScenario in more workers in parallel"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"1fa4df85_6c300a09","line":7,"updated":"2020-02-24 10:08:06.000000000","message":"TestMinimumBasicScenario is worst possible example. It does not have dedicated classes or multiple test cases.","commit_id":"928a854f07459661d84754bc0ea01b5d195def0b"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Add the option --worker-file in tempest run command. This is to give"},{"line_number":5,"context_line":"    tempest more granularity to run parallel tests, allowing the user to"},{"line_number":6,"context_line":"    manually choose how some tests will be executed."},{"line_number":7,"context_line":"    For example, the user can setup tempest to run with different concurrences,"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1fa4df85_34964c41","line":4,"range":{"start_line":4,"start_character":36,"end_line":4,"end_character":48},"updated":"2020-03-04 01:06:28.000000000","message":"``tempest run``","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Add the option --worker-file in tempest run command. This is to give"},{"line_number":5,"context_line":"    tempest more granularity to run parallel tests, allowing the user to"},{"line_number":6,"context_line":"    manually choose how some tests will be executed."},{"line_number":7,"context_line":"    For example, the user can setup tempest to run with different concurrences,"},{"line_number":8,"context_line":"    to be used with different regexps."}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1fa4df85_944060a7","line":6,"range":{"start_line":5,"start_character":29,"end_line":6,"end_character":52},"updated":"2020-03-04 01:06:28.000000000","message":"to manually configure how the different sets of tests can be grouped to run with the different worker. You can configure tests regex to run under workers. You can also mix manual scheduling with standard one by mentioning concurrency.","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"}],"tempest/cmd/run.py":[{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"586c13d87b9aebd8f084a577f0ccf473ccd50897","unresolved":false,"context_lines":[{"line_number":255,"context_line":"                                 \u0027on each newline. This command \u0027"},{"line_number":256,"context_line":"                                 \u0027supports files created by the tempest \u0027"},{"line_number":257,"context_line":"                                 \u0027run ``--list-tests`` command\u0027)"},{"line_number":258,"context_line":"        parser.add_argument(\u0027--worker-file\u0027, \u0027--worker-file\u0027,"},{"line_number":259,"context_line":"                            help\u003d\u0027Path to a worker file. This file \u0027"},{"line_number":260,"context_line":"                                 \u0027contains optional manual working group \u0027"},{"line_number":261,"context_line":"                                 \u0027configuration to be used by the run\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_4ce2b79e","line":258,"range":{"start_line":258,"start_character":54,"end_line":258,"end_character":55},"updated":"2020-02-20 10:23:36.000000000","message":"maybe underscore instead of dash? just based on the above code.","commit_id":"dd68bcb4c9ff129c916bd8d62589ddf14429b868"},{"author":{"_account_id":30742,"name":"Soniya Murlidhar Vyas","email":"svyas@redhat.com","username":"svyas"},"change_message_id":"5ea94e6693414725948bdd55696a512299c0dfb9","unresolved":false,"context_lines":[{"line_number":48,"context_line":"``--list-tests`` option."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"You can also use ``--worker-file`` option that allow you to manually choose"},{"line_number":51,"context_line":"how some tests will be executed. For example, you can setup a tempest run with"},{"line_number":52,"context_line":"concurrency 4, and uses a regex that matches tempest scenarios tests to run"},{"line_number":53,"context_line":"in concurrency 2. An example of worker file is showed below::"},{"line_number":54,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_f5cd625b","line":51,"updated":"2020-02-20 13:13:56.000000000","message":"I think the statement \u0027You can also ..\u0027 if modified something like \u0027You can ..tests will be executed with the specified concurrency.\u0027 will be more informative.\n\nThe example, If explained like \u0027tempest run with concurrency 3 for tempest.api and use a regex..\u0027 seems better, I guess.","commit_id":"26c1ed63e8546dc6c0d33ef52e6f9218398724c1"},{"author":{"_account_id":30742,"name":"Soniya Murlidhar Vyas","email":"svyas@redhat.com","username":"svyas"},"change_message_id":"5ea94e6693414725948bdd55696a512299c0dfb9","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"You can also use ``--worker-file`` option that allow you to manually choose"},{"line_number":51,"context_line":"how some tests will be executed. For example, you can setup a tempest run with"},{"line_number":52,"context_line":"concurrency 4, and uses a regex that matches tempest scenarios tests to run"},{"line_number":53,"context_line":"in concurrency 2. An example of worker file is showed below::"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    # Worker file"}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_35321a5d","line":52,"updated":"2020-02-20 13:13:56.000000000","message":"The example says \u0027concurrency 4\u0027 but the below worker-file don\u0027t actually have it.","commit_id":"26c1ed63e8546dc6c0d33ef52e6f9218398724c1"},{"author":{"_account_id":30742,"name":"Soniya Murlidhar Vyas","email":"svyas@redhat.com","username":"svyas"},"change_message_id":"5ea94e6693414725948bdd55696a512299c0dfb9","unresolved":false,"context_lines":[{"line_number":52,"context_line":"concurrency 4, and uses a regex that matches tempest scenarios tests to run"},{"line_number":53,"context_line":"in concurrency 2. An example of worker file is showed below::"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    # Worker file"},{"line_number":56,"context_line":"    - worker:"},{"line_number":57,"context_line":"      - tempest.api.*"},{"line_number":58,"context_line":"      concurrency: 3"}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_b5b7eaf7","line":55,"updated":"2020-02-20 13:13:56.000000000","message":"I think specifying the possible formats for worker-file will also be a good thing as far as new user\u0027s perspective is considered.","commit_id":"26c1ed63e8546dc6c0d33ef52e6f9218398724c1"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"a14c046d65d89c5bf5424dec71cc703a87239826","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"You can also use ``--worker-file`` option that lets you pass a filepath to a"},{"line_number":51,"context_line":"worker yaml file, allowing you to manually choose how some tests will be"},{"line_number":52,"context_line":"executed. For example, you can setup a tempest run with"},{"line_number":53,"context_line":"concurrency 3, and uses a regex that matches tempest scenarios tests to run"},{"line_number":54,"context_line":"in concurrency 2. An example of worker file is showed below:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    # YAML Worker file"},{"line_number":57,"context_line":"    - worker:"}],"source_content_type":"text/x-python","patch_set":4,"id":"3fa7e38b_7b57235b","line":54,"range":{"start_line":52,"start_character":23,"end_line":54,"end_character":16},"updated":"2020-02-20 14:48:28.000000000","message":"Maybe something like this?\n\n\"you can setup a tempest run with different concurrences to be used with different regexps.\"","commit_id":"8c5ec9d9c0b8fef40dc4ed2b3389d775668199b5"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"a14c046d65d89c5bf5424dec71cc703a87239826","unresolved":false,"context_lines":[{"line_number":51,"context_line":"worker yaml file, allowing you to manually choose how some tests will be"},{"line_number":52,"context_line":"executed. For example, you can setup a tempest run with"},{"line_number":53,"context_line":"concurrency 3, and uses a regex that matches tempest scenarios tests to run"},{"line_number":54,"context_line":"in concurrency 2. An example of worker file is showed below:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    # YAML Worker file"},{"line_number":57,"context_line":"    - worker:"}],"source_content_type":"text/x-python","patch_set":4,"id":"3fa7e38b_1b370f4f","line":54,"range":{"start_line":54,"start_character":59,"end_line":54,"end_character":60},"updated":"2020-02-20 14:48:28.000000000","message":"here needs to be double double dot - :: - otherwise the yaml example is unexpectedly indented.","commit_id":"8c5ec9d9c0b8fef40dc4ed2b3389d775668199b5"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"a14c046d65d89c5bf5424dec71cc703a87239826","unresolved":false,"context_lines":[{"line_number":51,"context_line":"worker yaml file, allowing you to manually choose how some tests will be"},{"line_number":52,"context_line":"executed. For example, you can setup a tempest run with"},{"line_number":53,"context_line":"concurrency 3, and uses a regex that matches tempest scenarios tests to run"},{"line_number":54,"context_line":"in concurrency 2. An example of worker file is showed below:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    # YAML Worker file"},{"line_number":57,"context_line":"    - worker:"}],"source_content_type":"text/x-python","patch_set":4,"id":"3fa7e38b_fb14739b","line":54,"range":{"start_line":54,"start_character":47,"end_line":54,"end_character":53},"updated":"2020-02-20 14:48:28.000000000","message":"shown","commit_id":"8c5ec9d9c0b8fef40dc4ed2b3389d775668199b5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":47,"context_line":"by removing unnecessary tests from a list file which is generated from"},{"line_number":48,"context_line":"``--list-tests`` option."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"You can also use ``--worker-file`` option that lets you pass a filepath to a"},{"line_number":51,"context_line":"worker yaml file, allowing you to manually choose how some tests will be"},{"line_number":52,"context_line":"executed. For example, you can setup a tempest run with"},{"line_number":53,"context_line":"different concurrences to be used with different regexps."}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_74b3644e","line":50,"range":{"start_line":50,"start_character":47,"end_line":50,"end_character":51},"updated":"2020-03-04 01:06:28.000000000","message":"let","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":48,"context_line":"``--list-tests`` option."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"You can also use ``--worker-file`` option that lets you pass a filepath to a"},{"line_number":51,"context_line":"worker yaml file, allowing you to manually choose how some tests will be"},{"line_number":52,"context_line":"executed. For example, you can setup a tempest run with"},{"line_number":53,"context_line":"different concurrences to be used with different regexps."},{"line_number":54,"context_line":"An example of worker file is showed below::"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_f4a7540a","line":52,"range":{"start_line":51,"start_character":34,"end_line":52,"end_character":9},"updated":"2020-03-04 01:06:28.000000000","message":"manually schedule the tests run.","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":53,"context_line":"different concurrences to be used with different regexps."},{"line_number":54,"context_line":"An example of worker file is showed below::"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    # YAML Worker file"},{"line_number":57,"context_line":"    - worker:"},{"line_number":58,"context_line":"      # you can have more than one regex per worker"},{"line_number":59,"context_line":"      - tempest.api.*"},{"line_number":60,"context_line":"      - neutron_tempest_tests"},{"line_number":61,"context_line":"      concurrency: 3"},{"line_number":62,"context_line":"    - worker:"},{"line_number":63,"context_line":"      - tempest.scenario.*"},{"line_number":64,"context_line":"      concurrency: 2"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"This is also an argument passed into stestr. For some more details on how it"},{"line_number":67,"context_line":"operates please refer to the stestr scheduling docs:"}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_d48018c2","line":64,"range":{"start_line":56,"start_character":0,"end_line":64,"end_character":20},"updated":"2020-03-04 01:06:28.000000000","message":"let\u0027s give separate examples of manual scheduling and mix one.\n\n    # YAML Worker file\n    - worker:\n      # you can have more than one regex per worker\n      - tempest.api.*\n      - neutron_tempest_tests\n    - worker:\n      - tempest.scenario.*\n\nThis will run test matching with \u0027tempest.api.*\u0027 and \u0027neutron_tempest_tests\u0027 against worker 1. Run test matching with \u0027tempest.scenario.*\u0027 under worker2.\n\nYou can mix manual scheduling with the standard scheduling mechanisms by concurrency field on a worker. For example:\n    - worker:\n      # you can have more than one regex per worker\n      - tempest.api.*\n      - neutron_tempest_tests\n    - worker:\n      - tempest.scenario.*\n      concurrency: 2\n\nThis will run tests matching with \u0027tempest.scenario.*\u0027 against 2 workers.","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":63,"context_line":"      - tempest.scenario.*"},{"line_number":64,"context_line":"      concurrency: 2"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"This is also an argument passed into stestr. For some more details on how it"},{"line_number":67,"context_line":"operates please refer to the stestr scheduling docs:"},{"line_number":68,"context_line":"https://stestr.readthedocs.io/en/stable/MANUAL.html#test-scheduling"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_748cc47e","line":66,"range":{"start_line":66,"start_character":5,"end_line":66,"end_character":25},"updated":"2020-03-04 01:06:28.000000000","message":"worker file is passed...","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                                 \u0027supports files created by the tempest \u0027"},{"line_number":277,"context_line":"                                 \u0027run ``--list-tests`` command\u0027)"},{"line_number":278,"context_line":"        parser.add_argument(\u0027--worker-file\u0027, \u0027--worker_file\u0027,"},{"line_number":279,"context_line":"                            help\u003d\u0027Path to a worker file. This file \u0027"},{"line_number":280,"context_line":"                                 \u0027contains optional manual working group \u0027"},{"line_number":281,"context_line":"                                 \u0027configuration to be used by the run\u0027)"},{"line_number":282,"context_line":"        # list only args"}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_94e860e2","line":279,"range":{"start_line":279,"start_character":34,"end_line":279,"end_character":38},"updated":"2020-03-04 01:06:28.000000000","message":"Optional Path ...","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"f8e4a8c1f1aea701c0dd00e04c0f64a8ce77bd37","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                                 \u0027supports files created by the tempest \u0027"},{"line_number":277,"context_line":"                                 \u0027run ``--list-tests`` command\u0027)"},{"line_number":278,"context_line":"        parser.add_argument(\u0027--worker-file\u0027, \u0027--worker_file\u0027,"},{"line_number":279,"context_line":"                            help\u003d\u0027Path to a worker file. This file \u0027"},{"line_number":280,"context_line":"                                 \u0027contains optional manual working group \u0027"},{"line_number":281,"context_line":"                                 \u0027configuration to be used by the run\u0027)"},{"line_number":282,"context_line":"        # list only args"}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_000f4037","line":279,"range":{"start_line":279,"start_character":34,"end_line":279,"end_character":38},"in_reply_to":"1fa4df85_94e860e2","updated":"2020-03-04 17:33:23.000000000","message":"this we can keep as \u0027Path\u0027 only from tempest perspective","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2b1d20df902558f817c4a1df4fd03076b4e7bf8d","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                                 \u0027supports files created by the tempest \u0027"},{"line_number":277,"context_line":"                                 \u0027run ``--list-tests`` command\u0027)"},{"line_number":278,"context_line":"        parser.add_argument(\u0027--worker-file\u0027, \u0027--worker_file\u0027,"},{"line_number":279,"context_line":"                            help\u003d\u0027Path to a worker file. This file \u0027"},{"line_number":280,"context_line":"                                 \u0027contains optional manual working group \u0027"},{"line_number":281,"context_line":"                                 \u0027configuration to be used by the run\u0027)"},{"line_number":282,"context_line":"        # list only args"},{"line_number":283,"context_line":"        parser.add_argument(\u0027--list-tests\u0027, \u0027-l\u0027, action\u003d\u0027store_true\u0027,"},{"line_number":284,"context_line":"                            help\u003d\u0027List tests\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_1439d0a2","line":281,"range":{"start_line":279,"start_character":57,"end_line":281,"end_character":69},"updated":"2020-03-04 01:06:28.000000000","message":"\u0027This file contains each worker configuration about test regex and concurrency which will be used to schedule the tests run.\u0027","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"f8e4a8c1f1aea701c0dd00e04c0f64a8ce77bd37","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                                 \u0027supports files created by the tempest \u0027"},{"line_number":277,"context_line":"                                 \u0027run ``--list-tests`` command\u0027)"},{"line_number":278,"context_line":"        parser.add_argument(\u0027--worker-file\u0027, \u0027--worker_file\u0027,"},{"line_number":279,"context_line":"                            help\u003d\u0027Path to a worker file. This file \u0027"},{"line_number":280,"context_line":"                                 \u0027contains optional manual working group \u0027"},{"line_number":281,"context_line":"                                 \u0027configuration to be used by the run\u0027)"},{"line_number":282,"context_line":"        # list only args"},{"line_number":283,"context_line":"        parser.add_argument(\u0027--list-tests\u0027, \u0027-l\u0027, action\u003d\u0027store_true\u0027,"},{"line_number":284,"context_line":"                            help\u003d\u0027List tests\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_4011b85c","line":281,"range":{"start_line":279,"start_character":57,"end_line":281,"end_character":69},"in_reply_to":"1fa4df85_1439d0a2","updated":"2020-03-04 17:33:23.000000000","message":"this is not updated yet","commit_id":"159b56f1adb820a8154c78685192f1f9861eb9d5"}]}
