mogadm was in the path (mogadm: /usr/local/bin/mogadm) - but that didn&#39;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&#39;s ok, we have a slave running, but wouldn&#39;t it be better to use different ports from the default ones for testing?)
<br><br>So here is what we&#39;ve got:<br><br>make test<br>PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, &#39;blib/lib&#39;, &#39;blib/arch&#39;)&quot; 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.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>t/00-startup................ok 25/55# Creating 100 files...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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:&nbsp; 51, dev2:&nbsp; 49, dev3:&nbsp; 49, dev4:&nbsp; 51, dev5:&nbsp;&nbsp; 0, dev6:&nbsp;&nbsp; 0<br># Replication update: dev1:&nbsp; 51, dev2:&nbsp; 49, dev3:&nbsp;&nbsp; 0, dev4:&nbsp;&nbsp; 0, dev5:&nbsp; 27, dev6:&nbsp; 42<br>t/00-startup................ok 52/55# files on host 1 = 100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<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&amp;fid=0&amp;class=2copies&amp;multi_dest=1&amp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Test returned status 255 (wstat 65280, 0xff00)
<br>DIED. FAILED tests 11-16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Failed 6/16 tests, 62.50% okay<br>t/20-filepaths..............skipped<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>t/fid-stat..................ok&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>Failed Test&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Stat Wstat Total Fail&nbsp; Failed&nbsp; List of Failed<br>-------------------------------------------------------------------------------<br>t/10-weighting.t&nbsp; 255 65280&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp; 12&nbsp; 75.00%&nbsp; 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> &lt;
<a href="mailto:brad@danga.com">brad@danga.com</a>&gt; 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.&nbsp;&nbsp;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>&gt; Hi, I will try to answer this since Russ is not in the office at the moment.<br>&gt;<br>&gt; How big/small are these files?<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp; 4MB in average<br>&gt;<br>&gt; Anything interesting/noisy in the
<br>&gt; &gt; mogilefsd error logs?<br>&gt;<br>&gt;<br>&gt; Looks all good. Occasional there are timeouts:<br>&gt; &quot; :: [monitor(11947)] Timeout contacting machine <a href="http://10.0.10.24">10.0.10.24</a> for dev 47:
<br>&gt; took 2.00 seconds out of 2 allowed&quot;<br>&gt;<br>&gt; Does the mogilefs-server &quot;make test&quot; pass for you?<br>&gt;<br>&gt;<br>&gt; &quot;All tests successful, 3 tests skipped.&quot;<br>&gt; On the nodes the test skips the Db tests and it complains about not finding
<br>&gt; the mogadm executable. Nothing crucial I guess.<br>&gt;<br>&gt; Which MySQL server version?<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;mysql&gt; SELECT version();<br>&gt; +------------+<br>&gt; | version()&nbsp;&nbsp;|<br>&gt; +------------+
<br>&gt; | 5.0.37-log |<br>&gt; +------------+<br>&gt;<br>&gt; Cheers,<br>&gt; Mischa<br>&gt;<br>&gt; On Wed, 20 Jun 2007, Russell Garrett wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; OK, so I totally wiped the file_to_replicate table. We have 3 nodes
<br>&gt; &gt; &gt; online with sufficient space. I start the replicate thread and this<br>&gt; &gt; happens:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; mysql&gt; select * from file_on where fid = 2534860;<br>&gt; &gt; &gt; +---------+-------+
<br>&gt; &gt; &gt; | fid&nbsp;&nbsp;&nbsp;&nbsp; | devid |<br>&gt; &gt; &gt; +---------+-------+<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;54 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;64 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;73 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;74 |
<br>&gt; &gt; &gt; +---------+-------+<br>&gt; &gt; &gt; 4 rows in set (0.00 sec)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ...30 seconds later:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; mysql&gt; select * from file_on where fid = 2534860;
<br>&gt; &gt; &gt; +---------+-------+<br>&gt; &gt; &gt; | fid&nbsp;&nbsp;&nbsp;&nbsp; | devid |<br>&gt; &gt; &gt; +---------+-------+<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;54 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;55 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;56 |
<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;57 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;58 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;59 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;60 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;61 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;62 |
<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;63 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;64 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;65 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;66 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;67 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;68 |
<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;69 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;70 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;71 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;72 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;73 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;74 |
<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;75 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;76 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;77 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;78 |<br>&gt; &gt; &gt; | 2534860 |&nbsp;&nbsp;&nbsp;&nbsp;79 |<br>&gt; &gt; &gt; +---------+-------+
<br>&gt; &gt; &gt; 26 rows in set (0.00 sec)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Riddle me that one...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Russ Garrett<br>&gt; &gt; &gt; <a href="http://Last.fm">Last.fm</a>
 Ltd.<br>&gt; &gt; &gt; <a href="mailto:russ@last.fm">russ@last.fm</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br></blockquote></div><br>