Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49767

parsing junit tests can produce huge messages (DDOS)

    Details

    • Similar Issues:

      Description

      It seems that enabling "Treat failed test cases (as indicated by JUnit/xUnit/... publishers) as failure causes." option can cause serious problems because the messages returned have not size limit.

      We identified messages of over 2MB being returned which would break Gerrit integration making it it fail to post the result due to message size.

      I think that BFA should cut any message to a reasonable limit (like 4Kb or so) in order to avoid breaking consumers.

        Attachments

          Activity

          Hide
          queria Queria Sa-Tas added a comment -

          Another option how to avoid this, could be have configurable choice to process (and so contribute to e.g. gerrit report) only test case names, not their output.

          Show
          queria Queria Sa-Tas added a comment - Another option how to avoid this, could be have configurable choice to process (and so contribute to e.g. gerrit report) only test case names, not their output.

            People

            • Assignee:
              t_westling Tomas Westling
              Reporter:
              ssbarnea Sorin Sbarnea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: