GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — FileIO Strace test fails on Gentoo (test_fileio test_syscalls_read) · Issue #127076 · python/cpython

FileIO Strace test fails on Gentoo (test_fileio test_syscalls_read)  #127076

New issue
Copy link
New issue
Copy link
Closed
Closed
FileIO Strace test fails on Gentoo (test_fileio test_syscalls_read) #127076
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@cmaloney
cmaloney
opened on Nov 20, 2024
Issue body actions

Bug report

Bug description:

Initially reported in PR comments: #123413

There looks like three cases to investigate/work on from this:

  1. Gentoo + musl -> there is an extra mmap call
  2. Gentoo + sandbox -> many additional calls (Probably an environment to disable in if can detect)
  3. Should there be a more general switch to disable?

relates to: gh-120754

My first thought for 1 is mmap could generally be filtered out (it has shown up moderately frequently in my testing on other systems, generally used for memory allocation in wrapping). Working on setting up a Gentoo environment to test / experiment / investigate locally and develop patches.

cc: @mgorny, @vstinner, @gpshead, @hauntsaninja

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

  • gh-127076: Disable strace tests under LD_PRELOAD #127086
  • gh-127076: Ignore memory mmap in FileIO testing #127088

Activity

  1. cmaloney
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Nov 20, 2024
  2. cmaloney
    added 2 commits that reference this issue on Nov 21, 2024

    pythongh-127076: Disable strace tests under LD_PRELOAD

    460958b

    pythongh-127076: Disable strace tests under LD_PRELOAD

    b335875
  3. picnixz
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Nov 21, 2024
  4. vstinner
    added 2 commits that reference this issue on Nov 21, 2024

    gh-127076: Disable strace tests under LD_PRELOAD (#127086)

    ff2278e

    gh-127076: Ignore memory mmap in FileIO testing (#127088)

    46f8a7b
  5. cmaloney commented on Nov 22, 2024

    @cmaloney
    cmaloney
    on Nov 22, 2024
    ContributorAuthor
    More actions

    @mgorny good to close / Gentoo build working with latest main (and hopefully that will mean with next alpha as well)?

  6. mgorny commented on Nov 22, 2024

    @mgorny
    mgorny
    on Nov 22, 2024
    Contributor
    More actions

    Yes, looks like these tests now pass on musl, and are skipped in sandbox. Thanks a lot!

    Reacted by Cody Maloney
  7. cmaloney
    closed this as completedon Nov 22, 2024
  8. ebonnal
    added 2 commits that reference this issue on Jan 12, 2025

    pythongh-127076: Disable strace tests under LD_PRELOAD (python#127086)

    983d258

    pythongh-127076: Ignore memory mmap in FileIO testing (python#127088)

    085a520
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

    testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.