{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/8375","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/8375/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/8375/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/8375/events","html_url":"https://github.com/nodejs/node/issues/8375","id":174659104,"number":8375,"title":"AIX: parallel/test-stdio-closed","user":{"login":"mhdawson","id":9373002,"avatar_url":"https://avatars.githubusercontent.com/u/9373002?v=3","gravatar_id":"","url":"https://api.github.com/users/mhdawson","html_url":"https://github.com/mhdawson","followers_url":"https://api.github.com/users/mhdawson/followers","following_url":"https://api.github.com/users/mhdawson/following{/other_user}","gists_url":"https://api.github.com/users/mhdawson/gists{/gist_id}","starred_url":"https://api.github.com/users/mhdawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhdawson/subscriptions","organizations_url":"https://api.github.com/users/mhdawson/orgs","repos_url":"https://api.github.com/users/mhdawson/repos","events_url":"https://api.github.com/users/mhdawson/events{/privacy}","received_events_url":"https://api.github.com/users/mhdawson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/process","name":"process","color":"00aaff"},{"url":"https://api.github.com/repos/nodejs/node/labels/test","name":"test","color":"990099"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-09-02T00:59:59Z","updated_at":"2016-09-08T18:32:55Z","closed_at":null,"body":"Version: master\r\nPlatform: AIX\r\nSubsystem: io\r\n\r\nparallel/test-stdio-closed fails on AIX, pulling this out of https://github.com/nodejs/node/issues/7973 to avoid confusion since issues are not related.\r\n\r\n```\r\nnot ok 855 parallel/test-stdio-closed # TODO : Fix flaky test\r\n# \r\n# assert.js:85\r\n#   throw new assert.AssertionError({\r\n#   ^\r\n# AssertionError: 1 == 42\r\n#     at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/test/parallel/test-stdio-closed.js:25:10)\r\n#     at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/test/common.js:416:15)\r\n#     at emitTwo (events.js:106:13)\r\n#     at ChildProcess.emit (events.js:191:7)\r\n#     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\r\n  ---\r\n  duration_ms: 0.378\r\n  ...\r\n```"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/245694640","html_url":"https://github.com/nodejs/node/issues/8375#issuecomment-245694640","issue_url":"https://api.github.com/repos/nodejs/node/issues/8375","id":245694640,"user":{"login":"addaleax","id":899444,"avatar_url":"https://avatars.githubusercontent.com/u/899444?v=3","gravatar_id":"","url":"https://api.github.com/users/addaleax","html_url":"https://github.com/addaleax","followers_url":"https://api.github.com/users/addaleax/followers","following_url":"https://api.github.com/users/addaleax/following{/other_user}","gists_url":"https://api.github.com/users/addaleax/gists{/gist_id}","starred_url":"https://api.github.com/users/addaleax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addaleax/subscriptions","organizations_url":"https://api.github.com/users/addaleax/orgs","repos_url":"https://api.github.com/users/addaleax/repos","events_url":"https://api.github.com/users/addaleax/events{/privacy}","received_events_url":"https://api.github.com/users/addaleax/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T18:32:55Z","updated_at":"2016-09-08T18:32:55Z","body":"> Is it possible that behavior of `fstat()` on a closed stream is undefined, so AIX and Linux are both right to do what they do?\r\n\r\n`man 3posix fstat` (aka http://pubs.opengroup.org/onlinepubs/009695399/functions/fstat.html, which I *think* is authoritative) says:\r\n\r\n```\r\nERRORS\r\n       The fstat() function shall fail if:\r\n\r\n       EBADF  The fildes argument is not a valid file descriptor.\r\n```\r\n\r\nSo, yes, that may be a bug in AIX then. I could also imagine that something in the background opens another FD before the `fstat()` call is executed? Like, the pthread operations or the `setvbuf()` calls in `node_main.cc`?"}}
{"actor":{"display_login":"addaleax"}}