KeyError: 'result'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-qml |
New
|
Critical
|
Alexandre Abreu |
Bug Description
Some recent test failures blocking quanternourly release:
This blocks releasing of the webapps stack, and also automatic releasing of the apps stack.
_StringException: Empty attachments:
process-stdout
unity-log
process-
process-stderr: {{{
Loading testability driver.
Ignoring argument: "/usr/bin/
Ignoring argument: "-testability"
Adding property: "url" , value: "file:/
Adding property: "webappName" , value: "unitywebappsqm
WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
onLoadingChanged: loading changed: file://
onLoadingChanged: loading changed: file://
Now watching for emissions of the "resultUpdated(
Signal emissions 0 QObject(0x9e442f8)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Signal emissions 0 QObject(0x9e442f8)
Reply sent.
Result: undefined
Signal emissions 1 QObject(0x9e442f8)
Reply sent.
Signal emissions 1 QObject(0x9e442f8)
Reply sent.
}}}
test-log: {{{
22:30:40.852 INFO globals:49 - *******
22:30:40.852 INFO globals:50 - Starting test unity_webapps_
22:30:40.853 DEBUG globals:148 - Starting: ['/usr/
22:30:40.874 INFO __init__:156 - Launching process: ['/usr/
22:30:41.082 INFO __init__:400 - dbus.DBusException while attempting to get PID for org.freedesktop
22:30:43.127 ERROR proxies:410 - Introspect error on :1.122:
22:30:43.128 DEBUG proxies:413 - Executing introspect queue due to error
22:30:43.183 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webview'}
22:30:43.229 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:43.238 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:44.263 INFO testcase:443 - waiting for process to exit.
22:30:45.266 INFO __init__:89 - Checking system state for badly behaving test...
22:30:45.367 INFO __init__:152 - Test was well behaved.
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
mismatch = matcher.
File "/usr/lib/
wait_
File "/usr/lib/
new_value = refresh_fn()
File "/usr/lib/
self.
File "/usr/lib/
return json.loads(
KeyError: 'result'
_StringException: Empty attachments:
process-stdout
unity-log
process-
process-stderr: {{{
Loading testability driver.
Ignoring argument: "/usr/bin/
Ignoring argument: "-testability"
Adding property: "url" , value: "file:/
Adding property: "webappName" , value: "unitywebappsqm
WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
Could not open manifest file: "/usr/share/
Invalid webapps installation found: "/usr/share/
onLoadingChanged: loading changed: file://
onLoadingChanged: loading changed: file://
Now watching for emissions of the "resultUpdated(
Signal emissions 0 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 1 QObject(0x8f3b280)
Reply sent.
Signal emissions 1 QObject(0x8f3b280)
Reply sent.
Signal emissions 1 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 2 QObject(0x8f3b280)
Reply sent.
Signal emissions 2 QObject(0x8f3b280)
Reply sent.
Signal emissions 2 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 3 QObject(0x8f3b280)
Reply sent.
Signal emissions 3 QObject(0x8f3b280)
Reply sent.
Signal emissions 3 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 4 QObject(0x8f3b280)
Reply sent.
Signal emissions 4 QObject(0x8f3b280)
Reply sent.
Signal emissions 4 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 5 QObject(0x8f3b280)
Reply sent.
Signal emissions 5 QObject(0x8f3b280)
Reply sent.
Signal emissions 5 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 6 QObject(0x8f3b280)
Reply sent.
Signal emissions 6 QObject(0x8f3b280)
Reply sent.
Signal emissions 6 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 7 QObject(0x8f3b280)
Reply sent.
Signal emissions 7 QObject(0x8f3b280)
Reply sent.
Signal emissions 7 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 8 QObject(0x8f3b280)
Reply sent.
Signal emissions 8 QObject(0x8f3b280)
Reply sent.
Signal emissions 8 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 9 QObject(0x8f3b280)
Reply sent.
Signal emissions 9 QObject(0x8f3b280)
Reply sent.
Signal emissions 9 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 10 QObject(0x8f3b280)
Reply sent.
Signal emissions 10 QObject(0x8f3b280)
Reply sent.
Signal emissions 10 QObject(0x8f3b280)
Reply sent.
Method parameter names: ("expr")
Method parameter types: ("QVariant")
Method signature: "evalInPageUnsa
Method Invoked.
Result:
Signal emissions 11 QObject(0x8f3b280)
Reply sent.
Signal emissions 11 QObject(0x8f3b280)
Reply sent.
}}}
test-log: {{{
22:30:47.277 INFO globals:49 - *******
22:30:47.277 INFO globals:50 - Starting test unity_webapps_
22:30:47.278 DEBUG globals:148 - Starting: ['/usr/
22:30:47.303 INFO __init__:156 - Launching process: ['/usr/
22:30:47.498 INFO __init__:400 - dbus.DBusException while attempting to get PID for org.freedesktop
22:30:49.616 ERROR proxies:410 - Introspect error on :1.127:
22:30:49.617 DEBUG proxies:413 - Executing introspect queue due to error
22:30:49.672 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webview'}
22:30:49.714 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:49.722 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:50.743 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:51.764 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:52.784 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:53.805 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:54.825 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:55.846 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:56.867 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:57.888 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:58.908 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:59.929 DEBUG dbus:391 - Selecting objects of any type with attributes: {'objectName': 'webviewContainer'}
22:30:59.949 INFO testcase:443 - waiting for process to exit.
22:31:00.951 INFO __init__:89 - Checking system state for badly behaving test...
22:31:01.058 INFO __init__:152 - Test was well behaved.
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
MismatchError: After 10.0 seconds test failed: 'actionadded' != u''
Confirming with 8 consecutive test runs. Something always fails to run properly, some more often than others:
1: qml.tests. test_injectedOn Webapp. UnityWebappsApi InjectedTestCas eBase.test_ getUnityObjectF ound qml.tests. test_hud. UnityWebappsHud TestCase. test_addAction
unity_webapps_
unity_webapps_
2: qml.tests. test_injectedOn Webapp. UnityWebappsApi InjectedTestCas eBase.test_ getUnityObjectF ound qml.tests. test_injectedOn Webapp. UnityWebappsApi InjectedTestCas eBase.test_ actionsApiFound qml.tests. test_mediaplaye r.UnityWebappsM ediaplayerTestC ase.test_ checkInitialSet CanGoNext
unity_webapps_
unity_webapps_
unity_webapps_
3: qml.tests. test_injectedOn Webapp. UnityWebappsApi InjectedTestCas eBase.test_ getUnityObjectF ound
unity_webapps_
4: qml.tests. test_hud. UnityWebappsHud TestCase. test_clearActio n
unity_webapps_
5: qml.tests. test_launcher. UnityWebappsLau ncherTestCase. test_checkProgr ess qml.tests. test_hud. UnityWebappsHud TestCase. test_clearActio ns qml.tests. test_mediaplaye r.UnityWebappsM ediaplayerTestC ase.test_ checkInitialSet CanGoNext
unity_webapps_
unity_webapps_
unity_webapps_
6: qml.tests. test_hud. UnityWebappsHud TestCase. test_clearActio n qml.tests. test_mediaplaye r.UnityWebappsM ediaplayerTestC ase.test_ checkInitialSet Track
unity_webapps_
unity_webapps_
7: qml.tests. test_launcher. UnityWebappsLau ncherTestCase. test_checkProgr ess qml.tests. test_hud. UnityWebappsHud TestCase. test_clearActio ns qml.tests. test_mediaplaye r.UnityWebappsM ediaplayerTestC ase.test_ checkInitialSet CanPlay
unity_webapps_
unity_webapps_
unity_webapps_
8: qml.tests. test_hud. UnityWebappsHud TestCase. test_addAction
unity_webapps_