Author Jason.Vas.Dias
Recipients Jason.Vas.Dias, r.david.murray
Date 2011-04-29.13:53:46
SpamBayes Score 4.27158e-13
Marked as misclassified No
Message-id <1304085229.45.0.620388323651.issue11954@psf.upfronthosting.co.za>
In-reply-to
Content
'make test' failures after 
$ /usr/src/cypython/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared
$ make -j2 && make test
(make test fails)

So, to run in "verbose mode", I do :

$ LD_LIBRARY_PATH=`pwd` LD_PRELOAD=`pwd`/libpython3.so \
./python -Wd -E -bb /usr/src/cpython/Lib/test/regrtest.py -l -v
...
test test_argparse failed -- multiple errors occurred
ok

======================================================================
FAIL: test_failures_many_groups_listargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_many_groups_sysargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_no_groups_listargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_no_groups_sysargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_one_group_listargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_one_group_sysargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
----------------------------------------------------------------------
Ran 1608 tests in 5.199s

FAILED (failures=6)
[ 17/354] test_array
...
======================================================================
ERROR: test_quiet (distutils.tests.test_bdist_rpm.BuildRpmTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/distutils/tests/test_bdist_rpm.py", line 81, in test_quiet
    cmd.run()
  File "/usr/src/cpython/Lib/distutils/command/bdist_rpm.py", line 367, in run
    self.spawn(rpm_cmd)
  File "/usr/src/cpython/Lib/distutils/cmd.py", line 368, in spawn
    spawn(cmd, search_path, dry_run=self.dry_run)
  File "/usr/src/cpython/Lib/distutils/spawn.py", line 34, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/usr/src/cpython/Lib/distutils/spawn.py", line 138, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command 'rpmbuild' failed with exit status 1

----------------------------------------------------------------------
Ran 160 tests in 9.559s

FAILED (errors=2, skipped=5)
[ 94/354] test_docxmlrpc
test_autolink_dotted_methods (test.test_docxmlrpc.DocXMLRPCHTTPGETServer)
Test that selfdot values are made strong automatically in the ... ok
test_autolinking (test.test_docxmlrpc.DocXMLRPCHTTPGETServer)
Test that the server correctly automatically wraps references to ... ok
test_invalid_get_response (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) ... ok
test_lambda (test.test_docxmlrpc.DocXMLRPCHTTPGETServer)
Test that lambda functionality stays the same.  The output produced ... ok
test_system_methods (test.test_docxmlrpc.DocXMLRPCHTTPGETServer)
Test the precense of three consecutive system.* methods. ... ok
test_valid_get_response (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.688s

OK
[ 95/354] test_dummy_thread
...
test_too_high_from_package (test.test_import.RelativeImportFromImportlibTests) ... test test_import failed -- Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))
AssertionError: True is not false

ok

======================================================================
FAIL: test_unwritable_directory (test.test_import.PycacheTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 40 tests in 1.403s

FAILED (failures=1)
[150/354] test_importhooks
testBlocker (test.test_importhooks.ImportHooksTestCase) ... ok
testImpWrapper (test.test_importhooks.ImportHooksTestCase) ... ok
testMetaPath (test.test_importhooks.ImportHooksTestCase) ... ok
testPathHook (test.test_importhooks.ImportHooksTestCase) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.062s

OK
[151/354] test_importlib
test_failure (importlib.test.builtin.test_finder.FinderTests) ... ok
test_too_high_from_package (test.test_import.RelativeImportFromImportlibTests) ... test test_import failed -- Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))
AssertionError: True is not false

ok

======================================================================
FAIL: test_unwritable_directory (test.test_import.PycacheTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 40 tests in 1.403s

FAILED (failures=1)
[150/354] test_importhooks
testBlocker (test.test_importhooks.ImportHooksTestCase) ... ok
testImpWrapper (test.test_importhooks.ImportHooksTestCase) ... ok
testMetaPath (test.test_importhooks.ImportHooksTestCase) ... ok
testPathHook (test.test_importhooks.ImportHooksTestCase) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.062s

OK
[151/354] test_importlib
test_failure (importlib.test.builtin.test_finder.FinderTests) ... ok
test_too_high_from_package (test.test_import.RelativeImportFromImportlibTests) ... test test_import failed -- Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))
AssertionError: True is not false

ok

======================================================================
FAIL: test_unwritable_directory (test.test_import.PycacheTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 40 tests in 1.403s

FAILED (failures=1)
[150/354] test_importhooks
testBlocker (test.test_importhooks.ImportHooksTestCase) ... ok
testImpWrapper (test.test_importhooks.ImportHooksTestCase) ... ok
testMetaPath (test.test_importhooks.ImportHooksTestCase) ... ok
testPathHook (test.test_importhooks.ImportHooksTestCase) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.062s

OK
[151/354] test_importlib
test_failure (importlib.test.builtin.test_finder.FinderTests) ... ok


est_send_whole_file (test.test_os.TestSendfile) ... ok
test_set_get_priority (test.test_os.ProgramPriorityTests) ... test test_os failed -- Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_os.py", line 675, in test_exist_ok_existing_directory
    os.makedirs(path, mode=mode, exist_ok=True)
  File "/usr/src/cpython/Lib/os.py", line 152, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '@test_30733_tmp/dir1'

ok

======================================================================
ERROR: test_exist_ok_existing_directory (test.test_os.MakedirTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_os.py", line 675, in test_exist_ok_existing_directory
    os.makedirs(path, mode=mode, exist_ok=True)
  File "/usr/src/cpython/Lib/os.py", line 152, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '@test_30733_tmp/dir1'

----------------------------------------------------------------------
Ran 91 tests in 1.735s

FAILED (errors=1, skipped=13)
[201/354] test_ossaudiodev

...

test_successes_one_group_sysargs (test.test_argparse.TestTypeUserDefined) ... test test_argparse failed -- multiple errors occurred
ok

======================================================================
FAIL: test_failures_many_groups_listargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_many_groups_sysargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_no_groups_listargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_no_groups_sysargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_one_group_listargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

======================================================================
FAIL: test_failures_one_group_sysargs (test.test_argparse.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/usr/src/cpython/Lib/test/test_argparse.py", line 235, in test_failures
    raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args

----------------------------------------------------------------------
Ran 1608 tests in 5.199s

FAILED (failures=6)
[ 17/354] test_array
test_constructor (test.test_array.BadConstructorTest) ... ok




OK, at least it doesn't SEGV - I guess python doesn't like berkeley
DB anymore - but still the same failures . I'm not confident to
start using this build until I can pin down why eg test_argparse
and test_import are failing.
History
Date User Action Args
2011-04-29 13:53:49Jason.Vas.Diassetrecipients: + Jason.Vas.Dias, r.david.murray
2011-04-29 13:53:49Jason.Vas.Diassetmessageid: <1304085229.45.0.620388323651.issue11954@psf.upfronthosting.co.za>
2011-04-29 13:53:47Jason.Vas.Diaslinkissue11954 messages
2011-04-29 13:53:46Jason.Vas.Diascreate