<?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>231101</bug_id>
          
          <creation_ts>2021-10-01 13:56:46 -0700</creation_ts>
          <short_desc>[WinCairo] Support run-jsc-stress-tests without posix commands</short_desc>
          <delta_ts>2021-10-07 14:30:20 -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>WebKit Nightly Build</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="Stephan Szabo">stephan.szabo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>angelos</cc>
    
    <cc>aperez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1799526</commentid>
    <comment_count>0</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-01 13:56:46 -0700</bug_when>
    <thetext>A change was made to collect up the status files that is using &quot;find&quot; which is failing on native windows without posix commands.

Probably will need to add an alternate path using Dir.glob for --ruby-runner (and maybe for playstation as well? Need to check)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1799547</commentid>
    <comment_count>1</comment_count>
      <attachid>439912</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-01 14:25:05 -0700</bug_when>
    <thetext>Created attachment 439912
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800091</commentid>
    <comment_count>2</comment_count>
    <who name="Angelos Oikonomopoulos">angelos</who>
    <bug_when>2021-10-04 09:48:29 -0700</bug_when>
    <thetext>Oops. Patch looks reasonable.

Minor nit: looks like you can avoid repeating Dir.chdir by hoisting it out of the if/else?

Even more minor nit: you can implement a

class StatusFileEnumerator
    def each_line
        Dir.glob(&quot;#{STATUS_FILE_PREFIX}*&quot;).each do |name|
            if File.size(name) &gt; 0
                line = File.open(name).first
                yield &quot;./#{name} #{line}&quot;
            end
        end
    end
end

and then do something like

Dir.chdir($runnerDir) {
    statusFileEnumerator = StatusFileEnumerator.new
    if $testRunnerType != :ruby and $testWriter != &quot;playstation&quot;
        statusFileEnumerator = IO.popen(find_cmd)
    end
    statuFileEnumerator.each_line {
        | line |
        processStatusLine(map, line)
    }
}

but that might be overkill :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800110</commentid>
    <comment_count>3</comment_count>
      <attachid>440073</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-04 10:21:06 -0700</bug_when>
    <thetext>Created attachment 440073
Patch

Updated and I went with the class version, tried it on a tiny test subset on windows native and going to see if EWS is happy (hoping that there&apos;s some bot that will exercise this).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800112</commentid>
    <comment_count>4</comment_count>
    <who name="Angelos Oikonomopoulos">angelos</who>
    <bug_when>2021-10-04 10:25:39 -0700</bug_when>
    <thetext>Yah, the EWS JSC bots for armv7 should take this path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800188</commentid>
    <comment_count>5</comment_count>
      <attachid>440092</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-04 12:59:55 -0700</bug_when>
    <thetext>Created attachment 440092
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800772</commentid>
    <comment_count>6</comment_count>
      <attachid>440092</attachid>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-10-05 14:36:43 -0700</bug_when>
    <thetext>Comment on attachment 440092
Patch

Hello, and thanks for the patch. I think this is going in the right
direction, but I have a couple of suggestions to make it even better.
Please read on below :)

View in context: https://bugs.webkit.org/attachment.cgi?id=440092&amp;action=review

&gt; Tools/Scripts/run-jsc-stress-tests:2334
&gt; +    def each_line

I suppose this function could be just a function; there is no
need to put it inside a class, right?

&gt; Tools/Scripts/run-jsc-stress-tests:2367
&gt; +            statusFileEnumerator.each_line {

I would completely remove the usage of the “find” command and use the
same code that uses Ruby functions to locate and read the result files.
The advantages would be having only one code path to maintain that works
for all ports, and avoiding spawning a bunch of subprocesses here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800777</commentid>
    <comment_count>7</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-05 14:43:40 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #6)
&gt; Comment on attachment 440092 [details]
&gt; Patch
&gt; 
&gt; Hello, and thanks for the patch. I think this is going in the right
&gt; direction, but I have a couple of suggestions to make it even better.
&gt; Please read on below :)
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=440092&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/run-jsc-stress-tests:2334
&gt; &gt; +    def each_line
&gt; 
&gt; I suppose this function could be just a function; there is no
&gt; need to put it inside a class, right?

Hmm, probably. Ruby isn&apos;t high on my list of languages, so I figured that it was suggested as a class to make it look similar to the popen output. If we don&apos;t switch between them per the below, then even the function might not be strictly necessary.
 
&gt; &gt; Tools/Scripts/run-jsc-stress-tests:2367
&gt; &gt; +            statusFileEnumerator.each_line {
&gt; 
&gt; I would completely remove the usage of the “find” command and use the
&gt; same code that uses Ruby functions to locate and read the result files.
&gt; The advantages would be having only one code path to maintain that works
&gt; for all ports, and avoiding spawning a bunch of subprocesses here.

I&apos;d thought about that, but I wasn&apos;t sure how to best manage that with the $remote codepath and was concerned that it might be wanted to keep the same code between the local non-windows and remote case, but I can change either way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800809</commentid>
    <comment_count>8</comment_count>
      <attachid>440282</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-05 15:35:34 -0700</bug_when>
    <thetext>Created attachment 440282
Patch for EWS testing

Checking a version without find on EWS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801123</commentid>
    <comment_count>9</comment_count>
    <who name="Angelos Oikonomopoulos">angelos</who>
    <bug_when>2021-10-06 09:12:21 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #6)
&gt; Comment on attachment 440092 [details]
&gt; Patch
&gt; 
&gt; Hello, and thanks for the patch. I think this is going in the right
&gt; direction, but I have a couple of suggestions to make it even better.
&gt; Please read on below :)

Thanks for taking a look Adrian, IMHO you&apos;re more right than you think :-)

&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=440092&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/run-jsc-stress-tests:2334
&gt; &gt; +    def each_line
&gt; 
&gt; I suppose this function could be just a function; there is no
&gt; need to put it inside a class, right?

The reason I suggested a class is so that it would be interchangeable with the IO object produced by IO.popen(find_cmd). Technically you could wrap /that/ in a function so as to have a common interface. I thought it was more idiomatic that way. Opinions may differ.

&gt; &gt; Tools/Scripts/run-jsc-stress-tests:2367
&gt; &gt; +            statusFileEnumerator.each_line {
&gt; 
&gt; I would completely remove the usage of the “find” command and use the
&gt; same code that uses Ruby functions to locate and read the result files.
&gt; The advantages would be having only one code path to maintain that works
&gt; for all ports, and avoiding spawning a bunch of subprocesses here.

The reason I didn&apos;t suggest that is I introduced find_cmd locally so as to share the local code with the one dealing with remote boxes. This way, changes to this part of the code would automatically apply to the &quot;remote&quot; code as well. I didn&apos;t realize when replying, but this implicitly prioritizes the find-based remote code path over the ruby-based non-posix code path.

However, I think the choice here is clear: the find code should be much slower (because of all those sh invocations), so we should go with the ruby version for the local case (though measuring would be nice at some point).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801226</commentid>
    <comment_count>10</comment_count>
      <attachid>440399</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-06 11:48:58 -0700</bug_when>
    <thetext>Created attachment 440399
Patch version using find on remote and ruby local</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801558</commentid>
    <comment_count>11</comment_count>
    <who name="Angelos Oikonomopoulos">angelos</who>
    <bug_when>2021-10-07 03:04:03 -0700</bug_when>
    <thetext>(In reply to Stephan Szabo from comment #10)
&gt; Created attachment 440399 [details]
&gt; Patch version using find on remote and ruby local

Looks good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801567</commentid>
    <comment_count>12</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-10-07 04:58:28 -0700</bug_when>
    <thetext>(In reply to Angelos Oikonomopoulos from comment #11)
&gt; (In reply to Stephan Szabo from comment #10)
&gt; &gt; Created attachment 440399 [details]
&gt; &gt; Patch version using find on remote and ruby local
&gt; 
&gt; Looks good.

LGTM, but you haven&apos;t set the r? or cq? flags. Do you still
want to change anything in the patch before approving it, or
may I set r+ and cq+ on it?

:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801616</commentid>
    <comment_count>13</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2021-10-07 08:50:16 -0700</bug_when>
    <thetext>Sorry about that, I sometimes wait for EWS to come back before setting r? and kept waiting on the jsc-*-tests results and meant to set it yesterday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801712</commentid>
    <comment_count>14</comment_count>
      <attachid>440399</attachid>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-10-07 12:29:32 -0700</bug_when>
    <thetext>Comment on attachment 440399
Patch version using find on remote and ruby local

Let me know if you need a committer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801714</commentid>
    <comment_count>15</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-10-07 12:30:23 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #14)
&gt; Comment on attachment 440399 [details]
&gt; Patch version using find on remote and ruby local
&gt; 
&gt; Let me know if you need a committer

...to set r+

But then I noticed you are a committer yourself :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801716</commentid>
    <comment_count>16</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-10-07 12:31:21 -0700</bug_when>
    <thetext>(In reply to Stephan Szabo from comment #13)
&gt; Sorry about that, I sometimes wait for EWS to come back before setting r?
&gt; and kept waiting on the jsc-*-tests results and meant to set it yesterday.

No problem at all! Sometimes I also set r? without setting cq? and wait
for the EWS to be green before changing to cq+ even if a reviewer had
approved already the patch.

=)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801789</commentid>
    <comment_count>17</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-10-07 14:29:47 -0700</bug_when>
    <thetext>Committed r283745 (242667@main): &lt;https://commits.webkit.org/242667@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 440399.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801790</commentid>
    <comment_count>18</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-07 14:30:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/83999466&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>439912</attachid>
            <date>2021-10-01 14:25:05 -0700</date>
            <delta_ts>2021-10-04 10:21:06 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>231101.1.diff</filename>
            <type>text/plain</type>
            <size>1922</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2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Y3JpcHRzL3J1bi1qc2Mt
c3RyZXNzLXRlc3RzIGIvVG9vbHMvU2NyaXB0cy9ydW4tanNjLXN0cmVzcy10ZXN0cwppbmRleCBl
MDgxNmRjMDU2MWIuLmFiOGEyOGQ3OWIxMiAxMDA3NTUKLS0tIGEvVG9vbHMvU2NyaXB0cy9ydW4t
anNjLXN0cmVzcy10ZXN0cworKysgYi9Ub29scy9TY3JpcHRzL3J1bi1qc2Mtc3RyZXNzLXRlc3Rz
CkBAIC0yMzQ4LDEyICsyMzQ4LDIzIEBAIGRlZiBnZXRTdGF0dXNNYXAobWFwPXt9KQogICAgICAg
ICAgICAgfQogICAgICAgICB9CiAgICAgZWxzZQotICAgICAgICBEaXIuY2hkaXIoJHJ1bm5lckRp
cikgewotICAgICAgICAgICAgSU8ucG9wZW4oZmluZF9jbWQpLmVhY2hfbGluZSB7Ci0gICAgICAg
ICAgICAgICAgfCBsaW5lIHwKLSAgICAgICAgICAgICAgICBwcm9jZXNzU3RhdHVzTGluZShtYXAs
IGxpbmUpCisgICAgICAgIGlmICR0ZXN0UnVubmVyVHlwZSA9PSA6cnVieSBvciAkdGVzdFdyaXRl
ciA9PSAicGxheXN0YXRpb24iCisgICAgICAgICAgICBEaXIuY2hkaXIoJHJ1bm5lckRpcikgewor
ICAgICAgICAgICAgICAgIERpci5nbG9iKCIje1NUQVRVU19GSUxFX1BSRUZJWH0qIikuZWFjaCBk
byB8bmFtZXwKKyAgICAgICAgICAgICAgICAgICAgaWYgRmlsZS5zaXplKG5hbWUpID4gMAorICAg
ICAgICAgICAgICAgICAgICAgICAgbGluZSA9IEZpbGUub3BlbihuYW1lKS5maXJzdAorICAgICAg
ICAgICAgICAgICAgICAgICAgcHJvY2Vzc1N0YXR1c0xpbmUobWFwLCAiLi8je25hbWV9ICN7bGlu
ZX0iKQorICAgICAgICAgICAgICAgICAgICBlbmQKKyAgICAgICAgICAgICAgICBlbmQKICAgICAg
ICAgICAgIH0KLSAgICAgICAgfQorICAgICAgICBlbHNlCisgICAgICAgICAgICBEaXIuY2hkaXIo
JHJ1bm5lckRpcikgeworICAgICAgICAgICAgICAgIElPLnBvcGVuKGZpbmRfY21kKS5lYWNoX2xp
bmUgeworICAgICAgICAgICAgICAgICAgICB8IGxpbmUgfAorICAgICAgICAgICAgICAgICAgICBw
cm9jZXNzU3RhdHVzTGluZShtYXAsIGxpbmUpCisgICAgICAgICAgICAgICAgfQorICAgICAgICAg
ICAgfQorICAgICAgICBlbmQKICAgICBlbmQKICAgICBtYXAKIGVuZAo=
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>440073</attachid>
            <date>2021-10-04 10:21:06 -0700</date>
            <delta_ts>2021-10-04 12:59:55 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>231101.2.diff</filename>
            <type>text/plain</type>
            <size>2041</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCBmMmY0
MjYyM2I4NWIuLmE4NmM0NTJhM2FmNCAxMDA2NDQKLS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBi
L1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDIxLTEwLTAxICBTdGVwaGFuIFN6
YWJvICA8c3RlcGhhbi5zemFib0Bzb255LmNvbT4KKworICAgICAgICBbV2luQ2Fpcm9dIFN1cHBv
cnQgcnVuLWpzYy1zdHJlc3MtdGVzdHMgd2l0aG91dCBwb3NpeCBjb21tYW5kcworICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjMxMTAxCisKKyAgICAgICAg
UmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgQWRkIHN1cHBvcnQgZm9yIGNv
bGxlY3RpbmcgdGhlIHRlc3Q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AgaWYgRmlsZS5zaXplKG5hbWUpID4gMAorICAgICAgICAgICAg
ICAgIGxpbmUgPSBGaWxlLm9wZW4obmFtZSkuZmlyc3QKKyAgICAgICAgICAgICAgICB5aWVsZCAi
Li8je25hbWV9ICN7bGluZX0iCisgICAgICAgICAgICBlbmQKKyAgICAgICAgZW5kCisgICAgZW5k
CitlbmQKKwogZGVmIGdldFN0YXR1c01hcChtYXA9e30pCiAgICAgZmluZF9jbWQgPSAiZmluZCAu
IC1tYXhkZXB0aCAxIC1uYW1lIFwiI3tTVEFUVVNfRklMRV9QUkVGSVh9KlwiIC1hIC1zaXplICsw
YyAtZXhlYyBzaCAtYyBcInByaW50ZiBcXFwiJXMgXFxcIiB7fTsgY2F0IHt9XCIgXFw7IgogICAg
IGlmICRyZW1vdGUKQEAgLTIzNDksNyArMjM2MCwxMSBAQCBkZWYgZ2V0U3RhdHVzTWFwKG1hcD17
fSkKICAgICAgICAgfQogICAgIGVsc2UKICAgICAgICAgRGlyLmNoZGlyKCRydW5uZXJEaXIpIHsK
LSAgICAgICAgICAgIElPLnBvcGVuKGZpbmRfY21kKS5lYWNoX2xpbmUgeworICAgICAgICAgICAg
c3RhdHVzRmlsZUVudW1lcmF0b3IgPSBTdGF0dXNGaWxlRW51bWVyYXRvci5uZXcKKyAgICAgICAg
ICAgIGlmICR0ZXN0UnVubmVyVHlwZSAhPSA6cnVieSBhbmQgJHRlc3RXcml0ZXIgIT0gInBsYXlz
dGF0aW9uIgorICAgICAgICAgICAgICAgIHN0YXR1c0ZpbGVFbnVtZXJhdG9yID0gSU8ucG9wZW4o
ZmluZF9jbWQpCisgICAgICAgICAgICBlbmQKKyAgICAgICAgICAgIHN0YXR1c0ZpbGVFbnVtZXJh
dG9yLmVhY2hfbGluZSB7CiAgICAgICAgICAgICAgICAgfCBsaW5lIHwKICAgICAgICAgICAgICAg
ICBwcm9jZXNzU3RhdHVzTGluZShtYXAsIGxpbmUpCiAgICAgICAgICAgICB9Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>440092</attachid>
            <date>2021-10-04 12:59:55 -0700</date>
            <delta_ts>2021-10-05 14:36:43 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>231101.2.diff</filename>
            <type>text/plain</type>
            <size>2041</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCBmMmY0
MjYyM2I4NWIuLmE4NmM0NTJhM2FmNCAxMDA2NDQKLS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBi
L1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDIxLTEwLTAxICBTdGVwaGFuIFN6
YWJvICA8c3RlcGhhbi5zemFib0Bzb255LmNvbT4KKworICAgICAgICBbV2luQ2Fpcm9dIFN1cHBv
cnQgcnVuLWpzYy1zdHJlc3MtdGVzdHMgd2l0aG91dCBwb3NpeCBjb21tYW5kcworICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjMxMTAxCisKKyAgICAgICAg
UmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgQWRkIHN1cHBvcnQgZm9yIGNv
bGxlY3RpbmcgdGhlIHRlc3QgcmVzdWx0IGZpbGVzIHdoZW4gbm90IG9uCisgICAgICAgIGEgcG9z
aXggaG9zdCBwbGF0Zm9ybSBieSByb3VnaGx5IGVtdWxhdGluZyB0aGUgZmluZCBjb21tYW5kCisg
ICAgICAgIGN1cnJlbnQgdXNlZCBpbiBydWJ5IGNvZGUgd2hlbiB1c2luZyB0aGUgcnVieS1ydW5u
ZXIgb3IKKyAgICAgICAgZm9yIHBsYXlzdGF0aW9uLgorCisgICAgICAgICogU2NyaXB0cy9ydW4t
anNjLXN0cmVzcy10ZXN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UVVNfRklMRV9QUkVGSVh9KlwiIC1hIC1zaXplICsw
YyAtZXhlYyBzaCAtYyBcInByaW50ZiBcXFwiJXMgXFxcIiB7fTsgY2F0IHt9XCIgXFw7IgogICAg
IGlmICRyZW1vdGUKQEAgLTIzNDksNyArMjM2MCwxMSBAQCBkZWYgZ2V0U3RhdHVzTWFwKG1hcD17
fSkKICAgICAgICAgfQogICAgIGVsc2UKICAgICAgICAgRGlyLmNoZGlyKCRydW5uZXJEaXIpIHsK
LSAgICAgICAgICAgIElPLnBvcGVuKGZpbmRfY21kKS5lYWNoX2xpbmUgeworICAgICAgICAgICAg
c3RhdHVzRmlsZUVudW1lcmF0b3IgPSBTdGF0dXNGaWxlRW51bWVyYXRvci5uZXcKKyAgICAgICAg
ICAgIGlmICR0ZXN0UnVubmVyVHlwZSAhPSA6cnVieSBhbmQgJHRlc3RXcml0ZXIgIT0gInBsYXlz
dGF0aW9uIgorICAgICAgICAgICAgICAgIHN0YXR1c0ZpbGVFbnVtZXJhdG9yID0gSU8ucG9wZW4o
ZmluZF9jbWQpCisgICAgICAgICAgICBlbmQKKyAgICAgICAgICAgIHN0YXR1c0ZpbGVFbnVtZXJh
dG9yLmVhY2hfbGluZSB7CiAgICAgICAgICAgICAgICAgfCBsaW5lIHwKICAgICAgICAgICAgICAg
ICBwcm9jZXNzU3RhdHVzTGluZShtYXAsIGxpbmUpCiAgICAgICAgICAgICB9Cg==
</data>
<flag name="review"
          id="463918"
          type_id="1"
          status="-"
          setter="aperez"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>440282</attachid>
            <date>2021-10-05 15:35:34 -0700</date>
            <delta_ts>2021-10-05 15:35:34 -0700</delta_ts>
            <desc>Patch for EWS testing</desc>
            <filename>231101.3.diff</filename>
            <type>text/plain</type>
            <size>2767</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5n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NzU3RhdHVz
TGluZShtYXAsIGxpbmUpCi0gICAgICAgICAgICB9CisgICAgICAgICAgICBEaXIuZ2xvYigiI3tT
VEFUVVNfRklMRV9QUkVGSVh9KiIpLmVhY2ggZG8gfG5hbWV8CisgICAgICAgICAgICAgICAgaWYg
RmlsZS5zaXplKG5hbWUpID4gMAorICAgICAgICAgICAgICAgICAgICBsaW5lID0gRmlsZS5vcGVu
KG5hbWUpLmZpcnN0CisgICAgICAgICAgICAgICAgICAgIHByb2Nlc3NTdGF0dXNMaW5lKG1hcCwg
Ii4vI3tuYW1lfSAje2xpbmV9IikKKyAgICAgICAgICAgICAgICBlbmQKKyAgICAgICAgICAgIGVu
ZAogICAgICAgICB9CiAgICAgZW5kCiAgICAgbWFwCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>440399</attachid>
            <date>2021-10-06 11:48:58 -0700</date>
            <delta_ts>2021-10-07 14:29:48 -0700</delta_ts>
            <desc>Patch version using find on remote and ruby local</desc>
            <filename>231101.4.diff</filename>
            <type>text/plain</type>
            <size>1546</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCBmMmY0
MjYyM2I4NWIuLmE4NmM0NTJhM2FmNCAxMDA2NDQKLS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBi
L1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDIxLTEwLTAxICBTdGVwaGFuIFN6
YWJvICA8c3RlcGhhbi5zemFib0Bzb255LmNvbT4KKworICAgICAgICBbV2luQ2Fpcm9dIFN1cHBv
cnQgcnVuLWpzYy1zdHJlc3MtdGVzdHMgd2l0aG91dCBwb3NpeCBjb21tYW5kcworICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ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J1bm5lckRpcikgewotICAgICAgICAg
ICAgSU8ucG9wZW4oZmluZF9jbWQpLmVhY2hfbGluZSB7Ci0gICAgICAgICAgICAgICAgfCBsaW5l
IHwKLSAgICAgICAgICAgICAgICBwcm9jZXNzU3RhdHVzTGluZShtYXAsIGxpbmUpCi0gICAgICAg
ICAgICB9CisgICAgICAgICAgICBEaXIuZ2xvYigiI3tTVEFUVVNfRklMRV9QUkVGSVh9KiIpLmVh
Y2ggZG8gfG5hbWV8CisgICAgICAgICAgICAgICAgaWYgRmlsZS5zaXplKG5hbWUpID4gMAorICAg
ICAgICAgICAgICAgICAgICBsaW5lID0gRmlsZS5vcGVuKG5hbWUpLmZpcnN0CisgICAgICAgICAg
ICAgICAgICAgIHByb2Nlc3NTdGF0dXNMaW5lKG1hcCwgIi4vI3tuYW1lfSAje2xpbmV9IikKKyAg
ICAgICAgICAgICAgICBlbmQKKyAgICAgICAgICAgIGVuZAogICAgICAgICB9CiAgICAgZW5kCiAg
ICAgbWFwCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>