Testcase: test_two_negatives_in_three_numbers_multiplication

Build #:233:20140312:20140304
Arch:flo (Nexus 7 2013)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_two_negatives_in_three_numbers_multiplication
testsuite
ubuntu_calculator_app.tests.test_simple_page.TestSimplePage
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar 12 07:25:59 ubuntu-phablet kernel: [  113.111083] SLIM_CL: skip reconfig sequence
Mar 12 07:25:59 ubuntu-phablet kernel: [  122.478759] wlan: [1144:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.020111] bq27541_get_psp voltage_now= 4122000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.021606] bq27541_get_psp status: Charging ret= 0x0101
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.023223] bq27541_get_psp current = -205 mA
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.023864] bq27541_get_psp voltage_now= 4122000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.024536] bq27541_get_capacity = 89% ret= 88
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.025207] bq27541_get_psp temperature= 200 (0.1¢XC)
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.339263] bq27541_get_psp status: Charging ret= 0x0101
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.339904] bq27541_get_psp status: Charging ret= 0x0101
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.340484] bq27541_get_psp voltage_now= 4118000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.341033] bq27541_get_capacity = 89% ret= 88
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.341583] bq27541_get_psp temperature= 200 (0.1¢XC)
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.342712] bq27541_get_psp current = -189 mA
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.344451] bq27541_get_capacity = 89% ret= 88
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.349121] bq27541_get_psp status: Charging ret= 0x1016
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.349639] bq27541_get_psp voltage_now= 4118000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.350433] bq27541_get_psp voltage_now= 4118000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.354736] bq27541_get_capacity check capacity, cap = 65347, smb_retry = 0
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.356262] bq27541_get_psp current = 559 mA
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.357543] bq27541_get_capacity check capacity, cap = 2930, smb_retry = 1
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.358001] bq27541_get_psp error: temperature ret=4118, old_temp=200 
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.358001] bq27541_get_psp temperature= 200 (0.1¢XC)
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.359283] bq27541_get_capacity check capacity, cap = 257, smb_retry = 2
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.359283] bq27541_get_capacity use old capacity=89
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.359680] bq27541_get_psp status: Charging ret= 0x0d70
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.360015] healthd: battery l=89 v=4118 t=20.0 h=2 st=2 c=0 chg=u
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.360595] bq27541_get_psp temperature= 200 (0.1¢XC)
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.361724] bq27541_get_psp current = -189 mA
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.363464] bq27541_get_psp status: Charging ret= 0x0101
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.364013] bq27541_get_psp voltage_now= 4118000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.364562] bq27541_get_capacity = 89% ret= 88
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.365112] bq27541_get_psp temperature= 200 (0.1¢XC)
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.366241] bq27541_get_psp current = -189 mA
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.368194] bq27541_get_psp voltage_now= 4118000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.372253] bq27541_get_psp status: Charging ret= 0x0101
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.373809] bq27541_get_psp current = -189 mA
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.374450] bq27541_get_psp voltage_now= 4118000 uV
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.375091] bq27541_get_capacity = 89% ret= 88
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.375732] bq27541_get_psp temperature= 200 (0.1¢XC)
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.438964] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.439208] smb345_charger: [smb345_config_thermal_charging] temp=20, volt=4122000
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.439575] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar 12 07:26:01 ubuntu-phablet kernel: [  124.439849] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.140289] audit_printk_skb: 30 callbacks suppressed
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.140319] type=1400 audit(1394609172.187:86): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="/usr/bin/lxc-start" pid=2863 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.144927] type=1400 audit(1394609172.187:87): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="lxc-container-default" pid=2861 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.144989] type=1400 audit(1394609172.187:88): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="lxc-container-default-with-mounting" pid=2861 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.145019] type=1400 audit(1394609172.187:89): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="lxc-container-default-with-nesting" pid=2861 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.145751] type=1400 audit(1394609172.187:90): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="lxc-container-default-with-mounting" pid=2861 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.145782] type=1400 audit(1394609172.187:91): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="lxc-container-default-with-nesting" pid=2861 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.146270] type=1400 audit(1394609172.187:92): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="lxc-container-default-with-nesting" pid=2861 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.146667] type=1400 audit(1394609172.187:93): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=2860 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.198822] type=1400 audit(1394609172.247:94): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="chromium_browser" pid=2860 comm="apparmor_parser"
Mar 12 07:26:12 ubuntu-phablet kernel: [  135.199005] type=1400 audit(1394609172.247:95): apparmor="STATUS" operation="profile_replace" parent=2855
profile="unconfined" name="/sbin/dhclient" pid=2862 comm="apparmor_parser"
}}}

Application Log: {{{
libust[2663/2665]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2663/2665]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2663/2666]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2663/2666]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database upgraded to 0.1
Database upgraded to 0.2
callbacks 0xb3dd7ead 0xb3dd7e59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: calculator'QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
libust[2743/2746]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2743/2746]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database upgraded to 0.1
Database upgraded to 0.2
callbacks 0xb3d3fead 0xb3d3fe59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: calculator'QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
"
}}}

test-log: {{{
07:25:52.964 INFO globals:57 - ************************************************************
07:25:52.966 INFO globals:58 - Starting test
ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_two_negatives_in_three_numbers_multiplication
07:25:52.968 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:25:52.974 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
07:25:52.976 DEBUG __init__:84 - Backed up database
07:25:55.472 INFO _launcher:83 - Click package com.ubuntu.calculator_calculator_0.1.3.224 has been launched with PID 2743
07:25:57.332 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:25:57.359 DEBUG dbus:432 - Selecting objects of type CalcKeyboard with attributes: {}
07:25:57.383 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'signButton'}
07:25:57.504 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:57.505 DEBUG _uinput:475 - Tapping at: 468,1044
07:25:57.607 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'twoButton'}
07:25:57.713 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:57.714 DEBUG _uinput:475 - Tapping at: 468,1620
07:25:57.817 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'multiplyButton'}
07:25:57.920 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:57.921 DEBUG _uinput:475 - Tapping at: 996,1044
07:25:58.022 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'signButton'}
07:25:58.131 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:58.132 DEBUG _uinput:475 - Tapping at: 468,1044
07:25:58.234 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'threeButton'}
07:25:58.339 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:58.339 DEBUG _uinput:475 - Tapping at: 732,1620
07:25:58.441 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'multiplyButton'}
07:25:58.546 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:58.547 DEBUG _uinput:475 - Tapping at: 996,1044
07:25:58.649 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'fiveButton'}
07:25:58.759 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:58.760 DEBUG _uinput:475 - Tapping at: 468,1428
07:25:58.863 DEBUG dbus:432 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'equalsButton'}
07:25:58.972 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:25:58.973 DEBUG _uinput:475 - Tapping at: 996,1716
07:25:59.075 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:26:15.636 ERROR proxies:410 - Introspect error on :1.71:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
07:26:15.637 DEBUG proxies:413 - Executing introspect queue due to error
07:26:15.646 INFO _launcher:264 - waiting for process to exit.
07:26:15.646 INFO _launcher:279 - Killing process 2743
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_calculator_app/tests/test_simple_page.py", line 155, in test_two_negatives_in_three_numbers_multiplication
    self._assert_result("30")
  File "/home/phablet/autopilot/ubuntu_calculator_app/tests/test_simple_page.py", line 63, in _assert_result
    self.main_view.get_result, Eventually(Equals(expected_result)))
  File "/home/phablet/autopilot/ubuntu_calculator_app/tests/__init__.py", line 102, in main_view
    return self.app.select_single(emulators.MainView)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 319, in select_single
    instances = self.select_many(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 457, in select_many
    state_dicts = self.get_state_by_path(query_path)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 541, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.71 was not provided by any .service files

command_type
testcase_test