rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

BackupableDBTest.CorruptionsTest failed

Open FanShengzen opened this issue 12 years ago • 7 comments

==== Test BackupableDBTest.CorruptionsTest Created bg thread 0x2b414669c700 utilities/backupable/backupable_db_test.cc:588: Assertion failure file_manager_->FileExists(backupdir_ + "/meta/2") #0 ./backupable_db_test() [0x41b38b] ~basic_string /usr/include/c++/4.8/bits/basic_string.h:539 #1 ./backupable_db_test() [0x41bff4] ~_Test_CorruptionsTest /home/jfan/dev/offlinedb/rocksdb/utilities/backupable/backupable_db_test.cc:522 #2 ./backupable_db_test() [0x4be6eb] rocksdb::test::RunAllTests() /home/jfan/dev/offlinedb/rocksdb/util/testharness.cc:46 #3 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x2b41460f6ed5] ?? ??:0 #4 ./backupable_db_test() [0x4132fe] _start ??:?

make: *** [check] Error 1

on Ubuntu 13.10 after resolved dependencies following instructions of INSTALL.md. Built successfully but unit test failed in above test.

FanShengzen avatar Jan 30 '14 16:01 FanShengzen

The unit test code seems not self contained. Failure due to backupdir_+/meta/2 does not exist when assertion checked by unit test code.

FanShengzen avatar Jan 30 '14 16:01 FanShengzen

Did you run the test on the latest checkout?

iamjinlei avatar Jan 30 '14 17:01 iamjinlei

Yes. It was check out two days ago. - Jerry

From: Lei Jin [mailto:[email protected]] Sent: Thursday, January 30, 2014 12:29 PM To: facebook/rocksdb Cc: Jerry Fan Subject: Re: [rocksdb] BackupableDBTest.CorruptionsTest failed (#66)

Did you run the test on the latest checkout?

— Reply to this email directly or view it on GitHubhttps://github.com/facebook/rocksdb/issues/66#issuecomment-33710998.

FanShengzen avatar Jan 30 '14 18:01 FanShengzen

Can you rebase and try it again. There was an issue in the test that did not cover a case well. But that got fixed on Tuesday. So I guess you checked out the code before.

iamjinlei avatar Jan 30 '14 18:01 iamjinlei

Sure. I will rebase and try it again.

Sent from my iPhone

On Jan 30, 2014, at 10:07 AM, "Lei Jin" <[email protected]mailto:[email protected]> wrote:

Can you rebase and try it again. There was an issue in the test that did not cover a case well. But that got fixed on Tuesday. So I guess you checked out the code before.

— Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v1/url?u=https://github.com/facebook/rocksdb/issues/66%23issuecomment-33714996&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=D2aV7l4utNljq%2BUxgovK2w%3D%3D%0A&m=LfKO%2FLeU0fXUxZdVb8xRqmErgHbQtugqJSiD5UvEvNk%3D%0A&s=698d1de663f784d59350b40dd4016913b883b760547b5647457b14ccdf9f3390.

yhchiang avatar Jan 30 '14 18:01 yhchiang

I will rebase and try it again.

From: Lei Jin [mailto:[email protected]] Sent: Thursday, January 30, 2014 1:07 PM To: facebook/rocksdb Cc: Jerry Fan Subject: Re: [rocksdb] BackupableDBTest.CorruptionsTest failed (#66)

Can you rebase and try it again. There was an issue in the test that did not cover a case well. But that got fixed on Tuesday. So I guess you checked out the code before.

— Reply to this email directly or view it on GitHubhttps://github.com/facebook/rocksdb/issues/66#issuecomment-33714996.

FanShengzen avatar Jan 30 '14 18:01 FanShengzen

After rebased, it works now. Issue closed.

FanShengzen avatar Jan 30 '14 19:01 FanShengzen