Issues with QC v1.13.0

I am doing some tests with QC V1.13.0, and I am encountering some issues.

I am compiling the code with alibuild, and both O2 and QualityControl are checked-out repositories. I have put the relevant repositories to the tags that correspond to the latest FLP suite release:

alidist -> O2-v21.10 tag
O2 -> v21.10 tag
QualityControl -> v1.13.0

and I am building the

O2Suite --defaults o2-dataflow

target.

My QC tasks fail with an error that I have not seen before:

[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: [13:25:38][STATE] Starting FairMQ state machine --> IDLE
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: [13:25:38][STATE] IDLE ---> INITIALIZING DEVICE
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.329963     initializing TaskRunner
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.329973     Loading configuration
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330332     No custom parameters for QcTaskMCHPreclusters
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330353     Configuration loaded : 
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330357     >> Task name : QcTaskMCHPreclusters
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330361     >> Module name : QcMuonChambers
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330364     >> Detector name : MCH
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330369     >> Cycle duration seconds : 100
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330372     >> Max number cycles : -1
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.330375     >> Save to file : 
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.454955     Registration to ServiceDiscovery: 
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: 2021-03-13 13:25:38.455001     Loading library libO2QcMuonChambers
[135405:QC-TASK-RUNNER-QcTaskMCHPreclusters]: Error in <TUnixSystem::FindDynamicLibrary>: libO2QcMuonChambers[.so | .dll | .dylib | .sl | .dl | .a] does not exist in ...

Indeed libO2QcMuonChambers.so does not exist, however I have libQcMuonChambers.so in

alice/sw/slc7_x86-64/QualityControl/heads-v1.13.0-1/lib

which is correctly included to the LD_LIBRARY_PATH by

alienv enter O2Suite/latest-o2-dataflow

I have the following lines in my QC configuration file:

    "tasks": {
      "QcTaskMCHPreclusters": {
        "active": "true",
        "className": "o2::quality_control_modules::muonchambers::PedestalsTask",
        "moduleName": "QcMuonChambers",
        "detectorName": "MCH",
        "cycleDurationSeconds": "100",
        "maxNumberCycles": "-1",
        "dataSource": {
          "type": "direct",
          "query" : "pedestals:MCH/PEDESTALS"
        },
        "location": "remote"
      }
    }

@bvonhall @pkonopka any idea what could be wrong with my configuration and/or build procedure?

Incidentally, I also noticed that the qcg build also fail because it cannot find the QualityControl library, maybe the two things are related? Was anything changed recently in the naming of the QC libraries?

Thanks!

Cheers, Andrea

This PR should fix the library name issue: MCH: module name updated to reflect current QC naming scheme by aferrero2707 · Pull Request #639 · AliceO2Group/QualityControl · GitHub

Hi Andrea,
Sorry about that. I had updated the library name of all modules but missed yours as it re-uses the MODULE_NAME.
For the QCG, using the latest one should fix it.
Cheers,