The test case was aimed at checking languages where we have fibers. When allocation profiling is active, we can be on a stack different form the thread.
This was causing crashes in ddprof DataDog/ddprof#213
Symbols are also interesting in Julia. Symbols are published in a .debug folder. Test case should be adapted once these are processed.
allow_first_profile_failure tolerates the first CPU profile cycle when JIT
symbols are not yet exported to .debug/jit on CI (stacks match 0%).