Skip to content

[issuegenerator] Failing to ingest JUnit files on windows. #1063

@ArthurSens

Description

@ArthurSens

Component

issuegenerator

Bug Description

issuegenerator is failing to ingest JUnit files when running on Windows machines. As shown in https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/16519577038/job/46719334073, with the error:

2025-07-25T10:36:56.552Z	FATAL	[email protected]/main.go:160	Failed to ingest JUnit xml, omitting test results from report	{"error": "XML syntax error on line 863: element <fake-root> closed by </testcase>"}

Since we use issuegenerator to capture flaky tests, this problem makes us less confident that OTel-Collector-contrib continues to work like it should. The hard part here is that it doesn't fail all the time, and we are struggling to understand when it happens

Steps To Reproduce

n/a

Expected Behavior

No failures

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions