Skip to content

Regression in threads tests on FreeBSD #54817

Closed

Description

#53402 added thread affinity functions jl_getaffinity and jl_setaffinity. The added test fails on FreeBSD:

Error in testset threads:
Test Failed at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-3/julialang/julia-master/julia-58927d885a/share/julia/test/threads.jl:366
  Expression: jl_setaffinity(1, mask, cpumasksize) == 0
   Evaluated: -22 == 0

The return code there in the failing test is EINVAL, meaning an argument is invalid. We could just not run that test on FreeBSD, as is currently done with Windows, but ideally we'd be able to fix the test (or implementation, I guess) to support FreeBSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    multithreadingBase.Threads and related functionalityregressionRegression in behavior compared to a previous versionsystem:freebsdAffects only FreeBSDtestThis change adds or pertains to unit tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions