code: def test_fail_on_first_validation() -> None:
      error_log = "failed on first validation"
      config_obj = conf.load_config(
          conf.fixtures_path("no_op/single.yaml")
      )
      config_obj["hyperparameters"][
          "fail_on_first_validation"
      ] = error_log
      exp.run_failure_test_with_temp_config(
          config_obj,
          conf.fixtures_path("no_op"),
          error_log,
      )
  
imports: import json
  import subprocess
  import tempfile
  import pytest
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.experimental import Determined
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests.api_utils import determined_test_session
  from tests.cluster.test_checkpoints import wait_for_gc_to_finish
label_desc: Use image node_id 11 for calling a global function with example usage: test_fail_on_first_validation() without return types