| Summary: | Windows Event Log rules adapters may generate incorrect creationTime values | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Hari H Krishna <harkrish> |
| Component: | TPTP.monitoring | Assignee: | Dave Smith <smith> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | igururao, labadie, umarkova |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | closed460 | ||
|
Description
Hari H Krishna
As per discussion with Uliyana and Eric canging the severity to critical While there is a problem parsing some log files with a rules adapter that uses a timeFormat string to parse a timestamp that includes fractional seconds, it does not affect the Windows Event log adapters. This is because the Windows Event logs do not include a fractional second value but the EventLogReader program that converts the binary event log into a text file pads the timestamp with a fractional second value of 6 zeros (eg. CreationTime: 10/24/2005 14:25:05.000000;). The fractional seconds are only an issue if they are non-zero. In the Windows Event log case I believe they will always be zero. I have never encountered one where it was non zero. Therefore, I will downgrade the severity to normal since the problem has never been encountered with Windows Event Logs. However, I'll target this to 4.3 to fix the creationTime rule to truncate the fractional seconds to 3 digits in case the event logs change in the future to generate timestamps with longer fractional seconds. This downgrading has been negotiated with Eric Labadie who represents the consuming product who opened this bugzilla. Deferring to 4.4 as it is not a stop ship issue and cannot be contained in 4.3. Added sizing. Targetting to fix in i3 and increasing priority to indicate it is planned for 4.4. Changing to a more appropriate component. The adapter files are in the Monitor.Analysis component. Committed fix to TPTP Head CVS.
The fix was to change the match pattern in the creationTime rule from
"(\d{2}/\d{2}/\d{4}\s\d{2}:\d{2}:\d{2}\.\d{6})"
to
"(\d{2}/\d{2}/\d{4}\s\d{2}:\d{2}:\d{2}\.\d{3})\d{3}"
in all Windows event log adapter files.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |