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

Probably distribute environment issue: cannot read file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • findbugs-plugin
    • None
    • Platform: All, OS: All

    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

          cbos Cees Bos created issue -
          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.

          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.
          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/

          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/
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]

          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.

          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.
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 131822 ] JNJira + In-Review [ 200955 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: