Issue Details (XML | Word | Printable)

Key: HUDSON-5601
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: gbois
Reporter: nellyt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hudson

Failed jobs reported by email as success

Created: 10/Feb/10 05:29 PM   Updated: 30/Mar/10 04:53 PM   Resolved: 29/Mar/10 02:06 PM
Return to search
Component/s: doxygen
Affects Version/s: None
Fix Version/s: None

Environment:
Win XP
Hudson 1.344


 Description  « Hide

This job sends the email titled
Hudson build is back to normal : CCode #438

when in fact it fails.

The email appears to be send before the job is complete

The console output shows .....

TASKS] Scanning workspace files for tasks...
[TASKS] Found 320 annotations (0 new, 24 high, 296 normal, 0 low)
[TASKS] Not changing build status, since no threshold has been exceeded
[WARNINGS] Parsing warnings in console log...
[WARNINGS] Found 48 annotations (0 new, 0 high, 48 normal, 0 low)
[WARNINGS] Not changing build status, since no threshold has been exceeded
Recording test results
[DocLinks] Copying FileLocks in c/h files to 1 ...
[DocLinks] Copying Properties not set in these c/h files to 2 ...
Sending e-mails to: xxxxxx xxxxxx xxxxx
Publishing Doxygen HTML results.
FATAL: error
hudson.AbortException: The directory 'C:\neilt\projects\hudson\jobs\CCode\workspace\html' doesn't exist.
at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:292)
at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:56)
at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24)
at hudson.FilePath.act(FilePath.java:694)
at hudson.FilePath.act(FilePath.java:676)
at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:159)
at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
at hudson.model.Build$RunnerImpl.cleanUp(Build.java:158)
at hudson.model.Run.run(Run.java:1240)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)
Finished: FAILURE



Sort Order: Ascending order - Click to sort in descending order
kohsuke added a comment - 15/Feb/10 10:49 PM

DoxygenArchiver should extends Recorder, not Notifier so that it executes at the right moment.


nellyt added a comment - 22/Feb/10 02:50 PM

I'm puzzled why noone else seems to have commented/logged this problem as it is becoming a real inconvenience now.

It is now at the point where nearly everyone on the project is being emailed every time any job runs and I have a screen of red balls on all jobs containing doxygen which have been flagged as failed


mindless added a comment - 29/Mar/10 10:29 AM

oops, I set it to Notifier in r23079. I think I did this because the class already had "needsToRunAfterFinalized" that returns true.

gbois, assigning issue to you so you can take a look and fix this up. If this should run earlier as suggested, I think change the class to extend Recorder and remove the needsToRunAfterFinalized method. thanks!


gbois added a comment - 29/Mar/10 02:06 PM

Available in Doxygen Hudson plugin 0.6


scm_issue_link added a comment - 30/Mar/10 04:53 PM

Code changed in hudson
User: : gbois
Path:
trunk/hudson/plugins/doxygen/src/main/java/hudson/plugins/doxygen/DoxygenArchiver.java
http://hudson-ci.org/commit/29430
Log:
Fixed HUDSON-5601