Jira (FACT-2815) Timing on cached facts is inconsistent, sometime it is displayed, others it is not

11 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Sep 24, 2020, 11:46:04 AM9/24/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Bug FACT-2815
Timing on cached facts is inconsistent, sometime it is displayed, others it is not
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/09/24 8:45 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

Cached facts timing is inconsistently displayedWhen running facter with `-t` option.

Acceptance criteria:

  • facter should display timing information even for cached facts
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Florin Dragos (Jira)

unread,
Sep 25, 2020, 2:35:04 AM9/25/20
to puppe...@googlegroups.com
Florin Dragos commented on Bug FACT-2815
 
Re: Timing on cached facts is inconsistent, sometime it is displayed, others it is not

Using following config, timing displayed is inconsistent: virtualization is not displayed, but ssh is

ttls : [ { "ssh": 30 days }, { "virtualization": 30 days } ]

 

fact `ssh`, took: (0.000067) seconds

Bogdan Irimie (Jira)

unread,
Sep 30, 2020, 9:26:04 AM9/30/20
to puppe...@googlegroups.com

timing for cached facts should be marked (maybe write cached fact instead of fact)

Bogdan Irimie (Jira)

unread,
Sep 30, 2020, 9:28:03 AM9/30/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Sep 30, 2020, 9:28:04 AM9/30/20
to puppe...@googlegroups.com

Sebastian Miclea (Jira)

unread,
Oct 2, 2020, 9:07:04 AM10/2/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Oct 7, 2020, 9:05:03 AM10/7/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Oct 14, 2020, 10:04:04 AM10/14/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-7.10, ghost-14.10 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Oct 19, 2020, 4:12:02 AM10/19/20
to puppe...@googlegroups.com
 
Re: Timing on cached facts is inconsistent, sometime it is displayed, others it is not

`virtualisation` is the name of a groups of facts

virtualization
- virtual
- is_virtual
- cloud

With the fix from this PR timing is showed for the facts that can be resolved from the `virtualisation group`.

cached fact 'virtual', took: (0.000046) seconds
cached fact 'is_virtual', took: (0.000003) seconds

Reply all
Reply to author
Forward
0 new messages