No timestamps in polygraph-ltrace output

Bug #1202239 reported by Pavel Kazlenka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Polygraph
New
Undecided
Unassigned

Bug Description

There are no timestamps in polygraph-ltrace output, however they are expected to be there according to documentation (http://www.web-polygraph.org/docs/reference/options.html) :
"The --time_unit option has two effects: ltrace uses time since test start when reporting timestamps and that relative time is reported in the specified units or scale. By default, absolute time (seconds since Unix epoch) is reported."

Steps to reproduce:
1. Obtain any log from polygraph test.
2. Run polygraph-ltrace --side clt --objects ok_xact.count --win_len 1min client.log .
>#ok_xact.count
>44907
>62275
>62307
>62505
>43167

Expected:
Output must contain timestamps.

Versions affected:
Reproducible using at least versions 4.3.2, 4.6.0 and 4.7.0

I've attached sample log file for 4.3.2.

Revision history for this message
Pavel Kazlenka (panya-qwert) wrote :
description: updated
Revision history for this message
Alex Rousskov (rousskov) wrote :

The options descriptions may not be very clear, but I do not think it is meant to imply that timestamps are reported if --time_unit option is used. It only describes what happens to those timestamps IF they are reported. To make ltrace actually report timestamps, you probably should use the --objects parameter, just like with any other statistics.

You may want to check that time reporting (when enabled) matches the description.

We should polish the wording so this bug report should probably remain open even if time reporting is correct.

Revision history for this message
Pavel Kazlenka (panya-qwert) wrote :

Sorry,
Seems like false alarm. Command line should look like polygraph-ltrace --side clt --objects time,ok_xact.count --win_len 1min client.log

However, documentation should be updated to reflect 'time' object necessity to get timestamps in output.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.