#9297: Test failures of Python (2.6.4.p9) on Solaris 10 SPARC (32-bit)
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.4
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Old description:
> == Hardware & associated software ==
>
> * Sun Blade 1000
> * 2 x 900 MHz UltraSPARC III+ CPUs
> * 2 GB RAM
> * Solaris 10 03/2005 (first release of Solaris 10)
> * gcc 4.4.3 (uses Sun linker and Sun assembler)
> * Sage 4.4.4.alpha1
> * #9041 to allow Python to build _socket. (Not needed on SPARC, but it
> was applied)
> * #9295 to permit Python test suite to build.
>
> == Background ==
> Although Sage 4.4.4.alpha1 builds fully on Solaris 10 (SPARC), there are
> some test failures of the Python test suite, which are discovered if
> SAGE_CHECK is exported to "yes", and #9295 included in Sage, which allows
> SAGE_CHECK to work with Python.
>
> == Summary of test results ==
> {{{
> 322 tests OK.
> 5 tests failed:
> test_distutils test_float test_hotshot test_multiprocessing
> test_sunaudiodev
> 38 tests skipped:
> test_aepack test_al test_applesingle test_bsddb test_bsddb185
> test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
> test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
> test_epoll test_gdbm test_gl test_imgfile test_kqueue
> test_linuxaudiodev test_macos test_macostools test_normalization
> test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
> test_smtpnet test_socketserver test_ssl test_startfile test_tcl
> test_timeout test_urllib2net test_urllibnet test_winreg
> test_winsound test_zipfile64
> 2 skips unexpected on sunos5:
> test_tcl test_ssl
> }}}
> == Individual test failures ==
> {{{
> test test_distutils failed -- errors occurred; run in verbose mode for
> details
>
> test test_float failed -- Traceback (most recent call last):
> File
> "/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_float.py",
> line 765, in test_roundtrip
> self.identical(-x, roundtrip(-x))
> File
> "/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_float.py",
> line 375, in identical
> self.fail('%r not identical to %r' % (x, y))
> AssertionError: -0.0 not identical to 0.0
>
> test_hotshot
> test test_hotshot failed -- Traceback (most recent call last):
> File
> "/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_hotshot.py",
> line 130, in test_logreader_eof_error
> self.assertRaises((IOError, EOFError), _hotshot.logreader, ".")
> AssertionError: (<type 'exceptions.IOError'>, <type
> 'exceptions.EOFError'>) not raised
>
> test_multiprocessing
> test test_multiprocessing failed -- Traceback (most recent call last):
> File
> "/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_multiprocessing.py",
> line 1666, in test_import
> __import__(name)
> File
> "/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/multiprocessing/reduction.py",
> line 29, in <module>
> raise ImportError('pickling of connections not supported')
> ImportError: pickling of connections not supported
>
> test test_sunaudiodev failed -- (13, 'Permission denied', '/dev/audio')
> }}}
New description:
== Hardware & associated software ==
* Sun Blade 1000
* 2 x 900 MHz UltraSPARC III+ CPUs
* 2 GB RAM
* Solaris 10 03/2005 (first release of Solaris 10)
* gcc 4.4.3 (uses Sun linker and Sun assembler)
* Sage 4.4.4.alpha1
* #9041 to allow Python to build _socket. (Not needed on SPARC, but it
was applied)
* #9295 to permit Python test suite to build.
== Background ==
Although Sage 4.4.4.alpha1 builds fully on Solaris 10 (SPARC), there are
some test failures of the Python test suite, which are discovered if
SAGE_CHECK is exported to "yes", and #9295 included in Sage, which allows
SAGE_CHECK to work with Python.
== Summary of test results ==
Here are the summary of the test results. Although there are the same
number of failures as observed on !OpenSolaris x64 (64-bit), the failures
are not always the same - there are some unique to !OpenSolaris and some
unique to Solaris 10. See #9299 for the !OpenSolaris x64 (64-bit) failures
of Python.
{{{
322 tests OK.
5 tests failed:
test_distutils test_float test_hotshot test_multiprocessing
test_sunaudiodev
38 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_epoll test_gdbm test_gl test_imgfile test_kqueue
test_linuxaudiodev test_macos test_macostools test_normalization
test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
test_smtpnet test_socketserver test_ssl test_startfile test_tcl
test_timeout test_urllib2net test_urllibnet test_winreg
test_winsound test_zipfile64
2 skips unexpected on sunos5:
test_tcl test_ssl
}}}
== Individual test failures ==
{{{
test test_distutils failed -- errors occurred; run in verbose mode for
details
test test_float failed -- Traceback (most recent call last):
File
"/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_float.py",
line 765, in test_roundtrip
self.identical(-x, roundtrip(-x))
File
"/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_float.py",
line 375, in identical
self.fail('%r not identical to %r' % (x, y))
AssertionError: -0.0 not identical to 0.0
test_hotshot
test test_hotshot failed -- Traceback (most recent call last):
File
"/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_hotshot.py",
line 130, in test_logreader_eof_error
self.assertRaises((IOError, EOFError), _hotshot.logreader, ".")
AssertionError: (<type 'exceptions.IOError'>, <type
'exceptions.EOFError'>) not raised
test_multiprocessing
test test_multiprocessing failed -- Traceback (most recent call last):
File
"/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/test/test_multiprocessing.py",
line 1666, in test_import
__import__(name)
File
"/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src/Lib/multiprocessing/reduction.py",
line 29, in <module>
raise ImportError('pickling of connections not supported')
ImportError: pickling of connections not supported
test test_sunaudiodev failed -- (13, 'Permission denied', '/dev/audio')
}}}
--
Comment(by drkirkby):
Note, #8440 was supposed to fix a failure of _multiprocessing to build,
but it may be that whilst that fix allowed it to build, it does not
actually work correctly.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9297#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.