#80 Test cockpit dnf module
Closed: Fixed 5 years ago by adamwill. Opened 6 years ago by adamwill.

Per @sdharane and @mattdm , there is interest in having the Cockpit dnf module tested. We already test cockpit in openQA, so it should be fairly simple to add an additional test for this module.

The test could work the same way as server_cockpit_basic - it could be configured to run after server_cockpit_default and use its disk image as a base, then just use the start_cockpit sub to run cockpit, and go ahead and test the DNF module from there.

@lruzicka or I could do this.


Metadata Update from @lruzicka:
- Issue assigned to lruzicka

6 years ago

Hello,
I would like to try to create the test, if you allow, Adam. If I get stuck, I'll cry for help.

This issue somehow slipped my attention. I apologize. I will jump onto it asap.

So I have investigated this and I realized that currently there is no DNF module in Cockpit. Cockpit handles packages via PackageKit, but is either limited to package updates or installing Cockpit extensions. I have sent an email to @mattdm about this, but have not received any reply so far.
The only dnf related thing is when I switch on automatic updates in Cockpit, it downloads the dnf-automatic package and installs it. Then automatic updates can be set up from Cockpit.
So far, I have created a test case that installs updates (when they are available) and switches on the automatic updates. See PRs.

https://pagure.io/fedora-qa/os-autoinst-distri-fedora/pull-request/122 (which replaced 109) is merged, so we can close this now. Thanks Lukas!

Metadata Update from @adamwill:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Log in to comment on this ticket.

Metadata