Testcase: test_ussd_invalid_code

Build #:257:20150716: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 16 06:42:12 ubuntu-phablet powerd[892]: handle_requestSysState from :1.93 (active) - ACTIVE (1)
Jul 16 06:42:12 ubuntu-phablet powerd[892]: name_watch_add: looking for :1.93
Jul 16 06:42:12 ubuntu-phablet powerd[892]: watching :1.93 to see when it disappears on dbus
Jul 16 06:42:12 ubuntu-phablet powerd[892]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 16 06:42:12 ubuntu-phablet powerd[892]: handle_requestSysState - SUCCESS
Jul 16 06:42:12 ubuntu-phablet powerd[892]: Enqueue state change to ACTIVE
Jul 16 06:42:12 ubuntu-phablet powerd[892]: queue empty && state == current, discarding
Jul 16 06:42:12 ubuntu-phablet powerd[892]: libsuspend: release_wake_lock: powerd_power_request
Jul 16 06:42:19 ubuntu-phablet powerd[892]: handle_requestSysState from :1.17 (usensord) - ACTIVE (1)
Jul 16 06:42:19 ubuntu-phablet powerd[892]: name_watch_add: looking for :1.17
Jul 16 06:42:19 ubuntu-phablet powerd[892]: watching :1.17 to see when it disappears on dbus
Jul 16 06:42:19 ubuntu-phablet powerd[892]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 16 06:42:19 ubuntu-phablet powerd[892]: handle_requestSysState - SUCCESS
Jul 16 06:42:19 ubuntu-phablet powerd[892]: Enqueue state change to ACTIVE
Jul 16 06:42:19 ubuntu-phablet powerd[892]: queue empty && state == current, discarding
Jul 16 06:42:19 ubuntu-phablet powerd[892]: libsuspend: release_wake_lock: powerd_power_request
Jul 16 06:42:21 ubuntu-phablet powerd[892]: handle_clearSysState from :1.17, cookie: 82e557b1-cf32-4147-afcd-e084f57bfd16
Jul 16 06:42:21 ubuntu-phablet powerd[892]: clear_sys_request: usensord - :1.17
Jul 16 06:42:21 ubuntu-phablet powerd[892]: name_watch_remove: looking for :1.17
Jul 16 06:42:21 ubuntu-phablet powerd[892]: name_watch: ref_count for :1.17 is now 0
Jul 16 06:42:21 ubuntu-phablet powerd[892]: no longer watching :1.17, there are no more requests
Jul 16 06:42:21 ubuntu-phablet powerd[892]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 16 06:42:21 ubuntu-phablet powerd[892]: Enqueue state change to ACTIVE
Jul 16 06:42:21 ubuntu-phablet powerd[892]: queue empty && state == current, discarding
Jul 16 06:42:21 ubuntu-phablet powerd[892]: libsuspend: release_wake_lock: powerd_power_request
Jul 16 06:42:32 ubuntu-phablet powerd[892]: handle_clearSysState from :1.93, cookie: 2d59d255-33e0-4e08-87ad-0d2b7d8024bf
Jul 16 06:42:32 ubuntu-phablet powerd[892]: clear_sys_request: active - :1.93
Jul 16 06:42:32 ubuntu-phablet powerd[892]: name_watch_remove: looking for :1.93
Jul 16 06:42:32 ubuntu-phablet powerd[892]: name_watch: ref_count for :1.93 is now 0
Jul 16 06:42:32 ubuntu-phablet powerd[892]: no longer watching :1.93, there are no more requests
Jul 16 06:42:32 ubuntu-phablet powerd[892]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 16 06:42:32 ubuntu-phablet powerd[892]: Enqueue state change to ACTIVE
Jul 16 06:42:32 ubuntu-phablet powerd[892]: queue empty && state == current, discarding
Jul 16 06:42:32 ubuntu-phablet powerd[892]: libsuspend: release_wake_lock: powerd_power_request
Jul 16 06:42:32 ubuntu-phablet dbus[800]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 16 06:42:33 ubuntu-phablet dbus[800]: [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.
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.
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: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::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.
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.
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:42:12.215 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:42:12.258 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
06:42:12.307 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/dialer-appgil1t02b',). Keyword arguments:
{'global_': False}.
06:42:12.334 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
06:42:18.379 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:42:18.380 DEBUG _uinput:485 - Tapping at: 306,971
06:42:19.046 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:42:19.047 DEBUG _uinput:485 - Tapping at: 306,512
06:42:19.776 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:42:19.778 DEBUG _uinput:485 - Tapping at: 540,512
06:42:20.370 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:42:20.371 DEBUG _uinput:485 - Tapping at: 774,512
06:42:20.992 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:42:20.993 DEBUG _uinput:485 - Tapping at: 774,971
06:42:33.532 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {'global_': False}.
06:42:33.558 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