{"action":"created","issue":{"url":"https://api.github.com/repos/tylerb/graceful/issues/60","repository_url":"https://api.github.com/repos/tylerb/graceful","labels_url":"https://api.github.com/repos/tylerb/graceful/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/tylerb/graceful/issues/60/comments","events_url":"https://api.github.com/repos/tylerb/graceful/issues/60/events","html_url":"https://github.com/tylerb/graceful/issues/60","id":138742245,"number":60,"title":"TestNotifyClosed: bind: address already in use","user":{"login":"petercolberg","id":5453048,"avatar_url":"https://avatars.githubusercontent.com/u/5453048?v=3","gravatar_id":"","url":"https://api.github.com/users/petercolberg","html_url":"https://github.com/petercolberg","followers_url":"https://api.github.com/users/petercolberg/followers","following_url":"https://api.github.com/users/petercolberg/following{/other_user}","gists_url":"https://api.github.com/users/petercolberg/gists{/gist_id}","starred_url":"https://api.github.com/users/petercolberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercolberg/subscriptions","organizations_url":"https://api.github.com/users/petercolberg/orgs","repos_url":"https://api.github.com/users/petercolberg/repos","events_url":"https://api.github.com/users/petercolberg/events{/privacy}","received_events_url":"https://api.github.com/users/petercolberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-06T01:32:32Z","updated_at":"2016-03-07T23:22:07Z","closed_at":null,"body":"The test suite frequently fails using v1.2.4 with Go 1.6 on Linux x86_64 with the following output:\r\n```\r\ngo test -v gopkg.in/tylerb/graceful.v1\r\n=== RUN   TestGracefulRun\r\n--- PASS: TestGracefulRun (1.25s)\r\n=== RUN   TestGracefulRunTimesOut\r\n--- PASS: TestGracefulRunTimesOut (2.60s)\r\n=== RUN   TestGracefulRunDoesntTimeOut\r\n--- PASS: TestGracefulRunDoesntTimeOut (2.00s)\r\n=== RUN   TestGracefulRunNoRequests\r\n--- PASS: TestGracefulRunNoRequests (1.00s)\r\n=== RUN   TestGracefulForwardsConnState\r\n--- PASS: TestGracefulForwardsConnState (2.25s)\r\n=== RUN   TestGracefulExplicitStop\r\n--- PASS: TestGracefulExplicitStop (1.10s)\r\n=== RUN   TestGracefulExplicitStopOverride\r\n--- PASS: TestGracefulExplicitStopOverride (1.10s)\r\n=== RUN   TestBeforeShutdownAndShutdownInitiatedCallbacks\r\n--- PASS: TestBeforeShutdownAndShutdownInitiatedCallbacks (1.10s)\r\n=== RUN   TestNotifyClosed\r\n--- FAIL: TestNotifyClosed (0.00s)\r\n        graceful_test.go:362: listen tcp :9654: bind: address already in use\r\n=== RUN   TestStopDeadlock\r\n--- PASS: TestStopDeadlock (1.00s)\r\n=== RUN   TestStopRace\r\n--- PASS: TestStopRace (1.00s)\r\nFAIL\r\nexit status 1\r\nFAIL    gopkg.in/tylerb/graceful.v1     14.415s\r\n```"},"comment":{"url":"https://api.github.com/repos/tylerb/graceful/issues/comments/193501170","html_url":"https://github.com/tylerb/graceful/issues/60#issuecomment-193501170","issue_url":"https://api.github.com/repos/tylerb/graceful/issues/60","id":193501170,"user":{"login":"petercolberg","id":5453048,"avatar_url":"https://avatars.githubusercontent.com/u/5453048?v=3","gravatar_id":"","url":"https://api.github.com/users/petercolberg","html_url":"https://github.com/petercolberg","followers_url":"https://api.github.com/users/petercolberg/followers","following_url":"https://api.github.com/users/petercolberg/following{/other_user}","gists_url":"https://api.github.com/users/petercolberg/gists{/gist_id}","starred_url":"https://api.github.com/users/petercolberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercolberg/subscriptions","organizations_url":"https://api.github.com/users/petercolberg/orgs","repos_url":"https://api.github.com/users/petercolberg/repos","events_url":"https://api.github.com/users/petercolberg/events{/privacy}","received_events_url":"https://api.github.com/users/petercolberg/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T23:22:07Z","updated_at":"2016-03-07T23:22:07Z","body":"Another failure using the same test environment:\r\n```\r\n        go test -v -run ^Test\\(GracefulRun\\[A-Z\\]\\|Before\\|Stop\\) gopkg.in/tylerb/graceful.v1\r\n=== RUN   TestGracefulRunTimesOut\r\n--- PASS: TestGracefulRunTimesOut (2.60s)\r\n=== RUN   TestGracefulRunDoesntTimeOut\r\n--- FAIL: TestGracefulRunDoesntTimeOut (1.20s)\r\n        graceful_test.go:44: No response when a response was expected.\r\n=== RUN   TestGracefulRunNoRequests\r\n--- PASS: TestGracefulRunNoRequests (1.00s)\r\n=== RUN   TestBeforeShutdownAndShutdownInitiatedCallbacks\r\n--- PASS: TestBeforeShutdownAndShutdownInitiatedCallbacks (1.10s)\r\n=== RUN   TestStopDeadlock\r\n--- PASS: TestStopDeadlock (1.00s)\r\n=== RUN   TestStopRace\r\n--- PASS: TestStopRace (1.00s)\r\nFAIL\r\nexit status 1\r\nFAIL    gopkg.in/tylerb/graceful.v1     7.910s\r\n```\r\n\r\nThis looks like a race condition. Do you think it’s in the tests or the package itself?"}}