<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/libregrtest, branch refactor-lambda-parameters</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-39983: Add test.support.print_warning() (GH-19683)</title>
<updated>2020-04-23T17:03:52+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-23T17:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d663d34685e18588748569468c672763f4c73b3e'/>
<id>d663d34685e18588748569468c672763f4c73b3e</id>
<content type='text'>
Log "Warning -- ..." test warnings into sys.__stderr__ rather than
sys.stderr, to ensure to display them even if sys.stderr is captured.

test.libregrtest.utils.print_warning() now calls
test.support.print_warning().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Log "Warning -- ..." test warnings into sys.__stderr__ rather than
sys.stderr, to ensure to display them even if sys.stderr is captured.

test.libregrtest.utils.print_warning() now calls
test.support.print_warning().</pre>
</div>
</content>
</entry>
<entry>
<title>regrtest: log timeout at startup (GH-19514)</title>
<updated>2020-04-14T16:29:44+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-14T16:29:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4cf65a630a8d45bad3fe5cdc4c2632ec64e7ba27'/>
<id>4cf65a630a8d45bad3fe5cdc4c2632ec64e7ba27</id>
<content type='text'>
Reduce also worker timeout.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce also worker timeout.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989)</title>
<updated>2019-11-19T23:46:49+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-11-19T23:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b'/>
<id>e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b</id>
<content type='text'>
When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.

For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.

For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38614: Add timeout constants to test.support (GH-16964)</title>
<updated>2019-10-30T11:41:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-30T11:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=24c6258269acd842914450f55491690ba87dded9'/>
<id>24c6258269acd842914450f55491690ba87dded9</id>
<content type='text'>
Add timeout constants to test.support:

* LOOPBACK_TIMEOUT
* INTERNET_TIMEOUT
* SHORT_TIMEOUT
* LONG_TIMEOUT</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add timeout constants to test.support:

* LOOPBACK_TIMEOUT
* INTERNET_TIMEOUT
* SHORT_TIMEOUT
* LONG_TIMEOUT</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38502: regrtest uses process groups if available (GH-16829)</title>
<updated>2019-10-18T13:49:08+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-18T13:49:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ecb035cd14c11521276343397151929a94018a22'/>
<id>ecb035cd14c11521276343397151929a94018a22</id>
<content type='text'>
test.regrtest now uses process groups in the multiprocessing mode
(-jN command line option) if process groups are available: if
os.setsid() and os.killpg() functions are available.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test.regrtest now uses process groups in the multiprocessing mode
(-jN command line option) if process groups are available: if
os.setsid() and os.killpg() functions are available.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37531: regrtest now catchs ProcessLookupError (GH-16827)</title>
<updated>2019-10-16T22:29:12+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-16T22:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a661392f8fb5ac4fc095aa1845d1eb7a25c4e9be'/>
<id>a661392f8fb5ac4fc095aa1845d1eb7a25c4e9be</id>
<content type='text'>
Fix a warning on a race condition on TestWorkerProcess.kill(): ignore
silently ProcessLookupError rather than logging an useless warning.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a warning on a race condition on TestWorkerProcess.kill(): ignore
silently ProcessLookupError rather than logging an useless warning.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37531: regrtest ignores output on timeout (GH-16659)</title>
<updated>2019-10-08T16:45:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-08T16:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0ec618af98ac250a91ee9c91f8569e6df6772758'/>
<id>0ec618af98ac250a91ee9c91f8569e6df6772758</id>
<content type='text'>
bpo-37531, bpo-38207: On timeout, regrtest no longer attempts to call
`popen.communicate() again: it can hang until all child processes
using stdout and stderr pipes completes. Kill the worker process and
ignores its output.

Reenable test_regrtest.test_multiprocessing_timeout().

bpo-37531: Change also the faulthandler timeout of the main process
from 1 minute to 5 minutes, for Python slowest buildbots.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-37531, bpo-38207: On timeout, regrtest no longer attempts to call
`popen.communicate() again: it can hang until all child processes
using stdout and stderr pipes completes. Kill the worker process and
ignores its output.

Reenable test_regrtest.test_multiprocessing_timeout().

bpo-37531: Change also the faulthandler timeout of the main process
from 1 minute to 5 minutes, for Python slowest buildbots.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36670: Enhance regrtest (GH-16556)</title>
<updated>2019-10-03T14:15:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-03T14:15:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=098e25672f1c3578855d5ded4f5147795c9ed956'/>
<id>098e25672f1c3578855d5ded4f5147795c9ed956</id>
<content type='text'>
* Add log() method: add timestamp and load average prefixes
  to main messages.
* WindowsLoadTracker:

  * LOAD_FACTOR_1 is now computed using SAMPLING_INTERVAL
  * Initialize the load to the arithmetic mean of the first 5 values
    of the Processor Queue Length value (so over 5 seconds), rather
    than 0.0.
  * Handle BrokenPipeError and when typeperf exit.

* format_duration(1.5) now returns '1.5 sec', rather than
  '1 sec 500 ms'</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add log() method: add timestamp and load average prefixes
  to main messages.
* WindowsLoadTracker:

  * LOAD_FACTOR_1 is now computed using SAMPLING_INTERVAL
  * Initialize the load to the arithmetic mean of the first 5 values
    of the Processor Queue Length value (so over 5 seconds), rather
    than 0.0.
  * Handle BrokenPipeError and when typeperf exit.

* format_duration(1.5) now returns '1.5 sec', rather than
  '1 sec 500 ms'</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36670: Enhance regrtest WindowsLoadTracker (GH-16553)</title>
<updated>2019-10-03T08:53:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-03T08:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c65119d5bfded03f80a9805889391b66fa7bf551'/>
<id>c65119d5bfded03f80a9805889391b66fa7bf551</id>
<content type='text'>
The last line is now passed to the parser even if it does not end
with a newline, but only if it's a valid value.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last line is now passed to the parser even if it does not end
with a newline, but only if it's a valid value.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550)</title>
<updated>2019-10-02T23:04:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-02T23:04:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3e04cd268ee9a57f95dc78d8974b21a6fac3f666'/>
<id>3e04cd268ee9a57f95dc78d8974b21a6fac3f666</id>
<content type='text'>
WindowsLoadTracker.read_output() now uses a short buffer for
incomplete line.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WindowsLoadTracker.read_output() now uses a short buffer for
incomplete line.</pre>
</div>
</content>
</entry>
</feed>
