[New-bugs-announce] [issue4506] 3.0 make test failures on Solaris 10

Skip Montanaro report at bugs.python.org
Wed Dec 3 22:00:24 CET 2008


New submission from Skip Montanaro <skip at pobox.com>:

I downloaded the 3.0 tarfile and did a straightforward

    configure
    make
    make test

on Solaris 10 and got several test failures:

    290 tests OK.
    4 tests failed:
        test_cmath test_math test_posix test_subprocess

Here's the output for just the failing tests:

    test test_cmath failed -- Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-3.0/Lib/test/test_cmath.py", line 336,
      in test_specific_values
        self.fail('OverflowError not raised in test %s' % test_str)
    AssertionError: OverflowError not raised in test exp0052: exp(complex(710.0,
    1.5))

    test test_math failed -- errors occurred; run in verbose mode for details

    test test_posix failed -- Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-3.0/Lib/test/test_posix.py", line 252,
      in test_getcwd_long_pathnames
        support.rmtree(base_path)
      File "/home/tuba/skipm/src/Python-3.0/Lib/test/support.py", line 98, in
      rmtree    shutil.rmtree(path)
      File "/home/tuba/skipm/src/Python-3.0/Lib/shutil.py", line 225, in rmtree
        onerror(os.rmdir, path, sys.exc_info())
      File "/home/tuba/skipm/src/Python-3.0/Lib/shutil.py", line 223, in rmtree
        os.rmdir(path)
    OSError: [Errno 22] Invalid argument:
    '/home/tuba/skipm/src/Python-3.0/@test.getcwd'

    Could not find platform independent libraries <prefix>
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    Fatal Python error: Py_Initialize: can't initialize sys standard streams
    ImportError: No module named encodings.utf_8
    .
        this bit of output is from a test of stdout in a different process ...
    test test_subprocess failed -- Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-3.0/Lib/test/test_subprocess.py", line
      115, in test_executable
        self.assertEqual(p.returncode, 47)
    AssertionError: -6 != 47

Here's the test_math output run through regrtest with the -v option:

    ======================================================================
    FAIL: testLog (test.test_math.MathTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-3.0/Lib/test/test_math.py", line 510, in
      testLog
        self.assertRaises(ValueError, math.log, NINF)
    AssertionError: ValueError not raised by log

    ======================================================================
    FAIL: testLog10 (test.test_math.MathTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/tuba/skipm/src/Python-3.0/Lib/test/test_math.py", line 532, in
      testLog10
        self.assertRaises(ValueError, math.log10, NINF)
    AssertionError: ValueError not raised by log10

    ----------------------------------------------------------------------
    Ran 39 tests in 0.294s

Skip

----------
messages: 76839
nosy: skip.montanaro
severity: normal
status: open
title: 3.0 make test failures on Solaris 10

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4506>
_______________________________________


More information about the New-bugs-announce mailing list