question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

find consistent failing cases in random transaction stream testing

See original GitHub issue

With #7482, the test “fall back to limit-based query with consistent results” fails occasionally here:

https://github.com/digital-asset/daml/blob/60449fe24da93bfbf87c83c769dba13a447e2e31/ledger/participant-integration-api/src/test/lib/scala/platform/store/dao/JdbcLedgerDaoTransactionsSpec.scala#L531-L534

With a message like so

  Vector("0100000c21", ...) did not equal Vector(...)
  Random parameters:
    actual frequency: 50/1000
    code path: singlePartyWithTemplates

If you get such a failure, please copy those lines to a comment on this issue, along with which test class failed; this will help us find the cause of failure.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
S11001001commented, Oct 14, 2020

@tudor-da H2 or Postgres?

0reactions
SamirTalwar-DAcommented, Jan 5, 2021

In case it’s useful: I got another failure in CI in the PostgreSQL spec:

  Vector("0100000077", "0100000078", "0100000079", "010000007a", "010000007d", "010000007f", "0100000085", "0100000086", "0100000088", "010000008b", "010000008c", "010000008d", "010000008e", "010000008f", "0100000090", "0100000091", "0100000092", "0100000094", "0100000095", "0100000096", "0100000098", "0100000099", "010000009f", "01000000a4", "01000000a5", "01000000a6", "01000000ab", "01000000ad", "01000000ae", "01000000af", "01000000b4", "01000000b5", "01000000b6", "01000000b7", "01000000ba", "01000000bb", "01000000bf", "01000000c0", "01000000c2", "01000000c4", "01000000c5", "01000000c6", "01000000c7", "01000000c9", "01000000cb", "01000000cc", "01000000cd", "01000000d1", "01000000d2", "01000000d3", "01000000d4", "01000000d5", "01000000d7", "01000000d9", "01000000df", "01000000e0", "01000000e9", "01000000ec", "01000000ee", "01000000ef", "01000000f3", "01000000f4", "01000000f6", "01000000f8", "01000000f9", "01000000fa", "01000000fb", "0100000100", "0100000101", "0100000102", "0100000103", "0100000105", "010000...
    Random parameters:
      actual frequency: 501/1000
      code path: mixedTemplatesWithWildcardParties
Read more comments on GitHub >

github_iconTop Results From Across the Web

The Mysterious Gotcha of gRPC Stream Performance
To create a representative test, we want no correlation between the publisher creating times. The solution to this is quite simple: add some...
Read more >
Safety First! Common Safety Pitfalls in Distributed ...
Read our latest post "Safety First! Common Safety Pitfalls in Distributed Databases Found by Jepsen Tests" here.
Read more >
CockroachDB Beta Passes Jepsen Testing
The sequential test shows that with an additional constraint (clients are “sticky” to a particular node), we provide sequential consistency ( ...
Read more >
Testing best practices - GitLab Docs
When implementing tests for a feature, we must think about developing the right tests, but then cover all the important ways the test...
Read more >
ML Model Testing: 4 Teams Share How They Test Their ...
Developing tests for ML models can help teams systematically analyze model errors and detect failure modes, so resolution plans are made and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found