Skip to content

Conversation

@lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Nov 27, 2025

https://parsley.mongodb.com/test/mongosh_e2e_tests_macos_14_e2e_tests_darwin_patch_f215cf791e70eb60f25e09bccde48a82d3c4fe22_69286018916eb800070cc618_25_11_27_14_28_43/0/8f5c6f42f715141bd2896c79adf360bc?bookmarks=0,13&shareLine=0

[2025/11/27 15:17:31.614] FAILURE:  ()
[2025/11/27 15:17:31.614] Current Mongosh Log ID:	692868fc599c229305f314c6
[2025/11/27 15:17:31.614] Connecting to:		mongodb://<credentials>@127.0.0.1:50504/?directConnection=true&serverSelectionTimeoutMS=2000&authSource=%24external&authMechanism=GSSAPI&appName=<REDACTED:notary_signing_key_name>+2.5.9
[2025/11/27 15:17:31.614] Error:  Miscellaneous failure (see text): Matching credential ([krbtgt/0.0.1@LDAPTEST.10GEN.CC](mailto:krbtgt/0.0.1@LDAPTEST.10GEN.CC)) not found
[2025/11/27 15:17:31.614]  must include a valid kerberos failure message: expected false to equal true
[2025/11/27 15:17:31.614]       + expected - actual
[2025/11/27 15:17:31.614]       -false
[2025/11/27 15:17:31.614]       +true
[2025/11/27 15:17:31.614]       
[2025/11/27 15:17:31.614] AssertionError: Current Mongosh Log ID:	692868fc599c229305f314c6
[2025/11/27 15:17:31.614] Connecting to:		mongodb://<credentials>@127.0.0.1:50504/?directConnection=true&serverSelectionTimeoutMS=2000&authSource=%24external&authMechanism=GSSAPI&appName=<REDACTED:notary_signing_key_name>+2.5.9
[2025/11/27 15:17:31.614] Error:  Miscellaneous failure (see text): Matching credential ([krbtgt/0.0.1@LDAPTEST.10GEN.CC](mailto:krbtgt/0.0.1@LDAPTEST.10GEN.CC)) not found
[2025/11/27 15:17:31.614]  must include a valid kerberos failure message: expected false to equal true
[2025/11/27 15:17:31.614]     at Context.<anonymous> (test/e2e-auth.spec.ts:1134:71)

@lerouxb lerouxb requested a review from a team as a code owner November 27, 2025 16:26
Copilot AI review requested due to automatic review settings November 27, 2025 16:26
@lerouxb lerouxb added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Nov 27, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Kerberos error message pattern to the e2e authentication tests to handle a specific failure case observed in CI where credential matching fails.

Key Changes:

  • Added error message pattern for "Matching credential" failures in Kerberos authentication tests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lerouxb lerouxb merged commit 0d6e87b into main Nov 27, 2025
18 of 20 checks passed
@lerouxb lerouxb deleted the update-kerberos-error-list branch November 27, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants