Using a fresh install of lima-kilo, this happens:
arturo@nostromo:~/git/wmf/cloud/toolforge/jobs-framework-cli $ toolforge-jobs run x --command ./test-cmd.sh --image bullseye WARNING: not running as the tool account? Likely to fail. Perhaps you forgot `become <tool>`? arturo@nostromo:~/git/wmf/cloud/toolforge/jobs-framework-cli $ toolforge-jobs show x WARNING: not running as the tool account? Likely to fail. Perhaps you forgot `become <tool>`? +-------------+------------------------------------------------------------------+ | Job name: | x | +-------------+------------------------------------------------------------------+ | Command: | ./test-cmd.sh | +-------------+------------------------------------------------------------------+ | Job type: | normal | +-------------+------------------------------------------------------------------+ | Image: | bullseye | +-------------+------------------------------------------------------------------+ | File log: | yes | +-------------+------------------------------------------------------------------+ | Output log: | x.out | +-------------+------------------------------------------------------------------+ | Error log: | x.err | +-------------+------------------------------------------------------------------+ | Emails: | none | +-------------+------------------------------------------------------------------+ | Resources: | default | +-------------+------------------------------------------------------------------+ | Retry: | no | +-------------+------------------------------------------------------------------+ | Status: | Failed | +-------------+------------------------------------------------------------------+ | Hints: | Last run at 2023-06-05T15:10:45Z. Pod in 'Failed' phase. State | | | 'terminated'. Reason 'Error'. Started at '2023-06-05T15:10:56Z'. | | | Finished at '2023-06-05T15:10:56Z'. Exit code '2'. | +-------------+------------------------------------------------------------------+ arturo@nostromo:~/git/wmf/cloud/toolforge/jobs-framework-cli $ kubectl -n tool-tf-test get all NAME READY STATUS RESTARTS AGE pod/x-mkzv4 0/1 Error 0 19s NAME COMPLETIONS DURATION AGE job.batch/x 0/1 19s 19s arturo@nostromo:~/git/wmf/cloud/toolforge/jobs-framework-cli $ kubectl -n tool-tf-test logs pod/x-mkzv4 /bin/sh: 1: cannot create x.out: Permission denied
I'm pretty sure this is a regression. This worked before.