Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3094

Address sporadic unit tests failures on build agents

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.2.7
    • None
    • library
    • None
    • 1

    Description

      Couchbase.UnitTests.Core.ClusterContextTests.Couchbase.UnitTests.Core.ClusterContextTests.When_Tracing_Enabled_Custom_To_CustomTraceListener

      Error Message
      System.InvalidOperationException : Collection was modified; enumeration operation may not execute.
      Stacktrace
      at System.Collections.Generic.HashSet`1.Enumerator.MoveNext()
      at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
      at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
      at Couchbase.UnitTests.Core.ClusterContextTests.When_Tracing_Enabled_Custom_To_CustomTraceListener() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/tests/Couchbase.UnitTests/Core/ClusterContextTests.cs:line 153

      Couchbase.UnitTests.Core.Retry.RetryOrchestratorTests.Couchbase.UnitTests.Core.Retry.RetryOrchestratorTests.Test_Query(file: "4070.json", httpStatusCode: BadRequest, errorType: typeof(Couchbase.Core.Exceptions.UnambiguousTimeoutException), readOnly: True, canRetry: True, enableEnhancedPreparedStatements: False)

      Failing for the past 1 build (Since #5352 )
      Took 0.13 sec.
      Error Message
      Attempts: 0
      Expected: True
      Actual: False
      Stacktrace
      at Couchbase.UnitTests.Core.Retry.RetryOrchestratorTests.Test_Query(String file, HttpStatusCode httpStatusCode, Type errorType, Boolean readOnly, Boolean canRetry, Boolean enableEnhancedPreparedStatements) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/tests/Couchbase.UnitTests/Core/Retry/RetryOrchestratorTests.cs:line 517
      — End of stack trace from previous location where exception was thrown —

      Attachments

        For Gerrit Dashboard: NCBC-3094
        # Subject Branch Project Status CR V

        Activity

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty