Skip to content

System.Diagnostics.Tests.EventLogSourceCreationTests.CheckSourceExistenceAndDeletion failing on net472 #32241

Closed

Description

@ViktorHofer

System.Diagnostics.Tests.EventLogSourceCreationTests.CheckSourceExistenceAndDeletion

Configuration: net472-Windows_NT-Release-x86-Windows.10.Amd64.Client19H1.Open

System.AggregateException : One or more errors occurred.\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning\r\n---- System.ComponentModel.Win32Exception : A device attached to the system is not functioning
  at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc) in /_/src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs:line 45
   at System.Diagnostics.Tests.Helpers.Retry[T](Func`1 func) in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 46
   at System.Diagnostics.Tests.EventLogSourceCreationTests.CheckSourceExistenceAndDeletion() in /_/src/libraries/System.Diagnostics.EventLog/tests/EventLogTests/EventLogSourceCreationTests.cs:line 25
----- Inner Stack Trace #1 (System.ComponentModel.Win32Exception) -----
   at System.Diagnostics.EventLogInternal.Clear()
   at System.Diagnostics.EventLog.Delete(String logName, String machineName)
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass7_0.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 34
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass8_0`1.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 43
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc) in /_/src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs:line 37
----- Inner Stack Trace #2 (System.ComponentModel.Win32Exception) -----
   at System.Diagnostics.EventLogInternal.Clear()
   at System.Diagnostics.EventLog.Delete(String logName, String machineName)
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass7_0.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 34
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass8_0`1.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 43
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc) in /_/src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs:line 37
----- Inner Stack Trace #3 (System.ComponentModel.Win32Exception) -----
   at System.Diagnostics.EventLogInternal.Clear()
   at System.Diagnostics.EventLog.Delete(String logName, String machineName)
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass7_0.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 34
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass8_0`1.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 43
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc) in /_/src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs:line 37
----- Inner Stack Trace #4 (System.ComponentModel.Win32Exception) -----
   at System.Diagnostics.EventLogInternal.Clear()
   at System.Diagnostics.EventLog.Delete(String logName, String machineName)
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass7_0.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 34
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass8_0`1.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 43
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc) in /_/src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs:line 37
----- Inner Stack Trace #5 (System.ComponentModel.Win32Exception) -----
   at System.Diagnostics.EventLogInternal.Clear()
   at System.Diagnostics.EventLog.Delete(String logName, String machineName)
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass7_0.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 34
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass8_0`1.<Retry>b__0() in /_/src/libraries/System.Diagnostics.EventLog/tests/Helpers.cs:line 43
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc) in /_/src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs:line 37
----- Inner Stack Trace #6 (System.ComponentModel.Win32Exception) -----
   at System.Diagnostics.EventLogInternal.Clear()
   at S

cc @danmosemsft @stephentoub

Activity

  1. added
    untriaged
    on Feb 13, 2020
  2. ViktorHofer commented on Feb 18, 2020

    @ViktorHofer
    MemberAuthor

    Closing as we decided to turn these tests off during CI: #32501

  3. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Diagnostics.EventLoguntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions