Opened 23 months ago

Last modified 13 months ago

#24259 new enhancement

Simulate out-of-disk situations in chutney and/or unit tests?

Reported by: arma Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: catalyst Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tor has a bunch of weird bugs when it runs out of disk space.

One of the crazy ones that has been driving us mad for more than a decade is that relays somehow decide to start publishing a new descriptor once per second, forever.

Can we make a version of the unit tests where all of the disk interactions act like the disk is full?

Can we make a version of the chutney network tests where the disk pretends to be full?

This idea seems like a great one to add to our testing toolbelt.

Child Tickets

Change History (2)

comment:1 Changed 23 months ago by catalyst

Cc: catalyst added

Some colleagues from a previous job liked using tools like cwrap and cmocka for this sort of task. (Most of the details I heard about were network-related though.)

comment:2 Changed 13 months ago by nickm

Milestone: Tor: unspecified
Note: See TracTickets for help on using tickets.