#16474: timeouts in doctests on OS X 10.9
------------------------------+------------------------
Reporter: jhpalmieri | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-6.3
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------+------------------------
Old description:
> There are some timeouts when doctesting on OS X 10.9 (Mavericks). For
> example:
> {{{
> $ ./sage -tp src/doc/en/constructions
>
> ...
> ----------------------------------------------------------------------
> sage -t src/doc/en/constructions/algebraic_geometry.rst # Timed out
> sage -t src/doc/en/constructions/polynomials.rst # Timed out
> ----------------------------------------------------------------------
> }}}
> These seem to be caused by the changes in the Singular/pexpect interface
> from #15631.
New description:
There are frequent timeouts when doctesting on OS X with pexpect
interfaces, in particular Singular. For example:
{{{
$ ./sage -tp src/doc/en/constructions
...
----------------------------------------------------------------------
sage -t src/doc/en/constructions/algebraic_geometry.rst # Timed out
sage -t src/doc/en/constructions/polynomials.rst # Timed out
----------------------------------------------------------------------
}}}
These became much more frequent by the changes in the Singular/pexpect
interface from #15631 on two buildbots:
* OSX 10.9 (Oxford)
* Ubuntu 8.04 (UW)
* This happens mostly during parallel doctesting, and disappers when the
system load is low
Other build bots do not seem to be affected, so its a likely pty kernel
bug.
--
Comment (by vbraun):
I've debugged the issue on OSX 10.9 and when the hang happens
* Singular does print its header and prompt (captured with dtrace)
* Python never sees any output from the subprocess, the first select() in
`pexpect.read_nonblocking` hangs forever.
One way to reduce the likelihood of the hang is to insert a sleep before
first reading from the subproces (in `expect._start`)
--
Ticket URL: <http://trac.sagemath.org/ticket/16474#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.