Skip to content

[PWGUD] Adding bc-by-bc trigger info and getting info from DB#17058

Open
jgcn wants to merge 6 commits into
AliceO2Group:masterfrom
jgcn:vmrof
Open

[PWGUD] Adding bc-by-bc trigger info and getting info from DB#17058
jgcn wants to merge 6 commits into
AliceO2Group:masterfrom
jgcn:vmrof

Conversation

@jgcn

@jgcn jgcn commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Major changes:
get ITS ROF info from database instead of having it hardwired
add info on bc-by.bc triggers
Minor changes:
better definition of TF axis

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 2 warnings, 🔕 0 disabled

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 6d6f50c at 2026-07-14 14:39:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGUD/Tasks/upcVmRof.cxx:29:10: fatal error: ITSMFTBase/DPLAlpideParam.h: No such file or directory
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 6d6f50c at 2026-07-14 14:42:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGUD/Tasks/upcVmRof.cxx:29:10: fatal error: ITSMFTBase/DPLAlpideParam.h: No such file or directory
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 6d6f50c at 2026-07-14 14:48:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGUD/Tasks/upcVmRof.cxx:29:10: fatal error: ITSMFTBase/DPLAlpideParam.h: No such file or directory
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for aebc723 at 2026-07-15 14:56:

## sw/BUILD/O2Physics-latest/log
2026-07-15T14:46:29.674+0200 [61:140181578353216] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.674+0200 [61:140181578353216] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:47:40.973+0200 [61:140181578353216] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.622+0200 [49:139737764964928] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.622+0200 [49:139737764964928] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:47:46.286+0200 [49:139737764964928] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.792+0200 [66:140633322371648] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.792+0200 [66:140633322371648] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:47:49.697+0200 [66:140633322371648] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.594+0200 [51:140086340217408] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.594+0200 [51:140086340217408] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:47:56.115+0200 [51:140086340217408] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:30.125+0200 [48:139901008501312] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:30.125+0200 [48:139901008501312] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:02.195+0200 [48:139901008501312] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.877+0200 [65:140193748208192] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.877+0200 [65:140193748208192] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:07.973+0200 [65:140193748208192] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.781+0200 [62:140712362687040] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.781+0200 [62:140712362687040] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:16.117+0200 [62:140712362687040] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.812+0200 [56:139745607813696] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.812+0200 [56:139745607813696] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:16.837+0200 [56:139745607813696] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.795+0200 [54:140438738762304] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.795+0200 [54:140438738762304] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:25.076+0200 [54:140438738762304] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:30.082+0200 [52:140130105559616] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:30.082+0200 [52:140130105559616] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:28.789+0200 [52:140130105559616] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.864+0200 [63:140492102744640] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.864+0200 [63:140492102744640] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:32.425+0200 [63:140492102744640] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.770+0200 [53:140454039067200] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.770+0200 [53:140454039067200] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:47.415+0200 [53:140454039067200] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.788+0200 [59:139856641026624] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.788+0200 [59:139856641026624] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:53.909+0200 [59:139856641026624] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.852+0200 [55:140075459742272] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.852+0200 [55:140075459742272] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:54.356+0200 [55:140075459742272] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.873+0200 [58:140669513947712] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.873+0200 [58:140669513947712] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:57.503+0200 [58:140669513947712] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.830+0200 [60:139967264062016] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-15T14:46:29.830+0200 [60:139967264062016] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-15T14:48:59.926+0200 [60:139967264062016] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
[0 more errors; see full log]

Full log here.

Comment thread PWGUD/Tasks/upcVmRof.cxx Outdated
Comment thread PWGUD/Tasks/upcVmRof.cxx Outdated
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 71a83e7 at 2026-07-15 18:36:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 6 errors and 31 warnings.'
Found 6 errors and 31 warnings.
++ [[ 6 -gt 0 ]]
++ cat /sw/BUILD/528f871c9e6ccce9c8d80ea012182fce0324b533/O2Physics-code-check/errors.txt
PWGUD/Tasks/upcVmRof.cxx:534:9: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:580:9: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:654:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:673:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:714:37: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:714:124: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
++ [[ 31 -gt 0 ]]
++ cat /sw/BUILD/528f871c9e6ccce9c8d80ea012182fce0324b533/O2Physics-code-check/warnings.txt
PWGUD/Tasks/upcVmRof.cxx:308:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:319:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:322:60: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:333:28: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:336:60: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:339:61: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:342:57: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:345:60: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:474:42: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:478:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:520:43: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:524:34: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:529:43: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:534:86: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:547:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:550:27: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:553:27: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:562:46: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:565:46: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:568:55: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:571:47: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:575:49: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:581:87: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:603:45: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:607:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:615:45: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:619:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:703:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:705:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:707:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:709:32: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 6 -gt 0 ]]
++ exit 1
--
[0 more errors; see full log]

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 3980c32 at 2026-07-19 18:07:

## sw/BUILD/O2Physics-latest/log
2026-07-19T18:00:19.725+0200 [25:140081532889664] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-19T18:00:19.725+0200 [25:140081532889664] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-19T18:01:31.444+0200 [25:140081532889664] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-19T18:00:19.849+0200 [24:140717495089728] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-19T18:00:19.849+0200 [24:140717495089728] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-19T18:01:50.873+0200 [24:140717495089728] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-19T18:00:19.821+0200 [23:140600359045696] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-19T18:00:19.821+0200 [23:140600359045696] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-19T18:01:51.500+0200 [23:140600359045696] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]


## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 3 errors and 8 warnings.'
Found 3 errors and 8 warnings.
++ [[ 3 -gt 0 ]]
++ cat /sw/BUILD/ce003d5aae0d31f245a441025c819e9b09d09237/O2Physics-code-check/errors.txt
PWGUD/Tasks/upcVmRof.cxx:681:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:700:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:742:25: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/ce003d5aae0d31f245a441025c819e9b09d09237/O2Physics-code-check/warnings.txt
PWGUD/Tasks/upcVmRof.cxx:630:45: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:634:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:642:45: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:646:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:730:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:732:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:734:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:736:32: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 3 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

alibuild commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for d4944a6 at 2026-07-20 08:07:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 3 errors and 8 warnings.'
Found 3 errors and 8 warnings.
++ [[ 3 -gt 0 ]]
++ cat /sw/BUILD/05c7b64ece1e2f74402394d943a61ccab149cf3c/O2Physics-code-check/errors.txt
PWGUD/Tasks/upcVmRof.cxx:679:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:698:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:739:26: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/05c7b64ece1e2f74402394d943a61ccab149cf3c/O2Physics-code-check/warnings.txt
PWGUD/Tasks/upcVmRof.cxx:628:45: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:632:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:640:45: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:644:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:728:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:730:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:732:32: warning: statement should be inside braces [readability-braces-around-statements]
PWGUD/Tasks/upcVmRof.cxx:734:32: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 3 -gt 0 ]]
++ exit 1
--

Full log here.

Comment thread PWGUD/Tasks/upcVmRof.cxx
// fill output table
int recoFlag = (col.flags() & dataformats::Vertex<o2::dataformats::TimeStamp<int>>::Flags::UPCMode) ? 1 : 0;
if (selTrks.size() == NTrksTwoBody) {
const int recoFlag = ((col.flags() & dataformats::Vertex<o2::dataformats::TimeStamp<int>>::Flags::UPCMode) != stdReco) ? upcReco : stdReco;

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.

Why are you comparing the result of & to stdReco instead of 0?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Because stdReco is defined as zero. From previous iterations I got the impression that you did not like just numbers, but to give a meaning to them. So I defined the 0 for this particular useage as stdReco and not zero (one) as upcReco (the new definitions were introduced in the last iteration and are towards the start of the code)

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.

But stdReco seems unrelated to this expression. If stdReco had a different value, this expression would still have to be compared to 0. There is no logical connection between the two.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It is related to the expression: the flag UPCMode tells you if it is stdReco or upcReco. But if you want, I can put a zero. I just need this to be approved! Please, let me know what to do exactly to get it approved, so that I can run over data, and see if this new code helps in solving the problems we are facing in PWDUD ...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

and just to clarify. This is a convention used in reco, vertexing and the full UPC groupd. So, one cannot just change it in one piece of code, ao "If stdReco had a different value," does not apply. It is as if I unilaterally decide that a piece of code uses inches and not cm and want to use other ALICE code in cm .... of course, it will not work. But it should not happen.

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.

@jgcn @amatyja I don't think you understood me.

The code has the syntax: flag = condition ? flagYes : flagNo where your condition is (col.flags() & dataformats::Vertex<o2::dataformats::TimeStamp<int>>::Flags::UPCMode) != 0 which is independent of the values of flagYes and flagNo.
Your condition is testing whether flags has the UPCMode bit set. This has nothing to do with the values of upcReco and stdReco.

Or am I missing anything?

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.

For standard reconstruction col.flags() is set to 0, For UPC reconstruction col.flags() is 2 (so called UPCMode). Mostly flag check returns 0. Guillermo defines 0 as a condition and as a flagNo. I see no sense to multiply definitions of 0 via different flags. flagYes is defined as upcReco. In UD we need just this two cases: standardReco or upcReco.

@vkucera vkucera Jul 20, 2026

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.

These are not multiple definitions of 0. These are two different entities which happen to have the same value. It's the same as if your condition was testing validity of a pointer by comparing it to a UPC constant which happens to be equal to 0. It's a category error which can turn into an execution bug if the flags change values. Even if they don't, it's simply a wrong expression of what the code is supposed to do.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hi
ok, I'll revert it to zero and try to clean the remaining tabs/spaces tomorrow early morning.
I am hoping that this is really the last iteration (I know that the iterations are due to my ignorance and my editor adding tabs without me noticing :)
thanks for the comments and help
g

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.

Thanks @jgcn . Please note that it is completely unnecessary to fix the formatting by hand. It is literally a matter of two clicks to merge the formatting PR and zero clicks if you use the pre-commit hook.

@alibuild

alibuild commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for ebfb79c at 2026-07-20 20:20:

## sw/BUILD/O2Physics-latest/log
2026-07-20T20:09:16.915+0200 [23:139881606266496] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-20T20:09:16.915+0200 [23:139881606266496] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-20T20:10:29.522+0200 [23:139881606266496] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]


## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 2 errors and 0 warnings.'
Found 2 errors and 0 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/5bb379bc6bf42a78fee25cd221d77f25de1af975/O2Physics-code-check/errors.txt
PWGUD/Tasks/upcVmRof.cxx:683:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGUD/Tasks/upcVmRof.cxx:702:17: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 2 -gt 0 ]]
++ exit 1
--

Full log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants