<?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>86800</bug_id>
          
          <creation_ts>2012-05-17 19:52:37 -0700</creation_ts>
          <short_desc>[NRWT] REGRESSION(r116021): Assertion when running with --no-http</short_desc>
          <delta_ts>2012-05-24 15:03:55 -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>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>64491</blocked>
    
    <blocked>78628</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Raphael Kubo da Costa (:rakuco)">rakuco</reporter>
          <assigned_to name="Thiago Marcos P. Santos">tmpsantos</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>tmpsantos</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>627251</commentid>
    <comment_count>0</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-05-17 19:52:37 -0700</bug_when>
    <thetext>When running `./Tools/Scripts/run-webkit-tests --efl --debug --no-http&apos; I hit the following assertion:

Traceback (most recent call last):
  File &quot;/home/rakuco/dev/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 457, in &lt;module&gt;
    sys.exit(main())
  File &quot;/home/rakuco/dev/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 452, in main
    return run(port, options, args)
  File &quot;/home/rakuco/dev/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 125, in run
    unexpected_result_count = manager.run()
  File &quot;/home/rakuco/dev/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 906, in run
    interrupted, keyboard_interrupted, thread_timings, test_timings, individual_test_timings = self._run_tests(self._test_files_list, result_summary, int(self._options.child_processes))
  File &quot;/home/rakuco/dev/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 756, in _run_tests
    self.start_servers_with_lock()
  File &quot;/home/rakuco/dev/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 955, in start_servers_with_lock
    assert(self._options.http)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>627256</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-05-17 19:55:13 -0700</bug_when>
    <thetext>Looks like this is caused by including perf tests in the &quot;locked&quot; shard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>627259</commentid>
    <comment_count>2</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-05-17 19:55:58 -0700</bug_when>
    <thetext>Added in &lt;http://trac.webkit.org/changeset/116021&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631683</commentid>
    <comment_count>3</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-05-23 08:22:55 -0700</bug_when>
    <thetext>*** Bug 87267 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631759</commentid>
    <comment_count>4</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-05-23 10:15:32 -0700</bug_when>
    <thetext>We should roll out if no one is going to get a chance to investigate this soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631960</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-05-23 13:18:03 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; We should roll out if no one is going to get a chance to investigate this soon.

I&apos;ll fix this later today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632581</commentid>
    <comment_count>6</comment_count>
      <attachid>143777</attachid>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2012-05-24 03:29:04 -0700</bug_when>
    <thetext>Created attachment 143777
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632835</commentid>
    <comment_count>7</comment_count>
      <attachid>143777</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-05-24 08:39:08 -0700</bug_when>
    <thetext>Comment on attachment 143777
Patch

Can we write a test that will catch this problem in the future?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633034</commentid>
    <comment_count>8</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-05-24 12:04:38 -0700</bug_when>
    <thetext>This patch looks fine, but I think it might actually be better to revert the change that added the perf tests to the locked shards, since that didn&apos;t actually do what Tony thought it did, and I&apos;m not sure if it had the intended effect. Tony, WDYT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633216</commentid>
    <comment_count>9</comment_count>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2012-05-24 14:22:11 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; This patch looks fine, but I think it might actually be better to revert the change that added the perf tests to the locked shards, since that didn&apos;t actually do what Tony thought it did, and I&apos;m not sure if it had the intended effect. Tony, WDYT?

I was the one who wrote the original patch moving perf to locked shards. For the EFL Debug bot at least, it solved the flakiness issue.

And yes, I can write utests for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633225</commentid>
    <comment_count>10</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-05-24 14:28:27 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; This patch looks fine, but I think it might actually be better to revert the change that added the perf tests to the locked shards, since that didn&apos;t actually do what Tony thought it did, and I&apos;m not sure if it had the intended effect. Tony, WDYT?

Either is fine with me.  It sounds like there were benefits of this patch for tmpsantos, so I don&apos;t mind keeping it.  It still ensures that we don&apos;t mix http tests with perf tests, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633233</commentid>
    <comment_count>11</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-05-24 14:33:11 -0700</bug_when>
    <thetext>Oh, sorry, I thought Tony did the original patch.

At any rate, the change looks fine so I&apos;ll r+ it and if it&apos;s valuable to you feel free to land it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633245</commentid>
    <comment_count>12</comment_count>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2012-05-24 14:38:18 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Oh, sorry, I thought Tony did the original patch.
&gt; 
&gt; At any rate, the change looks fine so I&apos;ll r+ it and if it&apos;s valuable to you feel free to land it.

I might need someone with cq+ superpowers then. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633280</commentid>
    <comment_count>13</comment_count>
      <attachid>143777</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-24 15:03:48 -0700</bug_when>
    <thetext>Comment on attachment 143777
Patch

Clearing flags on attachment: 143777

Committed r118421: &lt;http://trac.webkit.org/changeset/118421&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633281</commentid>
    <comment_count>14</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-24 15:03:55 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>143777</attachid>
            <date>2012-05-24 03:29:04 -0700</date>
            <delta_ts>2012-05-24 15:03:47 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-86800-20120524133025.patch</filename>
            <type>text/plain</type>
            <size>1555</size>
            <attacher name="Thiago Marcos P. Santos">tmpsantos</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTE4MTY0CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZmUyOTM0NGNiYjNlMzVkNTc2MDAwZTliMGY2NGE1Yjc0
Y2JkMmRkOC4uMjllN2E2M2I4N2VmZjJlMWQwYzM1NDE4MDE1YzlkZjI4Y2Y0ZTIxYiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2
IEBACisyMDEyLTA1LTI0ICBUaGlhZ28gTWFyY29zIFAuIFNhbnRvcyAgPHRoaWFnby5zYW50b3NA
aW50ZWwuY29tPgorCisgICAgICAgIFtOUldUXSBSRUdSRVNTSU9OKHIxMTYwMjEpOiBBc3NlcnRp
b24gd2hlbiBydW5uaW5nIHdpdGggLS1uby1odHRwCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD04NjgwMAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9E
WSAoT09QUyEpLgorCisgICAgICAgIERvbid0IGxhdW5jaCBhIEhUVFAgc2VydmVyIHdpdGggbG9j
ayBiYXNlZCBvbmx5IG9uIHRoZSBleGlzdGVuY2Ugb2YKKyAgICAgICAgbG9ja2VkIHNoYXJkcyBz
aW5jZSB3ZSBub3cgcnVuIHBlcmYgb24gbG9ja2VkIHNoYXJkcyB0b28uCisK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