This test passes reliably by itself.
However, if you run the test while the piglit suite is running, it will quickly generate a gpu hang.
To reproduce: in one window, execute the test in a loop:
$ for ((;;)) do arb_compute_shader-render-and-compute -auto -fbo; done
Run `dmesg -w` to watch for gpu hangs
In a second window, run piglit. GPU Hang will be produced within a few tests.
This gpu hang does not reproduce when testing Ken's pcx-3 branch, which reimplements all pipe control rules.
I followed the above steps on two different stepping Icelake systems but I couldn't reproduce it.
I can reproduce on ICL-01, ICL-02, and ICL-06 (C stepping).
I was finally able to reproduce the hang with longer run time on ICL systems. A recent finding is that disabling preemption in kernel fixes this hang. I didn't get a hang with preemption disabled and the test running overnight with piglit.
I also didn't get the hang on some of the older installed kernels on my ICL systems.