Ticket #1830 (new enhancement)
Add a warning for logfiles if the log file does not exist or is not found
| Reported by: | darshie | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.+ |
| Version: | 0.8.3 | Keywords: | |
| Cc: |
Description (last modified by dustin) (diff)
I've noticed that there is no warning in the logs if i try to read a log file from disk using logfiles.
f.addStep(ShellCommand(
command=["make", "test"],
logfiles={"disk_log": "/slavebot/testbuild/test.log"}))
In this case if the file cannot be found, an empty file called test.log will be created and added to the waterfall page.
Would be useful to have a warning in the logs so is possible to know if the file exist or not, and troubleshoot why a log file is not displayed in the waterfall page, instead than just showing an empty file.
Thanks
Change History
comment:1 Changed 2 years ago by dustin
- Keywords shellCommand, logfiles removed
- Description modified (diff)
- Milestone changed from undecided to 0.8.4
comment:3 Changed 2 years ago by dustin
- Summary changed from ER : Add a warning for logfiles if the log file does not exist or is not found to Add a warning for logfiles if the log file does not exist or is not found
comment:4 Changed 16 months ago by callek
Should this show a warning in waterfall of "log {logfilename} not found [details]" or actually be represented as if it is the logfiles contents?
I think the *way* we expose this data matters, and would be relatively representative of how difficult this is to do.
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)