runtime: EventLogEntryCollectionTests.CheckingEntryEqualityAndIndex failed with ArgumentException

https://mc.dot.net/#/user/stephentoub/pr~2Fjenkins~2Fdotnet~2Fcorefx~2Fmaster~2F/test~2Ffunctional~2Fcli~2F/94474b7e9325802a019eace4ffce5cb6add96b0b/workItem/System.Diagnostics.EventLog.Tests/analysis/xunit/System.Diagnostics.Tests.EventLogEntryCollectionTests~2FCheckingEntryEqualityAndIndex

Unhandled Exception of Type System.ArgumentException
Message :
System.ArgumentException : Index -1 is out of bounds.
Stack Trace :
   at System.Diagnostics.EventLogInternal.GetEntryAt(Int32 index)
   at System.Diagnostics.EventLogEntryCollection.get_Item(Int32 index)
   at System.Diagnostics.Tests.EventLogEntryCollectionTests.CheckingEntryEqualityAndIndex()

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24 (23 by maintainers)

Most upvoted comments

@Anipik as noted in the other issue I think sadly the first thing to try is more retries and/or backoffs on the delays. I suggest making it try for 30 seconds or something super large like that.