mogadm was in the path (mogadm: /usr/local/bin/mogadm) - but that didn't help. <br>It worked after adding the location to sub _mogadm_exe  in t/lib/mogtestlib.pl.<br><br>Also trying to run the test requires shutting down the current live tracker (that's ok, we have a slave running, but wouldn't it be better to use different ports from the default ones for testing?)
<br><br>So here is what we've got:<br><br>make test<br>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t<br>t/00-startup................ok 3/55Error: Crashed on purpose at lib/MogileFS/Worker/Query.pm line 176.
<br><br>t/00-startup................ok 8/55Domain not found.                         <br>t/00-startup................ok 18/55Error deleting domain: domain_has_files Domain still has files, uanble to delete<br>t/00-startup................ok 24/55# file1 still only on 1 devices          
<br>t/00-startup................ok 25/55# Creating 100 files...                  <br># created 10/100<br># created 20/100<br># created 30/100<br># created 40/100<br># created 50/100<br># created 60/100<br># created 70/100
<br># created 80/100<br># created 90/100<br># created 100/100<br># Files to replicate: 61<br>t/00-startup................ok 43/55# Files to replicate: 17                 <br>t/00-startup................ok 44/55Failure deleting host: host_not_empty Unable to delete host; it contains devices still
<br>t/00-startup................ok 50/55# Replication update: dev1:  51, dev2:  49, dev3:  49, dev4:  51, dev5:   0, dev6:   0<br># Replication update: dev1:  51, dev2:  49, dev3:   0, dev4:   0, dev5:  27, dev6:  42<br>t/00-startup................ok 52/55# files on host 1 = 100                  
<br># files on host 3 = 69<br># files on host 1 = 100<br># files on host 3 = 69<br># files on host 1 = 100<br># files on host 3 = 69<br># files on host 1 = 0<br># files on host 3 = 0<br>t/00-startup................ok                                               
<br>t/10-weighting..............ok 10/16Use of uninitialized value in hash element at lib/MogileFS/ProcManager.pm line 429.<br>Use of uninitialized value in hash element at lib/MogileFS/ProcManager.pm line 429.<br>MogileFS::Backend: tracker socket never became readable (
<a href="http://127.0.0.1:7001">127.0.0.1:7001</a>) when sending command: [create_open domain=testdom&fid=0&class=2copies&multi_dest=1&key=file1<br>] at /usr/local/share/perl/5.8.8/MogileFS/Client.pm line 255
<br># Looks like you planned 16 tests but only ran 10.<br># Looks like your test died just after 10.<br>t/10-weighting..............dubious                                          <br>        Test returned status 255 (wstat 65280, 0xff00)
<br>DIED. FAILED tests 11-16<br>        Failed 6/16 tests, 62.50% okay<br>t/20-filepaths..............skipped<br>        all skipped: Filepaths plugin has been seperated from the server, a bit of work is needed to make the tests run again.
<br>t/domains-classes...........ok                                               <br>t/fid-stat..................ok                                               <br>t/hosts-devices.............ok                                               
<br>t/multiple-hosts-replpol....ok                                               <br>t/store.....................ok                                               <br>t/util......................ok                                               
<br>Failed Test      Stat Wstat Total Fail  Failed  List of Failed<br>-------------------------------------------------------------------------------<br>t/10-weighting.t  255 65280    16   12  75.00%  11-16<br>1 test skipped.
<br>Failed 1/9 test scripts, 88.89% okay. 6/152 subtests failed, 96.05% okay.<br>make: *** [test_dynamic] Error 255<br><br><br><div><span class="gmail_quote">On 6/25/07, <b class="gmail_sendername">Brad Fitzpatrick</b> <
<a href="mailto:brad@danga.com">brad@danga.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">3 tests skipped means pretty much all tests skipped... the 
00-startup.t<br>test, despite its name, is actually the most important one that tests<br>almost everything.  You need to get mogadm in the path so it can proceed<br>with testing.<br><br><br>On Thu, 21 Jun 2007, mischa z wrote:
<br><br>> Hi, I will try to answer this since Russ is not in the office at the moment.<br>><br>> How big/small are these files?<br>><br>><br>>   4MB in average<br>><br>> Anything interesting/noisy in the
<br>> > mogilefsd error logs?<br>><br>><br>> Looks all good. Occasional there are timeouts:<br>> " :: [monitor(11947)] Timeout contacting machine <a href="http://10.0.10.24">10.0.10.24</a> for dev 47:
<br>> took 2.00 seconds out of 2 allowed"<br>><br>> Does the mogilefs-server "make test" pass for you?<br>><br>><br>> "All tests successful, 3 tests skipped."<br>> On the nodes the test skips the Db tests and it complains about not finding
<br>> the mogadm executable. Nothing crucial I guess.<br>><br>> Which MySQL server version?<br>><br>><br>>  mysql> SELECT version();<br>> +------------+<br>> | version()  |<br>> +------------+
<br>> | 5.0.37-log |<br>> +------------+<br>><br>> Cheers,<br>> Mischa<br>><br>> On Wed, 20 Jun 2007, Russell Garrett wrote:<br>> ><br>> > > OK, so I totally wiped the file_to_replicate table. We have 3 nodes
<br>> > > online with sufficient space. I start the replicate thread and this<br>> > happens:<br>> > ><br>> > > mysql> select * from file_on where fid = 2534860;<br>> > > +---------+-------+
<br>> > > | fid     | devid |<br>> > > +---------+-------+<br>> > > | 2534860 |    54 |<br>> > > | 2534860 |    64 |<br>> > > | 2534860 |    73 |<br>> > > | 2534860 |    74 |
<br>> > > +---------+-------+<br>> > > 4 rows in set (0.00 sec)<br>> > ><br>> > > ...30 seconds later:<br>> > ><br>> > > mysql> select * from file_on where fid = 2534860;
<br>> > > +---------+-------+<br>> > > | fid     | devid |<br>> > > +---------+-------+<br>> > > | 2534860 |    54 |<br>> > > | 2534860 |    55 |<br>> > > | 2534860 |    56 |
<br>> > > | 2534860 |    57 |<br>> > > | 2534860 |    58 |<br>> > > | 2534860 |    59 |<br>> > > | 2534860 |    60 |<br>> > > | 2534860 |    61 |<br>> > > | 2534860 |    62 |
<br>> > > | 2534860 |    63 |<br>> > > | 2534860 |    64 |<br>> > > | 2534860 |    65 |<br>> > > | 2534860 |    66 |<br>> > > | 2534860 |    67 |<br>> > > | 2534860 |    68 |
<br>> > > | 2534860 |    69 |<br>> > > | 2534860 |    70 |<br>> > > | 2534860 |    71 |<br>> > > | 2534860 |    72 |<br>> > > | 2534860 |    73 |<br>> > > | 2534860 |    74 |
<br>> > > | 2534860 |    75 |<br>> > > | 2534860 |    76 |<br>> > > | 2534860 |    77 |<br>> > > | 2534860 |    78 |<br>> > > | 2534860 |    79 |<br>> > > +---------+-------+
<br>> > > 26 rows in set (0.00 sec)<br>> > ><br>> > ><br>> > > Riddle me that one...<br>> > ><br>> > > Russ Garrett<br>> > > <a href="http://Last.fm">Last.fm</a>
 Ltd.<br>> > > <a href="mailto:russ@last.fm">russ@last.fm</a><br>> > ><br>> > ><br>> ><br>><br></blockquote></div><br>