Description of problem: If I try to clone this: https://beaker.engineering.redhat.com/jobs/63966 it doesn't work, following error messages are printed: Job failed schema validation. Please confirm that you want to submit it. * Line 0, col 0: Extra element partitions in interleave * Line 6, col 0: Invalid sequence in interleave * Line 6, col 0: Element recipe failed to validate content * Line 5, col 0: Element recipeSet failed to validate content This is not helpful message. After few attempts I found possible reason, it could be missing fs="" attribute of tag partition, with that cloning was successful. Error message could be little bit more descriptive.
I think that's just the kind of vitriol relax ng spews. The real problem is why cloning a job produces XML that does not pass validation.
Just to expand on comment 1: Beaker is using libxml2 (via lxml) for RELAX NG validation. It is that library which produces these errors. I agree the error messages are often confusing, but there is nothing we can do on the Beaker side to make them any friendlier, short of switching validator implementations or writing a patch for libxml2.
Dear Marian, does this problem still happen now and then?
libxml2's RELAX NG validation has not got any smarter, the error messages are still highly inscrutable.
Changing this issue to RFE, agreed that the validation messages are confusing and not helpful.