genodelabs / genode

Genode OS Framework
https://genode.org/
Other
1.08k stars 254 forks source link

init: test-init fails on some platforms #3079

Closed skalk closed 5 years ago

skalk commented 5 years ago

When running the test-init pkg in the depot-autopilot it repeatedly fails on Qemu platforms, like: hw_pbxa9, hw_zynq, or okl4 at step 34:

...
[init -> test-init] step 33 (init_config)
[init -> test-init] step 34 (expect_log)
[init -> test-init] step 34 (expect_log)
[init -> test-init] [init -> log] config 1: providing service (ignored)
[init -> test-init] [init -> log] created LOG service (ignored)
[init -> test-init] [init -> log] [dummy] started (ignored)
Error: Test execution timed out

On Qemu nova_x86_32 and sel4_x86_64 it hangs at step 185:

[init -> test-init] step 185 (expect_init_state)
[init -> test-init] Warning: init state does not match: <state version="flaky component is responsive">
[init -> test-init]     <child name="flaky" binary="dummy" skipped_heartbeats="27"/>
[init -> test-init] </state>
[init -> test-init] Warning: expected condition: <expect_init_state>
[init -> test-init]         <node name="child">
[init -> test-init]             <attribute name="name" value="flaky"/>
[init -> test-init]             <!-- 'skipped_heartbeats' attribute must not be present -->
[init -> test-init]             <attribute name="skipped_heartbeats" value=""/>
[init -> test-init]         </node>
[init -> test-init]     </expect_init_state>
nfeske commented 5 years ago

Fixed in master.