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_eintr.test_os_open hangs under Xcode 7 #69421

Closed
brettcannon opened this issue Sep 25, 2015 · 14 comments
Closed

test_eintr.test_os_open hangs under Xcode 7 #69421

brettcannon opened this issue Sep 25, 2015 · 14 comments
Assignees
Labels
OS-mac type-bug An unexpected behavior, bug, or error

Comments

@brettcannon
Copy link
Member

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']

    @brettcannon
    Copy link
    Member Author

    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.

    @brettcannon brettcannon added OS-mac type-bug An unexpected behavior, bug, or error labels Sep 25, 2015
    @ned-deily
    Copy link
    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.

    @ned-deily ned-deily changed the title test_einter.test_os_open hangs under Xcode 7 test_eintr.test_os_open hangs under Xcode 7 Sep 26, 2015
    @brettcannon
    Copy link
    Member Author

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

    @brettcannon
    Copy link
    Member Author

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

    @vstinner
    Copy link
    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 ;-)

    @brettcannon
    Copy link
    Member Author

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

    @vadmium
    Copy link
    Member

    vadmium commented Dec 12, 2015

    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

    @brettcannon
    Copy link
    Member Author

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

    @brettcannon brettcannon self-assigned this Dec 13, 2015
    @vstinner
    Copy link
    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.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Dec 29, 2015

    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

    @vadmium
    Copy link
    Member

    vadmium commented Jan 16, 2016

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

    @brettcannon
    Copy link
    Member Author

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

    @brettcannon brettcannon reopened this Jan 16, 2016
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jan 22, 2016

    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

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jan 28, 2016

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

    @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
    OS-mac type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants