** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1388896

Title:
  autopilot test fails:
  ubuntuuitoolkit.tests.gallery.test_textinput.DisabledTextInputTestCase

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  http://dashboard.ubuntu-
  
ci:8080/smokeng/utopic/touch_stable/krillin/140:20141031.1:20141028-3ca60be/654/ubuntuuitoolkit/229419/

  testsuite

  ubuntuuitoolkit.tests.gallery.test_textinput.DisabledTextInputTestCase

  returncode

  1

  command

  autopilot

  stderr

  _StringException: Binary content:
    FailedTestScreenshot (image/png)
  Empty attachments:
    /var/log/syslog
    process-stdout (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher)

  process-return-code 
(/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{-15}}}
  process-stderr (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'e'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 's'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'a'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'b'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'i'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'l'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'i'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'y'
  /usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'I'
  Testability driver loaded. Wire protocol version is "1.4".
  UbuntuWindow::handleSurfaceFocusChange(focused=true)
  UbuntuWindow::handleSurfaceResize(width=540, height=919)
  UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
  UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
  UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
  }}}

  test-log: {{{
  20:35:42.641 WARNING testcase:115 - No tracing available - install the 
python-autopilot-trace package!
  20:35:42.656 WARNING testcase:162 - Process manager backend unavailable, 
application snapshot support disabled.
  20:35:42.667 INFO _launcher:373 - Attempting to launch application 
'/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I
  /home/modules 
/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml
  
--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop'
 as a normal process
  20:35:42.696 INFO _launcher:431 - Launching process: 
['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', 
'-I',
  '/home/modules', 
'/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml',
  
'--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop']
  20:35:45.761 INFO logging:45 - QQuickListView: Click an element from the 
list. Arguments ('textinputsElement',). Keyword arguments: {}.
  20:35:46.004 INFO logging:45 - QQuickListView: Make the child visible. 
Arguments (<ubuntuuitoolkit._custom_proxy_objects.listitems.Standard object at
  0xb32bd370>,). Keyword arguments: {}.
  20:35:47.088 DEBUG _flickable:104 - The element is already visible.
  20:35:47.118 DEBUG _common:45 - Moving to object's globalRect coordinates.
  20:35:47.119 DEBUG _uinput:470 - Tapping at: 270,759
  20:35:49.726 DEBUG _common:45 - Moving to object's globalRect coordinates.
  20:35:49.728 DEBUG _uinput:470 - Tapping at: 348,648
  20:35:49.829 DEBUG _uinput:195 - Typing text 'This should not be writen'
  20:35:49.832 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
  20:35:49.934 DEBUG _uinput:57 - Pressing T (20).
  20:35:50.036 DEBUG _uinput:88 - Releasing T (20).
  20:35:50.138 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
  20:35:50.240 DEBUG _uinput:57 - Pressing h (35).
  20:35:50.343 DEBUG _uinput:88 - Releasing h (35).
  20:35:50.445 DEBUG _uinput:57 - Pressing i (23).
  20:35:50.547 DEBUG _uinput:88 - Releasing i (23).
  20:35:50.650 DEBUG _uinput:57 - Pressing s (31).
  20:35:50.752 DEBUG _uinput:88 - Releasing s (31).
  20:35:50.854 DEBUG _uinput:57 - Pressing SPACE (57).
  20:35:50.957 DEBUG _uinput:88 - Releasing SPACE (57).
  20:35:51.059 DEBUG _uinput:57 - Pressing s (31).
  20:35:51.161 DEBUG _uinput:88 - Releasing s (31).
  20:35:51.264 DEBUG _uinput:57 - Pressing h (35).
  20:35:51.366 DEBUG _uinput:88 - Releasing h (35).
  20:35:51.468 DEBUG _uinput:57 - Pressing o (24).
  20:35:51.571 DEBUG _uinput:88 - Releasing o (24).
  20:35:51.673 DEBUG _uinput:57 - Pressing u (22).
  20:35:51.775 DEBUG _uinput:88 - Releasing u (22).
  20:35:51.877 DEBUG _uinput:57 - Pressing l (38).
  20:35:51.980 DEBUG _uinput:88 - Releasing l (38).
  20:35:52.082 DEBUG _uinput:57 - Pressing d (32).
  20:35:52.184 DEBUG _uinput:88 - Releasing d (32).
  20:35:52.286 DEBUG _uinput:57 - Pressing SPACE (57).
  20:35:52.389 DEBUG _uinput:88 - Releasing SPACE (57).
  20:35:52.491 DEBUG _uinput:57 - Pressing n (49).
  20:35:52.593 DEBUG _uinput:88 - Releasing n (49).
  20:35:52.695 DEBUG _uinput:57 - Pressing o (24).
  20:35:52.798 DEBUG _uinput:88 - Releasing o (24).
  20:35:52.900 DEBUG _uinput:57 - Pressing t (20).
  20:35:53.002 DEBUG _uinput:88 - Releasing t (20).
  20:35:53.104 DEBUG _uinput:57 - Pressing SPACE (57).
  20:35:53.207 DEBUG _uinput:88 - Releasing SPACE (57).
  20:35:53.309 DEBUG _uinput:57 - Pressing b (48).
  20:35:53.411 DEBUG _uinput:88 - Releasing b (48).
  20:35:53.514 DEBUG _uinput:57 - Pressing e (18).
  20:35:53.616 DEBUG _uinput:88 - Releasing e (18).
  20:35:53.718 DEBUG _uinput:57 - Pressing SPACE (57).
  20:35:53.820 DEBUG _uinput:88 - Releasing SPACE (57).
  20:35:53.923 DEBUG _uinput:57 - Pressing w (17).
  20:35:54.025 DEBUG _uinput:88 - Releasing w (17).
  20:35:54.127 DEBUG _uinput:57 - Pressing r (19).
  20:35:54.230 DEBUG _uinput:88 - Releasing r (19).
  20:35:54.332 DEBUG _uinput:57 - Pressing i (23).
  20:35:54.434 DEBUG _uinput:88 - Releasing i (23).
  20:35:54.536 DEBUG _uinput:57 - Pressing t (20).
  20:35:54.639 DEBUG _uinput:88 - Releasing t (20).
  20:35:54.741 DEBUG _uinput:57 - Pressing e (18).
  20:35:54.842 DEBUG _uinput:88 - Releasing e (18).
  20:35:54.944 DEBUG _uinput:57 - Pressing n (49).
  20:35:55.047 DEBUG _uinput:88 - Releasing n (49).
  20:35:56.785 INFO _launcher:544 - waiting for process to exit.
  20:35:56.786 INFO _launcher:567 - Killing process 24941
  }}}

  Traceback (most recent call last):
    File 
"/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/test_textinput.py", line 
96, in test_textfield_disabled
      self.assertEqual('', textfield_disabled.text)
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 321, in 
assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in 
assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: '' != 'No interaction allowed'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1388896/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to