Skip to content

[EMCAL-834] Checking active links per trigger - #11238

Merged
shahor02 merged 2 commits into
AliceO2Group:devfrom
mpoghos:CheckDDLs2
Apr 28, 2023
Merged

[EMCAL-834] Checking active links per trigger#11238
shahor02 merged 2 commits into
AliceO2Group:devfrom
mpoghos:CheckDDLs2

Conversation

@mpoghos

@mpoghos mpoghos commented Apr 26, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@mpoghos
mpoghos requested review from jokonig and mfasDa as code owners April 26, 2023 13:26

@mfasDa mfasDa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the global BC using the function from o2::InteractionRecords the rest looks good to me.

auto feeID = raw::RDHUtils::getFEEID(header);
auto triggerbits = raw::RDHUtils::getTriggerType(header);

ULong64_t BCcoll = ULong64_t(triggerBC) + ULong64_t(triggerOrbit * 3564);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use instead

 ULong64_t BCcoll  = currentIR.toLong();

instead.

Comment on lines +361 to +363
std::unordered_map<ULong64_t, std::bitset<46>>::iterator p;
for (p = bcFreq.begin(); p != bcFreq.end(); p++) {
if (p->second != bitSetActiveLinks) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be handled with range-based iteration + c++17 structured-binding:

for(const auto &[globalBC, activelinks) : bcFreq) {
  if (activelinks != bitSetActiveLinks){
    ...
  }
}

@mfasDa mfasDa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI for b20e043 at 2023-04-26 19:17:

## sw/BUILD/O2-full-system-test-latest/log
Detected critical problem in logfile reco_NOGPU.log
reco_NOGPU.log:[49734:internal-dpl-ccdb-backend]: [17:17:42][ERROR] Exception caught: Fatal error 
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49875 (qc-task-FDD-DigitQcTaskFDD) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49876 (qc-task-FT0-DigitQcTaskFT0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49878 (qc-task-FV0-DigitQcTaskFV0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49909 (qc-task-TRD-Digits) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49913 (qc-task-TRD-Tracklets) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49990 (ZDC-QcZDCRecTask-proxy) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49993 (internal-dpl-injected-dummy-sink) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[49734:internal-dpl-ccdb-backend]: [17:17:42][ERROR] Requested resource does not exist: http://alice-ccdb.cern.ch/EMC/Calib/FeeDCS/1550600800000/
[49734:internal-dpl-ccdb-backend]: [17:17:42][FATAL] Unable to find object EMC/Calib/FeeDCS/1550600800000
[49734:internal-dpl-ccdb-backend]: [17:17:42][ERROR] Exception caught: Fatal error 
[49734:internal-dpl-ccdb-backend]: [17:17:42][FATAL] Unhandled o2::framework::runtime_error reached the top of main of o2-itsmft-stf-decoder-workflow, device shutting down. Reason: Fatal error
[ERROR] pid 49734 (internal-dpl-ccdb-backend) crashed with or was killed with exit code 1
[ERROR] Workflow crashed - pid 49875 (qc-task-FDD-DigitQcTaskFDD) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49876 (qc-task-FT0-DigitQcTaskFT0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49878 (qc-task-FV0-DigitQcTaskFV0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49909 (qc-task-TRD-Digits) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49913 (qc-task-TRD-Tracklets) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49990 (ZDC-QcZDCRecTask-proxy) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49993 (internal-dpl-injected-dummy-sink) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] websocket_server_callback: Error while reading from websocketconnection reset by peer


## sw/BUILD/o2checkcode-latest/log
--
++ echo '========== List of errors found =========='
========== List of errors found ==========
++ GRERR=0
++ grep -v clang-diagnostic-error error-log.txt
++ grep ' error:'
++ GRERR=1
++ [[ 1 == 0 ]]
++ mkdir -p /sw/INSTALLROOT/2f687795929b52afe5b5d9fb8514dc919180e129/slc8_x86-64/o2checkcode/1.0-local88/etc/modulefiles
++ cat
--

Full log here.

@alibuild

alibuild commented Apr 26, 2023

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI for 7ae3ac0 at 2023-04-27 13:41:

## sw/BUILD/O2-full-system-test-latest/log
Detected critical problem in logfile reco_NOGPU.log
reco_NOGPU.log-[49381:internal-dpl-ccdb-backend]: [11:41:41][ERROR] Requested resource does not exist: http://alice-ccdb.cern.ch/EMC/Calib/FeeDCS/1550600800000/
reco_NOGPU.log-[49381:internal-dpl-ccdb-backend]: [11:41:41][FATAL] Unable to find object EMC/Calib/FeeDCS/1550600800000
reco_NOGPU.log:[49381:internal-dpl-ccdb-backend]: [11:41:41][ERROR] Exception caught: Fatal error 
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49531 (qc-task-FDD-DigitQcTaskFDD) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49534 (qc-task-FT0-DigitQcTaskFT0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49537 (qc-task-FV0-DigitQcTaskFV0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49575 (qc-task-TRD-Digits) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
reco_NOGPU.log:[ERROR] Workflow crashed - pid 49581 (qc-task-TRD-Tracklets) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[49381:internal-dpl-ccdb-backend]: [11:41:41][ERROR] Requested resource does not exist: http://alice-ccdb.cern.ch/EMC/Calib/FeeDCS/1550600800000/
[49381:internal-dpl-ccdb-backend]: [11:41:41][FATAL] Unable to find object EMC/Calib/FeeDCS/1550600800000
[49381:internal-dpl-ccdb-backend]: [11:41:41][ERROR] Exception caught: Fatal error 
[49381:internal-dpl-ccdb-backend]: [11:41:41][FATAL] Unhandled o2::framework::runtime_error reached the top of main of o2-itsmft-stf-decoder-workflow, device shutting down. Reason: Fatal error
[ERROR] pid 49381 (internal-dpl-ccdb-backend) crashed with or was killed with exit code 1
[ERROR] Workflow crashed - pid 49531 (qc-task-FDD-DigitQcTaskFDD) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49534 (qc-task-FT0-DigitQcTaskFT0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49537 (qc-task-FV0-DigitQcTaskFV0) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49575 (qc-task-TRD-Digits) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] Workflow crashed - pid 49581 (qc-task-TRD-Tracklets) was killed abnormally with exit code 128, could be out of memory killer, segfault, unhandled exception, SIGKILL, etc...
[ERROR] websocket_server_callback: Error while reading from websocketconnection reset by peer


## sw/BUILD/o2checkcode-latest/log
--
++ echo '========== List of errors found =========='
========== List of errors found ==========
++ GRERR=0
++ grep -v clang-diagnostic-error error-log.txt
++ grep ' error:'
++ GRERR=1
++ [[ 1 == 0 ]]
++ mkdir -p /sw/INSTALLROOT/9d7710cf2472db626af1bcf9fc7e20ee36125c61/slc8_x86-64/o2checkcode/1.0-local89/etc/modulefiles
++ cat
--

Full log here.

@mfasDa

mfasDa commented Apr 26, 2023

Copy link
Copy Markdown
Collaborator

@mpoghos In order to pass the fullCI we need a default CCDB object for EMC/Calib/FeeDCs in the timestamp range of the unanchored MCs.

@mfasDa

mfasDa commented Apr 27, 2023

Copy link
Copy Markdown
Collaborator

@shahor02
shahor02 merged commit 0a5342b into AliceO2Group:dev Apr 28, 2023
davidrohr added a commit that referenced this pull request May 2, 2023
davidrohr added a commit that referenced this pull request May 2, 2023
mdiotti pushed a commit to mdiotti/AliceO2 that referenced this pull request May 25, 2023
* [EMCAL-834] Checking active links per trigger

* [EMCAL-834] Checking active links per trigger
mdiotti pushed a commit to mdiotti/AliceO2 that referenced this pull request May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants