code: def test_fallback_allocation_failure(shutdown_only):
      file_system_config = {
          "type": "filesystem",
          "params": {
              "directory_path": "/tmp",
          },
      }
      ray.init(
          object_store_memory=100e6,
          _temp_dir="/dev/shm",
          _system_config={
              "object_spilling_config": json.dumps(file_system_config),
              # set local fs capacity to 100% so it never errors with out of disk.
              "local_fs_capacity_threshold": 1,
          },
      )
      shm_size = shutil.disk_usage("/dev/shm").total
      object_size = max(100e6, shm_size // 5)
      num_exceptions = 0
      refs = []
      for i in range(8):
          print("Start put", i)
          try:
              refs.append(
                  ray.get(
                      ray.put(np.zeros(object_size, dtype=np.uint8))
                  )
              )
          except ray.exceptions.OutOfDiskError:
              num_exceptions = num_exceptions + 1
      assert num_exceptions > 0
  
imports: import numpy
  import json
  import random
  import os
  import shutil
  import platform
  import pytest
  import psutil
  import ray
  from ray._private.test_utils import check_spilled_mb, fetch_prometheus, wait_for_condition
label_desc: Use image node_id 11 for calling a global function with example usage: test_fallback_allocation_failure(shutdown_only) without return types