summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-08-10 09:21:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-08-10 12:26:04 +0200
commitbc634e9d2c1fe79228c94a1a92fc6cb5be57b659 (patch)
treebd862d9438371a1d519a32d29acfd761ca842473 /sw
parentae74abcd85dc529aeab9e710f18b3089fdf2906f (diff)
Revert "uitest for bug tdf#79569"
This reverts commit 5bd027e17f3656ab65548126ed6d7e309818eae7. It kept failing in the Jenkins ASan+UBSan build (see below) but wasn't reproducible/debuggable by anybody else. So as discussed with vmiklos on #libreoffice-dev, lets disable/revert this test for now. This also includes reverts of the follow-up commits that unsuccessfully tried to track down and fix the issue: * c57191e0c45f9735a33953d6b95d54b0e10c876f "Try to make test_tdf81457_table_merge_undo deterministic" * 88d82b7da7f3b362c62494875ad359158be964d8 "Temporarily sprinkle test code with debug print statements" * a94a481c9f5088e6957220a7e09b64fc3f15aaf1 "One last attempt at fixing UITest_writer_tests for Jenkins ASan+UBSan build" With the above follow-up commits still enabled, the latest failure of the ASan+UBSan Jenkins bot was <https://ci.libreoffice.org//job/lo_ubsan/998/> [...] > warn:vcl.gdi:26099:26099:vcl/headless/svpgdi.cxx:235: non default depth bitmap, slow convert, upscale the input > WPSDocument::isFileFormatSupported() > warn:i18nlangtag:26099:26377:i18nlangtag/source/languagetag/languagetag.cxx:1388: LanguageTagImpl::convertLocaleToLang: with bAllowOnTheFlyID invalid 'xx-XX' > warn:legacy.osl:26099:26798:sw/source/core/table/swnewtable.cxx:222: Didn't find wished box > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2164: Different Line Widths: first: 9894 current [1]: 8393 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2167: Line width differs from table width: 9894 current [1]: 8393 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2137: Wrong position/size of overlapped table box > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2164: Different Line Widths: first: 9894 current [2]: 1982 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2167: Line width differs from table width: 9894 current [2]: 1982 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2164: Different Line Widths: first: 9894 current [1]: 8393 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2167: Line width differs from table width: 9894 current [1]: 8393 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2137: Wrong position/size of overlapped table box > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2164: Different Line Widths: first: 9894 current [2]: 1982 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2167: Line width differs from table width: 9894 current [2]: 1982 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2164: Different Line Widths: first: 9894 current [1]: 8393 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2167: Line width differs from table width: 9894 current [1]: 8393 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2137: Wrong position/size of overlapped table box > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2164: Different Line Widths: first: 9894 current [2]: 1982 > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:2167: Line width differs from table width: 9894 current [2]: 1982 > warn:legacy.osl:26099:26798:sw/source/core/table/swnewtable.cxx:222: Didn't find wished box > warn:sw.core:26099:26798:sw/source/core/table/swnewtable.cxx:216: Possibly wrong box found > soffice.bin: /home/tdf/lode/jenkins/workspace/lo_ubsan/sw/source/core/layout/findfrm.cxx:1702: const SwCellFrame &SwCellFrame::FindStartEndOfRowSpanCell(bool) const: Assertion `pRet && "SwCellFrame::FindStartRowSpanCell: No result"' failed. > > > Fatal exception: Signal 6 > Stack: > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/soffice.bin(backtrace+0x41)[0x44f821] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_sal.so.3(+0x457429)[0x2b7859768429] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_sal.so.3(+0x456c25)[0x2b7859767c25] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_sal.so.3(+0x45452a)[0x2b785976552a] > /lib64/libpthread.so.0(+0xf6d0)[0x2b785b78b6d0] > /lib64/libc.so.6(gsignal+0x37)[0x2b785bff1277] > /lib64/libc.so.6(abort+0x148)[0x2b785bff2968] > /lib64/libc.so.6(+0x2f096)[0x2b785bfea096] > /lib64/libc.so.6(+0x2f142)[0x2b785bfea142] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xbd5c735)[0x2b792487d735] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xc74058b)[0x2b792526158b] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(_ZN7SwFrame6ShrinkElbb+0x1502)[0x2b7925218cb2] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xc710bb2)[0x2b7925231bb2] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(_ZN13SwContentNode9DelFramesEb+0x2a10)[0x2b79237ff1e0] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(_ZN7SwNodes9MoveNodesERK11SwNodeRangeRS_RK11SwNodeIndexb+0x12d4d)[0x2b79238848ed] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xa0168ea)[0x2b7922b378ea] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xdd5f2f2)[0x2b79268802f2] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xdebd7b4)[0x2b79269de7b4] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xdc6c87c)[0x2b792678d87c] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsvllo.so(_ZN17SfxListUndoAction15UndoWithContextER14SfxUndoContext+0x5cc)[0x2b78774690fc] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsvllo.so(_ZN14SfxUndoManager8ImplUndoEP14SfxUndoContext+0x1b2d)[0x2b787744829d] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsvllo.so(_ZN14SfxUndoManager15UndoWithContextER14SfxUndoContext+0x106)[0x2b78774496d6] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xdb2a648)[0x2b792664b648] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0xdb2bac7)[0x2b792664cac7] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(_ZN11SwEditShell4UndoEt+0x15b6)[0x2b7923f7cde6] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(_ZN10SwWrtShell2DoENS_6DoTypeEt+0x635)[0x2b792b4e14e5] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0x1168a394)[0x2b792a1ab394] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/../program/libswlo.so(+0x11688002)[0x2b792a1a9002] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsfxlo.so(+0x326de37)[0x2b787042be37] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsfxlo.so(+0x3227341)[0x2b78703e5341] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsfxlo.so(_ZN13SfxDispatcher8Execute_ER8SfxShellRK7SfxSlotR10SfxRequest11SfxCallMode+0x1a40)[0x2b7870401c50] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsfxlo.so(+0x3196242)[0x2b7870354242] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsfxlo.so(+0x3795206)[0x2b7870953206] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libsfxlo.so(+0x3798e6f)[0x2b7870956e6f] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libcomphelper.so(_ZN10comphelper15dispatchCommandERKN3rtl8OUStringERKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEERKNS7_9ReferenceINS6_5frame23XDispatchResultListenerEEE+0x163a)[0x2b78628adb0a] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libvcllo.so(_ZN6UITest14executeCommandERKN3rtl8OUStringE+0x78d)[0x2b789fac7fbd] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libvcllo.so(+0x87b6b72)[0x2b789fae5b72] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libgcc3_uno.so(+0x134616)[0x2b78e0997616] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libgcc3_uno.so(+0x12dedb)[0x2b78e0990edb] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libgcc3_uno.so(+0x12aaef)[0x2b78e098daef] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libbinaryurplo.so(+0x38ae9c)[0x2b78e63f5e9c] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libbinaryurplo.so(+0x381e87)[0x2b78e63ece87] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libbinaryurplo.so(+0x4b213d)[0x2b78e651d13d] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_cppu.so.3(+0x254191)[0x2b78641a1191] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_cppu.so.3(+0x286a8e)[0x2b78641d3a8e] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_cppu.so.3(+0x298567)[0x2b78641e5567] > /home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libuno_sal.so.3(+0x48bc3d)[0x2b785979cc3d] > /lib64/libpthread.so.0(+0x7e25)[0x2b785b783e25] > /lib64/libc.so.6(clone+0x6d)[0x2b785c0b9bad] > DEBUG.1 > DEBUG.2 > DEBUG.3 > DEBUG.4 > DEBUG.5 > DEBUG.6 > DEBUG.7 > DEBUG.8 > DEBUG.9 > DEBUG.10 > DEBUG.11 > DEBUG.12 > DEBUG.13 > DEBUG.14 > DEBUG.15 > DEBUG.16 > DEBUG.17 > DEBUG.18 > DEBUG.19 [...] showing that soffice.bin hit the assert at sw/source/core/layout/findfrm.cxx:1702 during the second .uno:Undo (after the .uno:Redo). Change-Id: I24a4ae379a1589f6d762dc3979f963eb543ba6b6 Reviewed-on: https://gerrit.libreoffice.org/58813 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/uitest/writer_tests/data/tdf79569.docbin13824 -> 0 bytes
-rw-r--r--sw/qa/uitest/writer_tests/tdf79569.py73
2 files changed, 0 insertions, 73 deletions
diff --git a/sw/qa/uitest/writer_tests/data/tdf79569.doc b/sw/qa/uitest/writer_tests/data/tdf79569.doc
deleted file mode 100644
index 2d94868da586..000000000000
--- a/sw/qa/uitest/writer_tests/data/tdf79569.doc
+++ /dev/null
Binary files differ
diff --git a/sw/qa/uitest/writer_tests/tdf79569.py b/sw/qa/uitest/writer_tests/tdf79569.py
deleted file mode 100644
index 5bd794b9d314..000000000000
--- a/sw/qa/uitest/writer_tests/tdf79569.py
+++ /dev/null
@@ -1,73 +0,0 @@
-# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-from sys import stderr
-from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
-from uitest.path import get_srcdir_url
-
-def get_url_for_data_file(file_name):
- return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name
-
-class tdf79569(UITestCase):
-
- def test_tdf81457_table_merge_undo(self):
- writer_doc = self.ui_test.load_file(get_url_for_data_file("tdf79569.doc"))
- xWriterDoc = self.xUITest.getTopFocusWindow()
- xWriterEdit = xWriterDoc.getChild("writer_edit")
- document = self.ui_test.get_component()
- toolkit_ex = self.xContext.ServiceManager.createInstanceWithContext(
- "com.sun.star.awt.Toolkit", self.xContext) # supports css.awt.XToolkitExperimental
- print("DEBUG.1", file=stderr);
- self.xUITest.executeCommand(".uno:GoDown")
- print("DEBUG.2", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.3", file=stderr);
- self.xUITest.executeCommand(".uno:GoDown")
- print("DEBUG.4", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.5", file=stderr);
- xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "CTRL+END"}))
- print("DEBUG.6", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.7", file=stderr);
- self.xUITest.executeCommand(".uno:GoRight")
- print("DEBUG.8", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.9", file=stderr);
- xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "CTRL+END"}))
- print("DEBUG.10", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.11", file=stderr);
- xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "SHIFT+RIGHT"}))
- print("DEBUG.12", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.13", file=stderr);
- self.xUITest.executeCommand(".uno:MergeCells")
- print("DEBUG.14", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.15", file=stderr);
- self.xUITest.executeCommand(".uno:Undo")
- print("DEBUG.16", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.17", file=stderr);
- self.xUITest.executeCommand(".uno:Redo")
- print("DEBUG.18", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.19", file=stderr);
- sleep(3)
- self.xUITest.executeCommand(".uno:Undo")
- print("DEBUG.20", file=stderr);
- toolkit_ex.processEventsToIdle()
- print("DEBUG.21", file=stderr);
-
- self.assertEqual(document.TextTables.getCount(), 1)
-
- self.ui_test.close_doc()
-
-# vim: set shiftwidth=4 softtabstop=4 expandtab: