Sporadic failure of test case My/SupportedFileSystemsTest.CreateAndReadUUID/reiser4
As has been noted before !51 (comment 659145) and !73 (comment 1049083), this test case sporadically fails:
./test_SupportedFileSystems --gtest_filter='*CreateAndReadUUID/reiser4'
Running main() from test_SupportedFileSystems.cc
DISPLAY=":0"
Note: Google Test filter = *CreateAndReadUUID/reiser4
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from My/SupportedFileSystemsTest
[ RUN ] My/SupportedFileSystemsTest.CreateAndReadUUID/reiser4
test_SupportedFileSystems.cc:569: Failure
Expected: (m_partition.uuid.size()) >= (9U), actual: 0 vs 9
[ FAILED ] My/SupportedFileSystemsTest.CreateAndReadUUID/reiser4, where GetParam() = 24 (17 ms)
[----------] 1 test from My/SupportedFileSystemsTest (17 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (17 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] My/SupportedFileSystemsTest.CreateAndReadUUID/reiser4, where GetParam() = 24
1 FAILED TEST
In a Ubuntu 20.04 LTS VM (because it has reiser4progs) run just this test case in a loop until it fails, like this:
i=0
while ./test_SupportedFileSystems --gtest_filter='*CreateAndReadUUID/reiser4'
do
((i++))
done
echo i=$i
Triggered failures after these many repeats:
120, 12, 68, 14, 16, 13, 71, 8
So now we can generate it at will, but it might take a minute or so.