(The reason for "failed" is because I want to email the PDF to our team with any failures readily visible--otherwise the PDF is too big and too detailed)

After the call to ReportToPDFModule, the final step in the test suite is to execute a user code module to save the report and export a couple stats to some files--this is simply so my batch file can grab these numbers and put them into the team email for quick overview. The code is:

The problem:
I wish to generate JUnit reports so I can import them into a DB for tracking and reporting. However, whether I try the command-line parameter "/junit" or check "Create a jUnit compatible copy of the report" in the Test Suite Properties, the XML file is generated (e.g., TESTAUTOWIN10_2017_11_09_11_10_SelectedTest.rxlog.junit.xml), but it is blank.

EDIT: I want to point out that I am not customizing the report file in any way other than specifying a name. Behavior is same if I launch tests from command-line or Ranorex Studio. Number of failures does not appear to be a factor either.

Rather than potentially spend a lot of time sorting through the various factors here to see what the culprit may be, I'd like to ask the Ranorex team if there is a known issue generating a JUnit report with any of these actions? Thank you--