e2e: fixes from running the tests on real hardware #895
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 504 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.372
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #895"
general
weight: 0.35
askervin
Fixes for e2e runs on a host given with
test_hw_addr. They came up on two hosts: an Ubuntu 24.04 desktop which the playbook provisions, and an openSUSE Tumbleweed host with its own kubespray cluster.Provisioning:
test_hw_addrhost, the DNS and firewalld tasks are skipped. So are the packages only VMs use: python3-pip, systemd-container, grubby, cloud-utils-growpart, btrfs-progs and the apt packages of the playbook.dns_nameserveris set. Before, an empty value emptied everyaddresses: [...]line of/etc/netplan/01-netcfg.yaml.ctrin/usr/local/bin. sudo'ssecure_pathleaves that directory out on some distros.Runner:
e2e_ansible_argsadds options to theansible-playbookcommand.--check,--syntax-check,--help,--versionand the--list-*options make the run a preview. A preview stops after the playbook. It leaves the host record as it is. It is reported as skipped.e2e_ansible_argstakes only--check,-C,--diff,-D,--step,-vto-vvvv,--syntax-check,--list-hosts,--list-tasks,--list-tags,--help,-hand--version. A run with any other option fails. Other options could change the host, the connection, the tasks or the variables of the run.containerd_release=installed, the version is read from the binary the systemd unit starts. It used to come from the firstcontainerdon the PATH.skip-testis reported as skipped. Itssummary.txtused to say PASS.test_hw_portsets the ssh port of atest_hw_addrhost. A vagrant-qemu VM answers only on a port forwarded to 127.0.0.1. Port 22 there is the sshd of the runner.test_hw_addrhost. The VM, distro and topology defaults and the vagrant boxes are left out.The README gets two new sections: "Passing options to Ansible" and "Running a test step by step".
Testing
provision=allwithe2e_ansible_args="--check --diff": the preview listed the expected changes. The run ended as skipped.provision=allwithe2e_ansible_args="--step --diff": the cluster was rebuilt. The node became Ready. The plugin ran with DRA on and published its ResourceSlice.provision=1 e2e_ansible_args="--check --diff": the DNS, runc and VM package tasks were skipped.containerd_release,k8s_releaseandhelm_releaseset toinstalled: the--check --diffpreview changed nothing. The real run changed nothing in/etcexcept the e2e record. The kubeconfigs and the kubelet config kept their checksums. The plugin ran with DRA on and published its ResourceSlice.breakpointtest shows the new run header and passes. The openSUSE host has no bc. Its run printed no bc error.test_hw_portande2e_ansible_args="--check --diff": the preview ended with SKIP, also insummary.txt. Nothing changed on the VM or in the host record. With SELinux enforcing, the run failed as expected and leftsummary.txtempty.skip-testwere checked with small local playbooks and shell simulations,bash -nandansible-playbook --syntax-check. They were not run on a host.