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

labeled-test-groups-publisher plugin should inherit the options from the JUnit plugin.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hudson shows test reports and sometimes truncates the output making test results analyzing impossible.
      Here is th example of truncated output:

      [DataConverterComparator] OUT > Cat 0 = [Globals]
      [DataConverterComparator] OUT > Entry 0 [EXPECTED_FILENAME]=[touch_test.txt]
      [DataConverterComparator] OUT > Entry 1 [TEST_FILENAME]=[touch_client.txt]
      [DataConverterComparator] OUT >
      [DataConverterComparator] OUT > 66;20;8;1266;20;8;121000 expected, 1000 test
      [DataConverterComparator] OUT > 2000 expected, 2000 test
      [DataConverterComparator] OUT > 3000 expected, 3000 test
      [DataConverterComparator] OUT > 4000 expected, 4000 test
      [DataConverte...[truncated 78 chars]...000 expected, 6000 test
      [DataConverterComparator] OUT > 7000 expected, 7000 test
      [DataConverterComparator] OUT > 8000 expected, 8000 test
      [DataConverterComparator] OUT > 9000 expected, 9000 test
      [DataConverterComparator] OUT > 10000 expected, 10000 test
      [DataConverterComparator] ERR > null

      Is it normal behavior or this is the bug? We need to review all output from the test program for further investigation and analyze.

      Thanks!

        Attachments

          Issue Links

            Activity

            Hide
            pjdarton pjdarton added a comment -

            If this is the console output you're looking at, try looking at the "raw" view.
            If not, please specify what particular "output" is truncated.

            Show
            pjdarton pjdarton added a comment - If this is the console output you're looking at, try looking at the "raw" view. If not, please specify what particular "output" is truncated.
            Hide
            fk_ fk_ added a comment -

            Thank you for the answer!

            How can I configure "raw" view you are referring to?
            The output I've specified in report is the console output in Hudson, i.e in web interface made with running gant test tool (groovy ant).
            Original output from test tool was not truncated so I believe this is the bug or feature that can be configured. Unfortunately I cannot find where it can be disabled.

            If the output posted in report is not sufficient I will provide any additional info you may need to help me solve this problem.

            The problem is floating and it does not depend on the output size so it's quite hard to reproduce it. At least I cannot figure out which conditions lead to the truncation.

            Show
            fk_ fk_ added a comment - Thank you for the answer! How can I configure "raw" view you are referring to? The output I've specified in report is the console output in Hudson, i.e in web interface made with running gant test tool (groovy ant). Original output from test tool was not truncated so I believe this is the bug or feature that can be configured. Unfortunately I cannot find where it can be disabled. If the output posted in report is not sufficient I will provide any additional info you may need to help me solve this problem. The problem is floating and it does not depend on the output size so it's quite hard to reproduce it. At least I cannot figure out which conditions lead to the truncation.
            Hide
            fk_ fk_ added a comment -

            I've pointed to the cause of this issue (flicken, thank you!) - this is the feature introduced in JENKINS-6516. Unfortunately, the plugin labeled-test-groups-publisher does not inherit the option "Retain long standard output/error" so the bug goes to its developer with my hopes to see the fix soon.

            Moreover, the description and the short description for this option should be more clear as I couldn't realize the connection between the "retain" and "truncate" keywords on the configuration page and in the console output.

            Show
            fk_ fk_ added a comment - I've pointed to the cause of this issue (flicken, thank you!) - this is the feature introduced in JENKINS-6516 . Unfortunately, the plugin labeled-test-groups-publisher does not inherit the option "Retain long standard output/error" so the bug goes to its developer with my hopes to see the fix soon. Moreover, the description and the short description for this option should be more clear as I couldn't realize the connection between the "retain" and "truncate" keywords on the configuration page and in the console output.
            Hide
            evernat evernat added a comment -

            it is an issue of the labeled-test-groups-publisher plugin to inherit this option.

            Show
            evernat evernat added a comment - it is an issue of the labeled-test-groups-publisher plugin to inherit this option.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              fk_ fk_
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: