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

test: Fix failures for unexpected virt-host-validate qemu #1760

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

martinpitt
Copy link
Member

For a few months now, the RHEL downstream gating tests for cockpit-machines have all failed like this:

  File "/source/test/machineslib.py", line 38, in waitPageInit
    virtualization_enabled = "PASS" in self.machine.execute("virt-host-validate qemu | grep 'Checking for hardware virtualization'")
subprocess.CalledProcessError

The actual output shows

QEMU: Checking if device '/dev/kvm' exists: FAIL

and no "hardware virtualization" at all, which makes the grep fail. Treat an absent line as "fail".

For a few months now, the RHEL downstream gating tests for
cockpit-machines have all failed like this:

```
  File "/source/test/machineslib.py", line 38, in waitPageInit
    virtualization_enabled = "PASS" in self.machine.execute("virt-host-validate qemu | grep 'Checking for hardware virtualization'")
subprocess.CalledProcessError
```

The actual output shows

> QEMU: Checking if device '/dev/kvm' exists: FAIL

and no "hardware virtualization" at all, which makes the grep fail.
Treat an absent line as "fail".
Copy link

We were not able to find or create Copr project packit/cockpit-project-cockpit-machines-1760 specified in the config with the following error:

Packit received HTTP 500 Internal Server Error from Copr Service. Check the Copr status page: https://copr.fedorainfracloud.org/status/stats/, or ask for help in Fedora Build System matrix channel https://matrix.to/#/#buildsys:fedoraproject.org.

Unless the HTTP status code above is >= 500, please check your configuration for:

  1. typos in owner and project name (groups need to be prefixed with @)
  2. whether the project name doesn't contain not allowed characters (only letters, digits, underscores, dashes and dots must be used)
  3. whether the project itself exists (Packit creates projects only in its own namespace)
  4. whether Packit is allowed to build in your Copr project
  5. whether your Copr project/group is not private

@martinpitt
Copy link
Member Author

OK, that's the second try after #1759, I accept defeat -- no Fedora COPR today..

Copy link
Member

@mvollmer mvollmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@martinpitt martinpitt merged commit 733c944 into cockpit-project:main Aug 9, 2024
27 of 28 checks passed
@martinpitt martinpitt deleted the kvm-check branch August 9, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants