third_party/blink/tools/blinkpy/w3c/import_notifier.py
def main(self,
             wpt_revision_start,
             wpt_revision_end,
             rebaselined_tests,
             test_expectations,
             new_override_expectations,
             issue,
             patchset,
             dry_run=True,
             service_account_key_json=None):
        """Files bug reports for new failures.

        Args:
            wpt_revision_start: The start of the imported WPT revision range
                (exclusive), i.e. the last imported revision.
            wpt_revision_end: The end of the imported WPT revision range
                (inclusive), i.e. the current imported revision.
            rebaselined_tests: A list of test names that have been rebaselined.
            test_expectations: A dictionary mapping names of tests that cannot
                be rebaselined to a list of new test expectation lines.
            issue: The issue number of the import CL (a string).
            patchset: The patchset number of the import CL (a string).
            dry_run: If True, no bugs will be actually filed to crbug.com.
            service_account_key_json: The path to a JSON private key of a
                service account for accessing Monorail. If None, try to get an
                access token from luci-auth.

        Note: "test names" are paths of the tests relative to web_tests.
        """
        gerrit_url = SHORT_GERRIT_PREFIX + issue
        gerrit_url_with_ps = gerrit_url + '/' + patchset + '/'

        changed_test_baselines = self.find_changed_baselines_of_tests(
            rebaselined_tests)
        self.examine_baseline_changes(changed_test_baselines,
                                      gerrit_url_with_ps)
        self.examine_new_test_expectations(test_expectations)

        bugs = self.create_bugs_from_new_failures(wpt_revision_start,
                                                  wpt_revision_end, gerrit_url)
        self.file_bugs(bugs, dry_run, service_account_key_json)

        for product, expectation_lines in new_override_expectations.items():
            bugs = self.create_bugs_for_product(wpt_revision_start,
                                                wpt_revision_end,
                                                gerrit_url,
                                                product,
                                                expectation_lines)
            self.file_bugs(bugs, dry_run, service_account_key_json)
Files bug reports for new failures.

        Args:
            wpt_revision_start: The start of the imported WPT revision range
                (exclusive), i.e. the last imported revision.
            wpt_revision_end: The end of the imported WPT revision range
                (inclusive), i.e. the current imported revision.
            rebaselined_tests: A list of test names that have been rebaselined.
            test_expectations: A dictionary mapping names of tests that cannot
                be rebaselined to a list of new test expectation lines.
            issue: The issue number of the import CL (a string).
            patchset: The patchset number of the import CL (a string).
            dry_run: If True, no bugs will be actually filed to crbug.com.
            service_account_key_json: The path to a JSON private key of a
                service account for accessing Monorail. If None, try to get an
                access token from luci-auth.

        Note: "test names" are paths of the tests relative to web_tests.
        
Files bug reports for new failures.
Files bug reports for new failures .
def main(self,
             wpt_revision_start,
             wpt_revision_end,
             rebaselined_tests,
             test_expectations,
             new_override_expectations,
             issue,
             patchset,
             dry_run=True,
             service_account_key_json=None):
        gerrit_url = SHORT_GERRIT_PREFIX + issue
        gerrit_url_with_ps = gerrit_url + '/' + patchset + '/'
        changed_test_baselines = self.find_changed_baselines_of_tests(
            rebaselined_tests)
        self.examine_baseline_changes(changed_test_baselines,
                                      gerrit_url_with_ps)
        self.examine_new_test_expectations(test_expectations)
        bugs = self.create_bugs_from_new_failures(wpt_revision_start,
                                                  wpt_revision_end, gerrit_url)
        self.file_bugs(bugs, dry_run, service_account_key_json)
        for product, expectation_lines in new_override_expectations.items():
            bugs = self.create_bugs_for_product(wpt_revision_start,
                                                wpt_revision_end,
                                                gerrit_url,
                                                product,
                                                expectation_lines)
            self.file_bugs(bugs, dry_run, service_account_key_json)
def main ( self , wpt_revision_start , wpt_revision_end , rebaselined_tests , test_expectations , new_override_expectations , issue , patchset , dry_run = True , service_account_key_json = None ) : gerrit_url = SHORT_GERRIT_PREFIX + issue gerrit_url_with_ps = gerrit_url + '/' + patchset + '/' changed_test_baselines = self . find_changed_baselines_of_tests ( rebaselined_tests ) self . examine_baseline_changes ( changed_test_baselines , gerrit_url_with_ps ) self . examine_new_test_expectations ( test_expectations ) bugs = self . create_bugs_from_new_failures ( wpt_revision_start , wpt_revision_end , gerrit_url ) self . file_bugs ( bugs , dry_run , service_account_key_json ) for product , expectation_lines in new_override_expectations . items ( ) : bugs = self . create_bugs_for_product ( wpt_revision_start , wpt_revision_end , gerrit_url , product , expectation_lines ) self . file_bugs ( bugs , dry_run , service_account_key_json )
Files bug reports for new failures.
Files bug reports for new failures .
"""Files bug reports for new failures.

        Args:
            wpt_revision_start: The start of the imported WPT revision range
                (exclusive), i.e. the last imported revision.
            wpt_revision_end: The end of the imported WPT revision range
                (inclusive), i.e. the current imported revision.
            rebaselined_tests: A list of test names that have been rebaselined.
            test_expectations: A dictionary mapping names of tests that cannot
                be rebaselined to a list of new test expectation lines.
            issue: The issue number of the import CL (a string).
            patchset: The patchset number of the import CL (a string).
            dry_run: If True, no bugs will be actually filed to crbug.com.
            service_account_key_json: The path to a JSON private key of a
                service account for accessing Monorail. If None, try to get an
                access token from luci-auth.

        Note: "test names" are paths of the tests relative to web_tests.
        """
self
wpt_revision_start
The start of the imported WPT revision range
(exclusive), i.e. the last imported revision.
The start of the imported WPT revision range ( exclusive ) i . e . the last imported revision .
wpt_revision_end
The end of the imported WPT revision range
(inclusive), i.e. the current imported revision.
The end of the imported WPT revision range ( inclusive ) i . e . the current imported revision .
rebaselined_tests
A list of test names that have been rebaselined.
A list of test names that have been rebaselined .
test_expectations
A dictionary mapping names of tests that cannot
be rebaselined to a list of new test expectation lines.
A dictionary mapping names of tests that cannot be rebaselined to a list of new test expectation lines .
new_override_expectations
issue
The issue number of the import CL (a string).
The issue number of the import CL ( a string ) .
patchset
The patchset number of the import CL (a string).
The patchset number of the import CL ( a string ) .
dry_run
If True, no bugs will be actually filed to crbug.com.
If True no bugs will be actually filed to crbug . com .
service_account_key_json
The path to a JSON private key of a
service account for accessing Monorail. If None, try to get an
access token from luci-auth.
The path to a JSON private key of a service account for accessing Monorail . If None try to get an access token from luci - auth .