[Box Backup-dev] Trunk test failures on FreeBSD (5.x/i386)
Per Thomsen
boxbackup-dev@fluffy.co.uk
Sun, 19 Feb 2006 11:40:34 -0800
On 2/19/06 4:17 AM, James O'Gorman wrote:
> Hi Martin,
>
> On Fri, Feb 17, 2006 at 02:35:51AM +0000, Martin Ebourne wrote:
>
>> Have you tried running exactly the same version a few times? Are your
>> failures consistent? If not, then you'll have to be a lot more careful
>> running different versions (ie. try running each version a few times).
>>
>
> You're right, r362 isn't consistent, however r363 does seem to be
> consistent in providing the same 6 errors.
>
> I'm running these tests on both 5.4 and 6.0 now, by the way.
>
> Per, have you found the same?
>
Well, my findings are a bit muddled, I fear... First off, I'm using the
release candidate, and I don't know (although I probably should) what
SVN version that is.
Secondly, I am seeing differing results when I run the debug tests. The
backupstore tests always fail, but not in a consistent manner. So far
I've run them 4 times, and the results are as follows:
Test 1: 6 failures
FAILURE: Condition [dir.GetAttributesModTime() == 329483209443598LL]
failed at testbackupstore.cpp(1282)
FAILURE: Condition [dir.GetAttributes() == attrtest] failed at
testbackupstore.cpp(1284)
FAILURE: Condition [en->GetName() != uploads[UPLOAD_FILE_TO_MOVE].name]
failed at testbackupstore.cpp(1331)
FAILURE: Condition [en->GetName() != uploads[UPLOAD_FILE_TO_MOVE].name]
failed at testbackupstore.cpp(1331)
FAILURE: Condition [foundCurrent] failed at testbackupstore.cpp(1360)
FAILURE: Condition [foundOld] failed at testbackupstore.cpp(1361)
Test 2: 2 failures
FAILURE: Condition [foundCurrent] failed at testbackupstore.cpp(1360)
FAILURE: Condition [foundOld] failed at testbackupstore.cpp(1361)
Test 3: 6 failures (same as test 1)
FAILURE: Condition [dir.GetAttributesModTime() == 329483209443598LL]
failed at testbackupstore.cpp(1282)
FAILURE: Condition [dir.GetAttributes() == attrtest] failed at
testbackupstore.cpp(1284)
FAILURE: Condition [en->GetName() != uploads[UPLOAD_FILE_TO_MOVE].name]
failed at testbackupstore.cpp(1331)
FAILURE: Condition [en->GetName() != uploads[UPLOAD_FILE_TO_MOVE].name]
failed at testbackupstore.cpp(1331)
FAILURE: Condition [foundCurrent] failed at testbackupstore.cpp(1360)
FAILURE: Condition [foundOld] failed at testbackupstore.cpp(1361)
Test 4: 4 failures
FAILURE: Condition [dir.GetAttributesModTime() == 329483209443598LL]
failed at testbackupstore.cpp(1282)
FAILURE: Condition [dir.GetAttributes() == attrtest] failed at
testbackupstore.cpp(1284)
FAILURE: Condition [en->GetName() != uploads[UPLOAD_FILE_TO_MOVE].name]
failed at testbackupstore.cpp(1331)
FAILURE: Condition [en->GetName() != uploads[UPLOAD_FILE_TO_MOVE].name]
failed at testbackupstore.cpp(1331)
I don't know why these differences in test results occur. Something
timing-related perhaps, but I can't tell what...
Is there some cleanup that should be done prior to each test?
Thanks,
Per
--
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102 | pthomsen@reedtz.com | C: 209 996 9561
GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen