quattor / ncm-ncd

Node Configuration Dispatcher Framework for Components
www.quattor.org
Other
4 stars 9 forks source link

Add --report option to report state #126

Closed stdweird closed 3 years ago

jrha commented 3 years ago

@stdweird since this was merged nightlies have been failing on CentOS6 and CentOS7 (but passing on CentOS8) and I cannot figure out why the behaviour is different.

Specifically the 'failed ouch component' test:

…
INFO: /var/run/quattor-components/ouch status is mode=420
INFO: /var/run/quattor-components/woohaa status is mode=420
[
  [
    '2 components with error'
  ],
  [
    '  woohaa failed on Thu Nov 29 21:33:09 1973 with message woopsie'
  ],
  [
    ${$VAR1->[1][0]}
  ]
]

  Failed test 'failed ouch component'
  at src/test/perl/cli.t line 175.
                  '  woohaa failed on Thu Nov 29 21:33:09 1973 with message woopsie'
    doesn't match '(?^:^  ouch failed on .*? 2001 (no message))'
…
jrha commented 3 years ago

I thought it might be an ordering issue, but when I tried switching the indices in the tests it apparently had no effect.

stdweird commented 3 years ago

@jrha can you mail me the logs?

jrha commented 3 years ago

Sure, they're also available here: http://yum.quattor.org/nightlies/2021-06-07T00/CentOS-6/log.gz http://yum.quattor.org/nightlies/2021-06-07T01/CentOS-7/log.gz http://yum.quattor.org/nightlies/2021-06-07T02/CentOS-8/log.gz