Skip to content

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

Closed
@cmaloney

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

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