Skip to content

Commit f2102bd

Browse files
committed
Add check on /dev/kvm at end of job
Signed-off-by: Simon Davies <[email protected]>
1 parent 1a3bbdb commit f2102bd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/dep_rust.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,19 @@ jobs:
156156
run: |
157157
just bench-ci main ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
158158
if: ${{ matrix.config == 'release' }}
159+
160+
# Always check KVM device status at the end - runs regardless of job success/failure
161+
- name: Final KVM device status check
162+
if: always() && runner.os == 'Linux'
163+
run: |
164+
echo "=== Final KVM Device Status Check ==="
165+
echo "Timestamp: $(date)"
166+
echo ""
167+
echo "KVM device listing:"
168+
sudo ls -al /dev/kvm 2>/dev/null || echo "❌ /dev/kvm device not found or not accessible"
169+
echo ""
170+
echo "MSHV device listing:"
171+
sudo ls -al /dev/mshv 2>/dev/null || echo "❌ /dev/mshv device not found or not accessible"
172+
echo ""
173+
echo "All hypervisor-related devices:"
174+
sudo ls -al /dev/ | grep -E "(kvm|mshv|hyperv)" 2>/dev/null || echo "No hypervisor devices found in /dev/"

0 commit comments

Comments
 (0)