===== 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 {{:uls:testsuite:version_180:ok_button.png?nolink|}}
It should look like:
{{:uls:testsuite:version_180:set_compression_woodlark_testsrv21_200_continuous_hourly_values_220_float_values.png?nolink|}}
Click on //changes// of the compression setting to verify that the initial change has been logged.
Click on {{:uls:testsuite:version_180:changes_button.png?nolink|}}
of the compression setting to view the same result.
{|
! Test
! Description
! Result
! Notes
|-
| AGGR 0100
| manually defined aggregations: specifications successfully defined
| style="color:green" | 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:
{{ :uls:testsuite:version_180:testsrv11_200_continuous_hourly_values_220_float_values_compressed.png?direct}}
Verify the same results.
{|
! Test
! Description
! Result
! Notes
|-
| AGGR 0110
| manually defined aggregations: specifications successfully applied and correct operation
| style="color:green" | 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 {{:uls:testsuite:version_180:ok_button.png?nolink|}}
* continue with {{:uls:testsuite:version_180:textmode_button.png?nolink|}}
* {{:uls:testsuite:version_180:export_button.png?nolink|}} 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:
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 {{:uls:testsuite:version_180:ok_button.png?nolink|}} 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 {{:uls:testsuite:version_180:changes_button.png?nolink|}}
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
| style="color:green" | 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 {{ :uls:testsuite:version_180:set_compression_uls_testsrv11_200_continuous_hourly_values_210_integer_values.png?nolink |}}
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 [[aggregations#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
| style="color:green" | 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 {{:uls:testsuite:version_180:details_selection_button.png?nolink|}}
* chose {{:uls:testsuite:version_180:all_button.png?nolink|}}
* display: last values
* and click {{:uls:testsuite:version_180:ok_button.png?nolink|}}
It should look like:
{{:uls:testsuite:version_180:testsrv11_aggr_200_chv_210_iv_last_values.png|}}
Verify the same results.
{|
! Test
! Description
! Result
! Notes
|-
| AGGR 0210
| domain based aggregations: specifications successfully applied and correct operation
| style="color:green" | 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 {{:uls:testsuite:version_180:ok_button.png?nolink|}}
* activate checkbox "active [x]" and click {{:uls:testsuite:version_180:ok_button.png?nolink|}}
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
| style="color:green" | 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
| style="color:green" | passed
|
|}
Go to //administration -> aggregation -> group auto aggregation -> AllRounder//,
click on {{:uls:testsuite:version_180:textmode_button.png?nolink|}} and enter:
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 {{:uls:testsuite:version_180:ok_button.png?nolink|}} 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
| style="color:green" | 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 {{:uls:testsuite:version_180:textmode_button.png?nolink|}}
Insert the 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 {{:uls:testsuite:version_180:show_report.png?nolink|}} to compare the result with
{{:uls:testsuite:version_180: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 {{:uls:testsuite:version_180:details_selection_button.png?nolink|}} and
chose
:TODO:
-----