Testcase: test_ussd_invalid_code

Build #:256:20150715: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 15 06:03:44 ubuntu-phablet powerd[893]: handle_requestSysState from :1.82 (active) - ACTIVE (1)
Jul 15 06:03:44 ubuntu-phablet powerd[893]: name_watch_add: looking for :1.82
Jul 15 06:03:44 ubuntu-phablet powerd[893]: watching :1.82 to see when it disappears on dbus
Jul 15 06:03:44 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 06:03:44 ubuntu-phablet powerd[893]: handle_requestSysState - SUCCESS
Jul 15 06:03:44 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jul 15 06:03:44 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jul 15 06:03:44 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 06:03:51 ubuntu-phablet powerd[893]: handle_requestSysState from :1.19 (usensord) - ACTIVE (1)
Jul 15 06:03:51 ubuntu-phablet powerd[893]: name_watch_add: looking for :1.19
Jul 15 06:03:51 ubuntu-phablet powerd[893]: watching :1.19 to see when it disappears on dbus
Jul 15 06:03:51 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 06:03:51 ubuntu-phablet powerd[893]: handle_requestSysState - SUCCESS
Jul 15 06:03:51 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jul 15 06:03:51 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jul 15 06:03:51 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 06:03:53 ubuntu-phablet powerd[893]: handle_clearSysState from :1.19, cookie: a675a6d9-fbae-45e1-a548-b13866caf7fc
Jul 15 06:03:53 ubuntu-phablet powerd[893]: clear_sys_request: usensord - :1.19
Jul 15 06:03:53 ubuntu-phablet powerd[893]: name_watch_remove: looking for :1.19
Jul 15 06:03:53 ubuntu-phablet powerd[893]: name_watch: ref_count for :1.19 is now 0
Jul 15 06:03:53 ubuntu-phablet powerd[893]: no longer watching :1.19, there are no more requests
Jul 15 06:03:53 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 06:03:53 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jul 15 06:03:53 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jul 15 06:03:53 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 06:04:04 ubuntu-phablet powerd[893]: handle_clearSysState from :1.82, cookie: dd92c35d-fe69-47e1-b151-a79e2e5de671
Jul 15 06:04:04 ubuntu-phablet powerd[893]: clear_sys_request: active - :1.82
Jul 15 06:04:04 ubuntu-phablet powerd[893]: name_watch_remove: looking for :1.82
Jul 15 06:04:04 ubuntu-phablet powerd[893]: name_watch: ref_count for :1.82 is now 0
Jul 15 06:04:04 ubuntu-phablet powerd[893]: no longer watching :1.82, there are no more requests
Jul 15 06:04:04 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 15 06:04:04 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jul 15 06:04:04 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jul 15 06:04:04 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jul 15 06:04:05 ubuntu-phablet dbus[765]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 15 06:04:05 ubuntu-phablet dbus[765]: [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:365: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:365: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:365: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.
void CallManager::onCallEnded()
The phone number is not a valid number: ""
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:365: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.
UbuntuWindow::handleSurfaceFocusChange(focused=false)
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::handleSurfaceResize(width=1080, height=846)
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:365: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::handleSurfaceResize(width=1080, height=846)
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:365: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.
void CallManager::onCallEnded()
The phone number is not a valid number: ""
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::handleSurfaceResize(width=1080, height=846)
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:365: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::handleSurfaceResize(width=1080, height=846)
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:365: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:03:44.226 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:03:44.272 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
06:03:44.321 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/dialer-appdo0b_4yj',). Keyword arguments:
{'global_': False}.
06:03:44.346 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
06:03:50.638 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:03:50.639 DEBUG _uinput:485 - Tapping at: 306,971
06:03:51.319 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:03:51.321 DEBUG _uinput:485 - Tapping at: 306,512
06:03:51.962 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:03:51.963 DEBUG _uinput:485 - Tapping at: 540,512
06:03:52.573 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:03:52.574 DEBUG _uinput:485 - Tapping at: 774,512
06:03:53.201 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:03:53.202 DEBUG _uinput:485 - Tapping at: 774,971
06:04:05.901 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {'global_': False}.
06:04:05.931 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('', variant_level=1)

command_type
testcase_test