Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests for qubes-core-admin fail to run out of the box #9797

Closed
ArrayBolt3 opened this issue Feb 24, 2025 · 0 comments
Closed

Unit tests for qubes-core-admin fail to run out of the box #9797

ArrayBolt3 opened this issue Feb 24, 2025 · 0 comments
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: tests diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. r4.3-host-cur-test

Comments

@ArrayBolt3
Copy link

Qubes OS release

Qubes OS 4.3

Brief summary

Trying to run the run-tests script in the qubes-core-admin repo on a mostly clean fedora-41-xfce qube fails because there's an unsupported -- argument being provided to dnf.

Steps to reproduce

  1. Create a fresh fedora-41-xfce template, with no additional packages installed.
  2. Create an AppVM based on this template.
  3. In the AppVM, clone the qubes-core-admin repo.
  4. Run cd qubes-core-admin; ./run-tests.

Expected behavior

Tests should run.

Actual behavior

Unknown argument "--" for command "dnf5". Add "--help" for more information about the arguments.
...
/usr/bin/python3: No module named coverage

Additional information

If I open run-tests in vim and remove the -- argument from dnf5, the script then behaves as expected.

@ArrayBolt3 ArrayBolt3 added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Feb 24, 2025
@andrewdavidwong andrewdavidwong added C: tests diagnosed Technical diagnosis has been performed (see issue comments). pr submitted A pull request has been submitted for this issue. affects-4.3 This issue affects Qubes OS 4.3. labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: tests diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. r4.3-host-cur-test
Projects
None yet
Development

No branches or pull requests

3 participants