ganto/copr-lxc4

dqlite build fails "client/query" test on Fedora 32 (x86_64)

ganto opened this issue · 1 comments

ganto commented

COPR build for dqlite-1.6.0-0.1.20200926git867d7b2.fc32 fails the "client/query" test on x86_64:

=======================================
   libdqlite 1.5.0: ./test-suite.log
=======================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: integration-test
======================
Running test suite with seed 0x1f423a5b...
client/exec                                                 [ OK    ] [ 0.00417511 / 0.00398783 CPU ]
client/query                                                [ ERROR ]
Error: child killed by signal 13 (Broken pipe)
membership/join                                             [ OK    ] [ 1.00875907 / 0.01330154 CPU ]
node/start                                                  [ OK    ] [ 0.00036561 / 0.00034499 CPU ]
vfs/open                                                    [ OK    ] [ 0.00032492 / 0.00029877 CPU ]
vfs/writeTransactionNotImmediatelyVisible                   [ OK    ] [ 0.00064395 / 0.00061455 CPU ]
vfs/pollAfterWriteTransaction                               [ OK    ] [ 0.00043383 / 0.00041958 CPU ]
vfs/pollAcquireWriteLock                                    [ OK    ] [ 0.00064578 / 0.00061488 CPU ]
vfs/pollAfterPageStress                                     [ OK    ] [ 0.00466281 / 0.00449995 CPU ]
vfs/applyMakesTransactionVisible                            [ OK    ] [ 0.00040761 / 0.00040868 CPU ]
vfs/applyExplicitTransaction                                [ OK    ] [ 0.00061024 / 0.00044929 CPU ]
vfs/consecutiveWriteTransactions                            [ OK    ] [ 0.00042698 / 0.00038397 CPU ]
vfs/reopenAfterConsecutiveWriteTransactions                 [ OK    ] [ 0.00056896 / 0.00051313 CPU ]
vfs/transactionIsVisibleFromExistingConnection              [ OK    ] [ 0.00046665 / 0.00044292 CPU ]
vfs/transactionIsVisibleFromNewConnection                   [ OK    ] [ 0.00045893 / 0.00042597 CPU ]
vfs/transactionIsVisibleFromReopenedConnection              [ OK    ] [ 0.00045785 / 0.00043307 CPU ]
vfs/firstApplyOnDifferentVfs                                [ OK    ] [ 0.00045809 / 0.00043754 CPU ]
vfs/secondApplyOnDifferentVfs                               [ OK    ] [ 0.00045621 / 0.00043476 CPU ]
vfs/applyOnDifferentVfsWithOpenConnection                   [ OK    ] [ 0.00056522 / 0.00054421 CPU ]
vfs/transactionVisibleOnDifferentVfs                        [ OK    ] [ 0.00053969 / 0.00051514 CPU ]
vfs/abort                                                   [ OK    ] [ 0.00048792 / 0.00046810 CPU ]
vfs/checkpoint                                              [ OK    ] [ 0.00048668 / 0.00046534 CPU ]
vfs/applyOnDifferentVfsAfterCheckpoint                      [ OK    ] [ 0.00065203 / 0.00063225 CPU ]
vfs/checkpointThenPerformTransaction                        [ OK    ] [ 0.00059933 / 0.00059980 CPU ]
vfs/rollbackTransactionWithoutPageStress                    [ OK    ] [ 0.00031064 / 0.00031092 CPU ]
vfs/rollbackTransactionWithPageStress                       [ OK    ] [ 0.00060312 / 0.00060329 CPU ]
vfs/snapshotInitialDatabase                                 [ OK    ] [ 0.00019610 / 0.00019591 CPU ]
vfs/snapshotAfterFirstTransaction                           [ OK    ] [ 0.00036460 / 0.00031371 CPU ]
vfs/snapshotAfterCheckpoint                                 [ OK    ] [ 0.00028715 / 0.00028720 CPU ]
vfs/restoreInitialDatabase                                  [ OK    ] [ 0.00028544 / 0.00028546 CPU ]
vfs/restoreAfterFirstTransaction                            [ OK    ] [ 0.00049534 / 0.00049562 CPU ]
vfs/restoreWithOpenConnection                               [ OK    ] [ 0.00045929 / 0.00045952 CPU ]
31 of 32 (97%) tests successful, 0 (0%) test skipped.
FAIL integration-test (exit status: 1)
============================================================================
Testsuite summary for libdqlite 1.5.0
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/canonical/dqlite
============================================================================

Issue cannot be reproduced locally, needs investigation.

ganto commented

I couldn't reproduce the test failure locally even with multiple different mock setups. Fedora 32 will be EoL in a few months so I don't want to invest more time anymore.
Added a patch to skip this test (4887e97) so that we finally can use dqlite as dependency to build lxd.