code: def test_environ_file_on_linux(ray_start_10_cpus):
      @ray.remote
      class Actor1:
          def __init__(self):
              pass
  
          def get_env_from_proc(self):
              pid = os.getpid()
              env = {}
              with open("/proc/%s/environ" % pid) as fd:
                  for envspec in fd.read().split("\000"):
                      if not envspec:
                          continue
                      varname, varval = envspec.split("=", 1)
                      env[varname] = varval
              return env
  
          def get_os_environ(self):
              return os.environ
  
      a = Actor1.remote()
      actor_proc_environ = ray.get(a.get_env_from_proc.remote())
      actor_os_environ = ray.get(a.get_os_environ.remote())
      assert len(actor_proc_environ) > 0
      assert len(actor_os_environ) > 0
  
imports: import os
  import pytest
  import unittest
  import ray
  from ray._private.utils import update_envs
label_desc: Use image node_id 1 for calling a global function with example usage: test_environ_file_on_linux(ray_start_10_cpus) and returns: env, os