[erlang-bugs] Erlang Common Test: {shuffle {seed}} not working
Walter Weinmann
walter.weinmann@REDACTED
Thu Feb 2 17:30:04 CET 2017
OS version: Ubuntu 16.10
Erlang version: Erlang/OTP 19 [erts-8.2] [source-ac2de40] [64-bit]
[smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
Attached a small example file, the result in raw.log is:
--- Test run on 2017/02/02 17:23:30 ---
Converting "/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/." to
"/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress" and re-inserting
with add_patha/1
Common Test v1.13 starting (cwd is
/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress)
Common Test: Running make in test directories...
Including the following directories:
"/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/include"
Recompile: my_shuffle_SUITE
CWD set to:
"/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/ct_run.test@REDACTED
"
TEST INFO: 1 test(s), 1 suite(s)
Cover compiling 2 modules - this may take some time... done
Testing kvs_stress_idea.kvs_stress.my_shuffle_SUITE: Starting test (with
repeated test cases)
EXIT, reason {function_clause,
[{rand,uniform_s,[1,{4711}],[{file,"rand.erl"},{line,145}]},
{test_server_ctrl,shuffle_cases,3,
[{file,"test_server_ctrl.erl"},{line,3175}]},
{test_server_ctrl,run_test_cases_loop,5,
[{file,"test_server_ctrl.erl"},{line,2591}]},
{test_server_ctrl,run_test_cases,3,
[{file,"test_server_ctrl.erl"},{line,2150}]},
{test_server_ctrl,ts_tc,3,
[{file,"test_server_ctrl.erl"},{line,1209}]},
{test_server_ctrl,init_tester,10,
[{file,"test_server_ctrl.erl"},{line,1163}]}]}Cover
analysing... done
Updating
/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/index.html ...
done
Updating
/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/all_runs.html ...
done
Test run failed! Reason:
{'EXIT',
{function_clause,
[{rand,uniform_s,[1,{4711}],[{file,"rand.erl"},{line,145}]},
{test_server_ctrl,shuffle_cases,3,
[{file,"test_server_ctrl.erl"},{line,3175}]},
{test_server_ctrl,run_test_cases_loop,5,
[{file,"test_server_ctrl.erl"},{line,2591}]},
{test_server_ctrl,run_test_cases,3,
[{file,"test_server_ctrl.erl"},{line,2150}]},
{test_server_ctrl,ts_tc,3,
[{file,"test_server_ctrl.erl"},{line,1209}]},
{test_server_ctrl,init_tester,10,
[{file,"test_server_ctrl.erl"},{line,1163}]}]}}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20170202/0153be95/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_shuffle_SUITE.erl
Type: application/octet-stream
Size: 372 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20170202/0153be95/attachment.obj>
More information about the erlang-bugs
mailing list