[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2016-01-15 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2016-01-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8b8ac7adbf49 by Martin Panter in branch '2.7': Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings https://hg.python.org/cpython/rev/8b8ac7adbf49 New changeset c87cc05af8e7 by Martin Panter in branch '3.5': Issue #14771: Redire

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2015-12-06 Thread Martin Panter
Martin Panter added the comment: I found that if you redirect GDB’s stdin if fixes all the problems. I don’t fully understand what GDB is doing to change the terminal’s foreground process group. In my patch I set stdin to a pipe. It is like using DEVNULL, but should be compatible with Python

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2014-06-29 Thread Mark Lawrence
Mark Lawrence added the comment: @Antoine/Serhiy I believe that you'd want to follow up on this. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2013-01-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, and the test_ioctl() method needs to be fixed too. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2013-01-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Given what _check_ioctl_mutate_len() seems to be designed to check, perhaps we should relax: self.assertIn(rpgrp, ids) into: self.assertNotEqual(rpgrp, fill) or perhaps simply: self.assertGreater(rpgrp, 0) -- __

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2013-01-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, I see, that's because of the "Skip if another process is in foreground" thing? -- ___ Python tracker ___ __

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2013-01-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Perhaps we need a possibility to mark a test that it can't run in parallel. > I suspect some multiprocess tests fail for same reason. Well, first I would like to know what the underlying problem is. -j doesn't use multiprocessing, it spawns standalone process

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2013-01-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps we need a possibility to mark a test that it can't run in parallel. I suspect some multiprocess tests fail for same reason. -- ___ Python tracker ___

[issue14771] Occasional failure in test_ioctl when run parallel with test_gdb

2013-01-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch title: Occasional failure in test_ioctl -> Occasional failure in test_ioctl when run parallel with test_gdb versions: +Python 3.4 ___ Python tracker __