Erlang Common Test: {shuffle {seed}} not working
Walter Weinmann <[email protected]> Thu, 2 Feb 2017 17:30:04 +0100
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CACe_jXcxRd7rwVo0LXQwJjUdWTLOT0s9NpRTbBb3vQcM87DHgg@mail.gmail.com> |
--001a1141fd3cb26b4e05478eae42 Content-Type: multipart/alternative; boundary=001a1141fd3cb26b4a05478eae40 --001a1141fd3cb26b4a05478eae40 Content-Type: text/plain; charset=UTF-8 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/[email protected]_17.23.31 " 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}]}]}} --001a1141fd3cb26b4a05478eae40 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div style=3D"font-size:12.8px"><font face=3D"monospace, m= onospace">OS version: =C2=A0 =C2=A0 Ubuntu 16.10</font></div><font face=3D"= monospace, monospace" style=3D"font-size:12.8px">Erlang version: Erlang/OTP= 19 [erts-8.2] [source-ac2de40] [64-bit] [smp:2:2] [async-threads:10] [hipe= ] [kernel-poll:false]</font><div style=3D"font-size:12.8px"><br></div><div = style=3D"font-size:12.8px">Attached a small example file, the result in raw= .log is:=C2=A0</div><div><br></div><div><div><font face=3D"monospace, monos= pace">--- Test run on 2017/02/02 17:23:30 ---</font></div><div><font face= =3D"monospace, monospace">Converting "/home/wwe/SoftDevelopment/kvs_st= ress_idea/kvs_stress/." to "/home/wwe/SoftDevelopment/kvs_stress_= idea/kvs_stress" and re-inserting with add_patha/1</font></div><div><f= ont face=3D"monospace, monospace"><br></font></div><div><font face=3D"monos= pace, monospace"><br></font></div><div><font face=3D"monospace, monospace">= Common Test v1.13 starting (cwd is /home/wwe/SoftDevelopment/kvs_stress_ide= a/kvs_stress)</font></div><div><font face=3D"monospace, monospace"><br></fo= nt></div><div><font face=3D"monospace, monospace"><br></font></div><div><fo= nt face=3D"monospace, monospace">Common Test: Running make in test director= ies...</font></div><div><font face=3D"monospace, monospace">Including the f= ollowing directories:</font></div><div><font face=3D"monospace, monospace">= "/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/include"</f= ont></div><div><font face=3D"monospace, monospace">Recompile: my_shuffle_SU= ITE</font></div><div><font face=3D"monospace, monospace"><br></font></div><= div><font face=3D"monospace, monospace">CWD set to: "/home/wwe/SoftDev= elopment/kvs_stress_idea/kvs_stress/logs/[email protected]= -02_17.23.31"</font></div><div><font face=3D"monospace, monospace"><br= ></font></div><div><font face=3D"monospace, monospace">TEST INFO: 1 test(s)= , 1 suite(s)</font></div><div><font face=3D"monospace, monospace"><br></fon= t></div><div><font face=3D"monospace, monospace">Cover compiling 2 modules = - this may take some time... done</font></div><div><font face=3D"monospace,= monospace"><br></font></div><div><font face=3D"monospace, monospace">Testi= ng kvs_stress_idea.kvs_stress.my_shuffle_SUITE: Starting test (with repeate= d test cases)</font></div><div><font face=3D"monospace, monospace">EXIT, re= ason {function_clause,</font></div><div><font face=3D"monospace, monospace"= >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[{rand,unifo= rm_s,[1,{4711}],[{file,"rand.erl"},{line,145}]},</font></div><div= ><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 {test_server_ctrl,shuffle_cases,3,</font></div><di= v><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [{file,"test_server_ctrl.erl= "},{line,3175}]},</font></div><div><font face=3D"monospace, monospace"= >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {test_serve= r_ctrl,run_test_cases_loop,5,</font></div><div><font face=3D"monospace, mon= ospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 [{file,"test_server_ctrl.erl"},{line,2591}]},</font></= div><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {test_server_ctrl,run_test_cases,3,</fon= t></div><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [{file,"test_serv= er_ctrl.erl"},{line,2150}]},</font></div><div><font face=3D"monospace,= monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = {test_server_ctrl,ts_tc,3,</font></div><div><font face=3D"monospace, monosp= ace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 [{file,"test_server_ctrl.erl"},{line,1209}]},</font></div>= <div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 {test_server_ctrl,init_tester,10,</font></div>= <div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [{file,"test_server_ctrl.er= l"},{line,1163}]}]}Cover analysing... done</font></div><div><font face= =3D"monospace, monospace"><br></font></div><div><font face=3D"monospace, mo= nospace">Updating /home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs= /index.html ... done</font></div><div><font face=3D"monospace, monospace">U= pdating /home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/all_runs.= html ... done</font></div><div><font face=3D"monospace, monospace"><br></fo= nt></div><div><font face=3D"monospace, monospace"><br></font></div><div><fo= nt face=3D"monospace, monospace">Test run failed! Reason:</font></div><div>= <font face=3D"monospace, monospace">{'EXIT',</font></div><div><font= face=3D"monospace, monospace">=C2=A0 =C2=A0 {function_clause,</font></div>= <div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 [{rand= ,uniform_s,[1,{4711}],[{file,"rand.erl"},{line,145}]},</font></di= v><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0{test_server_ctrl,shuffle_cases,3,</font></div><div><font face=3D"monosp= ace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[{file,&quo= t;test_server_ctrl.erl"},{line,3175}]},</font></div><div><font face=3D= "monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{test_server_ctrl,= run_test_cases_loop,5,</font></div><div><font face=3D"monospace, monospace"= >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[{file,"test_server_c= trl.erl"},{line,2591}]},</font></div><div><font face=3D"monospace, mon= ospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{test_server_ctrl,run_test_cases,= 3,</font></div><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[{file,"test_server_ctrl.erl"},{li= ne,2150}]},</font></div><div><font face=3D"monospace, monospace">=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0{test_server_ctrl,ts_tc,3,</font></div><div><font f= ace=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0[{file,"test_server_ctrl.erl"},{line,1209}]},</font></div><div= ><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{tes= t_server_ctrl,init_tester,10,</font></div><div><font face=3D"monospace, mon= ospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[{file,"test_s= erver_ctrl.erl"},{line,1163}]}]}}</font></div><div><br></div></div> </div> --001a1141fd3cb26b4a05478eae40-- --001a1141fd3cb26b4e05478eae42 Content-Type: application/octet-stream; name="my_shuffle_SUITE.erl" Content-Disposition: attachment; filename="my_shuffle_SUITE.erl" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iyolhx4b0 LW1vZHVsZShteV9zaHVmZmxlX1NVSVRFKS4KCi1jb21waWxlKGV4cG9ydF9hbGwpLgoKLWluY2x1 ZGVfbGliKCJjb21tb25fdGVzdC9pbmNsdWRlL2N0LmhybCIpLgoKYWxsKCkgLT4KICAgIFsKICAg ICAgICB7Z3JvdXAsIG15X2dyb3VwfQogICAgXS4KCmdyb3VwcygpIC0+CiAgICBbCiAgICAgICAg e215X2dyb3VwLAogICAgICAgICAgICBbCiAgICAgICAgICAgICAgICB7cmVwZWF0LCA1fSwKICAg ICAgICAgICAgICAgIHtzaHVmZmxlLCB7NDcxMX19CiAgICAgICAgICAgIF0sCiAgICAgICAgICAg IFsKICAgICAgICAgICAgICAgIG15X3Rlc3QKICAgICAgICAgICAgXQogICAgICAgIH0KICAgIF0u CgpteV90ZXN0KF9Db25maWcpIC0+CiAgICBvay4K --001a1141fd3cb26b4e05478eae42 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ erlang-bugs mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-bugs --001a1141fd3cb26b4e05478eae42--