Skip to content

Disable EnsureCleanEnvironment on wasm since it can't possibly work#81893

Merged
kg merged 1 commit intodotnet:mainfrom
kg:wasm-eventpipe-no-sdp
Feb 9, 2023
Merged

Disable EnsureCleanEnvironment on wasm since it can't possibly work#81893
kg merged 1 commit intodotnet:mainfrom
kg:wasm-eventpipe-no-sdp

Conversation

@kg
Copy link
Member

@kg kg commented Feb 9, 2023

This previous test failure https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-81811-merge-d89ce95366874b81b8/PayloadGroup0/1/console.969b1dd5.log?helixlogtype=result appears to be the result of test scaffolding relying on System.Diagnostics.Process on all non-Windows OSes, including WASM (which doesn't have processes). The scaffolding appears to be trying to clean up persistent state that doesn't exist in the WASM environment, so it seems appropriate to just disable the method on WASM.

cc @mdh1418

@kg kg added arch-wasm WebAssembly architecture test-bug Problem in test source code (most likely) EventPipe labels Feb 9, 2023
@ghost
Copy link

ghost commented Feb 9, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

This previous test failure https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-81811-merge-d89ce95366874b81b8/PayloadGroup0/1/console.969b1dd5.log?helixlogtype=result appears to be the result of test scaffolding relying on System.Diagnostics.Process on all non-Windows OSes, including WASM (which doesn't have processes). The scaffolding appears to be trying to clean up persistent state that doesn't exist in the WASM environment, so it seems appropriate to just disable the method on WASM.

cc @mdh1418

Author: kg
Assignees: -
Labels:

arch-wasm, test-bug, EventPipe

Milestone: -

@kg kg requested a review from akoeplinger February 9, 2023 15:28
@ghost ghost added the area-Tracing-coreclr label Feb 9, 2023
@ghost ghost assigned kg Feb 9, 2023
@radical
Copy link
Member

radical commented Feb 9, 2023

related - the test is skipped on CI now - #81860

@kg kg merged commit 4570167 into dotnet:main Feb 9, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Tracing-coreclr EventPipe test-bug Problem in test source code (most likely)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants