Skip to content

[release/9.0] Test only change - Ensure we create new RemoteInvokeOptions for every call - #107875

Merged
carlossanlop merged 1 commit into
release/9.0from
backport/pr-107820-to-release/9.0
Sep 17, 2024
Merged

carlossanlop merged 1 commit into
release/9.0from
backport/pr-107820-to-release/9.0

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 16, 2024 •

Copy link
Copy Markdown
Contributor

Backport of #107820 to release/9.0

/cc @ericstj

Customer Impact

  • Customer reported
  • Found internally

This fixes a test reliability issue that was being encountered regularly in the JITStress and PGO pipelines. Our test was sharing a static options value between multiple tests and that value could be changed by another test running which would cause the service run to be registered with the wrong commandline - resulting in the test hanging or failing.

Regression

  • Yes
  • No

Bug has existed in the tests since introduced

Testing

Never had a repro of the test failure, but the fix is straightforward and covered by existing tests.

Risk

Low - test only change.

Marking as approved since this is a test-only change.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-hosting
See info in area-owners.md if you want to be subscribed.

@ericstj ericstj changed the title [release/9.0] Ensure we create new RemoteInvokeOptions for every call [release/9.0] Test only change - Ensure we create new RemoteInvokeOptions for every call Sep 16, 2024
@ericstj ericstj added the Servicing-approved Approved for servicing release label Sep 16, 2024

@buyaa-n buyaa-n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@ericstj

ericstj commented Sep 16, 2024

Copy link
Copy Markdown
Member

why no build?

@ericstj ericstj closed this Sep 16, 2024
@ericstj ericstj reopened this Sep 16, 2024
The RemoteInvokeOptions instance is mutated by RemoveExecutor.Invoke and cannot be shared.
@ericstj
ericstj force-pushed the backport/pr-107820-to-release/9.0 branch from 53dfb2b to fe91fa6 Compare September 16, 2024 20:27
@carlossanlop

Copy link
Copy Markdown
Contributor

/ba-g The CI failure is unrelated:

eng\testing\wasm-provisioning.targets(122,5): error MSB3923: Failed to download file "https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1300320/chrome-win.zip". The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> A task was canceled. ---> A task was canceled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Extensions-Hosting Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants