Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 16, 2024

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.

Copy link
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
Copy link
Member

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

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

Thanks!

@ericstj
Copy link
Member

ericstj commented Sep 16, 2024

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
Member

/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 join this conversation on GitHub. Already have an account? Sign in to comment
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