code: def filter(self, record):
      path = Path(record.pathname).resolve()
      record.relativepath = str(path.relative_to(REPO_ROOT))
      return True
  
file_path: tvm/ci/scripts/jenkins/cmd_utils.py
imports: import subprocess
  import os
  import logging
  import sys
  import re
  import tempfile
  from pathlib import Path
  from typing import List
label_desc: Use image node_id 1 for calling the RelativePathFilter obj's underlying member method code with example usage: obj.filter(record) and returns: True