"Failed to create OpenGL context" when running ui-toolkit tests under Qt 5.3

Bug #1324070 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Critical
Zsombor Egri
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

Bug Description

After getting bug #1317881 fixed, the next problem in the row is:

https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2/+sourcepub/4202221/+listing-archive-extra

--- cut ---
tst_mainview.qml exited with 0
Executing ./tst_components -platform minimal -input tst_page.qml -maxwarnings 40 -o ../../test_tst_page.qml.xml,xunitxml -o -,txt
unity::action::ActionManager::ActionManager(QObject*):
 Could not get session bus. Actions will not be available through D-Bus.
 Reason: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such file or directory
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
This plugin does not support createPlatformOpenGLContext!
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
Woot! Known problematic test did pass afterall!
Consider removing tst_page.qml from EXCEPTIONS in ../../unit/runtest.sh
tst_page.qml exited with 2
Makefile:343: recipe for target 'check' failed
--- cut ---

--
Refer to kept-update info on the front page of https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2 regarding where/how to get Qt 5.3. Note that it's not necessarily that PPA itself.

Tags: qt5.3

Related branches

tags: added: qt5.3
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Added "force running all tests" build log. Failing unit tests down from 10 in bug #1317881 to 5 now!

Note though that 3 of these "Failed to create OpenGL context" failures are not in that count of "5". Only 2 of such failures lead to "1 failed" summary which was used for the calculation, but in reality there are 5 OpenGL context creation errors and at least 3 other failures.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

And armhf unit test failure count now at 3, + 2 other "Failed to create OpenGL context" errors.

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Zsombor Egri (zsombi)
milestone: none → june-2014
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
assignee: Zsombor Egri (zsombi) → Tim Peeters (tpeeters)
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
assignee: Tim Peeters (tpeeters) → Zsombor Egri (zsombi)
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
importance: Undecided → Critical
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Marking Fix Committed also for the distro task to indicate the landing PPA has this (until it lands properly in archives at which point I'll change the landing to do a simple rebuild).

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Committed
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu):
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.