Skip to content

CI script fails occasionally #376

@blchoy

Description

@blchoy

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions