-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPS Alignment - bug fix (backport) #34845
Conversation
A new Pull Request was created by @MatiXOfficial (Mateusz Kocot) for CMSSW_12_0_X. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @tlampen, @ggovi, @pohsun, @francescobrivio, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
type bugfix |
@MatiXOfficial see same comments as #34844 (review) |
@cmsbuild please test |
@cmsbuild please abort |
@MatiXOfficial you are still missing a unit test for the new CondFormat ( PPSAlignmentConfig ) |
Also, we recommend to execute some basic private test using a local db (sqlite ) before the PR, to validate the payload write/read. The missing COND_SERIALIZABLE declaration would have been spotted before the earlier PR |
@ggovi Thanks! I will add the missing files shortly. Just for your information, in the first PR, we weren't thinking much about the DB. Now, I am integrating the alignment code with the DB and the PCL. I have already implemented the changes you mentioned, but only locally, since we wait with PR until we can run the matrix test (which requires |
I added the serialization test and also two simple modules that write an sqlite file and retrieve the data. I was able to retrieve the same object that had been written. |
@cmsbuild please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Expand to see more relval errors ...
Comparison SummarySummary:
|
@cmsbuild please test Lately we see many of these failures, let's try again |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca87de/17754/summary.html Comparison SummarySummary:
|
+alca
|
backport of #34844
|
<class name="PPSAlignmentConfig" class_version="0"/> | ||
|
||
</lcgdict> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a newline missing here, since the PR is not merged yet, would you @MatiXOfficial like to fix that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I can fix it, but is it a good idea? The main PR (#34844) has already been merged into master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While not being pleasant to see while reading the code on github, I don't see any issue because of this missing newline at the end of the file: it was as such even before this fix, and it was already merged as such in the master. Also with the intention of having as similar as possible code in the master and in the 12_0 backport, I would avoid implementing this possible aesthetical fix here.
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1
|
This PR is a backport. Original PR: #34844. Backport needed to 12_0.
PR description:
Fixed a bug from #31728. Now, the PPSAlignmentConfig plugin is registered, and some necessary declarations were added.
PR validation:
Run the test from CalibPPS/AlignmentGlobal/tests and received expected results.