code: def test_retrieve_result_nofile(storage, config):
      """Test retrieve result"""
      results_file = tempfile.NamedTemporaryFile(
          mode="w",
          prefix="results_",
          suffix=".log",
          dir=".",
          delete=True,
      )
  
      exp = experiment_builder.build(storage=storage, **config)
  
      con = Consumer(exp)
  
      with pytest.raises(MissingResultFile) as exec:
          con.retrieve_results(results_file)
  
      results_file.close()
  
      assert exec.match(r"Cannot parse result file")
  
imports: import logging
  import os
  import shutil
  import signal
  import subprocess
  import tempfile
  import pytest
  import orion.core.io.experiment_builder
  import orion.core.io.resolve_config
  import orion.core.utils.backward
  import orion.core.worker.consumer
  from orion.client.runner import prepare_trial_working_dir
  from orion.core.utils import sigterm_as_interrupt
  from orion.core.utils.exceptions import BranchingEvent, MissingResultFile
  from orion.core.utils.format_trials import tuple_to_trial
label_desc: Use image node_id 6 for calling a global function with example usage: test_retrieve_result_nofile(storage, config) without return types