Myasnikov Daniil a92d7f17a0 ci(e2e): record SVM feature exposure on the runner
Adds one step to the temporary topology job, ahead of the existing ones, and
changes nothing else on this branch.

Why. Across 32 archived nightly runs plus recent PR runs, every green run
carries "kvm_amd: Virtual GIF supported" in the runner's dmesg and no red run
does: 62 kubernetes suite instances without the line, zero passes, against 11
of 12 passing with it. vGIF lets a guest execute CLGI/STGI without trapping to
the hypervisor, and a guest only executes those when it is itself running a
hypervisor. In this stack that is exactly the sandbox Talos nodes hosting the
KubeVirt tenant VMs and nothing else, which is why the sandbox nodes boot
normally every single time while the tenant workers crawl. Without vGIF every
tenant-VM world switch costs the sandbox node two extra full VM exits, which
burns CPU without advancing the guest -- invisible to every resource counter,
and consistent with a runner that measures 54-73% idle with ~0.01% steal while
its nested guests freeze for tens of seconds.

The line is missing for one of two reasons with completely different owners,
and this step separates them:

  parameters/vgif = Y with no dmesg line -> the CPUID bit was never exposed to
    this VM by the host hypervisor, so only the cloud provider can change it
  parameters/vgif = N -> the runner image turned it off, which is a one-line fix

CPUID 0x8000000A is read directly rather than inferred from whether the kernel
chose to print a line, and the neighbouring V_VMSAVE_VMLOAD and VNMI bits come
with it since they are the same class of "let the guest do it in hardware"
feature. The mitigation strings are captured for the same reason: they change
the cost of a VM exit without moving any resource counter.

Every group ends in one greppable VERDICT line so re-running this job samples
the runner pool without parsing the output. Re-runs are the point: vGIF
exposure varies between hosts of the same shape and CPU model, so the
distribution is what matters, not a single reading.

This also closes an instrumentation gap that cost the investigation a month.
runner-identity.txt, the SOFT-RED node-join marker and the KVM exit counters
were all added around 19-21 August, after every green run had already
happened, so none of them can be compared across the green/red boundary. The
only reason vGIF was visible at all is that the kvm_amd lines happen to fall
inside the 200-line dmesg tail the report keeps.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-08-23 16:57:28 +05:00
2025-10-08 09:43:34 +05:00
2024-02-08 12:04:32 +01:00

Cozystack Cozystack

Open Source Apache-2.0 License Support Active GitHub Release GitHub Commit OpenSSF Best Practices OpenSSF Scorecard

Cozystack

Cozystack is a free platform and framework for building clouds.

Cozystack is a CNCF Sandbox Level Project that was originally built and sponsored by Ænix.

With Cozystack, you can transform a bunch of servers into an intelligent system with a simple REST API for spawning Kubernetes clusters, Database-as-a-Service, virtual machines, load balancers, HTTP caching services, and other services with ease.

Use Cozystack to build your own cloud or provide a cost-effective development environment.

Cozystack user interface

Use-Cases

Documentation

The documentation is located on the cozystack.io website.

Read the Getting Started section for a quick start.

If you encounter any difficulties, start with the troubleshooting guide and work your way through the process that we've outlined.

Versioning

Versioning adheres to the Semantic Versioning principles.
A full list of the available releases is available in the GitHub repository's Release section.

Contributions

Contributions are highly appreciated and very welcomed!

In case of bugs, please check if the issue has already been opened by checking the GitHub Issues section. If it isn't, you can open a new one. A detailed report will help us replicate it, assess it, and work on a fix.

You can express your intention to on the fix on your own. Commits are used to generate the changelog, and their author will be referenced in it.

If you have a concrete feature request, open an issue. For a cross-cutting or architectural change, open a design proposal in the community repo. For questions or early ideas, use GitHub Discussions. See CONTRIBUTING.md for the full routing.

Community

You are welcome to join our Telegram group and come to our weekly community meetings. Add them to your Google Calendar or iCal for convenience.

License

Cozystack is licensed under Apache 2.0.
The code is provided as-is with no warranties.

Commercial Support

A list of companies providing commercial support for this project can be found on official site.

Languages
Go 48%
Shell 37%
TypeScript 6.9%
Go Template 5.3%
Makefile 1.4%
Other 1.2%