⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267492 in webkit


Ignore:
Timestamp:
Sep 23, 2020, 12:07:10 PM (6 years ago)
Author:
aakash_jain@apple.com
Message:

Notify igalia team about pre-existing test failures and build failures for JSC queues
https://bugs.webkit.org/show_bug.cgi?id=216889

Reviewed by Jonathan Bedard.

  • BuildSlaveSupport/ews-build/steps.py:

(AnalyzeCompileWebKitResults.send_email_for_preexisting_build_failure): Send email for pre-existing jsc build failures.
(AnalyzeJSCTestsResults.send_email_for_pre_existing_failure): Send email for pre-existing jsc test failure.

  • BuildSlaveSupport/ews-build/send_email.py:
  • BuildSlaveSupport/ews-build/emails.json: Added email address of igalia jsc team.
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/ews-build/emails.json

    r266777 r267492  
    77      "webkit-ews-bot-watchers@group.apple.com"
    88  ],
     9  "IGALIA_JSC_TEAM_EMAILS": [
     10      "jsc32@igalia.com"
     11  ],
    912  "EMAIL_IDS_TO_UNSUBSCRIBE": ["pnormand@igalia.com"]
    1013}
  • trunk/Tools/BuildSlaveSupport/ews-build/send_email.py

    r266256 r267492  
    8181def send_email_to_bot_watchers(subject, text, reference=''):
    8282    send_email(get_email_ids('BOT_WATCHERS_EMAILS'), subject, text, reference)
     83
     84
     85def send_email_to_igalia_jsc_team(subject, text, reference=''):
     86    send_email(get_email_ids('IGALIA_JSC_TEAM_EMAILS'), subject, text, reference)
  • trunk/Tools/BuildSlaveSupport/ews-build/steps.py

    r267447 r267492  
    3131
    3232from layout_test_failures import LayoutTestFailures
    33 from send_email import send_email_to_patch_author, send_email_to_bot_watchers
     33from send_email import send_email_to_patch_author, send_email_to_bot_watchers, send_email_to_igalia_jsc_team
    3434
    3535import json
     
    4343EWS_BUILD_URL = 'https://ews-build.webkit.org/'
    4444EWS_URL = 'https://ews.webkit.org/'
     45IGALIA_JSC_QUEUES_PATTERNS = ['armv7', 'mips', 'i386']
    4546RESULTS_DB_URL = 'https://results.webkit.org/'
    4647WithProperties = properties.WithProperties
     
    15491550                email_text += u'\n\nError lines:\n\n<code>{}</code>'.format(logs)
    15501551            send_email_to_bot_watchers(email_subject, email_text, 'preexisting-build-failure-{}-{}'.format(builder_name, date.today().strftime("%Y-%d-%m")))
     1552            if any(pattern in builder_name.lower() for pattern in IGALIA_JSC_QUEUES_PATTERNS):
     1553                send_email_to_igalia_jsc_team(email_subject, email_text, 'preexisting-build-failure-{}-{}'.format(builder_name, date.today().strftime("%Y-%d-%m")))
    15511554        except Exception as e:
    15521555            print('Error in sending email for build failure: {}'.format(e))
     
    18121815            email_text = 'Test {} failed on clean tree run in {}.\n\nBuilder: {}\n\nWorker: {}\n\nHistory: {}'.format(test_name, build_url, builder_name, worker_name, history_url)
    18131816            send_email_to_bot_watchers(email_subject, email_text, 'preexisting-{}'.format(test_name))
     1817            if any(pattern in builder_name.lower() for pattern in IGALIA_JSC_QUEUES_PATTERNS):
     1818                send_email_to_igalia_jsc_team(email_subject, email_text, 'preexisting-{}'.format(test_name))
    18141819        except Exception as e:
    18151820            print('Error in sending email for pre-existing failure: {}'.format(e))
  • trunk/Tools/ChangeLog

    r267479 r267492  
     12020-09-23  Aakash Jain  <aakash_jain@apple.com>
     2
     3        Notify igalia team about pre-existing test failures and build failures for JSC queues
     4        https://bugs.webkit.org/show_bug.cgi?id=216889
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * BuildSlaveSupport/ews-build/steps.py:
     9        (AnalyzeCompileWebKitResults.send_email_for_preexisting_build_failure): Send email for pre-existing jsc build failures.
     10        (AnalyzeJSCTestsResults.send_email_for_pre_existing_failure): Send email for pre-existing jsc test failure.
     11        * BuildSlaveSupport/ews-build/send_email.py:
     12        * BuildSlaveSupport/ews-build/emails.json: Added email address of igalia jsc team.
     13
    1142020-09-23  Truitt Savell  <tsavell@apple.com>
    215
Note: See TracChangeset for help on using the changeset viewer.