code: def test_local_vars_params_file_not_exist(tmp_dir, dvc):
      definition = make_entry_definition(
          tmp_dir,
          "build",
          {
              "vars": ["not_existing_params.yaml"],
              "cmd": "echo ${models.foo}",
          },
      )
  
      with pytest.raises(ResolveError) as exc_info:
          definition.resolve()
  
      assert (
          str(exc_info.value)
          == "failed to parse stage 'build' in 'dvc.yaml': "
          "'not_existing_params.yaml' does not exist"
      )
      assert not definition.context
  
imports: import logging
  import re
  import pytest
  from dvc.parsing import ResolveError
  from dvc.parsing.context import Context
  from dvc.parsing.interpolate import embrace
  from dvc.utils.humanize import join
  from .None import make_entry_definition, make_foreach_def
label_desc: Use image node_id 4 for calling a global function with example usage: test_local_vars_params_file_not_exist(tmp_dir, dvc) without return types