code: def test_remote_run_trial_with_failed_job(
      self,
      mock_tf_io,
      mock_is_running,
      mock_super_tuner,
      mock_job_status,
      mock_cloud_fit,
  ):
      remote_tuner = self._remote_tuner(
          None, None, self._study_config, max_trials=10
      )
  
      mock_is_running.return_value = False
  
      remote_tuner.hypermodel = mock.Mock()
      mock_job_status.return_value = False
      with self.assertRaises(RuntimeError):
          remote_tuner.run_trial(
              self._test_trial,
              "fit_arg",
              callbacks=["test_call_back"],
              fit_kwarg=1,
          )
  
imports: import os
  import time
  from keras_tuner.engine import hypermodel
  from keras_tuner.engine import hyperparameters
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.engine import tuner
  import mock
  import tensorflow
  from tensorboard.plugins.hparams import api
  from tensorflow_cloud.core import deploy
  from tensorflow_cloud.core import machine_config
  from tensorflow_cloud.core import validate
  from tensorflow_cloud.tuner import cloud_fit_client
  from tensorflow_cloud.tuner import tuner
  from tensorflow_cloud.tuner.tuner import vizier_client
  from tensorflow_cloud.utils import google_api_client
  from tensorflow_cloud.utils import tf_utils
label_desc: Use image node_id 29 for calling the CloudTunerTest obj's underlying member method code with example usage: obj.test_remote_run_trial_with_failed_job(mock_tf_io, mock_is_running, mock_super_tuner, mock_job_status, mock_cloud_fit) without return types