Validation fail

Hi,

I am getting a validation fail from cylc8 for some of my workflows – for u-dr496 after editing:

[tetts@puma2 u-dr496]$ cylc vip u-dr496
$ cylc validate /home/n02/n02/tetts/roses/u-dr496
WorkflowConfigError: Invalid event name(s) for [runtime][recon][events]mail events: timeout

I’ve not had this failure before. I tried the same on the u-dr873 (which I ran yesterday though with vr rather than vip) and got a similar error (see below). So, has something changed? I tried commenting out the timeout in cylc.flow but that did not fix it.

[tetts@puma2 roses]$ cylc validate u-dr873
WorkflowConfigError: Invalid event name(s) for [runtime][install_ancil][events]mail events: timeout

I’m getting similar errors from other workflows I have – which are all variations of the UKESM1.1 AMIP workflow.

Simon

The answer is to validate on the directory rather than the job name – at least to test changes to the workflow.

I commented out the timeout on line 172 of flow.cylc

[[[events]]]
mail events = submission retry, retry, submission failed, failed, submission timeout#, timeout
submission timeout = P1D

That seems to have fixed it. Leaving here in case helpful to anyone else. (or till CMS correct me!)

Simon

Hi Simon,

What’s changed is that I updated the default Cylc 8 to version 8.5.0 this morning. This release has stricter syntax checking which is why it is now failing to validate your workflow. As you have seen though it should let you know what you need to update.

Best wishes,

Annette

Hi Annette,

thanks. My fix was a stab in the dark – using grep!

Simon

I’ve just noticed that they have fixed this at Cylc 8.5.1:

#6902 - Invalid workflow events in the mail events or handler events configurations will result in warnings rather than errors.

I will upgrade again - I’m sure it’s going to trip up quite a few workflows!

Annette

Hi Annette,

Just picking up on this given change to 8.5.1 you mention.

When I try to run a copy of u-dr215 straight out the box using ‘cylc vip u-ds483’ I get the below.

$ cylc validate /home/users/j.m.weber.ext/roses/u-ds483

WorkflowConfigError: Invalid event name(s) for [runtime][rose_ana_cristrat_col_atmos_proc][events]mail events: timeout

When I comment out “timeout” on the events section in flow.cylc (as below), the model progresses.

    \[\[\[events\]\]\]

        mail events = submission failed, retry, failed#, timeout

Is that correct?

Cheers,

James