{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/10585","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/10585/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/10585/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/10585/events","html_url":"https://github.com/dotnet/coreclr/issues/10585","id":218271637,"node_id":"MDU6SXNzdWUyMTgyNzE2Mzc=","number":10585,"title":"Test using Random() should be seeded","user":{"login":"sdmaclea","id":25674984,"node_id":"MDQ6VXNlcjI1Njc0OTg0","avatar_url":"https://avatars3.githubusercontent.com/u/25674984?v=4","gravatar_id":"","url":"https://api.github.com/users/sdmaclea","html_url":"https://github.com/sdmaclea","followers_url":"https://api.github.com/users/sdmaclea/followers","following_url":"https://api.github.com/users/sdmaclea/following{/other_user}","gists_url":"https://api.github.com/users/sdmaclea/gists{/gist_id}","starred_url":"https://api.github.com/users/sdmaclea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdmaclea/subscriptions","organizations_url":"https://api.github.com/users/sdmaclea/orgs","repos_url":"https://api.github.com/users/sdmaclea/repos","events_url":"https://api.github.com/users/sdmaclea/events{/privacy}","received_events_url":"https://api.github.com/users/sdmaclea/received_events","type":"User","site_admin":false},"labels":[{"id":937730625,"node_id":"MDU6TGFiZWw5Mzc3MzA2MjU=","url":"https://api.github.com/repos/dotnet/coreclr/labels/Hackathon","name":"Hackathon","color":"5319e7","default":false},{"id":196940911,"node_id":"MDU6TGFiZWwxOTY5NDA5MTE=","url":"https://api.github.com/repos/dotnet/coreclr/labels/area-CodeGen","name":"area-CodeGen","color":"d4c5f9","default":false},{"id":576845866,"node_id":"MDU6TGFiZWw1NzY4NDU4NjY=","url":"https://api.github.com/repos/dotnet/coreclr/labels/easy","name":"easy","color":"90eeff","default":false},{"id":563191784,"node_id":"MDU6TGFiZWw1NjMxOTE3ODQ=","url":"https://api.github.com/repos/dotnet/coreclr/labels/test%20enhancement","name":"test enhancement","color":"1d76db","default":false},{"id":173492976,"node_id":"MDU6TGFiZWwxNzM0OTI5NzY=","url":"https://api.github.com/repos/dotnet/coreclr/labels/up-for-grabs","name":"up-for-grabs","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/coreclr/milestones/5","html_url":"https://github.com/dotnet/coreclr/milestone/5","labels_url":"https://api.github.com/repos/dotnet/coreclr/milestones/5/labels","id":1328081,"node_id":"MDk6TWlsZXN0b25lMTMyODA4MQ==","number":5,"title":"Future","description":"Milestone tracking issues not triaged to a planned release. Work in this milestone may happen, or may not: it is not committed.","creator":{"login":"joshfree","id":1302850,"node_id":"MDQ6VXNlcjEzMDI4NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1302850?v=4","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":1416,"closed_issues":1228,"state":"open","created_at":"2015-09-29T00:26:07Z","updated_at":"2018-06-14T15:57:56Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2017-03-30T17:33:50Z","updated_at":"2018-06-14T17:47:09Z","closed_at":null,"author_association":"MEMBER","body":"There are many tests using unseeded Random number generators.  When failures happen it is difficult to debug/repro.\r\n\r\nHere are examples which are currently causing intermittent failures in arm64...\r\n```\r\ntests/src/JIT/Methodical/MDArray/basics/classarr.cs\r\ntests/src/JIT/Methodical/MDArray/basics/doublearr.cs\r\ntests/src/JIT/Methodical/MDArray/basics/jaggedarr.cs\r\ntests/src/JIT/Methodical/MDArray/basics/stringarr.cs\r\ntests/src/JIT/Methodical/MDArray/basics/structarr.cs\r\n```\r\n\r\nMany tests are using seeded random number generators using code in tests/src/Common/CoreCLRTestLibrary/TestFramework.cs.\r\n\r\nIt would be nice to use simialr code in place of all tests using Random() without a seed."},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/397380892","html_url":"https://github.com/dotnet/coreclr/issues/10585#issuecomment-397380892","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/10585","id":397380892,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzM4MDg5Mg==","user":{"login":"sdmaclea","id":25674984,"node_id":"MDQ6VXNlcjI1Njc0OTg0","avatar_url":"https://avatars3.githubusercontent.com/u/25674984?v=4","gravatar_id":"","url":"https://api.github.com/users/sdmaclea","html_url":"https://github.com/sdmaclea","followers_url":"https://api.github.com/users/sdmaclea/followers","following_url":"https://api.github.com/users/sdmaclea/following{/other_user}","gists_url":"https://api.github.com/users/sdmaclea/gists{/gist_id}","starred_url":"https://api.github.com/users/sdmaclea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdmaclea/subscriptions","organizations_url":"https://api.github.com/users/sdmaclea/orgs","repos_url":"https://api.github.com/users/sdmaclea/repos","events_url":"https://api.github.com/users/sdmaclea/events{/privacy}","received_events_url":"https://api.github.com/users/sdmaclea/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T17:47:09Z","updated_at":"2018-06-14T17:47:09Z","author_association":"MEMBER","body":"For instance\r\n```\r\ntests/src/Common/CoreCLRTestLibrary/TestFramework.cs:            seed = 20010415;\r\n```"}}
{"actor":{"display_login":"sdmaclea"}}