Provided the simplest gentest rule possible:
gentest(
name = 'test',
outs = [ "test.log" ],
test_cmd = "touch ${OUT}",
)
If a try to output some files from this target, I get this error:
error moving outputs for target //:test: rule //:test failed to create output plz-out/tmp/test._build/test.log
The error seems to happen before the test_cmd is executed.
The directory plz-out/tmp/test._build/ exists and the permissions are correct.
The logs, even with the maximum verbosity are helpless.
Do you have any clue ?