canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.85k stars 216 forks source link

1.16.0: test suite fails #549

Closed kloczek closed 7 months ago

kloczek commented 9 months ago

Looks like test suite two units are faling.

```console [tkloczko@pers-jacek dqlite-1.16.0]$ cat test-suite.log ======================================== libdqlite 1.16.0: ./test-suite.log ======================================== # TOTAL: 2 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: unit-test =============== Running test suite with seed 0x011311da... VfsIntegration/checkpoint disk_mode=0 [ SKIP ] disk_mode=1 [ SKIP ] VfsIntegration/wal disk_mode=0 [ SKIP ] disk_mode=1 [ SKIP ] VfsInit/oom mem-fault-delay=0, mem-fault-repeat=1 [ OK ] [ 0.00000853 / 0.00000689 CPU ] VfsSleep/success disk_mode=0 [ OK ] [ 0.00000689 / 0.00000581 CPU ] disk_mode=1 [ OK ] [ 0.00000762 / 0.00000643 CPU ] VfsCurrentTime/success disk_mode=0 [ OK ] [ 0.00000298 / 0.00000233 CPU ] disk_mode=1 [ OK ] [ 0.00000669 / 0.00000569 CPU ] VfsFileControl/journal disk_mode=0 [ OK ] [ 0.00002502 / 0.00002415 CPU ] disk_mode=1 [ OK ] [ 0.00007762 / 0.00007744 CPU ] VfsShmLock/release disk_mode=0 [ OK ] [ 0.00003572 / 0.00003518 CPU ] disk_mode=1 [ OK ] [ 0.00008974 / 0.00008959 CPU ] VfsShmLock/releaseUnix disk_mode=0 [ OK ] [ 0.00023586 / 0.00023565 CPU ] disk_mode=1 [ OK ] [ 0.00020329 / 0.00020331 CPU ] VfsShmLock/exclBusy disk_mode=0 [ OK ] [ 0.00003382 / 0.00003345 CPU ] disk_mode=1 [ OK ] [ 0.00021300 / 0.00021188 CPU ] VfsShmLock/sharedBusy disk_mode=0 [ OK ] [ 0.00004055 / 0.00003504 CPU ] disk_mode=1 [ OK ] [ 0.00009684 / 0.00009648 CPU ] VfsShmMap/oom mem-fault-delay=0, mem-fault-repeat=1 [ OK ] [ 0.00001090 / 0.00000989 CPU ] mem-fault-delay=1, mem-fault-repeat=1 [ OK ] [ 0.00003132 / 0.00003091 CPU ] VfsTruncate/misaligned [ OK ] [ 0.00000710 / 0.00000629 CPU ] VfsTruncate/emptyGrow [ OK ] [ 0.00000428 / 0.00000399 CPU ] VfsTruncate/empty disk_mode=0 [ OK ] [ 0.00000386 / 0.00000343 CPU ] disk_mode=1 [ OK ] [ 0.00006991 / 0.00006957 CPU ] VfsTruncate/unexpected disk_mode=0 [ OK ] [ 0.00003267 / 0.00003229 CPU ] disk_mode=1 [ OK ] [ 0.00006556 / 0.00006539 CPU ] VfsTruncate/database disk_mode=0 [ OK ] [ 0.00004319 / 0.00004295 CPU ] disk_mode=1 [ OK ] [ 0.00009061 / 0.00009057 CPU ] VfsWrite/beyondLast [ OK ] [ 0.00002329 / 0.00002249 CPU ] VfsWrite/oomPageBuf [ OK ] [ 0.00000442 / 0.00000413 CPU ] VfsWrite/oomPageArray [ OK ] [ 0.00000953 / 0.00000889 CPU ] VfsWrite/oomPage [ OK ] [ 0.00000450 / 0.00000416 CPU ] VfsWrite/andReadPages disk_mode=0 [ OK ] [ 0.00004451 / 0.00004409 CPU ] disk_mode=1 [ OK ] [ 0.00008352 / 0.00008320 CPU ] VfsWrite/dbHeader disk_mode=0 [ OK ] [ 0.00000402 / 0.00000360 CPU ] disk_mode=1 [ OK ] [ 0.00006736 / 0.00006918 CPU ] VfsRead/neverWritten disk_mode=0 [ OK ] [ 0.00000416 / 0.00000380 CPU ] disk_mode=1 [ OK ] [ 0.00006850 / 0.00006832 CPU ] VfsClose/thenDelete disk_mode=0 [ OK ] [ 0.00000460 / 0.00000424 CPU ] disk_mode=1 [ OK ] [ 0.00016164 / 0.00016129 CPU ] VfsFullPathname/success disk_mode=0 [ OK ] [ 0.00000358 / 0.00000332 CPU ] disk_mode=1 [ OK ] [ 0.00000364 / 0.00000332 CPU ] VfsAccess/noent disk_mode=0 [ OK ] [ 0.00000627 / 0.00000550 CPU ] disk_mode=1 [ OK ] [ 0.00002511 / 0.00002491 CPU ] VfsAccess/success disk_mode=0 [ OK ] [ 0.00003704 / 0.00003678 CPU ] disk_mode=1 [ OK ] [ 0.00007059 / 0.00007044 CPU ] VfsDelete/enoent disk_mode=0 [ OK ] [ 0.00000271 / 0.00000227 CPU ] disk_mode=1 [ OK ] [ 0.00002606 / 0.00002559 CPU ] VfsDelete/success disk_mode=0 [ OK ] [ 0.00000457 / 0.00000418 CPU ] disk_mode=1 [ OK ] [ 0.00006659 / 0.00006649 CPU ] VfsOpen/tmp disk_mode=0 [ OK ] [ 0.00058511 / 0.00057814 CPU ] disk_mode=1 [ OK ] [ 0.00016510 / 0.00016526 CPU ] VfsOpen/oomFilename disk_mode=0 [ OK ] [ 0.00000342 / 0.00000308 CPU ] disk_mode=1 [ OK ] [ 0.00002592 / 0.00002575 CPU ] VfsOpen/oom disk_mode=0 [ OK ] [ 0.00000354 / 0.00000306 CPU ] disk_mode=1 [ OK ] [ 0.00002968 / 0.00002566 CPU ] VfsOpen/synchronous disk_mode=0 [ OK ] [ 0.00037746 / 0.00037232 CPU ] disk_mode=1 [ OK ] [ 0.00045159 / 0.00045162 CPU ] VfsOpen/walBeforeDb disk_mode=0 [ OK ] [ 0.00000301 / 0.00000265 CPU ] disk_mode=1 [ OK ] [ 0.00002449 / 0.00002410 CPU ] VfsOpen/noent disk_mode=0 [ OK ] [ 0.00000450 / 0.00000372 CPU ] disk_mode=1 [ OK ] [ 0.00002564 / 0.00002550 CPU ] VfsOpen/again disk_mode=0 [ OK ] [ 0.00000470 / 0.00000410 CPU ] disk_mode=1 [ OK ] [ 0.00007655 / 0.00007613 CPU ] VfsOpen/exclusive disk_mode=0 [ OK ] [ 0.00000385 / 0.00000342 CPU ] disk_mode=1 [ OK ] [ 0.00006745 / 0.00006247 CPU ] replication/checkpoint [ ERROR ] Error: test/unit/test_replication.c:328: assertion failed: _rv == 0 (6 == 0) Error: child killed by signal 6 (Aborted) replication/exec [ ERROR ] Error: test/unit/test_replication.c:328: assertion failed: _rv == 0 (6 == 0) Error: child killed by signal 6 (Aborted) 63 of 65 (97%) tests successful, 4 (6%) test skipped. FAIL unit-test (exit status: 1) FAIL: integration-test ====================== Running test suite with seed 0x5c9164d2... vfs/changePageSizeSameValue snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00029814 / 0.00029731 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00035398 / 0.00034919 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00027243 / 0.00027241 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00063378 / 0.00060898 CPU ] vfs/changePageSize snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00026812 / 0.00026801 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00035227 / 0.00035208 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00025558 / 0.00025545 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00032148 / 0.00031524 CPU ] vfs/restoreWithOpenConnection snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00060061 / 0.00060083 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00083923 / 0.00083093 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00058993 / 0.00059038 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00081497 / 0.00080913 CPU ] vfs/restoreAfterFirstTransaction snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00061331 / 0.00060672 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00092631 / 0.00091899 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00056809 / 0.00056409 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00087346 / 0.00085203 CPU ] vfs/restoreInitialDatabase snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00035133 / 0.00035095 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00053724 / 0.00053736 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00035302 / 0.00034504 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00060014 / 0.00059986 CPU ] vfs/snapshotAfterCheckpoint snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00037070 / 0.00036272 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00051871 / 0.00051221 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00037590 / 0.00037615 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00051619 / 0.00051066 CPU ] vfs/snapshotAfterFirstTransaction snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00038025 / 0.00038069 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00049035 / 0.00049062 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00039208 / 0.00038658 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00050395 / 0.00049810 CPU ] vfs/snapshotInitialDatabase snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00025212 / 0.00025204 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00035996 / 0.00036008 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00026230 / 0.00025713 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00036451 / 0.00035850 CPU ] vfs/checkpointTransactionWithPageStress snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00075654 / 0.00075677 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00086082 / 0.00085651 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00080900 / 0.00079940 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00089001 / 0.00088178 CPU ] vfs/rollbackTransactionWithPageStress snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00076768 / 0.00076225 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00088411 / 0.00088415 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00077416 / 0.00077442 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00092191 / 0.00091270 CPU ] vfs/rollbackTransactionWithoutPageStress snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00040023 / 0.00039446 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00049705 / 0.00049012 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00039039 / 0.00039062 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00049260 / 0.00048720 CPU ] vfs/checkpointThenPerformTransaction snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00073425 / 0.00073449 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00099890 / 0.00099423 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00073233 / 0.00072650 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00100832 / 0.00099869 CPU ] vfs/applyOnDifferentVfsExtraCheckpointsOnOtherVfs snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00101353 / 0.00100764 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00135839 / 0.00135155 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00094985 / 0.00094441 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00135982 / 0.00135334 CPU ] vfs/applyOnDifferentVfsAfterCheckpointOtherVfsNoCheckpoint snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00104622 / 0.00103990 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00145411 / 0.00144012 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00105135 / 0.00103980 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00150275 / 0.00147585 CPU ] vfs/applyOnDifferentVfsAfterCheckpoint snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00068876 / 0.00068170 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00097699 / 0.00096923 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00070005 / 0.00069419 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00098119 / 0.00097427 CPU ] vfs/checkpoint snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00054073 / 0.00054091 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00072963 / 0.00072473 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00056148 / 0.00054380 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00071526 / 0.00071042 CPU ] vfs/abort snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00057296 / 0.00056371 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00069667 / 0.00069430 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00056760 / 0.00056224 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00068392 / 0.00068403 CPU ] vfs/transactionVisibleOnDifferentVfs snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00060601 / 0.00060151 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00083881 / 0.00082821 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00060534 / 0.00060213 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00083749 / 0.00082889 CPU ] vfs/applyOnDifferentVfsWithOpenConnection snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00065193 / 0.00063251 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00084951 / 0.00084494 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00062738 / 0.00062231 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00090259 / 0.00088975 CPU ] vfs/secondApplyOnDifferentVfs snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00051622 / 0.00051635 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00073606 / 0.00071819 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00051729 / 0.00051739 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00071189 / 0.00070715 CPU ] vfs/firstApplyOnDifferentVfs snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00052155 / 0.00052155 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00070803 / 0.00070192 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00051013 / 0.00051022 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00070490 / 0.00069884 CPU ] vfs/transactionIsVisibleFromReopenedConnection snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00051431 / 0.00051449 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00065919 / 0.00064967 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00049505 / 0.00049527 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00062630 / 0.00061740 CPU ] vfs/transactionIsVisibleFromNewConnection snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00050336 / 0.00050356 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00060853 / 0.00060082 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00050372 / 0.00050129 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00059598 / 0.00059603 CPU ] vfs/transactionIsVisibleFromExistingConnection snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00055457 / 0.00054957 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00066332 / 0.00066330 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00052574 / 0.00051995 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00078236 / 0.00077576 CPU ] vfs/reopenAfterConsecutiveWriteTransactions snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00154831 / 0.00151578 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00073290 / 0.00073295 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00058066 / 0.00056353 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00071620 / 0.00071635 CPU ] vfs/consecutiveWriteTransactions snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00038358 / 0.00037762 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00045578 / 0.00045017 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00037241 / 0.00037252 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00048097 / 0.00048116 CPU ] vfs/applyExplicitTransaction snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00038098 / 0.00037353 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00051349 / 0.00050924 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00044485 / 0.00044495 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00049479 / 0.00048691 CPU ] vfs/applyMakesTransactionVisible snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00036544 / 0.00036114 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00045764 / 0.00045768 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00098022 / 0.00096450 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00052723 / 0.00052053 CPU ] vfs/adaptPendingByte snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.12724636 / 0.12670867 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.16258641 / 0.16207558 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.11606498 / 0.11570864 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.13886225 / 0.13846677 CPU ] vfs/pollAfterPageStress snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00254186 / 0.00252555 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00219926 / 0.00218717 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00296094 / 0.00294655 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00358121 / 0.00354360 CPU ] vfs/pollAcquireWriteLock snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00050699 / 0.00050715 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00071078 / 0.00071073 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00057719 / 0.00057719 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00077858 / 0.00076958 CPU ] vfs/pollAfterWriteTransaction snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00041971 / 0.00041332 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00116306 / 0.00115379 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00035638 / 0.00035670 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00050463 / 0.00050455 CPU ] vfs/writeTransactionNotImmediatelyVisible snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00052415 / 0.00051859 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00128877 / 0.00127035 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00051393 / 0.00051008 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00064476 / 0.00063861 CPU ] vfs/open snapshot-shallow-param=0, disk_mode=0 [ OK ] [ 0.00025626 / 0.00025599 CPU ] snapshot-shallow-param=0, disk_mode=1 [ OK ] [ 0.00030805 / 0.00030377 CPU ] snapshot-shallow-param=1, disk_mode=0 [ OK ] [ 0.00022533 / 0.00022524 CPU ] snapshot-shallow-param=1, disk_mode=1 [ OK ] [ 0.00029706 / 0.00029705 CPU ] server/stop_twice [ ERROR ] Error: test/integration/test_server.c:263: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) server/start_twice [ ERROR ] Error: test/integration/test_server.c:244: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) server/missing_bootstrap [ OK ] [ 0.03765732 / 0.00162464 CPU ] server/node_store_but_no_info [ OK ] [ 0.00009312 / 0.00009258 CPU ] server/bad_node_store [ OK ] [ 0.00012566 / 0.00012527 CPU ] server/bad_info_file [ OK ] [ 0.00009969 / 0.00009903 CPU ] server/restart_leader [ ERROR ] Error: test/integration/test_server.c:73: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) server/restart_follower [ ERROR ] Error: test/integration/test_server.c:73: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) role_management/promote role_management=1, target_voters=3, target_standbys=3 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/errMsg disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:518: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:518: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/errMsgNodeNull [ OK ] [ 0.00004299 / 0.00004163 CPU ] node/recoverExtNewFieldsNotZero disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/recoverExtNewFields disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/recoverExtTooSmall disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/recoverExtUnaligned disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/recoverExt disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/recover disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/blockSizeRunning [ ERROR ] Error: test/integration/test_node.c:345: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/blockSize [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatencyMsTooLarge disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatencyMsTooSmall disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatencyMsRunning disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:284: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:284: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatencyMs disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatencyTooLarge disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatencyRunning disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:241: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:241: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/networkLatency disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/snapshotParamsThresholdLargerThanTrailing disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/snapshotParamsTrailingTooSmall disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/snapshotParamsRunning disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:183: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:183: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/snapshotParams disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:87: assertion failed: dqlite_node_start(f->node) == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/startInet disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:157: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:157: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) node/start disk_mode=0 [ ERROR ] Error: test/integration/test_node.c:143: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/integration/test_node.c:143: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) membership/transferTwicePendingTransaction disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) membership/transferAndSqlExecWithBarrier [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) membership/transferPendingTransaction disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) membership/transfer disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) membership/join disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/applyUnknownTypeFail [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/applyFail [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotRestoreMultipleDBs snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotRestore num_records=0, snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=0, snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/concurrentSnapshots snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotWritesBeforeFinalize snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotNewDbAddedBeforeFinalize snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotHeapFaultTwoDBAsync snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotHeapFaultTwoDB snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotHeapFaultSingleDBAsyncDisk snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotHeapFaultSingleDB snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotWrittenDb snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) fsm/snapshotFreshDb snapshot-threshold=8192, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) snapshot-threshold=8192, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) cluster/modifyingQuerySql num_records=0, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=0, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) cluster/modifyingQuery num_records=0, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=0, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) cluster/hugeRow [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) cluster/dataOnNewNode num_records=0, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=0, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) cluster/restart num_records=0, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=0, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=1, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=256, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=993, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) num_records=2200, disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) client/querySql disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) client/query disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) client/execSql disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) client/execWithOneParam disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) client/exec disk_mode=0 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) disk_mode=1 [ ERROR ] Error: test/lib/server.c:122: assertion failed: rv == 0 (1 == 0) Error: child killed by signal 6 (Aborted) 141 of 280 (50%) tests successful, 0 (0%) test skipped. FAIL integration-test (exit status: 1) ```

I'm not sure how can I try to diagnose that so will be appreciated for any hints what I can try to do that.

freeekanayaka commented 9 months ago

Probably this is due to libraft being compiled without -fno-strict-aliasing.

kloczek commented 9 months ago

Indeed it is the case. Code should not rely on optimisation flags.

kloczek commented 9 months ago

Strange is that compiler do not warns that some code may be incorrectly optimised because aliasing use 🤔

kloczek commented 7 months ago

@freeekanayaka could please have look on above issue? 🤔

cole-miller commented 7 months ago

Note that Free is now working on https://github.com/cowsql and not on dqlite. The dqlite maintainers are @just-now, @MathieuBordere, and myself.

As for the issue at hand, if the current raft code depends on strict aliasing being disabled for correctness, that's arguably unfortunate but not a priority for us to fix.

kloczek commented 7 months ago

As for the issue at hand, if the current raft code depends on strict aliasing being disabled for correctness, that's arguably unfortunate but not a priority for us to fix.

Depending on strict aliasing to be disabled is always nothing more than asking for trouble. it would be really good to modify the code to remove that dependency.

Just checked and dqlite test suite still fails if raft is compiled with -fno-strict-aliasing

freeekanayaka commented 7 months ago

@kloczek FWIW this has been fixed in cowsql/raft:

https://github.com/cowsql/raft/pull/127

kloczek commented 7 months ago

One sec please let me check that 😋

kloczek commented 7 months ago

Just tested and now build fails

[tkloczko@pers-jacek dqlite-1.16.2]$ make -k
  CC       src/libdqlite_la-server.lo
src/server.c: In function 'dqlite__init':
src/server.c:123:9: error: implicit declaration of function 'raft_register_state_cb' [-Wimplicit-function-declaration]
  123 |         raft_register_state_cb(&d->raft, state_cb);
      |         ^~~~~~~~~~~~~~~~~~~~~~
src/server.c:123:9: error: nested extern declaration of 'raft_register_state_cb' [-Werror=nested-externs]
cc1: all warnings being treated as errors
make: *** [Makefile:1611: src/libdqlite_la-server.lo] Error 1
make: Target 'all' not remade because of errors.
[tkloczko@pers-jacek dqlite-1.16.2]$ make -k V=1
/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" -DPACKAGE_STRING=\"libdqlite\ 1.16.2\" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\" -DVERSION=\"1.16.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -I.    -std=c11 -g3 -fcf-protection --param=ssp-buffer-size=4 -pipe -fno-strict-aliasing -fdiagnostics-color -fexceptions -fstack-clash-protection -fstack-protector-strong -fasynchronous-unwind-tables -fdiagnostics-show-option -Wall -Wextra -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Wformat=2 -Wshadow -Wendif-labels -Wdate-time -Wnested-externs -Wconversion -Werror     -pthread  -O2   -fvisibility=hidden -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fno-strict-aliasing -c -o src/libdqlite_la-server.lo `test -f 'src/server.c' || echo './'`src/server.c
libtool: compile:  /usr/bin/gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" "-DPACKAGE_STRING=\"libdqlite 1.16.2\"" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\" -DVERSION=\"1.16.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -I. -std=c11 -g3 -fcf-protection --param=ssp-buffer-size=4 -pipe -fno-strict-aliasing -fdiagnostics-color -fexceptions -fstack-clash-protection -fstack-protector-strong -fasynchronous-unwind-tables -fdiagnostics-show-option -Wall -Wextra -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Wformat=2 -Wshadow -Wendif-labels -Wdate-time -Wnested-externs -Wconversion -Werror -pthread -O2 -fvisibility=hidden -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fno-strict-aliasing -c src/server.c  -fPIC -DPIC -o src/.libs/libdqlite_la-server.o
src/server.c: In function 'dqlite__init':
src/server.c:123:9: error: implicit declaration of function 'raft_register_state_cb' [-Wimplicit-function-declaration]
  123 |         raft_register_state_cb(&d->raft, state_cb);
      |         ^~~~~~~~~~~~~~~~~~~~~~
src/server.c:123:9: error: nested extern declaration of 'raft_register_state_cb' [-Werror=nested-externs]
cc1: all warnings being treated as errors

and ..

[tkloczko@pers-jacek dqlite-1.16.2]$ rpm -ql raft-devel | grep include\*.h$ | xargs grep raft_register_state_cb
[tkloczko@pers-jacek dqlite-1.16.2]$
freeekanayaka commented 7 months ago

Probably there was some confusion, when I wrote that this was fixed I meant the strict aliasing issue, not this missing function.

I could add that function to cowsql/raft for compatibility, but does not make much sense since dqlite is now going to ship with the raft source included.

I'd suggest that you just wait for #568 to be merged. After that you won't need any external raft library to build dqlite.

kloczek commented 7 months ago

I could add that function to cowsql/raft for compatibility, but does not make much sense since dqlite is now going to ship with the raft source included.

But why? 🤔 Why dqlite cannot be build against system installed raft? 🤔 Budling other projects code is always nothing more tan asking for troubles ..

freeekanayaka commented 7 months ago

I could add that function to cowsql/raft for compatibility, but does not make much sense since dqlite is now going to ship with the raft source included.

But why? 🤔 Why dqlite cannot be build against system installed raft? 🤔 Budling other projects code is always nothing more tan asking for troubles ..

Dqlite 1.16.0 is compatible with cowsql/raft (which is a fork of canonical/raft), starting from dqlite version 1.16.2 you need to use canonical/raft because new interfaces were added to it that are not present in cowsql/raft. Since canonical/raft is going to be merged into dqlite directly (see #568) I will not fix cowsql/raft to work with dqlite 1.16.2. Just wait for dqlite 1.16.3 and you will not need neither canonical/raft or cowsql/raft.

kloczek commented 7 months ago

Dqlite 1.16.0 is compatible with cowsql/raft (which is a fork of canonical/raft), starting from dqlite version 1.16.2 you need to use canonical/raft because new interfaces were added to it that are not present in cowsql/raft. Since canonical/raft is going to be merged into dqlite directly (see https://github.com/canonical/dqlite/pull/568) I will not fix cowsql/raft to work with dqlite 1.16.2. Just wait for dqlite 1.16.3 and you will not need neither canonical/raft or cowsql/raft.

Does it mean that raft project will be no longer maintained and will be archived? 🤔

freeekanayaka commented 7 months ago

Dqlite 1.16.0 is compatible with cowsql/raft (which is a fork of canonical/raft), starting from dqlite version 1.16.2 you need to use canonical/raft because new interfaces were added to it that are not present in cowsql/raft. Since canonical/raft is going to be merged into dqlite directly (see #568) I will not fix cowsql/raft to work with dqlite 1.16.2. Just wait for dqlite 1.16.3 and you will not need neither canonical/raft or cowsql/raft.

Does it mean that raft project will be no longer maintained and will be archived? 🤔

canonical/raft will be merged into canonical/dqlite, it will be a single repository with both source codes and a single shared library.

cowsql/raft will continue to be a standalone repository and library.

kloczek commented 7 months ago

canonical/raft will be merged into canonical/dqlite, it will be a single repository with both source codes and a single shared library.

cowsql/raft will continue to be a standalone repository and library.

So what is the sense use forked version and why not port dqlite to cowsql/raft? 🤔

freeekanayaka commented 7 months ago

canonical/raft will be merged into canonical/dqlite, it will be a single repository with both source codes and a single shared library. cowsql/raft will continue to be a standalone repository and library.

So what is the sense use forked version and why not port dqlite to cowsql/raft? 🤔

dqlite has been forked too: https://github.com/cowsql/cowsql and that fork uses cowsql/raft. Cowsql is currently being used by Incus.

EDIT: As said, my plan was to keep cowsql/raft compatible with dqlite, and in fact it is compatible up to dqlite 1.16.0. However there's now no reason to maintain compatibility, since dqlite is going to embed raft in its own source code.

kloczek commented 7 months ago

dqlite has been forked too: https://github.com/cowsql/cowsql and that fork uses cowsql/raft. Cowsql is currently being used by Incus.

OK thank you to let me know. (I'm switching my build procedures to use those two repos)

EDIT: As said, my plan was to keep cowsql/raft compatible with dqlite, and in fact it is compatible up to dqlite 1.16.0. However there's now no reason to maintain compatibility, since dqlite is going to embed raft in its own source code.

Which is as always nothing more than asking for troubles ..