[16:01:56.393 INF] [] ======== Test file: Start ======= {}
[16:01:58.325 INF] [] ======== java.util.stream.Stream com.couchbase.transactions.query.single_query.SingleQueryTransactionBlockedByAFailedTxnTest.permute_allFailedTransactions_checkQueryStmtBehaviour():permute_allFailedTransactions_checkQueryStmtBehaviour(): testStart ======= {}
[16:01:58.807 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "1068bcce-27ae-40c9-a45b-743d57227cfb" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:01:58.807 INF] [] Starting Transaction Test {}
[16:01:58.807 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "1068bcce-27ae-40c9-a45b-743d57227cfb" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:01:58.807 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:01:58.807 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:01:58.807 DBG] [] Registering 1 hooks {}
[16:01:58.807 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:01:58.807 DBG] [] Starting Attempt 0 {}
[16:01:58.808 DBG] [] Performing TransactionCommand Insert {}
[16:02:00.583 DBG] [] 606475f9-680d-4c95-a026-5f31cebe5775.0f384624-17d0-4334-ace8-c1403da62090: Performing command: insert {}
[16:02:00.584 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:00.905 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-805-#12/attempts.0f384624-17d0-4334-ace8-c1403da62090 (cas = 1707494520978931712) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:00.905 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-805-#12 (attempt=0f384624-17d0-4334-ace8-c1403da62090) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:01.069 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 1068bcce-27ae-40c9-a45b-743d57227cfb, attemptId=0f384624-17d0-4334-ace8-c1403da62090, preCas=null, postCas=1707494521140740096 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:01.071 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:01.071 DBG] [] Operation 'insert' failed as expected {}
[16:02:01.071 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:01.071 INF] [ExecuteApplicationLambda] Attempt 0f384624-17d0-4334-ace8-c1403da62090 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:01.076 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:01.076 INF] [] Completed Transaction Test {}
[16:02:01.698 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "INSERT INTO `_default` VALUES ('1068bcce-27ae-40c9-a45b-743d57227cfb', {\"content\":\"initial\"})", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "expectedMutations": 1, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } }, "queryOptions": { "timeoutMillis": "2000" } } {}
[16:02:01.698 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:01.698 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:01.703 DBG] [Couchbase.Transactions.AttemptContext] [9cd35410-bfab-4f67-a8ef-ca5c4c61dbce] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:03.146 ERR] [Couchbase.Transactions.AttemptContext] [9cd35410-bfab-4f67-a8ef-ca5c4c61dbce] query failed at query: Couchbase.CouchbaseException: Transaction staging error [17020]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 286
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 117
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 357
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Core/Retry/RetryOrchestrator.cs:line 72
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 360
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 2089
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:03.149 WRN] [Couchbase.Transactions.AttemptContext] query code=17020 cause={
"bucket": "default",
"cause": "deadline expired before WWC was resolved on default._default._default._txn:atr-805-#12",
"collection": "_default",
"document_key": "1068bcce-27ae-40c9-a45b-743d57227cfb",
"msg": "write write conflict",
"scope": "_default"
} raise=failed {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:03.150 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailOther, retry = True, finalError = TransactionFailed) {}
[16:02:03.151 INF] [ExecuteApplicationLambda] Attempt 9cd35410-bfab-4f67-a8ef-ca5c4c61dbce completed. CleanupClient=False, LostCleanup=False {}
[16:02:03.154 DBG] [Couchbase.Transactions.AttemptContext] [91e1c90a-8c4a-454c-8aed-a6a1552e13e8] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:04.353 ERR] [Couchbase.Transactions.AttemptContext] [91e1c90a-8c4a-454c-8aed-a6a1552e13e8] query failed at query: Couchbase.Core.Exceptions.IndexFailureException: Keyspace not found in CB datastore: default:_default - cause: No bucket named _default [12003]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 286
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 117
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 357
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Core/Retry/RetryOrchestrator.cs:line 72
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 360
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 2089
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:04.354 INF] [ExecuteApplicationLambda] Attempt 91e1c90a-8c4a-454c-8aed-a6a1552e13e8 completed. CleanupClient=False, LostCleanup=False {}
[16:02:04.964 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "8140532f-c69c-4285-9788-39459a2afae6" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:04.964 INF] [] Starting Transaction Test {}
[16:02:04.964 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "8140532f-c69c-4285-9788-39459a2afae6" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:04.964 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:04.964 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:04.964 DBG] [] Registering 1 hooks {}
[16:02:04.964 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:04.965 DBG] [] Starting Attempt 0 {}
[16:02:04.965 DBG] [] Performing TransactionCommand Insert {}
[16:02:04.965 DBG] [] 099a4b13-9cf2-42df-b988-e6d692374165.c12baa2c-4219-43ba-b481-38179c9aa621: Performing command: insert {}
[16:02:04.965 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:05.136 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-406-#1923/attempts.c12baa2c-4219-43ba-b481-38179c9aa621 (cas = 1707494525204889600) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:05.136 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-406-#1923 (attempt=c12baa2c-4219-43ba-b481-38179c9aa621) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:05.307 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 8140532f-c69c-4285-9788-39459a2afae6, attemptId=c12baa2c-4219-43ba-b481-38179c9aa621, preCas=null, postCas=1707494525375348736 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:05.309 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:05.309 DBG] [] Operation 'insert' failed as expected {}
[16:02:05.309 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:05.310 INF] [ExecuteApplicationLambda] Attempt c12baa2c-4219-43ba-b481-38179c9aa621 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:05.311 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:05.311 INF] [] Completed Transaction Test {}
[16:02:05.743 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "UPDATE `_default` SET content = \"updated\" WHERE META().id = '8140532f-c69c-4285-9788-39459a2afae6'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:05.743 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:05.743 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:05.744 DBG] [Couchbase.Transactions.AttemptContext] [439dc723-1008-45ce-9270-59c09cad4478] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:06.157 INF] [ExecuteApplicationLambda] Attempt 439dc723-1008-45ce-9270-59c09cad4478 completed. CleanupClient=False, LostCleanup=False {}
[16:02:07.062 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "899a6be7-022c-4e54-8f97-3c24a3795f13" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:07.062 INF] [] Starting Transaction Test {}
[16:02:07.062 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "899a6be7-022c-4e54-8f97-3c24a3795f13" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:07.062 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:07.062 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:07.062 DBG] [] Registering 1 hooks {}
[16:02:07.062 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:07.062 DBG] [] Starting Attempt 0 {}
[16:02:07.062 DBG] [] Performing TransactionCommand Insert {}
[16:02:07.062 DBG] [] 4efa93a9-0c10-4b4c-b7f8-dd7fd27e0b2f.e007a58d-224d-4fb7-a89c-5e102e054dcb: Performing command: insert {}
[16:02:07.062 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:07.222 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-418-#329/attempts.e007a58d-224d-4fb7-a89c-5e102e054dcb (cas = 1707494527292342272) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:07.222 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-418-#329 (attempt=e007a58d-224d-4fb7-a89c-5e102e054dcb) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:07.386 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 899a6be7-022c-4e54-8f97-3c24a3795f13, attemptId=e007a58d-224d-4fb7-a89c-5e102e054dcb, preCas=null, postCas=1707494527455395840 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:07.388 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:07.388 DBG] [] Operation 'insert' failed as expected {}
[16:02:07.388 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:07.388 INF] [ExecuteApplicationLambda] Attempt e007a58d-224d-4fb7-a89c-5e102e054dcb completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:07.390 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:07.390 INF] [] Completed Transaction Test {}
[16:02:07.890 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "DELETE FROM `_default` WHERE META().id = '899a6be7-022c-4e54-8f97-3c24a3795f13'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:07.890 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:07.890 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:07.890 DBG] [Couchbase.Transactions.AttemptContext] [90e8d248-0867-4130-9be8-c41cb621ff37] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:08.220 INF] [ExecuteApplicationLambda] Attempt 90e8d248-0867-4130-9be8-c41cb621ff37 completed. CleanupClient=False, LostCleanup=False {}
[16:02:09.060 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "4e6bf4f5-4515-499d-8a7c-47e96bbc386f" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:09.060 INF] [] Starting Transaction Test {}
[16:02:09.060 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "4e6bf4f5-4515-499d-8a7c-47e96bbc386f" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:09.060 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:09.060 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:09.060 DBG] [] Registering 1 hooks {}
[16:02:09.060 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:09.061 DBG] [] Starting Attempt 0 {}
[16:02:09.061 DBG] [] Performing TransactionCommand Insert {}
[16:02:09.061 DBG] [] d25daf8f-ab87-4f28-b0d7-0260c08538ea.3ccc48e9-3751-485d-a73f-d942ae289dca: Performing command: insert {}
[16:02:09.061 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:09.232 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-474-#12a9/attempts.3ccc48e9-3751-485d-a73f-d942ae289dca (cas = 1707494529300365312) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:09.232 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-474-#12a9 (attempt=3ccc48e9-3751-485d-a73f-d942ae289dca) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:09.396 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 4e6bf4f5-4515-499d-8a7c-47e96bbc386f, attemptId=3ccc48e9-3751-485d-a73f-d942ae289dca, preCas=null, postCas=1707494529465974784 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:09.398 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:09.398 DBG] [] Operation 'insert' failed as expected {}
[16:02:09.398 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:09.399 INF] [ExecuteApplicationLambda] Attempt 3ccc48e9-3751-485d-a73f-d942ae289dca completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:09.401 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:09.401 INF] [] Completed Transaction Test {}
[16:02:09.897 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "SELECT * FROM `_default` WHERE META().id = '4e6bf4f5-4515-499d-8a7c-47e96bbc386f'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:09.897 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:09.897 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:09.897 DBG] [Couchbase.Transactions.AttemptContext] [23784d06-f89b-43b6-bf19-13eaa3e4a07b] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:10.244 INF] [ExecuteApplicationLambda] Attempt 23784d06-f89b-43b6-bf19-13eaa3e4a07b completed. CleanupClient=False, LostCleanup=False {}
[16:02:11.271 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a4008223-ada0-4e02-88cf-71b759e1b511" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:11.271 INF] [] Starting Transaction Test {}
[16:02:11.271 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a4008223-ada0-4e02-88cf-71b759e1b511" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:11.271 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:11.271 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:11.271 DBG] [] Registering 1 hooks {}
[16:02:11.271 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:11.271 DBG] [] Starting Attempt 0 {}
[16:02:11.271 DBG] [] Performing TransactionCommand Insert {}
[16:02:11.271 DBG] [] 6e25e7b5-9125-4c67-aec8-a4edc824a081.389c8e23-8b38-4ea1-9f45-139c7073ca01: Performing command: insert {}
[16:02:11.272 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:11.445 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-1018-#878/attempts.389c8e23-8b38-4ea1-9f45-139c7073ca01 (cas = 1707494531515875328) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:11.445 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-1018-#878 (attempt=389c8e23-8b38-4ea1-9f45-139c7073ca01) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:11.610 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for a4008223-ada0-4e02-88cf-71b759e1b511, attemptId=389c8e23-8b38-4ea1-9f45-139c7073ca01, preCas=null, postCas=1707494531678797824 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:11.612 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:11.612 DBG] [] Operation 'insert' failed as expected {}
[16:02:11.612 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:11.612 INF] [ExecuteApplicationLambda] Attempt 389c8e23-8b38-4ea1-9f45-139c7073ca01 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:11.614 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:11.614 INF] [] Completed Transaction Test {}
[16:02:11.618 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "INSERT INTO `_default` VALUES ('a4008223-ada0-4e02-88cf-71b759e1b511', {\"content\":\"initial\"})", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "expectedMutations": 1, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } }, "queryOptions": { "timeoutMillis": "2000" } } {}
[16:02:11.618 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:11.618 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:11.620 DBG] [Couchbase.Transactions.AttemptContext] [f1c5dd68-664c-4830-8280-359c1154a19c] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:12.974 ERR] [Couchbase.Transactions.AttemptContext] [f1c5dd68-664c-4830-8280-359c1154a19c] query failed at query: Couchbase.CouchbaseException: Transaction staging error [17020]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 286
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 117
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 357
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Core/Retry/RetryOrchestrator.cs:line 72
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 360
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 2089
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:12.975 WRN] [Couchbase.Transactions.AttemptContext] query code=17020 cause={
"bucket": "default",
"cause": "deadline expired before WWC was resolved on default._default._default._txn:atr-1018-#878",
"collection": "_default",
"document_key": "a4008223-ada0-4e02-88cf-71b759e1b511",
"msg": "write write conflict",
"scope": "_default"
} raise=failed {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:12.975 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailOther, retry = True, finalError = TransactionFailed) {}
[16:02:12.975 INF] [ExecuteApplicationLambda] Attempt f1c5dd68-664c-4830-8280-359c1154a19c completed. CleanupClient=False, LostCleanup=False {}
[16:02:12.984 DBG] [Couchbase.Transactions.AttemptContext] [5cebb45d-11a8-4d94-8538-d8cac7f47ef0] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:14.207 ERR] [Couchbase.Transactions.AttemptContext] [5cebb45d-11a8-4d94-8538-d8cac7f47ef0] query failed at query: Couchbase.Core.Exceptions.IndexFailureException: Keyspace not found in CB datastore: default:_default - cause: No bucket named _default [12003]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 286
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 117
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 357
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Core/Retry/RetryOrchestrator.cs:line 72
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 360
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 2089
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:14.208 INF] [ExecuteApplicationLambda] Attempt 5cebb45d-11a8-4d94-8538-d8cac7f47ef0 completed. CleanupClient=False, LostCleanup=False {}
[16:02:14.759 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "98226526-92b1-4f49-9f00-1595652dd9db" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:14.759 INF] [] Starting Transaction Test {}
[16:02:14.759 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "98226526-92b1-4f49-9f00-1595652dd9db" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:14.759 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:14.759 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:14.759 DBG] [] Registering 1 hooks {}
[16:02:14.759 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:14.760 DBG] [] Starting Attempt 0 {}
[16:02:14.760 DBG] [] Performing TransactionCommand Insert {}
[16:02:14.760 DBG] [] 9acbebab-a2af-493b-b492-49ef621dcedb.cfca5290-c67a-40ff-bcca-f755c3846930: Performing command: insert {}
[16:02:14.760 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:14.954 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-950-#106/attempts.cfca5290-c67a-40ff-bcca-f755c3846930 (cas = 1707494535006650368) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:14.955 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-950-#106 (attempt=cfca5290-c67a-40ff-bcca-f755c3846930) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:15.137 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 98226526-92b1-4f49-9f00-1595652dd9db, attemptId=cfca5290-c67a-40ff-bcca-f755c3846930, preCas=null, postCas=1707494535201292288 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:15.139 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:15.139 DBG] [] Operation 'insert' failed as expected {}
[16:02:15.139 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:15.139 INF] [ExecuteApplicationLambda] Attempt cfca5290-c67a-40ff-bcca-f755c3846930 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:15.141 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:15.141 INF] [] Completed Transaction Test {}
[16:02:15.144 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "UPDATE `_default` SET content = \"updated\" WHERE META().id = '98226526-92b1-4f49-9f00-1595652dd9db'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:15.144 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:15.144 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:15.145 DBG] [Couchbase.Transactions.AttemptContext] [cfd51afb-66f1-4ef9-804f-9ec612bbae94] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:15.360 INF] [ExecuteApplicationLambda] Attempt cfd51afb-66f1-4ef9-804f-9ec612bbae94 completed. CleanupClient=False, LostCleanup=False {}
[16:02:16.230 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "127534f5-8a4a-44c2-b544-9ae4bbb77973" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:16.230 INF] [] Starting Transaction Test {}
[16:02:16.230 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "127534f5-8a4a-44c2-b544-9ae4bbb77973" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:16.230 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:16.230 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:16.230 DBG] [] Registering 1 hooks {}
[16:02:16.230 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:16.231 DBG] [] Starting Attempt 0 {}
[16:02:16.231 DBG] [] Performing TransactionCommand Insert {}
[16:02:16.231 DBG] [] cb546a26-797d-4132-aec3-2cfe6f83cc09.f10e381c-b6dc-4516-84ad-962de4bf939c: Performing command: insert {}
[16:02:16.231 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:16.425 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-149-#1841/attempts.f10e381c-b6dc-4516-84ad-962de4bf939c (cas = 1707494536484683776) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:16.425 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-149-#1841 (attempt=f10e381c-b6dc-4516-84ad-962de4bf939c) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:16.606 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 127534f5-8a4a-44c2-b544-9ae4bbb77973, attemptId=f10e381c-b6dc-4516-84ad-962de4bf939c, preCas=null, postCas=1707494536675852288 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:16.607 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:16.608 DBG] [] Operation 'insert' failed as expected {}
[16:02:16.608 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:16.608 INF] [ExecuteApplicationLambda] Attempt f10e381c-b6dc-4516-84ad-962de4bf939c completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:16.611 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:16.611 INF] [] Completed Transaction Test {}
[16:02:16.614 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "DELETE FROM `_default` WHERE META().id = '127534f5-8a4a-44c2-b544-9ae4bbb77973'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:16.614 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:16.614 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:16.615 DBG] [Couchbase.Transactions.AttemptContext] [33d63e89-4b32-4adf-8f20-84845a3dc563] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:16.948 INF] [ExecuteApplicationLambda] Attempt 33d63e89-4b32-4adf-8f20-84845a3dc563 completed. CleanupClient=False, LostCleanup=False {}
[16:02:17.774 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c182cad8-5c99-4dbe-9e73-f6e9ed013e10" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:17.774 INF] [] Starting Transaction Test {}
[16:02:17.774 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c182cad8-5c99-4dbe-9e73-f6e9ed013e10" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_STAGED_INSERT_COMPLETE" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:17.774 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:17.774 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:17.774 DBG] [] Registering 1 hooks {}
[16:02:17.774 DBG] [] - Hook Point AfterStagedInsertComplete with Action FailHard {}
[16:02:17.775 DBG] [] Starting Attempt 0 {}
[16:02:17.775 DBG] [] Performing TransactionCommand Insert {}
[16:02:17.775 DBG] [] d1b32434-cba9-4747-838d-af42c3d17e0e.97a7486c-595f-4db1-bac6-fe41f02c6d45: Performing command: insert {}
[16:02:17.775 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:17.959 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-598-#18d/attempts.97a7486c-595f-4db1-bac6-fe41f02c6d45 (cas = 1707494538025762816) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:17.959 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-598-#18d (attempt=97a7486c-595f-4db1-bac6-fe41f02c6d45) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:18.163 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for c182cad8-5c99-4dbe-9e73-f6e9ed013e10, attemptId=97a7486c-595f-4db1-bac6-fe41f02c6d45, preCas=null, postCas=1707494538228596736 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:18.164 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:18.164 DBG] [] Operation 'insert' failed as expected {}
[16:02:18.165 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:18.165 INF] [ExecuteApplicationLambda] Attempt 97a7486c-595f-4db1-bac6-fe41f02c6d45 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:18.166 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterStagedInsertComplete(AttemptContext ctx, String id) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 160
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass54_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 684 {}
[16:02:18.166 INF] [] Completed Transaction Test {}
[16:02:18.171 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "SELECT * FROM `_default` WHERE META().id = 'c182cad8-5c99-4dbe-9e73-f6e9ed013e10'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:18.171 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:18.171 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:18.171 DBG] [Couchbase.Transactions.AttemptContext] [35d63aac-8a4e-4059-bb20-256863e87bd9] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:18.378 INF] [ExecuteApplicationLambda] Attempt 35d63aac-8a4e-4059-bb20-256863e87bd9 completed. CleanupClient=False, LostCleanup=False {}
[16:02:19.824 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "5948104e-0c42-40fa-bfad-e8ad3f830453" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:19.824 INF] [] Starting Transaction Test {}
[16:02:19.824 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "5948104e-0c42-40fa-bfad-e8ad3f830453" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:19.824 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:19.824 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:19.824 DBG] [] Registering 1 hooks {}
[16:02:19.824 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:19.824 DBG] [] Starting Attempt 0 {}
[16:02:19.825 DBG] [] Performing TransactionCommand Insert {}
[16:02:19.825 DBG] [] aa0d69b9-45cf-40df-873e-c7d480c17299.5cadccfd-745c-4a28-af87-5e00c38f8ff8: Performing command: insert {}
[16:02:19.825 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:19.987 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-25-#11c/attempts.5cadccfd-745c-4a28-af87-5e00c38f8ff8 (cas = 1707494540058034176) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:19.987 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-25-#11c (attempt=5cadccfd-745c-4a28-af87-5e00c38f8ff8) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:20.165 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 5948104e-0c42-40fa-bfad-e8ad3f830453, attemptId=5cadccfd-745c-4a28-af87-5e00c38f8ff8, preCas=null, postCas=1707494540234457088 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:20.165 DBG] [] aa0d69b9-45cf-40df-873e-c7d480c17299.5cadccfd-745c-4a28-af87-5e00c38f8ff8: Command Succeeded {}
[16:02:20.165 DBG] [] Performing TransactionCommand Commit {}
[16:02:20.165 DBG] [] aa0d69b9-45cf-40df-873e-c7d480c17299.5cadccfd-745c-4a28-af87-5e00c38f8ff8: Performing command: commit {}
[16:02:20.341 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-25-#11c/attempts.5cadccfd-745c-4a28-af87-5e00c38f8ff8 (cas = 1707494540409372672) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:20.341 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-25-#11c (attempt=5cadccfd-745c-4a28-af87-5e00c38f8ff8) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:20.341 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:20.343 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:20.343 DBG] [] Operation 'commit' failed as expected {}
[16:02:20.343 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:20.343 INF] [ExecuteApplicationLambda] Attempt 5cadccfd-745c-4a28-af87-5e00c38f8ff8 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:20.345 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:20.345 INF] [] Completed Transaction Test {}
[16:02:20.882 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "INSERT INTO `_default` VALUES ('5948104e-0c42-40fa-bfad-e8ad3f830453', {\"content\":\"initial\"})", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "expectedMutations": 1, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } }, "queryOptions": { "timeoutMillis": "2000" } } {}
[16:02:20.883 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:20.883 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:20.883 DBG] [Couchbase.Transactions.AttemptContext] [455c025c-5a02-4a86-bccd-6806af168ac7] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:22.236 ERR] [Couchbase.Transactions.AttemptContext] [455c025c-5a02-4a86-bccd-6806af168ac7] query failed at query: Couchbase.CouchbaseException: Transaction staging error [17020]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 286
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 117
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 357
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Core/Retry/RetryOrchestrator.cs:line 72
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 360
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 2089
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:22.236 WRN] [Couchbase.Transactions.AttemptContext] query code=17020 cause={
"bucket": "default",
"cause": "deadline expired before WWC was resolved on default._default._default._txn:atr-25-#11c",
"collection": "_default",
"document_key": "5948104e-0c42-40fa-bfad-e8ad3f830453",
"msg": "write write conflict",
"scope": "_default"
} raise=failed {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:22.236 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailOther, retry = True, finalError = TransactionFailed) {}
[16:02:22.237 INF] [ExecuteApplicationLambda] Attempt 455c025c-5a02-4a86-bccd-6806af168ac7 completed. CleanupClient=False, LostCleanup=False {}
[16:02:22.238 DBG] [Couchbase.Transactions.AttemptContext] [7e5cc828-92df-4747-a88f-b2ddb242aaac] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:23.666 ERR] [Couchbase.Transactions.AttemptContext] [7e5cc828-92df-4747-a88f-b2ddb242aaac] query failed at query: Couchbase.Core.Exceptions.IndexFailureException: Keyspace not found in CB datastore: default:_default - cause: No bucket named _default [12003]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span)
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext()
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request)
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Cluster.cs:line 360
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 2089
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:23.667 INF] [ExecuteApplicationLambda] Attempt 7e5cc828-92df-4747-a88f-b2ddb242aaac completed. CleanupClient=False, LostCleanup=False {}
[16:02:24.345 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "e2022e41-9725-47ea-826c-71b0b261fa88" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:24.345 INF] [] Starting Transaction Test {}
[16:02:24.345 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "e2022e41-9725-47ea-826c-71b0b261fa88" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:24.345 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:24.345 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:24.345 DBG] [] Registering 1 hooks {}
[16:02:24.345 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:24.345 DBG] [] Starting Attempt 0 {}
[16:02:24.345 DBG] [] Performing TransactionCommand Insert {}
[16:02:24.345 DBG] [] b15bd273-084d-4f8b-aeec-958e075fdcba.a3455a9c-51b6-4998-9534-126328008464: Performing command: insert {}
[16:02:24.345 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:24.505 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-410-#f38/attempts.a3455a9c-51b6-4998-9534-126328008464 (cas = 1707494544575496192) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:24.506 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-410-#f38 (attempt=a3455a9c-51b6-4998-9534-126328008464) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:24.668 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for e2022e41-9725-47ea-826c-71b0b261fa88, attemptId=a3455a9c-51b6-4998-9534-126328008464, preCas=null, postCas=1707494544738877440 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:24.668 DBG] [] b15bd273-084d-4f8b-aeec-958e075fdcba.a3455a9c-51b6-4998-9534-126328008464: Command Succeeded {}
[16:02:24.668 DBG] [] Performing TransactionCommand Commit {}
[16:02:24.668 DBG] [] b15bd273-084d-4f8b-aeec-958e075fdcba.a3455a9c-51b6-4998-9534-126328008464: Performing command: commit {}
[16:02:24.831 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-410-#f38/attempts.a3455a9c-51b6-4998-9534-126328008464 (cas = 1707494544900554752) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:24.831 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-410-#f38 (attempt=a3455a9c-51b6-4998-9534-126328008464) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:24.832 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:24.833 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:24.833 DBG] [] Operation 'commit' failed as expected {}
[16:02:24.834 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:24.834 INF] [ExecuteApplicationLambda] Attempt a3455a9c-51b6-4998-9534-126328008464 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:24.836 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:24.837 INF] [] Completed Transaction Test {}
[16:02:25.342 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "UPDATE `_default` SET content = \"updated\" WHERE META().id = 'e2022e41-9725-47ea-826c-71b0b261fa88'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:25.342 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:25.342 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:25.342 DBG] [Couchbase.Transactions.AttemptContext] [c1f3ff23-c56f-43b9-803d-b82f0c79a546] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:25.670 INF] [ExecuteApplicationLambda] Attempt c1f3ff23-c56f-43b9-803d-b82f0c79a546 completed. CleanupClient=False, LostCleanup=False {}
[16:02:26.826 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a63408da-db7f-4894-82f3-c7aa9c3da12f" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:26.826 INF] [] Starting Transaction Test {}
[16:02:26.826 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a63408da-db7f-4894-82f3-c7aa9c3da12f" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:26.826 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:26.826 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:26.826 DBG] [] Registering 1 hooks {}
[16:02:26.826 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:26.826 DBG] [] Starting Attempt 0 {}
[16:02:26.826 DBG] [] Performing TransactionCommand Insert {}
[16:02:26.826 DBG] [] 83daaad6-bf8f-4a2e-b4c7-a36f37f14b82.5be25f28-9a1b-40ba-a5b2-d18a61be55af: Performing command: insert {}
[16:02:26.826 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:26.987 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-81-#80e/attempts.5be25f28-9a1b-40ba-a5b2-d18a61be55af (cas = 1707494547056558080) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:26.987 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-81-#80e (attempt=5be25f28-9a1b-40ba-a5b2-d18a61be55af) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:27.151 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for a63408da-db7f-4894-82f3-c7aa9c3da12f, attemptId=5be25f28-9a1b-40ba-a5b2-d18a61be55af, preCas=null, postCas=1707494547221970944 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:27.152 DBG] [] 83daaad6-bf8f-4a2e-b4c7-a36f37f14b82.5be25f28-9a1b-40ba-a5b2-d18a61be55af: Command Succeeded {}
[16:02:27.152 DBG] [] Performing TransactionCommand Commit {}
[16:02:27.152 DBG] [] 83daaad6-bf8f-4a2e-b4c7-a36f37f14b82.5be25f28-9a1b-40ba-a5b2-d18a61be55af: Performing command: commit {}
[16:02:27.322 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-81-#80e/attempts.5be25f28-9a1b-40ba-a5b2-d18a61be55af (cas = 1707494547392233472) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:27.322 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-81-#80e (attempt=5be25f28-9a1b-40ba-a5b2-d18a61be55af) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:27.323 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:27.324 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:27.324 DBG] [] Operation 'commit' failed as expected {}
[16:02:27.324 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:27.324 INF] [ExecuteApplicationLambda] Attempt 5be25f28-9a1b-40ba-a5b2-d18a61be55af completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:27.326 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:27.326 INF] [] Completed Transaction Test {}
[16:02:27.819 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "DELETE FROM `_default` WHERE META().id = 'a63408da-db7f-4894-82f3-c7aa9c3da12f'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:27.819 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:27.819 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:27.819 DBG] [Couchbase.Transactions.AttemptContext] [4e12643c-0258-49f8-a980-95b9e7db4a18] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:28.145 INF] [ExecuteApplicationLambda] Attempt 4e12643c-0258-49f8-a980-95b9e7db4a18 completed. CleanupClient=False, LostCleanup=False {}
[16:02:28.981 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c0c41fbb-39ba-42e5-99ce-493abab4119c" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:28.981 INF] [] Starting Transaction Test {}
[16:02:28.981 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c0c41fbb-39ba-42e5-99ce-493abab4119c" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:28.981 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:28.981 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:28.981 DBG] [] Registering 1 hooks {}
[16:02:28.981 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:28.982 DBG] [] Starting Attempt 0 {}
[16:02:28.982 DBG] [] Performing TransactionCommand Insert {}
[16:02:28.982 DBG] [] b814528a-a955-473c-9b26-70b22f8caa4c.882465bb-5767-41bc-a483-273953ba98a0: Performing command: insert {}
[16:02:28.982 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:29.144 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-539-#639/attempts.882465bb-5767-41bc-a483-273953ba98a0 (cas = 1707494549214527488) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:29.144 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-539-#639 (attempt=882465bb-5767-41bc-a483-273953ba98a0) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:29.321 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for c0c41fbb-39ba-42e5-99ce-493abab4119c, attemptId=882465bb-5767-41bc-a483-273953ba98a0, preCas=null, postCas=1707494549391671296 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:29.323 DBG] [] b814528a-a955-473c-9b26-70b22f8caa4c.882465bb-5767-41bc-a483-273953ba98a0: Command Succeeded {}
[16:02:29.323 DBG] [] Performing TransactionCommand Commit {}
[16:02:29.323 DBG] [] b814528a-a955-473c-9b26-70b22f8caa4c.882465bb-5767-41bc-a483-273953ba98a0: Performing command: commit {}
[16:02:29.484 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-539-#639/attempts.882465bb-5767-41bc-a483-273953ba98a0 (cas = 1707494549554266112) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:29.484 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-539-#639 (attempt=882465bb-5767-41bc-a483-273953ba98a0) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:29.485 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:29.486 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:29.486 DBG] [] Operation 'commit' failed as expected {}
[16:02:29.487 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:29.487 INF] [ExecuteApplicationLambda] Attempt 882465bb-5767-41bc-a483-273953ba98a0 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:29.489 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:29.489 INF] [] Completed Transaction Test {}
[16:02:29.992 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "SELECT * FROM `_default` WHERE META().id = 'c0c41fbb-39ba-42e5-99ce-493abab4119c'", "expectedResult": [ { "anythingAllowed": true } ], "checkRowCount": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:29.992 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:29.992 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:29.992 DBG] [Couchbase.Transactions.AttemptContext] [7e832857-0cdc-4afa-8e5b-a6de08700373] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:30.319 INF] [ExecuteApplicationLambda] Attempt 7e832857-0cdc-4afa-8e5b-a6de08700373 completed. CleanupClient=False, LostCleanup=False {}
[16:02:31.343 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "b47a22b9-35de-4d9b-a933-ecd63848bb64" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:31.343 INF] [] Starting Transaction Test {}
[16:02:31.343 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "b47a22b9-35de-4d9b-a933-ecd63848bb64" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:31.343 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:31.343 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:31.343 DBG] [] Registering 1 hooks {}
[16:02:31.343 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:31.343 DBG] [] Starting Attempt 0 {}
[16:02:31.343 DBG] [] Performing TransactionCommand Insert {}
[16:02:31.343 DBG] [] 82361007-d2a4-47c5-b154-12cbfbd9380d.9732f525-b997-457b-ab68-1739d9bf0b98: Performing command: insert {}
[16:02:31.343 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:31.505 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-404-#ab9/attempts.9732f525-b997-457b-ab68-1739d9bf0b98 (cas = 1707494551575265280) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:31.505 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-404-#ab9 (attempt=9732f525-b997-457b-ab68-1739d9bf0b98) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:31.672 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for b47a22b9-35de-4d9b-a933-ecd63848bb64, attemptId=9732f525-b997-457b-ab68-1739d9bf0b98, preCas=null, postCas=1707494551741005824 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:31.672 DBG] [] 82361007-d2a4-47c5-b154-12cbfbd9380d.9732f525-b997-457b-ab68-1739d9bf0b98: Command Succeeded {}
[16:02:31.672 DBG] [] Performing TransactionCommand Commit {}
[16:02:31.672 DBG] [] 82361007-d2a4-47c5-b154-12cbfbd9380d.9732f525-b997-457b-ab68-1739d9bf0b98: Performing command: commit {}
[16:02:31.835 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-404-#ab9/attempts.9732f525-b997-457b-ab68-1739d9bf0b98 (cas = 1707494551904714752) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:31.835 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-404-#ab9 (attempt=9732f525-b997-457b-ab68-1739d9bf0b98) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:31.835 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:31.836 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:31.837 DBG] [] Operation 'commit' failed as expected {}
[16:02:31.837 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:31.837 INF] [ExecuteApplicationLambda] Attempt 9732f525-b997-457b-ab68-1739d9bf0b98 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:31.838 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:31.839 INF] [] Completed Transaction Test {}
[16:02:31.842 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "INSERT INTO `_default` VALUES ('b47a22b9-35de-4d9b-a933-ecd63848bb64', {\"content\":\"initial\"})", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "expectedMutations": 1, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } }, "queryOptions": { "timeoutMillis": "2000" } } {}
[16:02:31.842 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:31.842 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:31.842 DBG] [Couchbase.Transactions.AttemptContext] [514989b4-52c0-480a-bffc-2ab0768df2e3] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:33.045 ERR] [Couchbase.Transactions.AttemptContext] [514989b4-52c0-480a-bffc-2ab0768df2e3] query failed at query: Couchbase.CouchbaseException: Transaction staging error [17020]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span)
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext()
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request)
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit)
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:33.045 WRN] [Couchbase.Transactions.AttemptContext] query code=17020 cause={
"bucket": "default",
"cause": "deadline expired before WWC was resolved on default._default._default._txn:atr-404-#ab9",
"collection": "_default",
"document_key": "b47a22b9-35de-4d9b-a933-ecd63848bb64",
"msg": "write write conflict",
"scope": "_default"
} raise=failed {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:33.045 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailOther, retry = True, finalError = TransactionFailed) {}
[16:02:33.046 INF] [ExecuteApplicationLambda] Attempt 514989b4-52c0-480a-bffc-2ab0768df2e3 completed. CleanupClient=False, LostCleanup=False {}
[16:02:33.047 DBG] [Couchbase.Transactions.AttemptContext] [8aa88e65-119f-4ec3-bb78-e163dce51e83] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:34.434 ERR] [Couchbase.Transactions.AttemptContext] [8aa88e65-119f-4ec3-bb78-e163dce51e83] query failed at query: Couchbase.Core.Exceptions.IndexFailureException: Keyspace not found in CB datastore: default:_default - cause: No bucket named _default [12003]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span)
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext()
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request)
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit)
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:34.434 INF] [ExecuteApplicationLambda] Attempt 8aa88e65-119f-4ec3-bb78-e163dce51e83 completed. CleanupClient=False, LostCleanup=False {}
[16:02:35.107 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "857eea67-9cfe-4ff8-af26-25f050a9e221" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:35.107 INF] [] Starting Transaction Test {}
[16:02:35.107 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "857eea67-9cfe-4ff8-af26-25f050a9e221" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:35.107 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:35.107 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:35.107 DBG] [] Registering 1 hooks {}
[16:02:35.107 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:35.107 DBG] [] Starting Attempt 0 {}
[16:02:35.108 DBG] [] Performing TransactionCommand Insert {}
[16:02:35.108 DBG] [] 015e1ccf-28ce-4e90-8a53-2473e6aa5df6.0bf89c2a-07b1-470e-a739-358deb041522: Performing command: insert {}
[16:02:35.108 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:35.269 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-784-#bcb/attempts.0bf89c2a-07b1-470e-a739-358deb041522 (cas = 1707494555338080256) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:35.269 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-784-#bcb (attempt=0bf89c2a-07b1-470e-a739-358deb041522) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:35.434 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 857eea67-9cfe-4ff8-af26-25f050a9e221, attemptId=0bf89c2a-07b1-470e-a739-358deb041522, preCas=null, postCas=1707494555503165440 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:35.435 DBG] [] 015e1ccf-28ce-4e90-8a53-2473e6aa5df6.0bf89c2a-07b1-470e-a739-358deb041522: Command Succeeded {}
[16:02:35.435 DBG] [] Performing TransactionCommand Commit {}
[16:02:35.435 DBG] [] 015e1ccf-28ce-4e90-8a53-2473e6aa5df6.0bf89c2a-07b1-470e-a739-358deb041522: Performing command: commit {}
[16:02:35.605 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-784-#bcb/attempts.0bf89c2a-07b1-470e-a739-358deb041522 (cas = 1707494555675394048) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:35.605 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-784-#bcb (attempt=0bf89c2a-07b1-470e-a739-358deb041522) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:35.605 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:35.607 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:35.607 DBG] [] Operation 'commit' failed as expected {}
[16:02:35.607 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:35.607 INF] [ExecuteApplicationLambda] Attempt 0bf89c2a-07b1-470e-a739-358deb041522 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:35.609 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:35.609 INF] [] Completed Transaction Test {}
[16:02:35.612 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "UPDATE `_default` SET content = \"updated\" WHERE META().id = '857eea67-9cfe-4ff8-af26-25f050a9e221'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:35.612 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:35.612 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:35.612 DBG] [Couchbase.Transactions.AttemptContext] [5cde9472-7fda-4b9c-bc4b-87fa5665bacd] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:35.781 INF] [ExecuteApplicationLambda] Attempt 5cde9472-7fda-4b9c-bc4b-87fa5665bacd completed. CleanupClient=False, LostCleanup=False {}
[16:02:36.592 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c217fbf1-6277-4a3a-8b54-56b7a5d55dc8" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:36.592 INF] [] Starting Transaction Test {}
[16:02:36.592 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c217fbf1-6277-4a3a-8b54-56b7a5d55dc8" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:36.592 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:36.592 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:36.592 DBG] [] Registering 1 hooks {}
[16:02:36.592 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:36.592 DBG] [] Starting Attempt 0 {}
[16:02:36.592 DBG] [] Performing TransactionCommand Insert {}
[16:02:36.592 DBG] [] e04937f9-e054-431b-9c8e-e9720404e14d.7e596217-ddf2-432c-83a9-6f28de514017: Performing command: insert {}
[16:02:36.592 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:36.751 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-426-#27/attempts.7e596217-ddf2-432c-83a9-6f28de514017 (cas = 1707494556822667264) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:36.751 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-426-#27 (attempt=7e596217-ddf2-432c-83a9-6f28de514017) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:36.914 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for c217fbf1-6277-4a3a-8b54-56b7a5d55dc8, attemptId=7e596217-ddf2-432c-83a9-6f28de514017, preCas=null, postCas=1707494556984606720 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:36.914 DBG] [] e04937f9-e054-431b-9c8e-e9720404e14d.7e596217-ddf2-432c-83a9-6f28de514017: Command Succeeded {}
[16:02:36.915 DBG] [] Performing TransactionCommand Commit {}
[16:02:36.915 DBG] [] e04937f9-e054-431b-9c8e-e9720404e14d.7e596217-ddf2-432c-83a9-6f28de514017: Performing command: commit {}
[16:02:37.078 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-426-#27/attempts.7e596217-ddf2-432c-83a9-6f28de514017 (cas = 1707494557148774400) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:37.078 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-426-#27 (attempt=7e596217-ddf2-432c-83a9-6f28de514017) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:37.078 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:37.079 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:37.080 DBG] [] Operation 'commit' failed as expected {}
[16:02:37.080 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:37.080 INF] [ExecuteApplicationLambda] Attempt 7e596217-ddf2-432c-83a9-6f28de514017 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:37.082 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:37.082 INF] [] Completed Transaction Test {}
[16:02:37.086 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "DELETE FROM `_default` WHERE META().id = 'c217fbf1-6277-4a3a-8b54-56b7a5d55dc8'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:37.086 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:37.086 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:37.086 DBG] [Couchbase.Transactions.AttemptContext] [78ba3bb6-182f-4805-997d-bcf5be7ab6b3] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:37.414 INF] [ExecuteApplicationLambda] Attempt 78ba3bb6-182f-4805-997d-bcf5be7ab6b3 completed. CleanupClient=False, LostCleanup=False {}
[16:02:38.231 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "84b521d0-502c-44fa-a6d2-7c7b7f377b49" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:38.231 INF] [] Starting Transaction Test {}
[16:02:38.231 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "84b521d0-502c-44fa-a6d2-7c7b7f377b49" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:38.231 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:38.231 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:38.231 DBG] [] Registering 1 hooks {}
[16:02:38.231 DBG] [] - Hook Point AfterAtrCommit with Action FailHard {}
[16:02:38.232 DBG] [] Starting Attempt 0 {}
[16:02:38.232 DBG] [] Performing TransactionCommand Insert {}
[16:02:38.232 DBG] [] fc3b2c21-6365-454d-964f-3382d82986fc.6237d5ca-f4cd-4ee8-9aac-b59d30427476: Performing command: insert {}
[16:02:38.232 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:38.394 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-102-#81a/attempts.6237d5ca-f4cd-4ee8-9aac-b59d30427476 (cas = 1707494558462836736) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:38.394 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-102-#81a (attempt=6237d5ca-f4cd-4ee8-9aac-b59d30427476) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:38.557 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 84b521d0-502c-44fa-a6d2-7c7b7f377b49, attemptId=6237d5ca-f4cd-4ee8-9aac-b59d30427476, preCas=null, postCas=1707494558626545664 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:38.557 DBG] [] fc3b2c21-6365-454d-964f-3382d82986fc.6237d5ca-f4cd-4ee8-9aac-b59d30427476: Command Succeeded {}
[16:02:38.558 DBG] [] Performing TransactionCommand Commit {}
[16:02:38.558 DBG] [] fc3b2c21-6365-454d-964f-3382d82986fc.6237d5ca-f4cd-4ee8-9aac-b59d30427476: Performing command: commit {}
[16:02:38.720 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-102-#81a/attempts.6237d5ca-f4cd-4ee8-9aac-b59d30427476 (cas = 1707494558790909952) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]}
[16:02:38.720 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-102-#81a (attempt=6237d5ca-f4cd-4ee8-9aac-b59d30427476) {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:38.720 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailHard {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:38.721 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:38.721 DBG] [] Operation 'commit' failed as expected {}
[16:02:38.722 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailHard, retry = False, finalError = TransactionFailed) {}
[16:02:38.722 INF] [ExecuteApplicationLambda] Attempt 6237d5ca-f4cd-4ee8-9aac-b59d30427476 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:38.723 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailHardException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailHardException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_1() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 285
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.AfterAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 92
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1343 {}
[16:02:38.723 INF] [] Completed Transaction Test {}
[16:02:38.727 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "SELECT * FROM `_default` WHERE META().id = '84b521d0-502c-44fa-a6d2-7c7b7f377b49'", "expectedResult": [ { "anythingAllowed": true } ], "checkRowCount": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:38.727 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:38.727 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:38.727 DBG] [Couchbase.Transactions.AttemptContext] [143aa816-bb0e-4c57-b5c8-f90a4d750d18] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:38.892 INF] [ExecuteApplicationLambda] Attempt 143aa816-bb0e-4c57-b5c8-f90a4d750d18 completed. CleanupClient=False, LostCleanup=False {}
[16:02:39.894 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "1c63de24-181f-4132-9523-311bb1fc3b6e" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:39.894 INF] [] Starting Transaction Test {}
[16:02:39.894 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "1c63de24-181f-4132-9523-311bb1fc3b6e" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:39.894 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:39.894 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:39.894 DBG] [] Registering 2 hooks {}
[16:02:39.894 DBG] [] - Hook Point BeforeAtrCommit with Action FailOther {}
[16:02:39.894 DBG] [] - Hook Point AfterAtrAborted with Action FailHard {}
[16:02:39.894 DBG] [] Starting Attempt 0 {}
[16:02:39.894 DBG] [] Performing TransactionCommand Insert {}
[16:02:39.894 DBG] [] 11334276-f952-4544-a36a-42e07ce6fdf8.93b05ce2-3313-419b-921b-89b9ea686f59: Performing command: insert {}
[16:02:39.895 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:40.055 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-1015-#803/attempts.93b05ce2-3313-419b-921b-89b9ea686f59 (cas = 1707494560126205952) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:40.055 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-1015-#803 (attempt=93b05ce2-3313-419b-921b-89b9ea686f59) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:40.223 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 1c63de24-181f-4132-9523-311bb1fc3b6e, attemptId=93b05ce2-3313-419b-921b-89b9ea686f59, preCas=null, postCas=1707494560293519360 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:40.224 DBG] [] 11334276-f952-4544-a36a-42e07ce6fdf8.93b05ce2-3313-419b-921b-89b9ea686f59: Command Succeeded {}
[16:02:40.224 DBG] [] Performing TransactionCommand Commit {}
[16:02:40.224 DBG] [] 11334276-f952-4544-a36a-42e07ce6fdf8.93b05ce2-3313-419b-921b-89b9ea686f59: Performing command: commit {}
[16:02:40.224 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailOther {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:40.226 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:40.226 DBG] [] Operation 'commit' failed as expected {}
[16:02:40.226 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {}
[16:02:40.227 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:40.388 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-1015-#803/attempts.93b05ce2-3313-419b-921b-89b9ea686f59 (cas = 1707494560457162752) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]}
[16:02:40.388 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-1015-#803 (attempt=93b05ce2-3313-419b-921b-89b9ea686f59) {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:40.389 WRN] [ExecuteApplicationLambda] Rollback failed due to Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown. {}
[16:02:40.389 INF] [ExecuteApplicationLambda] Attempt 93b05ce2-3313-419b-921b-89b9ea686f59 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:40.391 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:40.391 INF] [] Completed Transaction Test {}
[16:02:40.887 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "INSERT INTO `_default` VALUES ('1c63de24-181f-4132-9523-311bb1fc3b6e', {\"content\":\"initial\"})", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "expectedMutations": 1, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } }, "queryOptions": { "timeoutMillis": "2000" } } {}
[16:02:40.887 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:40.887 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:40.887 DBG] [Couchbase.Transactions.AttemptContext] [9dbc55b9-81d3-409d-a002-c7b49880b593] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:42.239 ERR] [Couchbase.Transactions.AttemptContext] [9dbc55b9-81d3-409d-a002-c7b49880b593] query failed at query: Couchbase.CouchbaseException: Transaction staging error [17020]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span)
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext()
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request)
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit)
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:42.239 WRN] [Couchbase.Transactions.AttemptContext] query code=17020 cause={
"bucket": "default",
"cause": "deadline expired before WWC was resolved on default._default._default._txn:atr-1015-#803",
"collection": "_default",
"document_key": "1c63de24-181f-4132-9523-311bb1fc3b6e",
"msg": "write write conflict",
"scope": "_default"
} raise=failed {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:42.240 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailOther, retry = True, finalError = TransactionFailed) {}
[16:02:42.240 INF] [ExecuteApplicationLambda] Attempt 9dbc55b9-81d3-409d-a002-c7b49880b593 completed. CleanupClient=False, LostCleanup=False {}
[16:02:42.247 DBG] [Couchbase.Transactions.AttemptContext] [1a138827-8120-4a9d-b55c-0704d20d83fc] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:43.623 ERR] [Couchbase.Transactions.AttemptContext] [1a138827-8120-4a9d-b55c-0704d20d83fc] query failed at query: Couchbase.Core.Exceptions.IndexFailureException: Keyspace not found in CB datastore: default:_default - cause: No bucket named _default [12003]
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 142
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span)
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Cluster.<>c__DisplayClass37_0`1.<g__Func|0>d.MoveNext()
--- End of stack trace from previous location ---
at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync[T](Func`1 send, IRequest request)
at Couchbase.Cluster.QueryAsync[T](String statement, QueryOptions options)
at Couchbase.Transactions.AttemptContext.QueryWrapper[T](Int64 statementId, IScope scope, String statement, QueryOptions options, String hookPoint, IRequestSpan parentSpan, Boolean isBeginWork, Boolean existingErrorCheck, JObject txdata, Boolean txImplicit)
-----------------------Context Info---------------------------
Couchbase.Core.Exceptions.Query.QueryErrorContext
{"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:43.623 INF] [ExecuteApplicationLambda] Attempt 1a138827-8120-4a9d-b55c-0704d20d83fc completed. CleanupClient=False, LostCleanup=False {}
[16:02:44.277 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "e86995c8-900e-4a54-a6dd-9c20b19cd2b1" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:44.277 INF] [] Starting Transaction Test {}
[16:02:44.277 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "e86995c8-900e-4a54-a6dd-9c20b19cd2b1" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:44.277 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:44.278 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:44.278 DBG] [] Registering 2 hooks {}
[16:02:44.278 DBG] [] - Hook Point BeforeAtrCommit with Action FailOther {}
[16:02:44.278 DBG] [] - Hook Point AfterAtrAborted with Action FailHard {}
[16:02:44.278 DBG] [] Starting Attempt 0 {}
[16:02:44.278 DBG] [] Performing TransactionCommand Insert {}
[16:02:44.278 DBG] [] 0ced3438-cd2f-4e84-9bf9-8d545e574fad.be76c788-8374-436e-a4fc-59ac34a1ac1c: Performing command: insert {}
[16:02:44.278 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:44.439 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-675-#12b3/attempts.be76c788-8374-436e-a4fc-59ac34a1ac1c (cas = 1707494564509712384) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:44.439 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-675-#12b3 (attempt=be76c788-8374-436e-a4fc-59ac34a1ac1c) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:44.602 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for e86995c8-900e-4a54-a6dd-9c20b19cd2b1, attemptId=be76c788-8374-436e-a4fc-59ac34a1ac1c, preCas=null, postCas=1707494564672438272 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:44.602 DBG] [] 0ced3438-cd2f-4e84-9bf9-8d545e574fad.be76c788-8374-436e-a4fc-59ac34a1ac1c: Command Succeeded {}
[16:02:44.602 DBG] [] Performing TransactionCommand Commit {}
[16:02:44.602 DBG] [] 0ced3438-cd2f-4e84-9bf9-8d545e574fad.be76c788-8374-436e-a4fc-59ac34a1ac1c: Performing command: commit {}
[16:02:44.603 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailOther {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:44.604 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:44.604 DBG] [] Operation 'commit' failed as expected {}
[16:02:44.604 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {}
[16:02:44.605 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:44.763 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-675-#12b3/attempts.be76c788-8374-436e-a4fc-59ac34a1ac1c (cas = 1707494564834246656) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]}
[16:02:44.763 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-675-#12b3 (attempt=be76c788-8374-436e-a4fc-59ac34a1ac1c) {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:44.764 WRN] [ExecuteApplicationLambda] Rollback failed due to Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown. {}
[16:02:44.764 INF] [ExecuteApplicationLambda] Attempt be76c788-8374-436e-a4fc-59ac34a1ac1c completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:44.768 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:44.768 INF] [] Completed Transaction Test {}
[16:02:45.271 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "UPDATE `_default` SET content = \"updated\" WHERE META().id = 'e86995c8-900e-4a54-a6dd-9c20b19cd2b1'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:45.271 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:45.271 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:45.271 DBG] [Couchbase.Transactions.AttemptContext] [2613aba7-93c3-46f9-acfe-eaa367ceb010] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:45.594 INF] [ExecuteApplicationLambda] Attempt 2613aba7-93c3-46f9-acfe-eaa367ceb010 completed. CleanupClient=False, LostCleanup=False {}
[16:02:46.266 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "e3a0f09c-c5ac-48a9-b9ad-bdfda1d56cdc" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:46.266 INF] [] Starting Transaction Test {}
[16:02:46.266 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "e3a0f09c-c5ac-48a9-b9ad-bdfda1d56cdc" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:46.266 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:46.266 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:46.266 DBG] [] Registering 2 hooks {}
[16:02:46.266 DBG] [] - Hook Point BeforeAtrCommit with Action FailOther {}
[16:02:46.266 DBG] [] - Hook Point AfterAtrAborted with Action FailHard {}
[16:02:46.266 DBG] [] Starting Attempt 0 {}
[16:02:46.267 DBG] [] Performing TransactionCommand Insert {}
[16:02:46.267 DBG] [] 69e43a66-83b6-472e-bab1-c7f965a8661c.f25576ae-6702-4e67-84c1-deb568f81cf3: Performing command: insert {}
[16:02:46.267 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:46.428 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-577-#851/attempts.f25576ae-6702-4e67-84c1-deb568f81cf3 (cas = 1707494566498467840) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:46.428 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-577-#851 (attempt=f25576ae-6702-4e67-84c1-deb568f81cf3) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:46.599 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for e3a0f09c-c5ac-48a9-b9ad-bdfda1d56cdc, attemptId=f25576ae-6702-4e67-84c1-deb568f81cf3, preCas=null, postCas=1707494566670434304 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:46.599 DBG] [] 69e43a66-83b6-472e-bab1-c7f965a8661c.f25576ae-6702-4e67-84c1-deb568f81cf3: Command Succeeded {}
[16:02:46.599 DBG] [] Performing TransactionCommand Commit {}
[16:02:46.599 DBG] [] 69e43a66-83b6-472e-bab1-c7f965a8661c.f25576ae-6702-4e67-84c1-deb568f81cf3: Performing command: commit {}
[16:02:46.600 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailOther {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:46.602 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:46.602 DBG] [] Operation 'commit' failed as expected {}
[16:02:46.602 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {}
[16:02:46.602 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:46.760 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-577-#851/attempts.f25576ae-6702-4e67-84c1-deb568f81cf3 (cas = 1707494566832177152) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]}
[16:02:46.760 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-577-#851 (attempt=f25576ae-6702-4e67-84c1-deb568f81cf3) {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:46.761 WRN] [ExecuteApplicationLambda] Rollback failed due to Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown. {}
[16:02:46.761 INF] [ExecuteApplicationLambda] Attempt f25576ae-6702-4e67-84c1-deb568f81cf3 completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:46.763 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:46.763 INF] [] Completed Transaction Test {}
[16:02:47.250 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "DELETE FROM `_default` WHERE META().id = 'e3a0f09c-c5ac-48a9-b9ad-bdfda1d56cdc'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:47.250 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:47.250 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:47.250 DBG] [Couchbase.Transactions.AttemptContext] [5ad2d664-aad5-47bf-8d46-23e2e46a4c2f] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:47.577 INF] [ExecuteApplicationLambda] Attempt 5ad2d664-aad5-47bf-8d46-23e2e46a4c2f completed. CleanupClient=False, LostCleanup=False {}
[16:02:48.399 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "d6fbda35-3e01-4927-a623-952e6e10b0cd" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:48.399 INF] [] Starting Transaction Test {}
[16:02:48.400 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "d6fbda35-3e01-4927-a623-952e6e10b0cd" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:48.400 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:48.400 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:48.400 DBG] [] Registering 2 hooks {}
[16:02:48.400 DBG] [] - Hook Point BeforeAtrCommit with Action FailOther {}
[16:02:48.400 DBG] [] - Hook Point AfterAtrAborted with Action FailHard {}
[16:02:48.400 DBG] [] Starting Attempt 0 {}
[16:02:48.400 DBG] [] Performing TransactionCommand Insert {}
[16:02:48.400 DBG] [] 7455676b-5406-4ad4-8ad5-79078686cb28.ba35430c-dbbc-41ba-95c2-d41fd19b738e: Performing command: insert {}
[16:02:48.401 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:48.563 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-390-#348/attempts.ba35430c-dbbc-41ba-95c2-d41fd19b738e (cas = 1707494568634286080) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:48.563 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-390-#348 (attempt=ba35430c-dbbc-41ba-95c2-d41fd19b738e) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:48.723 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for d6fbda35-3e01-4927-a623-952e6e10b0cd, attemptId=ba35430c-dbbc-41ba-95c2-d41fd19b738e, preCas=null, postCas=1707494568795373568 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:48.723 DBG] [] 7455676b-5406-4ad4-8ad5-79078686cb28.ba35430c-dbbc-41ba-95c2-d41fd19b738e: Command Succeeded {}
[16:02:48.723 DBG] [] Performing TransactionCommand Commit {}
[16:02:48.723 DBG] [] 7455676b-5406-4ad4-8ad5-79078686cb28.ba35430c-dbbc-41ba-95c2-d41fd19b738e: Performing command: commit {}
[16:02:48.724 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailOther {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:48.725 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:48.725 DBG] [] Operation 'commit' failed as expected {}
[16:02:48.726 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {}
[16:02:48.726 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:48.885 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-390-#348/attempts.ba35430c-dbbc-41ba-95c2-d41fd19b738e (cas = 1707494568957116416) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]}
[16:02:48.885 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-390-#348 (attempt=ba35430c-dbbc-41ba-95c2-d41fd19b738e) {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:48.886 WRN] [ExecuteApplicationLambda] Rollback failed due to Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown. {}
[16:02:48.886 INF] [ExecuteApplicationLambda] Attempt ba35430c-dbbc-41ba-95c2-d41fd19b738e completed. CleanupClient=False, LostCleanup=False {}
Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed.
---> Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340
--- End of inner exception stack trace ---
at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229
at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68
-----------------------Context Info---------------------------
[16:02:48.888 DBG] [] UNKNOWN due to Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:48.888 INF] [] Completed Transaction Test {}
[16:02:49.385 DBG] [] transactionSingleQuery: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8", "query": { "statement": "SELECT * FROM `_default` WHERE META().id = 'd6fbda35-3e01-4927-a623-952e6e10b0cd'", "expectedResult": [ { "anythingAllowed": true } ], "checkMutations": true, "queryParameters": { }, "scope": { "bucketName": "default", "scopeName": "_default" } } } {}
[16:02:49.385 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:49.385 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:49.385 DBG] [Couchbase.Transactions.AttemptContext] [dd0fe78b-7012-4bc2-ab34-fba6cbc4cfa9] Executing Query: query: null {"Scope": ["QueryAsync", "QueryWrapper"]}
[16:02:49.722 INF] [ExecuteApplicationLambda] Attempt dd0fe78b-7012-4bc2-ab34-fba6cbc4cfa9 completed. CleanupClient=False, LostCleanup=False {}
[16:02:50.721 DBG] [] transactionCreate: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "17856658-505c-4a45-9fe3-350f6d46b4e7" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:50.721 INF] [] Starting Transaction Test {}
[16:02:50.721 DBG] [] Test: { "transactionsFactoryRef": "484f2920-5f41-4646-b247-53ab86b83d89", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "17856658-505c-4a45-9fe3-350f6d46b4e7" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "commit": { "expectedResult": [ { "error": { "errorClass": "EC_FAIL_OTHER", "autoRollbackAttempt": true, "toRaise": "EXCEPTION_FAILED", "cause": { "doNotCheck": true } } } ] } } ] } ], "options": { "hook": [ { "hookAction": "FAIL_OTHER" }, { "hookPoint": "AFTER_ATR_ABORTED" } ] }, "clusterConnectionId": "defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8" } {}
[16:02:50.721 DBG] [] clusterConnectionId:defaultClusterConnection_279e3230-4f1c-4f69-98c1-9262e8853dc8 {}
[16:02:50.721 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {}
[16:02:50.721 DBG] [] Registering 2 hooks {}
[16:02:50.721 DBG] [] - Hook Point BeforeAtrCommit with Action FailOther {}
[16:02:50.721 DBG] [] - Hook Point AfterAtrAborted with Action FailHard {}
[16:02:50.721 DBG] [] Starting Attempt 0 {}
[16:02:50.721 DBG] [] Performing TransactionCommand Insert {}
[16:02:50.721 DBG] [] b140871a-6c6b-4081-bc9a-d3ac880cb005.0d46a9ac-593f-41c8-b057-f927b41a1115: Performing command: insert {}
[16:02:50.721 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]}
[16:02:50.881 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-857-#8c7/attempts.0d46a9ac-593f-41c8-b057-f927b41a1115 (cas = 1707494570952294400) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]}
[16:02:50.881 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-857-#8c7 (attempt=0d46a9ac-593f-41c8-b057-f927b41a1115) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]}
[16:02:51.043 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 17856658-505c-4a45-9fe3-350f6d46b4e7, attemptId=0d46a9ac-593f-41c8-b057-f927b41a1115, preCas=null, postCas=1707494571114758144 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]}
[16:02:51.044 DBG] [] b140871a-6c6b-4081-bc9a-d3ac880cb005.0d46a9ac-593f-41c8-b057-f927b41a1115: Command Succeeded {}
[16:02:51.044 DBG] [] Performing TransactionCommand Commit {}
[16:02:51.044 DBG] [] b140871a-6c6b-4081-bc9a-d3ac880cb005.0d46a9ac-593f-41c8-b057-f927b41a1115: Performing command: commit {}
[16:02:51.044 WRN] [Couchbase.Transactions.AttemptContext] Failed attempt at committing due to FailOther {"Scope": ["CommitWithKv", "SetAtrCommit"]}
[16:02:51.045 DBG] [] ExternalException.Unknown: Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException: Exception of type 'Couchbase.Transactions.FitPerformer.Utils.TestFailOtherException' was thrown.
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c.b__57_3() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 291
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass57_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 377
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.ConfigureHook(AttemptContext ctx, Hook hook, String param, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 464
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.<>c__DisplayClass56_0.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 260
--- End of stack trace from previous location ---
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHookRaw(HookPoint hp, AttemptContext ctx, String param, Object def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 258
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.SelectHook(HookPoint hp, AttemptContext ctx, String param, Nullable`1 def, String docId) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 248
at Couchbase.Transactions.FitPerformer.Utils.GrpcAwareTestHooks.BeforeAtrCommit(AttemptContext ctx) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/HooksUtil.cs:line 89
at Couchbase.Transactions.AttemptContext.<>c__DisplayClass70_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 1340 {}
[16:02:51.045 DBG] [] Operation 'commit' failed as expected {}
[16:02:51.046 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {}
[16:02:51.046 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]}
[16:02:51.208 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-857-#8c7/attempts.0d46a9ac-593f-41c8-b057-f927b41a1115 (cas = 1707494571277484032) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]}
[16:02:51.208 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for