← Back to team overview

unity-api-bugs team mailing list archive

Re: [Bug 1357252] Re: Upstart jobs specifying cgroup fail to start occasionally

 

On a N4, I did (quoted from irc by jodh)

	'adb shell', su - phablet, create ~/.config/upstart/cgroup.conf
	containing http://paste.ubuntu.com/8108361/ and try 'start cgroup' and
	see what happens

it appears correct.  I also added a 'start on started cgmanager', rebooted
the phone, then .cache/upstart/cgroup.log contained:

phablet@ubuntu-phablet:~$ cat .cache/upstart/cgroup.log
5:name=systemd:/user.slice/user-32011.slice/session-c2.scope
4:freezer:/user.slice/user-32011.slice/session-c2.scope/upstart_cgroup
3:debug:/user.slice/user-32011.slice/session-c2.scope
2:cpuacct:/user.slice/user-32011.slice/session-c2.scope
1:cpu:/user.slice/user-32011.slice/session-c2.scope

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Ubuntu Application Launcher.
https://bugs.launchpad.net/bugs/1357252

Title:
  Upstart jobs specifying cgroup fail to start occasionally

Status in Ubuntu Application Launcher:
  Incomplete
Status in Upstart:
  In Progress
Status in “cgmanager” package in Ubuntu:
  Confirmed

Bug description:
  After the ubuntu-app-launch landing in #188
  (http://people.canonical.com/~ogra/touch-image-stats/188.changes), UI
  Toolkit autopilot tests have started failing, see
  http://ci.ubuntu.com/smokeng/utopic/touch/mako/190:20140815:20140811.1/9676/ubuntuuitoolkit/
  and the #188 results too. It's different tests each time, but a bit
  above 10 of them tend to fail on each full run.

  Reproducable locally, where I got 11 such failures.

  To reproduce:
  [terminal 1]
  1. flash/update device if needed
  2. adb shell
  3. apt install ubuntu-ui-toolkit-autopilot
  4. powerd-cli display on bright # leave running, also unlock the screen so that lenses are shown
  [terminal 2]
  5. phablet-config autopilot --dbus-probe enable # wait until finishes
  6. phablet-test-run ubuntuuitoolkit

  A full test suite run will take around 0.5h and should produce a bunch
  of 'Application failed to start.':s.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-app-launch/+bug/1357252/+subscriptions


References