Autopilot tests crashing in switch_to_tab helper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
Critical
|
Renato Araujo Oliveira Filho | ||
qtdeclarative-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Timo Jyrinki |
Bug Description
This bug is blocking bug #1293489 fix from landing.
EDIT: It seems like the other tabs also suffer from this issue, so it's not just dayview
Have a look at the following log to see this:
You can reproduce by checking out trunk and running any of the test_dayview tests. The app will hang trying to switch to the dayview tab and the test will fail.
Traceback for this looks like this. It seemingly indicates something is wrong with the toolkit helper switch_to_tab. However the toolkit tests pass on the same install and the crashing behavior seems limited to calendar and in particular the dayview tab.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
return self.switch_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
current_tab = self.switch_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
_, new_state = self.parent.
File "/usr/lib/
return self.get_
File "/usr/lib/
data = self._backend.
File "/usr/lib/
"Application under test exited before the test finished!"
RuntimeError: Application under test exited before the test finished!
Related branches
- Timo Jyrinki: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Kunal Parmar: Pending requested
-
Diff: 797 lines (+238/-295)8 files modifiedDayView.qml (+4/-3)
MonthView.qml (+17/-12)
WeekView.qml (+69/-69)
YearView.qml (+61/-63)
calendar.qml (+46/-101)
tests/autopilot/calendar_app/emulators.py (+3/-0)
tests/autopilot/calendar_app/tests/__init__.py (+29/-34)
tests/autopilot/calendar_app/tests/test_calendar.py (+9/-13)
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Timo Jyrinki: Approve
-
Diff: 608 lines (+522/-34)8 files modifieddebian/changelog (+14/-0)
debian/patches/Don-t-crash-on-Runtime-getQmlImportedScripts.patch (+42/-0)
debian/patches/Don-t-use-ebx-in-the-x86-register-allocator.patch (+0/-33)
debian/patches/Fix-global-object-handling-in-worker-script-JS-files.patch (+265/-0)
debian/patches/V4-JIT-save-restore-ebx-GOT-ptr-on-linux-x86.patch (+47/-0)
debian/patches/V4-fix-range-sorting.patch (+46/-0)
debian/patches/V4-regalloc-fix-interval-splitting-when-register-pre.patch (+103/-0)
debian/patches/series (+5/-1)
summary: |
- Autopilot tests crashing under qt 5.2 in switch_to_tab helper + Autopilot tests crashing in switch_to_tab helper |
description: | updated |
Changed in qtdeclarative-opensource-src (Ubuntu): | |
assignee: | nobody → Timo Jyrinki (timo-jyrinki) |
status: | New → In Progress |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
From Omer:
<om26er> balloons, probably the issue goes back to QtOrganizer not playing well with 5.2 /usr/share/ click/preinstal led/com. ubuntu. calendar/ 0.4.201/ calendar. qml:85: TypeError: Cannot call method 'isSameDay' of undefined ctory:: managerName( ) const :QOrganizerMana gerEngine* QOrganizerEDSFa ctory:: engine( const QMap<QString, QString>&, QtOrganizer: :QOrganizerMana ger::Error* ) eds
<om26er> file://
<om26er> virtual QString QOrganizerEDSFa
<om26er> virtual QtOrganizer: