Testcase: test_ussd_invalid_code

Build #:258:20150717: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 17 08:46:38 ubuntu-phablet kernel: [  151.390233] input: py-evdev-uinput as /devices/virtual/input/input6
Jul 17 08:46:38 ubuntu-phablet kernel: [  151.390996] keychord: using input dev py-evdev-uinput for fevent
Jul 17 08:46:38 ubuntu-phablet kernel: [  151.516221] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul 17 08:46:38 ubuntu-phablet kernel: [  151.814191] mmc0: mmc_start_bkops: Starting bkops
Jul 17 08:46:38 ubuntu-phablet kernel: [  151.825728] input: autopilot-finger as /devices/virtual/input/input7
Jul 17 08:46:39 ubuntu-phablet powerd[965]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 17 08:46:39 ubuntu-phablet powerd[965]: name_watch_add: looking for :1.63
Jul 17 08:46:39 ubuntu-phablet powerd[965]: watching :1.63 to see when it disappears on dbus
Jul 17 08:46:39 ubuntu-phablet powerd[965]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 17 08:46:39 ubuntu-phablet powerd[965]: handle_requestSysState - SUCCESS
Jul 17 08:46:39 ubuntu-phablet powerd[965]: Enqueue state change to ACTIVE
Jul 17 08:46:39 ubuntu-phablet powerd[965]: queue empty && state == current, discarding
Jul 17 08:46:39 ubuntu-phablet powerd[965]: libsuspend: release_wake_lock: powerd_power_request
Jul 17 08:46:46 ubuntu-phablet kernel: [  159.869983] amp_enable: AMP_EN is set to 1
Jul 17 08:46:46 ubuntu-phablet kernel: [  159.893422] setting pm_qos in msm_pcm_playback_copy with 1000
Jul 17 08:46:46 ubuntu-phablet kernel: [  159.893422] done setting pm_qos in msm_pcm_playback_copy
Jul 17 08:46:50 ubuntu-phablet kernel: [  163.398962] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=0
Jul 17 08:46:50 ubuntu-phablet kernel: [  163.398992] mmc0: mmc_start_bkops: Starting bkops
Jul 17 08:47:01 ubuntu-phablet kernel: [  174.732305] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul 17 08:47:01 ubuntu-phablet powerd[965]: handle_clearSysState from :1.63, cookie: bda89cdb-b7f1-41a0-890f-81b249689872
Jul 17 08:47:01 ubuntu-phablet powerd[965]: clear_sys_request: active - :1.63
Jul 17 08:47:01 ubuntu-phablet powerd[965]: name_watch_remove: looking for :1.63
Jul 17 08:47:01 ubuntu-phablet powerd[965]: name_watch: ref_count for :1.63 is now 0
Jul 17 08:47:01 ubuntu-phablet powerd[965]: no longer watching :1.63, there are no more requests
Jul 17 08:47:01 ubuntu-phablet powerd[965]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 17 08:47:01 ubuntu-phablet powerd[965]: Enqueue state change to ACTIVE
Jul 17 08:47:01 ubuntu-phablet powerd[965]: queue empty && state == current, discarding
Jul 17 08:47:01 ubuntu-phablet powerd[965]: libsuspend: release_wake_lock: powerd_power_request
Jul 17 08:47:02 ubuntu-phablet dbus[781]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 17 08:47:02 ubuntu-phablet kernel: [  175.711124] updating pm_qos value to default msm_pcm_playback_close
Jul 17 08:47:02 ubuntu-phablet kernel: [  175.711124] done updating pm_qos value to default msm_pcm_playback_close
Jul 17 08:47:02 ubuntu-phablet kernel: [  175.742255] SLIM_CL: skip reconfig sequence
Jul 17 08:47:02 ubuntu-phablet kernel: [  175.753425] amp_enable: amp enable bypass(2)
Jul 17 08:47:02 ubuntu-phablet kernel: [  175.753486] amp_enable: AMP_EN is set to 0
Jul 17 08:47:02 ubuntu-phablet dbus[781]: [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)
[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.
}}}

test-log: {{{
08:46:38.930 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
08:46:38.971 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('en',). Keyword arguments: {'global_': False}.
08:46:39.017 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/dialer-apph0rc0biz',). Keyword arguments:
{'global_': False}.
08:46:39.039 INFO _launcher:120 - Attempting to launch application 'dialer-app' with URIs '' via upstart-app-launch
08:46:46.117 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:46:46.118 DEBUG _uinput:485 - Tapping at: 306,971
08:46:46.773 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:46:46.774 DEBUG _uinput:485 - Tapping at: 306,512
08:46:47.421 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:46:47.422 DEBUG _uinput:485 - Tapping at: 540,512
08:46:48.070 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:46:48.071 DEBUG _uinput:485 - Tapping at: 774,512
08:46:48.700 DEBUG _common:45 - Moving to object's globalRect coordinates.
08:46:48.701 DEBUG _uinput:485 - Tapping at: 774,971
08:47:02.834 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {'global_': False}.
08:47:02.859 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