<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Roberto,<br>
      <br>
      This problem looks very much like one previously reported, about
      CT not handling long node names correctly. There's a fix for it in
      the master branch: 8a23259. Are you running on an updated branch?<br>
      <br>
      Best regards,<br>
      Peter<br>
      <br>
      Ericsson AB, Erlang/OTP<br>
      <br>
      <br>
      On 2015-04-22 16:34, Roberto Ostinelli wrote:<br>
    </div>
    <blockquote
cite="mid:CAM5fRyr6Po0DyqRWfBQcxNQjHvd2PBFpeqETPN=q_nezxBuZVQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">Dear list,
        <div>When I run CT tests multiple times I encounter a bug.</div>
        <div><br>
        </div>
        <div>========</div>
        <div>
          <div>erl -pa apps/*/ebin -pa deps/*/ebin \</div>
          <div>    -name <a moz-do-not-send="true"
              href="mailto:myapp@127.0.0.1">myapp@127.0.0.1</a> \</div>
          <div>    +K true \</div>
          <div>    +P 5000000 \</div>
          <div>    +Q 1000000 \</div>
          <div>    -env ERL_FULLSWEEP_AFTER 10 \</div>
          <div>    -config myapp \</div>
          <div>    -mnesia schema_location ram \</div>
          <div>    -noshell \</div>
          <div>    -eval 'ct_run:run_test([{dir, "apps/myapp/test"},
            {logdir, "apps/myapp/logs"}]).' \</div>
          <div>    -s erlang halt</div>
        </div>
        <div>=========</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Running this the first 2/3 times will give:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>=========</div>
        <div>
          <div>Common Test starting (cwd is
            /Users/roberto/workspace/myapp)</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Common Test: Running make in test directories...</div>
          <div><br>
          </div>
          <div>CWD set to:
<a class="moz-txt-link-rfc2396E" href="mailto:/Users/roberto/workspace/myapp/apps/myapp/logs/ct_run.myapp@127.0.0.1.2015-04-22_16.25.39">"/Users/roberto/workspace/myapp/apps/myapp/logs/ct_run.myapp@127.0.0.1.2015-04-22_16.25.39"</a></div>
          <div><br>
          </div>
          <div>TEST INFO: 1 test(s), 1 case(s) in 1 suite(s)</div>
          <div><br>
          </div>
          <div>Testing apps.myapp: Starting test, 1 test cases</div>
          <div>Testing apps.myapp: TEST COMPLETE, 1 ok, 0 failed of 1
            test cases</div>
        </div>
        <div>=========</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>After the 3rd time or so (this happens randomly), I get:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>=========</div>
        <div>
          <div>$ ./tests </div>
          <div><br>
          </div>
          <div>Common Test starting (cwd is
            /Users/roberto/workspace/myapp)</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>=ERROR REPORT==== 22-Apr-2015::16:26:00 ===</div>
          <div>Error in process <0.42.0> on node '<a
              moz-do-not-send="true" href="mailto:myapp@127.0.0.1">myapp@127.0.0.1</a>'
            with exit value:
{{badmatch,["ct_run","myapp@127","0","0","1","2015-04-22_16","25","26"]},[{ct_logs,'-sort_ct_runs/1-fun-0-',2,[{file,"ct_logs.erl"},{line,1912}]},{lists,sort,2,[{file,"lists.erl"},{line,967}]},{ct_logs,make_all_suites_index,1,[{file,"ct_logs... </div>
        </div>
        <div>=========</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>If I delete the directory where the CT logs are stored I
          can re-run the command, without issues.</div>
        <div><br>
        </div>
        <div>Any ideas?</div>
        <div><br>
        </div>
        <div>Best,</div>
        <div>r.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>