Skip to content
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

Skip dinamically some checks for the validation procedure #1182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ggonzr
Copy link
Contributor

@ggonzr ggonzr commented Feb 25, 2025

Solves: #1181

For a given request prepid set in the validation_skip_check setting, skip if required some checks related to the time_per_event, size_per_event memory and filter_efficiency.

@vlimant
Copy link
Contributor

vlimant commented Feb 25, 2025

looks good.
it might be a little tedious to enter values in the validation_skip_check setting entry, but it's meant to be for very limited use

@vlimant
Copy link
Contributor

vlimant commented Mar 3, 2025

what's the prospect of rolling this in production "soon" ?

@ggonzr ggonzr force-pushed the validation/skip-checks branch 2 times, most recently from b3c5dc2 to eb0be24 Compare March 6, 2025 10:43
@ggonzr ggonzr marked this pull request as ready for review March 6, 2025 10:45
@ggonzr ggonzr force-pushed the validation/skip-checks branch 2 times, most recently from 9862cd8 to 0dc7150 Compare March 6, 2025 10:57
@vlimant
Copy link
Contributor

vlimant commented Mar 6, 2025

there's actually something else to be added for this feature :

if validation_info:

filter_efficiency should not be re-assigned, in case the prepid is in the bypass check

@ggonzr ggonzr force-pushed the validation/skip-checks branch from 0dc7150 to eb13eb4 Compare March 6, 2025 13:26
@ggonzr
Copy link
Contributor Author

ggonzr commented Mar 6, 2025

there's actually something else to be added for this feature :

if validation_info:

filter_efficiency should not be re-assigned, in case the prepid is in the bypass check

Thanks for the feedback, it should be fixed now

@vlimant
Copy link
Contributor

vlimant commented Mar 6, 2025

nice

@ggonzr ggonzr force-pushed the validation/skip-checks branch from eb13eb4 to 3935baf Compare March 7, 2025 12:28
For a given request prepid set in the `validation_skip_check`, skip if
required some checks related to the `time_per_event`, `size_per_event`
`memory` and `filter_efficiency`.
@ggonzr ggonzr force-pushed the validation/skip-checks branch from 3935baf to b6cff91 Compare March 7, 2025 12:46
@vlimant
Copy link
Contributor

vlimant commented Mar 8, 2025

https://cms-pdmv-prod.web.cern.ch/mcm/public/restapi/requests/get_dict/SUS-RunIISpring21UL16FSGSPremixLLPBugFix-00071 does not seem to pick up the request values instead of the runtests results


# Filter efficiency was not check on validation
filter_efficiency = self.get_efficiency()
request_skip_check = self.get_allowed_skip_validation_check().get(self.get_attribute("prepid"))
Copy link
Contributor

Choose a reason for hiding this comment

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

from the code in the PR and the failing check on https://cms-pdmv-prod.web.cern.ch/mcm/public/restapi/requests/get_dict/SUS-RunIISpring21UL16FSGSPremixLLPBugFix-00071 I can only think of this line failing silently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants