This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, lukasz.langa, vstinner
Date 2012-09-19.12:08:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwYRW9Lat6ih4VgcJDYi-qgCAk8=Yfrq2Cd0Zr_UAtfBOg@mail.gmail.com>
In-reply-to <1348026465.86.0.879721154604.issue15971@psf.upfronthosting.co.za>
Content
Code of the failing test:
----
import faulthandler
import time

def func(timeout, repeat, cancel, file, loops):
    for loop in range(loops):
        faulthandler.dump_tracebacks_later(timeout, repeat=repeat, file=file)
        if cancel:
            faulthandler.cancel_dump_tracebacks_later()
        time.sleep(timeout * 5)  # line 9
        faulthandler.cancel_dump_tracebacks_later()   # line 10

timeout = {timeout}
repeat = {repeat}
cancel = {cancel}
loops = {loops}
if {has_filename}:
    file = open({filename}, "wb")
else:
    file = None
func(timeout, repeat, cancel, file, loops)
if file is not None:
    file.close()
----
If the test fails at line 10: it means that it failed to dump the
traceback in 2.5 seconds, whereas the traceback must be dumped after a
timeout of 0.5 second.

Do you know if the system load of this particular buildbot is high? It
would be nice to have the system load in the output of the buildbot.

We might change the timeout, but it is already long.
History
Date User Action Args
2012-09-19 12:08:30vstinnersetrecipients: + vstinner, ezio.melotti, lukasz.langa
2012-09-19 12:08:29vstinnerlinkissue15971 messages
2012-09-19 12:08:29vstinnercreate