touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #22554
[Bug 1258017] Re: tst_textarea tests fails on desktop when using dpkg-buildpackage
** Changed in: ubuntu-ui-toolkit
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1258017
Title:
tst_textarea tests fails on desktop when using dpkg-buildpackage
Status in Ubuntu UI Toolkit:
Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
Description:
tst_textarea tests fails on desktop when using dpkg-buildpackage
steps:
1. bzr branch lp:ubuntu-ui-toolkit on trusty amd64 desktop
2. cd ubuntu-ui-toolkit
3. sudo apt-get build-dep ubuntu-ui-toolkit
4. dpkg-buildpackage
expected result:
debs are built
Actual result:
deb fails to build due to test failing
log of failing test:
Executing ./tst_components -input tst_textarea.qml -import "../../../modules" -maxwarnings 20 -platform minimal -o ../../test_tst_textarea.qml.xml,xunitxml -o -,txt
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QQmlExpression: Expression file:///home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml:25 depends on non-NOTIFYable properties:
QuickUtils::inputMethodProvider
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
QFontDatabase: Cannot find font directory '/usr/lib/x86_64-linux-gnu/fonts' - is Qt installed correctly?
********* Start testing of components *********
Config: Using QTest library 5.0.2, Qt 5.0.2
PASS : components::TextAreaAPI::initTestCase()
PASS : components::TextAreaAPI::test_0_activeFocusOnPress()
PASS : components::TextAreaAPI::test_0_canPaste()
PASS : components::TextAreaAPI::test_0_canRedo()
PASS : components::TextAreaAPI::test_0_canUndo()
PASS : components::TextAreaAPI::test_0_color()
PASS : components::TextAreaAPI::test_0_cursorDelegate()
PASS : components::TextAreaAPI::test_0_cursorPosition()
PASS : components::TextAreaAPI::test_0_cursorRectangle()
PASS : components::TextAreaAPI::test_0_cursorVisible()
PASS : components::TextAreaAPI::test_0_effectiveHorizontalAlignment()
PASS : components::TextAreaAPI::test_0_font()
PASS : components::TextAreaAPI::test_0_horizontalAlignment()
PASS : components::TextAreaAPI::test_0_inputMethodComposing()
PASS : components::TextAreaAPI::test_0_inputMethodHints()
PASS : components::TextAreaAPI::test_0_length()
PASS : components::TextAreaAPI::test_0_lineCount()
PASS : components::TextAreaAPI::test_0_persistentSelection()
PASS : components::TextAreaAPI::test_0_readOnly()
PASS : components::TextAreaAPI::test_0_renderType()
PASS : components::TextAreaAPI::test_0_selectByMouse()
PASS : components::TextAreaAPI::test_0_selectedText()
PASS : components::TextAreaAPI::test_0_selectedTextColor()
PASS : components::TextAreaAPI::test_0_selectionColor()
PASS : components::TextAreaAPI::test_0_selectionEnd()
PASS : components::TextAreaAPI::test_0_selectionStart()
PASS : components::TextAreaAPI::test_0_text()
PASS : components::TextAreaAPI::test_0_textFormat()
PASS : components::TextAreaAPI::test_0_verticalAlignment()
PASS : components::TextAreaAPI::test_0_visible()
PASS : components::TextAreaAPI::test_0_wrapMode()
PASS : components::TextAreaAPI::test_1_activate()
PASS : components::TextAreaAPI::test_1_autoSize()
XFAIL : components::TextAreaAPI::test_1_baseUrl() TODO
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(244)]
PASS : components::TextAreaAPI::test_1_baseUrl()
PASS : components::TextAreaAPI::test_1_contentHeight()
PASS : components::TextAreaAPI::test_1_contentWidth()
PASS : components::TextAreaAPI::test_1_displayText()
PASS : components::TextAreaAPI::test_1_highlighted()
PASS : components::TextAreaAPI::test_1_maximumLineCount()
PASS : components::TextAreaAPI::test_1_mouseSelectionMode()
PASS : components::TextAreaAPI::test_1_placeholderText()
PASS : components::TextAreaAPI::test_1_popover()
FAIL! : components::TextAreaAPI::test_OSK_ShownWhenNextTextAreaIsFocused() OSK is shown for the first TextArea
Actual (): false
Expected (): true
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(422)]
PASS : components::TextAreaAPI::test_OneActiveFocus()
FAIL! : components::TextAreaAPI::test_ReEnabledInput() OSK shown
Actual (): false
Expected (): true
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(450)]
FAIL! : components::TextAreaAPI::test_RemoveOSKWhenFocusLost() OSK is shown when TextArea gains focus
Actual (): false
Expected (): true
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(431)]
QWARN : components::TextAreaAPI::test_TextAreaInListItem_EnterCaptured() This plugin does not support createPlatformOpenGLContext!
QWARN : components::TextAreaAPI::test_TextAreaInListItem_EnterCaptured() QQuickWindow: makeCurrent() failed...
../../unit/runtest.sh: line 31: 2688 Segmentation fault (core dumped) QML2_IMPORT_PATH=../../../modules:$QML2_IMPORT_PATH UBUNTU_UI_TOOLKIT_THEMES_PATH=../../../modules $_CMD $_ARGS
FAILURE: Failed to execute test with -platform minimal, lets try without
Executing ./tst_components -input tst_textarea.qml -import "../../../modules" -maxwarnings 20 -o ../../test_tst_textarea.qml.xml,xunitxml -o -,txt
QQmlExpression: Expression file:///home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml:25 depends on non-NOTIFYable properties:
QuickUtils::inputMethodProvider
********* Start testing of components *********
Config: Using QTest library 5.0.2, Qt 5.0.2
PASS : components::TextAreaAPI::initTestCase()
PASS : components::TextAreaAPI::test_0_activeFocusOnPress()
PASS : components::TextAreaAPI::test_0_canPaste()
PASS : components::TextAreaAPI::test_0_canRedo()
PASS : components::TextAreaAPI::test_0_canUndo()
PASS : components::TextAreaAPI::test_0_color()
PASS : components::TextAreaAPI::test_0_cursorDelegate()
PASS : components::TextAreaAPI::test_0_cursorPosition()
PASS : components::TextAreaAPI::test_0_cursorRectangle()
PASS : components::TextAreaAPI::test_0_cursorVisible()
PASS : components::TextAreaAPI::test_0_effectiveHorizontalAlignment()
PASS : components::TextAreaAPI::test_0_font()
PASS : components::TextAreaAPI::test_0_horizontalAlignment()
PASS : components::TextAreaAPI::test_0_inputMethodComposing()
PASS : components::TextAreaAPI::test_0_inputMethodHints()
PASS : components::TextAreaAPI::test_0_length()
PASS : components::TextAreaAPI::test_0_lineCount()
PASS : components::TextAreaAPI::test_0_persistentSelection()
PASS : components::TextAreaAPI::test_0_readOnly()
PASS : components::TextAreaAPI::test_0_renderType()
PASS : components::TextAreaAPI::test_0_selectByMouse()
PASS : components::TextAreaAPI::test_0_selectedText()
PASS : components::TextAreaAPI::test_0_selectedTextColor()
PASS : components::TextAreaAPI::test_0_selectionColor()
PASS : components::TextAreaAPI::test_0_selectionEnd()
PASS : components::TextAreaAPI::test_0_selectionStart()
PASS : components::TextAreaAPI::test_0_text()
PASS : components::TextAreaAPI::test_0_textFormat()
PASS : components::TextAreaAPI::test_0_verticalAlignment()
PASS : components::TextAreaAPI::test_0_visible()
PASS : components::TextAreaAPI::test_0_wrapMode()
PASS : components::TextAreaAPI::test_1_activate()
PASS : components::TextAreaAPI::test_1_autoSize()
XFAIL : components::TextAreaAPI::test_1_baseUrl() TODO
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(244)]
PASS : components::TextAreaAPI::test_1_baseUrl()
PASS : components::TextAreaAPI::test_1_contentHeight()
PASS : components::TextAreaAPI::test_1_contentWidth()
PASS : components::TextAreaAPI::test_1_displayText()
PASS : components::TextAreaAPI::test_1_highlighted()
PASS : components::TextAreaAPI::test_1_maximumLineCount()
PASS : components::TextAreaAPI::test_1_mouseSelectionMode()
PASS : components::TextAreaAPI::test_1_placeholderText()
PASS : components::TextAreaAPI::test_1_popover()
FAIL! : components::TextAreaAPI::test_OSK_ShownWhenNextTextAreaIsFocused() OSK is shown for the first TextArea
Actual (): false
Expected (): true
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(422)]
PASS : components::TextAreaAPI::test_OneActiveFocus()
FAIL! : components::TextAreaAPI::test_ReEnabledInput() OSK shown
Actual (): false
Expected (): true
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(450)]
FAIL! : components::TextAreaAPI::test_RemoveOSKWhenFocusLost() OSK is shown when TextArea gains focus
Actual (): false
Expected (): true
Loc: [/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components/tst_textarea.qml(431)]
PASS : components::TextAreaAPI::test_TextAreaInListItem_EnterCaptured()
PASS : components::TextAreaAPI::test_TextAreaInListItem_EnterDoesNotProduceClick()
PASS : components::TextAreaAPI::test_colorCollisionOnDelegate()
PASS : components::TextAreaAPI::test_copy()
PASS : components::TextAreaAPI::test_cut()
PASS : components::TextAreaAPI::test_deselect()
PASS : components::TextAreaAPI::test_getFormattedText()
PASS : components::TextAreaAPI::test_getText()
PASS : components::TextAreaAPI::test_insert()
PASS : components::TextAreaAPI::test_isRightToLeft()
PASS : components::TextAreaAPI::test_keyPressAndReleaseFilter()
PASS : components::TextAreaAPI::test_linkActivated()
PASS : components::TextAreaAPI::test_moveCursorSelection()
PASS : components::TextAreaAPI::test_paste()
PASS : components::TextAreaAPI::test_positionAt()
PASS : components::TextAreaAPI::test_positionToRectangle()
PASS : components::TextAreaAPI::test_redo()
PASS : components::TextAreaAPI::test_remove()
PASS : components::TextAreaAPI::test_select()
PASS : components::TextAreaAPI::test_selectAll()
PASS : components::TextAreaAPI::test_selectWord()
PASS : components::TextAreaAPI::test_undo()
PASS : components::TextAreaAPI::test_zz_TextareaInListItem_RichTextEnterCaptured()
PASS : components::TextAreaAPI::cleanupTestCase()
Totals: 67 passed, 3 failed, 0 skipped
********* Finished testing of components *********
make[5]: *** [check] Error 3
make[5]: Leaving directory `/home/anarchy/mp/2/fix-1231939/tests/unit_x11/tst_components'
make[4]: *** [sub-tst_components-check] Error 2
make[4]: Leaving directory `/home/anarchy/mp/2/fix-1231939/tests/unit_x11'
make[3]: *** [sub-unit_x11-check] Error 2
make[3]: Leaving directory `/home/anarchy/mp/2/fix-1231939/tests'
make[2]: *** [sub-tests-check] Error 2
make[2]: Leaving directory `/home/anarchy/mp/2/fix-1231939'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/anarchy/mp/2/fix-1231939'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1258017/+subscriptions