Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port db_stress changes from Speedb to the OSS version #9

Closed
isaac-io opened this issue Jun 14, 2022 · 1 comment · Fixed by #10
Closed

Port db_stress changes from Speedb to the OSS version #9

isaac-io opened this issue Jun 14, 2022 · 1 comment · Fixed by #10
Assignees

Comments

@isaac-io
Copy link
Contributor

isaac-io commented Jun 14, 2022

In Speedb (proprietary) we made some changes to db_stress to fix bugs and support desired behaviours, so we need to port them to the OSS version.

Expected behavior

db_stress is behaving as in Speedb (proprietary), without bugs.

Actual behavior

There are some outstanding bugs, and missing features that need to be merged.

Steps to reproduce the behavior

Compare with the Speedb (proprietary) version.

@Yuval-Ariel
Copy link
Contributor

QA status:
running on 9-port-db_stress-changes-from-speedb-to-the-oss-version

stress tests:

passed:

COMPILE_WITH_ASAN=1 ASAN_OPTIONS=detect_stack_use_after_return=1
crash_test
crash_test_with_atomic_flush
crash_test_with_txn
crash_test_with_ts
crash_test_with_multiops_wc_txn
crash_test_with_multiops_wp_txn

failed:

crash_test_with_best_efforts_recovery - also fails on rocksdb 7.2.2: (f2f26b1)
open error: Invalid argument: atomic_flush is currently incompatible with best-efforts recovery
no restriction to run with atomic_flush through crashtest.py

fixed fail #15
ubsan failed on #16

make check

fails at: (also fails on rocksdb 7.2.2: (f2f26b1))

[ RUN      ] EnvTest.GenerateRawUniqueIdTrackEnvDetailsOnly
env/env_test.cc:2743: Failure
Expected equality of these values:
  ids.size()
    Which is: 7193
  kThreads * kIdsPerThread
    Which is: 8000
terminate called after throwing an instance of 'testing::internal::GoogleTestFailureException'
  what():  env/env_test.cc:2743: Failure
Expected equality of these values:
  ids.size()
    Which is: 7193
  kThreads * kIdsPerThread
    Which is: 8000
Received signal 6 (Aborted)
#0   /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7f2729e7600b] ??  ??:0
#1   /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7f2729e55859] ??   ??:0
#2   /lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e911) [0x7f272a22d911] ?? ??:0
#3   /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa38c) [0x7f272a23938c] ?? ??:0
#4   /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa3f7) [0x7f272a2393f7] ?? ??:0
#5   /lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x4d) [0x7f272a2396fd] ??       ??:0
#6   ./env_test(+0x194feb) [0x562778792feb] ??  ??:0
#7   ./env_test(+0x189a43) [0x562778787a43] ??  ??:0
#8   ./env_test(+0xb17f2) [0x5627786af7f2] ??   ??:0
#9   /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f2729e57083] ??        ??:0
#10  ./env_test(+0xd556e) [0x5627786d356e] ??   ??:0
/usr/bin/bash: line 1: 954751 Aborted                 (core dumped) ./env_test &> t/log-env_test

and

[ RUN      ] EventListenerTest.OnBlobFileOperationTest
db/listener_test.cc:1163: Failure
Expected: (info.duration.count()) > (0), actual: 0 vs 0
terminate called after throwing an instance of 'testing::internal::GoogleTestFailureException'
  what():  db/listener_test.cc:1163: Failure
Expected: (info.duration.count()) > (0), actual: 0 vs 0
Aborted (core dumped)

and

ETA: 263s Left: 4951 AVG: 0.05s  local:16/5816/100%/0.1s Note: Google Test filter = EventListenerTest.OnFileOperationTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from EventListenerTest
[ RUN      ] EventListenerTest.OnFileOperationTest
db/listener_test.cc:1163: Failure
Expected: (info.duration.count()) > (0), actual: 0 vs 0
terminate called after throwing an instance of 'testing::internal::GoogleTestFailureException'
  what():  db/listener_test.cc:1163: Failure
Expected: (info.duration.count()) > (0), actual: 0 vs 0
Aborted (core dumped)

and

ETA: 262s Left: 4936 AVG: 0.05s  local:16/5831/100%/0.1s Note: Google Test filter = EventListenerTest.ReadManifestAndWALOnRecovery
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from EventListenerTest
[ RUN      ] EventListenerTest.ReadManifestAndWALOnRecovery
db/listener_test.cc:1163: Failure
Expected: (info.duration.count()) > (0), actual: 0 vs 0
terminate called after throwing an instance of 'testing::internal::GoogleTestFailureException'
  what():  db/listener_test.cc:1163: Failure
Expected: (info.duration.count()) > (0), actual: 0 vs 0
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants