Bug 105417 - [Qt][WK2] svg/text/select-* tests are so flakey
Summary: [Qt][WK2] svg/text/select-* tests are so flakey
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2012-12-19 04:53 PST by Csaba Osztrogonác
Modified: 2014-02-03 03:24 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2012-12-19 04:53:57 PST
The following tests fail regularly on the Qt-WK2 bots:
- svg/text/select-textLength-spacing-stretch-1.svg
- svg/text/select-x-list-with-tspans-1.svg
- svg/text/select-x-list-1.svg

--- /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacing-stretch-1-expected.txt
+++ /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacing-stretch-1-actual.txt
@@ -1,11 +1,14 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (47,0) size 728x65
-    RenderSVGContainer {g} at (47,4) size 188x58
+  RenderSVGRoot {svg} at (0,0) size 775x93
+    RenderSVGContainer {g} at (0,4) size 330x89
       RenderSVGPath {svg:line} at (47,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
       RenderSVGPath {svg:line} at (229,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=46.36] [y1=0.80] [x2=46.36] [y2=12.40]
       RenderSVGRect {svg:rect} at (50,4) size 182x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=36.36] [height=11.40]
+      RenderSVGText {svg:text} at (0,27) size 132x10 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 132x10
+          chunk 1 text run 1 at (0.00,35.00) startOffset 0 endOffset 44 width 131.20: "Expected 'Text' to be selected, got: 'Text '"
     RenderSVGText {text} at (10,0) size 145x12 contains 1 chunk(s)
       RenderSVGInlineText {#text} at (0,0) size 145x12
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
@@ -24,4 +27,4 @@
         chunk 1 text run 14 at (138.09,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (148.75,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
-selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
+selection end:   position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document


--- /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/svg/text/select-x-list-with-tspans-1-expected.txt
+++ /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/svg/text/select-x-list-with-tspans-1-actual.txt
@@ -1,11 +1,14 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (47,0) size 383x65
-    RenderSVGContainer {g} at (47,4) size 193x58
+  RenderSVGRoot {svg} at (0,0) size 430x93
+    RenderSVGContainer {g} at (0,4) size 390x89
       RenderSVGPath {svg:line} at (47,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
       RenderSVGPath {svg:line} at (234,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=47.40] [y1=0.80] [x2=47.40] [y2=12.40]
       RenderSVGRect {svg:rect} at (50,4) size 187x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=37.40] [height=11.40]
+      RenderSVGText {svg:text} at (0,27) size 156x10 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 156x10
+          chunk 1 text run 1 at (0.00,35.00) startOffset 0 endOffset 53 width 155.20: "Expected 'This' to be selected, got: 'This is a test'"
     RenderSVGText {text} at (10,0) size 76x12 contains 1 chunk(s)
       RenderSVGInlineText {#text} at (0,0) size 16x12
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
@@ -27,4 +30,4 @@
       RenderSVGInlineText {#text} at (61,0) size 14x12
         chunk 1 text run 1 at (71.60,10.00) startOffset 0 endOffset 3 width 13.40: "est"
 selection start: position 0 of child 0 {#text} of child 7 {text} of child 0 {svg} of document
-selection end:   position 1 of child 0 {#text} of child 2 {tspan} of child 7 {text} of child 0 {svg} of document
+selection end:   position 3 of child 6 {#text} of child 7 {text} of child 0 {svg} of document


--- /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/svg/text/select-x-list-1-expected.txt
+++ /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/svg/text/select-x-list-1-actual.txt
@@ -1,15 +1,18 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (47,0) size 378x65
-    RenderSVGContainer {g} at (47,4) size 193x58
+  RenderSVGRoot {svg} at (0,0) size 425x93
+    RenderSVGContainer {g} at (0,4) size 330x89
       RenderSVGPath {svg:line} at (47,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
       RenderSVGPath {svg:line} at (234,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=47.40] [y1=0.80] [x2=47.40] [y2=12.40]
       RenderSVGRect {svg:rect} at (50,4) size 187x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=37.40] [height=11.40]
+      RenderSVGText {svg:text} at (0,27) size 132x10 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 132x10
+          chunk 1 text run 1 at (0.00,35.00) startOffset 0 endOffset 44 width 131.20: "Expected 'This' to be selected, got: 'This '"
     RenderSVGText {text} at (10,0) size 75x12 contains 1 chunk(s)
       RenderSVGInlineText {#text} at (0,0) size 75x12
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
         chunk 1 text run 1 at (20.00,10.00) startOffset 0 endOffset 1 width 5.60: "h"
         chunk 1 text run 1 at (40.00,10.00) startOffset 0 endOffset 12 width 45.00: "is is a test"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
-selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
+selection end:   position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
Comment 1 Csaba Osztrogonác 2012-12-19 05:02:40 PST
I skipped them to try to paint the bots green - https://trac.webkit.org/changeset/138143
Comment 2 Zoltan Arvai 2013-07-09 06:28:45 PDT
Two other test are also pretty flaky in this test group:
- svg/text/select-textLength-spacing-squeeze-3.svg
- svg/text/select-textLength-spacingAndGlyphs-squeeze-1.svg

On the pixelbot that uses nvidia driver these are failing with bad selections:
Expected 'Squ' to be selected, got ' Squeeze'
Expected 'Text' to be selected, got 'Text '
http://build.webkit.sed.hu/results/x86-64%20Linux%20Qt%20Release%20WebKit2%20%28Pixel%20Tests%29/r152491%20%285102%29/results.html

Tests are flaky on WK2 bots used with xvfb:
http://build.webkit.sed.hu/results/x86-32%20Linux%20Qt%20Release%20WebKit2/r152491%20%2836608%29/results.html

--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-actual.txt
@@ -1,13 +1,16 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (47,3) size 253x59
-    RenderSVGContainer {g} at (47,4) size 72x58
+  RenderSVGRoot {svg} at (0,3) size 329x90
+    RenderSVGContainer {g} at (0,4) size 329x89
       RenderSVGPath {svg:line} at (47,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
       RenderSVGPath {svg:line} at (113,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=23.29] [y1=0.80] [x2=23.29] [y2=12.40]
       RenderSVGRect {svg:rect} at (50,4) size 67x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=13.29] [height=11.40]
+      RenderSVGText {svg:text} at (0,27) size 132x10 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 132x10
+          chunk 1 text run 1 at (0.00,35.00) startOffset 0 endOffset 44 width 131.20: "Expected 'Text' to be selected, got: 'Text '"
     RenderSVGText {text} at (10,0) size 50x13 contains 1 chunk(s)
       RenderSVGInlineText {#text} at (0,0) size 50x12
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 73.00: "Text to Squeeze"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
-selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
+selection end:   position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacing-squeeze-3-expected.txt
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacing-squeeze-3-actual.txt
@@ -1,11 +1,14 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (50,3) size 258x59
-    RenderSVGContainer {g} at (153,4) size 79x58
+  RenderSVGRoot {svg} at (0,3) size 354x90
+    RenderSVGContainer {g} at (0,4) size 354x89
       RenderSVGPath {svg:line} at (153,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=31.13] [y1=0.80] [x2=31.13] [y2=12.40]
       RenderSVGPath {svg:line} at (226,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=45.87] [y1=0.80] [x2=45.87] [y2=12.40]
       RenderSVGRect {svg:rect} at (155,4) size 75x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=31.13] [y=0.80] [width=14.73] [height=11.40]
+      RenderSVGText {svg:text} at (0,27) size 142x10 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 142x10
+          chunk 1 text run 1 at (0.00,35.00) startOffset 0 endOffset 46 width 141.20: "Expected 'Squ' to be selected, got: ' Squeeze'"
     RenderSVGText {text} at (10,0) size 52x13 contains 1 chunk(s)
       RenderSVGInlineText {#text} at (0,0) size 52x12
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
@@ -23,5 +26,5 @@
         chunk 1 text run 13 at (48.40,10.00) startOffset 12 endOffset 13 width 5.60: "e"
         chunk 1 text run 14 at (52.47,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (55.93,10.00) startOffset 14 endOffset 15 width 5.60: "e"
-selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
-selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
+selection start: position 7 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
+selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
Comment 3 Zoltan Arvai 2013-07-09 06:34:29 PDT
And one more test
svg/text/select-textLength-spacingAndGlyphs-stretch-1.svg

--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/svg/text/select-textLength-spacingAndGlyphs-stretch-1-actual.txt
@@ -1,13 +1,16 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (47,3) size 703x59
-    RenderSVGContainer {g} at (47,4) size 214x58
+  RenderSVGRoot {svg} at (0,3) size 750x90
+    RenderSVGContainer {g} at (0,4) size 329x89
       RenderSVGPath {svg:line} at (47,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
       RenderSVGPath {svg:line} at (255,4) size 6x58 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=51.66] [y1=0.80] [x2=51.66] [y2=12.40]
       RenderSVGRect {svg:rect} at (50,4) size 209x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=41.66] [height=11.40]
+      RenderSVGText {svg:text} at (0,27) size 132x10 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 132x10
+          chunk 1 text run 1 at (0.00,35.00) startOffset 0 endOffset 44 width 131.20: "Expected 'Text' to be selected, got: 'Text '"
     RenderSVGText {text} at (10,0) size 140x13 contains 1 chunk(s)
       RenderSVGInlineText {#text} at (0,0) size 140x12
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 65.20: "Text to Stretch"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
-selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
+selection end:   position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
Comment 4 Zoltan Arvai 2013-07-09 06:41:12 PDT
Tests skipped in https://trac.webkit.org/changeset/152492.
Comment 5 Jocelyn Turcotte 2014-02-03 03:24:04 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.