code: def log_environment():
      instance_info = ec2_instance_info()
      if instance_info:
          logging.info("EC2: %s", instance_info)
      pp = pprint.PrettyPrinter(indent=4)
      logging.debug(
          "Build environment: %s", pp.pformat(dict(os.environ))
      )
  
file_path: mxnet/ci/build.py
imports: import argparse
  import pprint
  import os
  import signal
  import subprocess
  from itertools import chain
  from subprocess import check_call
  from typing import *
  import yaml
  from util import *
label_desc: Use image node_id 9 for calling a global function with example usage: log_environment() without return types