Hi,
I have been trying to run our integration tests in Fedora 21, and for
the most part, things Just Work, which is great. I think we can
'officially' support Fedora 21 in our integration tests pretty soon.
Let's talk about this in todays IRC meeting.
So this is a quick summary of where I am at right now, mostly for my own
reference.
Check this branch for details:
https://github.com/mvollmer/cockpit/tree/testsuite-fedora-21
- Images and mock work, but I had to switch off signature verification
and avoid the mirror network. I guess this will all calm down very
soon.
- SELinux doesn't allow cockpit-ws to read /var/lib/cockpit/known_hosts.
https://bugzilla.redhat.com/show_bug.cgi?id=1135444
This makes it impossible to log into machines over SSH, but our
integration tests can still be meaningful. (We only had one check
anyway for whether a SSH login was actually successful or not...)
- The integration tests used to race a lot against Network Manager after
hotplugging a network interface, where both NM and the test would go
and configure the new interface 'immediately'. The tests are now more
robust by waiting for NM to finish with its configuration, and then
they do their modifications.
- Non-root users can't read the journal anymore. We need to figure out
non-root users out in general, so I have just changed the test to log
in as root. (We have a lot of these already.)
- DOS Extended Partitions seem to be broken quite badly, not only for
the tests, but also in general for all users.
https://bugzilla.redhat.com/show_bug.cgi?id=1135493
I think the best we can do is to simply disable that test for now and
help to fix the bug wherever it is.
- FreeIPA is missing a dependency, and the image creation scripts can
trivially work around this until it is fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=1135516
I will clean up the branch, upload the various images, and then make a
pull request that switches the default TEST_OS to fedora-21. Maybe I'll
drops support for fedora-20 if that makes things significantly easier.