ldb test test_guid_indexed_v1_db fails on ppc64le

Lukas Slebodnik lslebodn at fedoraproject.org
Mon Aug 26 11:29:11 UTC 2019


ehlo,

The repack unit test failed just only on ppc64le with ldb-2.0.5
Other architectures are ok
https://koji.fedoraproject.org/koji/taskinfo?taskID=37286196
https://kojipkgs.fedoraproject.org//work/tasks/6219/37286219/build.log

BTW it would be good to suppress error messages
"MDB_INVALID: File is not an LMDB file".
I could see them also on x86_64


<mock-chroot> sh-5.0# python3 tests/python/repack.py
Could not open environment for /tmp/tmp_59tdgow/guidindexpackv1.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011968
Could not open environment for /tmp/tmp_59tdgow/guidindexpackv1.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011967
Could not open environment for /tmp/tmp_59tdgow/guidindexpackv1.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmp_59tdgow/guidindexpackv1.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmp_59tdgow/guidindexpackv1.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmp_59tdgow/guidindexpackv1.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011968
ltdb: tdb(/tmp/tmp_59tdgow/guidindexpackv1.ldb): tdb_transaction_setup_recovery: transaction data over new region boundary

ltdb: tdb(/tmp/tmp_59tdgow/guidindexpackv1.ldb): tdb_transaction_prepare_commit: failed to setup recovery data

Failure during prepare_write): Corrupt database -> Operations error
ltdb: tdb(/tmp/tmp_59tdgow/guidindexpackv1.ldb): tdb_transaction_cancel: no transaction

ECould not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011967
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011968
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011967
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011968
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Repacking database with format 0x26011967
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
Could not open environment for /tmp/tmpnk8uh_ap/guidpackformattest.ldb: (-30793)  MDB_INVALID: File is not an LMDB file
.
======================================================================
ERROR: test_guid_indexed_v1_db (__main__.GUIDIndexAndPackFormatTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/python/repack.py", line 197, in test_guid_indexed_v1_db
    self.toggle_guidindex_check_pack()
  File "tests/python/repack.py", line 123, in toggle_guidindex_check_pack
    self.set_guid_indexing(enable=enable)
  File "tests/python/repack.py", line 76, in set_guid_indexing
    self.l.modify(modmsg)
_ldb.LdbError: (1, 'Failure during prepare_write): Corrupt database -> Operations error')

----------------------------------------------------------------------
Ran 2 tests in 1.814s

FAILED (errors=1)

LS



More information about the samba-technical mailing list