#11705: Port Sage to SUSE Linux Power 7 (ppc64).
-------------------------------------------------+-------------------------
Reporter: was | Owner: drkirkby
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.1
Component: porting | Resolution:
Keywords: sd32 sd35.5 | Merged in:
Authors: Paul Zimmermann, Jeroen | Reviewers:
Demeyer | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: #12829, #12832, #14098, |
#14151 |
-------------------------------------------------+-------------------------
Comment (by fbissey):
I still got the failures in special.py on sles11sp1. I have another
amusing one that I can produce at will:
{{{
sage -t --long src/sage/tests/cmdline.py
**********************************************************************
File "src/sage/tests/cmdline.py", line 467, in
sage.tests.cmdline.test_executable
Failed example:
ret, err
Expected:
(0, '')
Got:
(1, 'Traceback (most recent call last):\n File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/src/bin/sage-dev", line 334, in
<module>\n parser = parser_from_object(DEV)\n File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/src/bin/sage-dev", line 258, in
parser_from_object\n parser = argparse.ArgumentParser(*args, **kwds)\n
File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/local/lib/python/argparse.py",
line 1600, in __init__\n help=_(\'show this help message and exit\'))\n
File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/local/lib/python/argparse.py",
line 1291, in add_argument\n self._get_formatter()._format_args(action,
None)\n File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/local/lib/python/argparse.py",
line 2314, in _get_formatter\n return
self.formatter_class(prog=self.prog)\n File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/src/bin/sage-dev", line 37, in
__init__\n width=DEV._sagedev._UI._get_dimensions()[1]-2, *args,
**kwds)\n File
"/hpc/scratch/frb15/sandbox/sage-6.1.beta3/local/lib/python2.7/site-
packages/sage/dev/cmd_line_interface.py", line 264, in _get_dimensions\n
fd = os.open(os.ctermid(), os.O_RDONLY)\nOSError: [Errno 6] No such device
or address: \'/dev/tty\'\n')
**********************************************************************
File "src/sage/tests/cmdline.py", line 474, in
sage.tests.cmdline.test_executable
Failed example:
('usage: sage-dev' in out) or ('Developer interface disabled' in out)
Expected:
True
Got:
False
**********************************************************************
1 item had failures:
2 of 210 in sage.tests.cmdline.test_executable
[209 tests, 2 failures, 136.44 s]
}}}
For a little bit of background, I used a compute node to build/run the
test suite. Which means that the testing was submitted as a batch job
using loadleveler (a batch queue manager from IBM). loadleveler starts
jobs without a tty which cause these errors. testing from the command line
proper the failures just disappear.
--
Ticket URL: <http://trac.sagemath.org/ticket/11705#comment:179>
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/groups/opt_out.