Rise
The Vieneo Province
Loading...
Searching...
No Matches
Logger Trace tests

Checks trace admission, fault capture and replay/upload state.

Subsystem: Diagnostics, profiling, packaging and runtime integrity
Fixture/harness: loggertracetests
Setup: The standalone LoggerTraceTests harness owns the inputs, local helpers and assertion sink used by the case files below.

Build/entry point: Tests/LoggerTraceTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.

BiometerDiagnosticsTests.h

Source: Tests/BiometerDiagnosticsTests.h

Run Biometer G Load Tests

Fixture: Logger Trace tests
Case symbol: RunBiometerGLoadTests
Source: Tests/BiometerDiagnosticsTests.h:22

Test
Checks expected positive/negative G-load and microgravity responses across ground, hover, ascent and re-entry conditions.
Source check messages (including original failure wording)

  • Normal negative-G response changed
  • Existing microgravity response changed
  • Ground, hover, ascent or re-entry positive-G response changed
  • Extreme negative G escaped the bounded reduction
  • Finite negative-G load still generated an invalid target or BPM
  • Simulator negative-G load generated a fault
  • Changing G direction corrupted the BPM
  • BPM failed to follow the bounded target across a G transition
  • Nonfinite G input was hidden by saturation
  • Nonfinite G input escaped the existing BPM guard

Run Biometer State Tests

Fixture: Logger Trace tests
Case symbol: RunBiometerStateTests
Source: Tests/BiometerDiagnosticsTests.h:81

Test
Checks that invalid reposition inputs cannot corrupt healthy BPM while the raw fault remains visible in diagnostics.
Source check messages (including original failure wording)

  • Reposition's negative target corrupted a healthy BPM
  • Protecting BPM hid the raw reposition fault from diagnostics
  • Overflowed reposition target changed a healthy BPM
  • BPM did not resume normal recovery after reposition
  • Previously corrupted BPM was not repaired immediately
  • Long frame overshot the recovery target
  • Normal heartbeat acceleration changed
  • Normal wake-up heartbeat changed
  • High target exceeded character maximum
  • Dead character's heartbeat restarted
  • Invalid stored state escaped recovery
  • Heartbeat audio effort escaped its valid range
  • Corrupt animation phase was not repaired
  • Animation did not wrap across multiple heartbeat cycles
  • Invalid animation input escaped normalization

Run Biometer Diagnostic Tests

Fixture: Logger Trace tests
Case symbol: RunBiometerDiagnosticTests
Source: Tests/BiometerDiagnosticsTests.h:124

Test
Run Biometer Diagnostic Tests: Healthy simulated BPM generated a diagnostic; Normal upper BPM cap was reported as a fault; Initial wake-up BPM was reported as a fault.
Source check messages (including original failure wording)

  • Healthy simulated BPM generated a diagnostic
  • Normal upper BPM cap was reported as a fault
  • Initial wake-up BPM was reported as a fault
  • Intentional zero BPM at death was reported as a fault
  • Negative G sign reversal was not diagnosed
  • Long-frame overshoot was not diagnosed
  • Previously corrupted BPM was not identified
  • Invalid model maximum was not diagnosed
  • NaN BPM escaped validation
  • Overflowed G term was not identified
  • Nonfinite calculation input escaped validation
  • Negative baseline escaped validation
  • Invalid animation state escaped validation
  • Healthy frames were written to disk
  • Fault context was not emitted before the bounded server summary
  • Biometer report lost preceding healthy frames or the raw negative value
  • Sustained fault spammed the log each frame
  • Persistent fault was never reported again
  • Recovery was not recorded locally
  • A new fault episode was not recorded

LoggerTraceTests.cpp

Source: Tests/LoggerTraceTests.cpp

Check Crash And Replay

Fixture: Logger Trace tests
Case symbol: CheckCrashAndReplay
Source: Tests/LoggerTraceTests.cpp:108

Test
Checks an isolated faulting child exits and leaves a pending crash report that can be replayed.
Source check messages (including original failure wording)

  • Could not launch fault-test child
  • Fault-test child hung or did not fail
  • Crash did not leave a pending report
  • Bypass test unexpectedly ran a crash handler
  • Crash trace omitted fatal details or the complete breadcrumb ring
  • Crash trace omitted process/address-space memory diagnostics
  • Out-of-memory HRESULT was not preserved
  • Native context was lost
  • Could not age test trace
  • Retention deleted an unsent crash trace
  • Failed send discarded pending crash
  • Restart did not send the saved fatal packet and exact trace in order
  • Queuing a send prematurely deleted the marker
  • Stale ACK deleted pending report
  • ACK did not clear marker while preserving local trace

Entry-point checks

Fixture: Logger Trace tests
Case symbol: main
Source: Tests/LoggerTraceTests.cpp:192

Test
Entry-point checks: Unacknowledged trace allowed another allocation; Unrelated ACK released the upload budget; ACK bypassed the cooldown or cooldown never expired.
Source check messages (including original failure wording)

  • First diagnostic was delayed
  • Unacknowledged trace allowed another allocation
  • Unrelated ACK released the upload budget
  • ACK bypassed the cooldown or cooldown never expired
  • Failed trace queue did not get a bounded retry
  • Reconnect remained blocked by a lost connection's receipt
  • Stale receipt released the new connection's trace
  • Biometer fault did not send a nonfatal error followed by its trace
  • Server trace omitted the biometer calculation evidence
  • Biometer reporting spammed uploads, blocked rendering, or disconnected the game
  • Logging before networking initialization attempted a send
  • Disconnected error attempted a trace upload
  • Error did not send a report followed by a trace file
  • Trace omitted prior context or the triggering error
  • Recoverable error waited for delivery, closed networking, or lost severity
  • Repeated errors queued more full traces while a trace awaited acknowledgment
  • Fast ACK permitted a burst of full-trace uploads
  • Info or Warning unexpectedly uploaded a trace
  • Debug report behavior changed
  • Explicit/fatal trace upload no longer waits by default
  • Throttling lost errors from the local trace
  • Long error message was lost or triggered CRT termination
  • Recoverable OOM omitted memory evidence or treated an absent GPU query as success
  • Normal shutdown left a crash marker
  • Could not create live marker
  • Legacy unclean exit not recovered
  • Legacy marker not acknowledged