<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>215457</bug_id>
          
          <creation_ts>2020-08-13 11:42:48 -0700</creation_ts>
          <short_desc>Regression(r265580): apply-watchlist is broken</short_desc>
          <delta_ts>2020-08-13 12:43:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>hi</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1680028</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-08-13 11:42:48 -0700</bug_when>
    <thetext>r265580 broke apply-watchlist.

e.g.:
https://ews-build.webkit.org/#/builders/21/builds/25487
Traceback (most recent call last):
  File &quot;Tools/Scripts/webkit-patch&quot;, line 80, in &lt;module&gt;
    main()
  File &quot;Tools/Scripts/webkit-patch&quot;, line 75, in main
    WebKitPatch(os.path.abspath(__file__)).main()
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 305, in main
    result = command.check_arguments_and_execute(options, args, self)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 123, in check_arguments_and_execute
    return self.execute(options, args, tool) or 0
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/tool/commands/abstractsequencedcommand.py&quot;, line 55, in execute
    self._sequence.run_and_handle_errors(tool, options, state)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/tool/commands/stepsequence.py&quot;, line 73, in run_and_handle_errors
    self._run(tool, options, state)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/tool/commands/stepsequence.py&quot;, line 67, in _run
    step(tool, options).run(state)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/tool/steps/applywatchlist.py&quot;, line 48, in run
    cc_and_messages = self._tool.watch_list().determine_cc_and_messages(diff)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/common/memoized.py&quot;, line 45, in __call__
    result = self._function(*args)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/common/host.py&quot;, line 108, in watch_list
    return WatchListParser().parse(watch_list_contents)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/common/watchlist/watchlistparser.py&quot;, line 70, in parse
    dictionary = self._eval_watch_list(watch_list_contents)
  File &quot;/Volumes/Data/worker/Apply-WatchList-EWS/build/Tools/Scripts/webkitpy/common/watchlist/watchlistparser.py&quot;, line 86, in _eval_watch_list
    return eval(watch_list_contents, {&apos;__builtins__&apos;: None}, None)
  File &quot;&lt;string&gt;&quot;, line 211
    &quot;WebInspectorTests&quot; {
                        ^
SyntaxError: invalid syntax</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680031</commentid>
    <comment_count>1</comment_count>
      <attachid>406526</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-08-13 11:45:01 -0700</bug_when>
    <thetext>Created attachment 406526
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680032</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-08-13 11:45:55 -0700</bug_when>
    <thetext>Committed r265616: &lt;https://trac.webkit.org/changeset/265616&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680033</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-08-13 11:46:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/67005950&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680038</commentid>
    <comment_count>4</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2020-08-13 11:59:35 -0700</bug_when>
    <thetext>ah crap my bad :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680039</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-08-13 12:11:26 -0700</bug_when>
    <thetext>Retried all the failed builds at https://ews-build.webkit.org/#/builders/Apply-WatchList-EWS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680045</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2020-08-13 12:43:56 -0700</bug_when>
    <thetext>Should we have style checker syntax-check watchlist, as it does for contributors.json?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>406526</attachid>
            <date>2020-08-13 11:45:01 -0700</date>
            <delta_ts>2020-08-13 11:45:01 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-215457-20200813144500.patch</filename>
            <type>text/plain</type>
            <size>1292</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI2NTYxNSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDIwLTA4LTEzICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBSZWdyZXNzaW9uKHIyNjU1ODApOiBhcHBseS13YXRjaGxpc3QgaXMgYnJv
a2VuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yMTU0
NTcKKworICAgICAgICBVbnJldmlld2VkIGluZnJhc3RydWN0dXJlIGZpeC4KKworICAgICAgICAq
IFNjcmlwdHMvd2Via2l0cHkvY29tbW9uL2NvbmZpZy93YXRjaGxpc3Q6CisKIDIwMjAtMDgtMTMg
IEFha2FzaCBKYWluICA8YWFrYXNoX2phaW5AYXBwbGUuY29tPgogCiAgICAgICAgIFtld3NdIGVt
YWlsIG5vdGlmaWNhdGlvbnMgc2hvdWxkIGluY2x1ZGUgQnVnemlsbGEgbGluayB0byB0aGUgcGF0
Y2gKSW5kZXg6IFRvb2xzL1NjcmlwdHMvd2Via2l0cHkvY29tbW9uL2NvbmZpZy93YXRjaGxpc3QK
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PQotLS0gVG9vbHMvU2NyaXB0cy93ZWJraXRweS9jb21tb24vY29uZmlnL3dhdGNo
bGlzdAkocmV2aXNpb24gMjY1NjE1KQorKysgVG9vbHMvU2NyaXB0cy93ZWJraXRweS9jb21tb24v
Y29uZmlnL3dhdGNobGlzdAkod29ya2luZyBjb3B5KQpAQCAtMjA4LDcgKzIwOCw3IEBACiAgICAg
ICAgICAgICAgICAgICAgICAgICByInxTb3VyY2UvV2ViQ29yZS9odG1sL2NhbnZhcy9XZWJHTFJl
bmRlcmluZ0NvbnRleHRcLmlkbCIKICAgICAgICAgICAgICAgICAgICAgICAgIHIifFNvdXJjZS9X
ZWJDb3JlL2h0bWwvY2FudmFzL1dlYkdMUmVuZGVyaW5nQ29udGV4dEJhc2VcLmlkbCIsCiAgICAg
ICAgIH0sCi0gICAgICAgICJXZWJJbnNwZWN0b3JUZXN0cyIgeworICAgICAgICAiV2ViSW5zcGVj
dG9yVGVzdHMiOiB7CiAgICAgICAgICAgICAiZmlsZW5hbWUiOiByIkxheW91dFRlc3RzL2luc3Bl
Y3RvciIKICAgICAgICAgICAgICAgICAgICAgICAgIHIifExheW91dFRlc3RzL2h0dHAvdGVzdHMv
aW5zcGVjdG9yIgogICAgICAgICAgICAgICAgICAgICAgICAgciJ8TGF5b3V0VGVzdHMvaHR0cC90
ZXN0cy93ZWJzb2NrZXQvdGVzdHMvaHliaS9pbnNwZWN0b3IiLAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>