Skip to content

x-pack/filebeat/input/internal/httplog: accept ERROR_PATH_NOT_FOUND in reserved-name test#48904

Merged
efd6 merged 1 commit intoelastic:mainfrom
efd6:48902-httplog
Feb 17, 2026
Merged

x-pack/filebeat/input/internal/httplog: accept ERROR_PATH_NOT_FOUND in reserved-name test#48904
efd6 merged 1 commit intoelastic:mainfrom
efd6:48902-httplog

Conversation

@efd6
Copy link
Copy Markdown
Contributor

@efd6 efd6 commented Feb 17, 2026

Proposed commit message

x-pack/filebeat/input/internal/httplog: accept ERROR_PATH_NOT_FOUND in reserved-name test

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • I have added an entry in ./changelog/fragments using the changelog tool.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

…n reserved-name test

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.
@efd6 efd6 self-assigned this Feb 17, 2026
@efd6 efd6 added Filebeat Filebeat flaky-test Unstable or unreliable test cases. bugfix Team:Security-Service Integrations Security Service Integrations Team backport-8.19 Automated backport to the 8.19 branch backport-9.2 Automated backport to the 9.2 branch backport-9.3 Automated backport to the 9.3 branch labels Feb 17, 2026
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Feb 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@efd6 efd6 requested a review from belimawr February 17, 2026 21:50
@efd6 efd6 marked this pull request as ready for review February 17, 2026 22:13
@efd6 efd6 requested a review from a team as a code owner February 17, 2026 22:13
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@efd6 efd6 merged commit c0b005f into elastic:main Feb 17, 2026
24 of 34 checks passed
mergify bot pushed a commit that referenced this pull request Feb 17, 2026
…n reserved-name test (#48904)

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

(cherry picked from commit c0b005f)
mergify bot pushed a commit that referenced this pull request Feb 17, 2026
…n reserved-name test (#48904)

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

(cherry picked from commit c0b005f)
mergify bot pushed a commit that referenced this pull request Feb 17, 2026
…n reserved-name test (#48904)

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

(cherry picked from commit c0b005f)
efd6 added a commit that referenced this pull request Feb 17, 2026
…n reserved-name test (#48904) (#48905)

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

(cherry picked from commit c0b005f)

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
efd6 added a commit that referenced this pull request Feb 17, 2026
…n reserved-name test (#48904) (#48906)

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

(cherry picked from commit c0b005f)

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
efd6 added a commit that referenced this pull request Feb 17, 2026
…n reserved-name test (#48904) (#48907)

Windows 11 changed how reserved DOS device names (AUX, PRN, etc.)
are resolved. On Windows 10 the path is redirected to the device,
producing ERROR_DIRECTORY. On Windows 11 the device name interception
happens differently and some builds return ERROR_PATH_NOT_FOUND
instead. Accept either error so the test passes on both.

(cherry picked from commit c0b005f)

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
belimawr added a commit to belimawr/beats that referenced this pull request Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.19 Automated backport to the 8.19 branch backport-9.2 Automated backport to the 9.2 branch backport-9.3 Automated backport to the 9.3 branch bugfix Filebeat Filebeat flaky-test Unstable or unreliable test cases. Team:Security-Service Integrations Security Service Integrations Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Flaky Test] TestMkdirAllReservedNames - The system cannot find the path specified.; want The directory name is invalid.

4 participants