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

Probably distribute environment issue: cannot read file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I am using PMD Plugin (based on findbugs) and Compiler warnings plugin.
      When I drill down in the report to the file itself it gives:

      Can't read file:
      /opt/hudsonslave/workspace/cwswip-l/cws/repos/cws/Synchronizer/synchronizer_DT/java/com/cordys/cws/synchronize/state/item/collection/CwsItemPreparationList.java
      (No such file or directory)

      We have a distributed setup. The Hudson master only monitors all builds. The
      slaves do the actual build. Maybe the plugin tries to read the file locally?
      On slave this file exists.

      We have installed:
      findbugs 2.6
      warnings 1.3
      pmd 1.3

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          I should change the process to collect the warnings AND the affected files and
          send them to the master.

          Show
          drulli Ulli Hafner added a comment - I should change the process to collect the warnings AND the affected files and send them to the master.
          Hide
          drulli Ulli Hafner added a comment -

          Implemented a first version that copies the affected files from the slave to the
          master. (Currently only for freestyle projects.)

          If you are interested in testing the preview (it will take some time until I set
          up a master-slave configuration):
          http://hudson.ramfelt.se/view/Hudson/job/Hudson%20plugins/

          Show
          drulli Ulli Hafner added a comment - Implemented a first version that copies the affected files from the slave to the master. (Currently only for freestyle projects.) If you are interested in testing the preview (it will take some time until I set up a master-slave configuration): http://hudson.ramfelt.se/view/Hudson/job/Hudson%20plugins/
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/checkstyle/.settings/org.eclipse.jdt.core.prefs
          trunk/hudson/plugins/checkstyle/release.sh
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/HealthAwarePublisher.java
          trunk/hudson/plugins/findbugs/release.sh
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/HealthAwarePublisher.java
          trunk/hudson/plugins/pmd/release.sh
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/HealthAwarePublisher.java
          trunk/hudson/plugins/tasks/release.sh
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/HealthAwarePublisher.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/HealthAwarePublisher.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=12716
          Log:
          [FIXED JENKINS-1749] Copy files that have annotations from slave to master.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/checkstyle/.settings/org.eclipse.jdt.core.prefs trunk/hudson/plugins/checkstyle/release.sh trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/HealthAwarePublisher.java trunk/hudson/plugins/findbugs/release.sh trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/HealthAwarePublisher.java trunk/hudson/plugins/pmd/release.sh trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/HealthAwarePublisher.java trunk/hudson/plugins/tasks/release.sh trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/HealthAwarePublisher.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/HealthAwarePublisher.java http://fisheye4.cenqua.com/changelog/hudson/?cs=12716 Log: [FIXED JENKINS-1749] Copy files that have annotations from slave to master.

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            cbos Cees Bos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: