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

Runtime tests failing The given key 'appContextSwitch' was not present in the dictionary. #57886

Closed
lewing opened this issue Aug 21, 2021 · 3 comments · Fixed by #57890
Closed
Labels
blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner

Comments

@lewing
Copy link
Member

lewing commented Aug 21, 2021

      Expected: True
      Actual:   False
      Stack Trace:
           at tracing_runtimeeventsource._runtimeeventsource_runtimeeventsource_._runtimeeventsource_runtimeeventsource_sh()
      Output:
        console.error: 
        console.error: Unhandled Exception:
        console.error: System.Collections.Generic.KeyNotFoundException: The given key 'appContextSwitch' was not present in the dictionary.
        console.error:    at System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Item(String key)
        console.error:    at RuntimeEventListener.Verify()
        console.error:    at Program.<Main>$(String[] args)
        console.error: Error: System.Collections.Generic.KeyNotFoundException: The given key 'appContextSwitch' was not present in the dictionary.
           at System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Item(String key)
           at RuntimeEventListener.Verify()
           at Program.<Main>$(String[] args)
        console.error: Error: System.Collections.Generic.KeyNotFoundException: The given key 'appContextSwitch' was not present in the dictionary.
           at System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Item(String key)
           at RuntimeEventListener.Verify()
           at Program.<Main>$(String[] args)
            at Object._convert_exception_for_method_call (dotnet.js:1:177569)
            at Object._handle_exception_for_call (dotnet.js:1:179538)
            at Object._handle_exception_and_produce_result_for_call (dotnet.js:1:179859)
            at Object._call_method_with_converted_args (dotnet.js:1:180933)
            at Object.call_method (dotnet.js:1:179328)
            at dotnet.js:1:186013
            at Object.call_assembly_entry_point (dotnet.js:1:186246)
            at Object.init (runtime.js:368:24)
            at Object.Module.config.loaded_cb (runtime.js:255:8)
            at Object._finalize_startup (dotnet.js:1:136368)
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Aug 21, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@lewing
Copy link
Member Author

lewing commented Aug 21, 2021

Looks like it started in #57303

#57857

#57847

@lewing
Copy link
Member Author

lewing commented Aug 21, 2021

cc @agocke

@lewing lewing added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Aug 21, 2021
@ghost ghost closed this as completed in #57890 Aug 22, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 21, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant