code: def test_kill_experiment_ignoring_preemption() -> None:
      exp_id = exp.create_experiment(
          conf.fixtures_path("core_api/sleep.yaml"),
          conf.fixtures_path("core_api"),
          None,
      )
      exp.wait_for_experiment_state(
          exp_id, bindings.experimentv1State.RUNNING
      )
  
      bindings.post_CancelExperiment(
          api_utils.determined_test_session(), id=exp_id
      )
      exp.wait_for_experiment_state(
          exp_id, bindings.experimentv1State.STOPPING_CANCELED
      )
  
      bindings.post_KillExperiment(
          api_utils.determined_test_session(), id=exp_id
      )
      exp.wait_for_experiment_state(
          exp_id, bindings.experimentv1State.CANCELED
      )
  
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 10 for calling a global function with example usage: test_kill_experiment_ignoring_preemption() without return types