Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-698

Test Failures against real servers

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-rc
    • None
    • None
    • 1
    • SDK5: Docs, Pathfind Antorized

    Description

      Running against a 6.0 or 6.5 server, there are many failures (at least, for me).  So - lets fix them.  There are segfaults (against a 6.5 server in test_mutatein, which Ellis Breen is looking at now, and in test_importworks in 6.0).  I can make the 6.0 one go away by just changing self.do_analytics_query to self.perform_query - but of course that is no 'fix'.  Nice to get it moving along.  Similarly, the test_diagnostics function just hangs for me.  So - I just changed the timeout there to be finite and now it fails.  But that gets us moving.  Once I do that, I see 37 failures.  So - I'll just whittle away at them.

      Attachments

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

        Activity

          Ellis.Breen Ellis Breen added a comment -

          Just produced a fix which hopefully eliminates a whole class of failures due to callback responses not being extracted correctly. Was caught out as I thought the compiler would complain about missing 'case' statements in my switch handler->cbtype section. 

          Ellis.Breen Ellis Breen added a comment - Just produced a fix which hopefully eliminates a whole class of failures due to callback responses not being extracted correctly. Was caught out as I thought the compiler would complain about missing 'case' statements in my switch handler->cbtype section. 
          david.kelly David Kelly added a comment -

          I believe this is handled. We can run without these segfaults. There are surely some other issues lurking out there, but this one seems done.

          david.kelly David Kelly added a comment - I believe this is handled. We can run without these segfaults. There are surely some other issues lurking out there, but this one seems done.

          This is probably the same as PYCBC-691.

          ingenthr Matt Ingenthron added a comment - This is probably the same as PYCBC-691 .
          david.kelly David Kelly added a comment -

          I think this can be closed – the really significant issues were fixed. Now, there are still plenty of failures, but these are due to changes in interface (many seem to just be how we return things), and are part of the general SDK3-ization work. Lets deal with them separately from this – this ticket was the 'you cannot run tests at all against real servers', and that is handled

          david.kelly David Kelly added a comment - I think this can be closed – the really significant issues were fixed. Now, there are still plenty of failures, but these are due to changes in interface (many seem to just be how we return things), and are part of the general SDK3-ization work. Lets deal with them separately from this – this ticket was the 'you cannot run tests at all against real servers', and that is handled

          People

            david.kelly David Kelly
            david.kelly David Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty