Skip to content

[Test] Tolerate intermittent dcvsessionlauncher crash on g5g instances.#7350

Draft
gmarciani wants to merge 3 commits intoaws:developfrom
gmarciani:wip/mgiacomo/3160/test-dcv-0422-3
Draft

[Test] Tolerate intermittent dcvsessionlauncher crash on g5g instances.#7350
gmarciani wants to merge 3 commits intoaws:developfrom
gmarciani:wip/mgiacomo/3160/test-dcv-0422-3

Conversation

@gmarciani
Copy link
Copy Markdown
Contributor

Description of changes

Tolerate intermittent dcvsessionlauncher crash on g5g instances.

Tolerate the known dcvsessionlauncher SEGV (g_subprocess_send_signal -> on_read_startup_string_ready) on g5g instances.

This crash has an impact only on the creation of the first dcv session. Such failure is not even visible to the end user, thanks to the retries made by dcv-connect. Also, any following dcv session is not impacted.

Tests

ONGOING test_dcv_configuration

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gmarciani gmarciani added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x Test labels Apr 22, 2026
Tolerate the known dcvsessionlauncher SEGV (g_subprocess_send_signal -> on_read_startup_string_ready) on g5g instances.

This crash has an impact only on the creation of the first dcv session. Such failure is not even visible to the end user, thanks to the retries made by dcv-connect. Also, any following dcv session is not impacted.
pytest.mark.usefixtures applied to fixture functions is an error in
pytest 8+. Replace with direct fixture parameters, which is functionally equivalent.
@gmarciani gmarciani force-pushed the wip/mgiacomo/3160/test-dcv-0422-3 branch from 7b6a534 to df9a730 Compare April 22, 2026 23:33
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.07%. Comparing base (a1e1583) to head (df9a730).
⚠️ Report is 16 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7350      +/-   ##
===========================================
- Coverage    90.08%   90.07%   -0.01%     
===========================================
  Files          182      182              
  Lines        16730    16732       +2     
===========================================
+ Hits         15071    15072       +1     
- Misses        1659     1660       +1     
Flag Coverage Δ
unittests 90.07% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x skip-changelog-update Disables the check that enforces changelog updates in PRs Test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant