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

Checkstyle project wont transfer all files from slave to master

    Details

    • Similar Issues:

      Description

      I have Checkstlye static analysis plugin installed for a build of a large php codebase. It executes at the end of the build

      [CHECKSTYLE] Collecting checkstyle analysis files...
      [CHECKSTYLE] Finding all files that match the pattern source/CodeError.xml
      [CHECKSTYLE] Parsing 1 files in WORKSPACE
      [CHECKSTYLE] Successfully parsed file WORKSPACE/source/CodeError.xml of module with 4152 warnings.

      But then not all files are correctly transfered to the master, resulting in blank pages when you want to their content.
      In an example build, in the master folder I get 1378 files with 0 size and only 50 with actual content.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            Are there exceptions in the log? How is your slave connected to the master? What OS is running on your master and slave? Which Jenkins and plug-in versions are you using? Are the not transferred files random? I.e., does the next build transfer another set of files? Or the same? Is there a specific pattern in the not transferred files? Are these files checked out in your workspace folder?

            Show
            drulli Ulli Hafner added a comment - Are there exceptions in the log? How is your slave connected to the master? What OS is running on your master and slave? Which Jenkins and plug-in versions are you using? Are the not transferred files random? I.e., does the next build transfer another set of files? Or the same? Is there a specific pattern in the not transferred files? Are these files checked out in your workspace folder?
            Hide
            hithwen Julia S.Simon added a comment -

            Master is running Debian Lenny, Slaves are running Debian Squeeze, slaves are connected via ssh using user and password.
            I havent't seen exceptions in the log.

            Plugin version: 3.32
            Jenkins version: 1.486

            It seems that always transfers the same 50 files

            Show
            hithwen Julia S.Simon added a comment - Master is running Debian Lenny, Slaves are running Debian Squeeze, slaves are connected via ssh using user and password. I havent't seen exceptions in the log. Plugin version: 3.32 Jenkins version: 1.486 It seems that always transfers the same 50 files
            Hide
            drulli Ulli Hafner added a comment -

            Do you have an encoding set in the configuration screen? Seems that JENKINS-16222 is about the same problem.

            Show
            drulli Ulli Hafner added a comment - Do you have an encoding set in the configuration screen? Seems that JENKINS-16222 is about the same problem.
            Hide
            rtorre Rafa de la Torre added a comment -

            @Ulli: Thanks for the support. We didn't have any encoding set in the config screen. I'm testing that workaround.

            Anyways it does not happen in a "light job" (just static analysis + checkstyle parsing those results) but it happens in all regular jobs (full regression, plots, some small artifacts) so I relate it to the number of files being transferred to the master rather than some setting.

            Show
            rtorre Rafa de la Torre added a comment - @Ulli: Thanks for the support. We didn't have any encoding set in the config screen. I'm testing that workaround. Anyways it does not happen in a "light job" (just static analysis + checkstyle parsing those results) but it happens in all regular jobs (full regression, plots, some small artifacts) so I relate it to the number of files being transferred to the master rather than some setting.
            Hide
            drulli Ulli Hafner added a comment -

            The workaround will not help to get the files correctly transmitted It only shows the exception as text in the file to see what actually is going wrong (typically a wrong filename).

            Show
            drulli Ulli Hafner added a comment - The workaround will not help to get the files correctly transmitted It only shows the exception as text in the file to see what actually is going wrong (typically a wrong filename).
            Hide
            drulli Ulli Hafner added a comment -

            Please reopen if the latest fix does not work for you.

            Show
            drulli Ulli Hafner added a comment - Please reopen if the latest fix does not work for you.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                hithwen Julia S.Simon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: