Merge "CTS test: collect traces after execution" into main