code: def test_load_third_party_modules2(ray_start_regular, create_cluster):
      client = create_cluster[0]
      assert client.session
      session = new_session(address=client.address)
      with session:
          raw = np.random.RandomState(0).rand(10, 10)
          a = mt.tensor(raw, chunk_size=5)
          b = a + 1
          b.execute(show_progress=False)
          result = b.fetch()
  
          np.testing.assert_equal(raw - 1, result)
  
      assert get_default_session() is None
  
file_path: mars/mars/deploy/oscar/tests/test_ray_load_modules.py
imports: import os
  import numpy
  import pytest
  from ....None import tensor
  from ....session import get_default_session, new_session
  from ....tests.core import require_ray
  from ....utils import lazy_import
  from ..ray import _load_config, new_cluster
  from .modules.utils import cleanup_third_party_modules_output, get_output_filenames
label_desc: Use image node_id 1 for calling a global function with example usage: test_load_third_party_modules2(ray_start_regular, create_cluster) without return types