diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 509e4e2f3..fc12d2b92 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -210,7 +210,7 @@ jobs: run: | ${{ env.RUN }} "scons -j$(nproc)" - name: Run replay - timeout-minutes: 30 + timeout-minutes: ${{ contains(runner.name, 'nsc') && 1 || 20 }} run: | ${{ env.RUN }} "coverage run selfdrive/test/process_replay/test_processes.py -j$(nproc) && \ chmod -R 777 /tmp/comma_download_cache && \ diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index c97a06a0c..64be43408 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -209,7 +209,7 @@ class Controls: self.update() CC, lac_log = self.state_control() self.publish(CC, lac_log) - rk.keep_time() + rk.monitor_time() def main(): config_realtime_process(4, Priority.CTRL_HIGH) diff --git a/selfdrive/test/process_replay/test_processes.py b/selfdrive/test/process_replay/test_processes.py index 4f0705f49..170daf6c1 100755 --- a/selfdrive/test/process_replay/test_processes.py +++ b/selfdrive/test/process_replay/test_processes.py @@ -193,6 +193,10 @@ if __name__ == "__main__": if cfg.proc_name not in tested_procs: continue + # to speed things up, we only test all segments on card + if cfg.proc_name != 'card' and car_brand not in ['HYUNDAI', 'TOYOTA', 'HONDA', 'SUBARU', 'FORD']: + continue + cur_log_fn = os.path.join(FAKEDATA, f"{segment}_{cfg.proc_name}_{cur_commit}.zst") if args.update_refs: # reference logs will not exist if routes were just regenerated ref_log_path = get_url(*segment.rsplit("--", 1,), "rlog.zst")