Testcase: test_can_unlock_passphrase_screen(Native Device)

Build #:153:20150328:20150210
Arch:mako (Nexus 4)
Release:vivid
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_can_unlock_passphrase_screen(Native Device)
testsuite
unity8.shell.tests.test_lock_screen.TestLockscreen
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Mar 28 07:25:59 ubuntu-phablet kernel: [  211.421394] input: autopilot-finger as /devices/virtual/input/input10
Mar 28 07:26:01 ubuntu-phablet powerd[853]: handle_requestWakeup from :1.131 - ubuntu push client, 1427527861
Mar 28 07:26:01 ubuntu-phablet powerd[853]: void {anonymous}::reset_alarm_clock() found 5 remaining wakeup requests
Mar 28 07:26:01 ubuntu-phablet powerd[853]: setting hardware wakeup time to 2015-03-28 07:27:54 for ubuntu push client
Mar 28 07:26:03 ubuntu-phablet kernel: [  215.595818] pm8xxx-led pm8xxx-led: resume red set 0
Mar 28 07:26:03 ubuntu-phablet kernel: [  215.595879] pm8xxx-led pm8xxx-led: resume green set 0
Mar 28 07:26:03 ubuntu-phablet kernel: [  215.595940] pm8xxx-led pm8xxx-led: resume blue set 0
Mar 28 07:26:04 ubuntu-phablet kernel: [  215.880146] amp_enable: AMP_EN is set to 1
Mar 28 07:26:04 ubuntu-phablet kernel: [  215.903372] setting pm_qos in msm_pcm_playback_copy with 1000
Mar 28 07:26:04 ubuntu-phablet kernel: [  215.903402] done setting pm_qos in msm_pcm_playback_copy
Mar 28 07:26:09 ubuntu-phablet kernel: [  220.915275] updating pm_qos value to default msm_pcm_playback_close
Mar 28 07:26:09 ubuntu-phablet kernel: [  220.915305] done updating pm_qos value to default msm_pcm_playback_close
Mar 28 07:26:09 ubuntu-phablet kernel: [  220.946467] SLIM_CL: skip reconfig sequence
Mar 28 07:26:09 ubuntu-phablet kernel: [  220.956661] amp_enable: amp enable bypass(2)
Mar 28 07:26:09 ubuntu-phablet kernel: [  220.956722] amp_enable: AMP_EN is set to 0
Mar 28 07:26:18 ubuntu-phablet kernel: [  230.543628] input: py-evdev-uinput as /devices/virtual/input/input11
Mar 28 07:26:18 ubuntu-phablet kernel: [  230.544178] keychord: using input dev py-evdev-uinput for fevent
}}}

test-log: {{{
07:25:59.607 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
07:25:59.616 WARNING utilities:263 - WARNING: in file "/home/phablet/autopilot/unity8/shell/tests/__init__.py", line 163 in setUp
This function is deprecated. Please use 'the Touch class to instantiate a device object' instead.

07:25:59.807 INFO __init__:264 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
07:25:59.808 INFO __init__:340 - Setting up LightDM mock lib
07:25:59.869 INFO __init__:349 - New library path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/liblightdm:/vendor/lib:/system/lib
07:25:59.905 INFO __init__:108 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks:/usr/lib/arm-linux-gnueabihf/qt5/imports
07:25:59.922 INFO __init__:312 - Starting unity
07:26:00.007 INFO process_helpers:144 - Starting job unity8 with arguments ('BINARY=/usr/bin/unity8', 'ARGS=',
'QML2_IMPORT_PATH=/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks:/usr/lib/arm-linux-gnueabihf/qt5/imports', 'LIBLIGHTDM_MOCK_MODE=single-passphrase',
'LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/liblightdm:/vendor/lib:/system/lib',
'XDG_DATA_DIRS=/usr/share/unity8/mocks/data:/usr/share/ubuntu-touch:/usr/local/share:/usr/share', 'QT_LOAD_TESTABILITY=1').
07:26:01.041 INFO process_helpers:152 - unity8 start/running, process 6993

07:26:08.640 DEBUG __init__:300 - Unity started, waiting for it to be ready.
07:26:11.111 DEBUG __init__:302 - Unity loaded and ready.
07:26:11.869 DEBUG _uinput:610 - Dragging from 765,669 to 153,669
07:26:11.870 DEBUG _uinput:414 - Moving pointing 'finger' to position 755,669.
07:26:11.871 DEBUG _uinput:419 - The pointing 'finger' is now at position 755,669.
07:26:11.882 DEBUG _uinput:414 - Moving pointing 'finger' to position 745,669.
07:26:11.883 DEBUG _uinput:419 - The pointing 'finger' is now at position 745,669.
07:26:11.894 DEBUG _uinput:414 - Moving pointing 'finger' to position 735,669.
07:26:11.896 DEBUG _uinput:419 - The pointing 'finger' is now at position 735,669.
07:26:11.907 DEBUG _uinput:414 - Moving pointing 'finger' to position 725,669.
07:26:11.908 DEBUG _uinput:419 - The pointing 'finger' is now at position 725,669.
07:26:11.919 DEBUG _uinput:414 - Moving pointing 'finger' to position 715,669.
07:26:11.921 DEBUG _uinput:419 - The pointing 'finger' is now at position 715,669.
07:26:11.933 DEBUG _uinput:414 - Moving pointing 'finger' to position 705,669.
07:26:11.934 DEBUG _uinput:419 - The pointing 'finger' is now at position 705,669.
07:26:11.945 DEBUG _uinput:414 - Moving pointing 'finger' to position 695,669.
07:26:11.946 DEBUG _uinput:419 - The pointing 'finger' is now at position 695,669.
07:26:11.957 DEBUG _uinput:414 - Moving pointing 'finger' to position 685,669.
07:26:11.958 DEBUG _uinput:419 - The pointing 'finger' is now at position 685,669.
07:26:11.969 DEBUG _uinput:414 - Moving pointing 'finger' to position 675,669.
07:26:11.970 DEBUG _uinput:419 - The pointing 'finger' is now at position 675,669.
07:26:11.981 DEBUG _uinput:414 - Moving pointing 'finger' to position 665,669.
07:26:11.982 DEBUG _uinput:419 - The pointing 'finger' is now at position 665,669.
07:26:11.993 DEBUG _uinput:414 - Moving pointing 'finger' to position 655,669.
07:26:11.995 DEBUG _uinput:419 - The pointing 'finger' is now at position 655,669.
07:26:12.007 DEBUG _uinput:414 - Moving pointing 'finger' to position 645,669.
07:26:12.008 DEBUG _uinput:419 - The pointing 'finger' is now at position 645,669.
07:26:12.019 DEBUG _uinput:414 - Moving pointing 'finger' to position 635,669.
07:26:12.020 DEBUG _uinput:419 - The pointing 'finger' is now at position 635,669.
07:26:12.031 DEBUG _uinput:414 - Moving pointing 'finger' to position 625,669.
07:26:12.032 DEBUG _uinput:419 - The pointing 'finger' is now at position 625,669.
07:26:12.043 DEBUG _uinput:414 - Moving pointing 'finger' to position 615,669.
07:26:12.044 DEBUG _uinput:419 - The pointing 'finger' is now at position 615,669.
07:26:12.055 DEBUG _uinput:414 - Moving pointing 'finger' to position 605,669.
07:26:12.056 DEBUG _uinput:419 - The pointing 'finger' is now at position 605,669.
07:26:12.067 DEBUG _uinput:414 - Moving pointing 'finger' to position 595,669.
07:26:12.068 DEBUG _uinput:419 - The pointing 'finger' is now at position 595,669.
07:26:12.079 DEBUG _uinput:414 - Moving pointing 'finger' to position 585,669.
07:26:12.080 DEBUG _uinput:419 - The pointing 'finger' is now at position 585,669.
07:26:12.091 DEBUG _uinput:414 - Moving pointing 'finger' to position 575,669.
07:26:12.093 DEBUG _uinput:419 - The pointing 'finger' is now at position 575,669.
07:26:12.104 DEBUG _uinput:414 - Moving pointing 'finger' to position 565,669.
07:26:12.105 DEBUG _uinput:419 - The pointing 'finger' is now at position 565,669.
07:26:12.117 DEBUG _uinput:414 - Moving pointing 'finger' to position 555,669.
07:26:12.118 DEBUG _uinput:419 - The pointing 'finger' is now at position 555,669.
07:26:12.129 DEBUG _uinput:414 - Moving pointing 'finger' to position 545,669.
07:26:12.130 DEBUG _uinput:419 - The pointing 'finger' is now at position 545,669.
07:26:12.141 DEBUG _uinput:414 - Moving pointing 'finger' to position 535,669.
07:26:12.142 DEBUG _uinput:419 - The pointing 'finger' is now at position 535,669.
07:26:12.153 DEBUG _uinput:414 - Moving pointing 'finger' to position 525,669.
07:26:12.154 DEBUG _uinput:419 - The pointing 'finger' is now at position 525,669.
07:26:12.165 DEBUG _uinput:414 - Moving pointing 'finger' to position 515,669.
07:26:12.166 DEBUG _uinput:419 - The pointing 'finger' is now at position 515,669.
07:26:12.177 DEBUG _uinput:414 - Moving pointing 'finger' to position 505,669.
07:26:12.178 DEBUG _uinput:419 - The pointing 'finger' is now at position 505,669.
07:26:12.189 DEBUG _uinput:414 - Moving pointing 'finger' to position 495,669.
07:26:12.190 DEBUG _uinput:419 - The pointing 'finger' is now at position 495,669.
07:26:12.201 DEBUG _uinput:414 - Moving pointing 'finger' to position 485,669.
07:26:12.203 DEBUG _uinput:419 - The pointing 'finger' is now at position 485,669.
07:26:12.214 DEBUG _uinput:414 - Moving pointing 'finger' to position 475,669.
07:26:12.215 DEBUG _uinput:419 - The pointing 'finger' is now at position 475,669.
07:26:12.226 DEBUG _uinput:414 - Moving pointing 'finger' to position 465,669.
07:26:12.227 DEBUG _uinput:419 - The pointing 'finger' is now at position 465,669.
07:26:12.238 DEBUG _uinput:414 - Moving pointing 'finger' to position 455,669.
07:26:12.240 DEBUG _uinput:419 - The pointing 'finger' is now at position 455,669.
07:26:12.252 DEBUG _uinput:414 - Moving pointing 'finger' to position 445,669.
07:26:12.253 DEBUG _uinput:419 - The pointing 'finger' is now at position 445,669.
07:26:12.264 DEBUG _uinput:414 - Moving pointing 'finger' to position 435,669.
07:26:12.266 DEBUG _uinput:419 - The pointing 'finger' is now at position 435,669.
07:26:12.277 DEBUG _uinput:414 - Moving pointing 'finger' to position 425,669.
07:26:12.278 DEBUG _uinput:419 - The pointing 'finger' is now at position 425,669.
07:26:12.288 DEBUG _uinput:414 - Moving pointing 'finger' to position 415,669.
07:26:12.290 DEBUG _uinput:419 - The pointing 'finger' is now at position 415,669.
07:26:12.301 DEBUG _uinput:414 - Moving pointing 'finger' to position 405,669.
07:26:12.302 DEBUG _uinput:419 - The pointing 'finger' is now at position 405,669.
07:26:12.312 DEBUG _uinput:414 - Moving pointing 'finger' to position 395,669.
07:26:12.313 DEBUG _uinput:419 - The pointing 'finger' is now at position 395,669.
07:26:12.324 DEBUG _uinput:414 - Moving pointing 'finger' to position 385,669.
07:26:12.325 DEBUG _uinput:419 - The pointing 'finger' is now at position 385,669.
07:26:12.336 DEBUG _uinput:414 - Moving pointing 'finger' to position 375,669.
07:26:12.337 DEBUG _uinput:419 - The pointing 'finger' is now at position 375,669.
07:26:12.348 DEBUG _uinput:414 - Moving pointing 'finger' to position 365,669.
07:26:12.350 DEBUG _uinput:419 - The pointing 'finger' is now at position 365,669.
07:26:12.361 DEBUG _uinput:414 - Moving pointing 'finger' to position 355,669.
07:26:12.362 DEBUG _uinput:419 - The pointing 'finger' is now at position 355,669.
07:26:12.373 DEBUG _uinput:414 - Moving pointing 'finger' to position 345,669.
07:26:12.373 DEBUG _uinput:419 - The pointing 'finger' is now at position 345,669.
07:26:12.384 DEBUG _uinput:414 - Moving pointing 'finger' to position 335,669.
07:26:12.385 DEBUG _uinput:419 - The pointing 'finger' is now at position 335,669.
07:26:12.397 DEBUG _uinput:414 - Moving pointing 'finger' to position 325,669.
07:26:12.399 DEBUG _uinput:419 - The pointing 'finger' is now at position 325,669.
07:26:12.410 DEBUG _uinput:414 - Moving pointing 'finger' to position 315,669.
07:26:12.411 DEBUG _uinput:419 - The pointing 'finger' is now at position 315,669.
07:26:12.422 DEBUG _uinput:414 - Moving pointing 'finger' to position 305,669.
07:26:12.423 DEBUG _uinput:419 - The pointing 'finger' is now at position 305,669.
07:26:12.434 DEBUG _uinput:414 - Moving pointing 'finger' to position 295,669.
07:26:12.435 DEBUG _uinput:419 - The pointing 'finger' is now at position 295,669.
07:26:12.446 DEBUG _uinput:414 - Moving pointing 'finger' to position 285,669.
07:26:12.448 DEBUG _uinput:419 - The pointing 'finger' is now at position 285,669.
07:26:12.459 DEBUG _uinput:414 - Moving pointing 'finger' to position 275,669.
07:26:12.460 DEBUG _uinput:419 - The pointing 'finger' is now at position 275,669.
07:26:12.471 DEBUG _uinput:414 - Moving pointing 'finger' to position 265,669.
07:26:12.472 DEBUG _uinput:419 - The pointing 'finger' is now at position 265,669.
07:26:12.483 DEBUG _uinput:414 - Moving pointing 'finger' to position 255,669.
07:26:12.484 DEBUG _uinput:419 - The pointing 'finger' is now at position 255,669.
07:26:12.496 DEBUG _uinput:414 - Moving pointing 'finger' to position 245,669.
07:26:12.501 DEBUG _uinput:419 - The pointing 'finger' is now at position 245,669.
07:26:12.514 DEBUG _uinput:414 - Moving pointing 'finger' to position 235,669.
07:26:12.516 DEBUG _uinput:419 - The pointing 'finger' is now at position 235,669.
07:26:12.527 DEBUG _uinput:414 - Moving pointing 'finger' to position 225,669.
07:26:12.528 DEBUG _uinput:419 - The pointing 'finger' is now at position 225,669.
07:26:12.539 DEBUG _uinput:414 - Moving pointing 'finger' to position 215,669.
07:26:12.540 DEBUG _uinput:419 - The pointing 'finger' is now at position 215,669.
07:26:12.552 DEBUG _uinput:414 - Moving pointing 'finger' to position 205,669.
07:26:12.553 DEBUG _uinput:419 - The pointing 'finger' is now at position 205,669.
07:26:12.564 DEBUG _uinput:414 - Moving pointing 'finger' to position 195,669.
07:26:12.564 DEBUG _uinput:419 - The pointing 'finger' is now at position 195,669.
07:26:12.575 DEBUG _uinput:414 - Moving pointing 'finger' to position 185,669.
07:26:12.576 DEBUG _uinput:419 - The pointing 'finger' is now at position 185,669.
07:26:12.587 DEBUG _uinput:414 - Moving pointing 'finger' to position 175,669.
07:26:12.590 DEBUG _uinput:419 - The pointing 'finger' is now at position 175,669.
07:26:12.603 DEBUG _uinput:414 - Moving pointing 'finger' to position 165,669.
07:26:12.604 DEBUG _uinput:419 - The pointing 'finger' is now at position 165,669.
07:26:12.615 DEBUG _uinput:414 - Moving pointing 'finger' to position 155,669.
07:26:12.616 DEBUG _uinput:419 - The pointing 'finger' is now at position 155,669.
07:26:12.628 DEBUG _uinput:414 - Moving pointing 'finger' to position 153,669.
07:26:12.629 DEBUG _uinput:419 - The pointing 'finger' is now at position 153,669.
07:26:18.855 DEBUG _uinput:195 - Typing text 'password'
07:26:18.856 DEBUG _uinput:57 - Pressing p (25).
07:26:18.957 DEBUG _uinput:88 - Releasing p (25).
07:26:19.059 DEBUG _uinput:57 - Pressing a (30).
07:26:19.167 DEBUG _uinput:88 - Releasing a (30).
07:26:19.272 DEBUG _uinput:57 - Pressing s (31).
07:26:19.378 DEBUG _uinput:88 - Releasing s (31).
07:26:19.485 DEBUG _uinput:57 - Pressing s (31).
07:26:19.599 DEBUG _uinput:88 - Releasing s (31).
07:26:19.703 DEBUG _uinput:57 - Pressing w (17).
07:26:19.810 DEBUG _uinput:88 - Releasing w (17).
07:26:19.917 DEBUG _uinput:57 - Pressing o (24).
07:26:20.029 DEBUG _uinput:88 - Releasing o (24).
07:26:20.133 DEBUG _uinput:57 - Pressing r (19).
07:26:20.243 DEBUG _uinput:88 - Releasing r (19).
07:26:20.352 DEBUG _uinput:57 - Pressing d (32).
07:26:20.474 DEBUG _uinput:88 - Releasing d (32).
07:26:20.658 DEBUG test_lock_screen:126 - Typed passphrase: assword
07:26:21.793 INFO __init__:325 - Stopping unity
07:26:23.928 INFO __init__:242 - Resetting upstart env QT_LOAD_TESTABILITY to None
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/unity8/shell/tests/test_lock_screen.py", line 60, in test_can_unlock_passphrase_screen
    self._enter_pin_passphrase("password")
  File "/home/phablet/autopilot/unity8/shell/tests/test_lock_screen.py", line 127, in _enter_pin_passphrase
    self.assertEqual(pin_entry_field.text, passphrase)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 338, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'assword' != 'password'

command_type
testcase_test