Skip to content

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

Closed

Description

@cmaloney

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

Activity

  1. added 2 commits that reference this issue on Nov 21, 2024
  2. added 2 commits that reference this issue on Nov 21, 2024
  3. cmaloney commented on Nov 22, 2024

    @cmaloney
    ContributorAuthor

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

  4. mgorny commented on Nov 22, 2024

    @mgorny
    Contributor

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

  5. added 2 commits that reference this issue on Jan 12, 2025
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 dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions