<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hi Roberto,<br>
<br>
The bug was reported for 17.5 and fixed only a couple of weeks ago
for OTP 18. It would be great if you could try it out and let me
know if the fix solves your problem.<br>
<br>
Btw, if you *can* run your test on a short name node, try that
also and see if it works. (You need to delete or move any previous
ct_run-directories in logdir first though).<br>
<br>
Keep me posted.<br>
<br>
Best,<br>
Peter<br>
<br>
<br>
On 2015-04-23 13:28, Roberto Ostinelli wrote:<br>
</div>
<blockquote
cite="mid:CAM5fRyryMaEgjRE-Ngbrav8iSK3iyXzqHK8oOeSVg8PBF1n7Mw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-bugs"
target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>