Initial run of autopilot tests in jenkins has failures

Bug #1202347 reported by Francis Ginther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
Fix Released
Undecided
Omer Akram

Bug Description

Attempts to run this in the jenkins environment run into failures:

[failure 1]
ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_divide_by_zero(with mouse) (from )

Stacktrace

_StringException: Empty attachments:
  process-stdout

process-stderr: {{{
Loading testability driver.
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /var/lib/jenkins/.drirc: No such file or directory.
libGL: Can't open configuration file /var/lib/jenkins/.drirc: No such file or directory.
calculationCompleted
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_calculator_app/tests/test_simple_page.py", line 199, in test_divide_by_zero
    self._assert_result(u'\u221e') # Unicode for "infinite" result
  File "/usr/lib/python2.7/dist-packages/ubuntu_calculator_app/tests/test_simple_page.py", line 96, in _assert_result
    get_result, Eventually(Equals(expected_result)))
MismatchError: After 10.0 seconds test failed: u'\u221e' != String(u'Infinity')

[failure 2]
ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_swipe_delete_calculation_right_left(with mouse) (from )

Stacktrace

_StringException: Empty attachments:
  process-stdout

process-stderr: {{{
Loading testability driver.
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /var/lib/jenkins/.drirc: No such file or directory.
libGL: Can't open configuration file /var/lib/jenkins/.drirc: No such file or directory.
calculationCompleted
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_calculator_app/tests/test_simple_page.py", line 220, in test_swipe_delete_calculation_right_left
    self.assertThat(label, Eventually(Equals(None)))
MismatchError: After 10.0 seconds test failed: None != <autopilot.introspection.dbus.CalcLabel object at 0x369ddd0>

[test run]
 - http://91.189.93.70:8080/job/generic-mediumtests/101/

Related branches

Omer Akram (om26er)
Changed in ubuntu-calculator-app:
assignee: nobody → Omer Akram (om26er)
status: New → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 119, scheduled for release in ubuntu-calculator-app, milestone alpha-1

Changed in ubuntu-calculator-app:
status: In Progress → Fix Committed
David Planella (dpm)
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.