Testcase: test_ussd_invalid_code

Build #:252:20150711:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_ussd_invalid_code
testsuite
dialer_app.tests.test_ussd.TestUSSD
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 11 06:54:27 ubuntu-phablet powerd[889]: handle_requestSysState from :1.61 (active) - ACTIVE (1)
Jul 11 06:54:27 ubuntu-phablet powerd[889]: name_watch_add: looking for :1.61
Jul 11 06:54:27 ubuntu-phablet powerd[889]: watching :1.61 to see when it disappears on dbus
Jul 11 06:54:27 ubuntu-phablet powerd[889]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 06:54:27 ubuntu-phablet powerd[889]: handle_requestSysState - SUCCESS
Jul 11 06:54:27 ubuntu-phablet powerd[889]: Enqueue state change to ACTIVE
Jul 11 06:54:27 ubuntu-phablet powerd[889]: queue empty && state == current, discarding
Jul 11 06:54:27 ubuntu-phablet powerd[889]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 06:54:48 ubuntu-phablet powerd[889]: handle_clearSysState from :1.61, cookie: 9536c259-a731-4d27-afaf-382414c8a856
Jul 11 06:54:48 ubuntu-phablet powerd[889]: clear_sys_request: active - :1.61
Jul 11 06:54:48 ubuntu-phablet powerd[889]: name_watch_remove: looking for :1.61
Jul 11 06:54:48 ubuntu-phablet powerd[889]: name_watch: ref_count for :1.61 is now 0
Jul 11 06:54:48 ubuntu-phablet powerd[889]: no longer watching :1.61, there are no more requests
Jul 11 06:54:48 ubuntu-phablet powerd[889]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 06:54:48 ubuntu-phablet powerd[889]: Enqueue state change to ACTIVE
Jul 11 06:54:48 ubuntu-phablet powerd[889]: queue empty && state == current, discarding
Jul 11 06:54:48 ubuntu-phablet powerd[889]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 06:54:48 ubuntu-phablet dbus[848]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 11 06:54:49 ubuntu-phablet dbus[848]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (dialer-app): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
Overriding the contacts backend, using: "memory"
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
Overriding the contacts backend, using: "memory"
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
[ubuntumirclient QPA] UbuntuWindow::handleSurfaceResize current buffer already has the target size
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
USSDManager: Failed to connect signals
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:207: Error: Cannot assign [undefined] to QObject*
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
USSDManager: Failed to connect signals
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:207: Error: Cannot assign [undefined] to QObject*
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
void installIconPath()
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:282:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/dialer-app/DialerPage/DialerPage.qml:241:13: QML CustomButton: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/dialer-app/HistoryPage/HistoryPage.qml:367:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
The phone number is not a valid number: ""
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
06:54:26.972 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:54:27.016 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
06:54:27.066 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/dialer-appcxf8l1r2',). Keyword arguments:
{'global_': False}.
06:54:27.096 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
06:54:32.935 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:54:32.937 DEBUG _uinput:485 - Tapping at: 306,971
06:54:33.533 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:54:33.534 DEBUG _uinput:485 - Tapping at: 306,512
06:54:34.224 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:54:34.225 DEBUG _uinput:485 - Tapping at: 540,512
06:54:34.910 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:54:34.911 DEBUG _uinput:485 - Tapping at: 774,512
06:54:35.523 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:54:35.524 DEBUG _uinput:485 - Tapping at: 774,971
06:54:49.262 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {'global_': False}.
06:54:49.294 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en_US:en',). Keyword arguments: {'global_': False}.
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dialer_app/tests/test_ussd.py", line 45, in test_ussd_invalid_code
    self.main_view.dialer_page.dial_number(number, formattedNumber)
  File "/usr/lib/python3/dist-packages/dialer_app/__init__.py", line 212, in dial_number
    entry.value.wait_for(formattedNumber)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on KeypadEntry.value failed: '*123#' != dbus.String('12', variant_level=1)

command_type
testcase_test