Skip to content

test_ttk_guionly hangs on XP5 #54140

Closed
Closed

Description

@ocean-city
BPO 9931
Nosy @pfmoore, @db3l, @pitrou
Files
  • py3k_check_if_gui_is_really_available.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 2011-02-27.18:22:10.266>
    created_at = <Date 2010-09-23.20:27:11.124>
    labels = ['tests', 'expert-tkinter', 'OS-windows', 'type-crash']
    title = 'test_ttk_guionly hangs on XP5'
    updated_at = <Date 2011-02-27.18:22:10.264>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2011-02-27.18:22:10.264>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-02-27.18:22:10.266>
    closer = 'pitrou'
    components = ['Tests', 'Tkinter', 'Windows']
    creation = <Date 2010-09-23.20:27:11.124>
    creator = 'ocean-city'
    dependencies = []
    files = ['19492']
    hgrepos = []
    issue_num = 9931
    keywords = ['patch', 'buildbot']
    message_count = 9.0
    messages = ['117230', '120404', '127549', '127556', '127560', '127561', '129581', '129642', '129644']
    nosy_count = 5.0
    nosy_names = ['paul.moore', 'db3l', 'pitrou', 'ocean-city', 'gpolo']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue9931'
    versions = ['Python 3.1', 'Python 3.2']

    Activity

    1. ocean-city commented on Sep 23, 2010

      ocean-citymannequin
      MannequinAuthor

      test_ttk_guionly hangs on x86 XP5 buldbot.
      But it doesn't hang on test_tk. Former shows
      widget but latter doesn't on my machine.

      http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/1348/steps/test/logs/stdio

    2. added
      type-crash
      on Sep 25, 2010
    3. ocean-city commented on Nov 4, 2010

      ocean-citymannequin
      MannequinAuthor

      I've created the patch to fix this. (This patch comes from
      bpo-9055)

    4. pfmoore commented on Jan 30, 2011

      @pfmoore
      Member

      Patch looks good to me. Can this be applied? As a temporary workaround I have set my buildbot to run interactively. Once the fix is applied, I will switch back to running as a service.

    5. db3l commented on Jan 30, 2011

      @db3l
      Contributor

      Perhaps somewhat orthogonal to the patch, but in terms of the original hang issue, does your service definition have the "interact with desktop" option checked? That ought to permit any normal UI processing to take place as if you were running it interactively.

    6. pfmoore commented on Jan 30, 2011

      @pfmoore
      Member

      Perhaps somewhat orthogonal to the patch, but in terms of the original hang issue, does your service definition have the "interact with desktop" option checked?  That ought to permit any normal UI processing to take place as if you were running it interactively.

      It runs as a specific user, not as LocalSystem (and only LocalSystem
      has the "interact with desktop" checkbox, so yes, I think it does...)

    7. db3l commented on Jan 30, 2011

      @db3l
      Contributor

      If I recall correctly, if you're not using localsystem then its much tougher, as by default it won't have access to your interactive desktop, just something internal that you won't see, maybe just a hidden windows station. You're right that the interact setting is only for localsystem.

      It's been many years, but I think I had some code that located and attached to the interactive desktop (if one was currently available) from within a background service that I used in a remote management system. Our remote service (functioned similarly to rshd) also ran under a specific user.

      At least in theory I think you might be able to tweak the local buildbot code to execute any tests from within a child process that does the same thing first. In the end it's only the executing test code that needs the access, not the buildbot itself.

      If I get a chance I'll see if I can scrounge up what I did, but will take that off-line from this ticket since it's a broader question.

    8. pitrou commented on Feb 26, 2011

      @pitrou
      Member

      Committed in r88652 (3.3) and r88655 (3.2). Unfortunately, Paul's buildbot seems a bit stuck in a previous build...
      (I didn't commit to 2.7 since things look fine there)

    9. pfmoore commented on Feb 27, 2011

      @pfmoore
      Member

      Seems to be correctly skipping the test now - failures are because of
      other issues (a load more hg builds means that the buildslave is
      getting a bit tight on space...)

      This change looks fine. Thanks!

    10. pitrou commented on Feb 27, 2011

      @pitrou
      Member

      Ok, great !
      The hg builders are temporary - or, rather, the SVN builders will get removed once the transition is over.

    11. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsteststopic-tkintertype-crash

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions