-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
KeyError: 'authmechanismproperties'
Link to task:
Context of when and why the failure occurred:
Stack trace:
[2025/07/15 18:07:51.115] def get_token(self, username=None): [2025/07/15 18:07:51.115] """Get a token for the current provider.""" [2025/07/15 18:07:51.115] if ENVIRON == "test": [2025/07/15 18:07:51.115] if username is None: [2025/07/15 18:07:51.115] token_file = TOKEN_FILE [2025/07/15 18:07:51.115] else: [2025/07/15 18:07:51.115] token_file = os.path.join(TOKEN_DIR, username) [2025/07/15 18:07:51.115] with open(token_file) as fid: # noqa: ASYNC101,RUF100 [2025/07/15 18:07:51.115] return fid.read() [2025/07/15 18:07:51.115] elif ENVIRON == "azure": [2025/07/15 18:07:51.115] opts = parse_uri(self.uri_single)["options"] [2025/07/15 18:07:51.115] > token_aud = opts["authmechanismproperties"]["TOKEN_RESOURCE"] [2025/07/15 18:07:51.115] E KeyError: 'authmechanismproperties' [2025/07/15 18:07:51.115] test/test_auth_oidc.py:95: KeyError