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)

Most upvoted comments

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()

On Jul 7, 2021, at 7:28 PM, Marco Musich @.***> wrote:

and another one:

$ conddb --yes copy specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50 specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50 --destdb sqlite_file:specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50.db [2021-07-07 19:23:36,436] INFO: Connecting to pro [frontier://PromptProd/cms_conditions] [2021-07-07 19:23:36,603] INFO: Connecting to sqlite_file:specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50.db [sqlite:///specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50.db] [2021-07-07 19:23:36,946] INFO: Initializing database… [2021-07-07 19:23:38,297] INFO: Copying global tag pro::specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50 to sqlite_file:specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50.db::specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50 … [2021-07-07 19:23:38,587] INFO: Copying tag pro::TrackProbabilityCalibration_2D_MC53X_v3 to sqlite_file:specialDD4hepTEST_120X_mcRun3_2021_realistic_v1_Candidate_2021_07_07_12_35_50.db::TrackProbabilityCalibration_2D_MC53X_v3 from since=1 selecting insertion time < 2021-07-07 12:35:50 [2021-07-07 19:23:38,635] ERROR: name ‘long’ is not defined

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.