Skip to content

FIT: Recovery Action due to process crash on runtime #177

@TimoSteuerwaldETAS

Description

@TimoSteuerwaldETAS

What

Verifies requirements:

Depends on: #172

Configuration:

  • Extend config in FIT: Launch initial run target #172 by an additional Run Target run_target_crashing_app_on_runtime which contains a Component component_crashing_on_runtime
  • Recovery Action on run_target_crashing_app_on_runtime configured to switch to Run Target Startup
  • The process involved in component_crashing_on_runtime should crash after reporting kRunning

Test steps:

  • Start Launch Manager process
  • Via score::lcm::ControlClient::ActivateRunTarget(..) activate run_target_crashing_app_on_runtime
  • 1s after component_crashing_on_runtime reports running and run_target_crashing_app_on_runtime is activated, process involved crashes

Expected behavior:

  • Launch Manager is started successfully and Run Target Startup is activated initially
  • Run Target run_target_crashing_app_on_runtime is activated successfully
  • Recovery Action is executed, switch back to Startup

Acceptance Criteria (DoD)

Test specification and implementation exists. Test passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions