Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_hotshot fails on solaris #51479

Closed
csernazs mannequin opened this issue Oct 28, 2009 · 2 comments
Closed

test_hotshot fails on solaris #51479

csernazs mannequin opened this issue Oct 28, 2009 · 2 comments
Labels
build The build process and cross-build stdlib Python modules in the Lib dir

Comments

@csernazs
Copy link
Mannequin

csernazs mannequin commented Oct 28, 2009

BPO 7230
Nosy @csernazs, @pitrou
Superseder
  • bpo-4698: Solaris buildbot failure on trunk in test_hostshot
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2009-10-30.21:12:51.804>
    created_at = <Date 2009-10-28.14:06:06.080>
    labels = ['build', 'library']
    title = 'test_hotshot fails on solaris'
    updated_at = <Date 2009-10-30.21:12:51.801>
    user = 'https://github.com/csernazs'

    bugs.python.org fields:

    activity = <Date 2009-10-30.21:12:51.801>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-10-30.21:12:51.804>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2009-10-28.14:06:06.080>
    creator = 'csernazs'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 7230
    keywords = []
    message_count = 2.0
    messages = ['94628', '94726']
    nosy_count = 2.0
    nosy_names = ['csernazs', 'pitrou']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '4698'
    type = 'compile error'
    url = 'https://bugs.python.org/issue7230'
    versions = ['Python 2.6']

    @csernazs
    Copy link
    Mannequin Author

    csernazs mannequin commented Oct 28, 2009

    On sparc/solaris 5.8, test_hotshot fails:

    csernazs@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.

    @csernazs csernazs mannequin added stdlib Python modules in the Lib dir build The build process and cross-build labels Oct 28, 2009
    @pitrou
    Copy link
    Member

    pitrou commented Oct 30, 2009

    Duplicate of bpo-4698.

    @pitrou pitrou closed this as completed Oct 30, 2009
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    build The build process and cross-build stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant