Oxide 1.7 makes Unity8 qml tests not pass in a chroot

Bug #1459142 reported by Albert Astals Cid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Opinion
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When using oxide 1.5.5-0ubuntu1 as shipped in vivid the qml tests of unity8 pass just fine.

When using oxide 1.7.8-0ubuntu0.15.04.1 the test for the wizard hangs and says

[0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed: IsFileSystemAccessDenied().

The backtrace of the hang is http://paste.ubuntu.com/11386907/

Example of the hang happening in https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-wily/29/console

Related branches

description: updated
description: updated
description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

The test that hangs is test_locationHereTerms, and it tests this QML component: http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/qml/Wizard/Pages/here-terms.qml.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

As discussed on IRC, the CHECK failure ([0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed: IsFileSystemAccessDenied()) is because the zygote process is able to open the root directory for reading after the suid sandbox has chrooted it to /proc/self/fdinfo, which is owned by root and has 0500 permissions.

The only scenarios under which this check can fail are:

- The actual chroot() really does fail (unlikely)
- The process using Oxide was started by root, meaning that the zygote is able to open its new root directory.

It fails in 1.7 because the check has been made more strict since https://chromium.googlesource.com/chromium/src.git/+/10feab647ef8b96609d087f9936eee9908b057b7%5E!/#F0

affects: unity8 → unity8 (Ubuntu)
Changed in unity8 (Ubuntu):
status: New → In Progress
Changed in oxide:
status: New → Opinion
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.10+15.10.20150616.1-0ubuntu1

---------------
unity8 (8.10+15.10.20150616.1-0ubuntu1) wily; urgency=medium

  [ Albert Astals Cid ]
  * Bind running to the proper object.visible
  * Do not use template in generated card creator code
  * Fix regression introduced by the concierge change
  * Take into account the extra margin on top when calculating the
    display margin
  * workaround oxide 1.7 issue (LP: #1459142)

  [ CI Train Bot ]
  * New rebuild forced.

  [ Federico Gimenez ]
  * On the autopilot helpers, swipe if the item to open from the dash is
    not visible. unity8-autopilot dependencies now require ubuntu-ui-
    toolkit-autopilot (>= 1.2.1485+15.04.20150417.1-0ubuntu1)

  [ Florian Boucault ]
  * Notifications: shaped icon was stretching the icon instead of
    respecting its aspect ratio and filling the whole shape. (LP:
    #1450229)

  [ Josh Arenson ]
  * Implement bare-bones shellMode=greeter and shellMode=shell

  [ Leo Arias ]
  * On the autopilot helpers, swipe if the item to open from the dash is
    not visible. unity8-autopilot dependencies now require ubuntu-ui-
    toolkit-autopilot (>= 1.2.1485+15.04.20150417.1-0ubuntu1)

  [ Leonardo Arias Fonseca ]
  * On the autopilot helpers, swipe if the item to open from the dash is
    not visible. unity8-autopilot dependencies now require ubuntu-ui-
    toolkit-autopilot (>= 1.2.1485+15.04.20150417.1-0ubuntu1)

  [ Michael Zanetti ]
  * add info on how to run a single function in make test

  [ Richard Huddie ]
  * Slow down the speed of autopilot helpers used to swipe to a
    different scope to improve the reliability. (LP: #1461059, #1457047)

 -- CI Train Bot <email address hidden> Tue, 16 Jun 2015 15:12:59 +0000

Changed in unity8 (Ubuntu):
status: In Progress → 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.