mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
sel4 run/depot_autopilot: handle resource leak
After a certain number of tests, presumably some resource in core is exceeded and loading the successive test fails. This quickfix looks out for the characteristic Core error and then reboots to avoid that all successive tests are marked as failed.
This commit is contained in:
parent
8aaffe829a
commit
3f60dcfae8
@ -38,14 +38,20 @@ proc autopilot_wait_for_output { wait_for_re timeout_value running_spawn_id } {
|
||||
-i $running_spawn_id $platform_msg { puts stderr "Error: platform rebooted unexpectedly"; exit -4 }
|
||||
-i $running_spawn_id -re $wait_for_re { }
|
||||
|
||||
# sel4
|
||||
-i $running_spawn_id -re {Error: ~Cnode - not implemented.*?\n} {
|
||||
puts stderr "Error: Core presumably went out of resources";
|
||||
set run_genode_failed 1
|
||||
return
|
||||
}
|
||||
# pistachio kernel fault
|
||||
-i $running_spawn_id -re {--- "KD# Exception caught" ---} {
|
||||
-i $running_spawn_id -re {--- "KD# Exception caught" ---.*?\n} {
|
||||
puts stderr "Error: Kernel fault";
|
||||
set run_genode_failed 1
|
||||
return
|
||||
}
|
||||
# sel4 unknown fault caught by core
|
||||
-i $running_spawn_id -re {Error: unexpected exception during fault.*stopped} {
|
||||
-i $running_spawn_id -re {Error: unexpected exception during fault.*?stopped.*?\n} {
|
||||
puts stderr "Error: Unknown fault";
|
||||
set run_genode_failed 1
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user