code: def test_bad_image_gives_good_error(backend):
      with BatchPoolExecutor(
          backend=backend,
          project="hail-vdc",
          image="hailgenetics/not-a-valid-image:123abc",
      ) as bpe:
          future = bpe.submit(lambda: 3)
      try:
          future.exception()
      except ValueError as exc:
          assert "submitted job failed:" in exc.args[0]
      else:
          assert False
  
imports: import asyncio
  import time
  import pytest
  from hailtop.batch import BatchPoolExecutor, ServiceBackend
  from hailtop.config import get_user_config
  from hailtop.utils import sync_sleep_before_try
  from hailtop.batch_client.client import BatchClient
label_desc: Use image node_id 17 for calling a global function with example usage: test_bad_image_gives_good_error(backend) without return types