Testcase: test_close_tab

Build #:232:20140311.2: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_close_tab
testsuite
webbrowser_app.tests.test_tabs.TestTabs
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout

/var/log/syslog: {{{
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.653259] bq27541_get_psp status: Charging ret= 0x0201
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.653961] bq27541_get_psp status: Charging ret= 0x0201
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.654602] bq27541_get_psp voltage_now= 4214000 uV
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.655242] bq27541_get_capacity = 98% ret= 97
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.655883] bq27541_get_psp temperature= 202 (0.1¢XC)
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.657104] bq27541_get_psp current = -39 mA
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.670593] bq27541_get_capacity = 98% ret= 97
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.673706] bq27541_get_psp voltage_now= 4214000 uV
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.682739] bq27541_get_psp current = -39 mA
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.685577] bq27541_get_psp status: Charging ret= 0x0b74
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.689117] bq27541_get_psp error: temperature ret=4214, old_temp=202 
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.689147] bq27541_get_psp temperature= 202 (0.1¢XC)
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.691192] bq27541_get_psp voltage_now= 4214000 uV
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.692871] bq27541_get_psp status: Charging ret= 0x0061
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.693237] bq27541_get_capacity = 100% ret= 100
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.693878] bq27541_get_psp temperature= 202 (0.1¢XC)
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.695068] bq27541_get_psp current = -39 mA
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.700653] healthd: battery l=98 v=4214 t=20.2 h=2 st=2 c=0 chg=u
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.702789] bq27541_get_psp status: Full ret= 0x0201
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.704376] bq27541_get_psp voltage_now= 4214000 uV
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.705352] bq27541_get_capacity = 98% ret= 97
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.713439] bq27541_get_psp temperature= 202 (0.1¢XC)
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.714813] bq27541_get_psp current = -39 mA
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.721984] bq27541_get_psp voltage_now= 4214000 uV
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.723419] bq27541_get_psp status: Charging ret= 0x0201
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.725006] bq27541_get_psp current = -39 mA
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.725738] bq27541_get_psp voltage_now= 4214000 uV
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.726409] bq27541_get_capacity = 98% ret= 97
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.727050] bq27541_get_psp temperature= 202 (0.1¢XC)
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.817047] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.817321] smb345_charger: [smb345_config_thermal_charging] temp=20, volt=4210000
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.817687] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar 11 23:08:01 ubuntu-phablet kernel: [  184.817962] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

process-return-code: {{{-15}}}
process-stderr: {{{
/usr/bin/webbrowser-app: invalid option -- 't'
/usr/bin/webbrowser-app: invalid option -- 'e'
/usr/bin/webbrowser-app: invalid option -- 's'
/usr/bin/webbrowser-app: invalid option -- 't'
/usr/bin/webbrowser-app: invalid option -- 'a'
/usr/bin/webbrowser-app: invalid option -- 'b'
/usr/bin/webbrowser-app: invalid option -- 'i'
/usr/bin/webbrowser-app: invalid option -- 'l'
/usr/bin/webbrowser-app: invalid option -- 'i'
/usr/bin/webbrowser-app: invalid option -- 't'
/usr/bin/webbrowser-app: invalid option -- 'y'
/usr/bin/webbrowser-app: unrecognized option '--fullscreen'
Testability driver loaded. Wire protocol version is "1.4".

WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

callbacks 0xb4019ead 0xb4019e59
creating surface at (0, 58) with size (1200, 1862) with title 'Window 1'
QUbuntuWindow::moveResize (this=0xb7838b48, x=0, y=0, w=1200, h=1920)
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.
" 
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.
" 
Detectable autorepeat not supported. 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
"
}}}

test-log: {{{
23:07:35.941 INFO globals:57 - ************************************************************
23:07:35.942 INFO globals:58 - Starting test webbrowser_app.tests.test_tabs.TestTabs.test_close_tab
23:07:35.944 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
23:07:35.949 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
23:07:35.964 INFO _launcher:159 - Launching process: ['/usr/bin/webbrowser-app', '-testability', '--fullscreen',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', 'http://localhost:12345/loremipsum']
23:07:39.073 INFO http_server:93 - "GET /loremipsum HTTP/1.1" 200 -
23:07:39.078 INFO http_server:93 - "GET /loremipsum HTTP/1.1" 200 -
23:07:39.081 ERROR proxies:410 - Introspect error on :1.89:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownObject: No such object path '/com/canonical/Autopilot/Introspection'
23:07:39.082 DEBUG proxies:413 - Executing introspect queue due to error
23:07:39.328 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:39.393 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:39.426 DEBUG dbus:432 - Selecting objects of type WebViewImpl with attributes: {}
23:07:39.754 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:39.784 DEBUG dbus:432 - Selecting objects of type WebViewImpl with attributes: {}
23:07:39.908 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:39.909 DEBUG _uinput:475 - Tapping at: 600,960
23:07:40.012 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:40.061 DEBUG dbus:432 - Selecting objects of type Panel with attributes: {}
23:07:40.273 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:40.315 DEBUG dbus:432 - Selecting objects of type KeyboardRectangle with attributes: {}
23:07:40.380 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:40.411 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:07:40.412 DEBUG dbus:432 - Selecting objects of type Panel with attributes: {}
23:07:40.439 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:07:40.564 DEBUG _uinput:546 - Dragging from 600,1919 to 600,1776
23:07:41.875 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
23:07:41.876 DEBUG dbus:432 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
23:07:42.016 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:42.017 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:07:42.080 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:42.081 DEBUG _uinput:475 - Tapping at: 1119,1848
23:07:42.185 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:42.781 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:42.829 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:42.882 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:42.914 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:42.948 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:42.981 DEBUG dbus:432 - Selecting objects of type TabsList with attributes: {}
23:07:43.006 DEBUG dbus:432 - Selecting objects of type UbuntuShape with attributes: {'objectName': 'newTabDelegate'}
23:07:43.075 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:43.075 DEBUG _uinput:475 - Tapping at: 144,1704
23:07:43.177 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:43.373 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:43.412 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:43.470 DEBUG dbus:432 - Selecting objects of type KeyboardRectangle with attributes: {}
23:07:44.633 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:44.668 DEBUG dbus:432 - Selecting objects of type Panel with attributes: {}
23:07:44.793 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:44.831 DEBUG dbus:432 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
23:07:45.114 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:45.149 DEBUG dbus:432 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
23:07:45.419 DEBUG _uinput:200 - Typing text 'http://localhost:12345/aleaiactaest'
23:07:45.420 DEBUG _uinput:62 - Pressing h (35).
23:07:45.521 DEBUG _uinput:93 - Releasing h (35).
23:07:45.622 DEBUG _uinput:62 - Pressing t (20).
23:07:45.723 DEBUG _uinput:93 - Releasing t (20).
23:07:45.824 DEBUG _uinput:62 - Pressing t (20).
23:07:45.925 DEBUG _uinput:93 - Releasing t (20).
23:07:46.026 DEBUG _uinput:62 - Pressing p (25).
23:07:46.127 DEBUG _uinput:93 - Releasing p (25).
23:07:46.229 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
23:07:46.330 DEBUG _uinput:62 - Pressing SEMICOLON (39).
23:07:46.431 DEBUG _uinput:93 - Releasing SEMICOLON (39).
23:07:46.532 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
23:07:46.633 DEBUG _uinput:62 - Pressing SLASH (53).
23:07:46.735 DEBUG _uinput:93 - Releasing SLASH (53).
23:07:46.836 DEBUG _uinput:62 - Pressing SLASH (53).
23:07:46.937 DEBUG _uinput:93 - Releasing SLASH (53).
23:07:47.038 DEBUG _uinput:62 - Pressing l (38).
23:07:47.140 DEBUG _uinput:93 - Releasing l (38).
23:07:47.241 DEBUG _uinput:62 - Pressing o (24).
23:07:47.342 DEBUG _uinput:93 - Releasing o (24).
23:07:47.443 DEBUG _uinput:62 - Pressing c (46).
23:07:47.544 DEBUG _uinput:93 - Releasing c (46).
23:07:47.645 DEBUG _uinput:62 - Pressing a (30).
23:07:47.746 DEBUG _uinput:93 - Releasing a (30).
23:07:47.847 DEBUG _uinput:62 - Pressing l (38).
23:07:47.948 DEBUG _uinput:93 - Releasing l (38).
23:07:48.049 DEBUG _uinput:62 - Pressing h (35).
23:07:48.150 DEBUG _uinput:93 - Releasing h (35).
23:07:48.251 DEBUG _uinput:62 - Pressing o (24).
23:07:48.352 DEBUG _uinput:93 - Releasing o (24).
23:07:48.454 DEBUG _uinput:62 - Pressing s (31).
23:07:48.555 DEBUG _uinput:93 - Releasing s (31).
23:07:48.656 DEBUG _uinput:62 - Pressing t (20).
23:07:48.759 DEBUG _uinput:93 - Releasing t (20).
23:07:48.861 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
23:07:48.962 DEBUG _uinput:62 - Pressing SEMICOLON (39).
23:07:49.063 DEBUG _uinput:93 - Releasing SEMICOLON (39).
23:07:49.164 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
23:07:49.265 DEBUG _uinput:62 - Pressing 1 (2).
23:07:49.366 DEBUG _uinput:93 - Releasing 1 (2).
23:07:49.468 DEBUG _uinput:62 - Pressing 2 (3).
23:07:49.569 DEBUG _uinput:93 - Releasing 2 (3).
23:07:49.670 DEBUG _uinput:62 - Pressing 3 (4).
23:07:49.771 DEBUG _uinput:93 - Releasing 3 (4).
23:07:49.872 DEBUG _uinput:62 - Pressing 4 (5).
23:07:49.974 DEBUG _uinput:93 - Releasing 4 (5).
23:07:50.075 DEBUG _uinput:62 - Pressing 5 (6).
23:07:50.176 DEBUG _uinput:93 - Releasing 5 (6).
23:07:50.277 DEBUG _uinput:62 - Pressing SLASH (53).
23:07:50.379 DEBUG _uinput:93 - Releasing SLASH (53).
23:07:50.480 DEBUG _uinput:62 - Pressing a (30).
23:07:50.582 DEBUG _uinput:93 - Releasing a (30).
23:07:50.683 DEBUG _uinput:62 - Pressing l (38).
23:07:50.784 DEBUG _uinput:93 - Releasing l (38).
23:07:50.885 DEBUG _uinput:62 - Pressing e (18).
23:07:50.986 DEBUG _uinput:93 - Releasing e (18).
23:07:51.087 DEBUG _uinput:62 - Pressing a (30).
23:07:51.189 DEBUG _uinput:93 - Releasing a (30).
23:07:51.290 DEBUG _uinput:62 - Pressing i (23).
23:07:51.391 DEBUG _uinput:93 - Releasing i (23).
23:07:51.493 DEBUG _uinput:62 - Pressing a (30).
23:07:51.594 DEBUG _uinput:93 - Releasing a (30).
23:07:51.695 DEBUG _uinput:62 - Pressing c (46).
23:07:51.796 DEBUG _uinput:93 - Releasing c (46).
23:07:51.897 DEBUG _uinput:62 - Pressing t (20).
23:07:51.999 DEBUG _uinput:93 - Releasing t (20).
23:07:52.100 DEBUG _uinput:62 - Pressing a (30).
23:07:52.201 DEBUG _uinput:93 - Releasing a (30).
23:07:52.303 DEBUG _uinput:62 - Pressing e (18).
23:07:52.404 DEBUG _uinput:93 - Releasing e (18).
23:07:52.505 DEBUG _uinput:62 - Pressing s (31).
23:07:52.606 DEBUG _uinput:93 - Releasing s (31).
23:07:52.708 DEBUG _uinput:62 - Pressing t (20).
23:07:52.809 DEBUG _uinput:93 - Releasing t (20).
23:07:52.911 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:52.992 DEBUG dbus:432 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
23:07:53.213 DEBUG dbus:432 - Selecting objects of type TextField with attributes: {}
23:07:53.349 DEBUG _uinput:185 - Pressing and Releasing: Enter
23:07:53.350 DEBUG _uinput:62 - Pressing Enter (28).
23:07:53.371 INFO http_server:93 - "GET /aleaiactaest HTTP/1.1" 200 -
23:07:53.392 INFO http_server:93 - "GET /aleaiactaest HTTP/1.1" 200 -
23:07:53.452 DEBUG _uinput:93 - Releasing Enter (28).
23:07:53.553 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:53.599 DEBUG dbus:432 - Selecting objects of type KeyboardRectangle with attributes: {}
23:07:53.677 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:53.719 DEBUG dbus:432 - Selecting objects of type WebViewImpl with attributes: {}
23:07:54.097 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:54.144 DEBUG dbus:432 - Selecting objects of type WebViewImpl with attributes: {}
23:07:54.412 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:54.413 DEBUG _uinput:475 - Tapping at: 600,960
23:07:54.515 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:54.660 DEBUG dbus:432 - Selecting objects of type Panel with attributes: {}
23:07:54.803 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:54.838 DEBUG dbus:432 - Selecting objects of type KeyboardRectangle with attributes: {}
23:07:54.913 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:54.952 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:07:54.952 DEBUG dbus:432 - Selecting objects of type Panel with attributes: {}
23:07:54.985 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:07:55.130 DEBUG _uinput:546 - Dragging from 600,1919 to 600,1776
23:07:56.414 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
23:07:56.415 DEBUG dbus:432 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
23:07:56.530 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:56.531 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:07:56.602 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:56.602 DEBUG _uinput:475 - Tapping at: 1119,1848
23:07:56.704 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:57.163 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:57.208 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:57.258 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:57.292 DEBUG dbus:432 - Selecting objects of type TabsList with attributes: {}
23:07:57.316 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
23:07:57.395 DEBUG dbus:432 - Selecting objects of type Browser with attributes: {}
23:07:57.437 DEBUG dbus:432 - Selecting objects of type ActivityView with attributes: {}
23:07:57.471 DEBUG dbus:432 - Selecting objects of type TabsList with attributes: {}
23:07:57.500 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
23:07:57.550 DEBUG dbus:432 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
23:07:57.700 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:07:57.701 DEBUG _uinput:502 - Pressing at: 396,1731
23:07:58.706 DEBUG _uinput:511 - Releasing
23:08:09.444 INFO _launcher:352 - waiting for process to exit.
23:08:09.445 INFO _launcher:279 - Killing process 3535
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/webbrowser_app/tests/test_tabs.py", line 112, in test_close_tab
    self.toggle_close_tab_mode()
  File "/usr/lib/python2.7/dist-packages/webbrowser_app/tests/test_tabs.py", line 47, in toggle_close_tab_mode
    self.assertThat(view.state, Eventually(Equals('close')))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: After 10.0 seconds test on QQuickListView.state failed: u'close' != dbus.String(u'', variant_level=1)

command_type
testcase_test