I just restarted the jobs-emailer pod, it seemed to be ignoring all events :/,

I created a task to alert when there's no emails sent in 1h, and start an
investigation on why it got stuck (https://phabricator.wikimedia.org/T396850).

It should start sending emails anew, if you see any more issues feel free to
add to the task too so we look at it.

Cheers!


On 06/13 08:30, Sebastian Berlin wrote:
> I don't receive any emails from Toolforge jobs for the
> tool commonsdb-registry. I've followed the instructions under
> Help:Toolforge/Jobs
> framework#Job email notifications
> <https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework#Job_email_notifications>.
> I've verified that manually sending emails to
> [email protected] works.
> 
> Is there something I'm missing to get the job emails to work?
> 
> Here are the commands I ran:
> $ toolforge jobs run myjob --command "echo apa" --image bullseye --emails
> onfinish
> $ toolforge jobs show myjob
> +---------------+----------------------------------------------------------------------+
> | Job name:     | myjob
>            |
> +---------------+----------------------------------------------------------------------+
> | Command:      | echo apa
>             |
> +---------------+----------------------------------------------------------------------+
> | Job type:     | one-off
>            |
> +---------------+----------------------------------------------------------------------+
> | Image:        | bullseye
>             |
> +---------------+----------------------------------------------------------------------+
> | Port:         | none
>             |
> +---------------+----------------------------------------------------------------------+
> | File log:     | yes
>            |
> +---------------+----------------------------------------------------------------------+
> | Output log:   | /data/project/commonsdb-registry/myjob.out
>             |
> +---------------+----------------------------------------------------------------------+
> | Error log:    | /data/project/commonsdb-registry/myjob.err
>             |
> +---------------+----------------------------------------------------------------------+
> | Emails:       | onfinish
>             |
> +---------------+----------------------------------------------------------------------+
> | Resources:    | mem: 0.5Gi, cpu: 0.5
>             |
> +---------------+----------------------------------------------------------------------+
> | Replicas:     |
>            |
> +---------------+----------------------------------------------------------------------+
> | Mounts:       | all
>            |
> +---------------+----------------------------------------------------------------------+
> | Retry:        | no
>             |
> +---------------+----------------------------------------------------------------------+
> | Timeout:      | no
>             |
> +---------------+----------------------------------------------------------------------+
> | Health check: | none
>             |
> +---------------+----------------------------------------------------------------------+
> | Status:       | Completed
>            |
> +---------------+----------------------------------------------------------------------+
> | Hints:        | Last run at 2025-06-13T06:06:35Z. Pod in 'Succeeded'
> phase. State    |
> |               | 'terminated'. Reason 'Completed'. Started at
> '2025-06-13T06:06:37Z'. |
> |               | Finished at '2025-06-13T06:06:37Z'. Exit code '0'.
>             |
> +---------------+----------------------------------------------------------------------+
> 
> 
> *Sebastian Berlin*
> Utvecklare/*Developer*
> Wikimedia Sverige (WMSE)
> 
> E-post/*E-Mail*: [email protected]
> Telefon/*Phone*: (+46) 0707 - 92 03 84

> _______________________________________________
> Cloud mailing list -- [email protected]
> List information: 
> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/


-- 
David Caro
SRE - Cloud Services
Wikimedia Foundation <https://wikimediafoundation.org/>
PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3

"Imagine a world in which every single human being can freely share in the
sum of all knowledge. That's our commitment."

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Cloud mailing list -- [email protected]
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to