<?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>93434</bug_id>
          
          <creation_ts>2012-08-07 22:17:27 -0700</creation_ts>
          <short_desc>[NRWT] REGRESSION(r124967): New tests without expected results handled as failures</short_desc>
          <delta_ts>2012-08-07 23:27:16 -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>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>NRWT</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>88702</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>689879</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 22:17:27 -0700</bug_when>
    <thetext>Before r124967 new tests without expected files were handled as new tests,
not as failures. Which means only orange buildbot, not red buildbot. But
after r124967, new tests make the bot red, which is not the expected behaviour.

Let&apos;s see the NRWT&apos;s output:

before r124967:
----------------
Unexpected flakiness: text diff mismatch (4)
  fast/forms/range/slider-mouse-events.html = TEXT PASS
  fast/forms/range/slider-onchange-event.html = TEXT PASS
  http/tests/security/contentSecurityPolicy/object-src-url-allowed.html = TEXT PASS
  http/tests/security/cross-frame-access-put.html = TEXT PASS


Regressions: Unexpected no expected results found : (2)
  fast/table/table-row-outline-paint.html = MISSING
  svg/as-image/animated-svg-repaints-completely-in-hidpi.html = MISSING


and the buildbot reports:  4 flakes 2 missing results 

after r124967:
---------------
Unexpected flakiness: text failures (4)
  fast/forms/range/slider-mouse-events.html = TEXT PASS
  fast/forms/range/slider-onchange-event.html = TEXT PASS
  http/tests/security/contentSecurityPolicy/object-src-url-allowed.html = TEXT PASS
  http/tests/security/cross-frame-access-put.html = TEXT PASS


Regressions: Unexpected missing results : (2)
  fast/table/table-row-outline-paint.html = MISSING
  svg/as-image/animated-svg-repaints-completely-in-hidpi.html = MISSING


and the buildbot reports:  2 failures 4 flakes


It seems it is a similar bug as https://bugs.webkit.org/show_bug.cgi?id=93346</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689881</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 22:20:11 -0700</bug_when>
    <thetext>Yes, it is so similar bug ...
The new &quot;Regressions: Unexpected missing results&quot; match for the regexp of failures ..


Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
-----------------------------------------------------------
...

    def _parseNewRunWebKitTestsOutput(self, logText):
        incorrectLayoutLines = []
        expressions = [
            (&apos;flakes&apos;, re.compile(r&apos;Unexpected flakiness.+:?\s*\((\d+)\)&apos;)),
            (&apos;new passes&apos;, re.compile(r&apos;Expected to .+, but passed:\s+\((\d+)\)&apos;)),
            (&apos;missing results&apos;, re.compile(r&apos;no expected results found\s*:\s+\((\d+)\)&apos;)),
            (&apos;failures&apos;, re.compile(r&apos;Regressions: Unexpected.+:?\s*\((\d+)\)&apos;)),
        ]
        testFailures = {}
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689893</commentid>
    <comment_count>2</comment_count>
      <attachid>157115</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 22:29:05 -0700</bug_when>
    <thetext>Created attachment 157115
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689897</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 22:31:46 -0700</bug_when>
    <thetext>If we really want to change the output of NRWT, please make it sync with master.cfg changes. And please contact with Lucas and/or Bill to restart
the master after the change to ensure correct behaviour.

And please ping me, because I have to make similar changes in master.cfg
of build.webkit.sed.hu. (Maybe you have to make similar changes in
master.cfg of build.chromium.org too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689903</commentid>
    <comment_count>4</comment_count>
      <attachid>157115</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 22:35:00 -0700</bug_when>
    <thetext>Comment on attachment 157115
Patch

Clearing flags on attachment: 157115

Committed r124988: &lt;http://trac.webkit.org/changeset/124988&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689904</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 22:35:07 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689912</commentid>
    <comment_count>6</comment_count>
      <attachid>157115</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-07 22:40:49 -0700</bug_when>
    <thetext>Comment on attachment 157115
Patch

Sorry! (again).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689914</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-07 22:42:20 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (From update of attachment 157115 [details])
&gt; Sorry! (again).

To be clear(er), it was not actually my intention to change the output that the bot would be seeing :(. I did not mean to break the parser (or require changes to the parser).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689962</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-08-07 23:27:16 -0700</bug_when>
    <thetext>not problem ;)

I didn&apos;t notice that the order of two messages changed
(printed for each test, printed at the end), so my fix
wasn&apos;t correct. I fixed it - https://trac.webkit.org/changeset/124994</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>157115</attachid>
            <date>2012-08-07 22:29:05 -0700</date>
            <delta_ts>2012-08-07 22:40:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-93434-20120808072839.patch</filename>
            <type>text/plain</type>
            <size>1830</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI0OTg3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggM2YzOGJkYTM0YzcwNGQyZDI3MDg3NjYxYzE2ZTgyODRh
NDFiZWRiOC4uNzA2NmI3NmY4NWJkOTQ4NGE4MzZlNTY1M2Q4MGRlNWQwNDg2NDRjYyAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE3
IEBACiAyMDEyLTA4LTA3ICBDc2FiYSBPc3p0cm9nb27DoWMgIDxvc3N5QHdlYmtpdC5vcmc+CiAK
KyAgICAgICAgW05SV1RdIFJFR1JFU1NJT04ocjEyNDk2Nyk6IE5ldyB0ZXN0cyB3aXRob3V0IGV4
cGVjdGVkIHJlc3VsdHMgaGFuZGxlZCBhcyBmYWlsdXJlcworICAgICAgICBodHRwczovL2J1Z3Mu
d2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9OTM0MzQKKworICAgICAgICBSZXZpZXdlZCBieSBO
T0J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Y5
OSw3IEBAIGNsYXNzIFRlc3RFeHBlY3RhdGlvbnMob2JqZWN0KToKICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgQVVESU86ICgnYXVkaW8gZmFpbHVyZXMnLCAnZmFpbGVkJywgJyAoYXVk
aW8gZGlmZiknKSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ1JBU0g6ICgnY3Jh
c2hlcycsICdjcmFzaGVkJywgJycpLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBU
SU1FT1VUOiAoJ3RpbWVvdXRzJywgJ3RpbWVkIG91dCcsICcnKSwKLSAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgTUlTU0lORzogKCdtaXNzaW5nIHJlc3VsdHMnLCAnaXMgbWlzc2luZyBh
biBleHBlY3RlZCByZXN1bHQnLCAnJyl9CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IE1JU1NJTkc6ICgnbm8gZXhwZWN0ZWQgcmVzdWx0IGZvdW5kJywgJ25vIGV4cGVjdGVkIHJlc3Vs
dHMgZm91bmQnLCAnJyl9CiAKICAgICBFWFBFQ1RBVElPTl9PUkRFUiA9IChQQVNTLCBDUkFTSCwg
VElNRU9VVCwgTUlTU0lORywgSU1BR0VfUExVU19URVhULCBURVhULCBJTUFHRSwgQVVESU8sIFNL
SVApCiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>