Setting SCHED_FIFO on ARM64 runner


for my tests to run correctly, I need to set on the thread the SCHED_FIFO policy. I tried it by passing --cap-add=sys_nice on Docker run command (which should run the container with the right capability and call to sched_setscheduler() should be possible).

However, it seems that in the environment of Arm64 runner it fails. (On Amd64 runner all is well and the policy is set.)

Is there any way how to set the policy in Arm64 runner?


This is probably impossible in an LXD container. Check out this newly available full VM environment for ARM64:

1 Like