code: def write_general_build_message(key, val, text_file):
      """
      Write key/value into log file when the value is a string and not a list.
  
      Parameters
      ----------
      key :  str
          key value in g_failed_test_info_dict
      value :  str
          corresponding value associated with the key in key
      text_file : file handle
          file handle of log file to write the info to.
  
  
      :return: none
      """
      text_file.write(key + ": ")
      text_file.write(val)
      text_file.write("\n\n")
  
imports: import sys
  import os
  import json
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 19 for calling a global function with example usage: write_general_build_message(key, val, text_file) without return types