private NamedNode complete(TestIdentifier id) {
        verifyStructure(current, id == null ? null : id.getUniqueIdObject());

        Set<TestIdentifier> incomplete = id != null ? plan.getChildren(id) : plan != null ? plan.getRoots() : Set.of();
        for (TestIdentifier child : incomplete) if ( ! complete.contains(child)) skip(child);
        complete.add(id);

        current.end = clock.instant();
        NamedNode node = current;
        current = current.parent;
        return node;
    }
Verify the path from the root to the current node corresponds to the given id.
vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/TestReport.java