cmsdaq / DAQExpert

New expert system processing data model produced by DAQAggregator
1 stars 2 forks source link

module for detecting high CPU load #159

Closed andreh12 closed 6 years ago

andreh12 commented 6 years ago

implements #44

Still needs to be added to LogicModuleRegistry but waiting for #154 and #156 to be merged

andreh12 commented 6 years ago

154 and #156 are merged, I will resolve conflicts soon

andreh12 commented 6 years ago

rebased and increased version number of DAQAggregator to have the cpu load in the model.

I see (unrelated) tests fail but I also see the exact same failures on the current dev branch (5a68621):

Failed tests:   nonEcalTest(rcms.utilities.daqexpert.reasoning.logic.failures.backpressure.CorruptedDataTest): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  case2Test(rcms.utilities.daqexpert.reasoning.logic.failures.backpressure.CorruptedDataTest): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  case3Test(rcms.utilities.daqexpert.reasoning.logic.failures.backpressure.CorruptedDataTest): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  test(rcms.utilities.daqexpert.reasoning.logic.failures.backpressure.HLTProblemTest): unexpected result for module BackpressureFromHlt: expected:<false> but was:<true>
  backpressureTest(rcms.utilities.daqexpert.reasoning.logic.failures.backpressure.RuStuckWaitingOtherTest): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  devcase3Test(rcms.utilities.daqexpert.reasoning.logic.failures.backpressure.RuStuckWaitingOtherTest): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  case05Test(rcms.utilities.daqexpert.reasoning.logic.failures.FlowchartCase1Test): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  case5Test(rcms.utilities.daqexpert.reasoning.logic.failures.FlowchartCase3Test): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  case1Test(rcms.utilities.daqexpert.reasoning.logic.failures.RuFailedTest): unexpected result for module BackpressureFromEventBuilding: expected:<false> but was:<true>
  testSatisfied(rcms.utilities.daqexpert.reasoning.logic.failures.UnidentifiedFailureTest): unexpected result for module UnidentifiedFailure: expected:<true> but was:<false>

Tests in error:
  orderConfiguredProperlyTest(rcms.utilities.daqexpert.persistence.LogicModuleRegistryTest): runOrder 57 found more than once: in High TCDS trigger input rate and in Backpressure from FEROL/FEDBuilder
  shouldNotFireTest01(rcms.utilities.daqexpert.reasoning.logic.failures.deadtime.BackpressureFromHltTest)

So I would propose to merge this pull request.