cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.86k stars 3.77k forks source link

roachtest: npgsql failed #122688

Closed cockroach-teamcity closed 3 months ago

cockroach-teamcity commented 4 months ago

roachtest.npgsql failed with artifacts on release-23.2 @ e7576d10aaaa61940cebf8bd8f157ce0e1651e7b:

(orm_helpers.go:218).summarizeFailed: 
Tests run on Cockroach v23.2.5-dev-e7576d10aaaa61940cebf8bd8f157ce0e1651e7b
Tests run against npgsql v7.0.2
3319 Total Tests Run
2636 tests passed
683 tests failed
270 tests skipped
0 tests ignored
0 tests passed unexpectedly
1 test failed unexpectedly
0 tests expected failed but skipped
0 tests expected failed but not run
---
--- FAIL: Npgsql.Tests.TransactionTests(Multiplexing).Failed_transaction_on_close_with_custom_timeout -  (unexpected)
For a full summary look at the npgsql artifacts 
An updated blocklist (npgsqlBlocklist) is available in the artifacts' npgsql log
test artifacts and logs in: /artifacts/npgsql/run_1

Parameters:

See: roachtest README

See: How To Investigate (internal)

See: Grafana

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-38029

rafiss commented 4 months ago
  Failed Failed_transaction_on_close_with_custom_timeout [209 ms]
  Error Message:
     Expected: 1736950
  But was:  1141452

  Stack Trace:
     at Npgsql.Tests.TransactionTests.Failed_transaction_on_close_with_custom_timeout() in /mnt/data1/npgsql/test/Npgsql.Tests/TransactionTests.cs:line 346
   at Npgsql.Tests.TransactionTests.Failed_transaction_on_close_with_custom_timeout() in /mnt/data1/npgsql/test/Npgsql.Tests/TransactionTests.cs:line 347
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TimeoutCommand.<>c__DisplayClass5_0.<RunTestOnSeparateThread>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()

1)    at Npgsql.Tests.TransactionTests.Failed_transaction_on_close_with_custom_timeout() in /mnt/data1/npgsql/test/Npgsql.Tests/TransactionTests.cs:line 346

It looks like the test is checking that a connection can be reused by the connection pool: https://github.com/npgsql/npgsql/blob/1335dd2a8a238dc609841f1c359b2b56e3099cf1/test/Npgsql.Tests/TransactionTests.cs#L326-L347

Since this hasn't failed again, we will not investigate unless it keeps failing more.

cockroach-teamcity commented 4 months ago

roachtest.npgsql failed with artifacts on release-23.2 @ a36883a03ce0b30af0c025ff2b0de2f3845ad8d7:

(orm_helpers.go:218).summarizeFailed: 
Tests run on Cockroach v23.2.5-dev-a36883a03ce0b30af0c025ff2b0de2f3845ad8d7
Tests run against npgsql v7.0.2
3318 Total Tests Run
2633 tests passed
685 tests failed
271 tests skipped
0 tests ignored
0 tests passed unexpectedly
1 test failed unexpectedly
0 tests expected failed but skipped
0 tests expected failed but not run
---
--- FAIL: Npgsql.Tests.TransactionTests(Multiplexing).Failed_transaction_on_close_with_custom_timeout -  (unexpected)
For a full summary look at the npgsql artifacts 
An updated blocklist (npgsqlBlocklist) is available in the artifacts' npgsql log
test artifacts and logs in: /artifacts/npgsql/run_1

Parameters:

See: roachtest README

See: How To Investigate (internal)

See: Grafana

This test on roachdash | Improve this report!