Launching TestFlows Machine: self-service deterministic simulation testing environment Read the post

History

Command Does
machine checkpoints List the checkpoints of a branch
machine marks List and manage marks
machine branches Show the branch tree
machine lineage Show the ancestors of a branch, from the root down
machine entries Show run log entries

machine checkpoints

List the checkpoints of a branch. See Checkpoints.

Each checkpoint is a point for fork --at, go and rewind.

The listing shows the first 25 checkpoints. Use --limit for a different page size. No running machine is needed.

The durable column says whether a checkpoint is synced to shared storage. Use -o json for an object of run_id, hosted and checkpoints instead of a bare list.

1
2
3
machine checkpoints [-h] [--durable] [--since date|age] [--until date|age] [--sort field]
[--reverse] [--limit n] [--offset n] [-w]
run
Argument Does
run Run name
Option Does
--durable Show only checkpoints synced to shared storage
--since date|age Since a date such as 2026-06-01, or an age such as 7d, 24h or 30m
--until date|age Until a date such as 2026-06-01, or an age such as 7d, 24h or 30m
--sort field Sort field: entry, date, name (default: entry)
--reverse Reverse sort order
--limit n Show at most n checkpoints (default: 25)
--offset n Skip the first n checkpoints
-w, --watch Watch for changes

Examples:

1
2
machine checkpoints run1            list the checkpoints of run1
machine checkpoints run1 --durable only those in shared storage

Prints:

1
2
3
4
5
text      NAME ID VTIME DURABLE ANCESTOR
ID the entry the checkpoint is at
VTIME machine time there, with +N among entries at one time
DURABLE ticked when it is in shared storage, no when it is not
ANCESTOR the ancestor that took it, for a checkpoint this run did not take

See also:

machine marks

List and manage marks. See Marks.

A mark is a second name for a branch. It is unique within its tree. Written %mark, it names the branch anywhere a run is named.

Without a command, marks of every tree are listed. Use list with a run for the marks of that run’s tree. No running machine is needed.

1
machine marks [-h] command ...

Examples:

1
2
3
machine marks list              list marks
machine marks add run1 good put the mark good on run1
machine marks remove run1 good take it off

See also:

machine marks list

List marks. See Marks.

The listing covers every tree, or the tree of one run when a run is named.

1
machine marks list [-h] [run]
Argument Does
[run] Run name

Examples:

1
2
machine marks list       marks of every tree
machine marks list run1 marks of the tree of run1

See also:

machine marks add

Put a mark on a branch. See Marks.

Marking a branch again with the same word succeeds. A word that another branch in the tree already holds is refused. The mark stays with that branch.

1
machine marks add [-h] run mark
Argument Does
run Run name
mark The mark to add

Examples:

1
machine marks add run1 good  put the mark good on run1

See also:

machine marks remove

Take a mark off a branch. See Marks.

The command is refused when the branch does not carry the mark.

1
machine marks remove [-h] run mark
Argument Does
run Run name
mark The mark to remove

Examples:

1
machine marks remove run1 good  take the mark good off

See also:

machine branches

Show the branch tree. See The tree.

The tree shows how each branch forked from its parent. Use --running to show only running branches.

The listing shows the newest 25 branches. Use --limit for a different page size. Use --depth to keep one level of the tree, 0 for the roots. Naming any run in a tree, root or branch, limits the listing to that tree.

1
2
3
machine branches [-h] [--running] [--depth n] [--since date|age] [--until date|age]
[--sort field] [--reverse] [--limit n] [--offset n] [-w]
[run]
Argument Does
[run] Show only this run’s tree
Option Does
--running Show only running branches
--depth n Show only branches at this depth from the root, 0 is the root
--since date|age Since a date such as 2026-06-01, or an age such as 7d, 24h or 30m
--until date|age Until a date such as 2026-06-01, or an age such as 7d, 24h or 30m
--sort field Sort field: created, name (default: created)
--reverse Reverse sort order
--limit n Show at most n branches (default: 25)
--offset n Skip the first n branches
-w, --watch Watch for changes

Examples:

1
2
3
machine branches            the branch tree
machine branches run1 only the tree of run1
machine branches --running running branches only

Prints:

1
2
3
4
each run     <run> (<id>) [<first entry>, <end>)
the end is open while the run can still record
each branch @<entry> <vtime> before it: where it was forked
this run the run named on the command line

See also:

machine lineage

Show the ancestors of a branch, from the root down. See The tree.

1
machine lineage [-h] run
Argument Does
run Run name

Examples:

1
machine lineage try2  the ancestors of try2

Prints:

1
each ancestor  <run> (<id>) [<first entry>, <end>) <n> checkpoints

See also:

machine entries

Show run log entries. See Inspecting a run.

An entry is one recorded event of the run, such as a vCPU run, an interrupt or a device input.

Use -n to select entries, and -f to follow new output.

1
machine entries [-h] [-n range] [-f] run
Argument Does
run Run name
Option Does
-n, --entries range Entries: N for one, A:B for A through B, A: from A on, :B up to B, : for all, -N or -N: for the last N, and -A:-B counted from the end
-f, --follow Follow new output (like tail -f)

Examples:

1
2
3
machine entries run1 -n -20      the last 20 entries
machine entries run1 -n 100:120 entries 100 to 120
machine entries run1 -f follow new entries

Prints:

1
2
3
4
5
6
7
8
9
#<id>     the entry, then its fields as name=value
ic rcb instructions and conditional branches of this entry
total_ic instructions since the machine started
vtime machine time in nanoseconds
RUN one iteration: its mode, limit, exit and where it stopped
IRQ an interrupt delivered, with its source and vector
IPI is one sent to a vCPU, which is how machine irq arrives
flags what else the entry carries, such as MEM_HASH
exit why the iteration ended: IO, HYPERCALL, INSTR_LIMIT

See also: