      time.sleep(5)
  
      # start procs up
      ignore = list(fake_daemons.keys()) + ['ui', 'manage_athenad', 'uploader']
      ensure_running(managed_processes.values(), started=True, not_run=ignore)
      for procs in fake_daemons.values():
        for p in procs:
          p.start()
  
      for _ in tqdm(range(60)):
 
</s> remove     lr = LogReader(f"cd:/{route.replace('|', '/')}/{sidx}/rlog")
 </s> add     lr = LogReader(f"cd:/{route.replace('|', '/')}/{sidx}/rlog.bz2") </s> remove   lr = LogReader(os.path.join(rpath, 'rlog2'))
 </s> add   # compress raw rlog before uploading
  with open(os.path.join(rpath, "rlog"), "rb") as f:
    data = bz2.compress(f.read())
  with open(os.path.join(rpath, "rlog.bz2"), "wb") as f:
    f.write(data)
  os.remove(os.path.join(rpath, "rlog"))

  lr = LogReader(os.path.join(rpath, 'rlog.bz2'))
    ensure_running(managed_processes.values(), started=True, params=Params(), CP=car.CarParams(), not_run=ignore)
      time.sleep(5)
  
      # start procs up
      ignore = list(fake_daemons.keys()) + ['ui', 'manage_athenad', 'uploader']
    ensure_running(managed_processes.values(), started=True, params=Params(), CP=car.CarParams(), not_run=ignore)
      for procs in fake_daemons.values():
        for p in procs:
          p.start()
  
      for _ in tqdm(range(60)):
keep keep keep keep replace keep keep keep keep keep
 Fix process replay regen (#24517)

* fix regen issues

* compress like uploader 
selfdrive/test/process_replay/regen.py