cfengineers-net / cf-profile

Perl script for parsing output of verbose run for cf-agent and create execution tree with timings.
www.cfengineers.net
3 stars 4 forks source link

Elapsed time doesn't show correctly on one bundle #4

Open atsaloli opened 8 years ago

atsaloli commented 8 years ago

Hi, Jon Henrik,

I've got one bundle, "enable_services" that comes out with junk for the time:

...
|----------------> Bundle disable_services
|                                Elapsed: 0.00111 s
|
|> Bundle enable_services
|Elapsed: -1456781492.55753 s
...

Unfortunately I can't share the verbose output I'm feeding into cf-profile.pl as it's client confidential.

Any ideas what might be causing this issue?

atsaloli commented 8 years ago

I found a second bundle like this... in both cases, the very next bundle is "standard_services" from the CFengine Standard Library:

...
|----------------> Bundle <name redacted>
|                                Elapsed: 0.00437 s
|
|> Bundle snmpd
|Elapsed: -1456781492.83609 s
|
|----------------> Bundle standard_services
|                                Elapsed: 0.02800 s
...