<?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>90049</bug_id>
          
          <creation_ts>2012-06-26 23:12:56 -0700</creation_ts>
          <short_desc>[Qt] EWS bots should call qmake always</short_desc>
          <delta_ts>2012-12-20 05:46:59 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>dbates</cc>
    
    <cc>hausmann</cc>
    
    <cc>ossy</cc>
    
    <cc>vestbo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>658368</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-26 23:12:56 -0700</bug_when>
    <thetext>When the latest build suceeded and there isn&apos;t new SVN revision, 
buildHint in webkitdirs.pm isn&apos;t &quot;incremental&quot;, but &quot;&quot;. It is
correct behaviour for developer build, but it isn&apos;t for EWS.

Unfortunately it can cause and it causes incremental build problems on the 
EWS bots sometimes. Here is an example: https://bugs.webkit.org/show_bug.cgi?id=89939

I&apos;m going to check how can we make the EWS bots do full incremental build always
(call qmake always to regenerate dependency) to avoid these false positive alarms.

Tor Arne, if you have any idea how to fix it, please share with me. :) Thanks in advance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>658462</commentid>
    <comment_count>1</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2012-06-27 01:53:19 -0700</bug_when>
    <thetext>One option would be to run build-webkit with --makeargs=incremental</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>658481</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-27 02:19:14 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; One option would be to run build-webkit with --makeargs=incremental

Thanks, it is the best option.
We don&apos;t have to modify anything in the build system.

I added the following env to our EWS config:
export BUILD_WEBKIT_ARGS=--makeargs=incremental

Now it works fine. ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795371</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-12-20 05:05:06 -0800</bug_when>
    <thetext>Reopen, because &quot;export BUILD_WEBKIT_ARGS=--makeargs=incremental&quot; wasn&apos;t
a good idea. Because now it causes many false negative red EWS bubbles.

The problem is when a patch changes any configuration which 
triggers &quot;make wipeclean&quot; before anything else. But in this 
case &quot;make incremental wipeclean&quot; is called, which is incorrect,
and makes the build fail because of race condition.

I think we should handle it in webkitdirs.pm and set $needsIncrementalBuild
if CONFIG+=buildbot is used instead of setting this buggy env on the EWS bots.

Patch is coming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795372</commentid>
    <comment_count>4</comment_count>
      <attachid>180324</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-12-20 05:06:26 -0800</bug_when>
    <thetext>Created attachment 180324
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795375</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-12-20 05:08:28 -0800</bug_when>
    <thetext>Here is an example for false negative results - https://bugs.webkit.org/show_bug.cgi?id=104804</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795387</commentid>
    <comment_count>6</comment_count>
      <attachid>180324</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-12-20 05:46:54 -0800</bug_when>
    <thetext>Comment on attachment 180324
Patch

Clearing flags on attachment: 180324

Committed r138246: &lt;http://trac.webkit.org/changeset/138246&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795388</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-12-20 05:46:59 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>180324</attachid>
            <date>2012-12-20 05:06:26 -0800</date>
            <delta_ts>2012-12-20 05:46:54 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-90049-20121220140342.patch</filename>
            <type>text/plain</type>
            <size>1347</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM4MjQzCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggM2JiMDExNmIyMzE2Mjc2OTFkNmY5ZjU4ZWIzZmE1NTkw
MTE1ZDA5MC4uNTE2YTMwMzQ2ZDRhZDNiYzEwMTkwOTE3NDU2MjI3MjliNGFjNzQxNyAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEz
IEBACisyMDEyLTEyLTIwICBDc2FiYSBPc3p0cm9nb27DoWMgIDxvc3N5QHdlYmtpdC5vcmc+CisK
KyAgICAgICAgW1F0XSBFV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