[erlang-bugs] Cannot run CT tests multiple times
Roberto Ostinelli
roberto@REDACTED
Thu Apr 23 13:28:11 CEST 2015
Hello Peter,
No I'm running the standard OTP 17.5.
I've checked but could not find a previous report. I apologize if this was
reported previously.
Best,
r.
On Thu, Apr 23, 2015 at 12:40 PM, Peter Andersson <peppe@REDACTED> wrote:
> Hi Roberto,
>
> 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?
>
> Best regards,
> Peter
>
> Ericsson AB, Erlang/OTP
>
>
>
> On 2015-04-22 16:34, Roberto Ostinelli wrote:
>
> Dear list,
> When I run CT tests multiple times I encounter a bug.
>
> ========
> erl -pa apps/*/ebin -pa deps/*/ebin \
> -name myapp@REDACTED \
> +K true \
> +P 5000000 \
> +Q 1000000 \
> -env ERL_FULLSWEEP_AFTER 10 \
> -config myapp \
> -mnesia schema_location ram \
> -noshell \
> -eval 'ct_run:run_test([{dir, "apps/myapp/test"}, {logdir,
> "apps/myapp/logs"}]).' \
> -s erlang halt
> =========
>
>
> Running this the first 2/3 times will give:
>
>
> =========
> Common Test starting (cwd is /Users/roberto/workspace/myapp)
>
>
> Common Test: Running make in test directories...
>
> CWD set to:
> "/Users/roberto/workspace/myapp/apps/myapp/logs/ct_run.myapp@REDACTED"
> </Users/roberto/workspace/myapp/apps/myapp/logs/ct_run.myapp@REDACTED>
>
> TEST INFO: 1 test(s), 1 case(s) in 1 suite(s)
>
> Testing apps.myapp: Starting test, 1 test cases
> Testing apps.myapp: TEST COMPLETE, 1 ok, 0 failed of 1 test cases
> =========
>
>
> After the 3rd time or so (this happens randomly), I get:
>
>
> =========
> $ ./tests
>
> Common Test starting (cwd is /Users/roberto/workspace/myapp)
>
>
> =ERROR REPORT==== 22-Apr-2015::16:26:00 ===
> Error in process <0.42.0> on node 'myapp@REDACTED' with exit value:
> {{badmatch,["ct_run","myapp@REDACTED
> ","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...
> =========
>
>
> If I delete the directory where the CT logs are stored I can re-run the
> command, without issues.
>
> Any ideas?
>
> Best,
> r.
>
>
>
>
>
> _______________________________________________
> erlang-bugs mailing listerlang-bugs@REDACTED://erlang.org/mailman/listinfo/erlang-bugs
>
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150423/3cc364d1/attachment.htm>
More information about the erlang-bugs
mailing list