[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2019-05-21 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests:  -13384

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2019-05-21 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests:  -10550

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2019-05-21 Thread Matthias Bussonnier


Change by Matthias Bussonnier :


--
pull_requests: +13384

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-24 Thread Tal Einat


Change by Tal Einat :


--
pull_requests: +10550

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread STINNER Victor


STINNER Victor  added the comment:

Follow-up: bpo-35425, "test_eintr fails randomly on AMD64 FreeBSD 10-STABLE 
Non-Debug 3.7: TypeError: 'int' object is not callable".

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread miss-islington


miss-islington  added the comment:


New changeset 3f0e8e225e2275d22c4bd2e8f8f212b6a8b849aa by Miss Islington (bot) 
in branch '3.6':
bpo-35363: test_eintr uses print(flush=True) (GH-10990)
https://github.com/python/cpython/commit/3f0e8e225e2275d22c4bd2e8f8f212b6a8b849aa


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread miss-islington


miss-islington  added the comment:


New changeset 560fa4db17983ce37c1453c057901c627b2c3abc by Miss Islington (bot) 
in branch '3.7':
bpo-35363: test_eintr uses print(flush=True) (GH-10990)
https://github.com/python/cpython/commit/560fa4db17983ce37c1453c057901c627b2c3abc


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10233

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 0644b33821b70efbf0ac1ec1fb8729b05796564a by Victor Stinner in 
branch 'master':
bpo-35363: test_eintr uses print(flush=True) (GH-10990)
https://github.com/python/cpython/commit/0644b33821b70efbf0ac1ec1fb8729b05796564a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10232

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-06 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +10230

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-05 Thread miss-islington


miss-islington  added the comment:


New changeset 4699f2aa26b2f8befa77852e0c6fba0b474a2748 by Miss Islington (bot) 
in branch '3.6':
bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965)
https://github.com/python/cpython/commit/4699f2aa26b2f8befa77852e0c6fba0b474a2748


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-05 Thread miss-islington


miss-islington  added the comment:


New changeset 0fc3b2fe010e42a8c146fb84924e9fd33c6f4e29 by Miss Islington (bot) 
in branch '3.7':
bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965)
https://github.com/python/cpython/commit/0fc3b2fe010e42a8c146fb84924e9fd33c6f4e29


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-05 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10208

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-05 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10209

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-05 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset aa8ae904ad2f576f8e7b38a9a6542d3e9a569be9 by Victor Stinner in 
branch 'master':
bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965)
https://github.com/python/cpython/commit/aa8ae904ad2f576f8e7b38a9a6542d3e9a569be9


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-05 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +10207

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 93d038c91dc3075dd34b41ce6b6fb4ea07fbb8c3 by Victor Stinner in 
branch '3.6':
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) (GH-10912)
https://github.com/python/cpython/commit/93d038c91dc3075dd34b41ce6b6fb4ea07fbb8c3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset c93e3b05d5672dc9e8d6e2f2dce332799d5b95d2 by Victor Stinner in 
branch '3.7':
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) (GH-10911)
https://github.com/python/cpython/commit/c93e3b05d5672dc9e8d6e2f2dce332799d5b95d2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +10151

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +10150

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 4752e65250bce60b97d5af702d586092d02fbf58 by Victor Stinner in 
branch 'master':
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896)
https://github.com/python/cpython/commit/4752e65250bce60b97d5af702d586092d02fbf58


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10139

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10138

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +10136
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-04 Thread STINNER Victor


STINNER Victor  added the comment:

Oh. That's just a variant of the old bpo-25234.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-11-30 Thread STINNER Victor


STINNER Victor  added the comment:

I stopped my manual test after 71 iterations.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-11-30 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +pablogsal

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-11-30 Thread STINNER Victor


STINNER Victor  added the comment:

I'm unable to reproduce the bug on macOS 10.13.6 using:

   ./python.exe -m test -F test_eintr --timeout=60


I modified the test to display immediately result into stdout:

diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py
index 25f86d3..47b89d3 100644
--- a/Lib/test/test_eintr.py
+++ b/Lib/test/test_eintr.py
@@ -1,6 +1,8 @@
 import os
+import sys
 import signal
 import unittest
+import subprocess
 
 from test import support
 from test.support import script_helper
@@ -15,7 +17,9 @@ class EINTRTests(unittest.TestCase):
 # thread (for reliable signal delivery).
 tester = support.findfile("eintr_tester.py", subdir="eintrdata")
 # use -u to try to get the full output if the test hangs or crash
-script_helper.assert_python_ok("-u", tester)
+proc = subprocess.run([sys.executable, "-u", tester, "-v"])
+if proc.returncode:
+self.fail("fail")
 
 
 if __name__ == "__main__":

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-11-30 Thread STINNER Victor


New submission from STINNER Victor :

test_open() of test_eintr hangs randomly on x86-64 El Capitan 3.x buildbot. 
test_eintr failed but then passed when run again.

pythoninfo:

platform.platform: Darwin-15.6.0-x86_64-i386-64bit  # macOS 10.11 (El Capitan)


https://buildbot.python.org/all/#/builders/93/builds/1574

test_all (test.test_eintr.EINTRTests) ... FAIL

==
FAIL: test_all (test.test_eintr.EINTRTests)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/test_eintr.py",
 line 18, in test_all
script_helper.assert_python_ok("-u", tester)
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/support/script_helper.py",
 line 157, in assert_python_ok
return _assert_python(True, *args, **env_vars)
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/support/script_helper.py",
 line 143, in _assert_python
res.fail(cmd_line)
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/support/script_helper.py",
 line 70, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: 
['/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/python.exe', '-X', 
'faulthandler', '-I', '-u', 
'/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/eintrdata/eintr_tester.py']

stdout:
---

---

stderr:
---
ss.s.ss.Timeout (0:10:00)!
Thread 0x7fff7c082000 (most recent call first):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/eintrdata/eintr_tester.py",
 line 349 in python_open
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/eintrdata/eintr_tester.py",
 line 345 in _test_open
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/support/__init__.py",
 line 596 in wrapper
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/eintrdata/eintr_tester.py",
 line 353 in test_open
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/case.py",
 line 642 in run
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/case.py",
 line 702 in __call__
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/suite.py",
 line 122 in run
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/suite.py",
 line 84 in __call__
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/suite.py",
 line 122 in run
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/suite.py",
 line 84 in __call__
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/runner.py",
 line 176 in run
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/main.py",
 line 271 in runTests
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/unittest/main.py",
 line 101 in __init__
  File 
"/Users/buildbot/buildarea/3.x.billenstein-elcapitan/build/Lib/test/eintrdata/eintr_tester.py",
 line 527 in 
---

--

Ran 1 test in 605.488s

FAILED (failures=1)
Warning -- files was modified by test_eintr
  Before: []
  After:  ['@test_57532_tmp'] 
test test_eintr failed

--
components: Tests
messages: 330795
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com