code: def pytest_runtestloop(session):
      if session.config.getoption("--dry_run"):
          total_num = 0
          file_num = 0
          tags_num = 0
          res = {"total_num": total_num, "tags_num": tags_num}
          for item in session.items:
              print(item.nodeid)
              if item.fspath.basename not in res:
                  res.update(
                      {item.fspath.basename: {"total": 1, "tags": 0}}
                  )
              else:
                  res[item.fspath.basename]["total"] += 1
              res["total_num"] += 1
              for marker in item.own_markers:
                  if marker.name == "tags" and "0331" in marker.args:
                      res["tags_num"] += 1
                      res[item.fspath.basename]["tags"] += 1
          print(res)
          return True
  
imports: import logging
  import pytest
  import functools
  import socket
  import common.common_type
  import common.common_func
  from utils.util_log import test_log
  from common.common_func import param_info
  from check.param_check import ip_check, number_check
  from config.log_config import log_config
  from utils.util_pymilvus import get_milvus, gen_unique_str, gen_default_fields, gen_binary_default_fields
  from pymilvus.orm.types import CONSISTENCY_STRONG
label_desc: Use image node_id 42 for calling a global function with example usage: pytest_runtestloop(session) and returns: True