Skip to content

NAME

bpcrash - a test support program that simply forces a transaction cancellation in order to trigger a restart of ION when SDR reversibility is enabled.

SYNOPSIS

bpcrash

DESCRIPTION

bpcrash issues a SDR transaction cancellation which will cause a restart of ION. This behavior prior to ION 4.1.3.

For ION 4.1.3 or later, due to changes in the transaction termination process, bpcrash will no longer be able to trigger a restart of ION. A future upgrade is planned to make sure that it can accurately emulate an ION crash condition.

EXIT STATUS

  • "0"

    bpcrash terminated nominally. Prints out a message "Stopping bpcrash."

  • "1"

    bpcrash was unable to attach to Bundle Protocol operations, probably because bpadmin has not yet been run.

FILES

No configuration files are needed.

ENVIRONMENT

No environment variables apply.

DIAGNOSTICS

The following diagnostics may be issued to the ion.log log file:

  • Can't attach to BP.

    bpadmin has not yet initialized BP operations.

BUGS

Report bugs to <https://github.com/nasa-jpl/ION-DTN/issues>