On 18 December 2013 19:51, Thomi Richards <[email protected]> wrote:
> Ahh, I understand now :)
>
> The application snapshot is retrieved from the bamf daemon over dbus. I
> wonder if what's happening is that sometimes bamf isn't running in your
> test environment, and the act of getting the process snapshot start it,
> but it doesn't pick up on existing windows?
>

ubiquity is probably the most atypical autopilot tested project =)

bamf may or may not be running, may possibly not even be installed and
certainly not available over dbus.

ubiquity supports following Desktop Environments:
- ubiquity-dm
- unity
- gnome-shell
- gnome-panel
- XFCE
- LXDE
- and maybe others

Also ubiquity, when running under autopilot, is already past
re-executing with pkexec and thus has all environment cleaned and is
running as root. At which point a private root session DBus is
started, and autopilot is launched as root into that same DBus
session. I expect no Bamf, or any initial / other DBus services be
privileged to peak into that envrionemnt / windows.

> Are you able to check if it's running? What environment are your tests
> running in? I assume it's a reasonably minimal X environment?
>

At the moment, all of the above are running under X org, either
minimal or more-or-less full desktop environment.

I don't think we need or require an application snapshot from bamf
daemon over dbus. Under full unity desktop session, i believe we do
have a launcher icon and/or maybe a progress bar (can't remember of
top of my head) but is very non-essential parts of ubiquity. At the
moment, our autopilot tests excercise the installer itself to an
acceptable level which replaces majority of the manual test-cases /
scenarios required to pass for milestone image release. This bug at
the moment, is one of the blockers for release team to start mandating
autopilot tests passing across all image flavours.

Regards,

Dimitri.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1260012

Title:
  app snapshot during test setup is being set to an empty list

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1260012/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to