← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1366777] [NEW] qmlscene crashed while running music-app autopilot tests

 

Public bug reported:

music-app tests could not succeed due to qmlscene crash

http://ci.ubuntu.com/smokeng/utopic/touch/mako/222:20140904.1:20140903.1/10220/music_app/

_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{Sep  5 00:59:45 ubuntu-phablet kernel: [   86.241416] input: autopilot-finger as /devices/virtual/input/input6}}}
Application Log (com.ubuntu.music_music_1.3.611): {{{
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognized option '--url='
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'
Testability driver loaded. Wire protocol version is "1.4".
Could not create thumbnailer:  Unknown error when checking cache access: Is a directory
Failed to register thumbnailer image provider: Unknown error when checking cache access: Is a directory
terminate called after throwing an instance of 'std::runtime_error'
  what():  Tried to open a db with an unsupported schema version.
}}}

test-log: {{{
00:59:45.372 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
00:59:45.627 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
00:59:45.691 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp8mgdb_gk',).
Keyword arguments: {}.
00:59:45.712 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp8mgdb_gk
00:59:45.713 DEBUG __init__:178 - Creating music library for click test
00:59:45.714 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk
00:59:45.714 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/Music
00:59:45.715 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/.cache/mediascanner-2.0
00:59:45.716 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
00:59:45.819 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
00:59:45.820 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/.cache/mediascanner-2.0
00:59:45.820 DEBUG __init__:217 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
00:59:45.904 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
00:59:45.906 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
00:59:45.907 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
00:59:46.691 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.611' with URIs '' via upstart-app-launch
01:00:13.601 ERROR proxies:410 - Introspect error on :1.96:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
01:00:13.602 DEBUG proxies:413 - Executing introspect queue due to error
01:00:36.491 ERROR _launcher:206 - Timed out waiting for Application with app_id 'com.ubuntu.music_music_1.3.611' to stop.
01:00:36.498 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/music_app/tests/test_music.py", line 26, in setUp
    super(TestMainWindow, self).setUp()
  File "/home/phablet/autopilot/music_app/tests/__init__.py", line 255, in setUp
    self.app = MusicApp(launcher_method())
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/music_app/tests/__init__.py", line 92, in launch_test_click
    emulator_base=ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase)
  File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 310, in launch_click_package
    return launcher.launch(package_id, app_name, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 283, in launch
    return super().launch(app_id, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 146, in launch
    pid=pid
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 176, in get_proxy_object_for_existing_process
    _get_search_criteria_string_representation(**kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 375, in _raise_if_not_single_result
    (criteria_string)
autopilot.exceptions.ProcessSearchError: Search criteria (object path = '/com/canonical/Autopilot/Introspection', pid = 3292) returned no results

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "_usr_lib_arm-linux-gnueabihf_qt5_bin_qmlscene.32011.crash"
   https://bugs.launchpad.net/bugs/1366777/+attachment/4198451/+files/_usr_lib_arm-linux-gnueabihf_qt5_bin_qmlscene.32011.crash

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtdeclarative-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1366777

Title:
  qmlscene crashed while running music-app autopilot tests

Status in “qtdeclarative-opensource-src” package in Ubuntu:
  New

Bug description:
  music-app tests could not succeed due to qmlscene crash

  http://ci.ubuntu.com/smokeng/utopic/touch/mako/222:20140904.1:20140903.1/10220/music_app/

  _StringException: Binary content:
    FailedTestScreenshot (image/png)

  /var/log/syslog: {{{Sep  5 00:59:45 ubuntu-phablet kernel: [   86.241416] input: autopilot-finger as /devices/virtual/input/input6}}}
  Application Log (com.ubuntu.music_music_1.3.611): {{{
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognized option '--url='
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'
  Testability driver loaded. Wire protocol version is "1.4".
  Could not create thumbnailer:  Unknown error when checking cache access: Is a directory
  Failed to register thumbnailer image provider: Unknown error when checking cache access: Is a directory
  terminate called after throwing an instance of 'std::runtime_error'
    what():  Tried to open a db with an unsupported schema version.
  }}}

  test-log: {{{
  00:59:45.372 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
  00:59:45.627 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
  00:59:45.691 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet/autopilot/fakeenv/tmp8mgdb_gk',).
  Keyword arguments: {}.
  00:59:45.712 DEBUG __init__:174 - Patched home to fake home directory /home/phablet/autopilot/fakeenv/tmp8mgdb_gk
  00:59:45.713 DEBUG __init__:178 - Creating music library for click test
  00:59:45.714 DEBUG __init__:179 - Home set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk
  00:59:45.714 DEBUG __init__:181 - Music path set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/Music
  00:59:45.715 DEBUG __init__:186 - Mediascanner path set to /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/.cache/mediascanner-2.0
  00:59:45.716 DEBUG __init__:192 - Content dir set to /home/phablet/autopilot/music_app/content
  00:59:45.819 DEBUG __init__:201 - Music copied, files ['1.ogg', '2.ogg', '3.mp3']
  00:59:45.820 DEBUG __init__:214 - Patching fake mediascanner database in /home/phablet/autopilot/fakeenv/tmp8mgdb_gk/.cache/mediascanner-2.0
  00:59:45.820 DEBUG __init__:217 - Mediascanner database files ['mediastore.sql', 'mediastore.db']
  00:59:45.904 DEBUG __init__:207 - Mediascanner database copied, files ['mediastore.sql', 'mediastore.db']
  00:59:45.906 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
  00:59:45.907 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.music' and URIs ''
  00:59:46.691 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.music_music_1.3.611' with URIs '' via upstart-app-launch
  01:00:13.601 ERROR proxies:410 - Introspect error on :1.96:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
  org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
  01:00:13.602 DEBUG proxies:413 - Executing introspect queue due to error
  01:00:36.491 ERROR _launcher:206 - Timed out waiting for Application with app_id 'com.ubuntu.music_music_1.3.611' to stop.
  01:00:36.498 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
  }}}

  Traceback (most recent call last):
    File "/home/phablet/autopilot/music_app/tests/test_music.py", line 26, in setUp
      super(TestMainWindow, self).setUp()
    File "/home/phablet/autopilot/music_app/tests/__init__.py", line 255, in setUp
      self.app = MusicApp(launcher_method())
    File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
      return f(instance, *args, **kwargs)
    File "/home/phablet/autopilot/music_app/tests/__init__.py", line 92, in launch_test_click
      emulator_base=ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase)
    File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 310, in launch_click_package
      return launcher.launch(package_id, app_name, app_uris)
    File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 283, in launch
      return super().launch(app_id, app_uris)
    File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 146, in launch
      pid=pid
    File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 176, in get_proxy_object_for_existing_process
      _get_search_criteria_string_representation(**kwargs)
    File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 375, in _raise_if_not_single_result
      (criteria_string)
  autopilot.exceptions.ProcessSearchError: Search criteria (object path = '/com/canonical/Autopilot/Introspection', pid = 3292) returned no results

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1366777/+subscriptions


Follow ups

References