<?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>148127</bug_id>
          
          <creation_ts>2015-08-18 04:48:46 -0700</creation_ts>
          <short_desc>[CMake] REGRESSION(r188540): WebKitTestRunner is not longer built and all the tests (layout and perf) fail.</short_desc>
          <delta_ts>2015-08-18 17:27:36 -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>WebKitGTK</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></keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>calvaris</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>ossy</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1118503</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-08-18 04:48:46 -0700</bug_when>
    <thetext>Since r188540 WebKitTestRunner is not longer built and all the perf and layout tests fail.

$ find WebKitBuild/Release/ -type f -executable
WebKitBuild/Release/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_C.bin
WebKitBuild/Release/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_CXX.bin
WebKitBuild/Release/CMakeFiles/3.0.2/CompilerIdCXX/a.out
WebKitBuild/Release/CMakeFiles/3.0.2/CompilerIdC/a.out
WebKitBuild/Release/bin/WebKitNetworkProcess
WebKitBuild/Release/bin/jsc
WebKitBuild/Release/bin/WebKitDatabaseProcess
WebKitBuild/Release/bin/WebKitPluginProcess
WebKitBuild/Release/bin/WebKitPluginProcess2
WebKitBuild/Release/bin/LLIntOffsetsExtractor
WebKitBuild/Release/bin/WebKitWebProcess
WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18.2.4
WebKitBuild/Release/lib/libwebkit2gtkinjectedbundle.so
WebKitBuild/Release/lib/libgtest.so
WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37.10.0


$ Tools/Scripts/run-webkit-tests --gtk
Using port &apos;gtk-wk2&apos;
Test configuration: &lt;, x86, release&gt;
Placing test results in /home/gardener/WebKit/WebKitBuild/Release/layout-test-results
Baseline search path: gtk -&gt; wk2 -&gt; generic
Using Release build
Pixel tests disabled
Regular timeout: 6000, slow test timeout: 30000
Command line: /home/gardener/WebKit/Tools/jhbuild/jhbuild-wrapper --gtk run /home/gardener/WebKit/WebKitBuild/Release/bin/WebKitTestRunner -

--lint-test-files warnings:
LayoutTests/platform/gtk/TestExpectations:565 Path does not exist. css3/masking/mask-svg-clipped-fragmentId.html
LayoutTests/platform/gtk/TestExpectations:938 Path does not exist. platform/gtk/editing/pasteboard/middle-button-paste.html
LayoutTests/platform/gtk/TestExpectations:1135 Path does not exist. css3/masking/mask-svg-invalid-fragmentId.html
LayoutTests/platform/gtk/TestExpectations:1163 Duplicate or ambiguous entry lines LayoutTests/platform/gtk/TestExpectations:1161 and LayoutTests/platform/gtk/TestExpectations:1163. media/video-controller-child-rate.html
LayoutTests/platform/gtk/TestExpectations:1738 Path does not exist. platform/gtk/accessibility/object-attributes.html
LayoutTests/platform/gtk/TestExpectations:1739 Path does not exist. platform/gtk/accessibility/title-and-alt.html
LayoutTests/platform/gtk/TestExpectations:2358 Path does not exist. fast/forms/input-auto-fill-button.html

Found 39949 tests; running 35578, skipping 4371.
WebKitTestRunner was not found at /home/gardener/WebKit/WebKitBuild/Release/bin/WebKitTestRunner
Build check failed


$ Tools/Scripts/run-perf-tests --platform gtk --release
WebKitTestRunner was not found at /home/gardener/WebKit/WebKitBuild/Release/bin/WebKitTestRunner
Build not up to date for /home/gardener/WebKit/WebKitBuild/Release/bin/WebKitTestRunner



This affects at least the GTK port, and probably also the EFL one (not checked).


The bots seems to be working because a clean build was still not triggered, so they are using the WebKitTestRunner from r188540-- however the perf bot is already crashing for all tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118572</commentid>
    <comment_count>1</comment_count>
      <attachid>259284</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-18 11:41:04 -0700</bug_when>
    <thetext>Created attachment 259284
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118573</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-18 11:41:27 -0700</bug_when>
    <thetext>Woah, my bad.  Does this fix it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118578</commentid>
    <comment_count>3</comment_count>
      <attachid>259285</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-18 11:54:40 -0700</bug_when>
    <thetext>Created attachment 259285
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118589</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-18 12:09:38 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/188589</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118717</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-08-18 17:11:35 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; http://trac.webkit.org/changeset/188589

And this broke the GTK build :(

[12/157] Linking CXX executable bin/WebKitTestRunner
FAILED: : &amp;&amp; /usr/lib/ccache/clang++   -std=c++11 -fcolor-diagnostics -Qunused-arguments -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti  -L/home/clopez/webkit/webkit/WebKitBuild/DependenciesGTK/Root/lib64  -fuse-ld=gold -Wl,--disable-new-dtags @CMakeFiles/WebKitTestRunner.rsp  -o bin/WebKitTestRunner  &amp;&amp; :
Tools/WebKitTestRunner/CMakeFiles/WebKitTestRunner.dir/TestController.cpp.o:/home/clopez/webkit/.ccache/tmp/TestContro.tmp.trinity.14155.ii:function WTR::TestController::ensureViewSupportsOptionsForTest(WTR::TestInvocation const&amp;): error: undefined reference to &apos;WTR::TestController::updatePlatformSpecificViewOptionsForTest(WTR::ViewOptions&amp;, WTR::TestInvocation const&amp;) const&apos;
Tools/WebKitTestRunner/CMakeFiles/WebKitTestRunner.dir/TestController.cpp.o:/home/clopez/webkit/.ccache/tmp/TestContro.tmp.trinity.14155.ii:function WTR::TestController::viewOptionsForTest(WTR::TestInvocation const&amp;) const: error: undefined reference to &apos;WTR::TestController::updatePlatformSpecificViewOptionsForTest(WTR::ViewOptions&amp;, WTR::TestInvocation const&amp;) const&apos;
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Build%29/builds/61366/steps/compile-webkit/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118732</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-08-18 17:27:36 -0700</bug_when>
    <thetext>Ok....

The build error is unrelated to this CMake issue. 

Your last patch fixed the CMake issue that uncovered the build error caused by r188548 that was previously unnoticed

Reported the build error here: https://bugs.webkit.org/show_bug.cgi?id=148154

Closing this</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>259284</attachid>
            <date>2015-08-18 11:41:04 -0700</date>
            <delta_ts>2015-08-18 11:54:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-148127-20150818114101.patch</filename>
            <type>text/plain</type>
            <size>1104</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDE4ODU4
NSkKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDE1LTA4
LTE4ICBBbGV4IENocmlzdGVuc2VuICA8YWNocmlzdGVuc2VuQHdlYmtpdC5vcmc+CisKKyAgICAg
ICAgW0NNYWtlXSBSRUdSRVNTSU9OKHIxODg1NDApOiBXZWJLaXRUZXN0UnVubmVyIGlzIG5vdCBs
b25nZXIgYnVpbHQgYW5kIGFsbCB0aGUgdGVzdHMgKGxheW91dCBhbmQgcGVyZikgZmFpbC4KKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0ODEyNworCisg
ICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogQ01ha2VMaXN0
cy50eHQ6CisgICAgICAgIFRPT0xTX0RJUiBoYXNuJ3QgYmVlbiBzZXQgeWV0IHNpbmNlIGl0cyBk
ZWZpbmluZyBoYXMgYmVlbiBtb3ZlZCB0byBXZWJLaXRGUy4gCisKIDIwMTUtMDgtMTcgIEFsZXgg
Q2hyaXN0ZW5zZW4gIDxhY2hyaXN0ZW5zZW5Ad2Via2l0Lm9yZz4KIAogICAgICAgICBbV2luIENN
YWtlXSBBbGxvdyBXZWJLaXRMaWJyYXJpZXMgZGlyZWN0b3J5IHRvIGJlIHNldCBmcm9tIHRoZSBj
b21tYW5kIGxpbmUKSW5kZXg6IENNYWtlTGlzdHMudHh0Cj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIENNYWtlTGlz
dHMudHh0CShyZXZpc2lvbiAxODg1NTkpCisrKyBDTWFrZUxpc3RzLnR4dAkod29ya2luZyBjb3B5
KQpAQCAtNyw3ICs3LDcgQEAgaWYgKE5PVCBERUZJTkVEIEVOQUJMRV9XRUJLSVQpCiAgICAgc2V0
KEVOQUJMRV9XRUJLSVQgT04pCiBlbmRpZiAoKQogCi1pZiAoTk9UIERFRklORUQgRU5BQkxFX1RP
T0xTIEFORCBFWElTVFMgJHtUT09MU19ESVJ9KQoraWYgKE5PVCBERUZJTkVEIEVOQUJMRV9UT09M
UyBBTkQgRVhJU1RTICR7Q01BS0VfU09VUkNFX0RJUn0vVG9vbHMpCiAgICAgc2V0KEVOQUJMRV9U
T09MUyBPTikKIGVuZGlmICgpCiAK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>259285</attachid>
            <date>2015-08-18 11:54:40 -0700</date>
            <delta_ts>2015-08-18 12:01:58 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-148127-20150818115438.patch</filename>
            <type>text/plain</type>
            <size>1106</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDE4ODU4
NSkKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDE1LTA4
LTE4ICBBbGV4IENocmlzdGVuc2VuICA8YWNocmlzdGVuc2VuQHdlYmtpdC5vcmc+CisKKyAgICAg
ICAgW0NNYWtlXS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RV9ESVJ9L1Rvb2xzIikKICAgICBzZXQoRU5BQkxF
X1RPT0xTIE9OKQogZW5kaWYgKCkKIAo=
</data>
<flag name="review"
          id="284443"
          type_id="1"
          status="+"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>