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_memfd_create() test failure #81279

Closed
jdemeyer opened this issue May 30, 2019 · 2 comments
Closed

test_memfd_create() test failure #81279

jdemeyer opened this issue May 30, 2019 · 2 comments
Labels
3.8 only security fixes 3.9 only security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@jdemeyer
Copy link
Contributor

BPO 37098
Nosy @tiran, @jdemeyer, @ZackerySpytz
PRs
  • bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677) #13677
  • 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 2019-06-05.08:32:19.952>
    created_at = <Date 2019-05-30.07:48:01.984>
    labels = ['3.8', 'type-bug', 'tests', '3.9']
    title = 'test_memfd_create() test failure'
    updated_at = <Date 2019-06-05.08:32:19.952>
    user = 'https://github.com/jdemeyer'

    bugs.python.org fields:

    activity = <Date 2019-06-05.08:32:19.952>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-05.08:32:19.952>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2019-05-30.07:48:01.984>
    creator = 'jdemeyer'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37098
    keywords = ['patch']
    message_count = 2.0
    messages = ['343953', '343959']
    nosy_count = 3.0
    nosy_names = ['christian.heimes', 'jdemeyer', 'ZackerySpytz']
    pr_nums = ['13677']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37098'
    versions = ['Python 3.8', 'Python 3.9']

    @jdemeyer
    Copy link
    Contributor Author

    On an older Linux system:

    ======================================================================
    ERROR: test_memfd_create (test.test_os.MemfdCreateTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/src/cpython/Lib/test/test_os.py", line 3128, in test_memfd_create
        fd = os.memfd_create("Hi", os.MFD_CLOEXEC)
    OSError: [Errno 38] Function not implemented

    @jdemeyer jdemeyer added 3.8 only security fixes 3.9 only security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels May 30, 2019
    @tiran
    Copy link
    Member

    tiran commented May 30, 2019

    New changeset 6eb814b by Christian Heimes in branch 'master':
    bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677)
    6eb814b

    @vstinner vstinner closed this as completed Jun 5, 2019
    @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
    3.8 only security fixes 3.9 only security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants