← 输入框|github.com|刷新
Skip to content

test_eintr.test_os_open hangs under Xcode 7 #69421

Closed

Description

@brettcannon
BPO 25234
Nosy @brettcannon, @ronaldoussoren, @vstinner, @ned-deily, @vadmium
PRs
  • bpo-35208: Fix IDLE Squeezer line counting #10449
  • bpo-35208: Fix IDLE Squeezer line counting #10449
  • 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 = 'https://github.com/brettcannon'
    closed_at = <Date 2016-01-22.23:56:16.166>
    created_at = <Date 2015-09-25.19:41:19.347>
    labels = ['OS-mac', 'type-bug']
    title = 'test_eintr.test_os_open hangs under Xcode 7'
    updated_at = <Date 2019-05-21.21:24:57.813>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2019-05-21.21:24:57.813>
    actor = 'ned.deily'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2016-01-22.23:56:16.166>
    closer = 'brett.cannon'
    components = ['macOS']
    creation = <Date 2015-09-25.19:41:19.347>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25234
    keywords = []
    message_count = 14.0
    messages = ['251597', '251647', '251650', '253084', '253099', '253101', '256280', '256315', '256337', '257155', '258351', '258399', '258848', '259150']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ronaldoussoren', 'vstinner', 'ned.deily', 'python-dev', 'martin.panter']
    pr_nums = ['10449', '10449']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25234'
    versions = ['Python 3.5', 'Python 3.6']

    Activity

    1. brettcannon commented on Sep 25, 2015

      @brettcannon
      MemberAuthor

      Specifically:
      Apple LLVM version 7.0.0 (clang-700.0.72)
      Target: x86_64-apple-darwin14.5.0
      Thread model: posix

      I'm assuming this is a Mac issue since none of the buildbots are having a similar issue.

    2. ned-deily commented on Sep 26, 2015

      @ned-deily
      Member

      Brett, was this on OS X 10.10.x or a 10.11 pre-release? test_eintr does not fail fail for me on either using the most recent Xcode 7.

    3. changed the title [-]test_einter.test_os_open hangs under Xcode 7[/-] [+]test_eintr.test_os_open hangs under Xcode 7[/+] on Sep 26, 2015
    4. brettcannon commented on Sep 26, 2015

      @brettcannon
      MemberAuthor

      It is 10.10, but apparently a reboot fixed it (software, am I right? =/ ).

    5. brettcannon commented on Oct 16, 2015

      @brettcannon
      MemberAuthor

      This is still an intermittent problem for me. Maybe it's related to issue bpo-25122 ?

    6. vstinner commented on Oct 16, 2015

      @vstinner
      Member

      Hi Brett, if you are motivated, you can try the C program that I wrote to reproduce the bug on FreeBSD. It's attached to bpo-25122. If the C program hangs too, it would mean that Darwin has also a bug (same bug??) in its code to handle signals in the code handling FIFO devices.

      Or you can just add a skip mentioning this issue.

      On my FreeBSD VM, it took a few minutes and multiples instances of the C program to reproduce the bug. On physical machines, other reported that a seconds and a single instance is enough. Well, see the FreeBSD bug report for more information ;-)

    7. brettcannon commented on Oct 16, 2015

      @brettcannon
      MemberAuthor

      I can't get your testing program to compile, Victor, so if I run into it again I will add a skip to the test (harder to detect that it's the same test since test_eintr runs another test suite as if it's a single test).

    8. vadmium commented on Dec 12, 2015

      @vadmium
      Member

      The Yosemite ICC 3.5 buildbot seems to be intermittently hanging test_os_open() and test_open(). Currently it shows five builds. Build 396 hung at test_os_open(); build 400 hung at test_open(), and the other three passed.

      http://buildbot.python.org/all/builders/x86-64%20Yosemite%20ICC%20Debug%203.5

      Slave information
      Buildbot-Slave 0.8.12
      OSX 10.10.3 (Yosemite) Mac Mini VMWare VM 2x2.86 GHz 8GB

    9. brettcannon commented on Dec 13, 2015

      @brettcannon
      MemberAuthor

      I'm still getting the occasional hang for this so I'm going to skip the test under OS X.

    10. self-assigned this
      on Dec 13, 2015
    11. vstinner commented on Dec 13, 2015

      @vstinner
      Member

      I'm still getting the occasional hang for this so I'm going to skip the test under OS X.

      Go ahead. I'm not interested to analyze bugs of closed source kernels.

    12. python-dev commented on Dec 29, 2015

      python-devmannequin
      Mannequin

      New changeset 7fc1296d1acf by Brett Cannon in branch 'default':
      Issue bpo-25234: Skip test_eintr.test_os_open under OS X.
      https://hg.python.org/cpython/rev/7fc1296d1acf

    13. vadmium commented on Jan 16, 2016

      @vadmium
      Member

      Brett, do you think you should also skip test_open()? The same buildbot recently failed again in that method.

    14. brettcannon commented on Jan 16, 2016

      @brettcannon
      MemberAuthor

      Sure, that test can be skipped as well if it is hanging.

    15. python-dev commented on Jan 22, 2016

      python-devmannequin
      Mannequin

      New changeset 9d65a195246b by Brett Cannon in branch 'default':
      Issue bpo-25234: Skip test_eintr.test_open() under OS X to avoid hanging
      https://hg.python.org/cpython/rev/9d65a195246b

    16. python-dev commented on Jan 28, 2016

      python-devmannequin
      Mannequin

      New changeset ddce15b21c21 by Victor Stinner in branch '3.5':
      Backport fixes on test_eintr
      https://hg.python.org/cpython/rev/ddce15b21c21

    17. 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

    Labels

    OS-mactype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions