Re: Erlang Common Test: {shuffle {seed}} not working

Lars Hesel Christensen <[email protected]> Fri, 3 Feb 2017 13:07:09 +0100
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============3931638791355136695==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="dnS5bOqHtLLQx1MLhKm7qmurKxARq7jo0"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--dnS5bOqHtLLQx1MLhKm7qmurKxARq7jo0
Content-Type: multipart/mixed; boundary="IH2XAef7bJihGBd58ucGgIp0K7QlGvGTN";
 protected-headers="v1"
From: Lars Hesel Christensen <[email protected]>
To: Walter Weinmann <[email protected]>,
 erlang-bugs <[email protected]>
Message-ID: <[email protected]>
Subject: Re: [erlang-bugs] Erlang Common Test: {shuffle {seed}} not working
References: <CACe_jXcxRd7rwVo0LXQwJjUdWTLOT0s9NpRTbBb3vQcM87DHgg@mail.gmail.com>
In-Reply-To: <CACe_jXcxRd7rwVo0LXQwJjUdWTLOT0s9NpRTbBb3vQcM87DHgg@mail.gmail.com>

--IH2XAef7bJihGBd58ucGgIp0K7QlGvGTN
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Walter,

According to the ct docs (http://erlang.org/doc/man/common_test.html)
the shuffle seed should be on the form '{integer(),integer(),integer()}'.=


Cheers,
Lars

On 02/02/2017 05:30 PM, Walter Weinmann wrote:
> 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]
>=20
> Attached a small example file, the result in raw.log is:=20
>=20
> --- 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
>=20
>=20
> Common Test v1.13 starting (cwd is
> /home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress)
>=20
>=20
> Common Test: Running make in test directories...
> Including the following directories:
> "/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/include"
> Recompile: my_shuffle_SUITE
>=20
> CWD set to:
> "/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/ct_run.test@=
wwe-VirtualBox.2017-02-02_17.23.31"
>=20
> TEST INFO: 1 test(s), 1 suite(s)
>=20
> Cover compiling 2 modules - this may take some time... done
>=20
> Testing kvs_stress_idea.kvs_stress.my_shuffle_SUITE: Starting test (wit=
h
> repeated test cases)
> EXIT, reason {function_clause,
>               =20
>  [{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,
>                     =20
> [{file,"test_server_ctrl.erl"},{line,1163}]}]}Cover analysing... done
>=20
> Updating
> /home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/index.html ..=
=2E
> done
> Updating
> /home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/all_runs.html=

> ... done
>=20
>=20
> 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}]}]}}
>=20
>=20
>=20
> _______________________________________________
> erlang-bugs mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-bugs
>=20


--IH2XAef7bJihGBd58ucGgIp0K7QlGvGTN--

--dnS5bOqHtLLQx1MLhKm7qmurKxARq7jo0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE8rSkLq2nhkJwTnN/UsGHgNomZFgFAliUcm0ACgkQUsGHgNom
ZFiaWg//WPJNEnxf7Kcqw2240N7CHJJjqn7P6IOP2/hYCdtJ+9Ur5EzbD2I8NJ2U
AxKWk6KNS/DJV3HMybU7UlzEDf7vaTgLhRFxK1t9J5drA5KAhSo97X3Ps3E769vZ
naRhUY5wHpKKAB6Kjm6o2NKi7vNw9ThPotPD1poEZSATSogCWa5DHro6MrMlkFLF
49i7BV86dpjEbVJfk+95AetdFKTiEQpl61/A1lU4gEPfLp7dM6IVJ7LGU+fPeGlx
Ihbl62+8uzdIYeNIAPmOiSpKz/lgQriixzsPAdXobxc/tiJ/6qi70PcdEcKE5iFt
a6KFrp/cq46D6EszVzPNB8Asw5gMAeQ9wB0HUeSwAENp4aRfvNAbChbV7RfbcE58
Mk3EmkjaY1lxPb2PqR093DUDMlC3ePKVjAUw4CvvOgY5rA9hT9VUwc3nH73hAkMd
fbsaTuh7Zp6NwjKRZjvmpGZoSpfz5T4B33PRMV3DK8cNNWLBZdhI0YtWj5sKARzy
ZwEtJfJzCtCGLDYVpGGNXnK/Ne+b9V7rc3n1qkyDrlJvn9RwBp+PB2Yw7RxTSwII
1jRmdbbzp/kCt5ztUPf6lPjPUN4AnZPC7dTkU5L8IBrpXfhJY/sIU0jRqnzpqB7l
9c+yH404q86p2KcVnVwmqL612u9rJNg1wOTqaEJf/Br/vStzrBE=
=SFk5
-----END PGP SIGNATURE-----

--dnS5bOqHtLLQx1MLhKm7qmurKxARq7jo0--

--===============3931638791355136695==
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

--===============3931638791355136695==--