  from selfdrive.hardware import TICI
  from selfdrive.test.helpers import phone_only, with_processes
  
  
  def reset_pandas(f):
    @wraps(f)
    def wrapper(*args, **kwargs):
      for serial in Panda.list():
        p = Panda(serial)
        for i in [0, 1, 2, 3, 0xFFFF]:
          p.can_clear(i)
        p.reset()
        p.close()
      f(*args, **kwargs)
    return wrapper
  
  
  class TestBoardd(unittest.TestCase):
  
    @classmethod
    def setUpClass(cls):
      os.environ['STARTED'] = '1'
 
</s> remove from panda import Panda
 </s> add  </s> remove     time.sleep(2)
 </s> add     for s in services:
      while not pm.all_readers_updated(s):
        time.sleep(0.1) </s> remove from functools import wraps
 </s> add  </s> remove       time.sleep((num_segs + 1) * length)
 </s> add       time.sleep(num_segs*length + 1) </s> remove                 stage('tici Build') {
 </s> add                 stage('C3: build') {
  from selfdrive.hardware import TICI
  from selfdrive.test.helpers import phone_only, with_processes
  
  













  class TestBoardd(unittest.TestCase):
  
    @classmethod
    def setUpClass(cls):
      os.environ['STARTED'] = '1'
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 faster jenkins (#22973)

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/boardd/tests/test_boardd_loopback.py