Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7230] test_hotshot fails on solaris

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Oct 28, 2009, 7:06 AM

Post #1 of 2 (70 views)
Permalink
[issue7230] test_hotshot fails on solaris

New submission from Zsolt Cserna <zsolt.cserna[at]morganstanley.com>:

On sparc/solaris 5.8, test_hotshot fails:

csernazs[at]localhost:/tmp/python2.6$ LD_LIBRARY_PATH=/tmp/python2.6
./python -E -tt ./Lib/test/regrtest.py -v -l test_hotshot

test_hotshot
test_addinfo (test.test_hotshot.HotShotTestCase) ... ok
test_bad_sys_path (test.test_hotshot.HotShotTestCase) ... ok
test_line_numbers (test.test_hotshot.HotShotTestCase) ... ok
test_logreader_eof_error (test.test_hotshot.HotShotTestCase) ... FAIL
test_start_stop (test.test_hotshot.HotShotTestCase) ... ok

======================================================================
FAIL: test_logreader_eof_error (test.test_hotshot.HotShotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/python2.6/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

----------------------------------------------------------------------
Ran 5 tests in 0.037s

FAILED (failures=1)
test test_hotshot failed -- Traceback (most recent call last):
File "/tmp/python2.6/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

1 test failed:
test_hotshot

>From test_hotshot.py:

def test_logreader_eof_error(self):
self.assertRaises((IOError, EOFError), _hotshot.logreader, ".")
gc.collect()

If I run python command-line interpreter, it doesn't raise exception:

>>> import _hotshot
>>> _hotshot.logreader(".")
<_hotshot.LogReaderType object at 0x3f260>
>>>

On intel/linux, this test passes.

----------
components: Library (Lib)
messages: 94628
nosy: csernazs
severity: normal
status: open
title: test_hotshot fails on solaris
type: compile error
versions: Python 2.6

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7230>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Oct 30, 2009, 2:12 PM

Post #2 of 2 (50 views)
Permalink
[issue7230] test_hotshot fails on solaris [In reply to]

Antoine Pitrou <pitrou[at]free.fr> added the comment:

Duplicate of #4698.

----------
nosy: +pitrou
resolution: -> duplicate
status: open -> closed
superseder: -> Solaris buildbot failure on trunk in test_hostshot

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7230>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.