Skip to content

FEXLinuxTests_32/cpu_count.32 sometimes returns incorrect CPU count #5247

@Sonicadvance1

Description

@Sonicadvance1
/home/buildbot/actions-runner/_work/FEX/FEX/unittests/FEXLinuxTests/tests/cpu/cpu_count.cpp:98: FAILED:
  CHECK( core_info->max_addressible_ids >= hw_concurrency )
with expansion:
  14 >= 139

Seems to always be the 32-bit test?

hw_concurrency is calculated with std::thread::hardware_concurrency() so it's entirely within libstdc++/glibc with the implementation.
I thought initially that this was from memory corruption, because it seemed to occur more frequently on the solidrun runners.

But it also happened on mac-mini-3 which I wouldn't have expected memory corruption on. So maybe some syscall is getting interrupted and we aren't doing EINTR or something correctly?

Super inconsistent so it would be hard to nail down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions