<?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>133297</bug_id>
          
          <creation_ts>2014-05-26 21:38:32 -0700</creation_ts>
          <short_desc>Fix test failures on python test</short_desc>
          <delta_ts>2014-05-26 23:47:35 -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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gyuyoung Kim">gyuyoung.kim</reporter>
          <assigned_to name="Gyuyoung Kim">gyuyoung.kim</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>glenn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1011879</commentid>
    <comment_count>0</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-05-26 21:38:32 -0700</bug_when>
    <thetext>There are 2 fails on python test because of unbounded local variable reference as below,


[1214/1422] webkitpy.w3c.test_importer_unittest.TestImporterTest.test_import_dir_with_no_tests_and_no_hg erred:
  Traceback (most recent call last):
    File &quot;/home/buildbot/efl-linux-slave-1/efl-linux-64-release-wk1/build/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py&quot;, line 62, in test_import_dir_with_no_tests_and_no_hg
      importer.do_import()
    File &quot;/home/buildbot/efl-linux-slave-1/efl-linux-64-release-wk1/build/Tools/Scripts/webkitpy/w3c/test_importer.py&quot;, line 197, in do_import
      self.import_tests()
    File &quot;/home/buildbot/efl-linux-slave-1/efl-linux-64-release-wk1/build/Tools/Scripts/webkitpy/w3c/test_importer.py&quot;, line 377, in import_tests
      if len(failed_conversion_files):
  UnboundLocalError: local variable &apos;failed_conversion_files&apos; referenced before assignment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1011880</commentid>
    <comment_count>1</comment_count>
      <attachid>232109</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-05-26 21:41:11 -0700</bug_when>
    <thetext>Created attachment 232109
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1011885</commentid>
    <comment_count>2</comment_count>
      <attachid>232109</attachid>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-05-26 22:36:33 -0700</bug_when>
    <thetext>Comment on attachment 232109
Patch

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

&gt; Tools/ChangeLog:8
&gt; +        2 tests are failed because of unbounded local variable reference in test_importer.py.

s/failed/failing/ or the other way around and remove &quot;are&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1011886</commentid>
    <comment_count>3</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-05-26 22:39:11 -0700</bug_when>
    <thetext>Committed r169369: &lt;http://trac.webkit.org/changeset/169369&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1011887</commentid>
    <comment_count>4</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-05-26 22:39:54 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 232109 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=232109&amp;action=review
&gt; 
&gt; &gt; Tools/ChangeLog:8
&gt; &gt; +        2 tests are failed because of unbounded local variable reference in test_importer.py.
&gt; 
&gt; s/failed/failing/ or the other way around and remove &quot;are&quot;.

Patch is landed after fixing it. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1011895</commentid>
    <comment_count>5</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-05-26 23:47:35 -0700</bug_when>
    <thetext>For the record, this problem came from http://trac.webkit.org/changeset/169347.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>232109</attachid>
            <date>2014-05-26 21:41:11 -0700</date>
            <delta_ts>2014-05-26 22:36:32 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-133297-20140527134047.patch</filename>
            <type>text/plain</type>
            <size>1723</size>
            <attacher name="Gyuyoung Kim">gyuyoung.kim</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTY5MzY1CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNTE2ZjdmNzQyNGY3ZTIwMjAwNDdhNTJhZTZiOGJkOWNi
MTA5YjBlOS4uYTM2NjY4OTE0YTJhNGM2YTBkMWJkNWM4NjVmMGEwOGMxYjdjMzg1YiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1
IEBACisyMDE0LTA1LTI2ICBHeXV5b3VuZyBLaW0gIDxneXV5b3VuZy5raW1Ac2Ftc3VuZy5jb20+
CisKKyAgICAgICAgRml4IHRlc3QgZmFpbHVyZXMgb24gcHl0aG9uIHRlc3QKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEzMzI5NworCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIDIgdGVzdHMgYXJlIGZhaWxlZCBi
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cyA9IFtd
CisKICAgICAgICAgZm9yIGRpcl90b19jb3B5IGluIHNlbGYuaW1wb3J0X2xpc3Q6CiAgICAgICAg
ICAgICB0b3RhbF9pbXBvcnRlZF90ZXN0cyArPSBkaXJfdG9fY29weVsndG90YWxfdGVzdHMnXQog
ICAgICAgICAgICAgdG90YWxfaW1wb3J0ZWRfcmVmdGVzdHMgKz0gZGlyX3RvX2NvcHlbJ3JlZnRl
c3RzJ10KQEAgLTMxMCw3ICszMTIsNiBAQCBjbGFzcyBUZXN0SW1wb3J0ZXIob2JqZWN0KToKICAg
ICAgICAgICAgICAgICBvcy5tYWtlZGlycyhuZXdfcGF0aCkKIAogICAgICAgICAgICAgY29waWVk
X2ZpbGVzID0gW10KLSAgICAgICAgICAgIGZhaWxlZF9jb252ZXJzaW9uX2ZpbGVzID0gW10KIAog
ICAgICAgICAgICAgZm9yIGZpbGVfdG9fY29weSBpbiBkaXJfdG9fY29weVsnY29weV9saXN0J106
CiAgICAgICAgICAgICAgICAgIyBGSVhNRTogU3BsaXQgdGhpcyBibG9jayBpbnRvIGEgc2VwYXJh
dGUgZnVuY3Rpb24uCg==
</data>
<flag name="review"
          id="256587"
          type_id="1"
          status="+"
          setter="krit"
    />
          </attachment>
      

    </bug>

</bugzilla>