Skip to content

Provide debug environment and support for retrieving core dumps - #507

Draft
TimoSteuerwaldETAS wants to merge 26 commits into
eclipse-score:mainfrom
etas-contrib:feature/debug_environment
Draft

Provide debug environment and support for retrieving core dumps#507
TimoSteuerwaldETAS wants to merge 26 commits into
eclipse-score:mainfrom
etas-contrib:feature/debug_environment

Conversation

@TimoSteuerwaldETAS

Copy link
Copy Markdown
Contributor

For details see also #506

These commits have been squashed together to ease review.
After cherry pick some conflicts have been solved wrong, this is why
there are two additional commits also.

For details please also have a look onto the internal branch in etas-eng
feature/create-process-launch-fit-specification-unverified

The original commit message of this commit:

Add a log message for SIGTERM receival

Move dir tests/integration/lm_shutdown to tests/integration/lm_shutdown_during_rt_switch

Update references accordingly

Add lm_shutdown_during_switch_to_off

A test which verifies that a launch manager shutdown signalled via SIGTERM does not cancel existent switches to off.
Currently does not fail, but should fail. As switch to off gets cancelled and reinitiated by launch manager code.

Let test fail, as switch to off is cancelled by lm

Revert to 1s timeout for lm shutdown & add some comments

Still not 100% stable.

Fix cherry pick odyssey

Former fix for SIGSEGV of old branch
Other ControlClientMocks need to be updated separately.
In tests a colleague proved that SIGTERM always leads to a pause() call returning, as long as the pause() call is on the main thread. Which is the case here, so it is not needed.
Provide therefore separate docker image score_itf_examples_debug.
Most probably we do not need that and can instead modify the original docker image which is used for the test execution anyway.
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 575d7ae3-1766-40a0-a154-1a1fbe168558
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //:license-check (33 packages loaded, 10 targets configured)

Analyzing: target //:license-check (89 packages loaded, 10 targets configured)

Analyzing: target //:license-check (152 packages loaded, 2590 targets configured)

Analyzing: target //:license-check (159 packages loaded, 6275 targets configured)

Analyzing: target //:license-check (169 packages loaded, 6334 targets configured)

Analyzing: target //:license-check (172 packages loaded, 8915 targets configured)

Analyzing: target //:license-check (176 packages loaded, 11463 targets configured)

INFO: Analyzed target //:license-check (177 packages loaded, 11589 targets configured).
[1 / 1] no actions running
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 24.275s, Critical Path: 0.36s
INFO: 16 processes: 4 disk cache hit, 12 internal.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

This branch originally contained also two integration tests, which I
dropped now here. To separate things, it should only contains changes
for debug environment support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant