code: def test_node_not_available() -> None:
      # Creates an experiment with a configuration that cannot be satisfied.
      # Verifies that the error message includes the SBATCH options of the failed submission.
      # Only casablanca displays the SBATCH options. Horizon does not upon failure
      # The line: "SBATCH options:" is not present on horizon's output
      error1 = "Batch job submission failed: Requested node configuration is not available"
      # When doing CPU scheduling, on some Slurm systems you may get a different error
      error2 = "CPU count per node can not be satisfied"
      errors = [error1, error2]
      run_failure_test_multiple(
          conf.fixtures_path(
              "failures/slurm-requested-node-not-available.yaml"
          ),
          conf.fixtures_path("failures/"),
          errors,
      )
  
imports: import logging
  import sys
  from typing import List
  import pytest
  import torch
  from determined.common.api import bindings
  from tests import api_utils, command
  from tests import config
  from tests import experiment
label_desc: Use image node_id 4 for calling a global function with example usage: test_node_not_available() without return types