Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13503 [Umbrella] Test sub-system improvements
  3. HIVE-18212

Make sure Yetus check always has a full log

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      Some yetus log files are left incomplete, and in these same runs tee subprocesses are left running and dangling on the ptest server.
      This is because of a bug in the yetus runner velocity template script where we make a redirection of stdout:

      ./dev-support/test-patch.sh ${patchFile} ..... 2>&1 | tee ${logFile}
      

      If the yetus output is big enough (>62K) tee will stop writing the log file and is left running even after test-patch.sh finished successfully. This because we don't make anything consume the stdout and most probably some buffers get full on Linux side.

      We should also make sure that yetus runs(since they are executed parallel to ptest test phase) are not interfering with each other in case they run very long and overlap.

      Attachments

        1. HIVE-18212.0.patch
          3 kB
          Ádám Szita

        Activity

          People

            szita Ádám Szita
            szita Ádám Szita
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: