{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1681","labels_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1681/comments","events_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1681/events","html_url":"https://github.com/DynamoRIO/dynamorio/issues/1681","id":67841396,"number":1681,"title":"client.annotation-concurrency.bb-truncate* tests fail flakily","user":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/Component-Tests","name":"Component-Tests","color":"FFFFFF"},{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/OpSys-Windows","name":"OpSys-Windows","color":"FFFFFF"}],"state":"open","locked":false,"assignee":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-04-11T22:47:41Z","updated_at":"2015-07-24T17:10:20Z","closed_at":null,"body":"Running the test suite on Win7 with VS2010 and Ninja I see these 2 tests fail on occasion:\r\n\r\n```\r\ndebug-internal-64: 150 tests passed, **** 2 tests failed: ****\r\n        code_api|client.annotation-concurrency.bb-truncate-2 \r\n        code_api|client.annotation-concurrency.bb-truncate-1 \r\n```\r\n\r\nMy test output seems to be missing a lot of things:\r\n\r\n```\r\n135,259d134\r\n<       <In context 0 at event 1, the mode changed from 0 to 1>\r\n<       <In context 0 at event 2, the mode changed from 1 to 0>\r\n<       <In context 0 at event 3, the mode changed from 0 to 1>\r\n<       <In context 0 at event 4, the mode changed from 1 to 0>\r\n<       <In context 0 at event 5, the mode changed from 0 to 1>\r\n<       <In context 0 at event 6, the mode changed from 1 to 0>\r\n<       <In context 0 at event 7, the mode changed from 0 to 1>\r\n<       <In context 0 at event 8, the mode changed from 1 to 0>\r\n<       <In context 0 at event 9, the mode changed from 0 to 1>\r\n<       <In context 0 at event 10, the mode changed from 1 to 0>\r\n<       <In context 0 at event 11, the mode changed from 0 to 1>\r\n<       <In context 0 at event 12, the mode changed from 1 to 0>\r\n<       <In context 0 at event 13, the mode changed from 0 to 1>\r\n<many more like this>\r\n```\r\n\r\nIn another suite run, just the -1 test failed.\r\n\r\nWhen run manually I cannot reproduce:\r\n```\r\n% for ((i=0; i<10; i++)); do ctest -R concurrency.bb-truncate-1; done\r\n```\r\n=>\r\nall 10 pass\r\n"},"comment":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/comments/124582788","html_url":"https://github.com/DynamoRIO/dynamorio/issues/1681#issuecomment-124582788","issue_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1681","id":124582788,"user":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T17:10:20Z","updated_at":"2015-07-24T17:10:20Z","body":"On a laptop in the suite these tests are taking under 10s each.  Since it's pretty fast on low-end machines (counter-intuitive) maybe no pressing need to shrink the test, so the plan is to up the timeouts."}}