File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -156,3 +156,33 @@ jobs:
156156 run : |
157157 just bench-ci main ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
158158 if : ${{ matrix.config == 'release' }}
159+
160+ # Diagnostic information on job failure
161+ - name : Diagnose hypervisor access on failure
162+ if : failure()
163+ run : |
164+ echo "=== Diagnostic Information ==="
165+ echo "Current user:"
166+ whoami
167+ echo ""
168+ echo "User groups:"
169+ groups
170+ echo ""
171+ echo "User ID details:"
172+ id
173+ echo ""
174+ echo "KVM device details:"
175+ if [ -e /dev/kvm ]; then
176+ ls -la /dev/kvm
177+ echo "KVM device exists and permissions shown above"
178+ else
179+ echo "❌ /dev/kvm device does not exist"
180+ fi
181+ echo ""
182+ echo "MSHV device details:"
183+ if [ -e /dev/mshv ]; then
184+ ls -la /dev/mshv
185+ echo "MSHV device exists and permissions shown above"
186+ else
187+ echo "❌ /dev/mshv device does not exist"
188+ fi
You can’t perform that action at this time.
0 commit comments