Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1
-
SDK44, SDK48, SDK50, SDK52, SDK02: V.Search, maxTTL=-1, SDK04: Scope Search
Description
26 Test permutations of `permute_allFailedTransactions_checkQueryStmtBehaviour` are failing in cluster version 7.0-release, 7.1-stable, 7.2-stable in .NET with error:
org.opentest4j.AssertionFailedError: Expected transaction to raise cause UnambiguousTimeoutException, but instead it raised exception: EXCEPTION_UNKNOWN
|
exception_cause: CouchbaseException
|
Links of some Jenkins failures:
Below is the failed test:
/**
|
* Generate the different kinds of failures for a transaction. Verify the txn2 reacts to this as expected. But Txn2 will work on the documents in query stmt
|
*
|
* @return
|
*/
|
@TestFactory
|
Stream<DynamicTest> permute_allFailedTransactions_checkQueryStmtBehaviour() {
|
return Stream.of(Operation.INSERT, Operation.REPLACE, Operation.REMOVE) |
.flatMap(txnOperation ->
|
Stream.of(FailureStages.values())
|
.flatMap(failurePoint ->
|
Stream.of(true, false) |
.flatMap(transactionExpired ->
|
Stream.of(QueryOp.values())
|
.map(QueryOp -> {
|
String idx = String.format("txnMutation: %s, failurePoint: %s, QueryOp: %s , transactionExpired: %s", txnOperation, failurePoint, QueryOp, transactionExpired); |
return DynamicTest.dynamicTest(idx, |
() -> checkQueryStmtBehaviour(txnOperation, failurePoint, QueryOp, transactionExpired));
|
}))));
|
}
|
|
After doing some investigation, found that below line of file `test-driver/src/test/java/com/couchbase/transactions/util/TransactionSingleQueryBuilder.java` produces the error `EXCEPTION_UNKNOWN` as a value of singleQueryResponse.
TransactionSingleQueryResponse singleQueryResponse = this.sendToPerformer(); |
Please help us look into this. Attaching docker and IntelliJ logs for your reference. Please feel free to reach out for any further assistance.
Thanks!
Attachments
Issue Links
- duplicates
-
NCBC-3462 Expected transaction to raise cause UnambiguousTimeoutException, but instead it raised exception: EXCEPTION_UNKNOWN
- Closed