Project

General

Profile

Actions

Bug #15083

closed

Bug #14465: Generation fails with "Task FutureTask rejected from ThreadPoolExecutor" due to timeout in JS computation

Use human-readable durations in policy generation summary

Added by Vincent MEMBRÉ almost 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Policy generation summary looks like this

[2019-06-13 16:20:02] INFO  policy.generation - Timing summary:
[2019-06-13 16:20:02] INFO  policy.generation - Run pre-gen scripts hooks     :          1 ms
[2019-06-13 16:20:02] INFO  policy.generation - Run pre-gen modules hooks     :          0 ms
[2019-06-13 16:20:02] INFO  policy.generation - Fetch all information         :       1213 ms
[2019-06-13 16:20:02] INFO  policy.generation - Historize names               :       1952 ms
[2019-06-13 16:20:02] INFO  policy.generation - Build current rule values     :        490 ms
[2019-06-13 16:20:02] INFO  policy.generation - Build target configuration    :     139890 ms
[2019-06-13 16:20:02] INFO  policy.generation - Write node configurations     :     259061 ms
[2019-06-13 16:20:02] INFO  policy.generation - Save expected reports         :       8056 ms
[2019-06-13 16:20:02] INFO  policy.generation - Run post generation hooks     :         17 ms
[2019-06-13 16:20:02] INFO  policy.generation - Number of nodes updated       :       2743   
[2019-06-13 16:20:02] INFO  policy.generation - Policy generation completed in: PT7M32.547S

But the period is not displayed correctly, it should be a human readable value

Actions #1

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #2

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/2265
Actions #3

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ almost 5 years ago

  • Name check set to To do
Actions #5

Updated by Vincent MEMBRÉ almost 5 years ago

  • Fix check set to To do
Actions #6

Updated by François ARMAND almost 5 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Alexis Mousset almost 5 years ago

  • Subject changed from In policy generation summary, time to do full generation is not correctly displayed to Use human-readable durations in policy generation summary
  • Name check changed from To do to Reviewed
Actions #8

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.12 which was released today.

Actions

Also available in: Atom PDF