My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3393: Gerrit Prolog 101 Facts/Rules Maximum and no clear configuration to control
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by tim.ga...@gmail.com, May 26, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: Gerrit 2.10.4

What steps will reproduce the problem?
1. Create a simple rules.pl - 101 dalmatians (see attached)
2. Test the rule

cat ./rules.pl | ssh -p 29418 gerrit.domain 'gerrit test-submit rule' -s <ruleid>
 

What is the expected output? What do you see instead?

It should process successfully or there should be some configuration option to increase the maximum number of prolog facts/rules.

Processing of prolog script failed: com.google.gerrit.extensions.restapi.BadRequestException: rule failed: Cannot consult rules.pl for xplan: Error while consulting rules from stdin


Please provide any additional information below.

It seems there is a limit of 101 prolog facts/rules, the attached is a silly example but we have a real example based on sending different files to require +1 from different groups. This does not seem affected by the rule.reductionLimit configuration option.


rules.pl
1.5 KB   View   Download
Sign in to add a comment

Powered by Google Project Hosting