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

MsBuildParser not including project directory when determining filename for warning

    XMLWordPrintable

Details

    Description

      Here's an excerpt from one of my build logs...

      Project "C:\development\hudson-slave\workspace\MySolution\MySolution.sln" (1) is building "C:\development\hudson-slave\workspace\MySolution\MyProject\MonthCalendar.csproj" (3) on node 0 (Rebuild target(s)).
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\bin\x86\Release\MonthCalendar.dll".
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\obj\x86\Release\Nabi.Calendar.AlignControl.resources".
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\obj\x86\Release\Nabi.Calendar.ImageListPanel.resources".
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\obj\x86\Release\Nabi.Calendar.MonthCalendar.resources".
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\obj\x86\Release\Nabi.Calendar.Resource1.resources".
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\obj\x86\Release\MonthCalendar.csproj.GenerateResource.Cache".
      Deleting file "C:\development\hudson-slave\workspace\MySolution\MyProject\obj\x86\Release\MonthCalendar.dll".
      EntityClean:
      Successfully cleaned the output for 0 EDMX files.
      EntityDeploy:
      Processing 0 EDMX files.
      Finished processing 0 EDMX files.
      CoreResGen:
      Processing resource file "AlignControl.resx" into "obj\x86\Release\Nabi.Calendar.AlignControl.resources".
      Processing resource file "ImageListPanel.resx" into "obj\x86\Release\Nabi.Calendar.ImageListPanel.resources".
      Processing resource file "MonthCalendar.resx" into "obj\x86\Release\Nabi.Calendar.MonthCalendar.resources".
      Processing resource file "Resource1.resx" into "obj\x86\Release\Nabi.Calendar.Resource1.resources".
      MonthCalendar.cs(1994,25): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.BackgroundImage' overrides non-obsolete member 'System.Windows.Forms.Control.BackgroundImage'
      MonthCalendar.cs(2009,31): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.RightToLeft' overrides non-obsolete member 'System.Windows.Forms.Control.RightToLeft'
      MonthCalendar.cs(2024,24): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.Font' overrides non-obsolete member 'System.Windows.Forms.Control.Font'
      MonthCalendar.cs(2039,25): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.BackColor' overrides non-obsolete member 'System.Windows.Forms.Control.BackColor'
      MonthCalendar.cs(2054,26): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.Text' overrides non-obsolete member 'System.Windows.Forms.Control.Text'
      MonthCalendar.cs(2069,25): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.ForeColor' overrides non-obsolete member 'System.Windows.Forms.Control.ForeColor'
      CopyFilesToOutputDirectory:
      Copying file from "obj\x86\Release\MonthCalendar.dll" to "bin\x86\Release\MonthCalendar.dll".
      MonthCalendar -> C:\development\hudson-slave\workspace\MySolution\MyProject\bin\x86\Release\MonthCalendar.dll
      Done Building Project "C:\development\hudson-slave\workspace\MySolution\MyProject\MonthCalendar.csproj" (Rebuild target(s)).

      This produces warnings as follows:

      <warning>
      <message>Obsolete member 'Nabi.Calendar.MonthCalendar.RightToLeft' overrides non-obsolete member 'System.Windows.Forms.
      Control.RightToLeft'</message>
      <priority>NORMAL</priority>
      <key>42</key>
      <lineRanges>
      <range>
      <start>2009</start>
      <end>2009</end>
      </range>
      </lineRanges>
      <primaryLineNumber>2009</primaryLineNumber>
      <fileName>MonthCalendar.cs</fileName>
      <packageName>-</packageName>
      <category>CS0809</category>
      <type>MSBuild</type>
      <contextHashCode>43</contextHashCode>
      <origin>warnings</origin>
      <pathName></pathName>
      </warning>
      <warning>

      When the correct fileName and pathName should be:

      <fileName>MyProject/MonthCalendar.cs</fileName>

      <pathName>MyProject</pathName>

      Attachments

        Activity

          acollins acollins created issue -
          drulli Ulli Hafner added a comment -

          Is there a way to get absolute filenames for msbuild errors?

          Is the file MonthCalendar.cs contained several times in your workspace?

          drulli Ulli Hafner added a comment - Is there a way to get absolute filenames for msbuild errors? Is the file MonthCalendar.cs contained several times in your workspace?
          acollins acollins added a comment - - edited

          MonthCalendar.cs is only contained once in the workspace.

          I believe the absolute filename can be stitched together from parts of the log, but the log parsing would have to be stateful (instead of purely line driven).

          E.g. When a line like this appears:

          Project "C:\development\hudson-slave\workspace\MySolution\MySolution.sln" (1) is building "C:\development\hudson-slave\workspace\MySolution\MyProject\MonthCalendar.csproj" (3) on node 0 (Rebuild target(s)).

          ...record the project directory as C:\development\hudson-slave\workspace\MySolution\MyProject

          Then when a line like this appears:

          MonthCalendar.cs(1994,25): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.BackgroundImage' overrides non-obsolete member

          ...we know MonthCalendar.cs is in C:\development\hudson-slave\workspace\MySolution\MyProject, making the absolute path:

          C:\development\hudson-slave\workspace\MySolution\MyProject\MonthCalendar.cs

          Do you think it's possible to do that?

          Thanks.
          Ashley

          acollins acollins added a comment - - edited MonthCalendar.cs is only contained once in the workspace. I believe the absolute filename can be stitched together from parts of the log, but the log parsing would have to be stateful (instead of purely line driven). E.g. When a line like this appears: Project "C:\development\hudson-slave\workspace\MySolution\MySolution.sln" (1) is building "C:\development\hudson-slave\workspace\MySolution\MyProject\MonthCalendar.csproj" (3) on node 0 (Rebuild target(s)). ...record the project directory as C:\development\hudson-slave\workspace\MySolution\MyProject Then when a line like this appears: MonthCalendar.cs(1994,25): warning CS0809: Obsolete member 'Nabi.Calendar.MonthCalendar.BackgroundImage' overrides non-obsolete member ...we know MonthCalendar.cs is in C:\development\hudson-slave\workspace\MySolution\MyProject, making the absolute path: C:\development\hudson-slave\workspace\MySolution\MyProject\MonthCalendar.cs Do you think it's possible to do that? Thanks. Ashley
          drulli Ulli Hafner added a comment - - edited

          Actually that should not be required. I already included a source finder that scans all file names from the workspace and tries to match the relative file names. What logging statements (from the warnings plug-in) are in the console log of your build and in the global Hudson log?

          drulli Ulli Hafner added a comment - - edited Actually that should not be required. I already included a source finder that scans all file names from the workspace and tries to match the relative file names. What logging statements (from the warnings plug-in) are in the console log of your build and in the global Hudson log?
          drulli Ulli Hafner added a comment -

          Can you please check you log files and attach the result (see comment).

          drulli Ulli Hafner added a comment - Can you please check you log files and attach the result (see comment ).
          acollins acollins added a comment -

          Yes, will do. Apologies for the delay. It may be a problem relating to a Solaris master with Windows slave (JENKINS-3488).

          acollins acollins added a comment - Yes, will do. Apologies for the delay. It may be a problem relating to a Solaris master with Windows slave ( JENKINS-3488 ).
          acollins acollins added a comment -

          Here's the end of the console log:

          171 Warning(s)
          54 Error(s)

          Time Elapsed 00:00:54.40

          [WARNINGS] Parsing warnings in console log...
          Email was triggered for: Failure
          Sending email for trigger: Failure
          Sending email to: xxx@xxx.com
          Finished: FAILURE

          This is what I see in the Hudson server log for that build:

          INFO: SCM changes detected in MySolution. Triggering #511
          18-Aug-2010 17:42:49 hudson.model.Run run
          INFO: MySolution#511 main build action completed: FAILURE
          18-Aug-2010 17:42:49 hudson.plugins.analysis.core.ParserResult populateFileNameCache
          INFO: Building cache of all workspace files to obtain absolute filenames for all warnings.
          18-Aug-2010 17:42:51 hudson.plugins.analysis.core.BuildResult loadResult

          This is the error I get when clicking on the warning file:

          Content of file

          01 Copying the source file 'MonthCalendar.cs' from the workspace to the build folder '/home/hudson/hudson/jobs/MySolution/builds/2010-08-18_17-41-43/workspace-files/8b5b46a0.tmp' on the Hudson master failed.
          02 Seems that the path is relative, however an absolute path is required when copying the sources.
          03 Is the file 'MonthCalendar.cs' contained more than once in your workspace?
          04 Is the file 'MonthCalendar.cs' a valid filename?
          05 If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/MonthCalendar.cs'
          06 If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/MonthCalendar.cs'
          07 hudson.util.IOException2: remote file operation failed: MonthCalendar.cs at hudson.remoting.Channel@1342572:ldnw244
          08 at hudson.FilePath.act(FilePath.java:749)
          09 at hudson.FilePath.act(FilePath.java:735)
          10 at hudson.FilePath.copyTo(FilePath.java:1360)
          11 at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:264)
          12 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:226)
          13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
          14 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
          15 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
          16 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
          17 at hudson.model.Build$RunnerImpl.post2(Build.java:158)
          18 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
          19 at hudson.model.Run.run(Run.java:1271)
          20 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          21 at hudson.model.ResourceController.execute(ResourceController.java:88)
          22 at hudson.model.Executor.run(Executor.java:129)
          23 Caused by: java.io.FileNotFoundException: MonthCalendar.cs (The system cannot find the file specified)
          24 at java.io.FileInputStream.open(Native Method)
          25 at java.io.FileInputStream.<init>(Unknown Source)
          26 at hudson.FilePath$30.invoke(FilePath.java:1364)
          27 at hudson.FilePath$30.invoke(FilePath.java:1360)
          28 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
          29 at hudson.remoting.UserRequest.perform(UserRequest.java:114)
          30 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          31 at hudson.remoting.Request$2.run(Request.java:270)
          32 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          33 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
          34 at java.util.concurrent.FutureTask.run(Unknown Source)
          35 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
          36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          37 at hudson.remoting.Engine$1$1.run(Engine.java:58)
          38 at java.lang.Thread.run(Unknown Source)

          acollins acollins added a comment - Here's the end of the console log: 171 Warning(s) 54 Error(s) Time Elapsed 00:00:54.40 [WARNINGS] Parsing warnings in console log... Email was triggered for: Failure Sending email for trigger: Failure Sending email to: xxx@xxx.com Finished: FAILURE This is what I see in the Hudson server log for that build: INFO: SCM changes detected in MySolution. Triggering #511 18-Aug-2010 17:42:49 hudson.model.Run run INFO: MySolution#511 main build action completed: FAILURE 18-Aug-2010 17:42:49 hudson.plugins.analysis.core.ParserResult populateFileNameCache INFO: Building cache of all workspace files to obtain absolute filenames for all warnings. 18-Aug-2010 17:42:51 hudson.plugins.analysis.core.BuildResult loadResult This is the error I get when clicking on the warning file: Content of file 01 Copying the source file 'MonthCalendar.cs' from the workspace to the build folder '/home/hudson/hudson/jobs/MySolution/builds/2010-08-18_17-41-43/workspace-files/8b5b46a0.tmp' on the Hudson master failed. 02 Seems that the path is relative, however an absolute path is required when copying the sources. 03 Is the file 'MonthCalendar.cs' contained more than once in your workspace? 04 Is the file 'MonthCalendar.cs' a valid filename? 05 If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/ [job-name] /MonthCalendar.cs' 06 If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/ [job-name] /workspace/MonthCalendar.cs' 07 hudson.util.IOException2: remote file operation failed: MonthCalendar.cs at hudson.remoting.Channel@1342572:ldnw244 08 at hudson.FilePath.act(FilePath.java:749) 09 at hudson.FilePath.act(FilePath.java:735) 10 at hudson.FilePath.copyTo(FilePath.java:1360) 11 at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:264) 12 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:226) 13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 14 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) 15 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) 16 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) 17 at hudson.model.Build$RunnerImpl.post2(Build.java:158) 18 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) 19 at hudson.model.Run.run(Run.java:1271) 20 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 21 at hudson.model.ResourceController.execute(ResourceController.java:88) 22 at hudson.model.Executor.run(Executor.java:129) 23 Caused by: java.io.FileNotFoundException: MonthCalendar.cs (The system cannot find the file specified) 24 at java.io.FileInputStream.open(Native Method) 25 at java.io.FileInputStream.<init>(Unknown Source) 26 at hudson.FilePath$30.invoke(FilePath.java:1364) 27 at hudson.FilePath$30.invoke(FilePath.java:1360) 28 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) 29 at hudson.remoting.UserRequest.perform(UserRequest.java:114) 30 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 31 at hudson.remoting.Request$2.run(Request.java:270) 32 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 33 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 34 at java.util.concurrent.FutureTask.run(Unknown Source) 35 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 37 at hudson.remoting.Engine$1$1.run(Engine.java:58) 38 at java.lang.Thread.run(Unknown Source)
          drulli Ulli Hafner added a comment -

          I'm sorry, what I actually mean is something from the Hudson log (Manage Hudson -> System Log).

          Is there a message 'Building cache of all workspace files to obtain absolute filenames for all warnings.'?

          drulli Ulli Hafner added a comment - I'm sorry, what I actually mean is something from the Hudson log (Manage Hudson -> System Log). Is there a message 'Building cache of all workspace files to obtain absolute filenames for all warnings.'?
          drulli Ulli Hafner added a comment -

          I fixed JENKINS-3488 today. Can you please update to the latest release and retry again. Maybe your issue has been fixed, too.

          drulli Ulli Hafner added a comment - I fixed JENKINS-3488 today. Can you please update to the latest release and retry again. Maybe your issue has been fixed, too.
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          acollins acollins added a comment -

          I tried downloading analysis-collector.hpi, analysis-core.hpi and warnings.hpi from here:

          http://faktorzehn.org:8081/job/Hudson%20Plug-ins%20(Compile)/40/

          and installing them manually via the upload section of the update UI. I also restarted the master and slave.

          The problem is still there for me. All the .tmp files in the builds/2010-08-19_11-56-36/workspace-files on the master contain errors like the one given above; "Seems that the path is relative, however an absolute path is required when copying the sources."

          Any ideas? Have I done the upgrade correctly?

          acollins acollins added a comment - I tried downloading analysis-collector.hpi, analysis-core.hpi and warnings.hpi from here: http://faktorzehn.org:8081/job/Hudson%20Plug-ins%20(Compile)/40/ and installing them manually via the upload section of the update UI. I also restarted the master and slave. The problem is still there for me. All the .tmp files in the builds/2010-08-19_11-56-36/workspace-files on the master contain errors like the one given above; "Seems that the path is relative, however an absolute path is required when copying the sources." Any ideas? Have I done the upgrade correctly?
          acollins acollins added a comment -

          I also upgraded to 1.372 this morning.

          acollins acollins added a comment - I also upgraded to 1.372 this morning.
          drulli Ulli Hafner added a comment -

          Ok, that is fast Thanks for testing. Can you please have a look in your Hudson log, there should be some output about the scanning and detection of absolute paths...

          drulli Ulli Hafner added a comment - Ok, that is fast Thanks for testing. Can you please have a look in your Hudson log, there should be some output about the scanning and detection of absolute paths...
          drulli Ulli Hafner made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          acollins acollins added a comment -

          Here's the system log from my latest build (Manage Hudson -> System Log). Seems to be in reverse time order:

          19-Aug-2010 13:31:06 hudson.plugins.analysis.core.BuildResult loadResult
          INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_13-23-56/compiler-warnings.xml for build 520
          19-Aug-2010 13:30:53 hudson.plugins.analysis.core.BuildResult loadResult
          INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_11-56-36/compiler-warnings.xml for build 518
          19-Aug-2010 13:30:53 hudson.plugins.analysis.core.BuildResult loadResult
          INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_12-40-58/compiler-warnings.xml for build 519
          19-Aug-2010 13:29:01 hudson.plugins.analysis.core.BuildResult loadResult
          INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_12-40-58/compiler-warnings.xml for build 519
          19-Aug-2010 13:28:59 hudson.plugins.analysis.core.ParserResult populateFileNameCache
          INFO: Building cache of all workspace files to obtain absolute filenames for all warnings: C:\development\hudson-slave\workspace\MySolution
          19-Aug-2010 13:28:59 hudson.model.Run run
          INFO: MySolution #520 main build action completed: SUCCESS

          Should I change the log level for hudson.plugins.analysis.core.ParserResult?

          acollins acollins added a comment - Here's the system log from my latest build (Manage Hudson -> System Log). Seems to be in reverse time order: 19-Aug-2010 13:31:06 hudson.plugins.analysis.core.BuildResult loadResult INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_13-23-56/compiler-warnings.xml for build 520 19-Aug-2010 13:30:53 hudson.plugins.analysis.core.BuildResult loadResult INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_11-56-36/compiler-warnings.xml for build 518 19-Aug-2010 13:30:53 hudson.plugins.analysis.core.BuildResult loadResult INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_12-40-58/compiler-warnings.xml for build 519 19-Aug-2010 13:29:01 hudson.plugins.analysis.core.BuildResult loadResult INFO: Loaded data file /home/hudson/hudson/jobs/MySolution/builds/2010-08-19_12-40-58/compiler-warnings.xml for build 519 19-Aug-2010 13:28:59 hudson.plugins.analysis.core.ParserResult populateFileNameCache INFO: Building cache of all workspace files to obtain absolute filenames for all warnings: C:\development\hudson-slave\workspace\MySolution 19-Aug-2010 13:28:59 hudson.model.Run run INFO: MySolution #520 main build action completed: SUCCESS Should I change the log level for hudson.plugins.analysis.core.ParserResult?
          drulli Ulli Hafner added a comment -

          That would be good, the level currently is FINE in the logging statements...

          drulli Ulli Hafner added a comment - That would be good, the level currently is FINE in the logging statements...
          acollins acollins added a comment -

          Interesting. It has started working for some files since I changed the log level and kicked off a new build. Very nice.

          The weird thing is that some files which aren't duplicates are being listed as duplicates in the log:

          FINE: Multiple matches found. Absolute filename could not be resolved for: Forms/EnvChooserForm.cs

          Here's a find (from cygwin) in the build slave's workspace:

          dev3$ cd /home/acollins/c/development/hudson-slave/workspace/MySolution
          dev3$ find . -name EnvChooserForm.cs
          ./GuiBrowserLibrary/Forms/EnvChooserForm.cs
          dev3$

          acollins acollins added a comment - Interesting. It has started working for some files since I changed the log level and kicked off a new build. Very nice. The weird thing is that some files which aren't duplicates are being listed as duplicates in the log: FINE: Multiple matches found. Absolute filename could not be resolved for: Forms/EnvChooserForm.cs Here's a find (from cygwin) in the build slave's workspace: dev3$ cd /home/acollins/c/development/hudson-slave/workspace/MySolution dev3$ find . -name EnvChooserForm.cs ./GuiBrowserLibrary/Forms/EnvChooserForm.cs dev3$
          drulli Ulli Hafner added a comment -

          Ok, I think I should improve the logging to see the actual duplications...

          What path is given behind the log message 'Building cache of all workspace files to obtain absolute filenames for all warnings:'

          drulli Ulli Hafner added a comment - Ok, I think I should improve the logging to see the actual duplications... What path is given behind the log message 'Building cache of all workspace files to obtain absolute filenames for all warnings:'
          acollins acollins added a comment -

          Here's the log message:

          INFO: Building cache of all workspace files to obtain absolute filenames for all warnings: C:\development\hudson-slave\workspace\MySolution

          acollins acollins added a comment - Here's the log message: INFO: Building cache of all workspace files to obtain absolute filenames for all warnings: C:\development\hudson-slave\workspace\MySolution

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/ParserResult.java
          http://jenkins-ci.org/commit/33964
          Log:
          JENKINS-7134 Improved logging to show the duplicate file names.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/ParserResult.java http://jenkins-ci.org/commit/33964 Log: JENKINS-7134 Improved logging to show the duplicate file names.
          acollins acollins added a comment - - edited

          Could it be due to similar files being stored in the ".svn" dirs of a checked out workspace?

          e.g.:

           
          dev3$ find . -name \*EnvChooserForm.cs\*
          ./GuiBrowserLibrary/Forms/.svn/text-base/EnvChooserForm.cs.svn-base
          ./GuiBrowserLibrary/Forms/EnvChooserForm.cs
          
          acollins acollins added a comment - - edited Could it be due to similar files being stored in the ".svn" dirs of a checked out workspace? e.g.: dev3$ find . -name \*EnvChooserForm.cs\* ./GuiBrowserLibrary/Forms/.svn/text-base/EnvChooserForm.cs.svn-base ./GuiBrowserLibrary/Forms/EnvChooserForm.cs
          drulli Ulli Hafner added a comment -

          Ahhh, I think that I did forget to convert the separators from Windows to UNIX when comparing...

          drulli Ulli Hafner added a comment - Ahhh, I think that I did forget to convert the separators from Windows to UNIX when comparing...

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/ParserResult.java
          trunk/hudson/plugins/analysis-core/src/test/java/hudson/plugins/analysis/core/ParserResultTest.java
          http://jenkins-ci.org/commit/33968
          Log:
          [FIXED JENKINS-7134] Convert path separators to UNIX before finding matching filenames.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/ParserResult.java trunk/hudson/plugins/analysis-core/src/test/java/hudson/plugins/analysis/core/ParserResultTest.java http://jenkins-ci.org/commit/33968 Log: [FIXED JENKINS-7134] Convert path separators to UNIX before finding matching filenames.
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          drulli Ulli Hafner added a comment -

          Integrated in Hudson Plug-ins (Compile) #43
          [FIXED JENKINS-7134] Convert path separators to UNIX before finding matching filenames.

          drulli Ulli Hafner added a comment - Integrated in Hudson Plug-ins (Compile) #43 [FIXED JENKINS-7134] Convert path separators to UNIX before finding matching filenames.
          acollins acollins added a comment - - edited

          I've upgraded to these hpis:

          http://faktorzehn.org:8081/job/Hudson%20Plug-ins%20(Compile)/43/

          and it's working really well now.

          Thank you!

          acollins acollins added a comment - - edited I've upgraded to these hpis: http://faktorzehn.org:8081/job/Hudson%20Plug-ins%20(Compile)/43/ and it's working really well now. Thank you!
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137231 ] JNJira + In-Review [ 187414 ]

          People

            drulli Ulli Hafner
            acollins acollins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: