User Tools

Site Tools


uls:testsuite:version_180:aggregations

Compressions & Aggregations

Compressions and aggregations and are defined on continuously generated values.


Manually Defined Aggregations

(Setting daily aggregations for domain “Woodlark”).

(A) Specifications

Connect as “SystematicGuy” to ULS and go to

  • administration → compression → set compression → Woodlark → testsrv21 → 200 Continuous Hourly Values → 220 Float Values

“SystematicGuy” has sufficient rights only for domain “Woodlark”, although he may drill down also in domain “ULS”, but cannot define any compressions.

  • activate some checkboxes of the daily block and click

It should look like:

Click on changes of the compression setting to verify that the initial change has been logged.

Click on of the compression setting to view the same result.

Test Description Result Notes
AGGR 0100 manually defined aggregations: specifications successfully defined passed

Any compression/aggregation action will be executed in the following night.

As user “SystematicGuy”

  • go to main menu → aggregated values → since last week → Woodlark → testsrv21 → 200 Continuous Hourly Values → 220 Float Values
  • verify a list of aggregated values, one row for each day

It should look like:

Verify the same results.

Test Description Result Notes
AGGR 0110 manually defined aggregations: specifications successfully applied and correct operation passed

(B) Change

:TODO:

(C) Removal

:TODO:


Domain-Based Aggregations

(Setting hourly and daily aggregations for domain “ULS”).

(A) Specifications

Connect as “AmieAction” to ULS and

  • go to administration → aggregation → set auto aggregation
  • domain “ULS” is automatically chosen

(AmieAction has sufficient rights only for domain “ULS”).

  • set section to “200 Continuous Hourly Values”
  • activate all checkboxes of “hourly” and “special” (lowest line) and click
  • continue with
  • to export the definitions to a new browser tab
  • copy the definition and paste it into the import textbox of previous browser tab
  • copy the “hourly” entry to the “daily” entry

It should look like:

create auto-aggregation for ULS
server=
section=200 Continuous Hourly Values
teststep=
detail=
unit=
hourly=last,avg,sum,dev,min,max,max-min,last-first,count,grad,first,accel,differ,firstsize,last/avg,lastsize
daily=last,avg,sum,dev,min,max,max-min,last-first,count,grad,first,accel,differ,firstsize,last/avg,lastsize
weekly=
monthly=
special=diffof,size,firstline,lastline
access=all

Click to save that. The new entry is added, delete the entry created manually in the first step.

Click on changes of the auto-aggregation setting to verify that the initial change has been logged.

Click on of the auto-aggregation setting to verify that all changes have been logged, especially the deleted one.

Test Description Result Notes
AGGR 0200 domain based aggregations: specifications successfully defined passed

Any compression/aggregation action will be executed in the following night.

Verify, that the above rules are propagated correctly. Check:

  • administration → aggregation → set aggregation → ULS → testsrv11 → 200 Continuous Hourly Values → 210 Integer Values

It should look like

Check as user “TheSpyder” that the hourly and daily aggregations are propagated only to details in domain “ULS”.

  • Go to administration → aggregation → set aggregation → Woodlark
  • drill down to all details of all sources (servers)
  • verify that no aggregation definitions are applied, except those above Manually Defined Aggregations for Woodlark → testsrv21 → 200 Continuous Hourly Values → 220 Float Values
Test Description Result Notes
AGGR 0205 domain based aggregations: specifications successfully propagated passed

Make a report of all effective aggregations:

  • go to main menu → today → auto details selection
  • define a report to show all effective aggregations
period today
display compression

FIXME the “compression” (as display in report details) does currently not work.

Verify as user “AmieAction” that the aggregation works:

  • go to main menu → aggregated values → since last week → ULS → testsrv21 → 200 Continuous Hourly Values → 210 Integer Values
  • verify a list of aggregated values, one row for each hour
  • click on
  • chose
  • display: last values
  • and click

It should look like:

Verify the same results.

Test Description Result Notes
AGGR 0210 domain based aggregations: specifications successfully applied and correct operation passed

=== (B) Change === :TODO:

(C) Removal

:TODO:


Group-Based Aggregations

(Setting weekly and monthly aggregations for all domains (“ULS”, “Woodlark”)).

(A) Specifications

Connect as “TheSpyder” to ULS and

  • go to administration → aggregation → group auto aggregation → AllRounder (that group has full rights for domain “ULS” and “Woodlark”).
  • set section to “*Weekly*”
  • activate all checkboxes of “weekly” (the third block) and click
  • activate checkbox “active [x]” and click

Verify, that the above rules are propagated correctly to all details in all teststeps in both domains:

  • administration → aggregation → set aggregation → ULS → testsrv11 → 400 Continuous Weekly Values
  • administration → aggregation → set aggregation → ULS → testsrv12 → 400 Continuous Weekly Values
  • administration → aggregation → set aggregation → Woodlark → testsrv21 → 400 Continuous Weekly Values
  • administration → aggregation → set aggregation → Woodlark → testsrv22 → 400 Continuous Weekly Values
Test Description Result Notes
AGGR 0300 group based aggregations: specifications successfully applied and properly propagated passed

Verify, that the above rules are NOT propagated to any detail in other teststeps of both domains (although aggregations derived from other definitions may be possible):

  • administration → aggregation → set aggregation → ULS → testsrv11 → 500 Continuous Monthly Values
  • administration → aggregation → set aggregation → ULS → testsrv12 → 300 Continuous Daily Values
  • administration → aggregation → set aggregation → Woodlark → testsrv21 → 500 Continuous Monthly Values
  • administration → aggregation → set aggregation → Woodlark → testsrv22 → 300 Continuous Daily Values
Test Description Result Notes
AGGR 0310 group based aggregations: specifications strictly applied passed

Go to administration → aggregation → group auto aggregation → AllRounder, click on and enter:

create auto aggregation for AllRounder
server=
section=500*
teststep=
detail=
unit=
hourly=
daily=
weekly=
monthly=last,avg,sum,dev,min,max,max-min,last-first,count,grad,first,accel,differ,firstsize,last/avg,lastsize
special=diffof,size,firstline,lastline
access=all

Click to save that.

Verify that the checkboxes for the monthly and special blocks are activated.

Click on changes of the auto aggregation setting to verify that the initial change has been logged.

Verify, that the above rules are propagated correctly to both domains. Check:

  • administration → aggregation → set aggregation → ULS → testsrv11 → 500 Continuous Monthly Values
  • administration → aggregation → set aggregation → ULS → testsrv12 → 500 Continuous Monthly Values
  • administration → aggregation → set aggregation → Woodlark → testsrv21 → 500 Continuous Monthly Values
  • administration → aggregation → set aggregation → Woodlark → testsrv22 → 500 Continuous Monthly Values
Test Description Result Notes
AGGR 0320 group based aggregations: specifications applied with textmode, applied and propagated correctly passed

Verify in the following month, that the aggregations work. Build a report that shows all aggregated values.

  • go to administration → edit reports
  • add a new report with report name “AGGR 0320 - group based aggregations, specifications applied with textmode”
  • edit it
  • click on

Insert the report definition:

report definition
separation=
name=
description=
groups=
domain=ULS,Woodlark
server=testsrv??
section=500 Continuous Monthly Values
teststep=
detail=
unit=
separateby=server
period=sincelastmonth
offset=0
output=last
chartsize=
style=def
values=c
sortcol=
maxdetails=0

Use to compare the result with aggr_0320_group_based_aggregations_specifications_applied_with_textmode.pdf


Examination of Compressed and Aggregated Values

Check a subset of all compressed values. The “continuous_values” script must have at least run for more than one day.

Login as “SystematicGuy” and go to main menu → compressed values → yesterday.

Go to main menu → compressed values → yesterday.

Go to ULS → testsrv12 → 200 Continuous Hourly Values → 210 Integer Values, click on and chose

:TODO:


uls/testsuite/version_180/aggregations.txt · Last modified: 2014-04-07 13:08 by uls