Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] km_stress_test fixes #4117

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

matthewige
Copy link
Contributor

Description

Describe the purpose of and changes within this Pull Request.

Testing

Do any existing tests cover this change? Are new tests needed?

Documentation

Is there any documentation impact for this change?

Installation

Is there any installer impact for this change?

@matthewige matthewige changed the title [draft] Update test scripts to ensure km_stress_test is executing [draft] Jan 8, 2025
{
NET_EBPF_EXT_LOG_ENTRY();

ExWaitForRundownProtectionRelease(&rundown->protection);
rundown->rundown_occurred = TRUE;
if (rundown->rundown_initialized == TRUE) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks to me like this is the crux of the fix. I haven't been able to reason out why this resolves the issue though.

Based on the test failure crash dump hang, we are waiting (forever) on DriverUnload. In that code path, I can't find a place where we would be invoking this function on an uninitialized rundown object.

@matthewige matthewige changed the title [draft] [draft] km_stress_test fixes Jan 29, 2025
@@ -460,7 +459,7 @@ function Invoke-ConnectRedirectTest
function Invoke-CICDStressTests
{
param([parameter(Mandatory = $true)][bool] $VerboseLogs,
[parameter(Mandatory = $false)][int] $TestHangTimeout = 3600,
[parameter(Mandatory = $false)][int] $TestHangTimeout = (45*60),
Copy link
Contributor Author

@matthewige matthewige Jan 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stress tests were NOT passing any timeout value, which would mean a default of 10 minutes. However, there are multiple stress test cases, which each utilize the -td=5 (5 minutes) test parameter. So surely this is insufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant