{"action":"created","issue":{"url":"https://api.github.com/repos/nanomsg/nanomsg/issues/361","labels_url":"https://api.github.com/repos/nanomsg/nanomsg/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/nanomsg/nanomsg/issues/361/comments","events_url":"https://api.github.com/repos/nanomsg/nanomsg/issues/361/events","html_url":"https://github.com/nanomsg/nanomsg/issues/361","id":54117513,"number":361,"title":"Windows VS2010. Intermittent test failure in timeo","user":{"login":"nickva","id":211822,"avatar_url":"https://avatars.githubusercontent.com/u/211822?v=3","gravatar_id":"","url":"https://api.github.com/users/nickva","html_url":"https://github.com/nickva","followers_url":"https://api.github.com/users/nickva/followers","following_url":"https://api.github.com/users/nickva/following{/other_user}","gists_url":"https://api.github.com/users/nickva/gists{/gist_id}","starred_url":"https://api.github.com/users/nickva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickva/subscriptions","organizations_url":"https://api.github.com/users/nickva/orgs","repos_url":"https://api.github.com/users/nickva/repos","events_url":"https://api.github.com/users/nickva/events{/privacy}","received_events_url":"https://api.github.com/users/nickva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-12T22:37:20Z","updated_at":"2015-11-09T19:11:52Z","closed_at":null,"body":"Test fails intermittently. Maybe 1 in 10 times.\r\n\r\nContext of code that fails (timeo.c):\r\n\r\n```\r\nrc = nn_recv (s, buf, sizeof (buf), 0);\r\nelapsed = nn_stopwatch_term (&stopwatch);\r\nerrno_assert (rc < 0 && nn_errno () == EAGAIN);\r\ntime_assert (elapsed, 100000); // <- FAILS HERE\r\n```\r\n\r\nOpening in debugger and inspecting local variable shows these values:\r\n```\r\nelapsed = 90536\r\nrc = -1\r\n```\r\n\r\nAnother time elapsed was 94034\r\n\r\nAdditional info:\r\n\r\nCommit:\r\n  git hash 6a333ae616c9dd1893c2a47e2b5a8b52b433fa77 (Dec 17, 2014)\r\n\r\nWindows 7,  VS2010 SP1,  x64"},"comment":{"url":"https://api.github.com/repos/nanomsg/nanomsg/issues/comments/155159371","html_url":"https://github.com/nanomsg/nanomsg/issues/361#issuecomment-155159371","issue_url":"https://api.github.com/repos/nanomsg/nanomsg/issues/361","id":155159371,"user":{"login":"gdamore","id":1295229,"avatar_url":"https://avatars.githubusercontent.com/u/1295229?v=3","gravatar_id":"","url":"https://api.github.com/users/gdamore","html_url":"https://github.com/gdamore","followers_url":"https://api.github.com/users/gdamore/followers","following_url":"https://api.github.com/users/gdamore/following{/other_user}","gists_url":"https://api.github.com/users/gdamore/gists{/gist_id}","starred_url":"https://api.github.com/users/gdamore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdamore/subscriptions","organizations_url":"https://api.github.com/users/gdamore/orgs","repos_url":"https://api.github.com/users/gdamore/repos","events_url":"https://api.github.com/users/gdamore/events{/privacy}","received_events_url":"https://api.github.com/users/gdamore/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T19:11:52Z","updated_at":"2015-11-09T19:11:52Z","body":"Yeah, I'd be inclined to believe that tcp_shutdown test is causing cascade failures. "}}