[Box Backup-commit] [Failed Build] Box Backup [2979] Trunk

Trac trac at boxbackup.org
Sun Aug 21 17:31:49 BST 2011


Failed build of Box Backup [2979]
---------------------------------------------------------------------

  Changeset:             2979  -  <https://www.boxbackup.org/trac/changeset/2979>
  Committed by:          jamesog

  Build Configuration:   Trunk
  Build Platform:        Solaris 10 x86
  Build Slave:           bld-sol10
  Build Number:          1879  -  <https://www.boxbackup.org/trac/build/Trunk/1879>

  Failures:
    Step:                tests-debug
    Errors:              Executing perl failed (error code 1)
    Log:
      [INFO    ] ==> Debug tests start
      [INFO    ] gmake[1]: Entering directory `lib/win32'
      [INFO    ]   [CXX]     emu.cpp
      [INFO    ]   [CXX]     getopt_long.cpp
      [INFO    ]   [AR]      ../../debug/lib/win32/win32.a
      [INFO    ]   [RANLIB]  ../../debug/lib/win32/win32.a
      [INFO    ] gmake[1]: Leaving directory `lib/win32'
      [INFO    ] gmake[1]: Entering directory `lib/common'
      [INFO    ]   [CXX]     BoxException.cpp
      [INFO    ]   [CXX]     BoxTime.cpp
      [INFO    ]   [CXX]     BoxTimeToText.cpp
      [INFO    ]   [CXX]     BufferedStream.cpp
      [INFO    ]   [CXX]     BufferedWriteStream.cpp
      [INFO    ]   [CXX]     CollectInBufferStream.cpp
      [INFO    ]   [CXX]     Configuration.cpp
      [ERROR   ] Configuration.cpp: In member function `bool Configuration::Verify(const ConfigurationVerify&, const std::string&, std::string&)':
      [ERROR   ] Configuration.cpp:721: warning: unused variable 'r'
      [INFO    ]   [CXX]     ConversionString.cpp
      [INFO    ]   [CXX]     DebugAssertFailed.cpp
      [INFO    ]   [CXX]     DebugMemLeakFinder.cpp
      [ERROR   ] DebugMemLeakFinder.cpp: In function `int memleakfinder_numleaks()':
      [ERROR   ] DebugMemLeakFinder.cpp:342: warning: unused variable 'rInfo'
      [INFO    ]   [CXX]     DebugPrintf.cpp
      [INFO    ]   [CXX]     EventWatchFilesystemObject.cpp
      [INFO    ]   [CXX]     ExcludeList.cpp
      [INFO    ]   [CXX]     FdGetLine.cpp
      [INFO    ]   [CXX]     FileModificationTime.cpp
      [INFO    ]   [CXX]     FileStream.cpp
      [INFO    ]   [CXX]     GetLine.cpp
      [INFO    ]   [CXX]     IOStream.cpp
      [INFO    ]   [CXX]     IOStreamGetLine.cpp
      [INFO    ]   [CXX]     InvisibleTempFileStream.cpp
      [INFO    ]   [CXX]     Logging.cpp
      [INFO    ]   [CXX]     MemBlockStream.cpp
      [INFO    ]   [CXX]     NamedLock.cpp
      [INFO    ]   [CXX]     PartialReadStream.cpp
      [INFO    ]   [CXX]     PathUtils.cpp
      [INFO    ]   [CXX]     RateLimitingStream.cpp
      [INFO    ]   [CXX]     ReadGatherStream.cpp
      [INFO    ]   [CXX]     ReadLoggingStream.cpp
      [INFO    ]   [CXX]     StreamableMemBlock.cpp
      [INFO    ]   [CXX]     Test.cpp
      [INFO    ]   [CXX]     Timer.cpp
      [INFO    ]   [CXX]     UnixUser.cpp
      [INFO    ]   [CXX]     Utils.cpp
      [INFO    ]   [CXX]     WaitForEvent.cpp
      [INFO    ]   [CXX]     ZeroStream.cpp
      [INFO    ]   [CXX]     autogen_CommonException.cpp
      [INFO    ]   [CXX]     autogen_ConversionException.cpp
      [INFO    ]   [AR]      ../../debug/lib/common/common.a
      [INFO    ]   [RANLIB]  ../../debug/lib/common/common.a
      [INFO    ] gmake[1]: Leaving directory `lib/common'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testcommon.cpp
      [INFO    ]   [LINK]    ../../debug/test/common/test
      [INFO    ] cp _t ../../debug/test/common/t
      [INFO    ] chmod u+x ../../debug/test/common/t
      [INFO    ] cp _t-gdb ../../debug/test/common/t-gdb
      [INFO    ] chmod u+x ../../debug/test/common/t-gdb
      [INFO    ] TEST: test/common
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] WARNING: Failed to open file: testfiles/tempfile: No such file or directory (2)
      [INFO    ] WARNING: Failed to open file: testfiles/tempfile: No such file or directory (2)
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [t1.HasExpired()] failed at testcommon.cpp:346
      [INFO    ] ERROR:   FileHandleGuard: failed to open file 'testfiles/DOESNTEXIST': No such file or directory (2)
      [INFO    ] ERROR:   Missing configuration key: not exist
      [INFO    ] ERROR:   Error verifying configuration: <root>.TOPlevel (key) is missing.
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Unexpected start block in test1
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Root level has close block -- forgot to terminate subblock?
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Block subconfig2 wasn't started correctly (no '{' on line of it's own)
      [INFO    ] Root level has close block -- forgot to terminate subblock?
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig2.bing (key) multi value not allowed (duplicated key?).
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Invalid configuration key: = invalid thing here!
      [INFO    ] ERROR:   Error in Configuration::LoadInto: File ended without terminating all subblocks
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig.carrots (key) is missing.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig3.NOTEXPECTED (key) is not a known key. Check spelling and placement.
      [INFO    ] ERROR:   Error verifying configuration: <root>.test1.otherthing (block) is missing.
      [INFO    ] ERROR:   Error verifying configuration: <root>.test1.* (block) is missing (a block must be present).
      [INFO    ] <root>.test1.otherthing (block) is missing.
      [INFO    ] ERROR:   Error verifying configuration: <root>.BoolTrue1 (key) is not a valid boolean value.
      [INFO    ] WARNING: Failed to open lockfile: testfiles/non-exist/lock
      [INFO    ] ERROR:   Invalid regular expression: [:not_valid: [ ] imbalance or syntax error
      [INFO    ] WARNING: Exclude entry ends in path separator, will never match: /foo/
      [INFO    ] WARNING: Exclude entry ends in path separator, will never match: /foo/
      [INFO    ] WARNING: Exclude entry ends in path separator, will never match: /foo/
      [INFO    ] NOTICE:  Running test common in debug mode...
      [INFO    ] ASSERT FAILED: [spTimers] at Timer.cpp(116)
      [INFO    ] ASSERT FAILED: [spTimers] at Timer.cpp(133)
      [INFO    ] ASSERT FAILED: [spTimers] at Timer.cpp(73)
      [INFO    ] ASSERT FAILED: [!spTimers] at Timer.cpp(43)
      [INFO    ] ASSERT FAILED: [spTimers] at Timer.cpp(73)
      [INFO    ] expected |First line| got |First line|
      [INFO    ] expected |Second line| got |Second line|
      [INFO    ] expected |Third| got |Third|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |sdf hjjk| got |sdf hjjk|
      [INFO    ] expected || got ||
      [INFO    ] expected |test| got |test|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected || got ||
      [INFO    ] expected |nice line| got |nice line|
      [INFO    ] expected |fish| got |fish|
      [INFO    ] expected || got ||
      [INFO    ] expected |ping| got |ping|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] expected |First line| got |First line|
      [INFO    ] expected |Second line| got |Second line|
      [INFO    ] expected |Third| got |Third|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |sdf hjjk| got |sdf hjjk|
      [INFO    ] expected || got ||
      [INFO    ] expected |test| got |test|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected || got ||
      [INFO    ] expected |nice line| got |nice line|
      [INFO    ] expected |fish| got |fish|
      [INFO    ] expected || got ||
      [INFO    ] expected |ping| got |ping|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] (testfiles/config2.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.TOPlevel (key) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config3.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Unexpected start block in test1
      [INFO    ] ------
      [INFO    ] (testfiles/config4.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Root level has close block -- forgot to terminate subblock?
      [INFO    ] ------
      [INFO    ] (testfiles/config5.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Block subconfig2 wasn't started correctly (no '{' on line of it's own)
      [INFO    ] Root level has close block -- forgot to terminate subblock?
      [INFO    ] ------
      [INFO    ] (testfiles/config6.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig2.bing (key) multi value not allowed (duplicated key?).
      [INFO    ] ------
      [INFO    ] (testfiles/config7.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Invalid configuration key: = invalid thing here!
      [INFO    ] ------
      [INFO    ] (testfiles/config8.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] File ended without terminating all subblocks
      [INFO    ] ------
      [INFO    ] (testfiles/config9.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config9b.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config9c.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config9d.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config10.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig.carrots (key) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config11.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig3.NOTEXPECTED (key) is not a known key. Check spelling and placement.
      [INFO    ] ------
      [INFO    ] (testfiles/config12.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.test1.otherthing (block) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config13.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.test1.* (block) is missing (a block must be present).
      [INFO    ] <root>.test1.otherthing (block) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config16.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.BoolTrue1 (key) is not a valid boolean value.
      [INFO    ] ------
      [INFO    ] FAILED: 1 tests failed (first at testcommon.cpp:346)
      [INFO    ] gmake[1]: Entering directory `lib/crypto'
      [INFO    ]   [CXX]     CipherAES.cpp
      [INFO    ]   [CXX]     CipherBlowfish.cpp
      [INFO    ]   [CXX]     CipherContext.cpp
      [INFO    ]   [CXX]     CipherDescription.cpp
      [INFO    ]   [CXX]     MD5Digest.cpp
      [INFO    ]   [CXX]     Random.cpp
      [INFO    ]   [CXX]     RollingChecksum.cpp
      [INFO    ]   [CXX]     autogen_CipherException.cpp
      [INFO    ]   [AR]      ../../debug/lib/crypto/crypto.a
      [INFO    ]   [RANLIB]  ../../debug/lib/crypto/crypto.a
      [INFO    ] gmake[1]: Leaving directory `lib/crypto'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testcrypto.cpp
      [INFO    ]   [LINK]    ../../debug/test/crypto/test
      [INFO    ] cp _t ../../debug/test/crypto/t
      [INFO    ] chmod u+x ../../debug/test/crypto/t
      [INFO    ] cp _t-gdb ../../debug/test/crypto/t-gdb
      [INFO    ] chmod u+x ../../debug/test/crypto/t-gdb
      [INFO    ] TEST: test/crypto
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/crypto/testfiles
      [INFO    ] NOTICE:  Running test crypto in debug mode...
      [INFO    ] Blowfish...
      [INFO    ] AES...
      [INFO    ] Misc...
      [INFO    ] PASSED
      [INFO    ] gmake[1]: Entering directory `lib/compress'
      [INFO    ]   [CXX]     CompressStream.cpp
      [INFO    ]   [CXX]     autogen_CompressException.cpp
      [INFO    ]   [AR]      ../../debug/lib/compress/compress.a
      [INFO    ]   [RANLIB]  ../../debug/lib/compress/compress.a
      [INFO    ] gmake[1]: Leaving directory `lib/compress'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testcompress.cpp
      [INFO    ]   [LINK]    ../../debug/test/compress/test
      [INFO    ] cp _t ../../debug/test/compress/t
      [INFO    ] chmod u+x ../../debug/test/compress/t
      [INFO    ] cp _t-gdb ../../debug/test/compress/t-gdb
      [INFO    ] chmod u+x ../../debug/test/compress/t-gdb
      [INFO    ] TEST: test/compress
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/compress/testfiles
      [INFO    ] NOTICE:  Running test compress in debug mode...
      [INFO    ] PASSED
      [INFO    ] gmake[1]: Entering directory `lib/intercept'
      [INFO    ]   [CXX]     intercept.cpp
      [INFO    ]   [AR]      ../../debug/lib/intercept/intercept.a
      [INFO    ]   [RANLIB]  ../../debug/lib/intercept/intercept.a
      [INFO    ] gmake[1]: Leaving directory `lib/intercept'
      [INFO    ] gmake[1]: Entering directory `lib/raidfile'
      [INFO    ]   [CXX]     RaidFileController.cpp
      [INFO    ]   [CXX]     RaidFileRead.cpp
      [INFO    ]   [CXX]     RaidFileUtil.cpp
      [INFO    ]   [CXX]     RaidFileWrite.cpp
      [INFO    ]   [CXX]     autogen_RaidFileException.cpp
      [INFO    ]   [AR]      ../../debug/lib/raidfile/raidfile.a
      [INFO    ]   [RANLIB]  ../../debug/lib/raidfile/raidfile.a
      [INFO    ] gmake[1]: Leaving directory `lib/raidfile'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testraidfile.cpp
      [INFO    ]   [LINK]    ../../debug/test/raidfile/test
      [INFO    ] cp _t ../../debug/test/raidfile/t
      [INFO    ] chmod u+x ../../debug/test/raidfile/t
      [INFO    ] cp _t-gdb ../../debug/test/raidfile/t-gdb
      [INFO    ] chmod u+x ../../debug/test/raidfile/t-gdb
      [INFO    ] TEST: test/raidfile
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] ERROR:   Attempted to delete object write1 which has 1 references
      [INFO    ] ERROR:   Attempted to modify object write1, which has no references
      [INFO    ] ERROR:   Attempted to modify object write1, which has 2 references
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [pread->Read(buffer, 1024) == 1024] failed at testraidfile.cpp:733
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [pread->Read(buffer, 512) == 512] failed at testraidfile.cpp:738
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   Expected raidfile doesnt-exist does not exist
      [INFO    ] ERROR:   Opening 0 damage in normal mode, but parity file doesn't exist
      [INFO    ] ERROR:   Attempting to open RAID file 0 damage in recovery mode (stripe 2 present)
      [INFO    ] ERROR:   Attempting to open RAID file 0 testdd in recovery mode (stripe 1 present)
      [INFO    ] WARNING: Exception thrown: RaidFileException(OSError) (Failed to read parity RaidFile: testfiles/0_2/testdd.rf: No such file or directory (2)) at RaidFileRead.cpp(1274)
      [INFO    ] NOTICE:  Running test raidfile in debug mode...
      [INFO    ] FAILED: Exception caught: RaidFile OSError
      [INFO    ] gmake[1]: Entering directory `lib/server'
      [INFO    ]   [CXX]     Daemon.cpp
      [INFO    ]   [CXX]     LocalProcessStream.cpp
      [INFO    ]   [CXX]     Protocol.cpp
      [INFO    ]   [CXX]     ProtocolObject.cpp
      [INFO    ]   [CXX]     ProtocolUncertainStream.cpp
      [INFO    ]   [CXX]     SSLLib.cpp
      [INFO    ]   [CXX]     ServerControl.cpp
      [INFO    ]   [CXX]     Socket.cpp
      [INFO    ]   [CXX]     SocketStream.cpp
      [INFO    ]   [CXX]     SocketStreamTLS.cpp
      [INFO    ]   [CXX]     TLSContext.cpp
      [INFO    ]   [CXX]     WinNamedPipeStream.cpp
      [INFO    ]   [CXX]     autogen_ConnectionException.cpp
      [INFO    ]   [CXX]     autogen_ServerException.cpp
      [INFO    ]   [AR]      ../../debug/lib/server/server.a
      [INFO    ]   [RANLIB]  ../../debug/lib/server/server.a
      [INFO    ] gmake[1]: Leaving directory `lib/server'
      [INFO    ]   [CXX]     TestCommands.cpp
      [INFO    ]   [CXX]     TestContext.cpp
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     autogen_TestProtocolClient.cpp
      [INFO    ]   [CXX]     autogen_TestProtocolServer.cpp
      [INFO    ]   [CXX]     testbasicserver.cpp
      [INFO    ]   [LINK]    ../../debug/test/basicserver/test
      [INFO    ] cp _t ../../debug/test/basicserver/t
      [INFO    ] chmod u+x ../../debug/test/basicserver/t
      [INFO    ] cp _t-gdb ../../debug/test/basicserver/t-gdb
      [INFO    ] chmod u+x ../../debug/test/basicserver/t-gdb
      [INFO    ] TEST: test/basicserver
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] NOTICE:  Running test basicserver in debug mode...
      [INFO    ] Starting server: ./test --test-daemon-args= srv1 testfiles/srv1.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 15105): . done.
      [INFO    ] Starting server: ./test --test-daemon-args= srv2 testfiles/srv2.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 15109): . done.
      [INFO    ] Starting server: ./test --test-daemon-args= srv3 testfiles/srv3.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Connected to 'SERVER'
      [INFO    ] Connected to 'SERVER'
      [INFO    ] Connected to 'SERVER'
      [INFO    ] Waiting for server to die (pid 15116): . done.
      [INFO    ] Starting server: ./test --test-daemon-args= srv4 testfiles/srv4.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] stream is fixed size
      [INFO    ] stream is uncertain size
      [INFO    ] stream is fixed size
      [INFO    ] stream is uncertain size
      [INFO    ] Waiting for server to die (pid 15123): . done.
      [INFO    ] PASSED
      [INFO    ] gmake[1]: Entering directory `lib/backupstore'
      [INFO    ]   [CXX]     BackupClientFileAttributes.cpp
      [INFO    ]   [CXX]     BackupCommands.cpp
      [INFO    ]   [CXX]     BackupStoreAccountDatabase.cpp
      [INFO    ]   [CXX]     BackupStoreAccounts.cpp
      [INFO    ]   [CXX]     BackupStoreCheck.cpp
      [INFO    ]   [CXX]     BackupStoreCheck2.cpp
      [INFO    ]   [CXX]     BackupStoreCheckData.cpp
      [INFO    ]   [CXX]     BackupStoreConfigVerify.cpp
      [INFO    ]   [CXX]     BackupStoreContext.cpp
      [INFO    ]   [CXX]     BackupStoreDirectory.cpp
      [INFO    ]   [CXX]     BackupStoreFile.cpp
      [ERROR   ] BackupStoreFile.cpp: In static member function `static void BackupStoreFile::DecodeFile(IOStream&, const char*, int, const BackupClientFileAttributes*)':
      [ERROR   ] BackupStoreFile.cpp:307: warning: unused variable 'drained'
      [INFO    ]   [CXX]     BackupStoreFileCmbDiff.cpp
      [INFO    ]   [CXX]     BackupStoreFileCmbIdx.cpp
      [INFO    ]   [CXX]     BackupStoreFileCombine.cpp
      [INFO    ]   [CXX]     BackupStoreFileCryptVar.cpp
      [INFO    ]   [CXX]     BackupStoreFileDiff.cpp
      [ERROR   ] BackupStoreFileDiff.cpp: In function `void GenerateRecipe(BackupStoreFileEncodeStream::Recipe&, BackupStoreFileCreation::BlocksAvailableEntry*, int64_t, std::map<int64_t, int64_t, std::less<int64_t>, std::allocator<std::pair<const int64_t, int64_t> > >&, int64_t)':
      [ERROR   ] BackupStoreFileDiff.cpp:1033: warning: long long int format, long int arg (arg 3)
      [INFO    ]   [CXX]     BackupStoreFileEncodeStream.cpp
      [INFO    ]   [CXX]     BackupStoreFileRevDiff.cpp
      [INFO    ]   [CXX]     BackupStoreFilename.cpp
      [INFO    ]   [CXX]     BackupStoreFilenameClear.cpp
      [INFO    ]   [CXX]     BackupStoreInfo.cpp
      [INFO    ]   [CXX]     BackupStoreRefCountDatabase.cpp
      [INFO    ]   [CXX]     StoreStructure.cpp
      [INFO    ]   [CXX]     autogen_BackupProtocolClient.cpp
      [INFO    ]   [CXX]     autogen_BackupProtocolServer.cpp
      [INFO    ]   [CXX]     autogen_BackupStoreException.cpp
      [INFO    ]   [AR]      ../../debug/lib/backupstore/backupstore.a
      [INFO    ]   [RANLIB]  ../../debug/lib/backupstore/backupstore.a
      [INFO    ] gmake[1]: Leaving directory `lib/backupstore'
      [INFO    ] gmake[1]: Entering directory `lib/backupclient'
      [INFO    ]   [CXX]     BackupClientCryptoKeys.cpp
      [INFO    ]   [CXX]     BackupClientMakeExcludeList.cpp
      [INFO    ]   [CXX]     BackupClientRestore.cpp
      [INFO    ]   [CXX]     BackupDaemonConfigVerify.cpp
      [INFO    ]   [CXX]     BackupStoreObjectDump.cpp
      [INFO    ]   [AR]      ../../debug/lib/backupclient/backupclient.a
      [INFO    ]   [RANLIB]  ../../debug/lib/backupclient/backupclient.a
      [INFO    ] gmake[1]: Leaving directory `lib/backupclient'
      [INFO    ] gmake[1]: Entering directory `bin/bbstoreaccounts'
      [INFO    ]   [CXX]     bbstoreaccounts.cpp
      [INFO    ]   [LINK]    ../../debug/bin/bbstoreaccounts/bbstoreaccounts
      [INFO    ] gmake[1]: Leaving directory `bin/bbstoreaccounts'
      [INFO    ] gmake[1]: Entering directory `bin/bbstored'
      [INFO    ]   [CXX]     BBStoreDHousekeeping.cpp
      [INFO    ]   [CXX]     BackupStoreDaemon.cpp
      [INFO    ]   [CXX]     HousekeepStoreAccount.cpp
      [ERROR   ] HousekeepStoreAccount.cpp: In member function `void HousekeepStoreAccount::DoHousekeeping(bool)':
      [ERROR   ] HousekeepStoreAccount.cpp:269: warning: comparison between signed and unsigned integer expressions
      [ERROR   ] HousekeepStoreAccount.cpp: In member function `bool HousekeepStoreAccount::ScanDirectory(int64_t)':
      [ERROR   ] HousekeepStoreAccount.cpp:441: warning: comparison between signed and unsigned integer expressions
      [INFO    ]   [CXX]     bbstored.cpp
      [INFO    ]   [LINK]    ../../debug/bin/bbstored/bbstored
      [INFO    ] gmake[1]: Leaving directory `bin/bbstored'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbackupstore.cpp
      [ERROR   ] testbackupstore.cpp: In function `void test_everything_deleted(BackupProtocolClient&, int64_t)':
      [ERROR   ] testbackupstore.cpp:440: warning: long long unsigned int format, int64_t arg (arg 2)
      [ERROR   ] testbackupstore.cpp: In function `void set_refcount(int64_t, uint32_t)':
      [ERROR   ] testbackupstore.cpp:481: warning: comparison between signed and unsigned integer expressions
      [ERROR   ] testbackupstore.cpp: In function `int64_t create_test_data_subdirs(BackupProtocolClient&, int64_t, const char*, int, BackupStoreRefCountDatabase&)':
      [ERROR   ] testbackupstore.cpp:524: warning: long long unsigned int format, int64_t arg (arg 3)
      [INFO    ]   [LINK]    ../../debug/test/backupstore/test
      [INFO    ] cp _t ../../debug/test/backupstore/t
      [INFO    ] chmod u+x ../../debug/test/backupstore/t
      [INFO    ] cp _t-gdb ../../debug/test/backupstore/t-gdb
      [INFO    ] chmod u+x ../../debug/test/backupstore/t-gdb
      [INFO    ] TEST: test/backupstore
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] WARNING: Block 0x5f0f30 realloc()ated, but not in list. Error? Or allocated in startup static objects?
      [INFO    ] WARNING: Login command failed: received error BadLogin = 3
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] WARNING: Reference count of object 0x1 not found in database, added with 1 references
      [INFO    ] WARNING: Login command failed: received error CannotLockStoreForWriting = 4
      [INFO    ] WARNING: GetFile command failed: received error DoesNotExistInDirectory = 13
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 1 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 2 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x4
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 3 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x4
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 4 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x4
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 5 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x4
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 6 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 7 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 8 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 9 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 10 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0xc
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 11 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0xc
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 12 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0xc
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 13 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0xc
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 14 (of which old files: 2, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x10
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 15 (of which old files: 3, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x10
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 15 (of which old files: 3, deleted files: 2), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: MoveObject command failed: received error DoesNotExist = 7
      [INFO    ] WARNING: MoveObject command failed: received error TargetNameExists = 10
      [INFO    ] NOTICE:  Running test backupstore in debug mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored  testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] testfiles/test0
      [INFO    ] testfiles/test1
      [INFO    ] testfiles/test2
      [INFO    ] testfiles/test3
      [INFO    ] testfiles/test4
      [INFO    ] testfiles/test5
      [INFO    ] testfiles/test6
      [INFO    ] testfiles/test7
      [INFO    ] testfiles/test8
      [INFO    ] testfiles/test9
      [INFO    ] testfiles/testa
      [INFO    ] testfiles/testb
      [INFO    ] testfiles/testc
      [INFO    ] testfiles/testd
      [INFO    ] 0
      [INFO    ] 1
      [INFO    ] 2
      [INFO    ] 3
      [INFO    ] 4
      [INFO    ] 5
      [INFO    ] 6
      [INFO    ] 7
      [INFO    ] 8
      [INFO    ] 9
      [INFO    ] 10
      [INFO    ] 11
      [INFO    ] 12
      [INFO    ] 13
      [INFO    ] ==== Reading directory using read-only connection
      [INFO    ] done.
      [INFO    ] ==== Checking upload using read-only connection
      [INFO    ] done.
      [INFO    ] Create subdirs, depth = 6, dirid = 16
      [INFO    ] Create subdirs, depth = 5, dirid = 17
      [INFO    ] Create subdirs, depth = 4, dirid = 18
      [INFO    ] Create subdirs, depth = 3, dirid = 19
      [INFO    ] Create subdirs, depth = 2, dirid = 1a
      [INFO    ] Create subdirs, depth = 1, dirid = 1b
      [INFO    ] Create subdirs, depth = 0, dirid = 1c
      [INFO    ] Create subdirs, depth = 0, dirid = 20
      [INFO    ] Create subdirs, depth = 1, dirid = 27
      [INFO    ] Create subdirs, depth = 0, dirid = 28
      [INFO    ] Create subdirs, depth = 0, dirid = 2c
      [INFO    ] Create subdirs, depth = 2, dirid = 36
      [INFO    ] Create subdirs, depth = 1, dirid = 37
      [INFO    ] Create subdirs, depth = 0, dirid = 38
      [INFO    ] Create subdirs, depth = 0, dirid = 3c
      [INFO    ] Create subdirs, depth = 1, dirid = 43
      [INFO    ] Create subdirs, depth = 0, dirid = 44
      [INFO    ] Create subdirs, depth = 0, dirid = 48
      [INFO    ] Create subdirs, depth = 3, dirid = 55
      [INFO    ] Create subdirs, depth = 2, dirid = 56
      [INFO    ] Create subdirs, depth = 1, dirid = 57
      [INFO    ] Create subdirs, depth = 0, dirid = 58
      [INFO    ] Create subdirs, depth = 0, dirid = 5c
      [INFO    ] Create subdirs, depth = 1, dirid = 63
      [INFO    ] Create subdirs, depth = 0, dirid = 64
      [INFO    ] Create subdirs, depth = 0, dirid = 68
      [INFO    ] Create subdirs, depth = 2, dirid = 72
      [INFO    ] Create subdirs, depth = 1, dirid = 73
      [INFO    ] Create subdirs, depth = 0, dirid = 74
      [INFO    ] Create subdirs, depth = 0, dirid = 78
      [INFO    ] Create subdirs, depth = 1, dirid = 7f
      [INFO    ] Create subdirs, depth = 0, dirid = 80
      [INFO    ] Create subdirs, depth = 0, dirid = 84
      [INFO    ] Create subdirs, depth = 4, dirid = 94
      [INFO    ] Create subdirs, depth = 3, dirid = 95
      [INFO    ] Create subdirs, depth = 2, dirid = 96
      [INFO    ] Create subdirs, depth = 1, dirid = 97
      [INFO    ] Create subdirs, depth = 0, dirid = 98
      [INFO    ] Create subdirs, depth = 0, dirid = 9c
      [INFO    ] Create subdirs, depth = 1, dirid = a3
      [INFO    ] Create subdirs, depth = 0, dirid = a4
      [INFO    ] Create subdirs, depth = 0, dirid = a8
      [INFO    ] Create subdirs, depth = 2, dirid = b2
      [INFO    ] Create subdirs, depth = 1, dirid = b3
      [INFO    ] Create subdirs, depth = 0, dirid = b4
      [INFO    ] Create subdirs, depth = 0, dirid = b8
      [INFO    ] Create subdirs, depth = 1, dirid = bf
      [INFO    ] Create subdirs, depth = 0, dirid = c0
      [INFO    ] Create subdirs, depth = 0, dirid = c4
      [INFO    ] Create subdirs, depth = 3, dirid = d1
      [INFO    ] Create subdirs, depth = 2, dirid = d2
      [INFO    ] Create subdirs, depth = 1, dirid = d3
      [INFO    ] Create subdirs, depth = 0, dirid = d4
      [INFO    ] Create subdirs, depth = 0, dirid = d8
      [INFO    ] Create subdirs, depth = 1, dirid = df
      [INFO    ] Create subdirs, depth = 0, dirid = e0
      [INFO    ] Create subdirs, depth = 0, dirid = e4
      [INFO    ] Create subdirs, depth = 2, dirid = ee
      [INFO    ] Create subdirs, depth = 1, dirid = ef
      [INFO    ] Create subdirs, depth = 0, dirid = f0
      [INFO    ] Create subdirs, depth = 0, dirid = f4
      [INFO    ] Create subdirs, depth = 1, dirid = fb
      [INFO    ] Create subdirs, depth = 0, dirid = fc
      [INFO    ] Create subdirs, depth = 0, dirid = 100
      [INFO    ] Create subdirs, depth = 5, dirid = 113
      [INFO    ] Create subdirs, depth = 4, dirid = 114
      [INFO    ] Create subdirs, depth = 3, dirid = 115
      [INFO    ] Create subdirs, depth = 2, dirid = 116
      [INFO    ] Create subdirs, depth = 1, dirid = 117
      [INFO    ] Create subdirs, depth = 0, dirid = 118
      [INFO    ] Create subdirs, depth = 0, dirid = 11c
      [INFO    ] Create subdirs, depth = 1, dirid = 123
      [INFO    ] Create subdirs, depth = 0, dirid = 124
      [INFO    ] Create subdirs, depth = 0, dirid = 128
      [INFO    ] Create subdirs, depth = 2, dirid = 132
      [INFO    ] Create subdirs, depth = 1, dirid = 133
      [INFO    ] Create subdirs, depth = 0, dirid = 134
      [INFO    ] Create subdirs, depth = 0, dirid = 138
      [INFO    ] Create subdirs, depth = 1, dirid = 13f
      [INFO    ] Create subdirs, depth = 0, dirid = 140
      [INFO    ] Create subdirs, depth = 0, dirid = 144
      [INFO    ] Create subdirs, depth = 3, dirid = 151
      [INFO    ] Create subdirs, depth = 2, dirid = 152
      [INFO    ] Create subdirs, depth = 1, dirid = 153
      [INFO    ] Create subdirs, depth = 0, dirid = 154
      [INFO    ] Create subdirs, depth = 0, dirid = 158
      [INFO    ] Create subdirs, depth = 1, dirid = 15f
      [INFO    ] Create subdirs, depth = 0, dirid = 160
      [INFO    ] Create subdirs, depth = 0, dirid = 164
      [INFO    ] Create subdirs, depth = 2, dirid = 16e
      [INFO    ] Create subdirs, depth = 1, dirid = 16f
      [INFO    ] Create subdirs, depth = 0, dirid = 170
      [INFO    ] Create subdirs, depth = 0, dirid = 174
      [INFO    ] Create subdirs, depth = 1, dirid = 17b
      [INFO    ] Create subdirs, depth = 0, dirid = 17c
      [INFO    ] Create subdirs, depth = 0, dirid = 180
      [INFO    ] Create subdirs, depth = 4, dirid = 190
      [INFO    ] Create subdirs, depth = 3, dirid = 191
      [INFO    ] Create subdirs, depth = 2, dirid = 192
      [INFO    ] Create subdirs, depth = 1, dirid = 193
      [INFO    ] Create subdirs, depth = 0, dirid = 194
      [INFO    ] Create subdirs, depth = 0, dirid = 198
      [INFO    ] Create subdirs, depth = 1, dirid = 19f
      [INFO    ] Create subdirs, depth = 0, dirid = 1a0
      [INFO    ] Create subdirs, depth = 0, dirid = 1a4
      [INFO    ] Create subdirs, depth = 2, dirid = 1ae
      [INFO    ] Create subdirs, depth = 1, dirid = 1af
      [INFO    ] Create subdirs, depth = 0, dirid = 1b0
      [INFO    ] Create subdirs, depth = 0, dirid = 1b4
      [INFO    ] Create subdirs, depth = 1, dirid = 1bb
      [INFO    ] Create subdirs, depth = 0, dirid = 1bc
      [INFO    ] Create subdirs, depth = 0, dirid = 1c0
      [INFO    ] Create subdirs, depth = 3, dirid = 1cd
      [INFO    ] Create subdirs, depth = 2, dirid = 1ce
      [INFO    ] Create subdirs, depth = 1, dirid = 1cf
      [INFO    ] Create subdirs, depth = 0, dirid = 1d0
      [INFO    ] Create subdirs, depth = 0, dirid = 1d4
      [INFO    ] Create subdirs, depth = 1, dirid = 1db
      [INFO    ] Create subdirs, depth = 0, dirid = 1dc
      [INFO    ] Create subdirsWARNING: Failed to open file: testfiles/0_0/backup/01234567/refcount.db.rfw: No such file or directory (2)
      [INFO    ] WARNING: Exception thrown: CommonException(OSFileOpenError) at FileStream.cpp(84)
      [INFO    ] WARNING: Reference count database is missing or corrupted during housekeeping, creating a new one.
      [INFO    ] , depth = 0, dirid = 1e0
      [INFO    ] Create subdirs, depth = 2, dirid = 1ea
      [INFO    ] Create subdirs, depth = 1, dirid = 1eb
      [INFO    ] Create subdirs, depth = 0, dirid = 1ec
      [INFO    ] Create subdirs, depth = 0, dirid = 1f0
      [INFO    ] Create subdirs, depth = 1, dirid = 1f7
      [INFO    ] Create subdirs, depth = 0, dirid = 1f8
      [INFO    ] Create subdirs, depth = 0, dirid = 1fc
      [INFO    ] Test for del: 16
      [INFO    ] Test for del: 17
      [INFO    ] Test for del: 18
      [INFO    ] Test for del: 19
      [INFO    ] Test for del: 1a
      [INFO    ] Test for del: 1b
      [INFO    ] Test for del: 1c
      [INFO    ] Test for del: 20
      [INFO    ] Test for del: 27
      [INFO    ] Test for del: 28
      [INFO    ] Test for del: 2c
      [INFO    ] Test for del: 36
      [INFO    ] Test for del: 37
      [INFO    ] Test for del: 38
      [INFO    ] Test for del: 3c
      [INFO    ] Test for del: 43
      [INFO    ] Test for del: 44
      [INFO    ] Test for del: 48
      [INFO    ] Test for del: 55
      [INFO    ] Test for del: 56
      [INFO    ] Test for del: 57
      [INFO    ] Test for del: 58
      [INFO    ] Test for del: 5c
      [INFO    ] Test for del: 63
      [INFO    ] Test for del: 64
      [INFO    ] Test for del: 68
      [INFO    ] Test for del: 72
      [INFO    ] Test for del: 73
      [INFO    ] Test for del: 74
      [INFO    ] Test for del: 78
      [INFO    ] Test for del: 7f
      [INFO    ] Test for del: 80
      [INFO    ] Test for del: 84
      [INFO    ] Test for del: 94
      [INFO    ] Test for del: 95
      [INFO    ] Test for del: 96
      [INFO    ] Test for del: 97
      [INFO    ] Test for del: 98
      [INFO    ] Test for del: 9c
      [INFO    ] Test for del: a3
      [INFO    ] Test for del: a4
      [INFO    ] Test for del: a8
      [INFO    ] Test for del: b2
      [INFO    ] Test for del: b3
      [INFO    ] Test for del: b4
      [INFO    ] Test for del: b8
      [INFO    ] Test for del: bf
      [INFO    ] Test for del: c0
      [INFO    ] Test for del: c4
      [INFO    ] Test for del: d1
      [INFO    ] Test for del: d2
      [INFO    ] Test for del: d3
      [INFO    ] Test for del: d4
      [INFO    ] Test for del: d8
      [INFO    ] Test for del: df
      [INFO    ] Test for del: e0
      [INFO    ] Test for del: e4
      [INFO    ] Test for del: ee
      [INFO    ] Test for del: ef
      [INFO    ] Test for del: f0
      [INFO    ] Test for del: f4
      [INFO    ] Test for del: fb
      [INFO    ] Test for del: fc
      [INFO    ] Test for del: 100
      [INFO    ] Test for del: 113
      [INFO    ] Test for del: 114
      [INFO    ] Test for del: 115
      [INFO    ] Test for del: 116
      [INFO    ] Test for del: 117
      [INFO    ] Test for del: 118
      [INFO    ] Test for del: 11c
      [INFO    ] Test for del: 123
      [INFO    ] Test for del: 124
      [INFO    ] Test for del: 128
      [INFO    ] Test for del: 132
      [INFO    ] Test for del: 133
      [INFO    ] Test for del: 134
      [INFO    ] Test for del: 138
      [INFO    ] Test for del: 13f
      [INFO    ] Test for del: 140
      [INFO    ] Test for del: 144
      [INFO    ] Test for del: 151
      [INFO    ] Test for del: 152
      [INFO    ] Test for del: 153
      [INFO    ] Test for del: 154
      [INFO    ] Test for del: 158
      [INFO    ] Test for del: 15f
      [INFO    ] Test for del: 160
      [INFO    ] Test for del: 164
      [INFO    ] Test for del: 16e
      [INFO    ] Test for del: 16f
      [INFO    ] Test for del: 170
      [INFO    ] Test for del: 174
      [INFO    ] Test for del: 17b
      [INFO    ] Test for del: 17c
      [INFO    ] Test for del: 180
      [INFO    ] Test for del: 190
      [INFO    ] Test for del: 191
      [INFO    ] Test for del: 192
      [INFO    ] Test for del: 193
      [INFO    ] Test for del: 194
      [INFO    ] Test for del: 198
      [INFO    ] Test for del: 19f
      [INFO    ] Test for del: 1a0
      [INFO    ] Test for del: 1a4
      [INFO    ] Test for del: 1ae
      [INFO    ] Test for del: 1af
      [INFO    ] Test for del: 1b0
      [INFO    ] Test for del: 1b4
      [INFO    ] Test for del: 1bb
      [INFO    ] Test for del: 1bc
      [INFO    ] Test for del: 1c0
      [INFO    ] Test for del: 1cd
      [INFO    ] Test for del: 1ce
      [INFO    ] Test for del: 1cf
      [INFO    ] Test for del: 1d0
      [INFO    ] Test for del: 1d4
      [INFO    ] Test for del: 1db
      [INFO    ] Test for del: 1dc
      [INFO    ] Test for del: 1e0
      [INFO    ] Test for del: 1ea
      [INFO    ] Test for del: 1eb
      [INFO    ] Test for del: 1ec
      [INFO    ] Test for del: 1f0
      [INFO    ] Test for del: 1f7
      [INFO    ] Test for del: 1f8
      [INFO    ] Test for del: 1fc
      [INFO    ] Waiting for server to die (pid 15354): . done.
      [INFO    ] NOTICE:  Limits on account 0x01234567 changed to 10 soft, 20000 hard.
      [INFO    ] Starting server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] waiting for housekeeping:
      [INFO    ] ..............................NOTICE:  Limits on account 0x01234567 changed to 10 soft, 20 hard.
      [INFO    ] WARNING: StoreFile command failed: received error StorageLimitExceeded = 11
      [INFO    ] WARNING: CreateDirectory command failed: received error StorageLimitExceeded = 11
      [INFO    ] Waiting for server to die (pid 15417): . done.
      [INFO    ] PASSED
      [INFO    ] gmake[1]: Entering directory `bin/bbackupctl'
      [INFO    ]   [CXX]     bbackupctl.cpp
      [INFO    ]   [LINK]    ../../debug/bin/bbackupctl/bbackupctl
      [INFO    ] gmake[1]: Leaving directory `bin/bbackupctl'
      [INFO    ] gmake[1]: Entering directory `bin/bbackupd'
      [INFO    ]   [CXX]     BackupClientContext.cpp
      [INFO    ]   [CXX]     BackupClientDeleteList.cpp
      [INFO    ]   [CXX]     BackupClientDirectoryRecord.cpp
      [INFO    ]   [CXX]     BackupClientInodeToIDMap.cpp
      [INFO    ]   [CXX]     BackupDaemon.cpp
      [INFO    ]   [CXX]     Win32BackupService.cpp
      [INFO    ]   [CXX]     Win32ServiceFunctions.cpp
      [INFO    ]   [CXX]     autogen_ClientException.cpp
      [INFO    ]   [CXX]     bbackupd.cpp
      [INFO    ]   [LINK]    ../../debug/bin/bbackupd/bbackupd
      [INFO    ] gmake[1]: Leaving directory `bin/bbackupd'
      [INFO    ] gmake[1]: Entering directory `bin/bbackupquery'
      [INFO    ]   [CXX]     BackupQueries.cpp
      [INFO    ]   [CXX]     CommandCompletion.cpp
      [INFO    ]   [CXX]     autogen_Documentation.cpp
      [INFO    ]   [CXX]     bbackupquery.cpp
      [INFO    ]   [LINK]    ../../debug/bin/bbackupquery/bbackupquery
      [INFO    ] gmake[1]: Leaving directory `bin/bbackupquery'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbackupstorefix.cpp
      [INFO    ]   [LINK]    ../../debug/test/backupstorefix/test
      [INFO    ] cp _t ../../debug/test/backupstorefix/t
      [INFO    ] chmod u+x ../../debug/test/backupstorefix/t
      [INFO    ] cp _t-gdb ../../debug/test/backupstorefix/t-gdb
      [INFO    ] chmod u+x ../../debug/test/backupstorefix/t-gdb
      [INFO    ] TEST: test/backupstorefix
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] NOTICE:  Running test backupstorefix in debug mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Starting server: ../../bin/bbackupd/bbackupd  testfiles/bbackupd.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 15581): . done.
      [INFO    ] WARNING: Spurious file backup/01234567/randomfile found
      [INFO    ] ERROR:   Expected raidfile backup/01234567/info does not exist
      [INFO    ] WARNING: Exception thrown: RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1029)
      [INFO    ] WARNING: Load of existing store info failed, regenerating.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 2 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 114 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] WARNING: Spurious file backup/01234567/randomfile found, deleting
      [INFO    ] ERROR:   Expected raidfile backup/01234567/info does not exist
      [INFO    ] WARNING: Exception thrown: RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1029)
      [INFO    ] WARNING: Load of existing store info failed, regenerating.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 2 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 114 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Object 0x8a is unattached.
      [INFO    ] WARNING: Object 0x8a is unattached, and is a patch. Deleting, cannot reliably recover.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 228 to 226
      [INFO    ] WARNING: NumFiles changed from 114 to 113
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 3 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 113 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] WARNING: Object 0x8a is unattached.
      [INFO    ] WARNING: Object 0x8a is unattached, and is a patch. Deleting, cannot reliably recover.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 228 to 226
      [INFO    ] WARNING: NumFiles changed from 114 to 113
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 3 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 113 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Directory ID 0x5 has wrong container ID.
      [INFO    ] WARNING: Directory ID 0x16 references object 0x7e which does not exist.
      [INFO    ] WARNING: Directory ID 0x17 has bad structure
      [INFO    ] WARNING: Directory ID 0x17 has wrong size for object 0x82
      [INFO    ] WARNING: Object 0x42 is unattached.
      [INFO    ] WARNING: Missing directory 0x9 could be recreated.
      [INFO    ] WARNING: Object 0x43 is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 284 to 278
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 226 to 220
      [INFO    ] WARNING: BlocksInDirectories changed from 56 to 54
      [INFO    ] WARNING: NumFiles changed from 113 to 110
      [INFO    ] WARNING: NumDirectories changed from 28 to 27
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 9 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] TRACE:   Entry 0x83: Remove because ID already seen
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 110 (of which old files: 0, deleted files: 0), directories: 27
      [INFO    ] WARNING: Directory ID 0x5 has wrong container ID.
      [INFO    ] WARNING: Directory ID 0x16 references object 0x7e which does not exist.
      [INFO    ] WARNING: Fixing directory ID 0x16
      [INFO    ] WARNING: Directory ID 0x17 has bad structure
      [INFO    ] WARNING: Directory ID 0x17 has wrong size for object 0x82
      [INFO    ] WARNING: Fixing directory ID 0x17
      [INFO    ] WARNING: Object 0x42 is unattached.
      [INFO    ] WARNING: Recreating missing directory 0x9
      [INFO    ] WARNING: Object 0x43 is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 284 to 278
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 226 to 220
      [INFO    ] WARNING: BlocksInDirectories changed from 56 to 54
      [INFO    ] WARNING: NumFiles changed from 113 to 110
      [INFO    ] WARNING: NumDirectories changed from 28 to 27
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 9 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] TRACE:   Entry 0x83: Remove because ID already seen
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 110 (of which old files: 0, deleted files: 0), directories: 27
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Corrupted file backup/01234567/01/o01 found
      [INFO    ] WARNING: Directory ID 0xe references object 0x4d which is already contained.
      [INFO    ] WARNING: Object 0x31 is unattached.
      [INFO    ] WARNING: Missing directory 0x5 could be recreated.
      [INFO    ] WARNING: Object 0x32 is unattached.
      [INFO    ] WARNING: Object 0x33 is unattached.
      [INFO    ] WARNING: Object 0x34 is unattached.
      [INFO    ] WARNING: Object 0x35 is unattached.
      [INFO    ] WARNING: Object 0x36 is unattached.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 220 to 212
      [INFO    ] WARNING: NumFiles changed from 110 to 106
      [INFO    ] WARNING: NumDirectories changed from 27 to 26
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 11 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 106 (of which old files: 0, deleted files: 0), directories: 26
      [INFO    ] WARNING: Corrupted file backup/01234567/01/o01 found, deleting
      [INFO    ] WARNING: Directory ID 0xe references object 0x4d which is already contained.
      [INFO    ] WARNING: Fixing directory ID 0xe
      [INFO    ] WARNING: Object 0x31 is unattached.
      [INFO    ] WARNING: Recreating missing directory 0x5
      [INFO    ] WARNING: Object 0x32 is unattached.
      [INFO    ] WARNING: Object 0x33 is unattached.
      [INFO    ] WARNING: Object 0x34 is unattached.
      [INFO    ] WARNING: Object 0x35 is unattached.
      [INFO    ] WARNING: Object 0x36 is unattached.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 220 to 212
      [INFO    ] WARNING: NumFiles changed from 110 to 106
      [INFO    ] WARNING: NumDirectories changed from 27 to 26
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 11 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 106 (of which old files: 0, deleted files: 0), directories: 26
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Object 0x1c is unattached.
      [INFO    ] WARNING: Object 0x8d is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 278 to 274
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 212 to 222
      [INFO    ] WARNING: BlocksInDirectories changed from 54 to 50
      [INFO    ] WARNING: NumFiles changed from 106 to 111
      [INFO    ] WARNING: NumDirectories changed from 26 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 7 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] WARNING: Object 0x1c is unattached.
      [INFO    ] WARNING: Lost and found dir has name lost+found0
      [INFO    ] WARNING: Object 0x8d is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 278 to 276
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 212 to 222
      [INFO    ] WARNING: BlocksInDirectories changed from 54 to 52
      [INFO    ] WARNING: NumFiles changed from 106 to 111
      [INFO    ] WARNING: NumDirectories changed from 26 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 7 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] WARNING: A lost+found directory was created in the account root.
      [INFO    ] This contains files and directories which could not be matched to existing directories.
      [INFO    ] bbackupd will delete this directory in a few days time.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: Corrupted file backup/01234567/01/01/o01 found
      [INFO    ] WARNING: Exception thrown: BackupStoreException(CouldntReadEntireStructureFromStream) at BackupStoreFilename.cpp(191)
      [INFO    ] WARNING: Corrupted file backup/01234567/03/02/o00 found
      [INFO    ] WARNING: Directory ID 0x4 references object 0x2c which does not exist.
      [INFO    ] WARNING: Directory ID 0x1c has wrong container ID.
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Object 0x79 is unattached.
      [INFO    ] WARNING: Missing directory 0x15 could be recreated.
      [INFO    ] WARNING: Object 0x7a is unattached.
      [INFO    ] WARNING: Object 0x7b is unattached.
      [INFO    ] WARNING: LastObjectIDUsed changed from 142 to 143
      [INFO    ] WARNING: BlocksUsed changed from 276 to 274
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 222 to 216
      [INFO    ] WARNING: BlocksInDirectories changed from 52 to 50
      [INFO    ] WARNING: NumFiles changed from 111 to 108
      [INFO    ] WARNING: NumDirectories changed from 24 to 25
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 12 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 108 (of which old files: 0, deleted files: 0), directories: 25
      [INFO    ] WARNING: Corrupted file backup/01234567/01/01/o01 found, deleting
      [INFO    ] WARNING: Exception thrown: BackupStoreException(CouldntReadEntireStructureFromStream) at BackupStoreFilename.cpp(191)
      [INFO    ] WARNING: Corrupted file backup/01234567/03/02/o00 found, deleting
      [INFO    ] WARNING: Directory ID 0x4 references object 0x2c which does not exist.
      [INFO    ] WARNING: Fixing directory ID 0x4
      [INFO    ] WARNING: Directory ID 0x1c has wrong container ID.
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Object 0x79 is unattached.
      [INFO    ] WARNING: Recreating missing directory 0x15
      [INFO    ] WARNING: Object 0x7a is unattached.
      [INFO    ] WARNING: Object 0x7b is unattached.
      [INFO    ] WARNING: LastObjectIDUsed changed from 142 to 143
      [INFO    ] WARNING: BlocksUsed changed from 276 to 274
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 222 to 216
      [INFO    ] WARNING: BlocksInDirectories changed from 52 to 50
      [INFO    ] WARNING: NumFiles changed from 111 to 108
      [INFO    ] WARNING: NumDirectories changed from 24 to 25
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 12 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 108 (of which old files: 0, deleted files: 0), directories: 25
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] ERROR:   Have file as root directory. This is bad.
      [INFO    ] WARNING: Corrupted file backup/01234567/o01 found
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Root directory doesn't exist
      [INFO    ] WARNING: Object 0x2 is unattached.
      [INFO    ] WARNING: Object 0x8f is unattached.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 216 to 222
      [INFO    ] WARNING: NumFiles changed from 108 to 111
      [INFO    ] WARNING: NumDirectories changed from 25 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 7 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] ERROR:   Have file as root directory. This is bad.
      [INFO    ] WARNING: Corrupted file backup/01234567/o01 found, deleting
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Root directory doesn't exist
      [INFO    ] WARNING: Object 0x2 is unattached.
      [INFO    ] WARNING: Lost and found dir has name lost+found0
      [INFO    ] WARNING: Object 0x8f is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 274 to 278
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 216 to 222
      [INFO    ] WARNING: BlocksInDirectories changed from 50 to 54
      [INFO    ] WARNING: NumFiles changed from 108 to 111
      [INFO    ] WARNING: NumDirectories changed from 25 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 9 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] WARNING: A lost+found directory was created in the account root.
      [INFO    ] This contains files and directories which could not be matched to existing directories.
      [INFO    ] bbackupd will delete this directory in a few days time.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0x8c
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ]   === Delete store info, add random file
      [INFO    ]   === Delete an entry for an object from dir, change that object to be a patch, check it's deleted
      [INFO    ]   === Delete directory, change container ID of another, duplicate entry in dir, spurious file size, delete file
      [INFO    ]   === Modify the obj ID of dir, delete dir with no members, add extra reference to a file
      [INFO    ]   === Orphan files and dirs without being recoverable
      [INFO    ]   === Corrupt file and dir
      [INFO    ]   === Overwrite root with a file
      [INFO    ] Waiting for server to die (pid 15574): . done.
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbackupstorepatch.cpp
      [ERROR   ] testbackupstorepatch.cpp: In function `int test(int, const char**)':
      [ERROR   ] testbackupstorepatch.cpp:425: warning: long long int format, int64_t arg (arg 2)
      [ERROR   ] testbackupstorepatch.cpp:498: warning: unused variable 'startDisc'
      [INFO    ]   [LINK]    ../../debug/test/backupstorepatch/test
      [INFO    ] cp _t ../../debug/test/backupstorepatch/t
      [INFO    ] chmod u+x ../../debug/test/backupstorepatch/t
      [INFO    ] cp _t-gdb ../../debug/test/backupstorepatch/t-gdb
      [INFO    ] chmod u+x ../../debug/test/backupstorepatch/t-gdb
      [INFO    ] TEST: test/backupstorepatch
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/backupstorepatch/testfiles
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] NOTICE:  Running test backupstorepatch in debug mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
      [INFO    ] Waiting for server to start: . done.
      [INFO    ] ID 3, completely different: no
      [INFO    ] ID 4, completely different: no
      [INFO    ] ID 5, completely different: no
      [INFO    ] ID 6, completely different: no
      [INFO    ] ID 7, completely different: no
      [INFO    ] ID 8, completely different: yes
      [INFO    ] ID 9, completely different: no
      [INFO    ] ID 10, completely different: no
      [INFO    ] ID 11, completely different: no
      [INFO    ] r=0, f=0
      [INFO    ] r=0, f=1
      [INFO    ] r=0, f=2
      [INFO    ] r=0, f=3
      [INFO    ] r=0, f=4
      [INFO    ] r=0, f=5
      [INFO    ] r=0, f=6
      [INFO    ] r=0, f=7
      [INFO    ] r=0, f=8
      [INFO    ] r=0, f=9
      [INFO    ] ....
      [INFO    ] r=1, f=0
      [INFO    ] r=1, f=1
      [INFO    ] r=1, f=2
      [INFO    ] r=1, f=3
      [INFO    ] r=1, f=4
      [INFO    ] r=1, f=5
      [INFO    ] r=1, f=6
      [INFO    ] r=1, f=7
      [INFO    ] r=1, f=8
      [INFO    ] r=1, f=9
      [INFO    ] ....
      [INFO    ] r=2, f=0
      [INFO    ] r=2, f=1
      [INFO    ] r=2, f=2
      [INFO    ] r=2, f=3
      [INFO    ] r=2, f=4
      [INFO    ] r=2, f=5
      [INFO    ] r=2, f=6
      [INFO    ] r=2, f=7
      [INFO    ] r=2, f=8
      [INFO    ] r=2, f=9
      [INFO    ] ....
      [INFO    ] r=3, f=0
      [INFO    ] r=3, f=1
      [INFO    ] r=3, f=2
      [INFO    ] r=3, f=3
      [INFO    ] r=3, f=4
      [INFO    ] r=3, f=5
      [INFO    ] r=3, f=6
      [INFO    ] r=3, f=7
      [INFO    ] r=3, f=8
      [INFO    ] r=3, f=9
      [INFO    ] ....
      [INFO    ] r=4, f=0
      [INFO    ] r=4, f=1
      [INFO    ] r=4, f=2
      [INFO    ] r=4, f=3
      [INFO    ] r=4, f=4
      [INFO    ] r=4, f=5
      [INFO    ] r=4, f=6
      [INFO    ] r=4, f=7
      [INFO    ] r=4, f=8
      [INFO    ] r=4, f=9
      [INFO    ] ....
      [INFO    ] r=5, f=0
      [INFO    ] r=5, f=1
      [INFO    ] r=5, f=2
      [INFO    ] r=5, f=3
      [INFO    ] r=5, f=4
      [INFO    ] r=5, f=5
      [INFO    ] r=5, f=6
      [INFO    ] r=5, f=7
      [INFO    ] r=5, f=8
      [INFO    ] r=5, f=9
      [INFO    ] ....
      [INFO    ] r=6, f=0
      [INFO    ] r=6, f=1
      [INFO    ] r=6, f=2
      [INFO    ] r=6, f=3
      [INFO    ] r=6, f=4
      [INFO    ] r=6, f=5
      [INFO    ] r=6, f=6
      [INFO    ] r=6, f=7
      [INFO    ] r=6, f=8
      [INFO    ] r=6, f=9
      [INFO    ] ....
      [INFO    ] r=7, f=0
      [INFO    ] r=7, f=1
      [INFO    ] r=7, f=2
      [INFO    ] r=7, f=3
      [INFO    ] r=7, f=4
      [INFO    ] r=7, f=5
      [INFO    ] r=7, f=6
      [INFO    ] r=7, f=7
      [INFO    ] r=7, f=8
      [INFO    ] r=7, f=9
      [INFO    ] Waiting for server to die (pid 15747): . done.
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     difftestfiles.cpp
      [INFO    ]   [CXX]     testbackupdiff.cpp
      [INFO    ]   [LINK]    ../../debug/test/backupdiff/test
      [INFO    ] cp _t ../../debug/test/backupdiff/t
      [INFO    ] chmod u+x ../../debug/test/backupdiff/t
      [INFO    ] cp _t-gdb ../../debug/test/backupdiff/t-gdb
      [INFO    ] chmod u+x ../../debug/test/backupdiff/t-gdb
      [INFO    ] TEST: test/backupdiff
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/backupdiff/testfiles
      [INFO    ] NOTICE:  Running test backupdiff in debug mode...
      [INFO    ] Time taken: 6 seconds
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbbackupd.cpp
      [INFO    ]   [LINK]    ../../debug/test/bbackupd/test
      [INFO    ] cp _t ../../debug/test/bbackupd/t
      [INFO    ] chmod u+x ../../debug/test/bbackupd/t
      [INFO    ] cp _t-gdb ../../debug/test/bbackupd/t-gdb
      [INFO    ] chmod u+x ../../debug/test/bbackupd/t-gdb
      [INFO    ] TEST: test/bbackupd
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] ERROR:   Failed to stat file: 'doesn't exist': No such file or directory (2)
      [INFO    ] ERROR:   Failed to change permissions of file 'testfiles/test1_nXX': No such file or directory (2)
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] NOTICE:  Running test bbackupd in debug mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored  testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] ==== Testing that ReadDirectory on nonexistent directory does not crash
      [INFO    ] ==== Testing SSL KeepAlive messages
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to run a sync: ............ done.
      [INFO    ] Waiting for server to die (pid 15911): . done.
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to sync spacetest/f1: ............ done.
      [INFO    ] Waiting for server to die (pid 15942): . done.
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to sync spacetest/f1 again: ............ done.
      [INFO    ] Waiting for server to die (pid 15974): . done.
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to sync spacetest/f1 again: ............ done.
      [INFO    ] Waiting for server to die (pid 16001): . done.
      [INFO    ] ERROR:   **** TEST FAILURE: line != "Send GetIsAlive()" at testbbackupd.cpp:1114
      [INFO    ] ERROR:   **** TEST FAILURE: line != "Receive IsAlive()" at testbbackupd.cpp:1116
      [INFO    ] ERROR:   **** TEST FAILURE: line.substr(0, comp.size()) != comp in Receive Success(0x11) at testbbackupd.cpp:1124
      [INFO    ] ERROR:   **** TEST FAILURE: sub != comp in Receive Success(0x11) at testbbackupd.cpp:1127
      [INFO    ] Expected <Send GetIsAlive()> but found <Send StoreFile(0x3,0x4ab0669154e00,0x3ea1a71d56bacfa4,0x10,"f1")>
      [INFO    ] Expected <Receive IsAlive()> but found <Sending stream, size uncertain>
      [INFO    ] Expected <Send StoreFile(0x3,> but found <Receive Success(0x1> in <Receive Success(0x11)>
      [INFO    ] Expected <,"f1")> but found <(0x11)> in <Receive Success(0x11)>
      [INFO    ] Waiting for server to die (pid 15902): . done.
      [INFO    ] FAILED: 4 tests failed (first at testbbackupd.cpp:1114)
      [INFO    ] gmake[1]: Entering directory `lib/httpserver'
      [INFO    ]   [CXX]     HTTPQueryDecoder.cpp
      [INFO    ]   [CXX]     HTTPRequest.cpp
      [INFO    ]   [CXX]     HTTPResponse.cpp
      [INFO    ]   [CXX]     HTTPServer.cpp
      [INFO    ]   [CXX]     S3Client.cpp
      [INFO    ]   [CXX]     S3Simulator.cpp
      [INFO    ]   [CXX]     autogen_HTTPException.cpp
      [INFO    ]   [CXX]     cdecode.cpp
      [INFO    ]   [CXX]     cencode.cpp
      [INFO    ]   [AR]      ../../debug/lib/httpserver/httpserver.a
      [INFO    ]   [RANLIB]  ../../debug/lib/httpserver/httpserver.a
      [INFO    ] gmake[1]: Leaving directory `lib/httpserver'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testhttpserver.cpp
      [INFO    ]   [LINK]    ../../debug/test/httpserver/test
      [INFO    ] cp _t ../../debug/test/httpserver/t
      [INFO    ] chmod u+x ../../debug/test/httpserver/t
      [INFO    ] cp _t-gdb ../../debug/test/httpserver/t-gdb
      [INFO    ] chmod u+x ../../debug/test/httpserver/t-gdb
      [INFO    ] TEST: test/httpserver
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] GET request...
      [INFO    ] POST request...
      [INFO    ] HEAD request...
      [INFO    ] Redirected GET request...
      [INFO    ] Cookie tests...
      [INFO    ] ERROR:   Failed to write to socket: Broken pipe (32)
      [INFO    ] NOTICE:  Running test httpserver in debug mode...
      [INFO    ] Starting server: ./test server testfiles/httpserver.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 16117): . done.
      [INFO    ] WARNING: Failed to open file: testfiles/nonexist: No such file or directory (2)
      [INFO    ] WARNING: Exception thrown: CommonException(OSFileOpenError) at FileStream.cpp(84)
      [INFO    ] Starting server: ./test s3server testfiles/s3simulator.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 16126): . done.
      [INFO    ] PASSED
      [INFO    ] --------
      [INFO    ] common: FAILED: 1 tests failed (first at testcommon.cpp:346)
      [INFO    ] crypto: PASSED
      [INFO    ] compress: PASSED
      [INFO    ] raidfile: FAILED: Exception caught: RaidFile OSError
      [INFO    ] basicserver: PASSED
      [INFO    ] backupstore: PASSED
      [INFO    ] backupstorefix: PASSED
      [INFO    ] backupstorepatch: PASSED
      [INFO    ] backupdiff: PASSED
      [INFO    ] bbackupd: FAILED: 4 tests failed (first at testbbackupd.cpp:1114)
      [INFO    ] httpserver: PASSED
      [INFO    ] One or more tests have failed. Please check the following common causes:
      [INFO    ] * Check that no instances of bbstored or bbackupd are already running
      [INFO    ]   on this machine.
      [INFO    ] * Make sure there isn't a firewall blocking incoming or outgoing connections
      [INFO    ]   on port 2201.
      [INFO    ] * Check that there is sufficient space in the filesystem that the tests
      [INFO    ]   are being run from (at least 1 GB free).
      [INFO    ] * The backupdiff test fails if it takes too long, so it's sensitive to
      [INFO    ]   the speed of the host and your connection to it.
      [INFO    ] After checking all the above, if you still have problems please contact
      [INFO    ] us on the mailing list, boxbackup at boxbackup.org. Thanks!
      [INFO    ] ==> Debug tests complete
      [INFO    ] ==> Debug tests permission cleanup
    Step:                tests-release
    Errors:              Executing perl failed (error code 1)
    Log:
      [INFO    ] ==> Release tests start
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testcommon.cpp
      [INFO    ]   [LINK]    ../../release/test/common/test
      [INFO    ] cp _t ../../release/test/common/t
      [INFO    ] chmod u+x ../../release/test/common/t
      [INFO    ] cp _t-gdb ../../release/test/common/t-gdb
      [INFO    ] chmod u+x ../../release/test/common/t-gdb
      [INFO    ] TEST: test/common
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] WARNING: Failed to open file: testfiles/tempfile: No such file or directory (2)
      [INFO    ] WARNING: Failed to open file: testfiles/tempfile: No such file or directory (2)
      [INFO    ] ERROR:   FileHandleGuard: failed to open file 'testfiles/DOESNTEXIST': No such file or directory (2)
      [INFO    ] ERROR:   Missing configuration key: not exist
      [INFO    ] ERROR:   Error verifying configuration: <root>.TOPlevel (key) is missing.
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Unexpected start block in test1
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Root level has close block -- forgot to terminate subblock?
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Block subconfig2 wasn't started correctly (no '{' on line of it's own)
      [INFO    ] Root level has close block -- forgot to terminate subblock?
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig2.bing (key) multi value not allowed (duplicated key?).
      [INFO    ] ERROR:   Error in Configuration::LoadInto: Invalid configuration key: = invalid thing here!
      [INFO    ] ERROR:   Error in Configuration::LoadInto: File ended without terminating all subblocks
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig.carrots (key) is missing.
      [INFO    ] ERROR:   Error verifying configuration: test1.subconfig3.NOTEXPECTED (key) is not a known key. Check spelling and placement.
      [INFO    ] ERROR:   Error verifying configuration: <root>.test1.otherthing (block) is missing.
      [INFO    ] ERROR:   Error verifying configuration: <root>.test1.* (block) is missing (a block must be present).
      [INFO    ] <root>.test1.otherthing (block) is missing.
      [INFO    ] ERROR:   Error verifying configuration: <root>.BoolTrue1 (key) is not a valid boolean value.
      [INFO    ] WARNING: Failed to open lockfile: testfiles/non-exist/lock
      [INFO    ] ERROR:   Invalid regular expression: [:not_valid: [ ] imbalance or syntax error
      [INFO    ] WARNING: Exclude entry ends in path separator, will never match: /foo/
      [INFO    ] WARNING: Exclude entry ends in path separator, will never match: /foo/
      [INFO    ] WARNING: Exclude entry ends in path separator, will never match: /foo/
      [INFO    ] NOTICE:  Running test common in release mode...
      [INFO    ] expected |First line| got |First line|
      [INFO    ] expected |Second line| got |Second line|
      [INFO    ] expected |Third| got |Third|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |sdf hjjk| got |sdf hjjk|
      [INFO    ] expected || got ||
      [INFO    ] expected |test| got |test|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected || got ||
      [INFO    ] expected |nice line| got |nice line|
      [INFO    ] expected |fish| got |fish|
      [INFO    ] expected || got ||
      [INFO    ] expected |ping| got |ping|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] expected |First line| got |First line|
      [INFO    ] expected |Second line| got |Second line|
      [INFO    ] expected |Third| got |Third|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |sdf hjjk| got |sdf hjjk|
      [INFO    ] expected || got ||
      [INFO    ] expected |test| got |test|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected |test#not comment| got |test#not comment|
      [INFO    ] expected || got ||
      [INFO    ] expected |nice line| got |nice line|
      [INFO    ] expected |fish| got |fish|
      [INFO    ] expected || got ||
      [INFO    ] expected |ping| got |ping|
      [INFO    ] expected || got ||
      [INFO    ] expected || got ||
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] expected |Nothing| got |Nothing|
      [INFO    ] (testfiles/config2.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.TOPlevel (key) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config3.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Unexpected start block in test1
      [INFO    ] ------
      [INFO    ] (testfiles/config4.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Root level has close block -- forgot to terminate subblock?
      [INFO    ] ------
      [INFO    ] (testfiles/config5.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Block subconfig2 wasn't started correctly (no '{' on line of it's own)
      [INFO    ] Root level has close block -- forgot to terminate subblock?
      [INFO    ] ------
      [INFO    ] (testfiles/config6.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig2.bing (key) multi value not allowed (duplicated key?).
      [INFO    ] ------
      [INFO    ] (testfiles/config7.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] Invalid configuration key: = invalid thing here!
      [INFO    ] ------
      [INFO    ] (testfiles/config8.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] File ended without terminating all subblocks
      [INFO    ] ------
      [INFO    ] (testfiles/config9.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config9b.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config9c.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig2.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config9d.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig3.carrots (key) is not a valid integer.
      [INFO    ] ------
      [INFO    ] (testfiles/config10.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig.carrots (key) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config11.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] test1.subconfig3.NOTEXPECTED (key) is not a known key. Check spelling and placement.
      [INFO    ] ------
      [INFO    ] (testfiles/config12.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.test1.otherthing (block) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config13.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.test1.* (block) is missing (a block must be present).
      [INFO    ] <root>.test1.otherthing (block) is missing.
      [INFO    ] ------
      [INFO    ] (testfiles/config16.txt) Error msg is:
      [INFO    ] ------
      [INFO    ] <root>.BoolTrue1 (key) is not a valid boolean value.
      [INFO    ] ------
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testcrypto.cpp
      [INFO    ]   [LINK]    ../../release/test/crypto/test
      [INFO    ] cp _t ../../release/test/crypto/t
      [INFO    ] chmod u+x ../../release/test/crypto/t
      [INFO    ] cp _t-gdb ../../release/test/crypto/t-gdb
      [INFO    ] chmod u+x ../../release/test/crypto/t-gdb
      [INFO    ] TEST: test/crypto
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/crypto/testfiles
      [INFO    ] NOTICE:  Running test crypto in release mode...
      [INFO    ] Blowfish...
      [INFO    ] AES...
      [INFO    ] Misc...
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testcompress.cpp
      [INFO    ]   [LINK]    ../../release/test/compress/test
      [INFO    ] cp _t ../../release/test/compress/t
      [INFO    ] chmod u+x ../../release/test/compress/t
      [INFO    ] cp _t-gdb ../../release/test/compress/t-gdb
      [INFO    ] chmod u+x ../../release/test/compress/t-gdb
      [INFO    ] TEST: test/compress
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/compress/testfiles
      [INFO    ] NOTICE:  Running test compress in release mode...
      [INFO    ] PASSED
      [INFO    ] gmake[1]: Entering directory `lib/intercept'
      [INFO    ]   [CXX]     intercept.cpp
      [INFO    ]   [AR]      ../../release/lib/intercept/intercept.a
      [INFO    ]   [RANLIB]  ../../release/lib/intercept/intercept.a
      [INFO    ] gmake[1]: Leaving directory `lib/intercept'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testraidfile.cpp
      [INFO    ]   [LINK]    ../../release/test/raidfile/test
      [INFO    ] cp _t ../../release/test/raidfile/t
      [INFO    ] chmod u+x ../../release/test/raidfile/t
      [INFO    ] cp _t-gdb ../../release/test/raidfile/t-gdb
      [INFO    ] chmod u+x ../../release/test/raidfile/t-gdb
      [INFO    ] TEST: test/raidfile
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] ERROR:   Attempted to delete object write1 which has 1 references
      [INFO    ] ERROR:   Attempted to modify object write1, which has no references
      [INFO    ] ERROR:   Attempted to modify object write1, which has 2 references
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [pread->Read(buffer, 1024) == 1024] failed at testraidfile.cpp:733
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [pread->Read(buffer, 512) == 512] failed at testraidfile.cpp:738
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.Read(testbuff, 256) == 256] failed at testraidfile.cpp:187
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [readstream3.GetPosition() == pos] failed at testraidfile.cpp:189
      [INFO    ] ERROR:   **** TEST FAILURE: Condition [::memcmp(((char*)data) + seekpos[p], testbuff, 256) == 0] failed at testraidfile.cpp:190
      [INFO    ] ERROR:   Expected raidfile doesnt-exist does not exist
      [INFO    ] ERROR:   Opening 0 damage in normal mode, but parity file doesn't exist
      [INFO    ] ERROR:   Attempting to open RAID file 0 damage in recovery mode (stripe 2 present)
      [INFO    ] ERROR:   Attempting to open RAID file 0 testdd in recovery mode (stripe 1 present)
      [INFO    ] WARNING: Exception thrown: RaidFileException(OSError) (Failed to read parity RaidFile: testfiles/0_2/testdd.rf: No such file or directory (2)) at RaidFileRead.cpp(1274)
      [INFO    ] NOTICE:  Running test raidfile in release mode...
      [INFO    ] FAILED: Exception caught: RaidFile OSError (Error when accessing an underlying file. Check file permissions allow files to be read and written in the configured raid directories.)
      [INFO    ]   [CXX]     TestCommands.cpp
      [INFO    ]   [CXX]     TestContext.cpp
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     autogen_TestProtocolClient.cpp
      [INFO    ]   [CXX]     autogen_TestProtocolServer.cpp
      [INFO    ]   [CXX]     testbasicserver.cpp
      [INFO    ]   [LINK]    ../../release/test/basicserver/test
      [INFO    ] cp _t ../../release/test/basicserver/t
      [INFO    ] chmod u+x ../../release/test/basicserver/t
      [INFO    ] cp _t-gdb ../../release/test/basicserver/t-gdb
      [INFO    ] chmod u+x ../../release/test/basicserver/t-gdb
      [INFO    ] TEST: test/basicserver
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] NOTICE:  Running test basicserver in release mode...
      [INFO    ] Starting server: ./test --test-daemon-args= srv1 testfiles/srv1.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 18674): . done.
      [INFO    ] Starting server: ./test --test-daemon-args= srv2 testfiles/srv2.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 18678): . done.
      [INFO    ] Starting server: ./test --test-daemon-args= srv3 testfiles/srv3.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Connected to 'SERVER'
      [INFO    ] Connected to 'SERVER'
      [INFO    ] Connected to 'SERVER'
      [INFO    ] Waiting for server to die (pid 18685): . done.
      [INFO    ] Starting server: ./test --test-daemon-args= srv4 testfiles/srv4.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] stream is fixed size
      [INFO    ] stream is uncertain size
      [INFO    ] stream is fixed size
      [INFO    ] stream is uncertain size
      [INFO    ] Waiting for server to die (pid 18692): . done.
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbackupstore.cpp
      [ERROR   ] testbackupstore.cpp: In function `void test_everything_deleted(BackupProtocolClient&, int64_t)':
      [ERROR   ] testbackupstore.cpp:440: warning: long long unsigned int format, int64_t arg (arg 2)
      [ERROR   ] testbackupstore.cpp: In function `void set_refcount(int64_t, uint32_t)':
      [ERROR   ] testbackupstore.cpp:481: warning: comparison between signed and unsigned integer expressions
      [ERROR   ] testbackupstore.cpp: In function `int64_t create_test_data_subdirs(BackupProtocolClient&, int64_t, const char*, int, BackupStoreRefCountDatabase&)':
      [ERROR   ] testbackupstore.cpp:524: warning: long long unsigned int format, int64_t arg (arg 3)
      [INFO    ]   [LINK]    ../../release/test/backupstore/test
      [INFO    ] cp _t ../../release/test/backupstore/t
      [INFO    ] chmod u+x ../../release/test/backupstore/t
      [INFO    ] cp _t-gdb ../../release/test/backupstore/t-gdb
      [INFO    ] chmod u+x ../../release/test/backupstore/t-gdb
      [INFO    ] TEST: test/backupstore
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] WARNING: Login command failed: received error BadLogin = 3
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] WARNING: Reference count of object 0x1 not found in database, added with 1 references
      [INFO    ] WARNING: Login command failed: received error CannotLockStoreForWriting = 4
      [INFO    ] WARNING: GetFile command failed: received error DoesNotExistInDirectory = 13
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 1 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 2 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 3 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 4 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 5 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 6 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 7 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 8 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 9 (of which old files: 0, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 10 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 11 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 12 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 13 (of which old files: 1, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 14 (of which old files: 2, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 15 (of which old files: 3, deleted files: 0), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 15 (of which old files: 3, deleted files: 2), directories: 1
      [INFO    ] NOTICE:  Finished checking store account ID 0x01234567: no errors found
      [INFO    ] WARNING: MoveObject command failed: received error DoesNotExist = 7
      [INFO    ] WARNING: MoveObject command failed: received error TargetNameExists = 10
      [INFO    ] NOTICE:  Running test backupstore in release mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored  testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] testfiles/test0
      [INFO    ] testfiles/test1
      [INFO    ] testfiles/test2
      [INFO    ] testfiles/test3
      [INFO    ] testfiles/test4
      [INFO    ] testfiles/test5
      [INFO    ] testfiles/test6
      [INFO    ] testfiles/test7
      [INFO    ] testfiles/test8
      [INFO    ] testfiles/test9
      [INFO    ] testfiles/testa
      [INFO    ] testfiles/testb
      [INFO    ] testfiles/testc
      [INFO    ] testfiles/testd
      [INFO    ] 0
      [INFO    ] 1
      [INFO    ] 2
      [INFO    ] 3
      [INFO    ] 4
      [INFO    ] 5
      [INFO    ] 6
      [INFO    ] 7
      [INFO    ] 8
      [INFO    ] 9
      [INFO    ] 10
      [INFO    ] 11
      [INFO    ] 12
      [INFO    ] 13
      [INFO    ] ==== Reading directory using read-only connection
      [INFO    ] done.
      [INFO    ] ==== Checking upload using read-only connection
      [INFO    ] done.
      [INFO    ] Create subdirs, depth = 6, dirid = 16
      [INFO    ] Create subdirs, depth = 5, dirid = 17
      [INFO    ] Create subdirs, depth = 4, dirid = 18
      [INFO    ] Create subdirs, depth = 3, dirid = 19
      [INFO    ] Create subdirs, depth = 2, dirid = 1a
      [INFO    ] Create subdirs, depth = 1, dirid = 1b
      [INFO    ] Create subdirs, depth = 0, dirid = 1c
      [INFO    ] Create subdirs, depth = 0, dirid = 20
      [INFO    ] Create subdirs, depth = 1, dirid = 27
      [INFO    ] Create subdirs, depth = 0, dirid = 28
      [INFO    ] Create subdirs, depth = 0, dirid = 2c
      [INFO    ] Create subdirs, depth = 2, dirid = 36
      [INFO    ] Create subdirs, depth = 1, dirid = 37
      [INFO    ] Create subdirs, depth = 0, dirid = 38
      [INFO    ] Create subdirs, depth = 0, dirid = 3c
      [INFO    ] Create subdirs, depth = 1, dirid = 43
      [INFO    ] Create subdirs, depth = 0, dirid = 44
      [INFO    ] Create subdirs, depth = 0, dirid = 48
      [INFO    ] Create subdirs, depth = 3, dirid = 55
      [INFO    ] Create subdirs, depth = 2, dirid = 56
      [INFO    ] Create subdirs, depth = 1, dirid = 57
      [INFO    ] Create subdirs, depth = 0, dirid = 58
      [INFO    ] Create subdirs, depth = 0, dirid = 5c
      [INFO    ] Create subdirs, depth = 1, dirid = 63
      [INFO    ] Create subdirs, depth = 0, dirid = 64
      [INFO    ] Create subdirs, depth = 0, dirid = 68
      [INFO    ] Create subdirs, depth = 2, dirid = 72
      [INFO    ] Create subdirs, depth = 1, dirid = 73
      [INFO    ] Create subdirs, depth = 0, dirid = 74
      [INFO    ] Create subdirs, depth = 0, dirid = 78
      [INFO    ] Create subdirs, depth = 1, dirid = 7f
      [INFO    ] Create subdirs, depth = 0, dirid = 80
      [INFO    ] Create subdirs, depth = 0, dirid = 84
      [INFO    ] Create subdirs, depth = 4, dirid = 94
      [INFO    ] Create subdirs, depth = 3, dirid = 95
      [INFO    ] Create subdirs, depth = 2, dirid = 96
      [INFO    ] Create subdirs, depth = 1, dirid = 97
      [INFO    ] Create subdirs, depth = 0, dirid = 98
      [INFO    ] Create subdirs, depth = 0, dirid = 9c
      [INFO    ] Create subdirs, depth = 1, dirid = a3
      [INFO    ] Create subdirs, depth = 0, dirid = a4
      [INFO    ] Create subdirs, depth = 0, dirid = a8
      [INFO    ] Create subdirs, depth = 2, dirid = b2
      [INFO    ] Create subdirs, depth = 1, dirid = b3
      [INFO    ] Create subdirs, depth = 0, dirid = b4
      [INFO    ] Create subdirs, depth = 0, dirid = b8
      [INFO    ] Create subdirs, depth = 1, dirid = bf
      [INFO    ] Create subdirs, depth = 0, dirid = c0
      [INFO    ] Create subdirs, depth = 0, dirid = c4
      [INFO    ] Create subdirs, depth = 3, dirid = d1
      [INFO    ] Create subdirs, depth = 2, dirid = d2
      [INFO    ] Create subdirs, depth = 1, dirid = d3
      [INFO    ] Create subdirs, depth = 0, dirid = d4
      [INFO    ] Create subdirs, depth = 0, dirid = d8
      [INFO    ] Create subdirs, depth = 1, dirid = df
      [INFO    ] Create subdirs, depth = 0, dirid = e0
      [INFO    ] Create subdirs, depth = 0, dirid = e4
      [INFO    ] Create subdirs, depth = 2, dirid = ee
      [INFO    ] Create subdirs, depth = 1, dirid = ef
      [INFO    ] Create subdirs, depth = 0, dirid = f0
      [INFO    ] Create subdirs, depth = 0, dirid = f4
      [INFO    ] Create subdirs, depth = 1, dirid = fb
      [INFO    ] Create subdirs, depth = 0, dirid = fc
      [INFO    ] Create subdirs, depth = 0, dirid = 100
      [INFO    ] Create subdirs, depth = 5, dirid = 113
      [INFO    ] Create subdirs, depth = 4, dirid = 114
      [INFO    ] Create subdirs, depth = 3, dirid = 115
      [INFO    ] Create subdirs, depth = 2, dirid = 116
      [INFO    ] Create subdirs, depth = 1, dirid = 117
      [INFO    ] Create subdirs, depth = 0, dirid = 118
      [INFO    ] Create subdirs, depth = 0, dirid = 11c
      [INFO    ] Create subdirs, depth = 1, dirid = 123
      [INFO    ] Create subdirs, depth = 0, dirid = 124
      [INFO    ] Create subdirs, depth = 0, dirid = 128
      [INFO    ] Create subdirs, depth = 2, dirid = 132
      [INFO    ] Create subdirs, depth = 1, dirid = 133
      [INFO    ] Create subdirs, depth = 0, dirid = 134
      [INFO    ] Create subdirs, depth = 0, dirid = 138
      [INFO    ] Create subdirs, depth = 1, dirid = 13f
      [INFO    ] Create subdirs, depth = 0, dirid = 140
      [INFO    ] Create subdirs, depth = 0, dirid = 144
      [INFO    ] Create subdirs, depth = 3, dirid = 151
      [INFO    ] Create subdirs, depth = 2, dirid = 152
      [INFO    ] Create subdirs, depth = 1, dirid = 153
      [INFO    ] Create subdirs, depth = 0, dirid = 154
      [INFO    ] Create subdirs, depth = 0, dirid = 158
      [INFO    ] Create subdirs, depth = 1, dirid = 15f
      [INFO    ] Create subdirs, depth = 0, dirid = 160
      [INFO    ] Create subdirs, depth = 0, dirid = 164
      [INFO    ] Create subdirs, depth = 2, dirid = 16e
      [INFO    ] Create subdirs, depth = 1, dirid = 16f
      [INFO    ] Create subdirs, depth = 0, dirid = 170
      [INFO    ] Create subdirs, depth = 0, dirid = 174
      [INFO    ] Create subdirs, depth = 1, dirid = 17b
      [INFO    ] Create subdirs, depth = 0, dirid = 17c
      [INFO    ] Create subdirs, depth = 0, dirid = 180
      [INFO    ] Create subdirs, depth = 4, dirid = 190
      [INFO    ] Create subdirs, depth = 3, dirid = 191
      [INFO    ] Create subdirs, depth = 2, dirid = 192
      [INFO    ] Create subdirs, depth = 1, dirid = 193
      [INFO    ] Create subdirs, depth = 0, dirid = 194
      [INFO    ] Create subdirs, depth = 0, dirid = 198
      [INFO    ] Create subdirs, depth = 1, dirid = 19f
      [INFO    ] Create subdirs, depth = 0, dirid = 1a0
      [INFO    ] Create subdirs, depth = 0, dirid = 1a4
      [INFO    ] Create subdirs, depth = 2, dirid = 1ae
      [INFO    ] Create subdirs, depth = 1, dirid = 1af
      [INFO    ] Create subdirs, depth = 0, dirid = 1b0
      [INFO    ] Create subdirs, depth = 0, dirid = 1b4
      [INFO    ] Create subdirs, depth = 1, dirid = 1bb
      [INFO    ] Create subdirs, depth = 0, dirid = 1bc
      [INFO    ] Create subdirs, depth = 0, dirid = 1c0
      [INFO    ] Create subdirs, depth = 3, dirid = 1cd
      [INFO    ] Create subdirs, depth = 2, dirid = 1ce
      [INFO    ] Create subdirs, depth = 1, dirid = 1cf
      [INFO    ] Create subdirs, depth = 0, dirid = 1d0
      [INFO    ] Create subdirs, depth = 0, dirid = 1d4
      [INFO    ] Create subdirs, depth = 1, dirid = 1db
      [INFO    ] Create subdirs, depth = 0, dirid = 1dc
      [INFO    ] Create subdiWARNING: Failed to lock account for housekeeping, still trying...
      [INFO    ] WARNING: Failed to open file: testfiles/0_0/backup/01234567/refcount.db.rfw: No such file or directory (2)
      [INFO    ] WARNING: Exception thrown: CommonException(OSFileOpenError) at FileStream.cpp(84)
      [INFO    ] WARNING: Reference count database is missing or corrupted during housekeeping, creating a new one.
      [INFO    ] rs, depth = 0, dirid = 1e0
      [INFO    ] Create subdirs, depth = 2, dirid = 1ea
      [INFO    ] Create subdirs, depth = 1, dirid = 1eb
      [INFO    ] Create subdirs, depth = 0, dirid = 1ec
      [INFO    ] Create subdirs, depth = 0, dirid = 1f0
      [INFO    ] Create subdirs, depth = 1, dirid = 1f7
      [INFO    ] Create subdirs, depth = 0, dirid = 1f8
      [INFO    ] Create subdirs, depth = 0, dirid = 1fc
      [INFO    ] Test for del: 16
      [INFO    ] Test for del: 17
      [INFO    ] Test for del: 18
      [INFO    ] Test for del: 19
      [INFO    ] Test for del: 1a
      [INFO    ] Test for del: 1b
      [INFO    ] Test for del: 1c
      [INFO    ] Test for del: 20
      [INFO    ] Test for del: 27
      [INFO    ] Test for del: 28
      [INFO    ] Test for del: 2c
      [INFO    ] Test for del: 36
      [INFO    ] Test for del: 37
      [INFO    ] Test for del: 38
      [INFO    ] Test for del: 3c
      [INFO    ] Test for del: 43
      [INFO    ] Test for del: 44
      [INFO    ] Test for del: 48
      [INFO    ] Test for del: 55
      [INFO    ] Test for del: 56
      [INFO    ] Test for del: 57
      [INFO    ] Test for del: 58
      [INFO    ] Test for del: 5c
      [INFO    ] Test for del: 63
      [INFO    ] Test for del: 64
      [INFO    ] Test for del: 68
      [INFO    ] Test for del: 72
      [INFO    ] Test for del: 73
      [INFO    ] Test for del: 74
      [INFO    ] Test for del: 78
      [INFO    ] Test for del: 7f
      [INFO    ] Test for del: 80
      [INFO    ] Test for del: 84
      [INFO    ] Test for del: 94
      [INFO    ] Test for del: 95
      [INFO    ] Test for del: 96
      [INFO    ] Test for del: 97
      [INFO    ] Test for del: 98
      [INFO    ] Test for del: 9c
      [INFO    ] Test for del: a3
      [INFO    ] Test for del: a4
      [INFO    ] Test for del: a8
      [INFO    ] Test for del: b2
      [INFO    ] Test for del: b3
      [INFO    ] Test for del: b4
      [INFO    ] Test for del: b8
      [INFO    ] Test for del: bf
      [INFO    ] Test for del: c0
      [INFO    ] Test for del: c4
      [INFO    ] Test for del: d1
      [INFO    ] Test for del: d2
      [INFO    ] Test for del: d3
      [INFO    ] Test for del: d4
      [INFO    ] Test for del: d8
      [INFO    ] Test for del: df
      [INFO    ] Test for del: e0
      [INFO    ] Test for del: e4
      [INFO    ] Test for del: ee
      [INFO    ] Test for del: ef
      [INFO    ] Test for del: f0
      [INFO    ] Test for del: f4
      [INFO    ] Test for del: fb
      [INFO    ] Test for del: fc
      [INFO    ] Test for del: 100
      [INFO    ] Test for del: 113
      [INFO    ] Test for del: 114
      [INFO    ] Test for del: 115
      [INFO    ] Test for del: 116
      [INFO    ] Test for del: 117
      [INFO    ] Test for del: 118
      [INFO    ] Test for del: 11c
      [INFO    ] Test for del: 123
      [INFO    ] Test for del: 124
      [INFO    ] Test for del: 128
      [INFO    ] Test for del: 132
      [INFO    ] Test for del: 133
      [INFO    ] Test for del: 134
      [INFO    ] Test for del: 138
      [INFO    ] Test for del: 13f
      [INFO    ] Test for del: 140
      [INFO    ] Test for del: 144
      [INFO    ] Test for del: 151
      [INFO    ] Test for del: 152
      [INFO    ] Test for del: 153
      [INFO    ] Test for del: 154
      [INFO    ] Test for del: 158
      [INFO    ] Test for del: 15f
      [INFO    ] Test for del: 160
      [INFO    ] Test for del: 164
      [INFO    ] Test for del: 16e
      [INFO    ] Test for del: 16f
      [INFO    ] Test for del: 170
      [INFO    ] Test for del: 174
      [INFO    ] Test for del: 17b
      [INFO    ] Test for del: 17c
      [INFO    ] Test for del: 180
      [INFO    ] Test for del: 190
      [INFO    ] Test for del: 191
      [INFO    ] Test for del: 192
      [INFO    ] Test for del: 193
      [INFO    ] Test for del: 194
      [INFO    ] Test for del: 198
      [INFO    ] Test for del: 19f
      [INFO    ] Test for del: 1a0
      [INFO    ] Test for del: 1a4
      [INFO    ] Test for del: 1ae
      [INFO    ] Test for del: 1af
      [INFO    ] Test for del: 1b0
      [INFO    ] Test for del: 1b4
      [INFO    ] Test for del: 1bb
      [INFO    ] Test for del: 1bc
      [INFO    ] Test for del: 1c0
      [INFO    ] Test for del: 1cd
      [INFO    ] Test for del: 1ce
      [INFO    ] Test for del: 1cf
      [INFO    ] Test for del: 1d0
      [INFO    ] Test for del: 1d4
      [INFO    ] Test for del: 1db
      [INFO    ] Test for del: 1dc
      [INFO    ] Test for del: 1e0
      [INFO    ] Test for del: 1ea
      [INFO    ] Test for del: 1eb
      [INFO    ] Test for del: 1ec
      [INFO    ] Test for del: 1f0
      [INFO    ] Test for del: 1f7
      [INFO    ] Test for del: 1f8
      [INFO    ] Test for del: 1fc
      [INFO    ] Waiting for server to die (pid 18759): . done.
      [INFO    ] NOTICE:  Limits on account 0x01234567 changed to 10 soft, 20000 hard.
      [INFO    ] Starting server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] waiting for housekeeping:
      [INFO    ] ..............................NOTICE:  Limits on account 0x01234567 changed to 10 soft, 20 hard.
      [INFO    ] WARNING: StoreFile command failed: received error StorageLimitExceeded = 11
      [INFO    ] WARNING: CreateDirectory command failed: received error StorageLimitExceeded = 11
      [INFO    ] Waiting for server to die (pid 18828): . done.
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbackupstorefix.cpp
      [INFO    ]   [LINK]    ../../release/test/backupstorefix/test
      [INFO    ] cp _t ../../release/test/backupstorefix/t
      [INFO    ] chmod u+x ../../release/test/backupstorefix/t
      [INFO    ] cp _t-gdb ../../release/test/backupstorefix/t-gdb
      [INFO    ] chmod u+x ../../release/test/backupstorefix/t-gdb
      [INFO    ] TEST: test/backupstorefix
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] NOTICE:  Running test backupstorefix in release mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
      [INFO    ] Waiting for server to start: . done.
      [INFO    ] Starting server: ../../bin/bbackupd/bbackupd  testfiles/bbackupd.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 18918): . done.
      [INFO    ] WARNING: Spurious file backup/01234567/randomfile found
      [INFO    ] ERROR:   Expected raidfile backup/01234567/info does not exist
      [INFO    ] WARNING: Exception thrown: RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1029)
      [INFO    ] WARNING: Load of existing store info failed, regenerating.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 2 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 114 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] WARNING: Spurious file backup/01234567/randomfile found, deleting
      [INFO    ] ERROR:   Expected raidfile backup/01234567/info does not exist
      [INFO    ] WARNING: Exception thrown: RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1029)
      [INFO    ] WARNING: Load of existing store info failed, regenerating.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 2 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 114 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Object 0x8a is unattached.
      [INFO    ] WARNING: Object 0x8a is unattached, and is a patch. Deleting, cannot reliably recover.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 228 to 226
      [INFO    ] WARNING: NumFiles changed from 114 to 113
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 3 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 113 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] WARNING: Object 0x8a is unattached.
      [INFO    ] WARNING: Object 0x8a is unattached, and is a patch. Deleting, cannot reliably recover.
      [INFO    ] WARNING: Soft limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: Hard limit for account changed to ensure housekeeping doesn't delete files on next run.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 228 to 226
      [INFO    ] WARNING: NumFiles changed from 114 to 113
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 3 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 113 (of which old files: 0, deleted files: 0), directories: 28
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Directory ID 0x5 has wrong container ID.
      [INFO    ] WARNING: Directory ID 0x16 references object 0x7e which does not exist.
      [INFO    ] WARNING: Directory ID 0x17 has bad structure
      [INFO    ] WARNING: Directory ID 0x17 has wrong size for object 0x82
      [INFO    ] WARNING: Object 0x42 is unattached.
      [INFO    ] WARNING: Missing directory 0x9 could be recreated.
      [INFO    ] WARNING: Object 0x43 is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 284 to 278
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 226 to 220
      [INFO    ] WARNING: BlocksInDirectories changed from 56 to 54
      [INFO    ] WARNING: NumFiles changed from 113 to 110
      [INFO    ] WARNING: NumDirectories changed from 28 to 27
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 9 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] TRACE:   Entry 0x83: Remove because ID already seen
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 110 (of which old files: 0, deleted files: 0), directories: 27
      [INFO    ] WARNING: Directory ID 0x5 has wrong container ID.
      [INFO    ] WARNING: Directory ID 0x16 references object 0x7e which does not exist.
      [INFO    ] WARNING: Fixing directory ID 0x16
      [INFO    ] WARNING: Directory ID 0x17 has bad structure
      [INFO    ] WARNING: Directory ID 0x17 has wrong size for object 0x82
      [INFO    ] WARNING: Fixing directory ID 0x17
      [INFO    ] WARNING: Object 0x42 is unattached.
      [INFO    ] WARNING: Recreating missing directory 0x9
      [INFO    ] WARNING: Object 0x43 is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 284 to 278
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 226 to 220
      [INFO    ] WARNING: BlocksInDirectories changed from 56 to 54
      [INFO    ] WARNING: NumFiles changed from 113 to 110
      [INFO    ] WARNING: NumDirectories changed from 28 to 27
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 9 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] TRACE:   Entry 0x83: Remove because ID already seen
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 110 (of which old files: 0, deleted files: 0), directories: 27
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Corrupted file backup/01234567/o05 found
      [INFO    ] WARNING: Directory ID 0xe references object 0x4d which is already contained.
      [INFO    ] WARNING: Object 0x31 is unattached.
      [INFO    ] WARNING: Missing directory 0x5 could be recreated.
      [INFO    ] WARNING: Object 0x32 is unattached.
      [INFO    ] WARNING: Object 0x33 is unattached.
      [INFO    ] WARNING: Object 0x34 is unattached.
      [INFO    ] WARNING: Object 0x35 is unattached.
      [INFO    ] WARNING: Object 0x36 is unattached.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 220 to 212
      [INFO    ] WARNING: NumFiles changed from 110 to 106
      [INFO    ] WARNING: NumDirectories changed from 27 to 26
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 11 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 106 (of which old files: 0, deleted files: 0), directories: 26
      [INFO    ] WARNING: Corrupted file backup/01234567/o05 found, deleting
      [INFO    ] WARNING: Directory ID 0xe references object 0x4d which is already contained.
      [INFO    ] WARNING: Fixing directory ID 0xe
      [INFO    ] WARNING: Object 0x31 is unattached.
      [INFO    ] WARNING: Recreating missing directory 0x5
      [INFO    ] WARNING: Object 0x32 is unattached.
      [INFO    ] WARNING: Object 0x33 is unattached.
      [INFO    ] WARNING: Object 0x34 is unattached.
      [INFO    ] WARNING: Object 0x35 is unattached.
      [INFO    ] WARNING: Object 0x36 is unattached.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 220 to 212
      [INFO    ] WARNING: NumFiles changed from 110 to 106
      [INFO    ] WARNING: NumDirectories changed from 27 to 26
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 11 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 106 (of which old files: 0, deleted files: 0), directories: 26
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: Object 0x1c is unattached.
      [INFO    ] WARNING: Object 0x8d is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 278 to 274
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 212 to 222
      [INFO    ] WARNING: BlocksInDirectories changed from 54 to 50
      [INFO    ] WARNING: NumFiles changed from 106 to 111
      [INFO    ] WARNING: NumDirectories changed from 26 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 7 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] WARNING: Object 0x1c is unattached.
      [INFO    ] WARNING: Lost and found dir has name lost+found0
      [INFO    ] WARNING: Object 0x8d is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 278 to 276
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 212 to 222
      [INFO    ] WARNING: BlocksInDirectories changed from 54 to 52
      [INFO    ] WARNING: NumFiles changed from 106 to 111
      [INFO    ] WARNING: NumDirectories changed from 26 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 7 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] WARNING: A lost+found directory was created in the account root.
      [INFO    ] This contains files and directories which could not be matched to existing directories.
      [INFO    ] bbackupd will delete this directory in a few days time.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: Corrupted file backup/01234567/o15 found
      [INFO    ] WARNING: Exception thrown: BackupStoreException(CouldntReadEntireStructureFromStream) at BackupStoreFilename.cpp(191)
      [INFO    ] WARNING: Corrupted file backup/01234567/o2c found
      [INFO    ] WARNING: Directory ID 0x4 references object 0x2c which does not exist.
      [INFO    ] WARNING: Directory ID 0x1c has wrong container ID.
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Object 0x79 is unattached.
      [INFO    ] WARNING: Missing directory 0x15 could be recreated.
      [INFO    ] WARNING: Object 0x7a is unattached.
      [INFO    ] WARNING: Object 0x7b is unattached.
      [INFO    ] WARNING: LastObjectIDUsed changed from 142 to 143
      [INFO    ] WARNING: BlocksUsed changed from 276 to 274
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 222 to 216
      [INFO    ] WARNING: BlocksInDirectories changed from 52 to 50
      [INFO    ] WARNING: NumFiles changed from 111 to 108
      [INFO    ] WARNING: NumDirectories changed from 24 to 25
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 12 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 108 (of which old files: 0, deleted files: 0), directories: 25
      [INFO    ] WARNING: Corrupted file backup/01234567/o15 found, deleting
      [INFO    ] WARNING: Exception thrown: BackupStoreException(CouldntReadEntireStructureFromStream) at BackupStoreFilename.cpp(191)
      [INFO    ] WARNING: Corrupted file backup/01234567/o2c found, deleting
      [INFO    ] WARNING: Directory ID 0x4 references object 0x2c which does not exist.
      [INFO    ] WARNING: Fixing directory ID 0x4
      [INFO    ] WARNING: Directory ID 0x1c has wrong container ID.
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Object 0x79 is unattached.
      [INFO    ] WARNING: Recreating missing directory 0x15
      [INFO    ] WARNING: Object 0x7a is unattached.
      [INFO    ] WARNING: Object 0x7b is unattached.
      [INFO    ] WARNING: LastObjectIDUsed changed from 142 to 143
      [INFO    ] WARNING: BlocksUsed changed from 276 to 274
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 222 to 216
      [INFO    ] WARNING: BlocksInDirectories changed from 52 to 50
      [INFO    ] WARNING: NumFiles changed from 111 to 108
      [INFO    ] WARNING: NumDirectories changed from 24 to 25
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 12 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 108 (of which old files: 0, deleted files: 0), directories: 25
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] ERROR:   Have file as root directory. This is bad.
      [INFO    ] WARNING: Corrupted file backup/01234567/o01 found
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Root directory doesn't exist
      [INFO    ] WARNING: Object 0x2 is unattached.
      [INFO    ] WARNING: Object 0x8f is unattached.
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 216 to 222
      [INFO    ] WARNING: NumFiles changed from 108 to 111
      [INFO    ] WARNING: NumDirectories changed from 25 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 7 errors found
      [INFO    ] WARNING: No changes to the store account have been made.
      [INFO    ] WARNING: Run again with fix option to fix these errors
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] ERROR:   Have file as root directory. This is bad.
      [INFO    ] WARNING: Corrupted file backup/01234567/o01 found, deleting
      [INFO    ] WARNING: File ID 0x8d has different container ID, probably moved
      [INFO    ] WARNING: Root directory doesn't exist
      [INFO    ] WARNING: Object 0x2 is unattached.
      [INFO    ] WARNING: Lost and found dir has name lost+found0
      [INFO    ] WARNING: Object 0x8f is unattached.
      [INFO    ] WARNING: BlocksUsed changed from 274 to 278
      [INFO    ] WARNING: BlocksInCurrentFiles changed from 216 to 222
      [INFO    ] WARNING: BlocksInDirectories changed from 50 to 54
      [INFO    ] WARNING: NumFiles changed from 108 to 111
      [INFO    ] WARNING: NumDirectories changed from 25 to 24
      [INFO    ] WARNING: Finished checking store account ID 0x01234567: 9 errors found
      [INFO    ] WARNING: You should now use bbackupquery on the client machine to examine the store.
      [INFO    ] WARNING: A lost+found directory was created in the account root.
      [INFO    ] This contains files and directories which could not be matched to existing directories.
      [INFO    ] bbackupd will delete this directory in a few days time.
      [INFO    ] NOTICE:  Will fix errors encountered during checking.
      [INFO    ] INFO:    Checking store account ID 0x01234567...
      [INFO    ] INFO:    Phase 1, check objects...
      [INFO    ] TRACE:   Max dir starting ID is 0
      [INFO    ] INFO:    Phase 2, check directories...
      [INFO    ] INFO:    Phase 3, check root...
      [INFO    ] INFO:    Phase 4, fix unattached objects...
      [INFO    ] INFO:    Phase 5, fix unrecovered inconsistencies...
      [INFO    ] INFO:    Phase 6, regenerate store info...
      [INFO    ] NOTICE:  Total files: 111 (of which old files: 0, deleted files: 0), directories: 24
      [INFO    ] NOTICE:  New store info file written successfully.
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ] WARNING: **** BackupStoreFilename encoded with Clear encoding ****
      [INFO    ]   === Delete store info, add random file
      [INFO    ]   === Delete an entry for an object from dir, change that object to be a patch, check it's deleted
      [INFO    ]   === Delete directory, change container ID of another, duplicate entry in dir, spurious file size, delete file
      [INFO    ]   === Modify the obj ID of dir, delete dir with no members, add extra reference to a file
      [INFO    ]   === Orphan files and dirs without being recoverable
      [INFO    ]   === Corrupt file and dir
      [INFO    ]   === Overwrite root with a file
      [INFO    ] Waiting for server to die (pid 18911): . done.
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbackupstorepatch.cpp
      [ERROR   ] testbackupstorepatch.cpp: In function `int test(int, const char**)':
      [ERROR   ] testbackupstorepatch.cpp:425: warning: long long int format, int64_t arg (arg 2)
      [ERROR   ] testbackupstorepatch.cpp:498: warning: unused variable 'startDisc'
      [INFO    ]   [LINK]    ../../release/test/backupstorepatch/test
      [INFO    ] cp _t ../../release/test/backupstorepatch/t
      [INFO    ] chmod u+x ../../release/test/backupstorepatch/t
      [INFO    ] cp _t-gdb ../../release/test/backupstorepatch/t-gdb
      [INFO    ] chmod u+x ../../release/test/backupstorepatch/t-gdb
      [INFO    ] TEST: test/backupstorepatch
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/backupstorepatch/testfiles
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] NOTICE:  Running test backupstorepatch in release mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] ID 3, completely different: no
      [INFO    ] ID 4, completely different: no
      [INFO    ] ID 5, completely different: no
      [INFO    ] ID 6, completely different: no
      [INFO    ] ID 7, completely different: no
      [INFO    ] ID 8, completely different: yes
      [INFO    ] ID 9, completely different: no
      [INFO    ] ID 10, completely different: no
      [INFO    ] ID 11, completely different: no
      [INFO    ] r=0, f=0
      [INFO    ] r=0, f=1
      [INFO    ] r=0, f=2
      [INFO    ] r=0, f=3
      [INFO    ] r=0, f=4
      [INFO    ] r=0, f=5
      [INFO    ] r=0, f=6
      [INFO    ] r=0, f=7
      [INFO    ] r=0, f=8
      [INFO    ] r=0, f=9
      [INFO    ] ....
      [INFO    ] r=1, f=0
      [INFO    ] r=1, f=1
      [INFO    ] r=1, f=2
      [INFO    ] r=1, f=3
      [INFO    ] r=1, f=4
      [INFO    ] r=1, f=5
      [INFO    ] r=1, f=6
      [INFO    ] r=1, f=7
      [INFO    ] r=1, f=8
      [INFO    ] r=1, f=9
      [INFO    ] ....
      [INFO    ] r=2, f=0
      [INFO    ] r=2, f=1
      [INFO    ] r=2, f=2
      [INFO    ] r=2, f=3
      [INFO    ] r=2, f=4
      [INFO    ] r=2, f=5
      [INFO    ] r=2, f=6
      [INFO    ] r=2, f=7
      [INFO    ] r=2, f=8
      [INFO    ] r=2, f=9
      [INFO    ] ....
      [INFO    ] r=3, f=0
      [INFO    ] r=3, f=1
      [INFO    ] r=3, f=2
      [INFO    ] r=3, f=3
      [INFO    ] r=3, f=4
      [INFO    ] r=3, f=5
      [INFO    ] r=3, f=6
      [INFO    ] r=3, f=7
      [INFO    ] r=3, f=8
      [INFO    ] r=3, f=9
      [INFO    ] ....
      [INFO    ] r=4, f=0
      [INFO    ] r=4, f=1
      [INFO    ] r=4, f=2
      [INFO    ] r=4, f=3
      [INFO    ] r=4, f=4
      [INFO    ] r=4, f=5
      [INFO    ] r=4, f=6
      [INFO    ] r=4, f=7
      [INFO    ] r=4, f=8
      [INFO    ] r=4, f=9
      [INFO    ] ....
      [INFO    ] r=5, f=0
      [INFO    ] r=5, f=1
      [INFO    ] r=5, f=2
      [INFO    ] r=5, f=3
      [INFO    ] r=5, f=4
      [INFO    ] r=5, f=5
      [INFO    ] r=5, f=6
      [INFO    ] r=5, f=7
      [INFO    ] r=5, f=8
      [INFO    ] r=5, f=9
      [INFO    ] ....
      [INFO    ] r=6, f=0
      [INFO    ] r=6, f=1
      [INFO    ] r=6, f=2
      [INFO    ] r=6, f=3
      [INFO    ] r=6, f=4
      [INFO    ] r=6, f=5
      [INFO    ] r=6, f=6
      [INFO    ] r=6, f=7
      [INFO    ] r=6, f=8
      [INFO    ] r=6, f=9
      [INFO    ] ....
      [INFO    ] r=7, f=0
      [INFO    ] r=7, f=1
      [INFO    ] r=7, f=2
      [INFO    ] r=7, f=3
      [INFO    ] r=7, f=4
      [INFO    ] r=7, f=5
      [INFO    ] r=7, f=6
      [INFO    ] r=7, f=7
      [INFO    ] r=7, f=8
      [INFO    ] r=7, f=9
      [INFO    ] Waiting for server to die (pid 19079): . done.
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     difftestfiles.cpp
      [INFO    ]   [CXX]     testbackupdiff.cpp
      [INFO    ]   [LINK]    ../../release/test/backupdiff/test
      [INFO    ] cp _t ../../release/test/backupdiff/t
      [INFO    ] chmod u+x ../../release/test/backupdiff/t
      [INFO    ] cp _t-gdb ../../release/test/backupdiff/t-gdb
      [INFO    ] chmod u+x ../../release/test/backupdiff/t-gdb
      [INFO    ] TEST: test/backupdiff
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] cp: cannot access ../../../test/backupdiff/testfiles
      [INFO    ] NOTICE:  Running test backupdiff in release mode...
      [INFO    ] Time taken: 2 seconds
      [INFO    ] PASSED
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testbbackupd.cpp
      [INFO    ]   [LINK]    ../../release/test/bbackupd/test
      [INFO    ] cp _t ../../release/test/bbackupd/t
      [INFO    ] chmod u+x ../../release/test/bbackupd/t
      [INFO    ] cp _t-gdb ../../release/test/bbackupd/t-gdb
      [INFO    ] chmod u+x ../../release/test/bbackupd/t-gdb
      [INFO    ] TEST: test/bbackupd
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] ERROR:   Failed to stat file: 'doesn't exist': No such file or directory (2)
      [INFO    ] ERROR:   Failed to change permissions of file 'testfiles/test1_nXX': No such file or directory (2)
      [INFO    ] NOTICE:  Account 0x01234567 created.
      [INFO    ] NOTICE:  Running test bbackupd in release mode...
      [INFO    ] Starting server: ../../bin/bbstored/bbstored  testfiles/bbstored.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] ==== Testing that ReadDirectory on nonexistent directory does not crash
      [INFO    ] ==== Testing SSL KeepAlive messages
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to run a sync: ............ done.
      [INFO    ] Waiting for server to die (pid 19243): . done.
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to sync spacetest/f1: ............ done.
      [INFO    ] Waiting for server to die (pid 19274): . done.
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to sync spacetest/f1 again: ............ done.
      [INFO    ] Waiting for server to die (pid 19306): . done.
      [INFO    ] Waiting for backup daemon to start: . done.
      [INFO    ] Waiting for internal daemon to sync spacetest/f1 again: ............ done.
      [INFO    ] Waiting for server to die (pid 19333): . done.
      [INFO    ] ERROR:   **** TEST FAILURE: line != "Send GetIsAlive()" at testbbackupd.cpp:1114
      [INFO    ] ERROR:   **** TEST FAILURE: line != "Receive IsAlive()" at testbbackupd.cpp:1116
      [INFO    ] ERROR:   **** TEST FAILURE: line.substr(0, comp.size()) != comp in Receive Success(0x11) at testbbackupd.cpp:1124
      [INFO    ] ERROR:   **** TEST FAILURE: sub != comp in Receive Success(0x11) at testbbackupd.cpp:1127
      [INFO    ] Expected <Send GetIsAlive()> but found <Send StoreFile(0x3,0x4ab067d0cffc0,0x3ea1a71d56bacfa4,0x10,"f1")>
      [INFO    ] Expected <Receive IsAlive()> but found <Sending stream, size uncertain>
      [INFO    ] Expected <Send StoreFile(0x3,> but found <Receive Success(0x1> in <Receive Success(0x11)>
      [INFO    ] Expected <,"f1")> but found <(0x11)> in <Receive Success(0x11)>
      [INFO    ] Waiting for server to die (pid 19234): . done.
      [INFO    ] FAILED: 4 tests failed (first at testbbackupd.cpp:1114)
      [INFO    ] gmake[1]: Entering directory `lib/httpserver'
      [INFO    ]   [CXX]     HTTPQueryDecoder.cpp
      [INFO    ]   [CXX]     HTTPRequest.cpp
      [INFO    ]   [CXX]     HTTPResponse.cpp
      [INFO    ]   [CXX]     HTTPServer.cpp
      [INFO    ]   [CXX]     S3Client.cpp
      [INFO    ]   [CXX]     S3Simulator.cpp
      [INFO    ]   [CXX]     autogen_HTTPException.cpp
      [INFO    ]   [CXX]     cdecode.cpp
      [INFO    ]   [CXX]     cencode.cpp
      [INFO    ]   [AR]      ../../release/lib/httpserver/httpserver.a
      [INFO    ]   [RANLIB]  ../../release/lib/httpserver/httpserver.a
      [INFO    ] gmake[1]: Leaving directory `lib/httpserver'
      [INFO    ]   [CXX]     _main.cpp
      [INFO    ]   [CXX]     testhttpserver.cpp
      [INFO    ]   [LINK]    ../../release/test/httpserver/test
      [INFO    ] cp _t ../../release/test/httpserver/t
      [INFO    ] chmod u+x ../../release/test/httpserver/t
      [INFO    ] cp _t-gdb ../../release/test/httpserver/t-gdb
      [INFO    ] chmod u+x ../../release/test/httpserver/t-gdb
      [INFO    ] TEST: test/httpserver
      [INFO    ] Killing any running daemons...
      [INFO    ] Removing old test files...
      [INFO    ] chmod: WARNING: can't access testfiles
      [INFO    ] Copying new test files...
      [INFO    ] GET request...
      [INFO    ] POST request...
      [INFO    ] HEAD request...
      [INFO    ] Redirected GET request...
      [INFO    ] Cookie tests...
      [INFO    ] ERROR:   Failed to write to socket: Broken pipe (32)
      [INFO    ] NOTICE:  Running test httpserver in release mode...
      [INFO    ] Starting server: ./test server testfiles/httpserver.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 19449): . done.
      [INFO    ] WARNING: Failed to open file: testfiles/nonexist: No such file or directory (2)
      [INFO    ] WARNING: Exception thrown: CommonException(OSFileOpenError) at FileStream.cpp(84)
      [INFO    ] Starting server: ./test s3server testfiles/s3simulator.conf
      [INFO    ] Waiting for server to start:  done.
      [INFO    ] Waiting for server to die (pid 19458): . done.
      [INFO    ] PASSED
      [INFO    ] --------
      [INFO    ] common: PASSED
      [INFO    ] crypto: PASSED
      [INFO    ] compress: PASSED
      [INFO    ] raidfile: FAILED: Exception caught: RaidFile OSError (Error when accessing an underlying file. Check file permissions allow files to be read and written in the configured raid directories.)
      [INFO    ] basicserver: PASSED
      [INFO    ] backupstore: PASSED
      [INFO    ] backupstorefix: PASSED
      [INFO    ] backupstorepatch: PASSED
      [INFO    ] backupdiff: PASSED
      [INFO    ] bbackupd: FAILED: 4 tests failed (first at testbbackupd.cpp:1114)
      [INFO    ] httpserver: PASSED
      [INFO    ] One or more tests have failed. Please check the following common causes:
      [INFO    ] * Check that no instances of bbstored or bbackupd are already running
      [INFO    ]   on this machine.
      [INFO    ] * Make sure there isn't a firewall blocking incoming or outgoing connections
      [INFO    ]   on port 2201.
      [INFO    ] * Check that there is sufficient space in the filesystem that the tests
      [INFO    ]   are being run from (at least 1 GB free).
      [INFO    ] * The backupdiff test fails if it takes too long, so it's sensitive to
      [INFO    ]   the speed of the host and your connection to it.
      [INFO    ] After checking all the above, if you still have problems please contact
      [INFO    ] us on the mailing list, boxbackup at boxbackup.org. Thanks!
      [INFO    ] ==> Release tests complete
      [INFO    ] ==> Release tests permission cleanup

--
Build URL: <https://www.boxbackup.org/trac/build/Trunk/1879>
Box Backup <http://www.boxbackup.org/>
An open source, completely automatic on-line backup system for UNIX.



More information about the Boxbackup-commit mailing list