<div dir="ltr">Hello Peter,<div>No I'm running the standard OTP 17.5.</div><div><br></div><div>I've checked but could not find a previous report. I apologize if this was reported previously.</div><div><br></div><div>Best,</div><div>r.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 23, 2015 at 12:40 PM, Peter Andersson <span dir="ltr"><<a href="mailto:peppe@erlang.org" target="_blank">peppe@erlang.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>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<div><div class="h5"><br>
<br>
<br>
On 2015-04-22 16:34, Roberto Ostinelli wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<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 href="mailto:myapp@127.0.0.1" target="_blank">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 href="mailto:/Users/roberto/workspace/myapp/apps/myapp/logs/ct_run.myapp@127.0.0.1.2015-04-22_16.25.39" target="_blank">"/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 href="mailto:myapp@127.0.0.1" target="_blank">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></fieldset>
<br>
</div></div><pre>_______________________________________________
erlang-bugs mailing list
<a href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br></blockquote></div><br></div>