Skip to content

[Bug] Tests in Windows CI fail #5647

@petrasovaa

Description

@petrasovaa

Describe the bug

Couple days ago, multiple tests started to fail with:

Running .\scripts\v.clip\testsuite\test_v_clip.py...
2025-05-10T21:00:32.3345509Z ========================================================================
2025-05-10T21:00:32.3346308Z E
2025-05-10T21:00:32.3346512Z 
2025-05-10T21:00:32.3346766Z ======================================================================
2025-05-10T21:00:32.3347158Z 
2025-05-10T21:00:32.3347387Z ERROR: setUpClass (__main__.TestClipling)
2025-05-10T21:00:32.3347785Z 
2025-05-10T21:00:32.3348014Z ----------------------------------------------------------------------
2025-05-10T21:00:32.3348757Z 
2025-05-10T21:00:32.3348974Z Traceback (most recent call last):
2025-05-10T21:00:32.3349591Z 
2025-05-10T21:00:32.3350016Z   File "scripts\v.clip\testsuite\test_v_clip.py", line 34, in setUpClass
2025-05-10T21:00:32.3350535Z 
2025-05-10T21:00:32.3350697Z     cls.runModule(
2025-05-10T21:00:32.3350902Z 
2025-05-10T21:00:32.3351109Z   File "etc\python\grass\gunittest\case.py", line 1315, in runModule
2025-05-10T21:00:32.3351454Z 
2025-05-10T21:00:32.3351616Z     module = _module_from_parameters(module, **kwargs)
2025-05-10T21:00:32.3351881Z 
2025-05-10T21:00:32.3351990Z              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-10T21:00:32.3352248Z 
2025-05-10T21:00:32.3352517Z   File "etc\python\grass\gunittest\case.py", line 1457, in _module_from_parameters
2025-05-10T21:00:32.3352911Z 
2025-05-10T21:00:32.3353081Z     module = SimpleModule(module, **kwargs)
2025-05-10T21:00:32.3353321Z 
2025-05-10T21:00:32.3353424Z              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-10T21:00:32.3353665Z 
2025-05-10T21:00:32.3353881Z   File "etc\python\grass\gunittest\gmodules.py", line 55, in __init__
2025-05-10T21:00:32.3354207Z 
2025-05-10T21:00:32.3355019Z     Module.__init__(self, cmd, *args, **kargs)
2025-05-10T21:00:32.3355323Z 
2025-05-10T21:00:32.3355602Z   File "etc\python\grass\pygrass\modules\interface\module.py", line 563, in __init__
2025-05-10T21:00:32.3355997Z 
2025-05-10T21:00:32.3356148Z     tree = fromstring(self.xml)
2025-05-10T21:00:32.3356348Z 
2025-05-10T21:00:32.3356448Z            ^^^^^^^^^^^^^^^^^^^^
2025-05-10T21:00:32.3356663Z 
2025-05-10T21:00:32.3356941Z   File "C:\OSGeo4W\apps\Python312\Lib\xml\etree\ElementTree.py", line 1336, in XML
2025-05-10T21:00:32.3357311Z 
2025-05-10T21:00:32.3357424Z     return parser.close()
2025-05-10T21:00:32.3357641Z 
2025-05-10T21:00:32.3357742Z            ^^^^^^^^^^^^^^
2025-05-10T21:00:32.3357905Z 
2025-05-10T21:00:32.3358182Z xml.etree.ElementTree.ParseError: no element found: line 1, column 0

See e.g. https://github.com/OSGeo/grass/actions/runs/14945676279/job/42074868037

It's multiple tools failing like that, both C and Python tools. Their compilation looks fine from the log. It's not SimpleModule, some tools use that in the test and work fine.

I can't find any specific change that would trigger it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationbugSomething isn't workingwindowsMicrosoft Windows specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions