Steps to replicate the issue (include links if applicable):
My MilHistBot and AussieBit Dotnet bots are failing.
What happens?:
I get an email that reads:
We wanted to notify you about the activity of some jobs in the 'milhistbot' Toolforge tool.
- Job 'conflicts' (cronjob) (emails: onfailure) had 1 events:
- Pod 'conflicts-29287005-mhg47'. Phase: 'failed'. Container state: 'terminated'. Start timestamp 2025-09-07T04:46:03Z. Finish timestamp 2025-09-07T04:46:03Z. Exit code was '2'. With reason 'Error'.
If you requested 'filelog' for any of the jobs mentioned above, you may find additional information about what happened in the associated log files. Check them from Toolforge bastions as usual.
What should have happened instead?:
I do not get any automatically generated log files. The configuration is like this:
tools.milhistbot@tools-bastion-13:~$ toolforge jobs show conflicts +---------------+------------------------------------------+ | Job name: | conflicts | +---------------+------------------------------------------+ | Command: | web -f -n=500 | +---------------+------------------------------------------+ | Job type: | schedule: 45 4 * * * | +---------------+------------------------------------------+ | Image: | tool-milhistbot/conflicts:latest | +---------------+------------------------------------------+ | Port: | none | +---------------+------------------------------------------+ | File log: | yes | +---------------+------------------------------------------+ | Output log: | logs/conflicts.stdout.log | +---------------+------------------------------------------+ | Error log: | logs/conflicts.stderr.log | +---------------+------------------------------------------+ | Emails: | onfailure | +---------------+------------------------------------------+ | Resources: | mem: 0.5Gi, cpu: 0.5 | +---------------+------------------------------------------+ | Replicas: | | +---------------+------------------------------------------+ | Mounts: | all | +---------------+------------------------------------------+ | Retry: | no | +---------------+------------------------------------------+ | Timeout: | no | +---------------+------------------------------------------+ | Health check: | none | +---------------+------------------------------------------+ | Status: | Last schedule time: 2025-09-07T04:45:00Z | +---------------+------------------------------------------+ | Hints: | No pods were created for this job. | +---------------+------------------------------------------+
The jobs are configured internally to write to a log file. This does not happen.
They are also configured internally to email me on errors. This does not occur either.
if I run the job manually with
toolforge jobs run --image tool-milhistbot/conflicts:latest --mount=all --command "web -f -n=100" conflicts2
It runs okay
Any advice would be greatly appreciated
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):