code: def test_bulk_fetch_experiment_data_validation(self) -> None:
      exp_1 = get_experiment()
      exp_2 = get_experiment()
      exp_2.new_trial()
      m = Metric(name="test")
      with self.assertRaisesRegex(
          ValueError, "from the input experiment"
      ):
          m.bulk_fetch_experiment_data(
              experiment=exp_1,
              trials=list(exp_2.trials.values()),
              metrics=[m],
          )
  
file_path: Ax/ax/core/tests/test_metric.py
imports: from ax.core.metric import Metric, MetricFetchE
  from ax.utils.common.result import Err
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_branin_metric, get_data, get_experiment, get_factorial_metric
label_desc: Use image node_id 9 for calling the MetricTest obj's underlying member method code with example usage: obj.test_bulk_fetch_experiment_data_validation() without return types