microsoft / microsoft/durabletask-netherite

CI fails consistently, likely due to credential issue

Open
#452 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P1
Dominant language
C#
Stars
239
Forks
37
Avg merge
1d 10h
Merged PRs (30d)
2

Description

From internal conversation:

Looks like I found the cause for the weird null reference exception: local authentication was disabled for the event hubs resource in the netheriteci resource group. By manually turning this on I could get those tests to pass. I am still seeing some other tests fail with timeout, but that is likely a different issue.

manually turning on local authentication in the portal is not a great solution since the KPIs will continue to flag and/or automatically disable local authentication for event hubs. To make this more robust, we would need to revise the CI tests so they use managed identity for authentication.

Managed identity is now fully supported by Netherite, so it should be just a matter of setting up the tests correctly. Still, that requires some work.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the CI tests and Event Hubs authentication setup referenced in the issue, then read how those tests currently obtain credentials. Update the test setup to use managed identity rather than local authentication, and verify the CI tests pass without manually enabling local authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
authentication, ci-cd, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.