Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-2137

integration test failures against 7.6.0

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 0

    Description

      On a clean build running against 7.6.0, I'm seeing these failures. They do not occur against 7.2.4. It's really just the FastFailAuthErrorTest that is the problem (explanations for the others are below).

      [INFO] Results:
      [INFO] 
      [ERROR] Failures: 
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$operationsTimeoutUserDoesNotHaveRBAC$24:437 Unexpected exception type thrown, expected: <com.couchbase.client.core.error.TimeoutException> but was: <com.couchbase.client.core.error.AuthenticationFailureException>
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$operationsTimeoutUserDoesNotHaveRBAC$24:437 Unexpected exception type thrown, expected: <com.couchbase.client.core.error.TimeoutException> but was: <com.couchbase.client.core.error.AuthenticationFailureException>
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$operationsTimeoutUserDoesNotHaveRBAC$24:437 Unexpected exception type thrown, expected: <com.couchbase.client.core.error.TimeoutException> but was: <com.couchbase.client.core.error.AuthenticationFailureException>
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$operationsTimeoutWhenBucketDoesNotExist$21:415 Unexpected exception type thrown, expected: <com.couchbase.client.core.error.TimeoutException> but was: <com.couchbase.client.core.error.AuthenticationFailureException>
      [ERROR]   CollectionManagerErrorIntegrationTest.failsUnderMemcachedBuckets:90 Unexpected exception type thrown, expected: <com.couchbase.client.core.error.FeatureNotAvailableException> but was: <com.couchbase.client.core.error.RequestCanceledException>
      [ERROR] Errors: 
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$ifOperationSucceedsAuthenticationStatusIsCorrect$22:426 » AuthenticationFailure
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$ifOperationSucceedsAuthenticationStatusIsCorrect$22:426 » AuthenticationFailure
      [ERROR]   FastFailAuthErrorTest.lambda$null$9:353->lambda$ifOperationSucceedsAuthenticationStatusIsCorrect$22:426 » AuthenticationFailure
      [ERROR]   BucketManagerIntegrationTest.createCouchbaseBucketWithStorageBackendMagma:225->createBucket:414 » InvalidArgument
      [INFO] 
      [ERROR] Tests run: 813, Failures: 5, Errors: 4, Skipped: 38
      

      mvn integration-test -pl core-io,java-client -Dtest=FastFailAuthErrorTest,CollectionManagerErrorIntegrationTest,BucketManagerIntegrationTest -DfailIfNoTests=false

      the BucketManagerIntegrationTestFailure is because my it doesn't have enough RAM. Oddly, with 7.2.4 it does (?)

      [ERROR] Tests run: 27, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 10.996 s <<< FAILURE! - in com.couchbase.client.java.manager.bucket.BucketManagerIntegrationTest
      [ERROR] createCouchbaseBucketWithStorageBackendMagma  Time elapsed: 0.014 s  <<< ERROR!
      com.couchbase.client.core.error.InvalidArgumentException: Unexpected HTTP status 400 Bad Request {"completed":true,"coreId":"0x74d0c10e00000001","httpBody":"{\"errors\":{\"ramQuota\":\"RAM quota specified is too large to be provisioned into this cluster
      

      The CollectionManagerErrorIntegrationTest failure is maybe intermittent (?). Possibly from a problem creating a bucket due to another test creating a bucket and that bucket not (yet) being deleted. When ran by itself it passes.

      Attachments

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

        Activity

          People

            david.nault David Nault
            michael.reiche Michael Reiche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty