lisa.tests.scheduler.sanity: Fix use of collector
FIX
CapacitySanity._from_target() was reusing the passed collector multiple times, leading to only the last trace being saved.
Instead, use the collector once and do all the work while collecting.
GitLab Maintenance scheduled for Thursday, 18th December 2025, from 7:00 AM to 10:00 AM BST. GitLab will be in read-only mode and experience short periods of complete downtime (up to 20 minutes) during this window.
FIX
CapacitySanity._from_target() was reusing the passed collector multiple times, leading to only the last trace being saved.
Instead, use the collector once and do all the work while collecting.