-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Details
We noticed recently that the CI script, in fact bin/validate-examples.py it called, occasionally ended with an error. This script when run on a workstation did not exhibit such behaviour.
A closer inspection of the log indicated that bin/validate-examples.py, when first run with an XML file, is not able to read the catalog file, hence unable to find the local schema files for validation. Subsequent runs with remaining XML files, however, had no such problem.
Checking bin/validate-examples.py, the catalog file is generated on-the-fly:
Is it simply because it takes time for the GitHub VM to write the generated catalog file and make it accessible? In that case a simple time.sleep(1) after generation of the catalog file should do the trick.
I used to encounter this kind of issue back in the days of Win 3.1 with Word macro. Can't believe this is still happening today.
Requestor
BL Choy, (@blchoy)