Skip to content
Novus Examples
xml1.1 KB

Flaky Run — Network Dependency, Build #305 (errored)

Build #305 of five consecutive runs of checkout.PaymentTest, in which capturesAuthorisedPayment is errored while the other five cases pass every time. The underlying cause is a real call to the fictional payments host instead of the stub. Read the whole family in build order to reproduce what a flake detector sees.

Preview — first 16 linesxml
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="checkout.PaymentTest" tests="6" failures="0" errors="1" skipped="0" time="3.506" timestamp="2026-08-07T09:14:22" hostname="ci-runner-04" id="305">
    <testcase classname="checkout.PaymentTest" name="capturesAuthorisedPayment" time="0.962">
      <error message="java.net.SocketTimeoutException: connect timed out to payments.example.com:443" type="java.net.SocketTimeoutException"><![CDATA[java.net.SocketTimeoutException: connect timed out to payments.example.com:443
	at checkout.PaymentTest.capturesAuthorisedPayment(Test.java:41)
]]></error>
    </testcase>
    <testcase classname="checkout.PaymentTest" name="declinesInsufficientFunds" time="0.880"/>
    <testcase classname="checkout.PaymentTest" name="refundsFullAmount" time="0.159"/>
    <testcase classname="checkout.PaymentTest" name="refundsPartialAmount" time="0.576"/>
    <testcase classname="checkout.PaymentTest" name="recordsPaymentReference" time="0.361"/>
    <testcase classname="checkout.PaymentTest" name="retriesOnGatewayTimeout" time="0.568"/>
  </testsuite>
</testsuites>

Specifications

Seed
61200
Build Number
305
Build Index
5
Builds In Family
5
Suite
checkout.PaymentTest
Tests
6
Flaky Test
checkout.PaymentTest.capturesAuthorisedPayment
Flaky Test Outcome
error
Other Tests Outcome
pass
Root Cause
a real call to the fictional payments host instead of the stub
Dialect
surefire
Line Endings
LF

Testing contract

Expected to pass
Scenario
Ingest build #305 as one sample in a five-build flake-detection window.
Expected result
capturesAuthorisedPayment is recorded as errored in this build while the other five cases pass, so no single build on its own identifies the flake.

What is a .xml file?

XML (Extensible Markup Language) is a verbose, self-describing markup language using nested tags, attributes, and namespaces to represent structured, hierarchical data. It supports schemas, entities, and validation and underlies many document and data formats. It remains common in enterprise, publishing, and interchange contexts.

How to use this file

Use an example XML file to test parsers, namespace and schema validation, XPath queries, and protection against entity-expansion and external-entity attacks.

How to use this file for testing

“Flaky Run — Network Dependency, Build #305 (errored)” is a deterministic Novus Examples fixture for Error handling, Log parsing, Conversion testing. Deliberately corrupt and invalid files, clearly labelled, for testing how your tool fails.

Documented properties for this file: seed 61200 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Test and coverage reports document their totals (suites, cases, passes, failures, skips, covered lines) in the spec table. Point your CI dashboard, coverage gate, or report converter at the file and assert those counts survive; format twins carry identical numbers so a conversion can be scored exactly.

Code examples

import xml.etree.ElementTree as ET

tree = ET.parse("network-retry-build-305.xml")
root = tree.getroot()
print(root.tag, [c.tag for c in root][:5])

Generated by generation/testing.py. Free for any use, no attribution required — license.