← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1561436] [NEW] tst_adaptivepagelayout: test_forced_synchronous_loading_bug1540449 is flaky

 

Public bug reported:

It fails some times (not always). Here is the log when it fails:

tim@tim-mbp:~/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components$ qmltestrunner -import ../../../qml/ -input tst_adaptivepagelayout.qml 
********* Start testing of qmltestrunner *********
Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160225)
PASS   : qmltestrunner::initTestCase()
PASS   : qmltestrunner::test_add_page_to_current(Synchronously to current column)
PASS   : qmltestrunner::test_add_page_to_current(Synchronously to current column, with params)
PASS   : qmltestrunner::test_add_page_to_current(Synchronously to next column)
PASS   : qmltestrunner::test_add_page_to_current(Synchronously to next column, with params)
PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to current column)
PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to current column, with params)
PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to next column)
PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to next column, with params)
PASS   : qmltestrunner::test_add_page_to_current_does_not_prune_current()
PASS   : qmltestrunner::test_add_page_to_next_column_doesnt_delete_prev_column_content_bug1544745()
PASS   : qmltestrunner::test_add_page_when_source_page_not_in_stack()
PASS   : qmltestrunner::test_add_page_with_null_sourcePage()
PASS   : qmltestrunner::test_add_same_page_twice()
PASS   : qmltestrunner::test_add_to_current_prunes_next()
PASS   : qmltestrunner::test_add_to_next_first_prunes_next()
PASS   : qmltestrunner::test_asynchronous_page_loading_incubator_forcecompletion()
PASS   : qmltestrunner::test_change_primaryPage()
PASS   : qmltestrunner::test_change_primaryPageSource(Component)
PASS   : qmltestrunner::test_change_primaryPageSource(Document)
PASS   : qmltestrunner::test_forced_synchronous_loading_bug1540449(To current column)
FAIL!  : qmltestrunner::test_forced_synchronous_loading_bug1540449(To next column) Uncaught exception: Cannot read property 'object' of null
   Loc: [/home/tim/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(325)]
XFAIL  : qmltestrunner::test_hidden_page_keeps_geometry_bug1492343() no width change expected
   Loc: [/home/tim/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(349)]
XFAIL  : qmltestrunner::test_hidden_page_keeps_geometry_bug1492343() no height change expected
   Loc: [/home/tim/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(351)]
PASS   : qmltestrunner::test_hidden_page_keeps_geometry_bug1492343()
PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, wide)
PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, narrow)
PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, wide)
PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, narrow)
PASS   : qmltestrunner::test_page_visible()
PASS   : qmltestrunner::test_primaryPageSource_bug1499179(Component)
PASS   : qmltestrunner::test_primaryPageSource_bug1499179(Document)
PASS   : qmltestrunner::test_primaryPageSource_precedence_over_primaryPage()
PASS   : qmltestrunner::test_primaryPage_change_clears_primaryPageSource()
PASS   : qmltestrunner::cleanupTestCase()
Totals: 32 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of qmltestrunner *********

On https://launchpadlibrarian.net/249767391/buildlog_ubuntu-vivid-amd64
.ubuntu-ui-toolkit_1.3.1908+15.04.20160324-0ubuntu1_BUILDING.txt.gz we
can see it fail like this:

Executing dbus-test-runner --task gdb -p --quiet -n tst_adaptivepagelayout.qml -m 300 -p --batch -p -ex -p 'set print thread-events off' -p -ex -p run -p -ex -p bt -p --return-child-result -p --args -p /«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_components -p -input -p tst_adaptivepagelayout.qml -p -maxwarnings -p 100 -p -o -p /«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/test_tst_adaptivepagelayout.qml.xml,xunitxml -p -o -p -,txt
Working directory: /«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components
DBus daemon: unix:abstract=/tmp/dbus-9lOUiPAThu,guid=427c10a09ef7c580a05d770856f37454
tst_adaptivepagelayout.qml: Started with PID: 16859
Undefined command: "".  Try "help".
tst_adaptivepagelayout.qml: [Thread debugging using libthread_db enabled]
tst_adaptivepagelayout.qml: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
tst_adaptivepagelayout.qml: [New Thread 0x7fffe1ffb700 (LWP 16870)]
tst_adaptivepagelayout.qml: ********* Start testing of components *********
tst_adaptivepagelayout.qml: Config: Using QtTest library 5.4.1, Qt 5.4.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.9.2)
tst_adaptivepagelayout.qml: PASS   : components::initTestCase()
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to current column)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to current column, with params)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to next column)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to next column, with params)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to current column)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to current column, with params)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to next column)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to next column, with params)
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current_does_not_prune_current()
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_next_column_doesnt_delete_prev_column_content_bug1544745()
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_when_source_page_not_in_stack()
tst_adaptivepagelayout.qml: PASS   : components::test_add_page_with_null_sourcePage()
tst_adaptivepagelayout.qml: PASS   : components::test_add_same_page_twice()
tst_adaptivepagelayout.qml: PASS   : components::test_add_to_current_prunes_next()
tst_adaptivepagelayout.qml: PASS   : components::test_add_to_next_first_prunes_next()
tst_adaptivepagelayout.qml: PASS   : components::test_asynchronous_page_loading_incubator_forcecompletion()
tst_adaptivepagelayout.qml: PASS   : components::test_change_primaryPage()
tst_adaptivepagelayout.qml: PASS   : components::test_change_primaryPageSource(Component)
tst_adaptivepagelayout.qml: PASS   : components::test_change_primaryPageSource(Document)
tst_adaptivepagelayout.qml: FAIL!  : components::test_forced_synchronous_loading_bug1540449(To current column) page not found
tst_adaptivepagelayout.qml:    Actual   (): Page1
tst_adaptivepagelayout.qml:    Expected (): DynamicPage
tst_adaptivepagelayout.qml:    Loc: [/«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(325)]
tst_adaptivepagelayout.qml: PASS   : components::test_forced_synchronous_loading_bug1540449(To next column)
tst_adaptivepagelayout.qml: XFAIL  : components::test_hidden_page_keeps_geometry_bug1492343() no width change expected
tst_adaptivepagelayout.qml:    Loc: [/«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(349)]
tst_adaptivepagelayout.qml: XFAIL  : components::test_hidden_page_keeps_geometry_bug1492343() no height change expected
tst_adaptivepagelayout.qml:    Loc: [/«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(351)]
tst_adaptivepagelayout.qml: PASS   : components::test_hidden_page_keeps_geometry_bug1492343()
tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, wide)
tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, narrow)
tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, wide)
tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, narrow)
tst_adaptivepagelayout.qml: PASS   : components::test_page_visible()
tst_adaptivepagelayout.qml: PASS   : components::test_primaryPageSource_bug1499179(Component)
tst_adaptivepagelayout.qml: PASS   : components::test_primaryPageSource_bug1499179(Document)
tst_adaptivepagelayout.qml: PASS   : components::test_primaryPageSource_precedence_over_primaryPage()
tst_adaptivepagelayout.qml: PASS   : components::test_primaryPage_change_clears_primaryPageSource()
tst_adaptivepagelayout.qml: PASS   : components::cleanupTestCase()
tst_adaptivepagelayout.qml: Totals: 32 passed, 1 failed, 0 skipped, 0 blacklisted
tst_adaptivepagelayout.qml: ********* Finished testing of components *********
tst_adaptivepagelayout.qml: [Thread 0x7fffe1ffb700 (LWP 16870) exited]
No stack.
tst_adaptivepagelayout.qml: [Inferior 1 (process 16861) exited with code 01]
tst_adaptivepagelayout.qml: Exited with status 256
tst_adaptivepagelayout.qml: Shutting down
DBus daemon: Shutdown
tst_adaptivepagelayout.qml exited with 0

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Critical
         Status: New

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1561436

Title:
  tst_adaptivepagelayout: test_forced_synchronous_loading_bug1540449 is
  flaky

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  It fails some times (not always). Here is the log when it fails:

  tim@tim-mbp:~/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components$ qmltestrunner -import ../../../qml/ -input tst_adaptivepagelayout.qml 
  ********* Start testing of qmltestrunner *********
  Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160225)
  PASS   : qmltestrunner::initTestCase()
  PASS   : qmltestrunner::test_add_page_to_current(Synchronously to current column)
  PASS   : qmltestrunner::test_add_page_to_current(Synchronously to current column, with params)
  PASS   : qmltestrunner::test_add_page_to_current(Synchronously to next column)
  PASS   : qmltestrunner::test_add_page_to_current(Synchronously to next column, with params)
  PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to current column)
  PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to current column, with params)
  PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to next column)
  PASS   : qmltestrunner::test_add_page_to_current(Asynchronously to next column, with params)
  PASS   : qmltestrunner::test_add_page_to_current_does_not_prune_current()
  PASS   : qmltestrunner::test_add_page_to_next_column_doesnt_delete_prev_column_content_bug1544745()
  PASS   : qmltestrunner::test_add_page_when_source_page_not_in_stack()
  PASS   : qmltestrunner::test_add_page_with_null_sourcePage()
  PASS   : qmltestrunner::test_add_same_page_twice()
  PASS   : qmltestrunner::test_add_to_current_prunes_next()
  PASS   : qmltestrunner::test_add_to_next_first_prunes_next()
  PASS   : qmltestrunner::test_asynchronous_page_loading_incubator_forcecompletion()
  PASS   : qmltestrunner::test_change_primaryPage()
  PASS   : qmltestrunner::test_change_primaryPageSource(Component)
  PASS   : qmltestrunner::test_change_primaryPageSource(Document)
  PASS   : qmltestrunner::test_forced_synchronous_loading_bug1540449(To current column)
  FAIL!  : qmltestrunner::test_forced_synchronous_loading_bug1540449(To next column) Uncaught exception: Cannot read property 'object' of null
     Loc: [/home/tim/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(325)]
  XFAIL  : qmltestrunner::test_hidden_page_keeps_geometry_bug1492343() no width change expected
     Loc: [/home/tim/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(349)]
  XFAIL  : qmltestrunner::test_hidden_page_keeps_geometry_bug1492343() no height change expected
     Loc: [/home/tim/dev/ubuntu-ui-toolkit/m/fix-tests/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(351)]
  PASS   : qmltestrunner::test_hidden_page_keeps_geometry_bug1492343()
  PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, wide)
  PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, narrow)
  PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, wide)
  PASS   : qmltestrunner::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, narrow)
  PASS   : qmltestrunner::test_page_visible()
  PASS   : qmltestrunner::test_primaryPageSource_bug1499179(Component)
  PASS   : qmltestrunner::test_primaryPageSource_bug1499179(Document)
  PASS   : qmltestrunner::test_primaryPageSource_precedence_over_primaryPage()
  PASS   : qmltestrunner::test_primaryPage_change_clears_primaryPageSource()
  PASS   : qmltestrunner::cleanupTestCase()
  Totals: 32 passed, 1 failed, 0 skipped, 0 blacklisted
  ********* Finished testing of qmltestrunner *********

  On https://launchpadlibrarian.net/249767391/buildlog_ubuntu-vivid-
  amd64.ubuntu-ui-
  toolkit_1.3.1908+15.04.20160324-0ubuntu1_BUILDING.txt.gz we can see it
  fail like this:

  Executing dbus-test-runner --task gdb -p --quiet -n tst_adaptivepagelayout.qml -m 300 -p --batch -p -ex -p 'set print thread-events off' -p -ex -p run -p -ex -p bt -p --return-child-result -p --args -p /«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_components -p -input -p tst_adaptivepagelayout.qml -p -maxwarnings -p 100 -p -o -p /«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/test_tst_adaptivepagelayout.qml.xml,xunitxml -p -o -p -,txt
  Working directory: /«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components
  DBus daemon: unix:abstract=/tmp/dbus-9lOUiPAThu,guid=427c10a09ef7c580a05d770856f37454
  tst_adaptivepagelayout.qml: Started with PID: 16859
  Undefined command: "".  Try "help".
  tst_adaptivepagelayout.qml: [Thread debugging using libthread_db enabled]
  tst_adaptivepagelayout.qml: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  tst_adaptivepagelayout.qml: [New Thread 0x7fffe1ffb700 (LWP 16870)]
  tst_adaptivepagelayout.qml: ********* Start testing of components *********
  tst_adaptivepagelayout.qml: Config: Using QtTest library 5.4.1, Qt 5.4.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.9.2)
  tst_adaptivepagelayout.qml: PASS   : components::initTestCase()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to current column)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to current column, with params)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to next column)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Synchronously to next column, with params)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to current column)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to current column, with params)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to next column)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current(Asynchronously to next column, with params)
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_current_does_not_prune_current()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_to_next_column_doesnt_delete_prev_column_content_bug1544745()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_when_source_page_not_in_stack()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_page_with_null_sourcePage()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_same_page_twice()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_to_current_prunes_next()
  tst_adaptivepagelayout.qml: PASS   : components::test_add_to_next_first_prunes_next()
  tst_adaptivepagelayout.qml: PASS   : components::test_asynchronous_page_loading_incubator_forcecompletion()
  tst_adaptivepagelayout.qml: PASS   : components::test_change_primaryPage()
  tst_adaptivepagelayout.qml: PASS   : components::test_change_primaryPageSource(Component)
  tst_adaptivepagelayout.qml: PASS   : components::test_change_primaryPageSource(Document)
  tst_adaptivepagelayout.qml: FAIL!  : components::test_forced_synchronous_loading_bug1540449(To current column) page not found
  tst_adaptivepagelayout.qml:    Actual   (): Page1
  tst_adaptivepagelayout.qml:    Expected (): DynamicPage
  tst_adaptivepagelayout.qml:    Loc: [/«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(325)]
  tst_adaptivepagelayout.qml: PASS   : components::test_forced_synchronous_loading_bug1540449(To next column)
  tst_adaptivepagelayout.qml: XFAIL  : components::test_hidden_page_keeps_geometry_bug1492343() no width change expected
  tst_adaptivepagelayout.qml:    Loc: [/«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(349)]
  tst_adaptivepagelayout.qml: XFAIL  : components::test_hidden_page_keeps_geometry_bug1492343() no height change expected
  tst_adaptivepagelayout.qml:    Loc: [/«BUILDDIR»/ubuntu-ui-toolkit-1.3.1908+15.04.20160324/tests/unit_x11/tst_components/tst_adaptivepagelayout.qml(351)]
  tst_adaptivepagelayout.qml: PASS   : components::test_hidden_page_keeps_geometry_bug1492343()
  tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, wide)
  tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(CurrentColumn, narrow)
  tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, wide)
  tst_adaptivepagelayout.qml: PASS   : components::test_old_page_disappears_when_new_one_ready_bug1499178(NextColumn, narrow)
  tst_adaptivepagelayout.qml: PASS   : components::test_page_visible()
  tst_adaptivepagelayout.qml: PASS   : components::test_primaryPageSource_bug1499179(Component)
  tst_adaptivepagelayout.qml: PASS   : components::test_primaryPageSource_bug1499179(Document)
  tst_adaptivepagelayout.qml: PASS   : components::test_primaryPageSource_precedence_over_primaryPage()
  tst_adaptivepagelayout.qml: PASS   : components::test_primaryPage_change_clears_primaryPageSource()
  tst_adaptivepagelayout.qml: PASS   : components::cleanupTestCase()
  tst_adaptivepagelayout.qml: Totals: 32 passed, 1 failed, 0 skipped, 0 blacklisted
  tst_adaptivepagelayout.qml: ********* Finished testing of components *********
  tst_adaptivepagelayout.qml: [Thread 0x7fffe1ffb700 (LWP 16870) exited]
  No stack.
  tst_adaptivepagelayout.qml: [Inferior 1 (process 16861) exited with code 01]
  tst_adaptivepagelayout.qml: Exited with status 256
  tst_adaptivepagelayout.qml: Shutting down
  DBus daemon: Shutdown
  tst_adaptivepagelayout.qml exited with 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1561436/+subscriptions


Follow ups