Start test: test_reporting
DLGLOBAL ERROR counter group 'ctr-test:one' already exists for index 2, instead using index 3. This is a software bug that needs fixing.
DLGLOBAL ERROR 'ctr-test.one_dot' is not a valid counter group identifier
DLGLOBAL NOTICE counter group name mangled: 'ctr-test.one_dot' -> 'ctr-test:one_dot'
DLGLOBAL NOTICE counter group name mangled: 'ctr.a' -> 'ctr:a'
DLGLOBAL NOTICE counter group name mangled: 'ctr.b' -> 'ctr:b'
  test1: open
  test2: open
report (initial):
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test1: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test1: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=1 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=1 n=item.b v=-1 u=kb
reported: 12 counter vals, 8 stat item vals
report (srep1 global):
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=1 n=item.b v=-1 u=kb
reported: 6 counter vals, 4 stat item vals
report (srep1 peer):
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test1: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test1: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=1 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=1 n=item.b v=-1 u=kb
reported: 6 counter vals, 8 stat item vals
report (srep1 subscriber):
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test1: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test1: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=1 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=1 n=item.b v=-1 u=kb
reported: 12 counter vals, 8 stat item vals
report (srep2 disabled):
  test2: close
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test1: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test1: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=1 n=item.b v=-1 u=kb
reported: 6 counter vals, 4 stat item vals
report (srep2 enabled, no flush forced):
  test2: open
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=1 n=ctr:b v=0 d=0
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=1 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=1 n=item.b v=-1 u=kb
reported: 6 counter vals, 4 stat item vals
report (should be empty):
reported: 0 counter vals, 0 stat item vals
report (group 1, counter 1 update):
  test1: counter p= g=ctr-test:one i=1 n=ctr:a v=1 d=1
  test2: counter p= g=ctr-test:one i=1 n=ctr:a v=1 d=1
reported: 2 counter vals, 0 stat item vals
report (group 1, item 1 update):
  test1: item p= g=test.one i=1 n=item.a v=10 u=ma
  test2: item p= g=test.one i=1 n=item.a v=10 u=ma
reported: 0 counter vals, 2 stat item vals
report (group 1, item 1 update twice, with same value):
reported: 0 counter vals, 0 stat item vals
report (group 1, item 1 update twice, check max):
  test1: item p= g=test.one i=1 n=item.a v=20 u=ma
  test2: item p= g=test.one i=1 n=item.a v=20 u=ma
reported: 0 counter vals, 2 stat item vals
report (group 1, item 1 no update, send last item (!= last max), OS#5215):
  test1: item p= g=test.one i=1 n=item.a v=10 u=ma
  test2: item p= g=test.one i=1 n=item.a v=10 u=ma
reported: 0 counter vals, 2 stat item vals
report (group 1, item 1 no update, nothing to send):
reported: 0 counter vals, 0 stat item vals
report (remove statg1, ctrg1):
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test1: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test1: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test1: item p= g=test.one i=2 n=item.b v=-1 u=kb
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
reported: 8 counter vals, 4 stat item vals
report (remove srep1):
  test1: close
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
  test2: item p= g=test.one i=2 n=item.a v=-1 u=ma
  test2: item p= g=test.one i=2 n=item.b v=-1 u=kb
reported: 4 counter vals, 2 stat item vals
report (remove statg2):
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one_dot i=3 n=ctr:b v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:a v=0 d=0
  test2: counter p= g=ctr-test:one i=2 n=ctr:b v=0 d=0
reported: 4 counter vals, 0 stat item vals
report (remove srep2):
  test2: close
reported: 0 counter vals, 0 stat item vals
report (remove ctrg2, should be empty):
reported: 0 counter vals, 0 stat item vals
End test: test_reporting
