cmssw: several `conddb` tools broken in recent 12_0_X IBs
on top of https://github.com/cms-sw/cmssw/issues/34349, the following functionalities appear to be broken:
cmsrel CMSSW_12_0_X_2021-07-06-2300
CMSSW_12_0_X_2021-07-06-2300/src/
conddb dump 4b97f78682aac6254bbcba54cedbde468202bf5b
[2021-07-07 13:47:11,835] INFO: Connecting to pro [frontier://PromptProd/cms_conditions]
[2021-07-07 13:47:12,450] INFO: Found payload of type SiPixelQuality
[2021-07-07 13:47:16,268] INFO: XML converter for payload class SiPixelQuality found in the built-in library.
[2021-07-07 13:47:16,278] ERROR: invalid signature
$ conddb search 4b97f78682aac6254bbcba54cedbde468202bf5b
[2021-07-07 13:48:46,273] INFO: Connecting to pro [frontier://PromptProd/cms_conditions]
[2021-07-07 13:48:46,491] INFO: Searching with a limit of 100 results per type of object, starting from the latest inserted ones. If you do not find your object, please try to be more specific or increase the limit of returned results.
Tag Time Type Object Type Synchronization Insertion Time Description
--- --------- ----------- --------------- -------------- -----------
[2021-07-07 13:49:28,195] ERROR: string argument without an encoding
$ conddb showFCSR
[2021-07-07 13:53:52,370] INFO: Connecting to pro [frontier://PromptProd/cms_conditions]
[2021-07-07 13:53:52,924] INFO: Found fcsr for hlt: 342474
[2021-07-07 13:53:53,803] ERROR: Error setting up Tier-0 data service: sequence item 0: expected str instance, int found
$ conddb diffGlobalTagsAtRun -R 120X_mcRun3_2021_realistic_v1 -T 120X_mcRun3_2021_realistic_Candidate_2021_06_09_14_33_50 --run 1
[2021-07-07 13:57:11,209] INFO: Connecting to pro [frontier://PromptProd/cms_conditions]
[2021-07-07 13:57:11,327] ERROR: '<' not supported between instances of 'str' and 'int'
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (19 by maintainers)
The above problem should be probably easy to fix, replacing long with int… but other issue will appear!
I have a PR ready to be issued fixing the 4 items above and more that I’ve found. However, it does not fix item 5, that requires fixes to the frontier sqlalchemy plugin.
Adding -v to conddb will give you a file/line number… long is no longer a thing in python3. Likely just needs to be int() instead of long()