Testcase: test_add_city_by_searching_must_add_world_city

Build #:106:20141027.1:20141017.2
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_add_city_by_searching_must_add_world_city
testsuite
ubuntu_clock_app.tests.test_clock.TestClock
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct 27 15:28:53 ubuntu-phablet kernel: [  229.057037] input: py-evdev-uinput as /devices/virtual/input/input7
Oct 27 15:28:53 ubuntu-phablet kernel: [  229.057830] keychord: using input dev py-evdev-uinput for fevent
Oct 27 15:28:55 ubuntu-phablet kernel: [  230.827331] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
149, rssi = -66, countryCode US
Oct 27 15:28:55 ubuntu-phablet kernel: [  230.828308] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -51, countryCode US
Oct 27 15:28:55 ubuntu-phablet kernel: [  230.828796] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -51, countryCode US
Oct 27 15:28:55 ubuntu-phablet kernel: [  230.829925] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -49, countryCode US
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.083618] bq27541_get_psp status: Full ret= 0x0201
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.084167] bq27541_get_psp status: Full ret= 0x0201
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.084747] bq27541_get_psp voltage_now= 4264000 uV
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.085296] bq27541_get_capacity = 100% ret= 99
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.085845] bq27541_get_psp temperature= 259 (0.1¢XC)
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.086975] bq27541_get_psp current = 40 mA
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.103118] bq27541_get_capacity = 100% ret= 99
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.133117] bq27541_get_psp voltage_now= 4264000 uV
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.134002] bq27541_get_psp status: Full ret= 0x0028
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.135101] bq27541_get_psp voltage_now= 4264000 uV
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.135498] bq27541_get_psp current = -1 mA
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.136230] bq27541_get_capacity check capacity, cap = 2989, smb_retry = 0
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.136627] bq27541_get_psp error: temperature ret=4264, old_temp=259 
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.136627] bq27541_get_psp temperature= 259 (0.1¢XC)
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.137359] bq27541_get_capacity check capacity, cap = 513, smb_retry = 1
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.137756] bq27541_get_psp status: Full ret= 0x0f17
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.138275] bq27541_get_capacity = 100% ret= 99
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.138854] bq27541_get_psp temperature= 259 (0.1¢XC)
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.139953] bq27541_get_psp current = 40 mA
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.141937] bq27541_get_psp status: Full ret= 0x0201
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.142486] bq27541_get_psp voltage_now= 4264000 uV
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.143035] bq27541_get_capacity = 100% ret= 99
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.143615] bq27541_get_psp temperature= 259 (0.1¢XC)
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.144714] bq27541_get_psp current = 40 mA
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.146331] bq27541_get_psp voltage_now= 4264000 uV
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.151977] bq27541_get_psp status: Full ret= 0x0201
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.154266] bq27541_get_psp current = 40 mA
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.154907] bq27541_get_psp voltage_now= 4264000 uV
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.155578] bq27541_get_capacity = 100% ret= 99
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.156219] bq27541_get_psp temperature= 259 (0.1¢XC)
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.186004] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.186248] smb345_charger: [smb345_config_thermal_charging] temp=25, volt=4271000
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.186614] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Oct 27 15:29:09 ubuntu-phablet kernel: [  245.186889] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

Application Log (com.ubuntu.clock_clock_3.2.158): {{{
libust[4241/4244]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4241/4244]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4241/4243]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4241/4243]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1862)
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.
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.
qml: [LOG]: Alarm Page loaded

(process:4241): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4241): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4241): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
libust[4400/4402]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4400/4402]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
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.
UbuntuWindow::handleSurfaceResize(width=1200, height=1862)
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.
qml: [LOG]: Alarm Page loaded

(process:4400): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4400): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4400): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
libust[4505/4510]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4505/4510]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4505/4512]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4505/4512]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
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.
UbuntuWindow::handleSurfaceResize(width=1200, height=1862)
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.
qml: [LOG]: Alarm Page loaded

(process:4505): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4505): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4505): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
libust[4612/4614]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4612/4614]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
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.
UbuntuWindow::handleSurfaceResize(width=1200, height=1862)
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.
qml: [LOG]: Alarm Page loaded
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory

(process:4612): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4612): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4612): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: Search string: Venice
qml: Enabling online mode
qml: Online URL: http://geoname-lookup.ubuntu.com/?query=Venice&app=com.ubuntu.clock&version=3.2.x
}}}

test-log: {{{
15:28:44.968 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:28:44.975 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:28:44.977 INFO logging:45 - TestClock: launch_test_click. Arguments (). Keyword arguments: {}.
15:28:44.977 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
15:28:45.678 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.clock_clock_3.2.158' with URIs '' via upstart-app-launch
15:28:49.240 INFO logging:45 - MainView: Open the Clock Page. Arguments (). Keyword arguments: {}.
15:28:49.451 INFO logging:45 - ClockPage: Swipe to reveal WorldCityList. Arguments (). Keyword arguments: {}.
15:28:49.636 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:28:49.637 DEBUG _uinput:470 - Tapping at: 600,993
15:28:50.872 INFO logging:45 - MainView: Return the World City List page. Arguments (). Keyword arguments: {}.
15:28:51.898 INFO logging:45 - WorldCityList: Add world city by searching the world city name. Arguments ('Venice', 'Provincia di Venezia, Veneto,
Italy'). Keyword arguments: {}.
15:28:52.558 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:28:52.559 DEBUG _uinput:470 - Tapping at: 1137,121
15:28:53.782 INFO logging:45 - TextField: Write into the text field. Arguments ('Venice',). Keyword arguments: {}.
15:28:53.812 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:28:53.813 DEBUG _uinput:470 - Tapping at: 636,121
15:28:53.953 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
15:28:54.000 DEBUG _uinput:195 - Typing text 'Venice'
15:28:54.002 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
15:28:54.104 DEBUG _uinput:57 - Pressing V (47).
15:28:54.206 DEBUG _uinput:88 - Releasing V (47).
15:28:54.308 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
15:28:54.409 DEBUG _uinput:57 - Pressing e (18).
15:28:54.511 DEBUG _uinput:88 - Releasing e (18).
15:28:54.612 DEBUG _uinput:57 - Pressing n (49).
15:28:54.714 DEBUG _uinput:88 - Releasing n (49).
15:28:54.817 DEBUG _uinput:57 - Pressing i (23).
15:28:54.921 DEBUG _uinput:88 - Releasing i (23).
15:28:55.024 DEBUG _uinput:57 - Pressing c (46).
15:28:55.131 DEBUG _uinput:88 - Releasing c (46).
15:28:55.236 DEBUG _uinput:57 - Pressing e (18).
15:28:55.343 DEBUG _uinput:88 - Releasing e (18).
15:28:55.464 INFO logging:45 - WorldCityList: Add world city from list. Arguments ('Venice', 'Provincia di Venezia, Veneto, Italy'). Keyword
arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_clock.py", line 77, in test_add_city_by_searching_must_add_world_city
    worldCityList.add_world_city_from_list(city_Name, country_Name)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntu_clock_app/emulators.py", line 265, in add_world_city_from_list
    cityList.count.wait_for(GreaterThan(0))
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 411, in __getattr__
    self.refresh_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 367, in refresh_state
    _, new_state = self._get_new_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 427, in _get_new_state
    return self._backend.execute_query_get_data(self._query)[0]
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 221, in execute_query_get_data
    query.server_query_bytes()
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not
send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

command_type
testcase_test