A race condition (reading the logs) can make this test fails, for example https://github.com/paritytech/polkadot-sdk/actions/runs/20429048166/job/58696542346. Since zombienet-sdk latest version support negative lookahead we can implement this comment but the regex should be
(?!.*error=Pool\(InvalidTransaction\(MandatoryValidation\)\)).*error.*