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_tkinter sporadic skipped on "x86 Tiger 3.x" buildbot #63853

Closed
vstinner opened this issue Nov 19, 2013 · 9 comments
Closed

test_tkinter sporadic skipped on "x86 Tiger 3.x" buildbot #63853

vstinner opened this issue Nov 19, 2013 · 9 comments

Comments

@vstinner
Copy link
Member

BPO 19654
Nosy @db3l, @ronaldoussoren, @vstinner, @ned-deily, @serhiy-storchaka
Files
  • test_tcl_patchlevel.patch
  • 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 2015-03-18.11:08:09.793>
    created_at = <Date 2013-11-19.13:44:01.062>
    labels = ['OS-mac', 'expert-tkinter']
    title = 'test_tkinter sporadic skipped on "x86 Tiger 3.x" buildbot'
    updated_at = <Date 2015-03-18.11:08:09.792>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2015-03-18.11:08:09.792>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-03-18.11:08:09.793>
    closer = 'vstinner'
    components = ['macOS', 'Tkinter']
    creation = <Date 2013-11-19.13:44:01.062>
    creator = 'vstinner'
    dependencies = []
    files = ['32707']
    hgrepos = []
    issue_num = 19654
    keywords = ['patch', 'buildbot']
    message_count = 9.0
    messages = ['203374', '203383', '203417', '203493', '203495', '203656', '204319', '209877', '209974']
    nosy_count = 6.0
    nosy_names = ['db3l', 'ronaldoussoren', 'vstinner', 'ned.deily', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue19654'
    versions = ['Python 3.4']

    @vstinner
    Copy link
    Member Author

    http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/7331/steps/test/logs/stdio

    ======================================================================
    FAIL: test_debug (tkinter.test.test_tkinter.test_text.TextTest)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/test_tkinter/test_text.py", line 22, in test_debug
        self.assertEqual(text.debug(), 0)
    AssertionError: '0' != 0

    ======================================================================
    FAIL: test_insertborderwidth (tkinter.test.test_tkinter.test_widgets.EntryTest)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/test_tkinter/test_widgets.py", line 329, in test_insertborderwidth
        self.checkPixelsParam(widget, 'insertborderwidth', 0, 1.3, -2)
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/widget_tests.py", line 167, in checkPixelsParam
        conv=conv1, **kwargs)
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/widget_tests.py", line 57, in checkParam
        self.assertEqual2(widget[name], expected, eq=eq)
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/widget_tests.py", line 41, in assertEqual2
        self.assertEqual(actual, expected, msg)
    AssertionError: 0 != 1

    ======================================================================
    FAIL: test_insertborderwidth (tkinter.test.test_tkinter.test_widgets.SpinboxTest)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/test_tkinter/test_widgets.py", line 329, in test_insertborderwidth
        self.checkPixelsParam(widget, 'insertborderwidth', 0, 1.3, -2)
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/widget_tests.py", line 167, in checkPixelsParam
        conv=conv1, **kwargs)
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/widget_tests.py", line 57, in checkParam
        self.assertEqual2(widget[name], expected, eq=eq)
      File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/widget_tests.py", line 41, in assertEqual2
        self.assertEqual(actual, expected, msg)
    AssertionError: 0 != 1

    @ned-deily
    Copy link
    Member

    There's something odd going on with that buildbot. The failures are from Serhly's new tests. For 10.4 Tiger, the buildbot should be running Tk 8.4. It does seem to have a third-party Tcl and Tk installed in /Library/Frameworks, which is good, but the logs don't show exactly what patch level it is. David, can you identify what patch levels of Tcl and Tk are installed? more /Library/Frameworks/Tcl.framework/tclConfig.sh /Library/Frameworks/Tk.framework/tkConfig.sh should work.

    @serhiy-storchaka
    Copy link
    Member

    We can add a print for a patchlevel.

    @vstinner
    Copy link
    Member Author

    The failures are sporadic, I don't understand how the tests can pass sometimes...

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 20, 2013

    New changeset 74b76a726285 by Serhiy Storchaka in branch '3.3':
    Print Tk patchlevel in test_tcl in verbose mode (bpo-19654).
    http://hg.python.org/cpython/rev/74b76a726285

    New changeset 1b58f14f5d60 by Serhiy Storchaka in branch 'default':
    Print Tk patchlevel in test_tcl in verbose mode (bpo-19654).
    http://hg.python.org/cpython/rev/1b58f14f5d60

    New changeset 78c906600183 by Serhiy Storchaka in branch '2.7':
    Print Tk patchlevel in test_tcl in verbose mode (bpo-19654).
    http://hg.python.org/cpython/rev/78c906600183

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 21, 2013

    New changeset cfbd894f1df1 by Serhiy Storchaka in branch '3.3':
    Print Tk patchlevel in Tk and Ttk tests in verbose mode (bpo-19654).
    http://hg.python.org/cpython/rev/cfbd894f1df1

    New changeset cf8ac1272e07 by Serhiy Storchaka in branch 'default':
    Print Tk patchlevel in Tk and Ttk tests in verbose mode (bpo-19654).
    http://hg.python.org/cpython/rev/cf8ac1272e07

    New changeset 08f282c96fd1 by Serhiy Storchaka in branch '2.7':
    Print Tk patchlevel in Tk and Ttk tests in verbose mode (bpo-19654).
    http://hg.python.org/cpython/rev/08f282c96fd1

    @vstinner
    Copy link
    Member Author

    http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/7408/steps/test/logs/stdio

    patchlevel = 8.4.19

    Does it help to know the full version?

    @ned-deily
    Copy link
    Member

    The failures in test_tk here are the same ones documented in bpo-19761 for Tk 8.4 so this issue could be closed as a duplicate of that one. The mystery remains why test_tk appears to alternately pass and fail on this buildbot. I don't see why it doesn't always fail.

    @serhiy-storchaka
    Copy link
    Member

    The mystery remains why test_tk appears to alternately pass and fail on this buildbot. I don't see why it doesn't always fail.

    test_tk not fails in case when it is just skipped. And why it is sporadic skipped, this is very interesting question.

    @serhiy-storchaka serhiy-storchaka changed the title test_tkinter sporadic failures on "x86 Tiger 3.x" buildbot test_tkinter sporadic skipped on "x86 Tiger 3.x" buildbot Feb 2, 2014
    @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
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants