Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1274

URLEndpointListenerTest testStatus failure

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0
    • iOS
    • Security Level: Public
    • None
    • 3

    Description

      Check why the failure happens. Attached log file

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Jayahari.Vavachan Jay Vavachan added a comment - - edited

            {Repl#7393} * 8
            	{Pusher#7403} * 9
             
             
            {repl#7398} * 6
            	{C4Replicator#7399} * 3
            	{puller#7404} * 7
            	{revfinder#7405} * 4
            	{incomingrev#7406} * 1
            	{inserter#7407} * 5
            	{pusher#7411} * 2
             
            * destroyed successfully and respective order by which it destroyed.
            
            


            $ grep "destructing\|Freeing\|terminate" log-test.txt                                                      
            2020-09-11 02:25:32.255350-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {Shared#7385} destructing
            2020-09-11 02:25:32.258834-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {Shared#7386} destructing
            2020-09-11 02:25:32.416346-0700 CBL_EE_Tests[21447:1788453] CouchbaseLite Replicator Debug: {incomingrev#7406} destructing (0x7f8480eb4790); actorName='inc<-x-incoming-ws://[::1]:56665'
            2020-09-11 02:25:32.535626-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {pusher#7411} destructing (0x7f8482953b50); actorName='Push<-x-incoming-ws://[::1]:56665'
            2020-09-11 02:25:32.535826-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {repl#7398} terminate() called...
            2020-09-11 02:25:32.535927-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {repl#7398} ...done with terminate()
            2020-09-11 02:25:32.537093-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Info: {C4Replicator#7399} Freeing C4Replicator
            2020-09-11 02:25:32.539166-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {revfinder#7405} destructing (0x7f84829575a0); actorName='RevFinder<-x-incoming-ws://[::1]:56665'
            2020-09-11 02:25:32.539950-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {inserter#7407} destructing (0x7f84829573c0); actorName='Insert<-x-incoming-ws://[::1]:56665'
            2020-09-11 02:25:32.541899-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {repl#7398} destructing (0x7f8483ad5600); actorName='Repl<-x-incoming-ws://[::1]:56665'
            2020-09-11 02:25:32.542474-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {puller#7404} destructing (0x7f8482959c60); actorName='Pull<-x-incoming-ws://[::1]:56665'
            2020-09-11 02:25:32.547007-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7396} destructing (~DataFile)
            2020-09-11 02:25:32.550799-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7408} destructing (~DataFile)
            2020-09-11 02:25:32.560590-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {Repl#7393} terminate() called...
            2020-09-11 02:25:32.561212-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {Repl#7393} ...done with terminate()
            2020-09-11 02:25:32.561988-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {Repl#7393} destructing (0x7f8485135c00); actorName='Repl->ws://localhost:4984/otherdb/_blipsync'
            2020-09-11 02:25:32.564645-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {Pusher#7403} destructing (0x7f84829597b0); actorName='Push->ws://localhost:4984/otherdb/_blipsync'
            2020-09-11 02:25:32.568832-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7391} destructing (~DataFile)
            2020-09-11 02:25:32.573374-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7409} destructing (~DataFile)
            2020-09-11 02:25:33.084086-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {DB#7390} destructing (~DataFile)
            2020-09-11 02:25:33.084325-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {Shared#7389} destructing
            

            Looks like all of them got destructed or freed.

            Jayahari.Vavachan Jay Vavachan added a comment - - edited {Repl#7393} * 8 {Pusher#7403} * 9     {repl#7398} * 6 {C4Replicator#7399} * 3 {puller#7404} * 7 {revfinder#7405} * 4 {incomingrev#7406} * 1 {inserter#7407} * 5 {pusher#7411} * 2   * destroyed successfully and respective order by which it destroyed. $ grep "destructing\|Freeing\|terminate" log-test.txt 2020-09-11 02:25:32.255350-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {Shared#7385} destructing 2020-09-11 02:25:32.258834-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {Shared#7386} destructing 2020-09-11 02:25:32.416346-0700 CBL_EE_Tests[21447:1788453] CouchbaseLite Replicator Debug: {incomingrev#7406} destructing (0x7f8480eb4790); actorName='inc<-x-incoming-ws://[::1]:56665' 2020-09-11 02:25:32.535626-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {pusher#7411} destructing (0x7f8482953b50); actorName='Push<-x-incoming-ws://[::1]:56665' 2020-09-11 02:25:32.535826-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {repl#7398} terminate() called... 2020-09-11 02:25:32.535927-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {repl#7398} ...done with terminate() 2020-09-11 02:25:32.537093-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Info: {C4Replicator#7399} Freeing C4Replicator 2020-09-11 02:25:32.539166-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {revfinder#7405} destructing (0x7f84829575a0); actorName='RevFinder<-x-incoming-ws://[::1]:56665' 2020-09-11 02:25:32.539950-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {inserter#7407} destructing (0x7f84829573c0); actorName='Insert<-x-incoming-ws://[::1]:56665' 2020-09-11 02:25:32.541899-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {repl#7398} destructing (0x7f8483ad5600); actorName='Repl<-x-incoming-ws://[::1]:56665' 2020-09-11 02:25:32.542474-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {puller#7404} destructing (0x7f8482959c60); actorName='Pull<-x-incoming-ws://[::1]:56665' 2020-09-11 02:25:32.547007-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7396} destructing (~DataFile) 2020-09-11 02:25:32.550799-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7408} destructing (~DataFile) 2020-09-11 02:25:32.560590-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {Repl#7393} terminate() called... 2020-09-11 02:25:32.561212-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {Repl#7393} ...done with terminate() 2020-09-11 02:25:32.561988-0700 CBL_EE_Tests[21447:1792322] CouchbaseLite Replicator Debug: {Repl#7393} destructing (0x7f8485135c00); actorName='Repl->ws://localhost:4984/otherdb/_blipsync' 2020-09-11 02:25:32.564645-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Replicator Debug: {Pusher#7403} destructing (0x7f84829597b0); actorName='Push->ws://localhost:4984/otherdb/_blipsync' 2020-09-11 02:25:32.568832-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7391} destructing (~DataFile) 2020-09-11 02:25:32.573374-0700 CBL_EE_Tests[21447:1793910] CouchbaseLite Database Debug: {DB#7409} destructing (~DataFile) 2020-09-11 02:25:33.084086-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {DB#7390} destructing (~DataFile) 2020-09-11 02:25:33.084325-0700 CBL_EE_Tests[21447:1784292] CouchbaseLite Database Debug: {Shared#7389} destructing Looks like all of them got destructed or freed.
            Jayahari.Vavachan Jay Vavachan added a comment - Potential race condition fix: https://github.com/couchbase/couchbase-lite-ios/pull/2744

            Looks like the fix added is working, no more failure from same test.

            Jayahari.Vavachan Jay Vavachan added a comment - Looks like the fix added is working, no more failure from same test.

            People

              Jayahari.Vavachan Jay Vavachan
              Jayahari.Vavachan Jay Vavachan
              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