[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-26 Thread STINNER Victor

STINNER Victor added the comment:

I reverted my Tools/buildbot/test.bat change on all branches.

I checked that --timeout is now properly set on the Gentoo Refleaks and Windows 
Refleaks buildbots on 3.5, 3.6 and master branches.

So this issue is now fixed!

--
resolution:  -> fixed
stage:  -> 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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

STINNER Victor added the comment:


New changeset f50a3b1e7a74f3132d6b5e1afc793ace6de7e631 by Victor Stinner in 
branch '3.5':
Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2226)" (#2247)
https://github.com/python/cpython/commit/f50a3b1e7a74f3132d6b5e1afc793ace6de7e631


--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

STINNER Victor added the comment:


New changeset 2d98c5354239e600cc4f799feabc9cb44666118e by Victor Stinner in 
branch 'master':
Revert "bpo-30673: test.bat: add -t option (timeout) (#2211)" (#2245)
https://github.com/python/cpython/commit/2d98c5354239e600cc4f799feabc9cb44666118e


--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

STINNER Victor added the comment:


New changeset 085a57a8d63b3c8057b5f793518e3d04179710a1 by Victor Stinner in 
branch '3.6':
Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246)
https://github.com/python/cpython/commit/085a57a8d63b3c8057b5f793518e3d04179710a1


--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2294

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

STINNER Victor added the comment:

> Oh wait, it seems like I misunderstood how Tools/buildbot/test.bat works: 
> unknown parameters as passed as if to regrtest. So it wasn't needed to add a 
> new -t option, using --timeout should just work.

Right, --timeout already worked... I just checked the buildbots.

So I created 3 PR to revert my change to remove my -t parameter :-)

--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2293

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-16 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2295

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

STINNER Victor added the comment:

Oh wait, it seems like I misunderstood how Tools/buildbot/test.bat works: 
unknown parameters as passed as if to regrtest. So it wasn't needed to add a 
new -t option, using --timeout should just work.

There were two bugs in the buildbot configuration:

* the default timeout was not set if no explicit timeout was configured per 
buildbot
* the timeout was not set on the class used by the "AMD64 Windows8.1 Refleaks 
3.x" buildbot

My following configuration change (already deployed on buildbot) fixes these 
two issues:
https://github.com/python/buildmaster-config/commit/cb5a90724c6a5e316f3b4f8c862bbda142cafc8d

--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

STINNER Victor added the comment:

I added the -t options to 3.5, 3.6 and master (3.7) branches.

I have a small issue: in Python 2.7, regrtest has no --timeout option. In 
Python 3, the timeout was implemented using faulthandler, module which was 
added to Python 3.3.

I guess that we can handle 2.7 special case in the buildbot configuration.

--
versions: +Python 3.5, Python 3.6

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

STINNER Victor added the comment:


New changeset ab4ea09604ea7754a80e4fc36280f5772bf4a8b2 by Victor Stinner in 
branch '3.5':
bpo-30673: test.bat: add -t option (timeout) (#2211) (#2226)
https://github.com/python/cpython/commit/ab4ea09604ea7754a80e4fc36280f5772bf4a8b2


--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

STINNER Victor added the comment:


New changeset e064d4dfeda09fd206653697b70b434e98cc1b57 by Victor Stinner in 
branch '3.6':
bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)
https://github.com/python/cpython/commit/e064d4dfeda09fd206653697b70b434e98cc1b57


--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2271

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2270

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

STINNER Victor added the comment:


New changeset 258bfc462b1e58689b43f662a10e44ece3a10bef by Victor Stinner in 
branch 'master':
bpo-30673: test.bat: add -t option (timeout) (#2211)
https://github.com/python/cpython/commit/258bfc462b1e58689b43f662a10e44ece3a10bef


--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2255

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

STINNER Victor added the comment:

The goal is to fix this failure:

http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Refleaks%203.x/builds/29/steps/test/logs/stdio

Re-running test 'test_largefile' in verbose mode
(...)
test_lseek (test.test_largefile.CLargeFileTest) ... ok
test_osstat (test.test_largefile.CLargeFileTest) ... ok
test_seek_read (test.test_largefile.CLargeFileTest) ... ok
test_seekable (test.test_largefile.CLargeFileTest) ... ok
test_truncate (test.test_largefile.CLargeFileTest) ... ok
test_lseek (test.test_largefile.PyLargeFileTest) ... Timeout (0:20:00)!
Thread 0x032c (most recent call first):
  File "D:\buildarea\3.x.ware-win81-release.refleak\build\lib\_pyio.py", line 
1617 in write
  File "D:\buildarea\3.x.ware-win81-release.refleak\build\lib\_pyio.py", line 
1220 in _flush_unlocked
  File "D:\buildarea\3.x.ware-win81-release.refleak\build\lib\_pyio.py", line 
1213 in flush
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\test_largefile.py", 
line 37 in setUp
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\case.py", line 
601 in run
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\case.py", line 
653 in __call__
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\suite.py", line 
122 in run
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\suite.py", line 
84 in __call__
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\suite.py", line 
122 in run
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\suite.py", line 
84 in __call__
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\suite.py", line 
122 in run
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\suite.py", line 
84 in __call__
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\unittest\runner.py", 
line 176 in run
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\support\__init__.py",
 line 1896 in _run_suite
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\support\__init__.py",
 line 1936 in run_unittest
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py",
 line 164 in test_runner
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\refleak.py",
 line 84 in dash_R
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py",
 line 167 in runtest_inner
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py",
 line 129 in runtest
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\main.py",
 line 262 in rerun_failed_tests
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\main.py",
 line 506 in _main
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\main.py",
 line 480 in main
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\libregrtest\main.py",
 line 544 in main
  File 
"D:\buildarea\3.x.ware-win81-release.refleak\build\lib\test\__main__.py", line 
2 in 
  File "D:\buildarea\3.x.ware-win81-release.refleak\build\lib\runpy.py", line 
85 in _run_code
  File "D:\buildarea\3.x.ware-win81-release.refleak\build\lib\runpy.py", line 
193 in _run_module_as_main

--

___
Python tracker 

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



[issue30673] Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 Refleaks 3.x" buildbot

2017-06-15 Thread STINNER Victor

New submission from STINNER Victor:

I need this option to increase the timeout (currently of 20 min) per test file 
on the "AMD64 Windows8.1 Refleaks 3.x" buildbot. We already changed the 
buildbot timeout (timeout x 10 for refleaks tests):
https://github.com/python/buildmaster-config/commit/77316bfe4a5428650d1b120c32d9d65fa69e9c8f

The test step on this buildbot takes 2h30. On the same buildbot slave server, 
the "AMD64 Windows8.1 Non-Debug 3.x" buildbot takes less than 20 min for the 
whole "step" step!

For the "x86 Gentoo Refleaks 3.x" buildbot, the buildbot timeout is 12000 
seconds and the regrtest timeout is 11700 seconds. But on Windows, we don't 
support "regrtest timeout" yet, it's currently hardcoded to 20 min.

--
components: Tests, Windows
messages: 296080
nosy: haypo, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Add -t option (timeout) to Tools/buildbot/test.bat for "AMD64 Windows8.1 
Refleaks 3.x" buildbot
versions: Python 3.7

___
Python tracker 

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