Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1825 Fix JVM CI issues
  3. JCBC-1828

ViewIntegrationTest.canQueryWithKeysPresent does not find expected view

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 1

    Description

      http://sdk.jenkins.couchbase.com/job/jvm/job/jvm-clients/job/couchbase-jvm-clients-scipted-build-pipeline/762/testReport/junit/com.couchbase.client.java/ViewIntegrationTest/testing__Linux__cbdyncluster_6_5_release__colossus__Oracle_JDK_8____canQueryWithKeysPresent/

      Error Message

      The queried view is not found on the server

      Stacktrace

      com.couchbase.client.core.error.ViewNotFoundException: The queried view is not found on the server {"completed":true,"coreId":"0xdd1a802e0000002e","httpStatus":404,"idempotent":true,"lastDispatchedFrom":"172.18.0.4:43230","lastDispatchedTo":"172.23.111.134:8092","requestId":9613,"requestType":"ViewRequest","retried":0,"service":

      {"bucket":"13ef97e1-3bc7-4d99-9b07-12a665358fe9","designDoc":"everything","development":false,"type":"views","viewName":"all"}

      ,"status":"NOT_FOUND","timeoutMs":75000,"timings":{"dispatchMicros":156451,"totalMicros":157017},"viewError":"not_found","viewErrorReason":"Design document _design/everything not found"}

       

       

      This is not a new intermittent issue.  A newly-created view is not found.  There's already a loop in setup that checks the view exists.  So perhaps this is a per-node thing?  (E.g. it exists on node 1 but not on node 2.)

       

       

      Possibly related, possibly it's own thing:

       

      http://sdk.jenkins.couchbase.com/job/jvm/job/jvm-clients/job/couchbase-jvm-clients-scipted-build-pipeline/762/testReport/junit/com.couchbase.client.java/ViewIntegrationTest/testing___Linux__cbdyncluster_7_0_stable__Oracle_JDK_8____returnsDataJustWritten/

       

      Error Message

      expected: <true> but was: <false>

      Stacktrace

      org.opentest4j.AssertionFailedError: expected: <true> but was: <false> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35) at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:162) at com.couchbase.client.java.ViewIntegrationTest.returnsDataJustWritten(ViewIntegrationTest.java:129)

       

      E.g. we've written some KV mutations, done a check of the view with ViewScanConsistency.REQUEST_PLUS, and it hasn't returned those mutations.

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty